From MAILER-DAEMON Sun Jul 01 02:00:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I4sU2-0007JW-Tz
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 02:00:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I4sU1-0007Hp-QU
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 02:00:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I4sU0-0007F2-CQ
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 02:00:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I4sU0-0007Es-88
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 02:00:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I4sTz-0006qy-ST
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 02:00:27 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I4sTy-0002q3-Ac
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 06:00:26 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I4sTx-0002pz-UL
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 06:00:26 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I4sTx-0002pz-UL@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 01 Jul 2007 06:00:25 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/GC.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jul 2007 06:00:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/01 06:00:25

Modified files:
	.              : ChangeLog 
	libbase        : GC.h 

Log message:
	        * libbase/GC.h: assert that only the main thread registers collectable
	          objects with the GC, or runs the collector.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3624&r2=1.3625
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3624
retrieving revision 1.3625
diff -u -b -r1.3624 -r1.3625
--- ChangeLog	30 Jun 2007 18:22:00 -0000	1.3624
+++ ChangeLog	1 Jul 2007 06:00:23 -0000	1.3625
@@ -1,3 +1,8 @@
+2007-07-01 Sandro Santilli <strk@keybit.net>
+
+	* libbase/GC.h: assert that only the main thread registers collectable
+	  objects with the GC, or runs the collector.
+
 2007-06-30 Sandro Santilli <strk@keybit.net>
 
 	* server/impl.cpp (clear): don't exit, try the proper cleanup way;

Index: libbase/GC.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- libbase/GC.h	20 Jun 2007 14:27:30 -0000	1.9
+++ libbase/GC.h	1 Jul 2007 06:00:24 -0000	1.10
@@ -26,6 +26,10 @@
 #include <list>
 #include <algorithm> //for std::find
 
+#ifndef NDEBUG
+# include <boost/thread.hpp>
+#endif
+
 // Define the following macro to enable GC verbosity 
 // Define to > 1 to have info printed about scan of already reachable objects
 #define GNASH_GC_DEBUG 1
@@ -211,9 +215,13 @@
 	///
 	void addCollectable(const GcResource* item)
 	{
+#ifndef NDEBUG
+		boost::thread self;
+		assert(self == mainThread);
 		assert(item);
 		assert(! item->isReachable());
 		assert(std::find(_resList.begin(), _resList.end(), item) == _resList.end());
+#endif
 
 		_resList.push_back(item);
 #if GNASH_GC_DEBUG > 1
@@ -232,6 +240,11 @@
 		log_debug(_("Starting collector: " SIZET_FMT " collectables"), _resList.size());
 #endif // GNASH_GC_DEBUG
 
+#ifndef NDEBUG
+		boost::thread self;
+		assert(self == mainThread);
+#endif
+
 		// Mark all resources as reachable
 		markReachable();
 
@@ -275,6 +288,13 @@
 	GcRoot& _root;
 
 	static GC* _singleton;
+
+#ifndef NDEBUG
+	/// The thread that initialized the GC is 
+	/// the only one allowed to run the collector
+	/// and to register collectable objects
+	boost::thread mainThread;
+#endif
 };
 
 



From MAILER-DAEMON Sun Jul 01 06:55:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I4x5o-0005Uh-BW
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 06:55:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I4x5h-0005Rz-68
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 06:55:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I4x5f-0005RI-Nx
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 06:55:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I4x5e-0005R4-Gc
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 06:55:38 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <bastiaan@bjacques.org>)
	id 1I4x5Y-00064P-3O
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 06:55:38 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <bastiaan@bjacques.org>) id 1I4x5Q-0004ri-86
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 10:55:24 +0000
Received: from bjacques by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <bjacques@savannah.gnu.org>) id 1I4x5P-0004qa-Aa
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 10:55:23 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I4x5P-0004qa-Aa@cvs.savannah.gnu.org>
From: Bastiaan Jacques <bastiaan@bjacques.org>
Date: Sun, 01 Jul 2007 10:55:23 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash COPYING ChangeLog Makefile.am autogen.sh ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jul 2007 10:55:43 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Bastiaan Jacques <bjacques>	07/07/01 10:55:17

Modified files:
	.              : COPYING ChangeLog Makefile.am autogen.sh 
	                 configure.ac ltmain.sh.darwin 
	backend        : Makefile.am render_handler.h 
	                 render_handler_agg.cpp render_handler_agg.h 
	                 render_handler_agg_bitmap.h 
	                 render_handler_agg_style.h 
	                 render_handler_cairo.h render_handler_tri.cpp 
	                 render_handler_tri.h sound_handler.cpp 
	                 sound_handler.h sound_handler_gst.cpp 
	                 sound_handler_gst.h sound_handler_mp3.cpp 
	                 sound_handler_sdl.cpp sound_handler_sdl.h 
	cygnal         : Makefile.am alloc.cpp cygnal.cpp http.cpp 
	                 http.h netstats.cpp netstats.h statistics.cpp 
	                 statistics.h stream.cpp stream.h 
	cygnal/ACT     : ACT.cpp ACT.hpp Cygnal_Instances.cpp 
	                 Pause_Service.cpp Pause_Service.hpp 
	                 Scheduler.cpp Scheduler.hpp 
	                 Scheduling_Queue.cpp Scheduling_Queue.hpp 
	                 Service.cpp Service.hpp 
	cygnal/ACT/test_support: Action_Tracing.hpp 
	                         Listening_Actions.cpp 
	                         Listening_Actions.hpp 
	                         Simple_Actions.cpp Simple_Actions.hpp 
	cygnal/ACT/unit_tests: Test_ACT.cpp Test_Scheduler.cpp 
	                       Test_Scheduling_Queue.cpp 
	cygnal/HTTP    : HTTP_Behavior.cpp HTTP_Behavior.hpp 
	                 HTTP_Parse.cpp HTTP_Parse.hpp URI.cpp URI.hpp 
	cygnal/HTTP/unit_tests: Test_HTTP.cpp 
	cygnal/IO      : Buffer.cpp Buffer.hpp IO_Device.cpp 
	                 IO_Device.hpp IO_Generator.cpp IO_Generator.hpp 
	                 Stream_Consumer.cpp Stream_Consumer.hpp 
	cygnal/IO/test_support: Null_Device.cpp Null_Device.hpp 
	                        Null_Filter.cpp Null_Filter.hpp 
	                        String_Device.cpp String_Device.hpp 
	                        String_Generator.cpp 
	                        String_Generator.hpp 
	cygnal/IO/unit_tests: Test_Buffer.cpp Test_IO.cpp 
	                      Test_Service.cpp Test_String_Device.cpp 
	cygnal/Net     : Net.cpp Net.hpp Old_Device.cpp Old_Device.hpp 
	                 socket_device.cpp socket_device.hpp 
	cygnal/Net/unit_tests: Test_socket_device.cpp 
	cygnal/unit_tests: Permutation.hpp Random_Permutation.cpp 
	                   Random_Permutation.hpp Test_Support.cpp 
	                   Test_Support.hpp main.cpp 
	devtools/lib/Gnash: Distribution.pm Utils.pm 
	devtools/testsuite: c_casts.t copyright_notices.t tabs.t 
	                    uncuddled_else.t 
	doc            : Makefile.am 
	doc/C          : Makefile.am gen-doc.sh 
	doc/C/asspec   : Makefile.am 
	extensions     : Makefile.am 
	extensions/dejagnu: Makefile.am dejagnu.cpp dejagnu.h test.as 
	extensions/fileio: Makefile.am fileio.cpp fileio.h test.as 
	extensions/gtk2: Makefile.am gtkext.cpp gtkext.h hello.as 
	extensions/mysql: Makefile.am mysql_db.cpp mysql_db.h 
	                  mysql_table.cpp test.as 
	gui            : Makefile.am NullGui.cpp NullGui.h Player.cpp 
	                 Player.h aqua.cpp aqua_glue.h aqua_ogl_glue.cpp 
	                 aqua_ogl_glue.h aquasup.h fb.cpp fbsup.h 
	                 fltk.cpp fltk_glue_agg.cpp fltk_glue_agg.h 
	                 fltk_glue_cairo.cpp fltk_glue_cairo.h fltksup.h 
	                 gnash.cpp gtk.cpp gtk_glue.h gtk_glue_agg.cpp 
	                 gtk_glue_agg.h gtk_glue_cairo.cpp 
	                 gtk_glue_cairo.h gtk_glue_gtkglext.cpp 
	                 gtk_glue_gtkglext.h gtksup.h gui.cpp gui.h 
	                 kde.cpp kde_glue.h kde_glue_agg.cpp 
	                 kde_glue_agg.h kde_glue_opengl.cpp 
	                 kde_glue_opengl.h kdesup.h riscos.cpp 
	                 riscos_glue.h riscos_glue_agg.cpp 
	                 riscos_glue_agg.h riscossup.h sdl.cpp 
	                 sdl_agg_glue.cpp sdl_agg_glue.h 
	                 sdl_cairo_glue.cpp sdl_cairo_glue.h sdl_glue.h 
	                 sdl_ogl_glue.cpp sdl_ogl_glue.h sdlsup.h 
	libamf         : Makefile.am amf.cpp amf.h amftest.cpp amfutf8.h 
	                 protocol.h rtmp.cpp rtmp.h 
	libbase        : FLVParser.cpp FLVParser.h GC.cpp GC.h 
	                 GnashException.h LoadThread.cpp LoadThread.h 
	                 Makefile.am URL.cpp URL.h container.h 
	                 curl_adapter.cpp curl_adapter.h 
	                 embedVideoDecoder.h embedVideoDecoderFfmpeg.cpp 
	                 embedVideoDecoderFfmpeg.h 
	                 embedVideoDecoderGst.cpp embedVideoDecoderGst.h 
	                 extension.cpp extension.h gstgnashsrc.c 
	                 gstgnashsrc.h hash_wrapper.h log.cpp log.h 
	                 network.cpp network.h noseek_fd_adapter.cpp 
	                 noseek_fd_adapter.h rc.cpp rc.h ref_counted.h 
	                 sharedlib.cpp sharedlib.h smart_ptr.h 
	                 tu_types.h utility.cpp 
	libgeometry    : Makefile.am Range2d.h snappingrange.h 
	macros         : agg.m4 archflag.m4 boost.m4 curl.m4 docbook.m4 
	                 ffmpeg.m4 firefox.m4 glib.m4 gnashpkgtool.m4 
	                 gtk2.m4 gtkglext.m4 jpeg.m4 kde.m4 libXML.m4 
	                 libexe.m4 libltdl.m4 ming.m4 mtasc.m4 mysql.m4 
	                 opengl.m4 pango.m4 pkg.m4 pthreads.m4 sdl.m4 
	                 x11.m4 
	packaging/debian: copyright 
	plugin         : Makefile.am plugin.cpp plugin.h 
	plugin/klash   : Makefile.am klash_part.cpp klash_part.h 
	plugin/mozilla-sdk: Makefile.am np_entry.cpp npn_gate.cpp 
	                    npp_gate.cpp npplat.h pluginbase.h 
	plugin/mozilla-sdk/include: jni.h jni_md.h jri.h jri_md.h 
	                            jritypes.h npapi.h nptypes.h npupp.h 
	                            prcpucfg.h prcvar.h prerr.h 
	                            prerror.h prinit.h prinrval.h 
	                            prlock.h prthread.h prtypes.h 
	                            prwin16.h 
	plugin/win32   : npgnash.cpp plugin.cpp plugin.h 
	po             : cs.po 
	server         : BitmapMovieInstance.cpp BitmapMovieInstance.h 
	                 DynamicShape.cpp DynamicShape.h 
	                 FreetypeGlyphsProvider.cpp 
	                 FreetypeGlyphsProvider.h GetterSetter.cpp 
	                 GetterSetter.h LoadVariablesThread.cpp 
	                 LoadVariablesThread.h Makefile.am Property.h 
	                 PropertyList.cpp PropertyList.h Sprite.h 
	                 StreamProvider.cpp StreamProvider.h 
	                 StringPredicates.h URLAccessManager.cpp 
	                 URLAccessManager.h array.cpp array.h 
	                 as_environment.cpp as_environment.h 
	                 as_function.cpp as_function.h as_object.cpp 
	                 as_object.h as_prop_flags.h as_value.cpp 
	                 as_value.h bitmap_info.h builtin_function.h 
	                 button_character_instance.cpp 
	                 button_character_instance.h character.cpp 
	                 character.h cxform.cpp cxform.h debugger.cpp 
	                 debugger.h dlist.cpp dlist.h drag_state.h 
	                 edit_text_character.cpp edit_text_character.h 
	                 event_id.h execute_tag.h fill_style.cpp 
	                 fill_style.h font.cpp generic_character.cpp 
	                 generic_character.h gnash.h impl.cpp impl.h 
	                 matrix.cpp matrix.h movie_instance.cpp 
	                 movie_instance.h movie_root.cpp movie_root.h 
	                 rect.cpp rect.h resource.h shape.cpp shm.cpp 
	                 shm.h sprite_instance.cpp sprite_instance.h 
	                 swf.h swf_event.h swf_function.cpp 
	                 swf_function.h text.cpp text.h textformat.cpp 
	                 textformat.h timers.cpp timers.h 
	                 video_stream_instance.cpp 
	                 video_stream_instance.h 
	server/asobj   : Boolean.cpp Boolean.h Camera.cpp Camera.h 
	                 Color.cpp Color.h ContextMenu.cpp ContextMenu.h 
	                 CustomActions.cpp CustomActions.h Date.cpp 
	                 Date.h Error.cpp Error.h GMath.h Global.cpp 
	                 Global.h Key.cpp Key.h LoadVars.cpp LoadVars.h 
	                 LocalConnection.cpp LocalConnection.h 
	                 Makefile.am Math.cpp Microphone.cpp 
	                 Microphone.h Mouse.cpp Mouse.h 
	                 MovieClipLoader.cpp MovieClipLoader.h 
	                 NetConnection.cpp NetConnection.h NetStream.cpp 
	                 NetStream.h NetStreamFfmpeg.cpp 
	                 NetStreamFfmpeg.h NetStreamGst.cpp 
	                 NetStreamGst.h Number.cpp Number.h Object.cpp 
	                 Object.h Selection.cpp Selection.h 
	                 SharedObject.cpp SharedObject.h Sound.cpp 
	                 Sound.h SoundFfmpeg.cpp SoundFfmpeg.h 
	                 SoundGst.cpp SoundGst.h SoundMad.cpp SoundMad.h 
	                 Stage.cpp Stage.h System.cpp System.h 
	                 TextSnapshot.cpp TextSnapshot.h gen-asclass.pl 
	                 gen-asclass.sh gstring.h string.cpp xml.cpp 
	                 xml.h xmlattrs.cpp xmlattrs.h xmlnode.cpp 
	                 xmlnode.h xmlsocket.cpp xmlsocket.h 
	server/parser  : BitmapMovieDefinition.cpp 
	                 BitmapMovieDefinition.h Makefile.am Timeline.h 
	                 action_buffer.cpp action_buffer.h 
	                 bitmap_character_def.cpp bitmap_character_def.h 
	                 button_character_def.cpp character_def.cpp 
	                 character_def.h edit_text_character_def.cpp 
	                 edit_text_character_def.h 
	                 morph2_character_def.cpp movie_def_impl.cpp 
	                 movie_def_impl.h movie_definition.h 
	                 shape_character_def.cpp sound_definition.h 
	                 sprite_definition.cpp sprite_definition.h 
	                 text_character_def.h video_stream_def.cpp 
	                 video_stream_def.h 
	server/swf     : DefineFontAlignZonesTag.cpp 
	                 DefineFontAlignZonesTag.h DisplayListTag.h 
	                 DoActionTag.h PlaceObject2Tag.cpp 
	                 PlaceObject2Tag.h RemoveObjectTag.cpp 
	                 RemoveObjectTag.h TagLoadersTable.cpp 
	                 TagLoadersTable.h tag_loaders.cpp tag_loaders.h 
	server/vm      : ASHandlers.cpp ASHandlers.h ActionExec.cpp 
	                 ActionExec.h ExecutableCode.h Makefile.am 
	                 VM.cpp VM.h action.cpp action.h fn_call.h 
	                 with_stack_entry.h 
	testsuite      : DummyCharacter.h DummyMovieDefinition.h 
	                 FuzzyPixel.cpp FuzzyPixel.h MovieTester.cpp 
	                 MovieTester.h generic-testrunner.sh 
	testsuite/actionscript.all: Boolean.as Camera.as Color.as 
	                            ContextMenu.as CustomActions.as 
	                            Date.as Error.as Function.as 
	                            Global.as Inheritance.as LoadVars.as 
	                            LocalConnection.as Makefile.am 
	                            Math.as Microphone.as Mouse.as 
	                            MovieClip.as MovieClipLoader.as 
	                            NetConnection.as NetStream.as 
	                            Number.as Object.as Selection.as 
	                            SharedObject.as Stage.as String.as 
	                            System.as TextField.as 
	                            TextSnapshot.as Video.as XML.as 
	                            XMLNode.as XMLSocket.as check.as 
	                            dejagnu.as enumerate.as gen-test.sh 
	                            getvariable.as rtmp.as rtrace.as 
	                            swap.as targetPath.as utils.as 
	                            with.as xtrace.as 
	testsuite/libamf.all: Makefile.am test_number.cpp 
	                      test_object.cpp test_string.cpp 
	                      test_variable.cpp 
	testsuite/libbase: CurlStreamTest.cpp Makefile.am 
	                   NoSeekFileTest.cpp TCXXRc.cpp URLTest.cpp 
	testsuite/libgeometry: Makefile.am Range2dTest.cpp 
	                       snappingrangetest.cpp 
	testsuite/misc-ming.all: ButtonEventsTest-Runner.cpp 
	                         ButtonEventsTest.c DefineEditTextTest.c 
	                         DefineEditTextVariableNameTest-Runner.cpp 
	                         DefineEditTextVariableNameTest.c 
	                         Dejagnu.c DrawingApiTestRunner.cpp 
	                         FlashVarsTest.as KeyTest-Runner.cpp 
	                         Makefile.am NetStream-SquareTest.c 
	                         NetStream-SquareTestRunner.cpp 
	                         PlaceObject2Test.c RemoveObject2Test.c 
	                         RollOverOutTest-Runner.cpp 
	                         RollOverOutTest.c 
	                         SpriteButtonEventsTest-Runner.cpp 
	                         SpriteButtonEventsTest.c 
	                         Video-EmbedSquareTest.c 
	                         Video-EmbedSquareTestRunner.cpp 
	                         action_execution_order_extend_test.c 
	                         action_execution_order_test.c 
	                         action_execution_order_test1.c 
	                         action_execution_order_test2.c 
	                         action_execution_order_test3.c 
	                         action_execution_order_test4.c 
	                         action_execution_order_test5.c 
	                         action_execution_order_test6.c 
	                         action_execution_order_test7.c 
	                         action_execution_order_test8.c 
	                         action_execution_order_test9.c 
	                         attachMovieLoopingTest.c 
	                         attachMovieLoopingTestRunner.cpp 
	                         attachMovieTest.c 
	                         attachMovieTestRunner.cpp 
	                         callFunction_test.c 
	                         consecutive_goto_frame_test.c 
	                         definebitsjpeg2.c 
	                         displaylist_depths_test.c 
	                         displaylist_depths_test10.c 
	                         displaylist_depths_test11.c 
	                         displaylist_depths_test2.c 
	                         displaylist_depths_test3.c 
	                         displaylist_depths_test4.c 
	                         displaylist_depths_test5.c 
	                         displaylist_depths_test6.c 
	                         displaylist_depths_test7.c 
	                         displaylist_depths_test8.c 
	                         displaylist_depths_test9.c 
	                         duplicate_movie_clip_test.c 
	                         duplicate_movie_clip_test2.c 
	                         eventSoundTest1-Runner.cpp 
	                         eventSoundTest1.c 
	                         event_handler_scope_test.c 
	                         frame_label_test.c getTimer_test.c 
	                         get_frame_number_test.c 
	                         goto_frame_test.c init_action_test.c 
	                         intervalTest.as intervalTestRunner.cpp 
	                         key_event_test.c key_event_test2.c 
	                         key_event_test2runner.cpp 
	                         key_event_test3.c 
	                         key_event_test3runner.cpp 
	                         key_event_test4.c 
	                         key_event_test4runner.cpp 
	                         key_event_testrunner.cpp 
	                         loadMovieTest.c loadMovieTestRunner.cpp 
	                         loop_test-Runner.cpp loop_test.c 
	                         loop_test2.c loop_test2runner.cpp 
	                         loop_test3.c loop_test4.c loop_test5.c 
	                         loop_test6.c loop_test7.c loop_test8.c 
	                         masks_test.c masks_testrunner.cpp 
	                         matrix_test.c ming_utils.c ming_utils.h 
	                         morph_test1.c morph_test1runner.cpp 
	                         move_object_test.c 
	                         moviecliploader_test.c 
	                         multi_doactions_and_goto_frame_test.c 
	                         path_format_test.c 
	                         place_and_remove_object_insane_test.c 
	                         place_and_remove_object_test.c 
	                         place_object_test.c 
	                         place_object_test2.c 
	                         registerClassTest.c 
	                         registerClassTestRunner.cpp 
	                         replace_buttons1test.c 
	                         replace_buttons1test_runner.cpp 
	                         replace_shapes1test.c 
	                         replace_shapes1test_runner.cpp 
	                         replace_sprites1test.c 
	                         replace_sprites1test_runner.cpp 
	                         reverse_execute_PlaceObject2_test1.c 
	                         reverse_execute_PlaceObject2_test2.c 
	                         root_stop_test.c 
	                         root_stop_testrunner.cpp shape_test.c 
	                         simple_loop_test.c 
	                         simple_loop_testrunner.cpp spritehier.c 
	                         static_vs_dynamic1.c 
	                         static_vs_dynamic2.c 
	                         timeline_var_test.c 
	testsuite/misc-mtasc.all: Makefile.am 
	testsuite/misc-swfmill.all: Makefile.am 
	testsuite/movies.all: Makefile.am 
	                      gravity_embedded-TestRunner.cpp 
	testsuite/samples: Makefile.am clip_as_button2-TestRunner.cpp 
	                   gotoFrameOnKeyEvent-TestRunner.cpp 
	                   subshapes-TestRunner.cpp 
	testsuite/server: DisplayListTest.cpp EdgeTest.cpp 
	                  GetterSetterTest.cpp Makefile.am 
	                  MatrixTest.cpp PointTest.cpp 
	                  PropertyListTest.cpp as_prop_flagsTest.cpp 
	testsuite/swfdec: Makefile.am gen_run_swfdec_testsuite.sh 
	utilities      : Makefile.am dumpshm.cpp parser.cpp 
	                 processor.cpp 

Log message:
	Update to GPL version 3.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/COPYING?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3625&r2=1.3626
http://cvs.savannah.gnu.org/viewcvs/gnash/Makefile.am?cvsroot=gnash&r1=1.78&r2=1.79
http://cvs.savannah.gnu.org/viewcvs/gnash/autogen.sh?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.344&r2=1.345
http://cvs.savannah.gnu.org/viewcvs/gnash/ltmain.sh.darwin?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/Makefile.am?cvsroot=gnash&r1=1.54&r2=1.55
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler.h?cvsroot=gnash&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&r1=1.89&r2=1.90
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg_bitmap.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg_style.h?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_cairo.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.cpp?cvsroot=gnash&r1=1.49&r2=1.50
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_mp3.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.70&r2=1.71
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.h?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Makefile.am?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/alloc.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/cygnal.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/http.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/http.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/netstats.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/netstats.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/statistics.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/statistics.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/stream.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/stream.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/ACT.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/ACT.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Cygnal_Instances.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Pause_Service.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Pause_Service.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Scheduler.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Scheduler.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Scheduling_Queue.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Scheduling_Queue.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Service.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Service.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Action_Tracing.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Listening_Actions.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Listening_Actions.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Simple_Actions.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Simple_Actions.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_ACT.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_Scheduler.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/HTTP_Behavior.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/HTTP_Behavior.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/HTTP_Parse.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/HTTP_Parse.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/URI.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/URI.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/unit_tests/Test_HTTP.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Buffer.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Buffer.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Device.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Device.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Generator.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Generator.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Stream_Consumer.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Stream_Consumer.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Device.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Device.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Filter.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Filter.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Device.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Device.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Generator.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Generator.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/unit_tests/Test_Buffer.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/unit_tests/Test_IO.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/unit_tests/Test_Service.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/unit_tests/Test_String_Device.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/Net.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/Net.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/Old_Device.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/Old_Device.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/socket_device.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/socket_device.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/unit_tests/Test_socket_device.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Permutation.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Random_Permutation.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Random_Permutation.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Test_Support.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Test_Support.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/main.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/devtools/lib/Gnash/Distribution.pm?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/devtools/lib/Gnash/Utils.pm?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/devtools/testsuite/c_casts.t?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/devtools/testsuite/copyright_notices.t?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/devtools/testsuite/tabs.t?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/devtools/testsuite/uncuddled_else.t?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/Makefile.am?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/Makefile.am?cvsroot=gnash&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/gen-doc.sh?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/asspec/Makefile.am?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/Makefile.am?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/dejagnu/Makefile.am?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/dejagnu/dejagnu.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/dejagnu/dejagnu.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/dejagnu/test.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/fileio/Makefile.am?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/fileio/fileio.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/fileio/fileio.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/fileio/test.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/gtk2/Makefile.am?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/gtk2/gtkext.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/gtk2/gtkext.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/gtk2/hello.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/mysql/Makefile.am?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/mysql/mysql_db.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/mysql/mysql_db.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/mysql/mysql_table.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/mysql/test.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.80&r2=1.81
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_glue.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aquasup.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fb.cpp?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fbsup.h?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fltk.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fltk_glue_agg.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fltk_glue_agg.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fltk_glue_cairo.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fltk_glue_cairo.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fltksup.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&r1=1.96&r2=1.97
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_agg.cpp?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_agg.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_cairo.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_cairo.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_gtkglext.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_gtkglext.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtksup.h?cvsroot=gnash&r1=1.43&r2=1.44
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.80&r2=1.81
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde.cpp?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde_glue.h?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde_glue_agg.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde_glue_agg.h?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde_glue_opengl.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde_glue_opengl.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kdesup.h?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/riscos.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/riscos_glue.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/riscos_glue_agg.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/riscos_glue_agg.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/riscossup.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl.cpp?cvsroot=gnash&r1=1.58&r2=1.59
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl_agg_glue.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl_agg_glue.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl_cairo_glue.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl_cairo_glue.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl_glue.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl_ogl_glue.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl_ogl_glue.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdlsup.h?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/Makefile.am?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/amf.cpp?cvsroot=gnash&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/amf.h?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/amftest.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/amfutf8.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/protocol.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/rtmp.cpp?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/rtmp.h?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/FLVParser.cpp?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/FLVParser.h?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GnashException.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/LoadThread.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/LoadThread.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/Makefile.am?cvsroot=gnash&r1=1.75&r2=1.76
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/URL.cpp?cvsroot=gnash&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/URL.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/container.h?cvsroot=gnash&r1=1.58&r2=1.59
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/curl_adapter.cpp?cvsroot=gnash&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/curl_adapter.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/embedVideoDecoder.h?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/embedVideoDecoderFfmpeg.cpp?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/embedVideoDecoderFfmpeg.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/embedVideoDecoderGst.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/embedVideoDecoderGst.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/extension.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/extension.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/gstgnashsrc.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/gstgnashsrc.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/hash_wrapper.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/log.cpp?cvsroot=gnash&r1=1.53&r2=1.54
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/log.h?cvsroot=gnash&r1=1.58&r2=1.59
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/network.cpp?cvsroot=gnash&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/network.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/noseek_fd_adapter.cpp?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/noseek_fd_adapter.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/rc.cpp?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/rc.h?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/ref_counted.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/sharedlib.cpp?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/sharedlib.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/smart_ptr.h?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/tu_types.h?cvsroot=gnash&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/libgeometry/Makefile.am?cvsroot=gnash&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnash/libgeometry/Range2d.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/libgeometry/snappingrange.h?cvsroot=gnash&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/agg.m4?cvsroot=gnash&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/archflag.m4?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/boost.m4?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/curl.m4?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/docbook.m4?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/ffmpeg.m4?cvsroot=gnash&r1=1.45&r2=1.46
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/firefox.m4?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/glib.m4?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/gnashpkgtool.m4?cvsroot=gnash&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/gtk2.m4?cvsroot=gnash&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/gtkglext.m4?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/jpeg.m4?cvsroot=gnash&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/kde.m4?cvsroot=gnash&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/libXML.m4?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/libexe.m4?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/libltdl.m4?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/ming.m4?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/mtasc.m4?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/mysql.m4?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/opengl.m4?cvsroot=gnash&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/pango.m4?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/pkg.m4?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/pthreads.m4?cvsroot=gnash&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/sdl.m4?cvsroot=gnash&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/x11.m4?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/packaging/debian/copyright?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/Makefile.am?cvsroot=gnash&r1=1.59&r2=1.60
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.cpp?cvsroot=gnash&r1=1.78&r2=1.79
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.h?cvsroot=gnash&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/Makefile.am?cvsroot=gnash&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/klash_part.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/klash_part.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/Makefile.am?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/np_entry.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/npn_gate.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/npp_gate.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/npplat.h?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/pluginbase.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/jni.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/jni_md.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/jri.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/jri_md.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/jritypes.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/npapi.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/nptypes.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/npupp.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prcpucfg.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prcvar.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prerr.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prerror.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prinit.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prinrval.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prlock.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prthread.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prtypes.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/mozilla-sdk/include/prwin16.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/win32/npgnash.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/win32/plugin.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/win32/plugin.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/po/cs.po?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/server/BitmapMovieInstance.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/BitmapMovieInstance.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/DynamicShape.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/DynamicShape.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/FreetypeGlyphsProvider.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/FreetypeGlyphsProvider.h?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/server/GetterSetter.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/GetterSetter.h?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/LoadVariablesThread.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/server/LoadVariablesThread.h?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/server/Makefile.am?cvsroot=gnash&r1=1.119&r2=1.120
http://cvs.savannah.gnu.org/viewcvs/gnash/server/Property.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/PropertyList.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/PropertyList.h?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/Sprite.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/StreamProvider.cpp?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/server/StreamProvider.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/StringPredicates.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/URLAccessManager.cpp?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/server/URLAccessManager.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.cpp?cvsroot=gnash&r1=1.62&r2=1.63
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.h?cvsroot=gnash&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_environment.cpp?cvsroot=gnash&r1=1.80&r2=1.81
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_environment.h?cvsroot=gnash&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_function.cpp?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_function.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_object.cpp?cvsroot=gnash&r1=1.54&r2=1.55
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_object.h?cvsroot=gnash&r1=1.59&r2=1.60
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_prop_flags.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.54&r2=1.55
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.h?cvsroot=gnash&r1=1.55&r2=1.56
http://cvs.savannah.gnu.org/viewcvs/gnash/server/bitmap_info.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/server/builtin_function.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/button_character_instance.cpp?cvsroot=gnash&r1=1.50&r2=1.51
http://cvs.savannah.gnu.org/viewcvs/gnash/server/button_character_instance.h?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/server/character.cpp?cvsroot=gnash&r1=1.43&r2=1.44
http://cvs.savannah.gnu.org/viewcvs/gnash/server/character.h?cvsroot=gnash&r1=1.84&r2=1.85
http://cvs.savannah.gnu.org/viewcvs/gnash/server/cxform.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/server/cxform.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/debugger.cpp?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/server/debugger.h?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/dlist.cpp?cvsroot=gnash&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/gnash/server/dlist.h?cvsroot=gnash&r1=1.44&r2=1.45
http://cvs.savannah.gnu.org/viewcvs/gnash/server/drag_state.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.70&r2=1.71
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/gnash/server/event_id.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/execute_tag.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fill_style.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fill_style.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.cpp?cvsroot=gnash&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/gnash/server/generic_character.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/generic_character.h?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/server/gnash.h?cvsroot=gnash&r1=1.98&r2=1.99
http://cvs.savannah.gnu.org/viewcvs/gnash/server/impl.cpp?cvsroot=gnash&r1=1.111&r2=1.112
http://cvs.savannah.gnu.org/viewcvs/gnash/server/impl.h?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/server/matrix.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/matrix.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_instance.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_instance.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.69&r2=1.70
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.60&r2=1.61
http://cvs.savannah.gnu.org/viewcvs/gnash/server/rect.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/rect.h?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/server/resource.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/shape.cpp?cvsroot=gnash&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/gnash/server/shm.cpp?cvsroot=gnash&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/gnash/server/shm.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.292&r2=1.293
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.h?cvsroot=gnash&r1=1.125&r2=1.126
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf.h?cvsroot=gnash&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf_event.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf_function.cpp?cvsroot=gnash&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf_function.h?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/text.cpp?cvsroot=gnash&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/gnash/server/text.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/server/textformat.cpp?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/server/textformat.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/timers.cpp?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/server/timers.h?cvsroot=gnash&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/gnash/server/video_stream_instance.cpp?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/server/video_stream_instance.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Boolean.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Boolean.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Camera.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Camera.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Color.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Color.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/ContextMenu.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/ContextMenu.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/CustomActions.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/CustomActions.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Date.cpp?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Date.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Error.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Error.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/GMath.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Global.cpp?cvsroot=gnash&r1=1.63&r2=1.64
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Global.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.cpp?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.h?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/LoadVars.cpp?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/LoadVars.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/LocalConnection.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/LocalConnection.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Makefile.am?cvsroot=gnash&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Math.cpp?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Microphone.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Microphone.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Mouse.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Mouse.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/MovieClipLoader.cpp?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/MovieClipLoader.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetConnection.cpp?cvsroot=gnash&r1=1.48&r2=1.49
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetConnection.h?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStream.cpp?cvsroot=gnash&r1=1.67&r2=1.68
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStream.h?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamFfmpeg.cpp?cvsroot=gnash&r1=1.87&r2=1.88
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamFfmpeg.h?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamGst.cpp?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamGst.h?cvsroot=gnash&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Number.cpp?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Number.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Object.cpp?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Object.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Selection.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Selection.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SharedObject.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SharedObject.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Sound.cpp?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Sound.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundFfmpeg.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundFfmpeg.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundGst.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundGst.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundMad.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundMad.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Stage.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Stage.h?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/System.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/System.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/TextSnapshot.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/TextSnapshot.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/gen-asclass.pl?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/gen-asclass.sh?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/gstring.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/string.cpp?cvsroot=gnash&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xml.cpp?cvsroot=gnash&r1=1.43&r2=1.44
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xml.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xmlattrs.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xmlattrs.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xmlnode.cpp?cvsroot=gnash&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xmlnode.h?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xmlsocket.cpp?cvsroot=gnash&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xmlsocket.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/BitmapMovieDefinition.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/BitmapMovieDefinition.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/Makefile.am?cvsroot=gnash&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/Timeline.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/action_buffer.cpp?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/action_buffer.h?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/bitmap_character_def.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/bitmap_character_def.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/button_character_def.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/character_def.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/character_def.h?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.h?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/morph2_character_def.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.cpp?cvsroot=gnash&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.h?cvsroot=gnash&r1=1.48&r2=1.49
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_definition.h?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/shape_character_def.cpp?cvsroot=gnash&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/sound_definition.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/sprite_definition.cpp?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/sprite_definition.h?cvsroot=gnash&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/text_character_def.h?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/video_stream_def.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/video_stream_def.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/DefineFontAlignZonesTag.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/DefineFontAlignZonesTag.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/DisplayListTag.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/DoActionTag.h?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/PlaceObject2Tag.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/PlaceObject2Tag.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/RemoveObjectTag.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/RemoveObjectTag.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/TagLoadersTable.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/TagLoadersTable.h?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/tag_loaders.cpp?cvsroot=gnash&r1=1.115&r2=1.116
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/tag_loaders.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ASHandlers.cpp?cvsroot=gnash&r1=1.109&r2=1.110
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ASHandlers.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ActionExec.cpp?cvsroot=gnash&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ActionExec.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ExecutableCode.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/Makefile.am?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/VM.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/VM.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/action.cpp?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/action.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/fn_call.h?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/with_stack_entry.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/DummyCharacter.h?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/DummyMovieDefinition.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/FuzzyPixel.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/FuzzyPixel.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/MovieTester.cpp?cvsroot=gnash&r1=1.44&r2=1.45
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/MovieTester.h?cvsroot=gnash&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/generic-testrunner.sh?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Boolean.as?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Camera.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Color.as?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ContextMenu.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/CustomActions.as?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Date.as?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Error.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Function.as?cvsroot=gnash&r1=1.50&r2=1.51
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Global.as?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/LoadVars.as?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/LocalConnection.as?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Makefile.am?cvsroot=gnash&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Math.as?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Microphone.as?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Mouse.as?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.70&r2=1.71
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClipLoader.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/NetConnection.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/NetStream.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Object.as?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Selection.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/SharedObject.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Stage.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/String.as?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/System.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextSnapshot.as?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Video.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XML.as?cvsroot=gnash&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XMLNode.as?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XMLSocket.as?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/check.as?cvsroot=gnash&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/dejagnu.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/enumerate.as?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/gen-test.sh?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/getvariable.as?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/rtmp.as?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/rtrace.as?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/swap.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/targetPath.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/utils.as?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/with.as?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/xtrace.as?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/Makefile.am?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_number.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_object.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_string.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_variable.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/CurlStreamTest.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/Makefile.am?cvsroot=gnash&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/NoSeekFileTest.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/TCXXRc.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/URLTest.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libgeometry/Makefile.am?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libgeometry/Range2dTest.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libgeometry/snappingrangetest.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ButtonEventsTest.c?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest.c?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Dejagnu.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DrawingApiTestRunner.cpp?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/FlashVarsTest.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/KeyTest-Runner.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.137&r2=1.138
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/PlaceObject2Test.c?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/RemoveObject2Test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/RollOverOutTest-Runner.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/RollOverOutTest.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/SpriteButtonEventsTest-Runner.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/SpriteButtonEventsTest.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Video-EmbedSquareTest.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_extend_test.c?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test.c?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test1.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test2.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test3.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test4.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test5.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test6.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test7.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test8.c?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/action_execution_order_test9.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/attachMovieLoopingTest.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/attachMovieLoopingTestRunner.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/attachMovieTest.c?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/attachMovieTestRunner.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/callFunction_test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/consecutive_goto_frame_test.c?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/definebitsjpeg2.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test.c?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test10.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test11.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test2.c?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test3.c?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test4.c?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test5.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test6.c?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test7.c?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test8.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/displaylist_depths_test9.c?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test2.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/eventSoundTest1-Runner.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/eventSoundTest1.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/event_handler_scope_test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/frame_label_test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/getTimer_test.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/get_frame_number_test.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/goto_frame_test.c?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/init_action_test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/intervalTest.as?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/intervalTestRunner.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test2.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test2runner.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test3.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test3runner.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test4.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test4runner.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_testrunner.cpp?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loadMovieTest.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loadMovieTestRunner.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test-Runner.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test2.c?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test2runner.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test3.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test4.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test5.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test6.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test7.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/loop_test8.c?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/masks_test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/masks_testrunner.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/matrix_test.c?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ming_utils.c?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ming_utils.h?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/morph_test1.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/morph_test1runner.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/move_object_test.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/moviecliploader_test.c?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/multi_doactions_and_goto_frame_test.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/path_format_test.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_and_remove_object_insane_test.c?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_and_remove_object_test.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_object_test.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_object_test2.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/registerClassTest.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/registerClassTestRunner.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_buttons1test.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_buttons1test_runner.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_shapes1test.c?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_shapes1test_runner.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_sprites1test.c?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/replace_sprites1test_runner.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/reverse_execute_PlaceObject2_test1.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/reverse_execute_PlaceObject2_test2.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/root_stop_test.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/root_stop_testrunner.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/shape_test.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/simple_loop_test.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/simple_loop_testrunner.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/spritehier.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/static_vs_dynamic1.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/static_vs_dynamic2.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/timeline_var_test.c?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/Makefile.am?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfmill.all/Makefile.am?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/movies.all/Makefile.am?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/movies.all/gravity_embedded-TestRunner.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/Makefile.am?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/clip_as_button2-TestRunner.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/gotoFrameOnKeyEvent-TestRunner.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/subshapes-TestRunner.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/DisplayListTest.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/EdgeTest.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/GetterSetterTest.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/Makefile.am?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/MatrixTest.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/PointTest.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/PropertyListTest.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/server/as_prop_flagsTest.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/swfdec/Makefile.am?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/swfdec/gen_run_swfdec_testsuite.sh?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/utilities/Makefile.am?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/utilities/dumpshm.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/utilities/parser.cpp?cvsroot=gnash&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/gnash/utilities/processor.cpp?cvsroot=gnash&r1=1.60&r2=1.61

Patches:
Index: COPYING
===================================================================
RCS file: /sources/gnash/gnash/COPYING,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- COPYING	29 Oct 2006 18:34:10 -0000	1.4
+++ COPYING	1 Jul 2007 10:53:45 -0000	1.5
@@ -295,7 +295,7 @@
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
+    the Free Software Foundation; either version 3 of the License, or
     (at your option) any later version.
 
     This program is distributed in the hope that it will be useful,

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3625
retrieving revision 1.3626
diff -u -b -r1.3625 -r1.3626
--- ChangeLog	1 Jul 2007 06:00:23 -0000	1.3625
+++ ChangeLog	1 Jul 2007 10:53:46 -0000	1.3626
@@ -1,3 +1,7 @@
+2007-07-01 Bastiaan Jacques <bastiaan@bjacques.org>
+
+	* all over the place: Update to GPL version 3.
+
 2007-07-01 Sandro Santilli <strk@keybit.net>
 
 	* libbase/GC.h: assert that only the main thread registers collectable

Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/Makefile.am,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- Makefile.am	14 Jun 2007 07:17:10 -0000	1.78
+++ Makefile.am	1 Jul 2007 10:53:46 -0000	1.79
@@ -3,7 +3,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 # 
 
-# $Id: Makefile.am,v 1.78 2007/06/14 07:17:10 strk Exp $
+# $Id: Makefile.am,v 1.79 2007/07/01 10:53:46 bjacques Exp $
 
 ## Process this file with automake to produce Makefile.in
 AUTOMAKE_OPTIONS = 1.6.0

Index: autogen.sh
===================================================================
RCS file: /sources/gnash/gnash/autogen.sh,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- autogen.sh	15 May 2007 16:31:01 -0000	1.26
+++ autogen.sh	1 Jul 2007 10:53:46 -0000	1.27
@@ -5,7 +5,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.344
retrieving revision 1.345
diff -u -b -r1.344 -r1.345
--- configure.ac	18 Jun 2007 19:52:59 -0000	1.344
+++ configure.ac	1 Jul 2007 10:53:46 -0000	1.345
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.344 2007/06/18 19:52:59 strk Exp $
+dnl $Id: configure.ac,v 1.345 2007/07/01 10:53:46 bjacques Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)

Index: ltmain.sh.darwin
===================================================================
RCS file: /sources/gnash/gnash/ltmain.sh.darwin,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ltmain.sh.darwin	22 Jun 2007 21:50:14 -0000	1.1
+++ ltmain.sh.darwin	1 Jul 2007 10:53:47 -0000	1.2
@@ -7,7 +7,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but

Index: backend/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/backend/Makefile.am,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- backend/Makefile.am	16 May 2007 15:58:21 -0000	1.54
+++ backend/Makefile.am	1 Jul 2007 10:53:47 -0000	1.55
@@ -3,7 +3,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: backend/render_handler.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- backend/render_handler.h	4 Jun 2007 16:59:03 -0000	1.41
+++ backend/render_handler.h	1 Jul 2007 10:53:47 -0000	1.42
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler.h,v 1.41 2007/06/04 16:59:03 strk Exp $ */
+/* $Id: render_handler.h,v 1.42 2007/07/01 10:53:47 bjacques Exp $ */
 
 #ifndef RENDER_HANDLER_H
 #define RENDER_HANDLER_H

Index: backend/render_handler_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- backend/render_handler_agg.cpp	26 Jun 2007 17:40:38 -0000	1.89
+++ backend/render_handler_agg.cpp	1 Jul 2007 10:53:47 -0000	1.90
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 
  
 
-/* $Id: render_handler_agg.cpp,v 1.89 2007/06/26 17:40:38 udog Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.90 2007/07/01 10:53:47 bjacques Exp $ */
 
 // Original version by Udo Giacomozzi and Hannes Mayr, 
 // INDUNET GmbH (www.indunet.it)

Index: backend/render_handler_agg.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- backend/render_handler_agg.h	26 Jun 2007 17:40:38 -0000	1.18
+++ backend/render_handler_agg.h	1 Jul 2007 10:53:47 -0000	1.19
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: backend/render_handler_agg_bitmap.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg_bitmap.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- backend/render_handler_agg_bitmap.h	14 Jun 2007 15:55:19 -0000	1.5
+++ backend/render_handler_agg_bitmap.h	1 Jul 2007 10:53:47 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: backend/render_handler_agg_style.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg_style.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- backend/render_handler_agg_style.h	26 Jun 2007 15:33:43 -0000	1.19
+++ backend/render_handler_agg_style.h	1 Jul 2007 10:53:48 -0000	1.20
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: backend/render_handler_cairo.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_cairo.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- backend/render_handler_cairo.h	28 May 2007 15:40:57 -0000	1.5
+++ backend/render_handler_cairo.h	1 Jul 2007 10:53:48 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_cairo.h,v 1.5 2007/05/28 15:40:57 ann Exp $ */
+/* $Id: render_handler_cairo.h,v 1.6 2007/07/01 10:53:48 bjacques Exp $ */
 
 #ifndef BACKEND_RENDER_HANDLER_CAIRO_H
 #define BACKEND_RENDER_HANDLER_CAIRO_H

Index: backend/render_handler_tri.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_tri.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- backend/render_handler_tri.cpp	28 May 2007 15:40:57 -0000	1.13
+++ backend/render_handler_tri.cpp	1 Jul 2007 10:53:48 -0000	1.14
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.cpp,v 1.13 2007/05/28 15:40:57 ann Exp $ */
+/* $Id: render_handler_tri.cpp,v 1.14 2007/07/01 10:53:48 bjacques Exp $ */
 
 #include "render_handler_tri.h"
 

Index: backend/render_handler_tri.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_tri.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- backend/render_handler_tri.h	28 May 2007 15:40:57 -0000	1.10
+++ backend/render_handler_tri.h	1 Jul 2007 10:53:48 -0000	1.11
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.h,v 1.10 2007/05/28 15:40:57 ann Exp $ */
+/* $Id: render_handler_tri.h,v 1.11 2007/07/01 10:53:48 bjacques Exp $ */
 
 #ifndef GNASH_RENDER_HANDLER_TRI_H
 #define GNASH_RENDER_HANDLER_TRI_H

Index: backend/sound_handler.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- backend/sound_handler.cpp	7 Jun 2007 12:10:21 -0000	1.8
+++ backend/sound_handler.cpp	1 Jul 2007 10:53:48 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: backend/sound_handler.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- backend/sound_handler.h	31 May 2007 16:42:06 -0000	1.16
+++ backend/sound_handler.h	1 Jul 2007 10:53:48 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: sound_handler.h,v 1.16 2007/05/31 16:42:06 strk Exp $ */
+/* $Id: sound_handler.h,v 1.17 2007/07/01 10:53:48 bjacques Exp $ */
 
 /// \page sound_handler_intro Sound handler introduction
 ///

Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- backend/sound_handler_gst.cpp	21 Jun 2007 09:02:05 -0000	1.49
+++ backend/sound_handler_gst.cpp	1 Jul 2007 10:53:48 -0000	1.50
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.49 2007/06/21 09:02:05 tgc Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.50 2007/07/01 10:53:48 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: backend/sound_handler_gst.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- backend/sound_handler_gst.h	21 Jun 2007 09:02:06 -0000	1.10
+++ backend/sound_handler_gst.h	1 Jul 2007 10:53:48 -0000	1.11
@@ -2,7 +2,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: backend/sound_handler_mp3.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_mp3.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- backend/sound_handler_mp3.cpp	14 May 2007 09:44:19 -0000	1.6
+++ backend/sound_handler_mp3.cpp	1 Jul 2007 10:53:49 -0000	1.7
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -26,7 +26,7 @@
  * (even comments are cut&paste compliant)
  */
 
-/* $Id: sound_handler_mp3.cpp,v 1.6 2007/05/14 09:44:19 jgilmore Exp $ */
+/* $Id: sound_handler_mp3.cpp,v 1.7 2007/07/01 10:53:49 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: backend/sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- backend/sound_handler_sdl.cpp	21 Jun 2007 09:02:06 -0000	1.70
+++ backend/sound_handler_sdl.cpp	1 Jul 2007 10:53:49 -0000	1.71
@@ -2,7 +2,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-// $Id: sound_handler_sdl.cpp,v 1.70 2007/06/21 09:02:06 tgc Exp $
+// $Id: sound_handler_sdl.cpp,v 1.71 2007/07/01 10:53:49 bjacques Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: backend/sound_handler_sdl.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- backend/sound_handler_sdl.h	21 Jun 2007 09:02:06 -0000	1.26
+++ backend/sound_handler_sdl.h	1 Jul 2007 10:53:49 -0000	1.27
@@ -2,7 +2,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: sound_handler_sdl.h,v 1.26 2007/06/21 09:02:06 tgc Exp $
+// $Id: sound_handler_sdl.h,v 1.27 2007/07/01 10:53:49 bjacques Exp $
 
 #ifndef SOUND_HANDLER_SDL_H
 #define SOUND_HANDLER_SDL_H

Index: cygnal/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- cygnal/Makefile.am	6 Apr 2007 07:58:15 -0000	1.5
+++ cygnal/Makefile.am	1 Jul 2007 10:53:49 -0000	1.6
@@ -3,7 +3,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 #   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #
 
-# $Id: Makefile.am,v 1.5 2007/04/06 07:58:15 jgilmore Exp $
+# $Id: Makefile.am,v 1.6 2007/07/01 10:53:49 bjacques Exp $
 
 ## Process this file with automake to generate Makefile.in
 

Index: cygnal/alloc.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/alloc.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- cygnal/alloc.cpp	28 May 2007 15:40:58 -0000	1.4
+++ cygnal/alloc.cpp	1 Jul 2007 10:53:49 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/cygnal.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/cygnal.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- cygnal/cygnal.cpp	28 May 2007 15:40:58 -0000	1.12
+++ cygnal/cygnal.cpp	1 Jul 2007 10:53:49 -0000	1.13
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: cygnal.cpp,v 1.12 2007/05/28 15:40:58 ann Exp $ */
+/* $Id: cygnal.cpp,v 1.13 2007/07/01 10:53:49 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: cygnal/http.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/http.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- cygnal/http.cpp	14 May 2007 09:44:20 -0000	1.8
+++ cygnal/http.cpp	1 Jul 2007 10:53:49 -0000	1.9
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: http.cpp,v 1.8 2007/05/14 09:44:20 jgilmore Exp $ */
+/* $Id: http.cpp,v 1.9 2007/07/01 10:53:49 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: cygnal/http.h
===================================================================
RCS file: /sources/gnash/gnash/cygnal/http.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- cygnal/http.h	14 Jun 2007 16:34:02 -0000	1.6
+++ cygnal/http.h	1 Jul 2007 10:53:49 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/netstats.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/netstats.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- cygnal/netstats.cpp	28 May 2007 15:40:58 -0000	1.6
+++ cygnal/netstats.cpp	1 Jul 2007 10:53:50 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: netstats.cpp,v 1.6 2007/05/28 15:40:58 ann Exp $ */
+/* $Id: netstats.cpp,v 1.7 2007/07/01 10:53:50 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: cygnal/netstats.h
===================================================================
RCS file: /sources/gnash/gnash/cygnal/netstats.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- cygnal/netstats.h	28 May 2007 15:40:58 -0000	1.3
+++ cygnal/netstats.h	1 Jul 2007 10:53:50 -0000	1.4
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/statistics.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/statistics.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- cygnal/statistics.cpp	14 May 2007 09:44:20 -0000	1.3
+++ cygnal/statistics.cpp	1 Jul 2007 10:53:50 -0000	1.4
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: statistics.cpp,v 1.3 2007/05/14 09:44:20 jgilmore Exp $ */
+/* $Id: statistics.cpp,v 1.4 2007/07/01 10:53:50 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: cygnal/statistics.h
===================================================================
RCS file: /sources/gnash/gnash/cygnal/statistics.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- cygnal/statistics.h	28 May 2007 15:40:58 -0000	1.5
+++ cygnal/statistics.h	1 Jul 2007 10:53:50 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/stream.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/stream.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- cygnal/stream.cpp	21 May 2007 06:53:35 -0000	1.6
+++ cygnal/stream.cpp	1 Jul 2007 10:53:50 -0000	1.7
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: stream.cpp,v 1.6 2007/05/21 06:53:35 strk Exp $ */
+/* $Id: stream.cpp,v 1.7 2007/07/01 10:53:50 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: cygnal/stream.h
===================================================================
RCS file: /sources/gnash/gnash/cygnal/stream.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- cygnal/stream.h	28 May 2007 15:40:58 -0000	1.3
+++ cygnal/stream.h	1 Jul 2007 10:53:50 -0000	1.4
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/ACT.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/ACT.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/ACT.cpp	13 Jun 2007 19:29:10 -0000	1.1
+++ cygnal/ACT/ACT.cpp	1 Jul 2007 10:53:50 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/ACT.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/ACT.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/ACT.hpp	19 Jun 2007 18:52:25 -0000	1.2
+++ cygnal/ACT/ACT.hpp	1 Jul 2007 10:53:50 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Cygnal_Instances.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Cygnal_Instances.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/Cygnal_Instances.cpp	19 Jun 2007 18:52:25 -0000	1.2
+++ cygnal/ACT/Cygnal_Instances.cpp	1 Jul 2007 10:53:50 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Pause_Service.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Pause_Service.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/Pause_Service.cpp	13 Jun 2007 19:29:11 -0000	1.1
+++ cygnal/ACT/Pause_Service.cpp	1 Jul 2007 10:53:50 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Pause_Service.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Pause_Service.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/Pause_Service.hpp	13 Jun 2007 19:29:11 -0000	1.1
+++ cygnal/ACT/Pause_Service.hpp	1 Jul 2007 10:53:51 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Scheduler.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Scheduler.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/Scheduler.cpp	19 Jun 2007 18:52:25 -0000	1.2
+++ cygnal/ACT/Scheduler.cpp	1 Jul 2007 10:53:51 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Scheduler.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Scheduler.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/Scheduler.hpp	19 Jun 2007 18:52:25 -0000	1.2
+++ cygnal/ACT/Scheduler.hpp	1 Jul 2007 10:53:51 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Scheduling_Queue.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Scheduling_Queue.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/Scheduling_Queue.cpp	19 Jun 2007 18:52:25 -0000	1.2
+++ cygnal/ACT/Scheduling_Queue.cpp	1 Jul 2007 10:53:51 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Scheduling_Queue.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Scheduling_Queue.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/Scheduling_Queue.hpp	19 Jun 2007 18:52:25 -0000	1.2
+++ cygnal/ACT/Scheduling_Queue.hpp	1 Jul 2007 10:53:51 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Service.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Service.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/Service.cpp	13 Jun 2007 19:29:11 -0000	1.1
+++ cygnal/ACT/Service.cpp	1 Jul 2007 10:53:51 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/Service.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Service.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/Service.hpp	13 Jun 2007 19:29:12 -0000	1.1
+++ cygnal/ACT/Service.hpp	1 Jul 2007 10:53:51 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/test_support/Action_Tracing.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Action_Tracing.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/test_support/Action_Tracing.hpp	13 Jun 2007 19:29:12 -0000	1.1
+++ cygnal/ACT/test_support/Action_Tracing.hpp	1 Jul 2007 10:53:51 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/test_support/Listening_Actions.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Listening_Actions.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/test_support/Listening_Actions.cpp	19 Jun 2007 18:52:26 -0000	1.2
+++ cygnal/ACT/test_support/Listening_Actions.cpp	1 Jul 2007 10:53:51 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/test_support/Listening_Actions.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Listening_Actions.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/test_support/Listening_Actions.hpp	19 Jun 2007 18:52:26 -0000	1.2
+++ cygnal/ACT/test_support/Listening_Actions.hpp	1 Jul 2007 10:53:51 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/test_support/Simple_Actions.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Simple_Actions.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/test_support/Simple_Actions.cpp	13 Jun 2007 19:29:12 -0000	1.1
+++ cygnal/ACT/test_support/Simple_Actions.cpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/test_support/Simple_Actions.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Simple_Actions.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/test_support/Simple_Actions.hpp	13 Jun 2007 19:29:12 -0000	1.1
+++ cygnal/ACT/test_support/Simple_Actions.hpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/unit_tests/Test_ACT.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_ACT.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/unit_tests/Test_ACT.cpp	13 Jun 2007 19:29:12 -0000	1.1
+++ cygnal/ACT/unit_tests/Test_ACT.cpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/unit_tests/Test_Scheduler.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_Scheduler.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/unit_tests/Test_Scheduler.cpp	19 Jun 2007 18:52:26 -0000	1.2
+++ cygnal/ACT/unit_tests/Test_Scheduler.cpp	1 Jul 2007 10:53:52 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp	19 Jun 2007 18:52:26 -0000	1.2
+++ cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp	1 Jul 2007 10:53:52 -0000	1.3
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/HTTP/HTTP_Behavior.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/HTTP_Behavior.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/HTTP/HTTP_Behavior.cpp	13 Jun 2007 19:45:27 -0000	1.1
+++ cygnal/HTTP/HTTP_Behavior.cpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/HTTP/HTTP_Behavior.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/HTTP_Behavior.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/HTTP/HTTP_Behavior.hpp	13 Jun 2007 19:45:27 -0000	1.1
+++ cygnal/HTTP/HTTP_Behavior.hpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/HTTP/HTTP_Parse.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/HTTP_Parse.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/HTTP/HTTP_Parse.cpp	13 Jun 2007 19:45:27 -0000	1.1
+++ cygnal/HTTP/HTTP_Parse.cpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/HTTP/HTTP_Parse.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/HTTP_Parse.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/HTTP/HTTP_Parse.hpp	13 Jun 2007 19:45:27 -0000	1.1
+++ cygnal/HTTP/HTTP_Parse.hpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/HTTP/URI.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/URI.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/HTTP/URI.cpp	13 Jun 2007 19:45:28 -0000	1.1
+++ cygnal/HTTP/URI.cpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/HTTP/URI.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/URI.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/HTTP/URI.hpp	13 Jun 2007 19:45:28 -0000	1.1
+++ cygnal/HTTP/URI.hpp	1 Jul 2007 10:53:52 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/HTTP/unit_tests/Test_HTTP.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/unit_tests/Test_HTTP.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/HTTP/unit_tests/Test_HTTP.cpp	13 Jun 2007 19:45:28 -0000	1.1
+++ cygnal/HTTP/unit_tests/Test_HTTP.cpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/Buffer.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/Buffer.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/Buffer.cpp	13 Jun 2007 19:37:35 -0000	1.1
+++ cygnal/IO/Buffer.cpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/Buffer.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/Buffer.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/Buffer.hpp	13 Jun 2007 19:37:36 -0000	1.1
+++ cygnal/IO/Buffer.hpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/IO_Device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Device.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/IO_Device.cpp	13 Jun 2007 19:37:36 -0000	1.1
+++ cygnal/IO/IO_Device.cpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/IO_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Device.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/IO_Device.hpp	13 Jun 2007 19:37:36 -0000	1.1
+++ cygnal/IO/IO_Device.hpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/IO_Generator.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Generator.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/IO_Generator.cpp	13 Jun 2007 19:37:36 -0000	1.1
+++ cygnal/IO/IO_Generator.cpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/IO_Generator.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Generator.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/IO_Generator.hpp	13 Jun 2007 19:37:36 -0000	1.1
+++ cygnal/IO/IO_Generator.hpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/Stream_Consumer.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/Stream_Consumer.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/Stream_Consumer.cpp	13 Jun 2007 19:37:36 -0000	1.1
+++ cygnal/IO/Stream_Consumer.cpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/Stream_Consumer.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/Stream_Consumer.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/Stream_Consumer.hpp	13 Jun 2007 19:37:36 -0000	1.1
+++ cygnal/IO/Stream_Consumer.hpp	1 Jul 2007 10:53:53 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/test_support/Null_Device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Device.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/test_support/Null_Device.cpp	13 Jun 2007 19:37:37 -0000	1.1
+++ cygnal/IO/test_support/Null_Device.cpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/test_support/Null_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Device.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/test_support/Null_Device.hpp	13 Jun 2007 19:37:37 -0000	1.1
+++ cygnal/IO/test_support/Null_Device.hpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/test_support/Null_Filter.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Filter.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/test_support/Null_Filter.cpp	13 Jun 2007 19:37:37 -0000	1.1
+++ cygnal/IO/test_support/Null_Filter.cpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/test_support/Null_Filter.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Filter.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/test_support/Null_Filter.hpp	13 Jun 2007 19:37:37 -0000	1.1
+++ cygnal/IO/test_support/Null_Filter.hpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/test_support/String_Device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Device.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/test_support/String_Device.cpp	13 Jun 2007 19:37:37 -0000	1.1
+++ cygnal/IO/test_support/String_Device.cpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/test_support/String_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Device.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/test_support/String_Device.hpp	13 Jun 2007 19:37:37 -0000	1.1
+++ cygnal/IO/test_support/String_Device.hpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/test_support/String_Generator.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Generator.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/test_support/String_Generator.cpp	13 Jun 2007 19:37:38 -0000	1.1
+++ cygnal/IO/test_support/String_Generator.cpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/test_support/String_Generator.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Generator.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/test_support/String_Generator.hpp	13 Jun 2007 19:37:38 -0000	1.1
+++ cygnal/IO/test_support/String_Generator.hpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/unit_tests/Test_Buffer.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/unit_tests/Test_Buffer.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/unit_tests/Test_Buffer.cpp	13 Jun 2007 19:37:38 -0000	1.1
+++ cygnal/IO/unit_tests/Test_Buffer.cpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/unit_tests/Test_IO.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/unit_tests/Test_IO.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/unit_tests/Test_IO.cpp	13 Jun 2007 19:37:38 -0000	1.1
+++ cygnal/IO/unit_tests/Test_IO.cpp	1 Jul 2007 10:53:54 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/unit_tests/Test_Service.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/unit_tests/Test_Service.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/unit_tests/Test_Service.cpp	13 Jun 2007 19:37:38 -0000	1.1
+++ cygnal/IO/unit_tests/Test_Service.cpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/IO/unit_tests/Test_String_Device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/unit_tests/Test_String_Device.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/IO/unit_tests/Test_String_Device.cpp	13 Jun 2007 19:37:38 -0000	1.1
+++ cygnal/IO/unit_tests/Test_String_Device.cpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/Net/Net.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/Net.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/Net/Net.cpp	13 Jun 2007 19:43:09 -0000	1.1
+++ cygnal/Net/Net.cpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/Net/Net.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/Net.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/Net/Net.hpp	13 Jun 2007 19:43:09 -0000	1.1
+++ cygnal/Net/Net.hpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/Net/Old_Device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/Old_Device.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/Net/Old_Device.cpp	13 Jun 2007 19:43:09 -0000	1.1
+++ cygnal/Net/Old_Device.cpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/Net/Old_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/Old_Device.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/Net/Old_Device.hpp	13 Jun 2007 19:43:09 -0000	1.1
+++ cygnal/Net/Old_Device.hpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/Net/socket_device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/socket_device.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/Net/socket_device.cpp	13 Jun 2007 19:43:09 -0000	1.1
+++ cygnal/Net/socket_device.cpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/Net/socket_device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/socket_device.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/Net/socket_device.hpp	13 Jun 2007 19:43:10 -0000	1.1
+++ cygnal/Net/socket_device.hpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/Net/unit_tests/Test_socket_device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/unit_tests/Test_socket_device.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/Net/unit_tests/Test_socket_device.cpp	13 Jun 2007 19:43:10 -0000	1.1
+++ cygnal/Net/unit_tests/Test_socket_device.cpp	1 Jul 2007 10:53:55 -0000	1.2
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/unit_tests/Permutation.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Permutation.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/unit_tests/Permutation.hpp	13 Jun 2007 19:47:45 -0000	1.1
+++ cygnal/unit_tests/Permutation.hpp	1 Jul 2007 10:53:56 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/unit_tests/Random_Permutation.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Random_Permutation.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/unit_tests/Random_Permutation.cpp	13 Jun 2007 19:47:46 -0000	1.1
+++ cygnal/unit_tests/Random_Permutation.cpp	1 Jul 2007 10:53:56 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/unit_tests/Random_Permutation.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Random_Permutation.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/unit_tests/Random_Permutation.hpp	13 Jun 2007 19:47:46 -0000	1.1
+++ cygnal/unit_tests/Random_Permutation.hpp	1 Jul 2007 10:53:56 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/unit_tests/Test_Support.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Test_Support.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/unit_tests/Test_Support.cpp	13 Jun 2007 19:47:46 -0000	1.1
+++ cygnal/unit_tests/Test_Support.cpp	1 Jul 2007 10:53:56 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/unit_tests/Test_Support.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Test_Support.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/unit_tests/Test_Support.hpp	13 Jun 2007 19:47:46 -0000	1.1
+++ cygnal/unit_tests/Test_Support.hpp	1 Jul 2007 10:53:56 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: cygnal/unit_tests/main.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/main.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/unit_tests/main.cpp	13 Jun 2007 19:47:46 -0000	1.1
+++ cygnal/unit_tests/main.cpp	1 Jul 2007 10:53:56 -0000	1.2
@@ -5,7 +5,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: devtools/lib/Gnash/Distribution.pm
===================================================================
RCS file: /sources/gnash/gnash/devtools/lib/Gnash/Distribution.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- devtools/lib/Gnash/Distribution.pm	5 Jun 2007 12:09:30 -0000	1.3
+++ devtools/lib/Gnash/Distribution.pm	1 Jul 2007 10:53:56 -0000	1.4
@@ -293,7 +293,7 @@
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
+the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,

Index: devtools/lib/Gnash/Utils.pm
===================================================================
RCS file: /sources/gnash/gnash/devtools/lib/Gnash/Utils.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- devtools/lib/Gnash/Utils.pm	5 Jun 2007 12:09:30 -0000	1.3
+++ devtools/lib/Gnash/Utils.pm	1 Jul 2007 10:53:56 -0000	1.4
@@ -133,7 +133,7 @@
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
+the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,

Index: devtools/testsuite/c_casts.t
===================================================================
RCS file: /sources/gnash/gnash/devtools/testsuite/c_casts.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- devtools/testsuite/c_casts.t	5 Jun 2007 12:09:30 -0000	1.2
+++ devtools/testsuite/c_casts.t	1 Jul 2007 10:53:57 -0000	1.3
@@ -98,7 +98,7 @@
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
+the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,

Index: devtools/testsuite/copyright_notices.t
===================================================================
RCS file: /sources/gnash/gnash/devtools/testsuite/copyright_notices.t,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- devtools/testsuite/copyright_notices.t	5 Jun 2007 12:09:30 -0000	1.4
+++ devtools/testsuite/copyright_notices.t	1 Jul 2007 10:53:57 -0000	1.5
@@ -113,7 +113,7 @@
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
+the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,

Index: devtools/testsuite/tabs.t
===================================================================
RCS file: /sources/gnash/gnash/devtools/testsuite/tabs.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- devtools/testsuite/tabs.t	5 Jun 2007 12:09:30 -0000	1.2
+++ devtools/testsuite/tabs.t	1 Jul 2007 10:53:57 -0000	1.3
@@ -73,7 +73,7 @@
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
+the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,

Index: devtools/testsuite/uncuddled_else.t
===================================================================
RCS file: /sources/gnash/gnash/devtools/testsuite/uncuddled_else.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- devtools/testsuite/uncuddled_else.t	5 Jun 2007 12:09:30 -0000	1.2
+++ devtools/testsuite/uncuddled_else.t	1 Jul 2007 10:53:57 -0000	1.3
@@ -88,7 +88,7 @@
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
+the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,

Index: doc/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/doc/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- doc/Makefile.am	29 Oct 2006 18:34:10 -0000	1.8
+++ doc/Makefile.am	1 Jul 2007 10:53:57 -0000	1.9
@@ -4,7 +4,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: doc/C/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/doc/C/Makefile.am,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- doc/C/Makefile.am	7 Jun 2007 16:37:27 -0000	1.38
+++ doc/C/Makefile.am	1 Jul 2007 10:53:57 -0000	1.39
@@ -4,7 +4,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: doc/C/gen-doc.sh
===================================================================
RCS file: /sources/gnash/gnash/doc/C/gen-doc.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- doc/C/gen-doc.sh	2 Feb 2006 00:04:07 -0000	1.1
+++ doc/C/gen-doc.sh	1 Jul 2007 10:53:57 -0000	1.2
@@ -5,7 +5,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: doc/C/asspec/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/doc/C/asspec/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- doc/C/asspec/Makefile.am	25 Apr 2007 14:56:12 -0000	1.3
+++ doc/C/asspec/Makefile.am	1 Jul 2007 10:53:57 -0000	1.4
@@ -4,7 +4,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: extensions/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/extensions/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- extensions/Makefile.am	24 Apr 2007 19:23:10 -0000	1.7
+++ extensions/Makefile.am	1 Jul 2007 10:53:58 -0000	1.8
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,

Index: extensions/dejagnu/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/extensions/dejagnu/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- extensions/dejagnu/Makefile.am	8 May 2007 21:45:46 -0000	1.6
+++ extensions/dejagnu/Makefile.am	1 Jul 2007 10:53:58 -0000	1.7
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,

Index: extensions/dejagnu/dejagnu.cpp
===================================================================
RCS file: /sources/gnash/gnash/extensions/dejagnu/dejagnu.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- extensions/dejagnu/dejagnu.cpp	28 May 2007 15:40:58 -0000	1.9
+++ extensions/dejagnu/dejagnu.cpp	1 Jul 2007 10:53:58 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/dejagnu/dejagnu.h
===================================================================
RCS file: /sources/gnash/gnash/extensions/dejagnu/dejagnu.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- extensions/dejagnu/dejagnu.h	28 May 2007 15:40:58 -0000	1.5
+++ extensions/dejagnu/dejagnu.h	1 Jul 2007 10:53:58 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/dejagnu/test.as
===================================================================
RCS file: /sources/gnash/gnash/extensions/dejagnu/test.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- extensions/dejagnu/test.as	17 Dec 2006 20:24:58 -0000	1.2
+++ extensions/dejagnu/test.as	1 Jul 2007 10:53:58 -0000	1.3
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: test.as,v 1.2 2006/12/17 20:24:58 rsavoye Exp $";
+rcsid="$Id: test.as,v 1.3 2007/07/01 10:53:58 bjacques Exp $";
 
 var tmp = new DejaGnu();
 

Index: extensions/fileio/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/extensions/fileio/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- extensions/fileio/Makefile.am	25 May 2007 16:32:38 -0000	1.5
+++ extensions/fileio/Makefile.am	1 Jul 2007 10:53:58 -0000	1.6
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,

Index: extensions/fileio/fileio.cpp
===================================================================
RCS file: /sources/gnash/gnash/extensions/fileio/fileio.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- extensions/fileio/fileio.cpp	28 May 2007 15:40:58 -0000	1.14
+++ extensions/fileio/fileio.cpp	1 Jul 2007 10:53:58 -0000	1.15
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/fileio/fileio.h
===================================================================
RCS file: /sources/gnash/gnash/extensions/fileio/fileio.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- extensions/fileio/fileio.h	28 May 2007 15:40:58 -0000	1.6
+++ extensions/fileio/fileio.h	1 Jul 2007 10:53:58 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/fileio/test.as
===================================================================
RCS file: /sources/gnash/gnash/extensions/fileio/test.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- extensions/fileio/test.as	13 Feb 2007 07:21:04 -0000	1.1
+++ extensions/fileio/test.as	1 Jul 2007 10:53:58 -0000	1.2
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-rcsid="$Id: test.as,v 1.1 2007/02/13 07:21:04 rsavoye Exp $";
+rcsid="$Id: test.as,v 1.2 2007/07/01 10:53:58 bjacques Exp $";
 
 #include "dejagnu.as"
 

Index: extensions/gtk2/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/extensions/gtk2/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- extensions/gtk2/Makefile.am	8 May 2007 21:45:46 -0000	1.3
+++ extensions/gtk2/Makefile.am	1 Jul 2007 10:53:59 -0000	1.4
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,

Index: extensions/gtk2/gtkext.cpp
===================================================================
RCS file: /sources/gnash/gnash/extensions/gtk2/gtkext.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- extensions/gtk2/gtkext.cpp	28 May 2007 15:40:58 -0000	1.4
+++ extensions/gtk2/gtkext.cpp	1 Jul 2007 10:53:59 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/gtk2/gtkext.h
===================================================================
RCS file: /sources/gnash/gnash/extensions/gtk2/gtkext.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- extensions/gtk2/gtkext.h	28 May 2007 15:40:58 -0000	1.3
+++ extensions/gtk2/gtkext.h	1 Jul 2007 10:53:59 -0000	1.4
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/gtk2/hello.as
===================================================================
RCS file: /sources/gnash/gnash/extensions/gtk2/hello.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- extensions/gtk2/hello.as	15 Feb 2007 20:11:23 -0000	1.1
+++ extensions/gtk2/hello.as	1 Jul 2007 10:53:59 -0000	1.2
@@ -2,7 +2,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: hello.as,v 1.1 2007/02/15 20:11:23 rsavoye Exp $";
+rcsid="$Id: hello.as,v 1.2 2007/07/01 10:53:59 bjacques Exp $";
 
 #include "dejagnu.as"
 

Index: extensions/mysql/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/extensions/mysql/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- extensions/mysql/Makefile.am	8 May 2007 21:45:46 -0000	1.3
+++ extensions/mysql/Makefile.am	1 Jul 2007 10:53:59 -0000	1.4
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,

Index: extensions/mysql/mysql_db.cpp
===================================================================
RCS file: /sources/gnash/gnash/extensions/mysql/mysql_db.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- extensions/mysql/mysql_db.cpp	27 Apr 2007 01:08:51 -0000	1.9
+++ extensions/mysql/mysql_db.cpp	1 Jul 2007 10:53:59 -0000	1.10
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/mysql/mysql_db.h
===================================================================
RCS file: /sources/gnash/gnash/extensions/mysql/mysql_db.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- extensions/mysql/mysql_db.h	28 May 2007 15:40:59 -0000	1.5
+++ extensions/mysql/mysql_db.h	1 Jul 2007 10:53:59 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/mysql/mysql_table.cpp
===================================================================
RCS file: /sources/gnash/gnash/extensions/mysql/mysql_table.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- extensions/mysql/mysql_table.cpp	28 May 2007 15:40:59 -0000	1.6
+++ extensions/mysql/mysql_table.cpp	1 Jul 2007 10:53:59 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: extensions/mysql/test.as
===================================================================
RCS file: /sources/gnash/gnash/extensions/mysql/test.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- extensions/mysql/test.as	17 Dec 2006 20:24:58 -0000	1.2
+++ extensions/mysql/test.as	1 Jul 2007 10:53:59 -0000	1.3
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: test.as,v 1.2 2006/12/17 20:24:58 rsavoye Exp $";
+rcsid="$Id: test.as,v 1.3 2007/07/01 10:53:59 bjacques Exp $";
 
 var runtest = new DejaGnu();
 var db = new MySQL();

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- gui/Makefile.am	19 Jun 2007 11:54:21 -0000	1.80
+++ gui/Makefile.am	1 Jul 2007 10:53:59 -0000	1.81
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 
 # 
 
-# $Id: Makefile.am,v 1.80 2007/06/19 11:54:21 strk Exp $
+# $Id: Makefile.am,v 1.81 2007/07/01 10:53:59 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 localedir = $(datadir)/locale

Index: gui/NullGui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- gui/NullGui.cpp	19 Jun 2007 22:40:21 -0000	1.8
+++ gui/NullGui.cpp	1 Jul 2007 10:54:00 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/NullGui.h
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- gui/NullGui.h	19 Jun 2007 22:40:21 -0000	1.11
+++ gui/NullGui.h	1 Jul 2007 10:54:00 -0000	1.12
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- gui/Player.cpp	15 Jun 2007 18:46:59 -0000	1.56
+++ gui/Player.cpp	1 Jul 2007 10:54:00 -0000	1.57
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/Player.h
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- gui/Player.h	28 May 2007 15:40:59 -0000	1.10
+++ gui/Player.h	1 Jul 2007 10:54:00 -0000	1.11
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- gui/aqua.cpp	28 May 2007 15:40:59 -0000	1.9
+++ gui/aqua.cpp	1 Jul 2007 10:54:00 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.9 2007/05/28 15:40:59 ann Exp $ */
+/* $Id: aqua.cpp,v 1.10 2007/07/01 10:54:00 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: gui/aqua_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_glue.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- gui/aqua_glue.h	28 May 2007 15:40:59 -0000	1.4
+++ gui/aqua_glue.h	1 Jul 2007 10:54:00 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_glue.h,v 1.4 2007/05/28 15:40:59 ann Exp $ */
+/* $Id: aqua_glue.h,v 1.5 2007/07/01 10:54:00 bjacques Exp $ */
 
 #ifndef AQUA_GLUE_H
 #define AQUA_GLUE_H

Index: gui/aqua_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- gui/aqua_ogl_glue.cpp	28 May 2007 15:40:59 -0000	1.8
+++ gui/aqua_ogl_glue.cpp	1 Jul 2007 10:54:00 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.cpp,v 1.8 2007/05/28 15:40:59 ann Exp $ */
+/* $Id: aqua_ogl_glue.cpp,v 1.9 2007/07/01 10:54:00 bjacques Exp $ */
 
 
 #include "aqua_ogl_glue.h"

Index: gui/aqua_ogl_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- gui/aqua_ogl_glue.h	28 May 2007 15:40:59 -0000	1.4
+++ gui/aqua_ogl_glue.h	1 Jul 2007 10:54:00 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.h,v 1.4 2007/05/28 15:40:59 ann Exp $ */
+/* $Id: aqua_ogl_glue.h,v 1.5 2007/07/01 10:54:00 bjacques Exp $ */
 
 #ifndef AQUA_OGL_GLUE_H
 #define AQUA_OGL_GLUE_H

Index: gui/aquasup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aquasup.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- gui/aquasup.h	28 May 2007 15:40:59 -0000	1.6
+++ gui/aquasup.h	1 Jul 2007 10:54:00 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aquasup.h,v 1.6 2007/05/28 15:40:59 ann Exp $ */
+/* $Id: aquasup.h,v 1.7 2007/07/01 10:54:00 bjacques Exp $ */
 
 #ifndef __AQUASUP_H__
 #define __AQUASUP_H__

Index: gui/fb.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/fb.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- gui/fb.cpp	27 Jun 2007 09:55:20 -0000	1.34
+++ gui/fb.cpp	1 Jul 2007 10:54:00 -0000	1.35
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/fbsup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/fbsup.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- gui/fbsup.h	28 May 2007 15:40:59 -0000	1.19
+++ gui/fbsup.h	1 Jul 2007 10:54:00 -0000	1.20
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/fltk.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/fltk.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- gui/fltk.cpp	28 May 2007 15:40:59 -0000	1.14
+++ gui/fltk.cpp	1 Jul 2007 10:54:00 -0000	1.15
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/fltk_glue_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/fltk_glue_agg.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- gui/fltk_glue_agg.cpp	27 Jun 2007 09:55:20 -0000	1.7
+++ gui/fltk_glue_agg.cpp	1 Jul 2007 10:54:00 -0000	1.8
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/fltk_glue_agg.h
===================================================================
RCS file: /sources/gnash/gnash/gui/fltk_glue_agg.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- gui/fltk_glue_agg.h	28 May 2007 15:40:59 -0000	1.6
+++ gui/fltk_glue_agg.h	1 Jul 2007 10:54:01 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/fltk_glue_cairo.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/fltk_glue_cairo.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- gui/fltk_glue_cairo.cpp	28 May 2007 15:40:59 -0000	1.3
+++ gui/fltk_glue_cairo.cpp	1 Jul 2007 10:54:01 -0000	1.4
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/fltk_glue_cairo.h
===================================================================
RCS file: /sources/gnash/gnash/gui/fltk_glue_cairo.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- gui/fltk_glue_cairo.h	28 May 2007 15:40:59 -0000	1.3
+++ gui/fltk_glue_cairo.h	1 Jul 2007 10:54:01 -0000	1.4
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/fltksup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/fltksup.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- gui/fltksup.h	28 May 2007 15:40:59 -0000	1.6
+++ gui/fltksup.h	1 Jul 2007 10:54:01 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- gui/gnash.cpp	16 Jun 2007 19:02:59 -0000	1.74
+++ gui/gnash.cpp	1 Jul 2007 10:54:01 -0000	1.75
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/gtk.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk.cpp,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -b -r1.96 -r1.97
--- gui/gtk.cpp	27 Jun 2007 09:55:20 -0000	1.96
+++ gui/gtk.cpp	1 Jul 2007 10:54:02 -0000	1.97
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: gtk.cpp,v 1.96 2007/06/27 09:55:20 udog Exp $ */
+/* $Id: gtk.cpp,v 1.97 2007/07/01 10:54:02 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -880,7 +880,7 @@
 //                   "translator-credits", "translator-credits",
                    "logo", logo_pixbuf,
 		   "license", 
-		   "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 2 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA",
+		   "This program is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation; either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\nYou should have received a copy of the GNU General Public License\nalong with this program; if not, write to the Free Software\nFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA",
 		   "website", "http://www.gnu.org/software/gnash/",
                    NULL);
 }

Index: gui/gtk_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- gui/gtk_glue.h	28 May 2007 15:40:59 -0000	1.10
+++ gui/gtk_glue.h	1 Jul 2007 10:54:02 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/gtk_glue_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_agg.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- gui/gtk_glue_agg.cpp	29 Jun 2007 07:36:53 -0000	1.21
+++ gui/gtk_glue_agg.cpp	1 Jul 2007 10:54:02 -0000	1.22
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: gtk_glue_agg.cpp,v 1.21 2007/06/29 07:36:53 udog Exp $ */
+/* $Id: gtk_glue_agg.cpp,v 1.22 2007/07/01 10:54:02 bjacques Exp $ */
 
 
 /// \page gtk_shm_support GTK shared memory extension support

Index: gui/gtk_glue_agg.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_agg.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- gui/gtk_glue_agg.h	27 Jun 2007 14:22:35 -0000	1.9
+++ gui/gtk_glue_agg.h	1 Jul 2007 10:54:02 -0000	1.10
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/gtk_glue_cairo.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_cairo.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- gui/gtk_glue_cairo.cpp	28 May 2007 15:41:00 -0000	1.10
+++ gui/gtk_glue_cairo.cpp	1 Jul 2007 10:54:02 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/gtk_glue_cairo.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_cairo.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- gui/gtk_glue_cairo.h	28 May 2007 15:41:00 -0000	1.10
+++ gui/gtk_glue_cairo.h	1 Jul 2007 10:54:02 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/gtk_glue_gtkglext.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_gtkglext.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- gui/gtk_glue_gtkglext.cpp	14 May 2007 09:44:21 -0000	1.11
+++ gui/gtk_glue_gtkglext.cpp	1 Jul 2007 10:54:02 -0000	1.12
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: gtk_glue_gtkglext.cpp,v 1.11 2007/05/14 09:44:21 jgilmore Exp $ */
+/* $Id: gtk_glue_gtkglext.cpp,v 1.12 2007/07/01 10:54:02 bjacques Exp $ */
 
 #include "gtk_glue_gtkglext.h"
 #include "log.h"

Index: gui/gtk_glue_gtkglext.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_gtkglext.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- gui/gtk_glue_gtkglext.h	28 May 2007 15:41:00 -0000	1.10
+++ gui/gtk_glue_gtkglext.h	1 Jul 2007 10:54:02 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: gtk_glue_gtkglext.h,v 1.10 2007/05/28 15:41:00 ann Exp $ */
+/* $Id: gtk_glue_gtkglext.h,v 1.11 2007/07/01 10:54:02 bjacques Exp $ */
 
 #include "gtk_glue.h"
 

Index: gui/gtksup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtksup.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- gui/gtksup.h	1 Jun 2007 11:02:17 -0000	1.43
+++ gui/gtksup.h	1 Jul 2007 10:54:03 -0000	1.44
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/gui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- gui/gui.cpp	27 Jun 2007 09:55:20 -0000	1.80
+++ gui/gui.cpp	1 Jul 2007 10:54:03 -0000	1.81
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/gui.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- gui/gui.h	1 Jun 2007 09:13:37 -0000	1.52
+++ gui/gui.h	1 Jul 2007 10:54:03 -0000	1.53
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/kde.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/kde.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- gui/kde.cpp	23 Jun 2007 21:26:31 -0000	1.18
+++ gui/kde.cpp	1 Jul 2007 10:54:03 -0000	1.19
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/kde_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/kde_glue.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gui/kde_glue.h	9 Jun 2007 19:42:05 -0000	1.12
+++ gui/kde_glue.h	1 Jul 2007 10:54:03 -0000	1.13
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 
 
-/* $Id: kde_glue.h,v 1.12 2007/06/09 19:42:05 bjacques Exp $ */
+/* $Id: kde_glue.h,v 1.13 2007/07/01 10:54:03 bjacques Exp $ */
 
 #include "gnash.h"
 

Index: gui/kde_glue_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/kde_glue_agg.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- gui/kde_glue_agg.cpp	25 Jun 2007 09:55:41 -0000	1.3
+++ gui/kde_glue_agg.cpp	1 Jul 2007 10:54:03 -0000	1.4
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: kde_glue_agg.cpp,v 1.3 2007/06/25 09:55:41 nihilus Exp $ */
+/* $Id: kde_glue_agg.cpp,v 1.4 2007/07/01 10:54:03 bjacques Exp $ */
 
 #include "kde_glue_agg.h"
 #include "render_handler.h"

Index: gui/kde_glue_agg.h
===================================================================
RCS file: /sources/gnash/gnash/gui/kde_glue_agg.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- gui/kde_glue_agg.h	10 Jun 2007 14:46:44 -0000	1.2
+++ gui/kde_glue_agg.h	1 Jul 2007 10:54:03 -0000	1.3
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/kde_glue_opengl.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/kde_glue_opengl.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- gui/kde_glue_opengl.cpp	9 Jun 2007 19:42:05 -0000	1.11
+++ gui/kde_glue_opengl.cpp	1 Jul 2007 10:54:03 -0000	1.12
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: kde_glue_opengl.cpp,v 1.11 2007/06/09 19:42:05 bjacques Exp $ */
+/* $Id: kde_glue_opengl.cpp,v 1.12 2007/07/01 10:54:03 bjacques Exp $ */
 
 #include "kde_glue_opengl.h"
 #include "tu_opengl_includes.h"

Index: gui/kde_glue_opengl.h
===================================================================
RCS file: /sources/gnash/gnash/gui/kde_glue_opengl.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- gui/kde_glue_opengl.h	28 May 2007 15:41:00 -0000	1.5
+++ gui/kde_glue_opengl.h	1 Jul 2007 10:54:03 -0000	1.6
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/kdesup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/kdesup.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- gui/kdesup.h	10 Jun 2007 14:46:45 -0000	1.19
+++ gui/kdesup.h	1 Jul 2007 10:54:03 -0000	1.20
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: gui/riscos.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/riscos.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- gui/riscos.cpp	28 May 2007 15:41:00 -0000	1.5
+++ gui/riscos.cpp	1 Jul 2007 10:54:03 -0000	1.6
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: riscos.cpp,v 1.5 2007/05/28 15:41:00 ann Exp $ */
+/* $Id: riscos.cpp,v 1.6 2007/07/01 10:54:03 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: gui/riscos_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/riscos_glue.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- gui/riscos_glue.h	28 May 2007 15:41:00 -0000	1.4
+++ gui/riscos_glue.h	1 Jul 2007 10:54:03 -0000	1.5
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: riscos_glue.h,v 1.4 2007/05/28 15:41:00 ann Exp $ */
+/* $Id: riscos_glue.h,v 1.5 2007/07/01 10:54:03 bjacques Exp $ */
 
 #include "gnash.h"
 

Index: gui/riscos_glue_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/riscos_glue_agg.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- gui/riscos_glue_agg.cpp	28 May 2007 15:41:00 -0000	1.4
+++ gui/riscos_glue_agg.cpp	1 Jul 2007 10:54:04 -0000	1.5
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: riscos_glue_agg.cpp,v 1.4 2007/05/28 15:41:00 ann Exp $ */
+/* $Id: riscos_glue_agg.cpp,v 1.5 2007/07/01 10:54:04 bjacques Exp $ */
 
 #include <cstdio>
 #include <cerrno>

Index: gui/riscos_glue_agg.h
===================================================================
RCS file: /sources/gnash/gnash/gui/riscos_glue_agg.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- gui/riscos_glue_agg.h	28 May 2007 15:41:00 -0000	1.4
+++ gui/riscos_glue_agg.h	1 Jul 2007 10:54:04 -0000	1.5
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: riscos_glue_agg.h,v 1.4 2007/05/28 15:41:00 ann Exp $ */
+/* $Id: riscos_glue_agg.h,v 1.5 2007/07/01 10:54:04 bjacques Exp $ */
 
 #include "riscos_glue.h"
 

Index: gui/riscossup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/riscossup.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- gui/riscossup.h	28 May 2007 15:41:00 -0000	1.5
+++ gui/riscossup.h	1 Jul 2007 10:54:04 -0000	1.6
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: riscossup.h,v 1.5 2007/05/28 15:41:00 ann Exp $ */
+/* $Id: riscossup.h,v 1.6 2007/07/01 10:54:04 bjacques Exp $ */
 
 #ifndef __ROSUP_H__
 #define __ROSUP_H__

Index: gui/sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- gui/sdl.cpp	28 May 2007 15:41:00 -0000	1.58
+++ gui/sdl.cpp	1 Jul 2007 10:54:04 -0000	1.59
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: sdl.cpp,v 1.58 2007/05/28 15:41:00 ann Exp $ */
+/* $Id: sdl.cpp,v 1.59 2007/07/01 10:54:04 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: gui/sdl_agg_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl_agg_glue.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gui/sdl_agg_glue.cpp	11 Jun 2007 03:24:02 -0000	1.12
+++ gui/sdl_agg_glue.cpp	1 Jul 2007 10:54:04 -0000	1.13
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/sdl_agg_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl_agg_glue.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- gui/sdl_agg_glue.h	28 May 2007 15:41:00 -0000	1.6
+++ gui/sdl_agg_glue.h	1 Jul 2007 10:54:04 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/sdl_cairo_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl_cairo_glue.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- gui/sdl_cairo_glue.cpp	28 May 2007 15:41:00 -0000	1.5
+++ gui/sdl_cairo_glue.cpp	1 Jul 2007 10:54:04 -0000	1.6
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/sdl_cairo_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl_cairo_glue.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- gui/sdl_cairo_glue.h	28 May 2007 15:41:00 -0000	1.5
+++ gui/sdl_cairo_glue.h	1 Jul 2007 10:54:04 -0000	1.6
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/sdl_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl_glue.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- gui/sdl_glue.h	28 May 2007 15:41:00 -0000	1.5
+++ gui/sdl_glue.h	1 Jul 2007 10:54:04 -0000	1.6
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/sdl_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl_ogl_glue.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- gui/sdl_ogl_glue.cpp	28 May 2007 15:41:00 -0000	1.8
+++ gui/sdl_ogl_glue.cpp	1 Jul 2007 10:54:04 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/sdl_ogl_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl_ogl_glue.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- gui/sdl_ogl_glue.h	28 May 2007 15:41:00 -0000	1.6
+++ gui/sdl_ogl_glue.h	1 Jul 2007 10:54:05 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: gui/sdlsup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/sdlsup.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- gui/sdlsup.h	28 May 2007 15:41:00 -0000	1.21
+++ gui/sdlsup.h	1 Jul 2007 10:54:05 -0000	1.22
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: sdlsup.h,v 1.21 2007/05/28 15:41:00 ann Exp $ */
+/* $Id: sdlsup.h,v 1.22 2007/07/01 10:54:05 bjacques Exp $ */
 
 #ifndef __SDLSUP_H__
 #define __SDLSUP_H__

Index: libamf/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/libamf/Makefile.am,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- libamf/Makefile.am	14 May 2007 13:36:08 -0000	1.25
+++ libamf/Makefile.am	1 Jul 2007 10:54:05 -0000	1.26
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.25 2007/05/14 13:36:08 rsavoye Exp $
+# $Id: Makefile.am,v 1.26 2007/07/01 10:54:05 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 

Index: libamf/amf.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/amf.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- libamf/amf.cpp	14 May 2007 13:36:08 -0000	1.38
+++ libamf/amf.cpp	1 Jul 2007 10:54:05 -0000	1.39
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: amf.cpp,v 1.38 2007/05/14 13:36:08 rsavoye Exp $ */
+/* $Id: amf.cpp,v 1.39 2007/07/01 10:54:05 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: libamf/amf.h
===================================================================
RCS file: /sources/gnash/gnash/libamf/amf.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- libamf/amf.h	28 May 2007 15:41:01 -0000	1.20
+++ libamf/amf.h	1 Jul 2007 10:54:05 -0000	1.21
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libamf/amftest.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/amftest.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- libamf/amftest.cpp	28 May 2007 15:41:01 -0000	1.11
+++ libamf/amftest.cpp	1 Jul 2007 10:54:05 -0000	1.12
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libamf/amfutf8.h
===================================================================
RCS file: /sources/gnash/gnash/libamf/amfutf8.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- libamf/amfutf8.h	28 May 2007 15:41:01 -0000	1.6
+++ libamf/amfutf8.h	1 Jul 2007 10:54:05 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libamf/protocol.h
===================================================================
RCS file: /sources/gnash/gnash/libamf/protocol.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- libamf/protocol.h	28 May 2007 15:41:01 -0000	1.4
+++ libamf/protocol.h	1 Jul 2007 10:54:05 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libamf/rtmp.cpp
===================================================================
RCS file: /sources/gnash/gnash/libamf/rtmp.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- libamf/rtmp.cpp	14 May 2007 09:44:21 -0000	1.16
+++ libamf/rtmp.cpp	1 Jul 2007 10:54:05 -0000	1.17
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: rtmp.cpp,v 1.16 2007/05/14 09:44:21 jgilmore Exp $ */
+/* $Id: rtmp.cpp,v 1.17 2007/07/01 10:54:05 bjacques Exp $ */
 
 // #ifdef HAVE_CONFIG_H
 // #include "config.h"

Index: libamf/rtmp.h
===================================================================
RCS file: /sources/gnash/gnash/libamf/rtmp.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- libamf/rtmp.h	28 May 2007 15:41:01 -0000	1.8
+++ libamf/rtmp.h	1 Jul 2007 10:54:06 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/FLVParser.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/FLVParser.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- libbase/FLVParser.cpp	4 Jun 2007 09:15:41 -0000	1.21
+++ libbase/FLVParser.cpp	1 Jul 2007 10:54:06 -0000	1.22
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-// $Id: FLVParser.cpp,v 1.21 2007/06/04 09:15:41 strk Exp $
+// $Id: FLVParser.cpp,v 1.22 2007/07/01 10:54:06 bjacques Exp $
 
 #include "FLVParser.h"
 #include "amf.h"

Index: libbase/FLVParser.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/FLVParser.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- libbase/FLVParser.h	4 Jun 2007 12:02:15 -0000	1.15
+++ libbase/FLVParser.h	1 Jul 2007 10:54:06 -0000	1.16
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-// $Id: FLVParser.h,v 1.15 2007/06/04 12:02:15 strk Exp $
+// $Id: FLVParser.h,v 1.16 2007/07/01 10:54:06 bjacques Exp $
 
 // Information about the FLV format can be found at http://osflash.org/flv
 

Index: libbase/GC.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- libbase/GC.cpp	20 Jun 2007 14:27:30 -0000	1.2
+++ libbase/GC.cpp	1 Jul 2007 10:54:06 -0000	1.3
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: GC.cpp,v 1.2 2007/06/20 14:27:30 strk Exp $ */
+/* $Id: GC.cpp,v 1.3 2007/07/01 10:54:06 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: libbase/GC.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- libbase/GC.h	1 Jul 2007 06:00:24 -0000	1.10
+++ libbase/GC.h	1 Jul 2007 10:54:06 -0000	1.11
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/GnashException.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GnashException.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- libbase/GnashException.h	28 May 2007 15:41:01 -0000	1.9
+++ libbase/GnashException.h	1 Jul 2007 10:54:06 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/LoadThread.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/LoadThread.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- libbase/LoadThread.cpp	16 Jun 2007 12:47:53 -0000	1.14
+++ libbase/LoadThread.cpp	1 Jul 2007 10:54:06 -0000	1.15
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-// $Id: LoadThread.cpp,v 1.14 2007/06/16 12:47:53 strk Exp $
+// $Id: LoadThread.cpp,v 1.15 2007/07/01 10:54:06 bjacques Exp $
 
 #include "LoadThread.h"
 

Index: libbase/LoadThread.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/LoadThread.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- libbase/LoadThread.h	16 Jun 2007 12:47:53 -0000	1.11
+++ libbase/LoadThread.h	1 Jul 2007 10:54:06 -0000	1.12
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: libbase/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/libbase/Makefile.am,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- libbase/Makefile.am	23 Jun 2007 12:34:32 -0000	1.75
+++ libbase/Makefile.am	1 Jul 2007 10:54:07 -0000	1.76
@@ -3,7 +3,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,

Index: libbase/URL.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/URL.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- libbase/URL.cpp	28 May 2007 15:41:01 -0000	1.38
+++ libbase/URL.cpp	1 Jul 2007 10:54:07 -0000	1.39
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/URL.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/URL.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- libbase/URL.h	28 May 2007 15:41:01 -0000	1.16
+++ libbase/URL.h	1 Jul 2007 10:54:07 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/container.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/container.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- libbase/container.h	23 Jun 2007 12:34:32 -0000	1.58
+++ libbase/container.h	1 Jul 2007 10:54:07 -0000	1.59
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: container.h,v 1.58 2007/06/23 12:34:32 bjacques Exp $ */
+/* $Id: container.h,v 1.59 2007/07/01 10:54:07 bjacques Exp $ */
 
 #ifndef __CONTAINER_H__
 #define __CONTAINER_H__

Index: libbase/curl_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/curl_adapter.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- libbase/curl_adapter.cpp	24 May 2007 22:27:09 -0000	1.36
+++ libbase/curl_adapter.cpp	1 Jul 2007 10:54:07 -0000	1.37
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: curl_adapter.cpp,v 1.36 2007/05/24 22:27:09 tgc Exp $ */
+/* $Id: curl_adapter.cpp,v 1.37 2007/07/01 10:54:07 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: libbase/curl_adapter.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/curl_adapter.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- libbase/curl_adapter.h	28 May 2007 15:41:01 -0000	1.7
+++ libbase/curl_adapter.h	1 Jul 2007 10:54:07 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: curl_adapter.h,v 1.7 2007/05/28 15:41:01 ann Exp $ */
+/* $Id: curl_adapter.h,v 1.8 2007/07/01 10:54:07 bjacques Exp $ */
 
 #ifndef CURL_ADAPTER_H
 #define CURL_ADAPTER_H

Index: libbase/embedVideoDecoder.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/embedVideoDecoder.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- libbase/embedVideoDecoder.h	6 Jun 2007 16:28:29 -0000	1.8
+++ libbase/embedVideoDecoder.h	1 Jul 2007 10:54:07 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-//  $Id: embedVideoDecoder.h,v 1.8 2007/06/06 16:28:29 strk Exp $
+//  $Id: embedVideoDecoder.h,v 1.9 2007/07/01 10:54:07 bjacques Exp $
 
 #ifndef __EMBEDVIDEODECODER_H__
 #define __EMBEDVIDEODECODER_H__

Index: libbase/embedVideoDecoderFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/embedVideoDecoderFfmpeg.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- libbase/embedVideoDecoderFfmpeg.cpp	9 Jun 2007 12:43:38 -0000	1.19
+++ libbase/embedVideoDecoderFfmpeg.cpp	1 Jul 2007 10:54:08 -0000	1.20
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/embedVideoDecoderFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/embedVideoDecoderFfmpeg.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- libbase/embedVideoDecoderFfmpeg.h	8 Jun 2007 21:58:06 -0000	1.6
+++ libbase/embedVideoDecoderFfmpeg.h	1 Jul 2007 10:54:08 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: embedVideoDecoderFfmpeg.h,v 1.6 2007/06/08 21:58:06 tgc Exp $
+// $Id: embedVideoDecoderFfmpeg.h,v 1.7 2007/07/01 10:54:08 bjacques Exp $
 
 #ifndef __EMBEDVIDEODECODERFFMPEG_H__
 #define __EMBEDVIDEODECODERFFMPEG_H__

Index: libbase/embedVideoDecoderGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/embedVideoDecoderGst.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- libbase/embedVideoDecoderGst.cpp	8 Jun 2007 21:10:43 -0000	1.7
+++ libbase/embedVideoDecoderGst.cpp	1 Jul 2007 10:54:08 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: embedVideoDecoderGst.cpp,v 1.7 2007/06/08 21:10:43 strk Exp $
+// $Id: embedVideoDecoderGst.cpp,v 1.8 2007/07/01 10:54:08 bjacques Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: libbase/embedVideoDecoderGst.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/embedVideoDecoderGst.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- libbase/embedVideoDecoderGst.h	8 Jun 2007 21:10:43 -0000	1.4
+++ libbase/embedVideoDecoderGst.h	1 Jul 2007 10:54:08 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: embedVideoDecoderGst.h,v 1.4 2007/06/08 21:10:43 strk Exp $
+// $Id: embedVideoDecoderGst.h,v 1.5 2007/07/01 10:54:08 bjacques Exp $
 
 #ifndef __EMBEDVIDEODECODERGST_H__
 #define __EMBEDVIDEODECODERGST_H__

Index: libbase/extension.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/extension.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- libbase/extension.cpp	28 May 2007 15:41:02 -0000	1.11
+++ libbase/extension.cpp	1 Jul 2007 10:54:08 -0000	1.12
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: extension.cpp,v 1.11 2007/05/28 15:41:02 ann Exp $ */
+/* $Id: extension.cpp,v 1.12 2007/07/01 10:54:08 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: libbase/extension.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/extension.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- libbase/extension.h	28 May 2007 15:41:02 -0000	1.5
+++ libbase/extension.h	1 Jul 2007 10:54:08 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/gstgnashsrc.c
===================================================================
RCS file: /sources/gnash/gnash/libbase/gstgnashsrc.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- libbase/gstgnashsrc.c	18 Jan 2007 11:53:37 -0000	1.4
+++ libbase/gstgnashsrc.c	1 Jul 2007 10:54:08 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Based on the filesrc and fdsrc element in Gstreamer-core.
 //
 
-/* $Id: gstgnashsrc.c,v 1.4 2007/01/18 11:53:37 tgc Exp $ */
+/* $Id: gstgnashsrc.c,v 1.5 2007/07/01 10:54:08 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: libbase/gstgnashsrc.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/gstgnashsrc.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- libbase/gstgnashsrc.h	28 May 2007 15:41:02 -0000	1.7
+++ libbase/gstgnashsrc.h	1 Jul 2007 10:54:08 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // Based on the filesrc and fdsrc element in Gstreamer-core
 //
 
-/* $Id: gstgnashsrc.h,v 1.7 2007/05/28 15:41:02 ann Exp $ */
+/* $Id: gstgnashsrc.h,v 1.8 2007/07/01 10:54:08 bjacques Exp $ */
 
 #ifndef __GST_GNASH_SRC_H__
 #define __GST_GNASH_SRC_H__

Index: libbase/hash_wrapper.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/hash_wrapper.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- libbase/hash_wrapper.h	28 May 2007 15:41:02 -0000	1.6
+++ libbase/hash_wrapper.h	1 Jul 2007 10:54:09 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: hash_wrapper.h,v 1.6 2007/05/28 15:41:02 ann Exp $ */
+/* $Id: hash_wrapper.h,v 1.7 2007/07/01 10:54:09 bjacques Exp $ */
 
 #ifndef HASH_WRAPPER_H
 #define HASH_WRAPPER_H

Index: libbase/log.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/log.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- libbase/log.cpp	2 Jun 2007 09:54:20 -0000	1.53
+++ libbase/log.cpp	1 Jul 2007 10:54:09 -0000	1.54
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: log.cpp,v 1.53 2007/06/02 09:54:20 tgc Exp $ */
+/* $Id: log.cpp,v 1.54 2007/07/01 10:54:09 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: libbase/log.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/log.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- libbase/log.h	31 May 2007 12:34:45 -0000	1.58
+++ libbase/log.h	1 Jul 2007 10:54:09 -0000	1.59
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/network.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/network.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- libbase/network.cpp	14 May 2007 09:44:21 -0000	1.27
+++ libbase/network.cpp	1 Jul 2007 10:54:09 -0000	1.28
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: libbase/network.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/network.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- libbase/network.h	28 May 2007 15:41:02 -0000	1.17
+++ libbase/network.h	1 Jul 2007 10:54:09 -0000	1.18
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/noseek_fd_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/noseek_fd_adapter.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- libbase/noseek_fd_adapter.cpp	16 Jun 2007 12:47:54 -0000	1.20
+++ libbase/noseek_fd_adapter.cpp	1 Jul 2007 10:54:09 -0000	1.21
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/noseek_fd_adapter.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/noseek_fd_adapter.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- libbase/noseek_fd_adapter.h	28 May 2007 15:41:02 -0000	1.5
+++ libbase/noseek_fd_adapter.h	1 Jul 2007 10:54:10 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: noseek_fd_adapter.h,v 1.5 2007/05/28 15:41:02 ann Exp $ */
+/* $Id: noseek_fd_adapter.h,v 1.6 2007/07/01 10:54:10 bjacques Exp $ */
 
 #ifndef STDIN_ADAPTER_H
 #define STDIN_ADAPTER_H

Index: libbase/rc.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/rc.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- libbase/rc.cpp	1 Jun 2007 15:01:55 -0000	1.25
+++ libbase/rc.cpp	1 Jul 2007 10:54:10 -0000	1.26
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/rc.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/rc.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- libbase/rc.h	1 Jun 2007 15:01:55 -0000	1.19
+++ libbase/rc.h	1 Jul 2007 10:54:10 -0000	1.20
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/ref_counted.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/ref_counted.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- libbase/ref_counted.h	30 Jun 2007 16:52:53 -0000	1.9
+++ libbase/ref_counted.h	1 Jul 2007 10:54:10 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: ref_counted.h,v 1.9 2007/06/30 16:52:53 strk Exp $ */
+/* $Id: ref_counted.h,v 1.10 2007/07/01 10:54:10 bjacques Exp $ */
 
 #ifndef GNASH_REF_COUNTED_H
 #define GNASH_REF_COUNTED_H

Index: libbase/sharedlib.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/sharedlib.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- libbase/sharedlib.cpp	14 May 2007 09:44:22 -0000	1.16
+++ libbase/sharedlib.cpp	1 Jul 2007 10:54:10 -0000	1.17
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: sharedlib.cpp,v 1.16 2007/05/14 09:44:22 jgilmore Exp $ */
+/* $Id: sharedlib.cpp,v 1.17 2007/07/01 10:54:10 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: libbase/sharedlib.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/sharedlib.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- libbase/sharedlib.h	28 May 2007 15:41:02 -0000	1.6
+++ libbase/sharedlib.h	1 Jul 2007 10:54:10 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libbase/smart_ptr.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/smart_ptr.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- libbase/smart_ptr.h	30 Jun 2007 16:52:53 -0000	1.21
+++ libbase/smart_ptr.h	1 Jul 2007 10:54:10 -0000	1.22
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -24,7 +24,7 @@
 // although the nice thing about templates is that no particular
 // ref-counted class is mandated.
 
-/* $Id: smart_ptr.h,v 1.21 2007/06/30 16:52:53 strk Exp $ */
+/* $Id: smart_ptr.h,v 1.22 2007/07/01 10:54:10 bjacques Exp $ */
 
 #ifndef SMART_PTR_H
 #define SMART_PTR_H

Index: libbase/tu_types.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/tu_types.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- libbase/tu_types.h	28 May 2007 15:41:02 -0000	1.38
+++ libbase/tu_types.h	1 Jul 2007 10:54:10 -0000	1.39
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: tu_types.h,v 1.38 2007/05/28 15:41:02 ann Exp $ */
+/* $Id: tu_types.h,v 1.39 2007/07/01 10:54:10 bjacques Exp $ */
 
 #ifndef TU_TYPES_H
 #define TU_TYPES_H

Index: libbase/utility.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- libbase/utility.cpp	28 May 2007 15:41:02 -0000	1.14
+++ libbase/utility.cpp	1 Jul 2007 10:54:10 -0000	1.15
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: libgeometry/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/libgeometry/Makefile.am,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- libgeometry/Makefile.am	22 Jun 2007 13:51:17 -0000	1.29
+++ libgeometry/Makefile.am	1 Jul 2007 10:54:11 -0000	1.30
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 # 
 #
 
-# $Id: Makefile.am,v 1.29 2007/06/22 13:51:17 nihilus Exp $
+# $Id: Makefile.am,v 1.30 2007/07/01 10:54:11 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 

Index: libgeometry/Range2d.h
===================================================================
RCS file: /sources/gnash/gnash/libgeometry/Range2d.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- libgeometry/Range2d.h	28 May 2007 15:41:02 -0000	1.16
+++ libgeometry/Range2d.h	1 Jul 2007 10:54:11 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 //
 
 
-/* $Id: Range2d.h,v 1.16 2007/05/28 15:41:02 ann Exp $ */
+/* $Id: Range2d.h,v 1.17 2007/07/01 10:54:11 bjacques Exp $ */
 
 #ifndef GNASH_RANGE2D_H
 #define GNASH_RANGE2D_H

Index: libgeometry/snappingrange.h
===================================================================
RCS file: /sources/gnash/gnash/libgeometry/snappingrange.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- libgeometry/snappingrange.h	14 Jun 2007 15:55:19 -0000	1.23
+++ libgeometry/snappingrange.h	1 Jul 2007 10:54:11 -0000	1.24
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: snappingrange.h,v 1.23 2007/06/14 15:55:19 strk Exp $
+// $Id: snappingrange.h,v 1.24 2007/07/01 10:54:11 bjacques Exp $
 
 #ifndef GNASH_SNAPPINGRANGE_H
 #define GNASH_SNAPPINGRANGE_H

Index: macros/agg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/agg.m4,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- macros/agg.m4	13 Jun 2007 17:44:01 -0000	1.28
+++ macros/agg.m4	1 Jul 2007 10:54:11 -0000	1.29
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: agg.m4,v 1.28 2007/06/13 17:44:01 strk Exp $
+dnl $Id: agg.m4,v 1.29 2007/07/01 10:54:11 bjacques Exp $
 
 dnl agg_rasterizer_compound_aa.h is a new file included in AGG 2.4,
 dnl but not in AGG 2.3. As we need AGG 2.4, we use this as 

Index: macros/archflag.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/archflag.m4,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- macros/archflag.m4	27 May 2007 23:41:48 -0000	1.4
+++ macros/archflag.m4	1 Jul 2007 10:54:11 -0000	1.5
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,

Index: macros/boost.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/boost.m4,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- macros/boost.m4	17 May 2007 18:28:00 -0000	1.46
+++ macros/boost.m4	1 Jul 2007 10:54:11 -0000	1.47
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: boost.m4,v 1.46 2007/05/17 18:28:00 strk Exp $
+dnl $Id: boost.m4,v 1.47 2007/07/01 10:54:11 bjacques Exp $
 
 dnl Boost modules are:
 dnl date-time, filesystem. graph. iostreams, program options, python,

Index: macros/curl.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/curl.m4,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- macros/curl.m4	11 May 2007 14:20:00 -0000	1.16
+++ macros/curl.m4	1 Jul 2007 10:54:11 -0000	1.17
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: curl.m4,v 1.16 2007/05/11 14:20:00 rsavoye Exp $
+dnl $Id: curl.m4,v 1.17 2007/07/01 10:54:11 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_CURL],
 [

Index: macros/docbook.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/docbook.m4,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- macros/docbook.m4	7 Jun 2007 16:37:27 -0000	1.22
+++ macros/docbook.m4	1 Jul 2007 10:54:11 -0000	1.23
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,

Index: macros/ffmpeg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/ffmpeg.m4,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- macros/ffmpeg.m4	16 Jun 2007 19:03:00 -0000	1.45
+++ macros/ffmpeg.m4	1 Jul 2007 10:54:11 -0000	1.46
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: ffmpeg.m4,v 1.45 2007/06/16 19:03:00 rsavoye Exp $
+dnl $Id: ffmpeg.m4,v 1.46 2007/07/01 10:54:11 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_FFMPEG],
 [

Index: macros/firefox.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/firefox.m4,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- macros/firefox.m4	8 Apr 2007 23:06:17 -0000	1.22
+++ macros/firefox.m4	1 Jul 2007 10:54:12 -0000	1.23
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,

Index: macros/glib.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/glib.m4,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- macros/glib.m4	8 Apr 2007 23:06:17 -0000	1.26
+++ macros/glib.m4	1 Jul 2007 10:54:12 -0000	1.27
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: glib.m4,v 1.26 2007/04/08 23:06:17 rsavoye Exp $
+dnl $Id: glib.m4,v 1.27 2007/07/01 10:54:12 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_GLIB],
 [

Index: macros/gnashpkgtool.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/gnashpkgtool.m4,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- macros/gnashpkgtool.m4	23 May 2007 13:59:32 -0000	1.41
+++ macros/gnashpkgtool.m4	1 Jul 2007 10:54:12 -0000	1.42
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: gnashpkgtool.m4,v 1.41 2007/05/23 13:59:32 bjacques Exp $
+dnl $Id: gnashpkgtool.m4,v 1.42 2007/07/01 10:54:12 bjacques Exp $
 
 dnl Generic macros for finding and setting include-paths and library-path
 dnl for packages. Implements GNASH_PKG_INCLUDES() and GNASH_PKG_LIBS().

Index: macros/gtk2.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/gtk2.m4,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- macros/gtk2.m4	8 Apr 2007 23:06:17 -0000	1.40
+++ macros/gtk2.m4	1 Jul 2007 10:54:12 -0000	1.41
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
-dnl $Id: gtk2.m4,v 1.40 2007/04/08 23:06:17 rsavoye Exp $
+dnl $Id: gtk2.m4,v 1.41 2007/07/01 10:54:12 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_GTK2],
 [

Index: macros/gtkglext.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/gtkglext.m4,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- macros/gtkglext.m4	8 Apr 2007 23:06:17 -0000	1.34
+++ macros/gtkglext.m4	1 Jul 2007 10:54:12 -0000	1.35
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl: $Id: gtkglext.m4,v 1.34 2007/04/08 23:06:17 rsavoye Exp $
+dnl: $Id: gtkglext.m4,v 1.35 2007/07/01 10:54:12 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_GLEXT],
 [

Index: macros/jpeg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/jpeg.m4,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- macros/jpeg.m4	8 Apr 2007 23:06:17 -0000	1.23
+++ macros/jpeg.m4	1 Jul 2007 10:54:12 -0000	1.24
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
-dnl $Id: jpeg.m4,v 1.23 2007/04/08 23:06:17 rsavoye Exp $
+dnl $Id: jpeg.m4,v 1.24 2007/07/01 10:54:12 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_JPEG],
 [

Index: macros/kde.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/kde.m4,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- macros/kde.m4	22 Jun 2007 14:31:13 -0000	1.33
+++ macros/kde.m4	1 Jul 2007 10:54:12 -0000	1.34
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: kde.m4,v 1.33 2007/06/22 14:31:13 bjacques Exp $
+dnl $Id: kde.m4,v 1.34 2007/07/01 10:54:12 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_KDE],
 [

Index: macros/libXML.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/libXML.m4,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- macros/libXML.m4	8 Apr 2007 23:06:17 -0000	1.30
+++ macros/libXML.m4	1 Jul 2007 10:54:12 -0000	1.31
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: libXML.m4,v 1.30 2007/04/08 23:06:17 rsavoye Exp $
+dnl $Id: libXML.m4,v 1.31 2007/07/01 10:54:12 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_LIBXML], [
   has_xml=no

Index: macros/libexe.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/libexe.m4,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- macros/libexe.m4	9 Jan 2007 00:43:43 -0000	1.7
+++ macros/libexe.m4	1 Jul 2007 10:54:13 -0000	1.8
@@ -4,7 +4,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,

Index: macros/libltdl.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/libltdl.m4,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- macros/libltdl.m4	16 May 2007 15:58:21 -0000	1.2
+++ macros/libltdl.m4	1 Jul 2007 10:54:13 -0000	1.3
@@ -4229,7 +4229,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but

Index: macros/ming.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/ming.m4,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- macros/ming.m4	9 May 2007 08:17:13 -0000	1.15
+++ macros/ming.m4	1 Jul 2007 10:54:13 -0000	1.16
@@ -3,7 +3,7 @@
 dnl
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl
 dnl  This program is distributed in the hope that it will be useful,

Index: macros/mtasc.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/mtasc.m4,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- macros/mtasc.m4	14 May 2007 14:18:27 -0000	1.2
+++ macros/mtasc.m4	1 Jul 2007 10:54:13 -0000	1.3
@@ -3,7 +3,7 @@
 dnl
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl
 dnl  This program is distributed in the hope that it will be useful,

Index: macros/mysql.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/mysql.m4,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- macros/mysql.m4	28 Apr 2007 00:04:26 -0000	1.5
+++ macros/mysql.m4	1 Jul 2007 10:54:13 -0000	1.6
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: mysql.m4,v 1.5 2007/04/28 00:04:26 rsavoye Exp $
+dnl $Id: mysql.m4,v 1.6 2007/07/01 10:54:13 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_MYSQL],
 [

Index: macros/opengl.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/opengl.m4,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- macros/opengl.m4	2 Jun 2007 09:54:20 -0000	1.33
+++ macros/opengl.m4	1 Jul 2007 10:54:13 -0000	1.34
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: opengl.m4,v 1.33 2007/06/02 09:54:20 tgc Exp $
+dnl $Id: opengl.m4,v 1.34 2007/07/01 10:54:13 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_OPENGL],
 [

Index: macros/pango.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/pango.m4,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- macros/pango.m4	8 Apr 2007 23:06:17 -0000	1.24
+++ macros/pango.m4	1 Jul 2007 10:54:13 -0000	1.25
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: pango.m4,v 1.24 2007/04/08 23:06:17 rsavoye Exp $
+dnl $Id: pango.m4,v 1.25 2007/07/01 10:54:13 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_PANGO],
 [

Index: macros/pkg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/pkg.m4,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- macros/pkg.m4	11 Feb 2007 06:21:30 -0000	1.7
+++ macros/pkg.m4	1 Jul 2007 10:54:13 -0000	1.8
@@ -4,7 +4,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful, but
@@ -21,7 +21,7 @@
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.
 
-# $Id: pkg.m4,v 1.7 2007/02/11 06:21:30 rsavoye Exp $
+# $Id: pkg.m4,v 1.8 2007/07/01 10:54:13 bjacques Exp $
 
 # PKG_PROG_PKG_CONFIG([MIN-VERSION])
 # ----------------------------------

Index: macros/pthreads.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/pthreads.m4,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- macros/pthreads.m4	28 Apr 2007 00:04:26 -0000	1.29
+++ macros/pthreads.m4	1 Jul 2007 10:54:13 -0000	1.30
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 dnl Copyright (C) 2006 Steven G. Johnson <stevenj@alum.mit.edu>.
-dnl $Id: pthreads.m4,v 1.29 2007/04/28 00:04:26 rsavoye Exp $
+dnl $Id: pthreads.m4,v 1.30 2007/07/01 10:54:13 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_PTHREADS],
 [

Index: macros/sdl.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/sdl.m4,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- macros/sdl.m4	11 May 2007 14:20:00 -0000	1.40
+++ macros/sdl.m4	1 Jul 2007 10:54:14 -0000	1.41
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: sdl.m4,v 1.40 2007/05/11 14:20:00 rsavoye Exp $
+dnl $Id: sdl.m4,v 1.41 2007/07/01 10:54:14 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_SDL], [
   has_sdl=no

Index: macros/x11.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/x11.m4,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- macros/x11.m4	24 May 2007 21:35:02 -0000	1.11
+++ macros/x11.m4	1 Jul 2007 10:54:14 -0000	1.12
@@ -3,7 +3,7 @@
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
-dnl  the Free Software Foundation; either version 2 of the License, or
+dnl  the Free Software Foundation; either version 3 of the License, or
 dnl  (at your option) any later version.
 dnl  
 dnl  This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
-dnl $Id: x11.m4,v 1.11 2007/05/24 21:35:02 bjacques Exp $
+dnl $Id: x11.m4,v 1.12 2007/07/01 10:54:14 bjacques Exp $
 
 AC_DEFUN([GNASH_PATH_X11],
 [

Index: packaging/debian/copyright
===================================================================
RCS file: /sources/gnash/gnash/packaging/debian/copyright,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- packaging/debian/copyright	8 Apr 2006 04:09:44 -0000	1.1
+++ packaging/debian/copyright	1 Jul 2007 10:54:14 -0000	1.2
@@ -18,7 +18,7 @@
 
    This package is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This package is distributed in the hope that it will be useful,

Index: plugin/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/plugin/Makefile.am,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- plugin/Makefile.am	17 Jun 2007 08:34:42 -0000	1.59
+++ plugin/Makefile.am	1 Jul 2007 10:54:14 -0000	1.60
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.59 2007/06/17 08:34:42 ann Exp $
+# $Id: Makefile.am,v 1.60 2007/07/01 10:54:14 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 

Index: plugin/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- plugin/plugin.cpp	28 May 2007 15:41:02 -0000	1.78
+++ plugin/plugin.cpp	1 Jul 2007 10:54:14 -0000	1.79
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: plugin.cpp,v 1.78 2007/05/28 15:41:02 ann Exp $ */
+/* $Id: plugin.cpp,v 1.79 2007/07/01 10:54:14 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: plugin/plugin.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- plugin/plugin.h	28 May 2007 15:41:02 -0000	1.32
+++ plugin/plugin.h	1 Jul 2007 10:54:14 -0000	1.33
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: plugin.h,v 1.32 2007/05/28 15:41:02 ann Exp $ */
+/* $Id: plugin.h,v 1.33 2007/07/01 10:54:14 bjacques Exp $ */
 
 #ifndef __PLUGIN_H__
 #define __PLUGIN_H__

Index: plugin/klash/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/Makefile.am,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- plugin/klash/Makefile.am	14 May 2007 15:24:04 -0000	1.29
+++ plugin/klash/Makefile.am	1 Jul 2007 10:54:15 -0000	1.30
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.29 2007/05/14 15:24:04 rsavoye Exp $
+# $Id: Makefile.am,v 1.30 2007/07/01 10:54:15 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 

Index: plugin/klash/klash_part.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/klash_part.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- plugin/klash/klash_part.cpp	28 May 2007 15:41:03 -0000	1.13
+++ plugin/klash/klash_part.cpp	1 Jul 2007 10:54:15 -0000	1.14
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/klash/klash_part.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/klash_part.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- plugin/klash/klash_part.h	28 May 2007 15:41:03 -0000	1.6
+++ plugin/klash/klash_part.h	1 Jul 2007 10:54:15 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/Makefile.am,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- plugin/mozilla-sdk/Makefile.am	24 Nov 2006 22:33:00 -0000	1.14
+++ plugin/mozilla-sdk/Makefile.am	1 Jul 2007 10:54:15 -0000	1.15
@@ -4,7 +4,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/np_entry.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/np_entry.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- plugin/mozilla-sdk/np_entry.cpp	28 May 2007 15:41:03 -0000	1.7
+++ plugin/mozilla-sdk/np_entry.cpp	1 Jul 2007 10:54:15 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/npn_gate.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/npn_gate.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- plugin/mozilla-sdk/npn_gate.cpp	28 May 2007 15:41:03 -0000	1.9
+++ plugin/mozilla-sdk/npn_gate.cpp	1 Jul 2007 10:54:15 -0000	1.10
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/npp_gate.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/npp_gate.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- plugin/mozilla-sdk/npp_gate.cpp	28 May 2007 15:41:03 -0000	1.8
+++ plugin/mozilla-sdk/npp_gate.cpp	1 Jul 2007 10:54:15 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/npplat.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/npplat.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- plugin/mozilla-sdk/npplat.h	28 May 2007 15:41:03 -0000	1.8
+++ plugin/mozilla-sdk/npplat.h	1 Jul 2007 10:54:15 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/pluginbase.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/pluginbase.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- plugin/mozilla-sdk/pluginbase.h	28 May 2007 15:41:03 -0000	1.10
+++ plugin/mozilla-sdk/pluginbase.h	1 Jul 2007 10:54:15 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/jni.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/jni.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- plugin/mozilla-sdk/include/jni.h	28 May 2007 15:41:03 -0000	1.6
+++ plugin/mozilla-sdk/include/jni.h	1 Jul 2007 10:54:16 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/jni_md.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/jni_md.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- plugin/mozilla-sdk/include/jni_md.h	28 May 2007 15:41:03 -0000	1.4
+++ plugin/mozilla-sdk/include/jni_md.h	1 Jul 2007 10:54:16 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/jri.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/jri.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- plugin/mozilla-sdk/include/jri.h	28 May 2007 15:41:03 -0000	1.4
+++ plugin/mozilla-sdk/include/jri.h	1 Jul 2007 10:54:16 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/jri_md.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/jri_md.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- plugin/mozilla-sdk/include/jri_md.h	28 May 2007 15:41:03 -0000	1.5
+++ plugin/mozilla-sdk/include/jri_md.h	1 Jul 2007 10:54:16 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/jritypes.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/jritypes.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- plugin/mozilla-sdk/include/jritypes.h	28 May 2007 15:41:03 -0000	1.5
+++ plugin/mozilla-sdk/include/jritypes.h	1 Jul 2007 10:54:16 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/npapi.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/npapi.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- plugin/mozilla-sdk/include/npapi.h	28 May 2007 15:41:03 -0000	1.6
+++ plugin/mozilla-sdk/include/npapi.h	1 Jul 2007 10:54:16 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 
 
 /*
- *  npapi.h $Revision: 1.6 $
+ *  npapi.h $Revision: 1.7 $
  *  Netscape client plug-in API spec
  */
 

Index: plugin/mozilla-sdk/include/nptypes.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/nptypes.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- plugin/mozilla-sdk/include/nptypes.h	28 May 2007 15:41:03 -0000	1.5
+++ plugin/mozilla-sdk/include/nptypes.h	1 Jul 2007 10:54:16 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/npupp.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/npupp.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- plugin/mozilla-sdk/include/npupp.h	28 May 2007 15:41:03 -0000	1.5
+++ plugin/mozilla-sdk/include/npupp.h	1 Jul 2007 10:54:16 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 //
 
 /*
- *  npupp.h $Revision: 1.5 $
+ *  npupp.h $Revision: 1.6 $
  *  function call mecahnics needed by platform specific glue code.
  */
 

Index: plugin/mozilla-sdk/include/prcpucfg.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prcpucfg.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- plugin/mozilla-sdk/include/prcpucfg.h	28 May 2007 15:41:03 -0000	1.10
+++ plugin/mozilla-sdk/include/prcpucfg.h	1 Jul 2007 10:54:16 -0000	1.11
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prcvar.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prcvar.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- plugin/mozilla-sdk/include/prcvar.h	28 May 2007 15:41:03 -0000	1.4
+++ plugin/mozilla-sdk/include/prcvar.h	1 Jul 2007 10:54:16 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prerr.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prerr.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- plugin/mozilla-sdk/include/prerr.h	28 May 2007 15:41:04 -0000	1.4
+++ plugin/mozilla-sdk/include/prerr.h	1 Jul 2007 10:54:17 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prerror.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prerror.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- plugin/mozilla-sdk/include/prerror.h	28 May 2007 15:41:04 -0000	1.4
+++ plugin/mozilla-sdk/include/prerror.h	1 Jul 2007 10:54:17 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prinit.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prinit.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- plugin/mozilla-sdk/include/prinit.h	28 May 2007 15:41:04 -0000	1.6
+++ plugin/mozilla-sdk/include/prinit.h	1 Jul 2007 10:54:17 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prinrval.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prinrval.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- plugin/mozilla-sdk/include/prinrval.h	28 May 2007 15:41:04 -0000	1.4
+++ plugin/mozilla-sdk/include/prinrval.h	1 Jul 2007 10:54:17 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prlock.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prlock.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- plugin/mozilla-sdk/include/prlock.h	28 May 2007 15:41:04 -0000	1.4
+++ plugin/mozilla-sdk/include/prlock.h	1 Jul 2007 10:54:17 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prthread.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prthread.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- plugin/mozilla-sdk/include/prthread.h	28 May 2007 15:41:04 -0000	1.4
+++ plugin/mozilla-sdk/include/prthread.h	1 Jul 2007 10:54:17 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prtypes.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prtypes.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- plugin/mozilla-sdk/include/prtypes.h	28 May 2007 15:41:04 -0000	1.6
+++ plugin/mozilla-sdk/include/prtypes.h	1 Jul 2007 10:54:17 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/mozilla-sdk/include/prwin16.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/mozilla-sdk/include/prwin16.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- plugin/mozilla-sdk/include/prwin16.h	28 May 2007 15:41:04 -0000	1.5
+++ plugin/mozilla-sdk/include/prwin16.h	1 Jul 2007 10:54:17 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/win32/npgnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/win32/npgnash.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- plugin/win32/npgnash.cpp	28 May 2007 15:41:04 -0000	1.6
+++ plugin/win32/npgnash.cpp	1 Jul 2007 10:54:17 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/win32/plugin.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/win32/plugin.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- plugin/win32/plugin.cpp	15 Jun 2007 15:00:27 -0000	1.8
+++ plugin/win32/plugin.cpp	1 Jul 2007 10:54:17 -0000	1.9
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: plugin/win32/plugin.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/win32/plugin.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- plugin/win32/plugin.h	28 May 2007 15:41:04 -0000	1.6
+++ plugin/win32/plugin.h	1 Jul 2007 10:54:17 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: po/cs.po
===================================================================
RCS file: /sources/gnash/gnash/po/cs.po,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- po/cs.po	28 Jun 2007 01:31:26 -0000	1.1
+++ po/cs.po	1 Jul 2007 10:54:17 -0000	1.2
@@ -3468,7 +3468,7 @@
 msgid ""
 "This program is free software; you can redistribute it and/or modify\n"
 "it under the terms of the GNU General Public License as published by\n"
-"the Free Software Foundation; either version 2 of the License, or\n"
+"the Free Software Foundation; either version 3 of the License, or\n"
 "(at your option) any later version.\n"
 "\n"
 "This program is distributed in the hope that it will be useful,\n"

Index: server/BitmapMovieInstance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/BitmapMovieInstance.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/BitmapMovieInstance.cpp	15 Jun 2007 18:51:04 -0000	1.9
+++ server/BitmapMovieInstance.cpp	1 Jul 2007 10:54:18 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/BitmapMovieInstance.h
===================================================================
RCS file: /sources/gnash/gnash/server/BitmapMovieInstance.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/BitmapMovieInstance.h	28 May 2007 15:41:04 -0000	1.4
+++ server/BitmapMovieInstance.h	1 Jul 2007 10:54:18 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: BitmapMovieInstance.h,v 1.4 2007/05/28 15:41:04 ann Exp $ */
+/* $Id: BitmapMovieInstance.h,v 1.5 2007/07/01 10:54:18 bjacques Exp $ */
 
 #ifndef GNASH_BITMAPMOVIEINSTANCE_H
 #define GNASH_BITMAPMOVIEINSTANCE_H

Index: server/DynamicShape.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/DynamicShape.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/DynamicShape.cpp	28 May 2007 15:41:04 -0000	1.7
+++ server/DynamicShape.cpp	1 Jul 2007 10:54:18 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 
 
 
-/* $Id: DynamicShape.cpp,v 1.7 2007/05/28 15:41:04 ann Exp $ */
+/* $Id: DynamicShape.cpp,v 1.8 2007/07/01 10:54:18 bjacques Exp $ */
 
 #include "DynamicShape.h"
 

Index: server/DynamicShape.h
===================================================================
RCS file: /sources/gnash/gnash/server/DynamicShape.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/DynamicShape.h	28 May 2007 15:41:04 -0000	1.4
+++ server/DynamicShape.h	1 Jul 2007 10:54:18 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
-/* $Id: DynamicShape.h,v 1.4 2007/05/28 15:41:04 ann Exp $ */
+/* $Id: DynamicShape.h,v 1.5 2007/07/01 10:54:18 bjacques Exp $ */
 
 #ifndef GNASH_DYNAMIC_SHAPE_H
 #define GNASH_DYNAMIC_SHAPE_H

Index: server/FreetypeGlyphsProvider.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/FreetypeGlyphsProvider.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/FreetypeGlyphsProvider.cpp	29 Jun 2007 06:11:20 -0000	1.4
+++ server/FreetypeGlyphsProvider.cpp	1 Jul 2007 10:54:18 -0000	1.5
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/FreetypeGlyphsProvider.h
===================================================================
RCS file: /sources/gnash/gnash/server/FreetypeGlyphsProvider.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- server/FreetypeGlyphsProvider.h	13 Jun 2007 16:30:53 -0000	1.2
+++ server/FreetypeGlyphsProvider.h	1 Jul 2007 10:54:18 -0000	1.3
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/GetterSetter.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/GetterSetter.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/GetterSetter.cpp	15 Jun 2007 15:00:27 -0000	1.8
+++ server/GetterSetter.cpp	1 Jul 2007 10:54:18 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/GetterSetter.h
===================================================================
RCS file: /sources/gnash/gnash/server/GetterSetter.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/GetterSetter.h	15 Jun 2007 15:00:27 -0000	1.8
+++ server/GetterSetter.h	1 Jul 2007 10:54:18 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/LoadVariablesThread.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/LoadVariablesThread.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- server/LoadVariablesThread.cpp	15 Mar 2007 22:39:53 -0000	1.1
+++ server/LoadVariablesThread.cpp	1 Jul 2007 10:54:18 -0000	1.2
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/LoadVariablesThread.h
===================================================================
RCS file: /sources/gnash/gnash/server/LoadVariablesThread.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- server/LoadVariablesThread.h	15 Mar 2007 22:39:53 -0000	1.1
+++ server/LoadVariablesThread.h	1 Jul 2007 10:54:18 -0000	1.2
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: LoadVariablesThread.h,v 1.1 2007/03/15 22:39:53 strk Exp $ */
+/* $Id: LoadVariablesThread.h,v 1.2 2007/07/01 10:54:18 bjacques Exp $ */
 
 #ifndef GNASH_LOADVARIABLESTHREAD_H
 #define GNASH_LOADVARIABLESTHREAD_H

Index: server/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/server/Makefile.am,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -b -r1.119 -r1.120
--- server/Makefile.am	14 Jun 2007 07:17:11 -0000	1.119
+++ server/Makefile.am	1 Jul 2007 10:54:18 -0000	1.120
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 # 
 #
 
-# $Id: Makefile.am,v 1.119 2007/06/14 07:17:11 strk Exp $
+# $Id: Makefile.am,v 1.120 2007/07/01 10:54:18 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 

Index: server/Property.h
===================================================================
RCS file: /sources/gnash/gnash/server/Property.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/Property.h	15 Jun 2007 15:00:27 -0000	1.7
+++ server/Property.h	1 Jul 2007 10:54:18 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/PropertyList.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/PropertyList.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/PropertyList.cpp	15 Jun 2007 15:00:27 -0000	1.15
+++ server/PropertyList.cpp	1 Jul 2007 10:54:19 -0000	1.16
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/PropertyList.h
===================================================================
RCS file: /sources/gnash/gnash/server/PropertyList.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/PropertyList.h	15 Jun 2007 15:00:27 -0000	1.15
+++ server/PropertyList.h	1 Jul 2007 10:54:19 -0000	1.16
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/Sprite.h
===================================================================
RCS file: /sources/gnash/gnash/server/Sprite.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- server/Sprite.h	28 May 2007 15:41:04 -0000	1.18
+++ server/Sprite.h	1 Jul 2007 10:54:19 -0000	1.19
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/StreamProvider.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/StreamProvider.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- server/StreamProvider.cpp	19 Jun 2007 22:54:31 -0000	1.19
+++ server/StreamProvider.cpp	1 Jul 2007 10:54:19 -0000	1.20
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/StreamProvider.h
===================================================================
RCS file: /sources/gnash/gnash/server/StreamProvider.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/StreamProvider.h	28 May 2007 15:41:04 -0000	1.5
+++ server/StreamProvider.h	1 Jul 2007 10:54:19 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/StringPredicates.h
===================================================================
RCS file: /sources/gnash/gnash/server/StringPredicates.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/StringPredicates.h	28 May 2007 15:41:05 -0000	1.7
+++ server/StringPredicates.h	1 Jul 2007 10:54:19 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: StringPredicates.h,v 1.7 2007/05/28 15:41:05 ann Exp $ */
+/* $Id: StringPredicates.h,v 1.8 2007/07/01 10:54:19 bjacques Exp $ */
 
 #ifndef GNASH_STRINGPREDICATES_H
 #define GNASH_STRINGPREDICATES_H

Index: server/URLAccessManager.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/URLAccessManager.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- server/URLAccessManager.cpp	28 May 2007 15:41:05 -0000	1.17
+++ server/URLAccessManager.cpp	1 Jul 2007 10:54:19 -0000	1.18
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/URLAccessManager.h
===================================================================
RCS file: /sources/gnash/gnash/server/URLAccessManager.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/URLAccessManager.h	28 May 2007 15:41:05 -0000	1.5
+++ server/URLAccessManager.h	1 Jul 2007 10:54:19 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/array.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/array.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- server/array.cpp	29 Jun 2007 09:29:01 -0000	1.62
+++ server/array.cpp	1 Jul 2007 10:54:19 -0000	1.63
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/array.h
===================================================================
RCS file: /sources/gnash/gnash/server/array.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- server/array.h	29 Jun 2007 09:29:01 -0000	1.28
+++ server/array.h	1 Jul 2007 10:54:19 -0000	1.29
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/as_environment.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_environment.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- server/as_environment.cpp	15 Jun 2007 18:46:59 -0000	1.80
+++ server/as_environment.cpp	1 Jul 2007 10:54:19 -0000	1.81
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: as_environment.cpp,v 1.80 2007/06/15 18:46:59 strk Exp $ */
+/* $Id: as_environment.cpp,v 1.81 2007/07/01 10:54:19 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/as_environment.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_environment.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- server/as_environment.h	15 Jun 2007 15:00:27 -0000	1.52
+++ server/as_environment.h	1 Jul 2007 10:54:20 -0000	1.53
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/as_function.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_function.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- server/as_function.cpp	15 Jun 2007 18:46:59 -0000	1.34
+++ server/as_function.cpp	1 Jul 2007 10:54:20 -0000	1.35
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/as_function.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_function.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/as_function.h	15 Jun 2007 15:00:28 -0000	1.16
+++ server/as_function.h	1 Jul 2007 10:54:20 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/as_object.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_object.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- server/as_object.cpp	23 Jun 2007 16:32:01 -0000	1.54
+++ server/as_object.cpp	1 Jul 2007 10:54:20 -0000	1.55
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/as_object.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_object.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- server/as_object.h	15 Jun 2007 15:00:28 -0000	1.59
+++ server/as_object.h	1 Jul 2007 10:54:20 -0000	1.60
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/as_prop_flags.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_prop_flags.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/as_prop_flags.h	28 May 2007 15:41:05 -0000	1.7
+++ server/as_prop_flags.h	1 Jul 2007 10:54:20 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/as_value.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- server/as_value.cpp	15 Jun 2007 18:46:59 -0000	1.54
+++ server/as_value.cpp	1 Jul 2007 10:54:20 -0000	1.55
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/as_value.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- server/as_value.h	24 Jun 2007 00:44:56 -0000	1.55
+++ server/as_value.h	1 Jul 2007 10:54:20 -0000	1.56
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: as_value.h,v 1.55 2007/06/24 00:44:56 strk Exp $ */
+/* $Id: as_value.h,v 1.56 2007/07/01 10:54:20 bjacques Exp $ */
 
 #ifndef GNASH_AS_VALUE_H
 #define GNASH_AS_VALUE_H

Index: server/bitmap_info.h
===================================================================
RCS file: /sources/gnash/gnash/server/bitmap_info.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/bitmap_info.h	28 May 2007 15:41:05 -0000	1.3
+++ server/bitmap_info.h	1 Jul 2007 10:54:20 -0000	1.4
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
-/* $Id: bitmap_info.h,v 1.3 2007/05/28 15:41:05 ann Exp $ */
+/* $Id: bitmap_info.h,v 1.4 2007/07/01 10:54:20 bjacques Exp $ */
 
 #ifndef GNASH_BITMAP_INFO_H
 #define GNASH_BITMAP_INFO_H

Index: server/builtin_function.h
===================================================================
RCS file: /sources/gnash/gnash/server/builtin_function.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/builtin_function.h	28 May 2007 15:41:05 -0000	1.10
+++ server/builtin_function.h	1 Jul 2007 10:54:20 -0000	1.11
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/button_character_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/button_character_instance.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- server/button_character_instance.cpp	16 Jun 2007 06:30:29 -0000	1.50
+++ server/button_character_instance.cpp	1 Jul 2007 10:54:21 -0000	1.51
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/button_character_instance.h
===================================================================
RCS file: /sources/gnash/gnash/server/button_character_instance.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- server/button_character_instance.h	16 Jun 2007 06:30:29 -0000	1.22
+++ server/button_character_instance.h	1 Jul 2007 10:54:21 -0000	1.23
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -21,7 +21,7 @@
 
 // SWF buttons.  Mouse-sensitive update/display, actions, etc.
 
-/* $Id: button_character_instance.h,v 1.22 2007/06/16 06:30:29 strk Exp $ */
+/* $Id: button_character_instance.h,v 1.23 2007/07/01 10:54:21 bjacques Exp $ */
 
 #ifndef GNASH_BUTTON_CHARACTER_INSTANCE_H
 #define GNASH_BUTTON_CHARACTER_INSTANCE_H

Index: server/character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/character.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- server/character.cpp	15 Jun 2007 15:00:28 -0000	1.43
+++ server/character.cpp	1 Jul 2007 10:54:21 -0000	1.44
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: character.cpp,v 1.43 2007/06/15 15:00:28 strk Exp $ */
+/* $Id: character.cpp,v 1.44 2007/07/01 10:54:21 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/character.h
===================================================================
RCS file: /sources/gnash/gnash/server/character.h,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- server/character.h	19 Jun 2007 09:26:55 -0000	1.84
+++ server/character.h	1 Jul 2007 10:54:21 -0000	1.85
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: character.h,v 1.84 2007/06/19 09:26:55 strk Exp $ */
+/* $Id: character.h,v 1.85 2007/07/01 10:54:21 bjacques Exp $ */
 
 #ifndef GNASH_CHARACTER_H
 #define GNASH_CHARACTER_H

Index: server/cxform.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/cxform.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/cxform.cpp	28 May 2007 15:41:05 -0000	1.3
+++ server/cxform.cpp	1 Jul 2007 10:54:21 -0000	1.4
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: cxform.cpp,v 1.3 2007/05/28 15:41:05 ann Exp $ 
+// $Id: cxform.cpp,v 1.4 2007/07/01 10:54:21 bjacques Exp $ 
 //
 
 #ifdef HAVE_CONFIG_H

Index: server/cxform.h
===================================================================
RCS file: /sources/gnash/gnash/server/cxform.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/cxform.h	28 May 2007 15:41:05 -0000	1.7
+++ server/cxform.h	1 Jul 2007 10:54:21 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/debugger.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/debugger.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- server/debugger.cpp	15 Jun 2007 15:00:28 -0000	1.21
+++ server/debugger.cpp	1 Jul 2007 10:54:21 -0000	1.22
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/debugger.h
===================================================================
RCS file: /sources/gnash/gnash/server/debugger.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/debugger.h	15 Jun 2007 15:00:28 -0000	1.15
+++ server/debugger.h	1 Jul 2007 10:54:21 -0000	1.16
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: debugger.h,v 1.15 2007/06/15 15:00:28 strk Exp $ */
+/* $Id: debugger.h,v 1.16 2007/07/01 10:54:21 bjacques Exp $ */
 
 #ifndef __DEBUGGER_H__
 #define __DEBUGGER_H__

Index: server/dlist.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/dlist.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- server/dlist.cpp	17 Jun 2007 09:07:28 -0000	1.72
+++ server/dlist.cpp	1 Jul 2007 10:54:21 -0000	1.73
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/dlist.h
===================================================================
RCS file: /sources/gnash/gnash/server/dlist.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- server/dlist.h	15 Jun 2007 15:00:29 -0000	1.44
+++ server/dlist.h	1 Jul 2007 10:54:21 -0000	1.45
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/drag_state.h
===================================================================
RCS file: /sources/gnash/gnash/server/drag_state.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/drag_state.h	28 May 2007 15:41:06 -0000	1.3
+++ server/drag_state.h	1 Jul 2007 10:54:22 -0000	1.4
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: drag_state.h,v 1.3 2007/05/28 15:41:06 ann Exp $ */
+/* $Id: drag_state.h,v 1.4 2007/07/01 10:54:22 bjacques Exp $ */
 
 
 #ifndef GNASH_DRAG_STATE_H

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- server/edit_text_character.cpp	29 Jun 2007 06:05:59 -0000	1.70
+++ server/edit_text_character.cpp	1 Jul 2007 10:54:22 -0000	1.71
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.70 2007/06/29 06:05:59 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.71 2007/07/01 10:54:22 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/edit_text_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- server/edit_text_character.h	29 Jun 2007 06:05:59 -0000	1.33
+++ server/edit_text_character.h	1 Jul 2007 10:54:22 -0000	1.34
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/event_id.h
===================================================================
RCS file: /sources/gnash/gnash/server/event_id.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/event_id.h	28 May 2007 15:41:06 -0000	1.9
+++ server/event_id.h	1 Jul 2007 10:54:22 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/execute_tag.h
===================================================================
RCS file: /sources/gnash/gnash/server/execute_tag.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/execute_tag.h	28 May 2007 15:41:06 -0000	1.16
+++ server/execute_tag.h	1 Jul 2007 10:54:22 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/fill_style.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/fill_style.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/fill_style.cpp	20 Jun 2007 14:23:50 -0000	1.5
+++ server/fill_style.cpp	1 Jul 2007 10:54:22 -0000	1.6
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/fill_style.h
===================================================================
RCS file: /sources/gnash/gnash/server/fill_style.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/fill_style.h	20 Jun 2007 14:23:50 -0000	1.6
+++ server/fill_style.h	1 Jul 2007 10:54:22 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 
 // Based on work of Thatcher Ulrich <tu@tulrich.com> 2003
 
-/* $Id: fill_style.h,v 1.6 2007/06/20 14:23:50 strk Exp $ */
+/* $Id: fill_style.h,v 1.7 2007/07/01 10:54:22 bjacques Exp $ */
 
 #ifndef GNASH_FILL_STYLE_H
 #define GNASH_FILL_STYLE_H

Index: server/font.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/font.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- server/font.cpp	16 Jun 2007 06:30:29 -0000	1.40
+++ server/font.cpp	1 Jul 2007 10:54:22 -0000	1.41
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: font.cpp,v 1.40 2007/06/16 06:30:29 strk Exp $ */
+/* $Id: font.cpp,v 1.41 2007/07/01 10:54:22 bjacques Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 

Index: server/generic_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/generic_character.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/generic_character.cpp	19 Jun 2007 10:00:34 -0000	1.7
+++ server/generic_character.cpp	1 Jul 2007 10:54:22 -0000	1.8
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: generic_character.cpp,v 1.7 2007/06/19 10:00:34 strk Exp $ */
+/* $Id: generic_character.cpp,v 1.8 2007/07/01 10:54:22 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/generic_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/generic_character.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- server/generic_character.h	19 Jun 2007 10:00:35 -0000	1.25
+++ server/generic_character.h	1 Jul 2007 10:54:23 -0000	1.26
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/gnash.h
===================================================================
RCS file: /sources/gnash/gnash/server/gnash.h,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -b -r1.98 -r1.99
--- server/gnash.h	15 Jun 2007 15:00:29 -0000	1.98
+++ server/gnash.h	1 Jul 2007 10:54:23 -0000	1.99
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/impl.cpp,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -b -r1.111 -r1.112
--- server/impl.cpp	30 Jun 2007 18:22:01 -0000	1.111
+++ server/impl.cpp	1 Jul 2007 10:54:23 -0000	1.112
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: impl.cpp,v 1.111 2007/06/30 18:22:01 strk Exp $ */
+/* $Id: impl.cpp,v 1.112 2007/07/01 10:54:23 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/impl.h
===================================================================
RCS file: /sources/gnash/gnash/server/impl.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- server/impl.h	15 Jun 2007 15:00:29 -0000	1.46
+++ server/impl.h	1 Jul 2007 10:54:23 -0000	1.47
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: impl.h,v 1.46 2007/06/15 15:00:29 strk Exp $ */
+/* $Id: impl.h,v 1.47 2007/07/01 10:54:23 bjacques Exp $ */
 
 #ifndef GNASH_IMPL_H
 #define GNASH_IMPL_H

Index: server/matrix.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/matrix.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/matrix.cpp	28 May 2007 15:41:06 -0000	1.15
+++ server/matrix.cpp	1 Jul 2007 10:54:23 -0000	1.16
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 // Original author: Thatcher Ulrich <tu@tulrich.com> 2003
 //
-// $Id: matrix.cpp,v 1.15 2007/05/28 15:41:06 ann Exp $ 
+// $Id: matrix.cpp,v 1.16 2007/07/01 10:54:23 bjacques Exp $ 
 //
 
 #ifdef HAVE_CONFIG_H

Index: server/matrix.h
===================================================================
RCS file: /sources/gnash/gnash/server/matrix.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/matrix.h	5 Jun 2007 08:28:27 -0000	1.10
+++ server/matrix.h	1 Jul 2007 10:54:23 -0000	1.11
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 // Original author: Thatcher Ulrich <tu@tulrich.com> 2003
 //
-// $Id: matrix.h,v 1.10 2007/06/05 08:28:27 strk Exp $ 
+// $Id: matrix.h,v 1.11 2007/07/01 10:54:23 bjacques Exp $ 
 //
 
 #ifndef GNASH_MATRIX_H

Index: server/movie_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_instance.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/movie_instance.cpp	28 May 2007 15:41:06 -0000	1.13
+++ server/movie_instance.cpp	1 Jul 2007 10:54:23 -0000	1.14
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/movie_instance.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_instance.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/movie_instance.h	28 May 2007 15:41:06 -0000	1.5
+++ server/movie_instance.h	1 Jul 2007 10:54:23 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -b -r1.69 -r1.70
--- server/movie_root.cpp	21 Jun 2007 05:09:13 -0000	1.69
+++ server/movie_root.cpp	1 Jul 2007 10:54:23 -0000	1.70
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- server/movie_root.h	22 Jun 2007 02:11:06 -0000	1.60
+++ server/movie_root.h	1 Jul 2007 10:54:23 -0000	1.61
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.60 2007/06/22 02:11:06 zoulunkai Exp $ */
+/* $Id: movie_root.h,v 1.61 2007/07/01 10:54:23 bjacques Exp $ */
 
 /// \page events_handling Handling of user events
 ///

Index: server/rect.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/rect.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/rect.cpp	28 May 2007 15:41:06 -0000	1.11
+++ server/rect.cpp	1 Jul 2007 10:54:24 -0000	1.12
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/rect.h
===================================================================
RCS file: /sources/gnash/gnash/server/rect.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- server/rect.h	28 May 2007 15:41:06 -0000	1.20
+++ server/rect.h	1 Jul 2007 10:54:24 -0000	1.21
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: rect.h,v 1.20 2007/05/28 15:41:06 ann Exp $ */
+/* $Id: rect.h,v 1.21 2007/07/01 10:54:24 bjacques Exp $ */
 
 #ifndef GNASH_RECT_H
 #define GNASH_RECT_H

Index: server/resource.h
===================================================================
RCS file: /sources/gnash/gnash/server/resource.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/resource.h	28 May 2007 15:41:06 -0000	1.9
+++ server/resource.h	1 Jul 2007 10:54:24 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/shape.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/shape.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- server/shape.cpp	24 Apr 2007 10:01:46 -0000	1.36
+++ server/shape.cpp	1 Jul 2007 10:54:24 -0000	1.37
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/shm.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/shm.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- server/shm.cpp	28 May 2007 15:41:06 -0000	1.31
+++ server/shm.cpp	1 Jul 2007 10:54:24 -0000	1.32
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: shm.cpp,v 1.31 2007/05/28 15:41:06 ann Exp $ */
+/* $Id: shm.cpp,v 1.32 2007/07/01 10:54:24 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/shm.h
===================================================================
RCS file: /sources/gnash/gnash/server/shm.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/shm.h	28 May 2007 15:41:07 -0000	1.16
+++ server/shm.h	1 Jul 2007 10:54:24 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.292
retrieving revision 1.293
diff -u -b -r1.292 -r1.293
--- server/sprite_instance.cpp	24 Jun 2007 12:58:28 -0000	1.292
+++ server/sprite_instance.cpp	1 Jul 2007 10:54:24 -0000	1.293
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/sprite_instance.h
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.h,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -b -r1.125 -r1.126
--- server/sprite_instance.h	19 Jun 2007 22:25:55 -0000	1.125
+++ server/sprite_instance.h	1 Jul 2007 10:54:24 -0000	1.126
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/swf.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- server/swf.h	28 May 2007 15:41:07 -0000	1.32
+++ server/swf.h	1 Jul 2007 10:54:24 -0000	1.33
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/swf_event.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf_event.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/swf_event.h	28 May 2007 15:41:07 -0000	1.6
+++ server/swf_event.h	1 Jul 2007 10:54:25 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/swf_function.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf_function.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- server/swf_function.cpp	15 Jun 2007 15:00:30 -0000	1.31
+++ server/swf_function.cpp	1 Jul 2007 10:54:25 -0000	1.32
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/swf_function.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf_function.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/swf_function.h	15 Jun 2007 15:00:30 -0000	1.15
+++ server/swf_function.h	1 Jul 2007 10:54:25 -0000	1.16
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/text.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/text.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- server/text.cpp	13 Jun 2007 02:49:33 -0000	1.31
+++ server/text.cpp	1 Jul 2007 10:54:25 -0000	1.32
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: text.cpp,v 1.31 2007/06/13 02:49:33 strk Exp $ */
+/* $Id: text.cpp,v 1.32 2007/07/01 10:54:25 bjacques Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 

Index: server/text.h
===================================================================
RCS file: /sources/gnash/gnash/server/text.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/text.h	28 May 2007 15:41:07 -0000	1.16
+++ server/text.h	1 Jul 2007 10:54:25 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/textformat.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/textformat.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- server/textformat.cpp	18 Apr 2007 11:00:29 -0000	1.26
+++ server/textformat.cpp	1 Jul 2007 10:54:25 -0000	1.27
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-// $Id: textformat.cpp,v 1.26 2007/04/18 11:00:29 jgilmore Exp $
+// $Id: textformat.cpp,v 1.27 2007/07/01 10:54:25 bjacques Exp $
 
 #include "log.h"
 #include "textformat.h"

Index: server/textformat.h
===================================================================
RCS file: /sources/gnash/gnash/server/textformat.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- server/textformat.h	28 May 2007 15:41:07 -0000	1.18
+++ server/textformat.h	1 Jul 2007 10:54:25 -0000	1.19
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: textformat.h,v 1.18 2007/05/28 15:41:07 ann Exp $
+// $Id: textformat.h,v 1.19 2007/07/01 10:54:25 bjacques Exp $
 //
 
 #ifndef __TEXTFORMAT_H__

Index: server/timers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/timers.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- server/timers.cpp	16 Jun 2007 09:07:34 -0000	1.34
+++ server/timers.cpp	1 Jul 2007 10:54:25 -0000	1.35
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: timers.cpp,v 1.34 2007/06/16 09:07:34 strk Exp $ */
+/* $Id: timers.cpp,v 1.35 2007/07/01 10:54:25 bjacques Exp $ */
 
 #include "timers.h"
 #include "as_function.h" // for class as_function

Index: server/timers.h
===================================================================
RCS file: /sources/gnash/gnash/server/timers.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- server/timers.h	19 Jun 2007 14:21:28 -0000	1.23
+++ server/timers.h	1 Jul 2007 10:54:25 -0000	1.24
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/video_stream_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/video_stream_instance.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- server/video_stream_instance.cpp	24 Jun 2007 12:58:28 -0000	1.30
+++ server/video_stream_instance.cpp	1 Jul 2007 10:54:26 -0000	1.31
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-// $Id: video_stream_instance.cpp,v 1.30 2007/06/24 12:58:28 strk Exp $
+// $Id: video_stream_instance.cpp,v 1.31 2007/07/01 10:54:26 bjacques Exp $
 
 #include "sprite_instance.h"
 #include "video_stream_instance.h"

Index: server/video_stream_instance.h
===================================================================
RCS file: /sources/gnash/gnash/server/video_stream_instance.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/video_stream_instance.h	19 Jun 2007 09:26:54 -0000	1.16
+++ server/video_stream_instance.h	1 Jul 2007 10:54:26 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_instance.h,v 1.16 2007/06/19 09:26:54 strk Exp $
+// $Id: video_stream_instance.h,v 1.17 2007/07/01 10:54:26 bjacques Exp $
 
 #ifndef GNASH_VIDEO_STREAM_INSTANCE_H
 #define GNASH_VIDEO_STREAM_INSTANCE_H

Index: server/asobj/Boolean.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Boolean.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- server/asobj/Boolean.cpp	26 Apr 2007 07:00:29 -0000	1.14
+++ server/asobj/Boolean.cpp	1 Jul 2007 10:54:26 -0000	1.15
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Boolean.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Boolean.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Boolean.h	20 Mar 2007 15:26:04 -0000	1.6
+++ server/asobj/Boolean.h	1 Jul 2007 10:54:26 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Camera.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Camera.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/asobj/Camera.cpp	18 Apr 2007 11:00:29 -0000	1.7
+++ server/asobj/Camera.cpp	1 Jul 2007 10:54:26 -0000	1.8
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Camera.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Camera.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Camera.h	28 May 2007 14:59:34 -0000	1.6
+++ server/asobj/Camera.h	1 Jul 2007 10:54:26 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Color.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Color.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/asobj/Color.cpp	26 Apr 2007 07:00:29 -0000	1.10
+++ server/asobj/Color.cpp	1 Jul 2007 10:54:26 -0000	1.11
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Color.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Color.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Color.h	28 May 2007 14:59:34 -0000	1.6
+++ server/asobj/Color.h	1 Jul 2007 10:54:26 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/ContextMenu.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/ContextMenu.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/asobj/ContextMenu.cpp	26 Apr 2007 07:00:29 -0000	1.13
+++ server/asobj/ContextMenu.cpp	1 Jul 2007 10:54:26 -0000	1.14
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/ContextMenu.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/ContextMenu.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/ContextMenu.h	28 May 2007 14:59:34 -0000	1.6
+++ server/asobj/ContextMenu.h	1 Jul 2007 10:54:26 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/CustomActions.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/CustomActions.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/asobj/CustomActions.cpp	26 Apr 2007 07:00:29 -0000	1.8
+++ server/asobj/CustomActions.cpp	1 Jul 2007 10:54:27 -0000	1.9
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/CustomActions.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/CustomActions.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/CustomActions.h	28 May 2007 14:59:34 -0000	1.6
+++ server/asobj/CustomActions.h	1 Jul 2007 10:54:27 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Date.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Date.cpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- server/asobj/Date.cpp	2 Jun 2007 09:54:21 -0000	1.46
+++ server/asobj/Date.cpp	1 Jul 2007 10:54:27 -0000	1.47
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Date.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Date.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/Date.h	28 May 2007 15:41:07 -0000	1.9
+++ server/asobj/Date.h	1 Jul 2007 10:54:27 -0000	1.10
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Error.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Error.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/Error.cpp	26 Apr 2007 07:00:29 -0000	1.9
+++ server/asobj/Error.cpp	1 Jul 2007 10:54:27 -0000	1.10
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Error.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Error.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Error.h	28 May 2007 14:59:35 -0000	1.6
+++ server/asobj/Error.h	1 Jul 2007 10:54:27 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/GMath.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/GMath.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- server/asobj/GMath.h	28 May 2007 15:41:07 -0000	1.17
+++ server/asobj/GMath.h	1 Jul 2007 10:54:27 -0000	1.18
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Global.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Global.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- server/asobj/Global.cpp	16 Jun 2007 12:47:55 -0000	1.63
+++ server/asobj/Global.cpp	1 Jul 2007 10:54:27 -0000	1.64
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: Global.cpp,v 1.63 2007/06/16 12:47:55 strk Exp $ */
+/* $Id: Global.cpp,v 1.64 2007/07/01 10:54:27 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/Global.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Global.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/asobj/Global.h	28 May 2007 15:41:07 -0000	1.4
+++ server/asobj/Global.h	1 Jul 2007 10:54:27 -0000	1.5
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Key.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- server/asobj/Key.cpp	8 Jun 2007 12:11:50 -0000	1.25
+++ server/asobj/Key.cpp	1 Jul 2007 10:54:27 -0000	1.26
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Key.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- server/asobj/Key.h	15 Jun 2007 15:00:30 -0000	1.20
+++ server/asobj/Key.h	1 Jul 2007 10:54:27 -0000	1.21
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: Key.h,v 1.20 2007/06/15 15:00:30 strk Exp $ */
+/* $Id: Key.h,v 1.21 2007/07/01 10:54:27 bjacques Exp $ */
 
 #ifndef __KEY_H__
 #define __KEY_H__

Index: server/asobj/LoadVars.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/LoadVars.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- server/asobj/LoadVars.cpp	16 Jun 2007 09:07:34 -0000	1.25
+++ server/asobj/LoadVars.cpp	1 Jul 2007 10:54:28 -0000	1.26
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/LoadVars.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/LoadVars.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/LoadVars.h	28 May 2007 14:59:35 -0000	1.6
+++ server/asobj/LoadVars.h	1 Jul 2007 10:54:28 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/LocalConnection.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/LocalConnection.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- server/asobj/LocalConnection.cpp	18 Apr 2007 11:00:29 -0000	1.14
+++ server/asobj/LocalConnection.cpp	1 Jul 2007 10:54:28 -0000	1.15
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/LocalConnection.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/LocalConnection.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/asobj/LocalConnection.h	28 May 2007 15:41:07 -0000	1.10
+++ server/asobj/LocalConnection.h	1 Jul 2007 10:54:28 -0000	1.11
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Makefile.am,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- server/asobj/Makefile.am	4 Jun 2007 19:21:20 -0000	1.40
+++ server/asobj/Makefile.am	1 Jul 2007 10:54:28 -0000	1.41
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.40 2007/06/04 19:21:20 strk Exp $
+# $Id: Makefile.am,v 1.41 2007/07/01 10:54:28 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 

Index: server/asobj/Math.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Math.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- server/asobj/Math.cpp	28 May 2007 15:41:07 -0000	1.22
+++ server/asobj/Math.cpp	1 Jul 2007 10:54:28 -0000	1.23
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: Math.cpp,v 1.22 2007/05/28 15:41:07 ann Exp $ */
+/* $Id: Math.cpp,v 1.23 2007/07/01 10:54:28 bjacques Exp $ */
 
 //
 // This file implements methods of the ActionScript Math class.

Index: server/asobj/Microphone.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Microphone.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/asobj/Microphone.cpp	26 Apr 2007 07:00:29 -0000	1.8
+++ server/asobj/Microphone.cpp	1 Jul 2007 10:54:28 -0000	1.9
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Microphone.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Microphone.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Microphone.h	28 May 2007 14:59:35 -0000	1.6
+++ server/asobj/Microphone.h	1 Jul 2007 10:54:28 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Mouse.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Mouse.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/asobj/Mouse.cpp	15 Jun 2007 15:00:30 -0000	1.10
+++ server/asobj/Mouse.cpp	1 Jul 2007 10:54:28 -0000	1.11
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Mouse.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Mouse.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Mouse.h	28 May 2007 14:59:35 -0000	1.6
+++ server/asobj/Mouse.h	1 Jul 2007 10:54:28 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/MovieClipLoader.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/MovieClipLoader.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- server/asobj/MovieClipLoader.cpp	18 Apr 2007 11:00:29 -0000	1.25
+++ server/asobj/MovieClipLoader.cpp	1 Jul 2007 10:54:29 -0000	1.26
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/MovieClipLoader.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/MovieClipLoader.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/MovieClipLoader.h	28 May 2007 15:41:07 -0000	1.9
+++ server/asobj/MovieClipLoader.h	1 Jul 2007 10:54:29 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/NetConnection.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetConnection.cpp,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- server/asobj/NetConnection.cpp	1 Jun 2007 23:36:48 -0000	1.48
+++ server/asobj/NetConnection.cpp	1 Jul 2007 10:54:29 -0000	1.49
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetConnection.cpp,v 1.48 2007/06/01 23:36:48 bjacques Exp $ */
+/* $Id: NetConnection.cpp,v 1.49 2007/07/01 10:54:29 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/NetConnection.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetConnection.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- server/asobj/NetConnection.h	1 Jun 2007 23:36:48 -0000	1.34
+++ server/asobj/NetConnection.h	1 Jul 2007 10:54:29 -0000	1.35
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: NetConnection.h,v 1.34 2007/06/01 23:36:48 bjacques Exp $ */
+/* $Id: NetConnection.h,v 1.35 2007/07/01 10:54:29 bjacques Exp $ */
 
 #ifndef __NETCONNECTION_H__
 #define __NETCONNECTION_H__

Index: server/asobj/NetStream.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStream.cpp,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- server/asobj/NetStream.cpp	16 Jun 2007 09:54:56 -0000	1.67
+++ server/asobj/NetStream.cpp	1 Jul 2007 10:54:29 -0000	1.68
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetStream.cpp,v 1.67 2007/06/16 09:54:56 strk Exp $ */
+/* $Id: NetStream.cpp,v 1.68 2007/07/01 10:54:29 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/NetStream.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStream.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- server/asobj/NetStream.h	16 Jun 2007 09:07:34 -0000	1.46
+++ server/asobj/NetStream.h	1 Jul 2007 10:54:29 -0000	1.47
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/*  $Id: NetStream.h,v 1.46 2007/06/16 09:07:34 strk Exp $ */
+/*  $Id: NetStream.h,v 1.47 2007/07/01 10:54:29 bjacques Exp $ */
 
 #ifndef __NETSTREAM_H__
 #define __NETSTREAM_H__

Index: server/asobj/NetStreamFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamFfmpeg.cpp,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- server/asobj/NetStreamFfmpeg.cpp	8 Jun 2007 13:02:06 -0000	1.87
+++ server/asobj/NetStreamFfmpeg.cpp	1 Jul 2007 10:54:29 -0000	1.88
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetStreamFfmpeg.cpp,v 1.87 2007/06/08 13:02:06 tgc Exp $ */
+/* $Id: NetStreamFfmpeg.cpp,v 1.88 2007/07/01 10:54:29 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/NetStreamFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamFfmpeg.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- server/asobj/NetStreamFfmpeg.h	4 Jun 2007 12:02:16 -0000	1.46
+++ server/asobj/NetStreamFfmpeg.h	1 Jul 2007 10:54:29 -0000	1.47
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: NetStreamFfmpeg.h,v 1.46 2007/06/04 12:02:16 strk Exp $ */
+/* $Id: NetStreamFfmpeg.h,v 1.47 2007/07/01 10:54:29 bjacques Exp $ */
 
 #ifndef __NETSTREAMFFMPEG_H__
 #define __NETSTREAMFFMPEG_H__

Index: server/asobj/NetStreamGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamGst.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- server/asobj/NetStreamGst.cpp	18 Jun 2007 20:20:20 -0000	1.56
+++ server/asobj/NetStreamGst.cpp	1 Jul 2007 10:54:29 -0000	1.57
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetStreamGst.cpp,v 1.56 2007/06/18 20:20:20 strk Exp $ */
+/* $Id: NetStreamGst.cpp,v 1.57 2007/07/01 10:54:29 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/NetStreamGst.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamGst.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- server/asobj/NetStreamGst.h	31 May 2007 15:52:29 -0000	1.27
+++ server/asobj/NetStreamGst.h	1 Jul 2007 10:54:29 -0000	1.28
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: NetStreamGst.h,v 1.27 2007/05/31 15:52:29 tgc Exp $ */
+/* $Id: NetStreamGst.h,v 1.28 2007/07/01 10:54:29 bjacques Exp $ */
 
 #ifndef __NETSTREAMGST_H__
 #define __NETSTREAMGST_H__

Index: server/asobj/Number.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Number.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- server/asobj/Number.cpp	27 Apr 2007 08:46:46 -0000	1.30
+++ server/asobj/Number.cpp	1 Jul 2007 10:54:29 -0000	1.31
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: Number.cpp,v 1.30 2007/04/27 08:46:46 strk Exp $ */
+/* $Id: Number.cpp,v 1.31 2007/07/01 10:54:29 bjacques Exp $ */
 
 #include "log.h"
 #include "tu_config.h"

Index: server/asobj/Number.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Number.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/asobj/Number.h	28 May 2007 15:41:08 -0000	1.5
+++ server/asobj/Number.h	1 Jul 2007 10:54:30 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Object.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Object.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- server/asobj/Object.cpp	18 Apr 2007 11:00:30 -0000	1.24
+++ server/asobj/Object.cpp	1 Jul 2007 10:54:30 -0000	1.25
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: Object.cpp,v 1.24 2007/04/18 11:00:30 jgilmore Exp $ */
+/* $Id: Object.cpp,v 1.25 2007/07/01 10:54:30 bjacques Exp $ */
 
 #include "tu_config.h"
 #include "Object.h"

Index: server/asobj/Object.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Object.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Object.h	28 May 2007 15:41:08 -0000	1.6
+++ server/asobj/Object.h	1 Jul 2007 10:54:30 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Selection.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Selection.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/Selection.cpp	26 Apr 2007 07:00:29 -0000	1.9
+++ server/asobj/Selection.cpp	1 Jul 2007 10:54:30 -0000	1.10
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Selection.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Selection.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Selection.h	28 May 2007 14:59:36 -0000	1.6
+++ server/asobj/Selection.h	1 Jul 2007 10:54:30 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/SharedObject.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SharedObject.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/asobj/SharedObject.cpp	26 Apr 2007 07:00:29 -0000	1.10
+++ server/asobj/SharedObject.cpp	1 Jul 2007 10:54:30 -0000	1.11
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/SharedObject.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SharedObject.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/SharedObject.h	28 May 2007 14:59:36 -0000	1.6
+++ server/asobj/SharedObject.h	1 Jul 2007 10:54:30 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Sound.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Sound.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- server/asobj/Sound.cpp	16 Jun 2007 12:47:55 -0000	1.18
+++ server/asobj/Sound.cpp	1 Jul 2007 10:54:30 -0000	1.19
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Sound.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Sound.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Sound.h	16 Jun 2007 12:47:55 -0000	1.6
+++ server/asobj/Sound.h	1 Jul 2007 10:54:30 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/SoundFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundFfmpeg.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/asobj/SoundFfmpeg.cpp	16 Jun 2007 12:47:55 -0000	1.11
+++ server/asobj/SoundFfmpeg.cpp	1 Jul 2007 10:54:31 -0000	1.12
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/SoundFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundFfmpeg.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/SoundFfmpeg.h	28 May 2007 15:41:08 -0000	1.6
+++ server/asobj/SoundFfmpeg.h	1 Jul 2007 10:54:31 -0000	1.7
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/SoundGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundGst.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/asobj/SoundGst.cpp	16 Jun 2007 12:47:55 -0000	1.8
+++ server/asobj/SoundGst.cpp	1 Jul 2007 10:54:31 -0000	1.9
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/SoundGst.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundGst.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/asobj/SoundGst.h	28 May 2007 15:41:08 -0000	1.3
+++ server/asobj/SoundGst.h	1 Jul 2007 10:54:31 -0000	1.4
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/SoundMad.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundMad.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/SoundMad.cpp	16 Jun 2007 12:47:55 -0000	1.9
+++ server/asobj/SoundMad.cpp	1 Jul 2007 10:54:31 -0000	1.10
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/SoundMad.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundMad.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/asobj/SoundMad.h	28 May 2007 15:41:08 -0000	1.3
+++ server/asobj/SoundMad.h	1 Jul 2007 10:54:31 -0000	1.4
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Stage.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Stage.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/asobj/Stage.cpp	15 Jun 2007 15:00:30 -0000	1.15
+++ server/asobj/Stage.cpp	1 Jul 2007 10:54:31 -0000	1.16
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/Stage.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Stage.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/asobj/Stage.h	1 May 2007 18:02:52 -0000	1.8
+++ server/asobj/Stage.h	1 Jul 2007 10:54:31 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/System.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/System.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/asobj/System.cpp	24 Jun 2007 12:58:28 -0000	1.13
+++ server/asobj/System.cpp	1 Jul 2007 10:54:31 -0000	1.14
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/System.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/System.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/System.h	28 May 2007 15:41:08 -0000	1.9
+++ server/asobj/System.h	1 Jul 2007 10:54:31 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/TextSnapshot.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/TextSnapshot.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/TextSnapshot.cpp	26 Apr 2007 07:00:29 -0000	1.9
+++ server/asobj/TextSnapshot.cpp	1 Jul 2007 10:54:31 -0000	1.10
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/TextSnapshot.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/TextSnapshot.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/asobj/TextSnapshot.h	28 May 2007 14:59:36 -0000	1.7
+++ server/asobj/TextSnapshot.h	1 Jul 2007 10:54:31 -0000	1.8
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/gen-asclass.pl
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/gen-asclass.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/asobj/gen-asclass.pl	26 Apr 2007 07:00:29 -0000	1.4
+++ server/asobj/gen-asclass.pl	1 Jul 2007 10:54:32 -0000	1.5
@@ -24,7 +24,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -361,7 +361,7 @@
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
+the Free Software Foundation; either version 3 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,

Index: server/asobj/gen-asclass.sh
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/gen-asclass.sh,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- server/asobj/gen-asclass.sh	16 Jun 2007 09:07:34 -0000	1.14
+++ server/asobj/gen-asclass.sh	1 Jul 2007 10:54:32 -0000	1.15
@@ -5,7 +5,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,
@@ -71,7 +71,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -120,7 +120,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/gstring.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/gstring.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/asobj/gstring.h	28 May 2007 15:41:08 -0000	1.5
+++ server/asobj/gstring.h	1 Jul 2007 10:54:32 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/string.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/string.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- server/asobj/string.cpp	28 May 2007 15:41:08 -0000	1.32
+++ server/asobj/string.cpp	1 Jul 2007 10:54:32 -0000	1.33
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: string.cpp,v 1.32 2007/05/28 15:41:08 ann Exp $ */
+/* $Id: string.cpp,v 1.33 2007/07/01 10:54:32 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/xml.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xml.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- server/asobj/xml.cpp	15 Jun 2007 18:47:00 -0000	1.43
+++ server/asobj/xml.cpp	1 Jul 2007 10:54:32 -0000	1.44
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: xml.cpp,v 1.43 2007/06/15 18:47:00 strk Exp $ */
+/* $Id: xml.cpp,v 1.44 2007/07/01 10:54:32 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/xml.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xml.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/asobj/xml.h	28 May 2007 15:41:08 -0000	1.16
+++ server/asobj/xml.h	1 Jul 2007 10:54:32 -0000	1.17
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/xmlattrs.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xmlattrs.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/asobj/xmlattrs.cpp	28 May 2007 15:41:08 -0000	1.5
+++ server/asobj/xmlattrs.cpp	1 Jul 2007 10:54:32 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: xmlattrs.cpp,v 1.5 2007/05/28 15:41:08 ann Exp $ */
+/* $Id: xmlattrs.cpp,v 1.6 2007/07/01 10:54:32 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/xmlattrs.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xmlattrs.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/asobj/xmlattrs.h	28 May 2007 15:41:08 -0000	1.5
+++ server/asobj/xmlattrs.h	1 Jul 2007 10:54:32 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/xmlnode.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xmlnode.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- server/asobj/xmlnode.cpp	15 Jun 2007 15:00:30 -0000	1.36
+++ server/asobj/xmlnode.cpp	1 Jul 2007 10:54:32 -0000	1.37
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: xmlnode.cpp,v 1.36 2007/06/15 15:00:30 strk Exp $ */
+/* $Id: xmlnode.cpp,v 1.37 2007/07/01 10:54:32 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/asobj/xmlnode.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xmlnode.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/asobj/xmlnode.h	28 May 2007 15:41:08 -0000	1.15
+++ server/asobj/xmlnode.h	1 Jul 2007 10:54:32 -0000	1.16
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/xmlsocket.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xmlsocket.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- server/asobj/xmlsocket.cpp	16 Jun 2007 12:47:55 -0000	1.29
+++ server/asobj/xmlsocket.cpp	1 Jul 2007 10:54:32 -0000	1.30
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/asobj/xmlsocket.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xmlsocket.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/xmlsocket.h	28 May 2007 15:41:08 -0000	1.9
+++ server/asobj/xmlsocket.h	1 Jul 2007 10:54:33 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/BitmapMovieDefinition.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/BitmapMovieDefinition.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/parser/BitmapMovieDefinition.cpp	15 Jun 2007 15:00:31 -0000	1.10
+++ server/parser/BitmapMovieDefinition.cpp	1 Jul 2007 10:54:33 -0000	1.11
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/BitmapMovieDefinition.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/BitmapMovieDefinition.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/parser/BitmapMovieDefinition.h	15 Jun 2007 15:00:31 -0000	1.7
+++ server/parser/BitmapMovieDefinition.h	1 Jul 2007 10:54:33 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/server/parser/Makefile.am,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- server/parser/Makefile.am	14 Jun 2007 07:17:12 -0000	1.36
+++ server/parser/Makefile.am	1 Jul 2007 10:54:33 -0000	1.37
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.36 2007/06/14 07:17:12 strk Exp $
+# $Id: Makefile.am,v 1.37 2007/07/01 10:54:33 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 

Index: server/parser/Timeline.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/Timeline.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/parser/Timeline.h	17 Jun 2007 09:07:27 -0000	1.4
+++ server/parser/Timeline.h	1 Jul 2007 10:54:33 -0000	1.5
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/parser/action_buffer.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/action_buffer.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- server/parser/action_buffer.cpp	21 May 2007 06:53:36 -0000	1.20
+++ server/parser/action_buffer.cpp	1 Jul 2007 10:54:33 -0000	1.21
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: action_buffer.cpp,v 1.20 2007/05/21 06:53:36 strk Exp $ */
+/* $Id: action_buffer.cpp,v 1.21 2007/07/01 10:54:33 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/parser/action_buffer.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/action_buffer.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- server/parser/action_buffer.h	28 May 2007 15:41:09 -0000	1.14
+++ server/parser/action_buffer.h	1 Jul 2007 10:54:33 -0000	1.15
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/bitmap_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/bitmap_character_def.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/parser/bitmap_character_def.cpp	28 May 2007 15:41:09 -0000	1.8
+++ server/parser/bitmap_character_def.cpp	1 Jul 2007 10:54:33 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/bitmap_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/bitmap_character_def.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- server/parser/bitmap_character_def.h	19 Jun 2007 14:57:03 -0000	1.18
+++ server/parser/bitmap_character_def.h	1 Jul 2007 10:54:33 -0000	1.19
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/button_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/button_character_def.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/parser/button_character_def.cpp	29 Jun 2007 20:37:51 -0000	1.15
+++ server/parser/button_character_def.cpp	1 Jul 2007 10:54:33 -0000	1.16
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: button_character_def.cpp,v 1.15 2007/06/29 20:37:51 strk Exp $ */
+/* $Id: button_character_def.cpp,v 1.16 2007/07/01 10:54:33 bjacques Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 

Index: server/parser/character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/character_def.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/parser/character_def.cpp	28 May 2007 15:41:09 -0000	1.5
+++ server/parser/character_def.cpp	1 Jul 2007 10:54:33 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: character_def.cpp,v 1.5 2007/05/28 15:41:09 ann Exp $ */
+/* $Id: character_def.cpp,v 1.6 2007/07/01 10:54:33 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/parser/character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/character_def.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- server/parser/character_def.h	28 May 2007 15:41:09 -0000	1.12
+++ server/parser/character_def.h	1 Jul 2007 10:54:33 -0000	1.13
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/edit_text_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/parser/edit_text_character_def.cpp	19 Jun 2007 18:42:50 -0000	1.9
+++ server/parser/edit_text_character_def.cpp	1 Jul 2007 10:54:34 -0000	1.10
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character_def.cpp,v 1.9 2007/06/19 18:42:50 strk Exp $ */
+/* $Id: edit_text_character_def.cpp,v 1.10 2007/07/01 10:54:34 bjacques Exp $ */
 
 // Based on the public domain text.cpp of Thatcher Ulrich <tu@tulrich.com> 2003
 

Index: server/parser/edit_text_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/parser/edit_text_character_def.h	19 Jun 2007 18:42:51 -0000	1.13
+++ server/parser/edit_text_character_def.h	1 Jul 2007 10:54:34 -0000	1.14
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/morph2_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/morph2_character_def.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/parser/morph2_character_def.cpp	16 Jun 2007 10:40:56 -0000	1.10
+++ server/parser/morph2_character_def.cpp	1 Jul 2007 10:54:34 -0000	1.11
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: morph2_character_def.cpp,v 1.10 2007/06/16 10:40:56 strk Exp $ */
+/* $Id: morph2_character_def.cpp,v 1.11 2007/07/01 10:54:34 bjacques Exp $ */
 
 // Based on the public domain morph2.cpp of:
 // Thatcher Ulrich <tu@tulrich.com>, Mike Shaver <shaver@off.net> 2003,

Index: server/parser/movie_def_impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- server/parser/movie_def_impl.cpp	30 Jun 2007 18:22:01 -0000	1.74
+++ server/parser/movie_def_impl.cpp	1 Jul 2007 10:54:34 -0000	1.75
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/parser/movie_def_impl.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- server/parser/movie_def_impl.h	30 Jun 2007 18:22:01 -0000	1.48
+++ server/parser/movie_def_impl.h	1 Jul 2007 10:54:34 -0000	1.49
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/movie_definition.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_definition.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- server/parser/movie_definition.h	18 Jun 2007 09:33:06 -0000	1.26
+++ server/parser/movie_definition.h	1 Jul 2007 10:54:34 -0000	1.27
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/shape_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/shape_character_def.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- server/parser/shape_character_def.cpp	20 Jun 2007 14:23:50 -0000	1.29
+++ server/parser/shape_character_def.cpp	1 Jul 2007 10:54:34 -0000	1.30
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: shape_character_def.cpp,v 1.29 2007/06/20 14:23:50 strk Exp $ */
+/* $Id: shape_character_def.cpp,v 1.30 2007/07/01 10:54:34 bjacques Exp $ */
 
 // Based on the public domain shape.cpp of Thatcher Ulrich <tu@tulrich.com> 2003
 

Index: server/parser/sound_definition.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/sound_definition.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/parser/sound_definition.h	28 May 2007 15:41:09 -0000	1.3
+++ server/parser/sound_definition.h	1 Jul 2007 10:54:34 -0000	1.4
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/sprite_definition.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/sprite_definition.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/parser/sprite_definition.cpp	15 Jun 2007 15:00:31 -0000	1.16
+++ server/parser/sprite_definition.cpp	1 Jul 2007 10:54:34 -0000	1.17
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/parser/sprite_definition.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/sprite_definition.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- server/parser/sprite_definition.h	18 Jun 2007 09:33:06 -0000	1.23
+++ server/parser/sprite_definition.h	1 Jul 2007 10:54:34 -0000	1.24
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/parser/text_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/text_character_def.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/parser/text_character_def.h	28 May 2007 15:41:09 -0000	1.8
+++ server/parser/text_character_def.h	1 Jul 2007 10:54:34 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/parser/video_stream_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/video_stream_def.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/parser/video_stream_def.cpp	28 May 2007 15:41:09 -0000	1.7
+++ server/parser/video_stream_def.cpp	1 Jul 2007 10:54:34 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_def.cpp,v 1.7 2007/05/28 15:41:09 ann Exp $
+// $Id: video_stream_def.cpp,v 1.8 2007/07/01 10:54:34 bjacques Exp $
 
 #include "video_stream_def.h"
 #include "video_stream_instance.h"

Index: server/parser/video_stream_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/video_stream_def.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/parser/video_stream_def.h	28 May 2007 15:41:09 -0000	1.6
+++ server/parser/video_stream_def.h	1 Jul 2007 10:54:35 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_def.h,v 1.6 2007/05/28 15:41:09 ann Exp $
+// $Id: video_stream_def.h,v 1.7 2007/07/01 10:54:35 bjacques Exp $
 
 #ifndef GNASH_VIDEO_STREAM_DEF_H
 #define GNASH_VIDEO_STREAM_DEF_H

Index: server/swf/DefineFontAlignZonesTag.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/DefineFontAlignZonesTag.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/swf/DefineFontAlignZonesTag.cpp	23 May 2007 21:55:05 -0000	1.4
+++ server/swf/DefineFontAlignZonesTag.cpp	1 Jul 2007 10:54:35 -0000	1.5
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: DefineFontAlignZonesTag.cpp,v 1.4 2007/05/23 21:55:05 strk Exp $ */
+/* $Id: DefineFontAlignZonesTag.cpp,v 1.5 2007/07/01 10:54:35 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/swf/DefineFontAlignZonesTag.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf/DefineFontAlignZonesTag.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/swf/DefineFontAlignZonesTag.h	28 May 2007 15:41:09 -0000	1.4
+++ server/swf/DefineFontAlignZonesTag.h	1 Jul 2007 10:54:35 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: DefineFontAlignZonesTag.h,v 1.4 2007/05/28 15:41:09 ann Exp $ */
+/* $Id: DefineFontAlignZonesTag.h,v 1.5 2007/07/01 10:54:35 bjacques Exp $ */
 
 #ifndef GNASH_SWF_DEFINEFONTALIGNZONESTAG_H
 #define GNASH_SWF_DEFINEFONTALIGNZONESTAG_H

Index: server/swf/DisplayListTag.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf/DisplayListTag.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/swf/DisplayListTag.h	28 May 2007 15:41:09 -0000	1.4
+++ server/swf/DisplayListTag.h	1 Jul 2007 10:54:35 -0000	1.5
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 //
 //
 
-/* $Id: DisplayListTag.h,v 1.4 2007/05/28 15:41:09 ann Exp $ */
+/* $Id: DisplayListTag.h,v 1.5 2007/07/01 10:54:35 bjacques Exp $ */
 
 #ifndef GNASH_SWF_DISPLAYLISTTAG_H
 #define GNASH_SWF_DISPLAYLISTTAG_H

Index: server/swf/DoActionTag.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf/DoActionTag.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- server/swf/DoActionTag.h	28 May 2007 15:41:09 -0000	1.2
+++ server/swf/DoActionTag.h	1 Jul 2007 10:54:35 -0000	1.3
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: DoActionTag.h,v 1.2 2007/05/28 15:41:09 ann Exp $ */
+/* $Id: DoActionTag.h,v 1.3 2007/07/01 10:54:35 bjacques Exp $ */
 
 #ifndef GNASH_SWF_DOACTIONTAG_H
 #define GNASH_SWF_DOACTIONTAG_H

Index: server/swf/PlaceObject2Tag.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/PlaceObject2Tag.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/swf/PlaceObject2Tag.cpp	17 Jun 2007 09:07:27 -0000	1.15
+++ server/swf/PlaceObject2Tag.cpp	1 Jul 2007 10:54:35 -0000	1.16
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: PlaceObject2Tag.cpp,v 1.15 2007/06/17 09:07:27 zoulunkai Exp $ */
+/* $Id: PlaceObject2Tag.cpp,v 1.16 2007/07/01 10:54:35 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/swf/PlaceObject2Tag.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf/PlaceObject2Tag.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/swf/PlaceObject2Tag.h	17 Jun 2007 09:07:27 -0000	1.11
+++ server/swf/PlaceObject2Tag.h	1 Jul 2007 10:54:35 -0000	1.12
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: PlaceObject2Tag.h,v 1.11 2007/06/17 09:07:27 zoulunkai Exp $ */
+/* $Id: PlaceObject2Tag.h,v 1.12 2007/07/01 10:54:35 bjacques Exp $ */
 
 #ifndef GNASH_SWF_PLACEOBJECT2TAG_H
 #define GNASH_SWF_PLACEOBJECT2TAG_H

Index: server/swf/RemoveObjectTag.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/RemoveObjectTag.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/swf/RemoveObjectTag.cpp	24 May 2007 08:48:03 -0000	1.3
+++ server/swf/RemoveObjectTag.cpp	1 Jul 2007 10:54:35 -0000	1.4
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: RemoveObjectTag.cpp,v 1.3 2007/05/24 08:48:03 strk Exp $ */
+/* $Id: RemoveObjectTag.cpp,v 1.4 2007/07/01 10:54:35 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/swf/RemoveObjectTag.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf/RemoveObjectTag.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/swf/RemoveObjectTag.h	28 May 2007 15:41:09 -0000	1.4
+++ server/swf/RemoveObjectTag.h	1 Jul 2007 10:54:35 -0000	1.5
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 //
 //
 
-/* $Id: RemoveObjectTag.h,v 1.4 2007/05/28 15:41:09 ann Exp $ */
+/* $Id: RemoveObjectTag.h,v 1.5 2007/07/01 10:54:35 bjacques Exp $ */
 
 #ifndef GNASH_SWF_REMOVEOBJECTTAG_H
 #define GNASH_SWF_REMOVEOBJECTTAG_H

Index: server/swf/TagLoadersTable.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/TagLoadersTable.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/swf/TagLoadersTable.cpp	28 May 2007 15:41:10 -0000	1.5
+++ server/swf/TagLoadersTable.cpp	1 Jul 2007 10:54:35 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/swf/TagLoadersTable.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf/TagLoadersTable.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/swf/TagLoadersTable.h	28 May 2007 15:41:10 -0000	1.8
+++ server/swf/TagLoadersTable.h	1 Jul 2007 10:54:36 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/swf/tag_loaders.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/tag_loaders.cpp,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -b -r1.115 -r1.116
--- server/swf/tag_loaders.cpp	20 Jun 2007 23:20:44 -0000	1.115
+++ server/swf/tag_loaders.cpp	1 Jul 2007 10:54:36 -0000	1.116
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: tag_loaders.cpp,v 1.115 2007/06/20 23:20:44 strk Exp $ */
+/* $Id: tag_loaders.cpp,v 1.116 2007/07/01 10:54:36 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/swf/tag_loaders.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf/tag_loaders.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- server/swf/tag_loaders.h	28 May 2007 15:41:10 -0000	1.18
+++ server/swf/tag_loaders.h	1 Jul 2007 10:54:36 -0000	1.19
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: tag_loaders.h,v 1.18 2007/05/28 15:41:10 ann Exp $ */
+/* $Id: tag_loaders.h,v 1.19 2007/07/01 10:54:36 bjacques Exp $ */
 
 #ifndef GNASH_SWF_TAG_LOADERS_H
 #define GNASH_SWF_TAG_LOADERS_H

Index: server/vm/ASHandlers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ASHandlers.cpp,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -b -r1.109 -r1.110
--- server/vm/ASHandlers.cpp	18 Jun 2007 00:27:44 -0000	1.109
+++ server/vm/ASHandlers.cpp	1 Jul 2007 10:54:36 -0000	1.110
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: ASHandlers.cpp,v 1.109 2007/06/18 00:27:44 strk Exp $ */
+/* $Id: ASHandlers.cpp,v 1.110 2007/07/01 10:54:36 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/vm/ASHandlers.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ASHandlers.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/vm/ASHandlers.h	28 May 2007 15:41:10 -0000	1.7
+++ server/vm/ASHandlers.h	1 Jul 2007 10:54:36 -0000	1.8
@@ -2,7 +2,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/vm/ActionExec.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ActionExec.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- server/vm/ActionExec.cpp	15 Jun 2007 18:47:00 -0000	1.38
+++ server/vm/ActionExec.cpp	1 Jul 2007 10:54:36 -0000	1.39
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: ActionExec.cpp,v 1.38 2007/06/15 18:47:00 strk Exp $ */
+/* $Id: ActionExec.cpp,v 1.39 2007/07/01 10:54:36 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/vm/ActionExec.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ActionExec.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- server/vm/ActionExec.h	28 May 2007 15:41:10 -0000	1.18
+++ server/vm/ActionExec.h	1 Jul 2007 10:54:36 -0000	1.19
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/vm/ExecutableCode.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ExecutableCode.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/vm/ExecutableCode.h	16 Jun 2007 11:27:40 -0000	1.6
+++ server/vm/ExecutableCode.h	1 Jul 2007 10:54:36 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: ExecutableCode.h,v 1.6 2007/06/16 11:27:40 strk Exp $ */
+/* $Id: ExecutableCode.h,v 1.7 2007/07/01 10:54:36 bjacques Exp $ */
 
 #ifndef GNASH_EXECUTABLECODE_H
 #define GNASH_EXECUTABLECODE_H

Index: server/vm/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/server/vm/Makefile.am,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/vm/Makefile.am	4 May 2007 09:40:25 -0000	1.13
+++ server/vm/Makefile.am	1 Jul 2007 10:54:37 -0000	1.14
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.13 2007/05/04 09:40:25 strk Exp $
+# $Id: Makefile.am,v 1.14 2007/07/01 10:54:37 bjacques Exp $
 
 AUTOMAKE_OPTIONS = 
 

Index: server/vm/VM.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/VM.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/vm/VM.cpp	15 Jun 2007 15:00:31 -0000	1.10
+++ server/vm/VM.cpp	1 Jul 2007 10:54:37 -0000	1.11
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: VM.cpp,v 1.10 2007/06/15 15:00:31 strk Exp $ */
+/* $Id: VM.cpp,v 1.11 2007/07/01 10:54:37 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: server/vm/VM.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/VM.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/vm/VM.h	15 Jun 2007 15:00:31 -0000	1.11
+++ server/vm/VM.h	1 Jul 2007 10:54:37 -0000	1.12
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/vm/action.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/action.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- server/vm/action.cpp	14 Jun 2007 02:03:19 -0000	1.21
+++ server/vm/action.cpp	1 Jul 2007 10:54:37 -0000	1.22
@@ -4,7 +4,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: server/vm/action.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/action.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/vm/action.h	28 May 2007 15:41:10 -0000	1.5
+++ server/vm/action.h	1 Jul 2007 10:54:37 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/vm/fn_call.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/fn_call.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/vm/fn_call.h	28 May 2007 15:41:10 -0000	1.9
+++ server/vm/fn_call.h	1 Jul 2007 10:54:37 -0000	1.10
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: server/vm/with_stack_entry.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/with_stack_entry.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/vm/with_stack_entry.h	28 May 2007 15:41:10 -0000	1.6
+++ server/vm/with_stack_entry.h	1 Jul 2007 10:54:37 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/DummyCharacter.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/DummyCharacter.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/DummyCharacter.h	28 May 2007 15:41:10 -0000	1.3
+++ testsuite/DummyCharacter.h	1 Jul 2007 10:54:37 -0000	1.4
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/DummyMovieDefinition.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/DummyMovieDefinition.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/DummyMovieDefinition.h	28 May 2007 15:41:10 -0000	1.4
+++ testsuite/DummyMovieDefinition.h	1 Jul 2007 10:54:37 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/FuzzyPixel.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/FuzzyPixel.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/FuzzyPixel.cpp	28 May 2007 15:41:10 -0000	1.2
+++ testsuite/FuzzyPixel.cpp	1 Jul 2007 10:54:37 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/FuzzyPixel.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/FuzzyPixel.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/FuzzyPixel.h	29 May 2007 17:15:14 -0000	1.5
+++ testsuite/FuzzyPixel.h	1 Jul 2007 10:54:37 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/MovieTester.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/MovieTester.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- testsuite/MovieTester.cpp	16 Jun 2007 06:55:57 -0000	1.44
+++ testsuite/MovieTester.cpp	1 Jul 2007 10:54:37 -0000	1.45
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/MovieTester.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/MovieTester.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- testsuite/MovieTester.h	7 Jun 2007 14:50:34 -0000	1.27
+++ testsuite/MovieTester.h	1 Jul 2007 10:54:38 -0000	1.28
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/generic-testrunner.sh
===================================================================
RCS file: /sources/gnash/gnash/testsuite/generic-testrunner.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/generic-testrunner.sh	8 May 2007 21:13:48 -0000	1.8
+++ testsuite/generic-testrunner.sh	1 Jul 2007 10:54:38 -0000	1.9
@@ -5,7 +5,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,

Index: testsuite/actionscript.all/Boolean.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Boolean.as,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/actionscript.all/Boolean.as	15 Mar 2007 22:39:54 -0000	1.12
+++ testsuite/actionscript.all/Boolean.as	1 Jul 2007 10:54:38 -0000	1.13
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Boolean.as,v 1.12 2007/03/15 22:39:54 strk Exp $";
+rcsid="$Id: Boolean.as,v 1.13 2007/07/01 10:54:38 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Camera.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Camera.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/Camera.as	11 Jan 2007 13:29:32 -0000	1.10
+++ testsuite/actionscript.all/Camera.as	1 Jul 2007 10:54:38 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Camera.as,v 1.10 2007/01/11 13:29:32 strk Exp $";
+rcsid="$Id: Camera.as,v 1.11 2007/07/01 10:54:38 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Color.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Color.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/Color.as	12 Jan 2007 10:27:34 -0000	1.7
+++ testsuite/actionscript.all/Color.as	1 Jul 2007 10:54:38 -0000	1.8
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modchecky
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Color.as,v 1.7 2007/01/12 10:27:34 strk Exp $";
+rcsid="$Id: Color.as,v 1.8 2007/07/01 10:54:38 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/ContextMenu.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ContextMenu.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/ContextMenu.as	7 Mar 2007 22:47:53 -0000	1.9
+++ testsuite/actionscript.all/ContextMenu.as	1 Jul 2007 10:54:38 -0000	1.10
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: ContextMenu.as,v 1.9 2007/03/07 22:47:53 strk Exp $";
+rcsid="$Id: ContextMenu.as,v 1.10 2007/07/01 10:54:38 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/CustomActions.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/CustomActions.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/CustomActions.as	23 Nov 2006 15:18:09 -0000	1.7
+++ testsuite/actionscript.all/CustomActions.as	1 Jul 2007 10:54:38 -0000	1.8
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -25,7 +25,7 @@
 // See http://sephiroth.it/reference.php?id=156&cat=1
 #if 0
 
-rcsid="$Id: CustomActions.as,v 1.7 2006/11/23 15:18:09 strk Exp $";
+rcsid="$Id: CustomActions.as,v 1.8 2007/07/01 10:54:38 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Date.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Date.as,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/actionscript.all/Date.as	19 Apr 2007 17:06:46 -0000	1.24
+++ testsuite/actionscript.all/Date.as	1 Jul 2007 10:54:38 -0000	1.25
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Date.as,v 1.24 2007/04/19 17:06:46 martinwguy Exp $";
+rcsid="$Id: Date.as,v 1.25 2007/07/01 10:54:38 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Error.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Error.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/Error.as	11 Jan 2007 11:30:12 -0000	1.8
+++ testsuite/actionscript.all/Error.as	1 Jul 2007 10:54:38 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Error.as,v 1.8 2007/01/11 11:30:12 strk Exp $";
+rcsid="$Id: Error.as,v 1.9 2007/07/01 10:54:38 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Function.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Function.as,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- testsuite/actionscript.all/Function.as	14 Jun 2007 13:58:29 -0000	1.50
+++ testsuite/actionscript.all/Function.as	1 Jul 2007 10:54:38 -0000	1.51
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Function.as,v 1.50 2007/06/14 13:58:29 strk Exp $";
+rcsid="$Id: Function.as,v 1.51 2007/07/01 10:54:38 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Global.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Global.as,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/actionscript.all/Global.as	27 Apr 2007 16:43:09 -0000	1.24
+++ testsuite/actionscript.all/Global.as	1 Jul 2007 10:54:39 -0000	1.25
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Global.as,v 1.24 2007/04/27 16:43:09 strk Exp $";
+rcsid="$Id: Global.as,v 1.25 2007/07/01 10:54:39 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- testsuite/actionscript.all/Inheritance.as	21 Mar 2007 14:37:20 -0000	1.30
+++ testsuite/actionscript.all/Inheritance.as	1 Jul 2007 10:54:39 -0000	1.31
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Inheritance.as,v 1.30 2007/03/21 14:37:20 strk Exp $";
+rcsid="$Id: Inheritance.as,v 1.31 2007/07/01 10:54:39 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/LoadVars.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/LoadVars.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/LoadVars.as	19 Mar 2007 14:10:22 -0000	1.11
+++ testsuite/actionscript.all/LoadVars.as	1 Jul 2007 10:54:39 -0000	1.12
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: LoadVars.as,v 1.11 2007/03/19 14:10:22 bjacques Exp $";
+rcsid="$Id: LoadVars.as,v 1.12 2007/07/01 10:54:39 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/LocalConnection.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/LocalConnection.as,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- testsuite/actionscript.all/LocalConnection.as	20 Mar 2007 18:12:30 -0000	1.14
+++ testsuite/actionscript.all/LocalConnection.as	1 Jul 2007 10:54:39 -0000	1.15
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: LocalConnection.as,v 1.14 2007/03/20 18:12:30 bjacques Exp $";
+rcsid="$Id: LocalConnection.as,v 1.15 2007/07/01 10:54:39 bjacques Exp $";
 
 #include "dejagnu.as"
 

Index: testsuite/actionscript.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Makefile.am,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- testsuite/actionscript.all/Makefile.am	9 May 2007 15:53:46 -0000	1.72
+++ testsuite/actionscript.all/Makefile.am	1 Jul 2007 10:54:39 -0000	1.73
@@ -4,7 +4,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.72 2007/05/09 15:53:46 strk Exp $
+# $Id: Makefile.am,v 1.73 2007/07/01 10:54:39 bjacques Exp $
 
 AUTOMAKE_OPTIONS = dejagnu
 

Index: testsuite/actionscript.all/Math.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Math.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/actionscript.all/Math.as	15 Mar 2007 22:39:54 -0000	1.3
+++ testsuite/actionscript.all/Math.as	1 Jul 2007 10:54:39 -0000	1.4
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-rcsid="$Id: Math.as,v 1.3 2007/03/15 22:39:54 strk Exp $";
+rcsid="$Id: Math.as,v 1.4 2007/07/01 10:54:39 bjacques Exp $";
 
 // Test case for Math ActionScript class
 //

Index: testsuite/actionscript.all/Microphone.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Microphone.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/Microphone.as	22 Nov 2006 10:15:14 -0000	1.7
+++ testsuite/actionscript.all/Microphone.as	1 Jul 2007 10:54:39 -0000	1.8
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Microphone.as,v 1.7 2006/11/22 10:15:14 strk Exp $";
+rcsid="$Id: Microphone.as,v 1.8 2007/07/01 10:54:39 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Mouse.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Mouse.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/Mouse.as	22 Nov 2006 10:19:06 -0000	1.7
+++ testsuite/actionscript.all/Mouse.as	1 Jul 2007 10:54:39 -0000	1.8
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Mouse.as,v 1.7 2006/11/22 10:19:06 strk Exp $";
+rcsid="$Id: Mouse.as,v 1.8 2007/07/01 10:54:39 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- testsuite/actionscript.all/MovieClip.as	24 May 2007 09:00:48 -0000	1.70
+++ testsuite/actionscript.all/MovieClip.as	1 Jul 2007 10:54:39 -0000	1.71
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.70 2007/05/24 09:00:48 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.71 2007/07/01 10:54:39 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/MovieClipLoader.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClipLoader.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/actionscript.all/MovieClipLoader.as	11 Feb 2007 22:07:29 -0000	1.1
+++ testsuite/actionscript.all/MovieClipLoader.as	1 Jul 2007 10:54:39 -0000	1.2
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClipLoader.as,v 1.1 2007/02/11 22:07:29 strk Exp $";
+rcsid="$Id: MovieClipLoader.as,v 1.2 2007/07/01 10:54:39 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/NetConnection.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/NetConnection.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/NetConnection.as	5 May 2007 16:35:32 -0000	1.9
+++ testsuite/actionscript.all/NetConnection.as	1 Jul 2007 10:54:39 -0000	1.10
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/actionscript.all/NetStream.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/NetStream.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/NetStream.as	30 Mar 2007 13:57:27 -0000	1.10
+++ testsuite/actionscript.all/NetStream.as	1 Jul 2007 10:54:40 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: NetStream.as,v 1.10 2007/03/30 13:57:27 tgc Exp $";
+rcsid="$Id: NetStream.as,v 1.11 2007/07/01 10:54:40 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- testsuite/actionscript.all/Number.as	13 May 2007 17:13:09 -0000	1.19
+++ testsuite/actionscript.all/Number.as	1 Jul 2007 10:54:40 -0000	1.20
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modchecky
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -26,7 +26,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //	
 
-rcsid="$Id: Number.as,v 1.19 2007/05/13 17:13:09 strk Exp $";
+rcsid="$Id: Number.as,v 1.20 2007/07/01 10:54:40 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Object.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Object.as,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/actionscript.all/Object.as	15 Mar 2007 22:39:54 -0000	1.24
+++ testsuite/actionscript.all/Object.as	1 Jul 2007 10:54:40 -0000	1.25
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Object.as,v 1.24 2007/03/15 22:39:54 strk Exp $";
+rcsid="$Id: Object.as,v 1.25 2007/07/01 10:54:40 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Selection.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Selection.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/Selection.as	12 Jan 2007 09:53:58 -0000	1.8
+++ testsuite/actionscript.all/Selection.as	1 Jul 2007 10:54:40 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Selection.as,v 1.8 2007/01/12 09:53:58 strk Exp $";
+rcsid="$Id: Selection.as,v 1.9 2007/07/01 10:54:40 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/SharedObject.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/SharedObject.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/SharedObject.as	29 Mar 2007 12:57:36 -0000	1.8
+++ testsuite/actionscript.all/SharedObject.as	1 Jul 2007 10:54:40 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: SharedObject.as,v 1.8 2007/03/29 12:57:36 strk Exp $";
+rcsid="$Id: SharedObject.as,v 1.9 2007/07/01 10:54:40 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Stage.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Stage.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/Stage.as	1 May 2007 18:02:52 -0000	1.10
+++ testsuite/actionscript.all/Stage.as	1 Jul 2007 10:54:40 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Stage.as,v 1.10 2007/05/01 18:02:52 strk Exp $";
+rcsid="$Id: Stage.as,v 1.11 2007/07/01 10:54:40 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/String.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/String.as,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- testsuite/actionscript.all/String.as	19 Apr 2007 10:27:10 -0000	1.18
+++ testsuite/actionscript.all/String.as	1 Jul 2007 10:54:40 -0000	1.19
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -16,7 +16,7 @@
 
 // Original author: Mike Carlson - June 19th, 2006
 
-rcsid="$Id: String.as,v 1.18 2007/04/19 10:27:10 strk Exp $";
+rcsid="$Id: String.as,v 1.19 2007/07/01 10:54:40 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/System.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/System.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/System.as	15 Mar 2007 22:39:54 -0000	1.10
+++ testsuite/actionscript.all/System.as	1 Jul 2007 10:54:40 -0000	1.11
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: System.as,v 1.10 2007/03/15 22:39:54 strk Exp $";
+rcsid="$Id: System.as,v 1.11 2007/07/01 10:54:40 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/actionscript.all/TextField.as	28 Mar 2007 20:01:04 -0000	1.1
+++ testsuite/actionscript.all/TextField.as	1 Jul 2007 10:54:41 -0000	1.2
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.1 2007/03/28 20:01:04 strk Exp $";
+rcsid="$Id: TextField.as,v 1.2 2007/07/01 10:54:41 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/TextSnapshot.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextSnapshot.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/TextSnapshot.as	15 Jan 2007 16:36:49 -0000	1.7
+++ testsuite/actionscript.all/TextSnapshot.as	1 Jul 2007 10:54:41 -0000	1.8
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextSnapshot.as,v 1.7 2007/01/15 16:36:49 strk Exp $";
+rcsid="$Id: TextSnapshot.as,v 1.8 2007/07/01 10:54:41 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Video.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Video.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/Video.as	10 Jan 2007 11:26:18 -0000	1.8
+++ testsuite/actionscript.all/Video.as	1 Jul 2007 10:54:41 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Video.as,v 1.8 2007/01/10 11:26:18 strk Exp $";
+rcsid="$Id: Video.as,v 1.9 2007/07/01 10:54:41 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/XML.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XML.as,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- testsuite/actionscript.all/XML.as	22 May 2007 09:56:25 -0000	1.33
+++ testsuite/actionscript.all/XML.as	1 Jul 2007 10:54:41 -0000	1.34
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: XML.as,v 1.33 2007/05/22 09:56:25 udog Exp $";
+rcsid="$Id: XML.as,v 1.34 2007/07/01 10:54:41 bjacques Exp $";
 
 #include "dejagnu.as"
 #include "utils.as"

Index: testsuite/actionscript.all/XMLNode.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XMLNode.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/XMLNode.as	4 Apr 2007 14:22:11 -0000	1.11
+++ testsuite/actionscript.all/XMLNode.as	1 Jul 2007 10:54:41 -0000	1.12
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: XMLNode.as,v 1.11 2007/04/04 14:22:11 strk Exp $";
+rcsid="$Id: XMLNode.as,v 1.12 2007/07/01 10:54:41 bjacques Exp $";
 
 #include "dejagnu.as"
 

Index: testsuite/actionscript.all/XMLSocket.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XMLSocket.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/actionscript.all/XMLSocket.as	4 Apr 2007 07:53:28 -0000	1.4
+++ testsuite/actionscript.all/XMLSocket.as	1 Jul 2007 10:54:41 -0000	1.5
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: XMLSocket.as,v 1.4 2007/04/04 07:53:28 strk Exp $";
+rcsid="$Id: XMLSocket.as,v 1.5 2007/07/01 10:54:41 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/check.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/check.as,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- testsuite/actionscript.all/check.as	14 Apr 2007 16:27:22 -0000	1.27
+++ testsuite/actionscript.all/check.as	1 Jul 2007 10:54:42 -0000	1.28
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/actionscript.all/dejagnu.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/dejagnu.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/dejagnu.as	23 Nov 2006 14:37:08 -0000	1.8
+++ testsuite/actionscript.all/dejagnu.as	1 Jul 2007 10:54:42 -0000	1.9
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -31,7 +31,7 @@
 // different folks works for me as long as the standard keywords are
 // used to keep DejaGnu happy.
 
-//rcsid="$Id: dejagnu.as,v 1.8 2006/11/23 14:37:08 strk Exp $";
+//rcsid="$Id: dejagnu.as,v 1.9 2007/07/01 10:54:42 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/enumerate.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/enumerate.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/actionscript.all/enumerate.as	22 Jun 2007 08:25:17 -0000	1.4
+++ testsuite/actionscript.all/enumerate.as	1 Jul 2007 10:54:42 -0000	1.5
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modchecky
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: testsuite/actionscript.all/gen-test.sh
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/gen-test.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/actionscript.all/gen-test.sh	28 Feb 2006 22:05:00 -0000	1.3
+++ testsuite/actionscript.all/gen-test.sh	1 Jul 2007 10:54:42 -0000	1.4
@@ -5,7 +5,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,
@@ -69,7 +69,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/actionscript.all/getvariable.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/getvariable.as,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/actionscript.all/getvariable.as	16 Apr 2007 16:47:30 -0000	1.12
+++ testsuite/actionscript.all/getvariable.as	1 Jul 2007 10:54:42 -0000	1.13
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: getvariable.as,v 1.12 2007/04/16 16:47:30 strk Exp $";
+rcsid="$Id: getvariable.as,v 1.13 2007/07/01 10:54:42 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/rtmp.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/rtmp.as,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/actionscript.all/rtmp.as	29 May 2007 17:51:18 -0000	1.5
+++ testsuite/actionscript.all/rtmp.as	1 Jul 2007 10:54:42 -0000	1.6
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -19,7 +19,7 @@
 //
 
 
-rcsid='$Id: rtmp.as,v 1.5 2007/05/29 17:51:18 strk Exp $';
+rcsid='$Id: rtmp.as,v 1.6 2007/07/01 10:54:42 bjacques Exp $';
 
 #include "dejagnu.as"
 #include "utils.as"

Index: testsuite/actionscript.all/rtrace.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/rtrace.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/actionscript.all/rtrace.as	29 Oct 2006 18:34:18 -0000	1.3
+++ testsuite/actionscript.all/rtrace.as	1 Jul 2007 10:54:42 -0000	1.4
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/actionscript.all/swap.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/swap.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/actionscript.all/swap.as	15 Jan 2007 14:16:06 -0000	1.1
+++ testsuite/actionscript.all/swap.as	1 Jul 2007 10:54:43 -0000	1.2
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modchecky
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -21,7 +21,7 @@
  *  Test stack status after action "Swap"
  */
 
-rcsid="$Id: swap.as,v 1.1 2007/01/15 14:16:06 strk Exp $";
+rcsid="$Id: swap.as,v 1.2 2007/07/01 10:54:43 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/targetPath.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/targetPath.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/actionscript.all/targetPath.as	30 Mar 2007 07:32:28 -0000	1.2
+++ testsuite/actionscript.all/targetPath.as	1 Jul 2007 10:54:43 -0000	1.3
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modchecky
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
  *  Test targetPath tags (0x45)
  */
 
-rcsid="$Id: targetPath.as,v 1.2 2007/03/30 07:32:28 strk Exp $";
+rcsid="$Id: targetPath.as,v 1.3 2007/07/01 10:54:43 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/utils.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/utils.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/actionscript.all/utils.as	29 Oct 2006 18:34:18 -0000	1.3
+++ testsuite/actionscript.all/utils.as	1 Jul 2007 10:54:43 -0000	1.4
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/actionscript.all/with.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/with.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/with.as	28 Apr 2007 16:56:54 -0000	1.11
+++ testsuite/actionscript.all/with.as	1 Jul 2007 10:54:43 -0000	1.12
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: with.as,v 1.11 2007/04/28 16:56:54 strk Exp $";
+rcsid="$Id: with.as,v 1.12 2007/07/01 10:54:43 bjacques Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/xtrace.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/xtrace.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/xtrace.as	29 Oct 2006 18:34:18 -0000	1.7
+++ testsuite/actionscript.all/xtrace.as	1 Jul 2007 10:54:43 -0000	1.8
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libamf.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/libamf.all/Makefile.am	30 Apr 2007 19:53:31 -0000	1.3
+++ testsuite/libamf.all/Makefile.am	1 Jul 2007 10:54:43 -0000	1.4
@@ -4,7 +4,7 @@
 # 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 # 
 # This program is distributed in the hope that it will be useful,
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.3 2007/04/30 19:53:31 strk Exp $
+# $Id: Makefile.am,v 1.4 2007/07/01 10:54:43 bjacques Exp $
 
 AUTOMAKE_OPTIONS = dejagnu
 

Index: testsuite/libamf.all/test_number.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_number.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/libamf.all/test_number.cpp	28 May 2007 15:41:11 -0000	1.6
+++ testsuite/libamf.all/test_number.cpp	1 Jul 2007 10:54:43 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libamf.all/test_object.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_object.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/libamf.all/test_object.cpp	28 May 2007 15:41:11 -0000	1.6
+++ testsuite/libamf.all/test_object.cpp	1 Jul 2007 10:54:44 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libamf.all/test_string.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_string.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/libamf.all/test_string.cpp	28 May 2007 15:41:11 -0000	1.7
+++ testsuite/libamf.all/test_string.cpp	1 Jul 2007 10:54:44 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libamf.all/test_variable.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_variable.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/libamf.all/test_variable.cpp	28 May 2007 15:41:11 -0000	1.5
+++ testsuite/libamf.all/test_variable.cpp	1 Jul 2007 10:54:44 -0000	1.6
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libbase/CurlStreamTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/CurlStreamTest.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/libbase/CurlStreamTest.cpp	28 May 2007 15:41:11 -0000	1.6
+++ testsuite/libbase/CurlStreamTest.cpp	1 Jul 2007 10:54:44 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libbase/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/Makefile.am,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- testsuite/libbase/Makefile.am	25 Feb 2007 16:34:30 -0000	1.28
+++ testsuite/libbase/Makefile.am	1 Jul 2007 10:54:44 -0000	1.29
@@ -4,7 +4,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: testsuite/libbase/NoSeekFileTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/NoSeekFileTest.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/libbase/NoSeekFileTest.cpp	28 May 2007 15:41:11 -0000	1.7
+++ testsuite/libbase/NoSeekFileTest.cpp	1 Jul 2007 10:54:44 -0000	1.8
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libbase/TCXXRc.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/TCXXRc.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/libbase/TCXXRc.cpp	1 Jun 2007 15:01:55 -0000	1.12
+++ testsuite/libbase/TCXXRc.cpp	1 Jul 2007 10:54:44 -0000	1.13
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libbase/URLTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/URLTest.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- testsuite/libbase/URLTest.cpp	28 May 2007 15:41:11 -0000	1.15
+++ testsuite/libbase/URLTest.cpp	1 Jul 2007 10:54:44 -0000	1.16
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libgeometry/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libgeometry/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/libgeometry/Makefile.am	2 Mar 2007 15:30:04 -0000	1.3
+++ testsuite/libgeometry/Makefile.am	1 Jul 2007 10:54:44 -0000	1.4
@@ -4,7 +4,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: testsuite/libgeometry/Range2dTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libgeometry/Range2dTest.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/libgeometry/Range2dTest.cpp	28 May 2007 15:41:11 -0000	1.10
+++ testsuite/libgeometry/Range2dTest.cpp	1 Jul 2007 10:54:45 -0000	1.11
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/libgeometry/snappingrangetest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libgeometry/snappingrangetest.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/libgeometry/snappingrangetest.cpp	28 May 2007 15:41:11 -0000	1.6
+++ testsuite/libgeometry/snappingrangetest.cpp	1 Jul 2007 10:54:45 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp	28 May 2007 15:41:12 -0000	1.20
+++ testsuite/misc-ming.all/ButtonEventsTest-Runner.cpp	1 Jul 2007 10:54:45 -0000	1.21
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/ButtonEventsTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ButtonEventsTest.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/misc-ming.all/ButtonEventsTest.c	10 May 2007 13:14:42 -0000	1.7
+++ testsuite/misc-ming.all/ButtonEventsTest.c	1 Jul 2007 10:54:45 -0000	1.8
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-ming.all/DefineEditTextTest.c	13 Jun 2007 16:53:48 -0000	1.8
+++ testsuite/misc-ming.all/DefineEditTextTest.c	1 Jul 2007 10:54:45 -0000	1.9
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp	28 May 2007 15:41:12 -0000	1.12
+++ testsuite/misc-ming.all/DefineEditTextVariableNameTest-Runner.cpp	1 Jul 2007 10:54:45 -0000	1.13
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/DefineEditTextVariableNameTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextVariableNameTest.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- testsuite/misc-ming.all/DefineEditTextVariableNameTest.c	30 Dec 2006 23:39:04 -0000	1.19
+++ testsuite/misc-ming.all/DefineEditTextVariableNameTest.c	1 Jul 2007 10:54:46 -0000	1.20
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/Dejagnu.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Dejagnu.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/Dejagnu.c	28 Mar 2007 12:55:41 -0000	1.3
+++ testsuite/misc-ming.all/Dejagnu.c	1 Jul 2007 10:54:46 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/DrawingApiTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DrawingApiTestRunner.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- testsuite/misc-ming.all/DrawingApiTestRunner.cpp	29 May 2007 09:16:29 -0000	1.19
+++ testsuite/misc-ming.all/DrawingApiTestRunner.cpp	1 Jul 2007 10:54:46 -0000	1.20
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/FlashVarsTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/FlashVarsTest.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/FlashVarsTest.as	28 Mar 2007 10:52:34 -0000	1.1
+++ testsuite/misc-ming.all/FlashVarsTest.as	1 Jul 2007 10:54:46 -0000	1.2
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/KeyTest-Runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/KeyTest-Runner.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/KeyTest-Runner.cpp	28 May 2007 15:41:12 -0000	1.3
+++ testsuite/misc-ming.all/KeyTest-Runner.cpp	1 Jul 2007 10:54:46 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.137
retrieving revision 1.138
diff -u -b -r1.137 -r1.138
--- testsuite/misc-ming.all/Makefile.am	25 Jun 2007 07:59:59 -0000	1.137
+++ testsuite/misc-ming.all/Makefile.am	1 Jul 2007 10:54:46 -0000	1.138
@@ -4,7 +4,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/NetStream-SquareTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- testsuite/misc-ming.all/NetStream-SquareTest.c	6 Jun 2007 10:07:28 -0000	1.13
+++ testsuite/misc-ming.all/NetStream-SquareTest.c	1 Jul 2007 10:54:46 -0000	1.14
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp	7 Jun 2007 14:50:34 -0000	1.4
+++ testsuite/misc-ming.all/NetStream-SquareTestRunner.cpp	1 Jul 2007 10:54:46 -0000	1.5
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/PlaceObject2Test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/PlaceObject2Test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/PlaceObject2Test.c	19 Apr 2007 15:48:48 -0000	1.6
+++ testsuite/misc-ming.all/PlaceObject2Test.c	1 Jul 2007 10:54:47 -0000	1.7
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/RemoveObject2Test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/RemoveObject2Test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/RemoveObject2Test.c	29 Oct 2006 18:34:18 -0000	1.2
+++ testsuite/misc-ming.all/RemoveObject2Test.c	1 Jul 2007 10:54:47 -0000	1.3
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/RollOverOutTest-Runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/RollOverOutTest-Runner.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-ming.all/RollOverOutTest-Runner.cpp	28 May 2007 15:41:12 -0000	1.8
+++ testsuite/misc-ming.all/RollOverOutTest-Runner.cpp	1 Jul 2007 10:54:47 -0000	1.9
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/RollOverOutTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/RollOverOutTest.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/RollOverOutTest.c	26 Feb 2007 16:26:41 -0000	1.3
+++ testsuite/misc-ming.all/RollOverOutTest.c	1 Jul 2007 10:54:47 -0000	1.4
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/SpriteButtonEventsTest-Runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/SpriteButtonEventsTest-Runner.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/SpriteButtonEventsTest-Runner.cpp	28 May 2007 15:41:12 -0000	1.3
+++ testsuite/misc-ming.all/SpriteButtonEventsTest-Runner.cpp	1 Jul 2007 10:54:47 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/SpriteButtonEventsTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/SpriteButtonEventsTest.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/SpriteButtonEventsTest.c	10 May 2007 13:50:44 -0000	1.1
+++ testsuite/misc-ming.all/SpriteButtonEventsTest.c	1 Jul 2007 10:54:47 -0000	1.2
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/Video-EmbedSquareTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Video-EmbedSquareTest.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/Video-EmbedSquareTest.c	15 May 2007 06:40:41 -0000	1.2
+++ testsuite/misc-ming.all/Video-EmbedSquareTest.c	1 Jul 2007 10:54:47 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp	7 Jun 2007 12:37:29 -0000	1.5
+++ testsuite/misc-ming.all/Video-EmbedSquareTestRunner.cpp	1 Jul 2007 10:54:47 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_extend_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_extend_test.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-ming.all/action_execution_order_extend_test.c	24 Apr 2007 07:25:20 -0000	1.8
+++ testsuite/misc-ming.all/action_execution_order_extend_test.c	1 Jul 2007 10:54:47 -0000	1.9
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/misc-ming.all/action_execution_order_test.c	5 Mar 2007 08:29:05 -0000	1.9
+++ testsuite/misc-ming.all/action_execution_order_test.c	1 Jul 2007 10:54:47 -0000	1.10
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test1.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/action_execution_order_test1.c	15 Mar 2007 22:39:54 -0000	1.1
+++ testsuite/misc-ming.all/action_execution_order_test1.c	1 Jul 2007 10:54:48 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test2.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/action_execution_order_test2.c	15 Mar 2007 22:39:54 -0000	1.1
+++ testsuite/misc-ming.all/action_execution_order_test2.c	1 Jul 2007 10:54:48 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test3.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test3.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/action_execution_order_test3.c	15 Mar 2007 22:39:54 -0000	1.1
+++ testsuite/misc-ming.all/action_execution_order_test3.c	1 Jul 2007 10:54:48 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test4.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test4.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/action_execution_order_test4.c	19 Mar 2007 09:41:02 -0000	1.2
+++ testsuite/misc-ming.all/action_execution_order_test4.c	1 Jul 2007 10:54:48 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test5.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test5.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/action_execution_order_test5.c	16 Mar 2007 03:39:53 -0000	1.1
+++ testsuite/misc-ming.all/action_execution_order_test5.c	1 Jul 2007 10:54:48 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test6.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test6.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/action_execution_order_test6.c	19 Apr 2007 15:48:48 -0000	1.4
+++ testsuite/misc-ming.all/action_execution_order_test6.c	1 Jul 2007 10:54:49 -0000	1.5
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test7.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test7.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/action_execution_order_test7.c	30 Apr 2007 02:16:50 -0000	1.1
+++ testsuite/misc-ming.all/action_execution_order_test7.c	1 Jul 2007 10:54:49 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test8.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test8.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/action_execution_order_test8.c	15 May 2007 08:05:01 -0000	1.6
+++ testsuite/misc-ming.all/action_execution_order_test8.c	1 Jul 2007 10:54:49 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/action_execution_order_test9.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/action_execution_order_test9.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/action_execution_order_test9.c	15 May 2007 10:14:33 -0000	1.3
+++ testsuite/misc-ming.all/action_execution_order_test9.c	1 Jul 2007 10:54:49 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/attachMovieLoopingTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/attachMovieLoopingTest.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/attachMovieLoopingTest.c	24 Jan 2007 23:33:01 -0000	1.2
+++ testsuite/misc-ming.all/attachMovieLoopingTest.c	1 Jul 2007 10:54:49 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/attachMovieLoopingTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/attachMovieLoopingTestRunner.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/attachMovieLoopingTestRunner.cpp	28 May 2007 15:41:12 -0000	1.4
+++ testsuite/misc-ming.all/attachMovieLoopingTestRunner.cpp	1 Jul 2007 10:54:50 -0000	1.5
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/attachMovieTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/attachMovieTest.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/attachMovieTest.c	20 Feb 2007 10:00:48 -0000	1.6
+++ testsuite/misc-ming.all/attachMovieTest.c	1 Jul 2007 10:54:50 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/attachMovieTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/attachMovieTestRunner.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/misc-ming.all/attachMovieTestRunner.cpp	28 May 2007 15:41:12 -0000	1.11
+++ testsuite/misc-ming.all/attachMovieTestRunner.cpp	1 Jul 2007 10:54:50 -0000	1.12
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/callFunction_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/callFunction_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/callFunction_test.c	26 Jun 2007 08:36:32 -0000	1.2
+++ testsuite/misc-ming.all/callFunction_test.c	1 Jul 2007 10:54:50 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/consecutive_goto_frame_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/consecutive_goto_frame_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/consecutive_goto_frame_test.c	29 Mar 2007 08:58:59 -0000	1.5
+++ testsuite/misc-ming.all/consecutive_goto_frame_test.c	1 Jul 2007 10:54:50 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/definebitsjpeg2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/definebitsjpeg2.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/definebitsjpeg2.c	29 Oct 2006 18:34:18 -0000	1.4
+++ testsuite/misc-ming.all/definebitsjpeg2.c	1 Jul 2007 10:54:51 -0000	1.5
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-ming.all/displaylist_depths_test.c	14 Apr 2007 14:38:29 -0000	1.8
+++ testsuite/misc-ming.all/displaylist_depths_test.c	1 Jul 2007 10:54:51 -0000	1.9
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test10.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test10.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/displaylist_depths_test10.c	18 May 2007 13:12:46 -0000	1.2
+++ testsuite/misc-ming.all/displaylist_depths_test10.c	1 Jul 2007 10:54:51 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test11.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test11.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/displaylist_depths_test11.c	17 Jun 2007 09:07:28 -0000	1.3
+++ testsuite/misc-ming.all/displaylist_depths_test11.c	1 Jul 2007 10:54:51 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test2.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/displaylist_depths_test2.c	11 May 2007 03:39:49 -0000	1.6
+++ testsuite/misc-ming.all/displaylist_depths_test2.c	1 Jul 2007 10:54:51 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test3.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test3.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/displaylist_depths_test3.c	18 May 2007 18:14:41 -0000	1.5
+++ testsuite/misc-ming.all/displaylist_depths_test3.c	1 Jul 2007 10:54:51 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test4.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test4.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/displaylist_depths_test4.c	14 May 2007 12:55:32 -0000	1.6
+++ testsuite/misc-ming.all/displaylist_depths_test4.c	1 Jul 2007 10:54:51 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test5.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test5.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/displaylist_depths_test5.c	14 May 2007 13:07:28 -0000	1.3
+++ testsuite/misc-ming.all/displaylist_depths_test5.c	1 Jul 2007 10:54:51 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test6.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test6.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/misc-ming.all/displaylist_depths_test6.c	14 May 2007 12:58:29 -0000	1.7
+++ testsuite/misc-ming.all/displaylist_depths_test6.c	1 Jul 2007 10:54:52 -0000	1.8
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test7.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test7.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/displaylist_depths_test7.c	14 May 2007 13:06:00 -0000	1.5
+++ testsuite/misc-ming.all/displaylist_depths_test7.c	1 Jul 2007 10:54:52 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test8.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test8.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/displaylist_depths_test8.c	11 May 2007 17:53:29 -0000	1.2
+++ testsuite/misc-ming.all/displaylist_depths_test8.c	1 Jul 2007 10:54:52 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/displaylist_depths_test9.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/displaylist_depths_test9.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/displaylist_depths_test9.c	21 May 2007 15:29:45 -0000	1.6
+++ testsuite/misc-ming.all/displaylist_depths_test9.c	1 Jul 2007 10:54:52 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/duplicate_movie_clip_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/duplicate_movie_clip_test.c	19 Apr 2007 05:23:30 -0000	1.3
+++ testsuite/misc-ming.all/duplicate_movie_clip_test.c	1 Jul 2007 10:54:52 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/duplicate_movie_clip_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test2.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/duplicate_movie_clip_test2.c	15 May 2007 02:28:36 -0000	1.3
+++ testsuite/misc-ming.all/duplicate_movie_clip_test2.c	1 Jul 2007 10:54:52 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/eventSoundTest1-Runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/eventSoundTest1-Runner.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/eventSoundTest1-Runner.cpp	6 Jun 2007 13:31:09 -0000	1.6
+++ testsuite/misc-ming.all/eventSoundTest1-Runner.cpp	1 Jul 2007 10:54:53 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/eventSoundTest1.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/eventSoundTest1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/eventSoundTest1.c	20 Feb 2007 16:37:19 -0000	1.1
+++ testsuite/misc-ming.all/eventSoundTest1.c	1 Jul 2007 10:54:53 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/event_handler_scope_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/event_handler_scope_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/event_handler_scope_test.c	23 Apr 2007 03:52:19 -0000	1.2
+++ testsuite/misc-ming.all/event_handler_scope_test.c	1 Jul 2007 10:54:53 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/frame_label_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/frame_label_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/frame_label_test.c	16 Apr 2007 03:11:42 -0000	1.2
+++ testsuite/misc-ming.all/frame_label_test.c	1 Jul 2007 10:54:53 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/getTimer_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/getTimer_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/getTimer_test.c	18 May 2007 06:05:37 -0000	1.3
+++ testsuite/misc-ming.all/getTimer_test.c	1 Jul 2007 10:54:53 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/get_frame_number_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/get_frame_number_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/get_frame_number_test.c	17 Apr 2007 01:26:03 -0000	1.4
+++ testsuite/misc-ming.all/get_frame_number_test.c	1 Jul 2007 10:54:53 -0000	1.5
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/goto_frame_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/goto_frame_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/goto_frame_test.c	31 Jan 2007 11:18:20 -0000	1.5
+++ testsuite/misc-ming.all/goto_frame_test.c	1 Jul 2007 10:54:53 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/init_action_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/init_action_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/init_action_test.c	29 Mar 2007 03:23:06 -0000	1.2
+++ testsuite/misc-ming.all/init_action_test.c	1 Jul 2007 10:54:54 -0000	1.3
@@ -3,7 +3,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/intervalTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/intervalTest.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/intervalTest.as	30 Mar 2007 10:18:29 -0000	1.4
+++ testsuite/misc-ming.all/intervalTest.as	1 Jul 2007 10:54:54 -0000	1.5
@@ -3,7 +3,7 @@
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 //
 // This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/intervalTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/intervalTestRunner.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/intervalTestRunner.cpp	28 May 2007 15:41:12 -0000	1.5
+++ testsuite/misc-ming.all/intervalTestRunner.cpp	1 Jul 2007 10:54:54 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/key_event_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/key_event_test.c	24 Apr 2007 06:54:06 -0000	1.2
+++ testsuite/misc-ming.all/key_event_test.c	1 Jul 2007 10:54:54 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/key_event_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/key_event_test2.c	29 May 2007 05:19:05 -0000	1.2
+++ testsuite/misc-ming.all/key_event_test2.c	1 Jul 2007 10:54:54 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/key_event_test2runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test2runner.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/key_event_test2runner.cpp	29 May 2007 05:37:18 -0000	1.4
+++ testsuite/misc-ming.all/key_event_test2runner.cpp	1 Jul 2007 10:54:54 -0000	1.5
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/key_event_test3.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test3.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/key_event_test3.c	18 Jun 2007 08:34:44 -0000	1.2
+++ testsuite/misc-ming.all/key_event_test3.c	1 Jul 2007 10:54:55 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/key_event_test3runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test3runner.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/key_event_test3runner.cpp	18 Jun 2007 08:34:44 -0000	1.2
+++ testsuite/misc-ming.all/key_event_test3runner.cpp	1 Jul 2007 10:54:55 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/key_event_test4.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test4.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/key_event_test4.c	21 Jun 2007 05:09:13 -0000	1.1
+++ testsuite/misc-ming.all/key_event_test4.c	1 Jul 2007 10:54:55 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/key_event_test4runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test4runner.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/key_event_test4runner.cpp	21 Jun 2007 05:09:13 -0000	1.1
+++ testsuite/misc-ming.all/key_event_test4runner.cpp	1 Jul 2007 10:54:55 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/key_event_testrunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_testrunner.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/key_event_testrunner.cpp	28 May 2007 15:41:12 -0000	1.5
+++ testsuite/misc-ming.all/key_event_testrunner.cpp	1 Jul 2007 10:54:55 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loadMovieTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loadMovieTest.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/loadMovieTest.c	18 Apr 2007 15:26:39 -0000	1.4
+++ testsuite/misc-ming.all/loadMovieTest.c	1 Jul 2007 10:54:55 -0000	1.5
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loadMovieTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loadMovieTestRunner.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/misc-ming.all/loadMovieTestRunner.cpp	28 May 2007 15:41:12 -0000	1.9
+++ testsuite/misc-ming.all/loadMovieTestRunner.cpp	1 Jul 2007 10:54:55 -0000	1.10
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test-Runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test-Runner.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/misc-ming.all/loop_test-Runner.cpp	28 May 2007 15:41:12 -0000	1.9
+++ testsuite/misc-ming.all/loop_test-Runner.cpp	1 Jul 2007 10:54:56 -0000	1.10
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/loop_test.c	18 May 2007 16:05:31 -0000	1.2
+++ testsuite/misc-ming.all/loop_test.c	1 Jul 2007 10:54:56 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test2.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/loop_test2.c	17 Jun 2007 09:07:28 -0000	1.6
+++ testsuite/misc-ming.all/loop_test2.c	1 Jul 2007 10:54:56 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test2runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test2runner.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/loop_test2runner.cpp	17 Jun 2007 09:07:28 -0000	1.3
+++ testsuite/misc-ming.all/loop_test2runner.cpp	1 Jul 2007 10:54:56 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test3.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test3.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/loop_test3.c	17 Jun 2007 09:07:28 -0000	1.2
+++ testsuite/misc-ming.all/loop_test3.c	1 Jul 2007 10:54:56 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test4.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test4.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/loop_test4.c	21 May 2007 08:56:29 -0000	1.3
+++ testsuite/misc-ming.all/loop_test4.c	1 Jul 2007 10:54:56 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test5.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test5.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/loop_test5.c	17 Jun 2007 09:07:28 -0000	1.2
+++ testsuite/misc-ming.all/loop_test5.c	1 Jul 2007 10:54:57 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test6.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test6.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/loop_test6.c	18 Jun 2007 02:57:02 -0000	1.3
+++ testsuite/misc-ming.all/loop_test6.c	1 Jul 2007 10:54:57 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test7.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test7.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/loop_test7.c	18 Jun 2007 02:42:51 -0000	1.4
+++ testsuite/misc-ming.all/loop_test7.c	1 Jul 2007 10:54:57 -0000	1.5
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/loop_test8.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/loop_test8.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/loop_test8.c	17 Jun 2007 09:19:16 -0000	1.5
+++ testsuite/misc-ming.all/loop_test8.c	1 Jul 2007 10:54:57 -0000	1.6
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/masks_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/masks_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/masks_test.c	23 Apr 2007 12:30:08 -0000	1.2
+++ testsuite/misc-ming.all/masks_test.c	1 Jul 2007 10:54:57 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/masks_testrunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/masks_testrunner.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/masks_testrunner.cpp	28 May 2007 15:41:12 -0000	1.3
+++ testsuite/misc-ming.all/masks_testrunner.cpp	1 Jul 2007 10:54:57 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/matrix_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/matrix_test.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/misc-ming.all/matrix_test.c	28 May 2007 12:43:28 -0000	1.7
+++ testsuite/misc-ming.all/matrix_test.c	1 Jul 2007 10:54:57 -0000	1.8
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/ming_utils.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ming_utils.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- testsuite/misc-ming.all/ming_utils.c	5 Apr 2007 08:36:20 -0000	1.26
+++ testsuite/misc-ming.all/ming_utils.c	1 Jul 2007 10:54:58 -0000	1.27
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/ming_utils.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ming_utils.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- testsuite/misc-ming.all/ming_utils.h	28 May 2007 15:41:12 -0000	1.20
+++ testsuite/misc-ming.all/ming_utils.h	1 Jul 2007 10:54:58 -0000	1.21
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/morph_test1.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/morph_test1.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/morph_test1.c	25 Jun 2007 07:59:59 -0000	1.3
+++ testsuite/misc-ming.all/morph_test1.c	1 Jul 2007 10:54:58 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/morph_test1runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/morph_test1runner.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/morph_test1runner.cpp	25 Jun 2007 07:59:59 -0000	1.1
+++ testsuite/misc-ming.all/morph_test1runner.cpp	1 Jul 2007 10:54:58 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/move_object_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/move_object_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/move_object_test.c	16 Feb 2007 15:33:03 -0000	1.1
+++ testsuite/misc-ming.all/move_object_test.c	1 Jul 2007 10:54:58 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/moviecliploader_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/moviecliploader_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/moviecliploader_test.c	29 Oct 2006 18:34:18 -0000	1.5
+++ testsuite/misc-ming.all/moviecliploader_test.c	1 Jul 2007 10:54:59 -0000	1.6
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/multi_doactions_and_goto_frame_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/multi_doactions_and_goto_frame_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/multi_doactions_and_goto_frame_test.c	14 Feb 2007 11:08:12 -0000	1.3
+++ testsuite/misc-ming.all/multi_doactions_and_goto_frame_test.c	1 Jul 2007 10:54:59 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/path_format_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/path_format_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/path_format_test.c	17 Apr 2007 07:01:37 -0000	1.1
+++ testsuite/misc-ming.all/path_format_test.c	1 Jul 2007 10:54:59 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/place_and_remove_object_insane_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_and_remove_object_insane_test.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/misc-ming.all/place_and_remove_object_insane_test.c	10 Feb 2007 05:22:10 -0000	1.10
+++ testsuite/misc-ming.all/place_and_remove_object_insane_test.c	1 Jul 2007 10:54:59 -0000	1.11
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/place_and_remove_object_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_and_remove_object_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/place_and_remove_object_test.c	2 Jan 2007 03:43:12 -0000	1.4
+++ testsuite/misc-ming.all/place_and_remove_object_test.c	1 Jul 2007 10:54:59 -0000	1.5
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/place_object_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_object_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/place_object_test.c	31 Dec 2006 11:26:18 -0000	1.3
+++ testsuite/misc-ming.all/place_object_test.c	1 Jul 2007 10:55:00 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/place_object_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_object_test2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/place_object_test2.c	21 May 2007 03:35:24 -0000	1.2
+++ testsuite/misc-ming.all/place_object_test2.c	1 Jul 2007 10:55:00 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/registerClassTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/registerClassTest.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/registerClassTest.c	3 Feb 2007 22:27:36 -0000	1.3
+++ testsuite/misc-ming.all/registerClassTest.c	1 Jul 2007 10:55:01 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/registerClassTestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/registerClassTestRunner.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/registerClassTestRunner.cpp	28 May 2007 15:41:12 -0000	1.6
+++ testsuite/misc-ming.all/registerClassTestRunner.cpp	1 Jul 2007 10:55:01 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/replace_buttons1test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_buttons1test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/replace_buttons1test.c	24 May 2007 18:43:31 -0000	1.2
+++ testsuite/misc-ming.all/replace_buttons1test.c	1 Jul 2007 10:55:01 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/replace_buttons1test_runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_buttons1test_runner.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/replace_buttons1test_runner.cpp	28 May 2007 15:41:12 -0000	1.3
+++ testsuite/misc-ming.all/replace_buttons1test_runner.cpp	1 Jul 2007 10:55:01 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/replace_shapes1test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_shapes1test.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/misc-ming.all/replace_shapes1test.c	24 May 2007 13:01:47 -0000	1.6
+++ testsuite/misc-ming.all/replace_shapes1test.c	1 Jul 2007 10:55:02 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/replace_shapes1test_runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_shapes1test_runner.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/replace_shapes1test_runner.cpp	28 May 2007 15:41:12 -0000	1.2
+++ testsuite/misc-ming.all/replace_shapes1test_runner.cpp	1 Jul 2007 10:55:03 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/replace_sprites1test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_sprites1test.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-ming.all/replace_sprites1test.c	24 May 2007 18:43:32 -0000	1.8
+++ testsuite/misc-ming.all/replace_sprites1test.c	1 Jul 2007 10:55:03 -0000	1.9
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/replace_sprites1test_runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/replace_sprites1test_runner.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/replace_sprites1test_runner.cpp	28 May 2007 15:41:12 -0000	1.3
+++ testsuite/misc-ming.all/replace_sprites1test_runner.cpp	1 Jul 2007 10:55:03 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/reverse_execute_PlaceObject2_test1.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/reverse_execute_PlaceObject2_test1.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/reverse_execute_PlaceObject2_test1.c	5 Apr 2007 07:08:59 -0000	1.4
+++ testsuite/misc-ming.all/reverse_execute_PlaceObject2_test1.c	1 Jul 2007 10:55:04 -0000	1.5
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/reverse_execute_PlaceObject2_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/reverse_execute_PlaceObject2_test2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/reverse_execute_PlaceObject2_test2.c	5 Apr 2007 07:55:43 -0000	1.2
+++ testsuite/misc-ming.all/reverse_execute_PlaceObject2_test2.c	1 Jul 2007 10:55:05 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/root_stop_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/root_stop_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/root_stop_test.c	19 Apr 2007 15:48:48 -0000	1.3
+++ testsuite/misc-ming.all/root_stop_test.c	1 Jul 2007 10:55:05 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/root_stop_testrunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/root_stop_testrunner.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-ming.all/root_stop_testrunner.cpp	28 May 2007 15:41:12 -0000	1.8
+++ testsuite/misc-ming.all/root_stop_testrunner.cpp	1 Jul 2007 10:55:05 -0000	1.9
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/shape_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/shape_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/shape_test.c	18 Jun 2007 08:56:37 -0000	1.3
+++ testsuite/misc-ming.all/shape_test.c	1 Jul 2007 10:55:06 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/simple_loop_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/simple_loop_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/simple_loop_test.c	29 Jan 2007 09:03:11 -0000	1.3
+++ testsuite/misc-ming.all/simple_loop_test.c	1 Jul 2007 10:55:06 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/simple_loop_testrunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/simple_loop_testrunner.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-ming.all/simple_loop_testrunner.cpp	28 May 2007 15:41:13 -0000	1.8
+++ testsuite/misc-ming.all/simple_loop_testrunner.cpp	1 Jul 2007 10:55:06 -0000	1.9
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/spritehier.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/spritehier.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/spritehier.c	29 Oct 2006 18:34:18 -0000	1.4
+++ testsuite/misc-ming.all/spritehier.c	1 Jul 2007 10:55:06 -0000	1.5
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/static_vs_dynamic1.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/static_vs_dynamic1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/static_vs_dynamic1.c	9 May 2007 15:00:53 -0000	1.2
+++ testsuite/misc-ming.all/static_vs_dynamic1.c	1 Jul 2007 10:55:07 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/static_vs_dynamic2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/static_vs_dynamic2.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/static_vs_dynamic2.c	9 May 2007 09:06:21 -0000	1.2
+++ testsuite/misc-ming.all/static_vs_dynamic2.c	1 Jul 2007 10:55:07 -0000	1.3
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-ming.all/timeline_var_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/timeline_var_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/timeline_var_test.c	19 Dec 2006 16:13:46 -0000	1.5
+++ testsuite/misc-ming.all/timeline_var_test.c	1 Jul 2007 10:55:07 -0000	1.6
@@ -4,7 +4,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,

Index: testsuite/misc-mtasc.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/Makefile.am,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/misc-mtasc.all/Makefile.am	14 Jun 2007 09:16:36 -0000	1.9
+++ testsuite/misc-mtasc.all/Makefile.am	1 Jul 2007 10:55:08 -0000	1.10
@@ -4,7 +4,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,

Index: testsuite/misc-swfmill.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-swfmill.all/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-swfmill.all/Makefile.am	18 May 2007 10:14:11 -0000	1.1
+++ testsuite/misc-swfmill.all/Makefile.am	1 Jul 2007 10:55:09 -0000	1.2
@@ -4,7 +4,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,

Index: testsuite/movies.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/movies.all/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/movies.all/Makefile.am	27 Feb 2007 09:10:21 -0000	1.7
+++ testsuite/movies.all/Makefile.am	1 Jul 2007 10:55:09 -0000	1.8
@@ -4,7 +4,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,

Index: testsuite/movies.all/gravity_embedded-TestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/movies.all/gravity_embedded-TestRunner.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/movies.all/gravity_embedded-TestRunner.cpp	28 May 2007 15:41:13 -0000	1.6
+++ testsuite/movies.all/gravity_embedded-TestRunner.cpp	1 Jul 2007 10:55:09 -0000	1.7
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/samples/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/samples/Makefile.am,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- testsuite/samples/Makefile.am	6 Jun 2007 12:23:50 -0000	1.18
+++ testsuite/samples/Makefile.am	1 Jul 2007 10:55:10 -0000	1.19
@@ -4,7 +4,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,

Index: testsuite/samples/clip_as_button2-TestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/samples/clip_as_button2-TestRunner.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/samples/clip_as_button2-TestRunner.cpp	28 May 2007 15:41:13 -0000	1.9
+++ testsuite/samples/clip_as_button2-TestRunner.cpp	1 Jul 2007 10:55:10 -0000	1.10
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/samples/gotoFrameOnKeyEvent-TestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/samples/gotoFrameOnKeyEvent-TestRunner.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/samples/gotoFrameOnKeyEvent-TestRunner.cpp	28 May 2007 15:41:13 -0000	1.3
+++ testsuite/samples/gotoFrameOnKeyEvent-TestRunner.cpp	1 Jul 2007 10:55:11 -0000	1.4
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/samples/subshapes-TestRunner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/samples/subshapes-TestRunner.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/samples/subshapes-TestRunner.cpp	5 Jun 2007 13:21:55 -0000	1.1
+++ testsuite/samples/subshapes-TestRunner.cpp	1 Jul 2007 10:55:11 -0000	1.2
@@ -3,7 +3,7 @@
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  * 
  * This program is distributed in the hope that it will be useful,

Index: testsuite/server/DisplayListTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/DisplayListTest.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/server/DisplayListTest.cpp	16 Jun 2007 07:37:52 -0000	1.6
+++ testsuite/server/DisplayListTest.cpp	1 Jul 2007 10:55:12 -0000	1.7
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/server/EdgeTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/EdgeTest.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/server/EdgeTest.cpp	28 May 2007 15:41:13 -0000	1.2
+++ testsuite/server/EdgeTest.cpp	1 Jul 2007 10:55:12 -0000	1.3
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/server/GetterSetterTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/GetterSetterTest.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- testsuite/server/GetterSetterTest.cpp	16 Jun 2007 07:37:52 -0000	1.13
+++ testsuite/server/GetterSetterTest.cpp	1 Jul 2007 10:55:12 -0000	1.14
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/server/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/Makefile.am,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- testsuite/server/Makefile.am	17 May 2007 15:36:16 -0000	1.30
+++ testsuite/server/Makefile.am	1 Jul 2007 10:55:13 -0000	1.31
@@ -4,7 +4,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: testsuite/server/MatrixTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/MatrixTest.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/server/MatrixTest.cpp	28 May 2007 15:41:13 -0000	1.8
+++ testsuite/server/MatrixTest.cpp	1 Jul 2007 10:55:13 -0000	1.9
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/server/PointTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/PointTest.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/server/PointTest.cpp	28 May 2007 15:41:13 -0000	1.2
+++ testsuite/server/PointTest.cpp	1 Jul 2007 10:55:13 -0000	1.3
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/server/PropertyListTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/PropertyListTest.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- testsuite/server/PropertyListTest.cpp	16 Jun 2007 07:37:52 -0000	1.15
+++ testsuite/server/PropertyListTest.cpp	1 Jul 2007 10:55:14 -0000	1.16
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/server/as_prop_flagsTest.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/server/as_prop_flagsTest.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/server/as_prop_flagsTest.cpp	28 May 2007 15:41:13 -0000	1.4
+++ testsuite/server/as_prop_flagsTest.cpp	1 Jul 2007 10:55:14 -0000	1.5
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,

Index: testsuite/swfdec/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/swfdec/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/swfdec/Makefile.am	7 Mar 2007 15:11:24 -0000	1.1
+++ testsuite/swfdec/Makefile.am	1 Jul 2007 10:55:15 -0000	1.2
@@ -4,7 +4,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,

Index: testsuite/swfdec/gen_run_swfdec_testsuite.sh
===================================================================
RCS file: /sources/gnash/gnash/testsuite/swfdec/gen_run_swfdec_testsuite.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/swfdec/gen_run_swfdec_testsuite.sh	24 Apr 2007 07:25:20 -0000	1.2
+++ testsuite/swfdec/gen_run_swfdec_testsuite.sh	1 Jul 2007 10:55:15 -0000	1.3
@@ -3,7 +3,7 @@
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,

Index: utilities/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/utilities/Makefile.am,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- utilities/Makefile.am	7 Jun 2007 14:59:08 -0000	1.56
+++ utilities/Makefile.am	1 Jul 2007 10:55:15 -0000	1.57
@@ -3,7 +3,7 @@
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
-#   the Free Software Foundation; either version 2 of the License, or
+#   the Free Software Foundation; either version 3 of the License, or
 #   (at your option) any later version.
 #
 #   This program is distributed in the hope that it will be useful,

Index: utilities/dumpshm.cpp
===================================================================
RCS file: /sources/gnash/gnash/utilities/dumpshm.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- utilities/dumpshm.cpp	28 May 2007 15:41:13 -0000	1.11
+++ utilities/dumpshm.cpp	1 Jul 2007 10:55:16 -0000	1.12
@@ -3,7 +3,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -20,7 +20,7 @@
 //
 
 
-/* $Id: dumpshm.cpp,v 1.11 2007/05/28 15:41:13 ann Exp $ */
+/* $Id: dumpshm.cpp,v 1.12 2007/07/01 10:55:16 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: utilities/parser.cpp
===================================================================
RCS file: /sources/gnash/gnash/utilities/parser.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- utilities/parser.cpp	22 Jun 2007 22:07:07 -0000	1.40
+++ utilities/parser.cpp	1 Jul 2007 10:55:16 -0000	1.41
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: parser.cpp,v 1.40 2007/06/22 22:07:07 nihilus Exp $ */
+/* $Id: parser.cpp,v 1.41 2007/07/01 10:55:16 bjacques Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: utilities/processor.cpp
===================================================================
RCS file: /sources/gnash/gnash/utilities/processor.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- utilities/processor.cpp	22 Jun 2007 22:07:08 -0000	1.60
+++ utilities/processor.cpp	1 Jul 2007 10:55:16 -0000	1.61
@@ -4,7 +4,7 @@
 // 
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 2 of the License, or
+// the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
 // 
 // This program is distributed in the hope that it will be useful,



From MAILER-DAEMON Sun Jul 01 11:34:24 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I51RQ-0001JN-Bx
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 11:34:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I51RN-0001IZ-8u
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 11:34:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I51RK-0001Fk-82
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 11:34:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I51RJ-0001FC-Qx
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 11:34:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I51RJ-0005FE-1r
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 11:34:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I51RH-0000PC-J7
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 15:34:15 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I51RH-0000P2-AD
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 15:34:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I51RH-0000P2-AD@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 01 Jul 2007 15:34:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash COPYING ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jul 2007 15:34:21 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/01 15:34:15

Modified files:
	.              : COPYING ChangeLog 

Log message:
	        * COPYING: update to GPL version 3

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/COPYING?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3626&r2=1.3627

Patches:
Index: COPYING
===================================================================
RCS file: /sources/gnash/gnash/COPYING,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- COPYING	1 Jul 2007 10:53:45 -0000	1.5
+++ COPYING	1 Jul 2007 15:34:14 -0000	1.6
@@ -1,281 +1,623 @@
+
 		    GNU GENERAL PUBLIC LICENSE
-		       Version 2, June 1991
+		       Version 3, 29 June 2007
 
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-                       51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
 			    Preamble
 
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
 your programs, too.
 
   When we speak of free software, we are referring to freedom, not
 price.  Our General Public Licenses are designed to make sure that you
 have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
 
   For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
 
   The precise terms and conditions for copying, distribution and
 modification follow.
 
-		    GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+		       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
 
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
 this License.
 
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+  
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
 otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
 
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time.  Such new versions will
 be similar in spirit to the present version, but may differ in detail to
 address new problems or concerns.
 
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-			    NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
 
 		     END OF TERMS AND CONDITIONS
 
@@ -287,15 +629,15 @@
 
   To do so, attach the following notices to the program.  It is safest
 to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
+state the exclusion of warranty; and each file should have at least
 the "copyright" line and a pointer to where the full notice is found.
 
     <one line to give the program's name and a brief idea of what it does.>
     Copyright (C) <year>  <name of author>
 
-    This program is free software; you can redistribute it and/or modify
+    This program is free software: you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 3 of the License, or
+    the Free Software Foundation, either version 3 of the License, or
     (at your option) any later version.
 
     This program is distributed in the hope that it will be useful,
@@ -304,38 +646,31 @@
     GNU General Public License for more details.
 
     You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 Also add information on how to contact you by electronic and paper mail.
 
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
 
-    Gnomovision version 69, Copyright (C) year name of author
-    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
     This is free software, and you are welcome to redistribute it
     under certain conditions; type `show c' for details.
 
 The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License.  Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary.  Here is a sample; alter the names:
-
-  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
-  `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
-  <signature of Ty Coon>, 1 April 1989
-  Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs.  If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library.  If this is what you want to do, use the GNU Library General
-Public License instead of this License.
+parts of the General Public License.  Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+  The GNU General Public License does not permit incorporating your program
+into proprietary programs.  If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.  But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3626
retrieving revision 1.3627
diff -u -b -r1.3626 -r1.3627
--- ChangeLog	1 Jul 2007 10:53:46 -0000	1.3626
+++ ChangeLog	1 Jul 2007 15:34:14 -0000	1.3627
@@ -1,3 +1,7 @@
+2007-07-01 Sandro Santilli <strk@keybit.net>
+
+	* COPYING: update to GPL version 3
+
 2007-07-01 Bastiaan Jacques <bastiaan@bjacques.org>
 
 	* all over the place: Update to GPL version 3.



From MAILER-DAEMON Sun Jul 01 11:42:50 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I51ZZ-0003AI-Qv
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 11:42:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I51ZX-00037T-Ry
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 11:42:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I51ZX-000363-1e
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 11:42:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I51ZW-00035n-Nl
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 11:42:46 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I51ZV-0006OK-Vl
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 11:42:46 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I51ZT-0008W1-Or
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 15:42:43 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I51ZT-0008Vn-Hz
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 15:42:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I51ZT-0008Vn-Hz@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sun, 01 Jul 2007 15:42:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog README
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jul 2007 15:42:48 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/01 15:42:43

Modified files:
	.              : ChangeLog README 

Log message:
	Added note on IRC.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3627&r2=1.3628
http://cvs.savannah.gnu.org/viewcvs/gnash/README?cvsroot=gnash&r1=1.29&r2=1.30

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3627
retrieving revision 1.3628
diff -u -b -r1.3627 -r1.3628
--- ChangeLog	1 Jul 2007 15:34:14 -0000	1.3627
+++ ChangeLog	1 Jul 2007 15:42:42 -0000	1.3628
@@ -1,3 +1,7 @@
+2007-07-01 Markus Gothe <nietzsche@lysator.liu.se>
+
+	* README: Added note on IRC.
+
 2007-07-01 Sandro Santilli <strk@keybit.net>
 
 	* COPYING: update to GPL version 3

Index: README
===================================================================
RCS file: /sources/gnash/gnash/README,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- README	4 Jun 2007 20:46:03 -0000	1.29
+++ README	1 Jul 2007 15:42:43 -0000	1.30
@@ -1,4 +1,4 @@
-$Id: README,v 1.29 2007/06/04 20:46:03 strk Exp $
+$Id: README,v 1.30 2007/07/01 15:42:43 nihilus Exp $
 
 		    Gnash: the GNU Flash Player
 
@@ -196,6 +196,10 @@
       http://mail.gnu.org/mailman/listinfo/gnash-commit Volume is
       sporadic, but typically low.
 
+IRC:
+    * #gnash on irc.freenode.net The #gnash channel on irc.freenode.net is 
+      where many of the developers hang out.
+
 If you would like a new feature to be included in future versions of
 Gnash, please send a request to <gnash-dev@gnu.org>. You can also
 submit patches at https://savannah.gnu.org/patch/?group=gnash.



From MAILER-DAEMON Sun Jul 01 12:51:27 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I52dz-0002FN-Je
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 12:51:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I52dx-0002Cn-R9
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 12:51:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I52dx-0002CK-4H
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 12:51:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I52dw-0002CD-Sx
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 12:51:24 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I52dw-0006xf-2Y
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 12:51:24 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I52dr-0004Dl-Vf
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 16:51:20 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I52dr-0004DW-Q6
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 16:51:19 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I52dr-0004DW-Q6@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sun, 01 Jul 2007 16:51:19 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gnash.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jul 2007 16:51:26 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/01 16:51:19

Modified files:
	.              : ChangeLog 
	gui            : gnash.cpp 

Log message:
	Added -V as short for --version.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3628&r2=1.3629
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.75&r2=1.76

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3628
retrieving revision 1.3629
diff -u -b -r1.3628 -r1.3629
--- ChangeLog	1 Jul 2007 15:42:42 -0000	1.3628
+++ ChangeLog	1 Jul 2007 16:51:19 -0000	1.3629
@@ -1,6 +1,7 @@
 2007-07-01 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* README: Added note on IRC.
+	* gui/gnash.cpp: Added -V as shor for --version.
 
 2007-07-01 Sandro Santilli <strk@keybit.net>
 

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- gui/gnash.cpp	1 Jul 2007 10:54:01 -0000	1.75
+++ gui/gnash.cpp	1 Jul 2007 16:51:19 -0000	1.76
@@ -122,7 +122,7 @@
         "  -U <url>    Set \"base\" url for this run\n"
 	"              (used to resolve relative urls, defaults to movie url)\n"
         "  -P <param>  Set parameter (ie. \"FlashVars=A=1&b=2\")\n"
-        "  --version   Print gnash's version number and exit\n"
+        "  -V,--version Print gnash's version number and exit\n"
 		), _(
         "\n"
         "keys:\n"
@@ -195,18 +195,24 @@
         }
     }
     
-    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:g")) != -1)
+    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:g:V")) != -1)
     {
 	switch (c) {
     	  // case 'c' (Disable SDL core dumps) is decoded in sdl.cpp:init()
 	  // case 'm' (Set LOD bias) is decoded in various GUIs (grep getopt)
 	  case 'h':
+	      version_and_copyright();
+          printf("\n"); 
 	      usage ();
-              exit(0);
+          	exit(EXIT_SUCCESS);
 	  case 'v':
               dbglogfile.setVerbosity();
 	      log_msg (_("Verbose output turned on"));
 	      break;
+	  case 'V':
+        version_and_copyright();
+        build_options();
+	    	exit(EXIT_SUCCESS);	      
 	  case 'w':
               dbglogfile.setWriteDisk(true);
 	      log_msg (_("Logging to disk enabled"));



From MAILER-DAEMON Sun Jul 01 12:52:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I52fE-0002xm-AK
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 12:52:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I52fC-0002xh-RM
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 12:52:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I52fB-0002xV-Fb
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 12:52:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I52fB-0002xS-AG
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 12:52:41 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I52fA-00077f-W9
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 12:52:41 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I52fA-0005Xy-I6
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 16:52:40 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I52fA-0005Xj-BX
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 16:52:40 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I52fA-0005Xj-BX@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sun, 01 Jul 2007 16:52:40 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui gnash.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jul 2007 16:52:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/01 16:52:40

Modified files:
	gui            : gnash.cpp 

Log message:
	Streamlined 'h' as well.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.76&r2=1.77

Patches:
Index: gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- gnash.cpp	1 Jul 2007 16:51:19 -0000	1.76
+++ gnash.cpp	1 Jul 2007 16:52:40 -0000	1.77
@@ -204,6 +204,7 @@
 	      version_and_copyright();
           printf("\n"); 
 	      usage ();
+	      build_options();
           	exit(EXIT_SUCCESS);
 	  case 'v':
               dbglogfile.setVerbosity();



From MAILER-DAEMON Sun Jul 01 13:35:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I53KI-0007Xd-4M
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 13:35:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I53KG-0007XD-Pv
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 13:35:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I53KG-0007Ww-36
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 13:35:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I53KF-0007Wt-RF
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 13:35:07 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I53KF-0004pX-HP
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 13:35:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I53K8-0001sa-1d
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 17:35:00 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I53K7-0001sN-TE
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 17:34:59 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I53K7-0001sN-TE@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 01 Jul 2007 17:34:59 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/ref_counted.h server/pa...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Jul 2007 17:35:09 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/01 17:34:59

Modified files:
	.              : ChangeLog 
	libbase        : ref_counted.h 
	server/parser  : movie_def_impl.cpp movie_def_impl.h 

Log message:
	        * libbase/ref_counted.h: use 'long' for the ref count,
	          cleanup header inclusion, prepare for using an atomic
	          counter for thread safety (not enabled yet).
	        * server/parser/movie_def_impl.{cpp,h}: have MovieLoader
	          keep the boost::thread by auto_ptr for proper destruction.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3629&r2=1.3630
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/ref_counted.h?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.cpp?cvsroot=gnash&r1=1.75&r2=1.76
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.h?cvsroot=gnash&r1=1.49&r2=1.50

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3629
retrieving revision 1.3630
diff -u -b -r1.3629 -r1.3630
--- ChangeLog	1 Jul 2007 16:51:19 -0000	1.3629
+++ ChangeLog	1 Jul 2007 17:34:58 -0000	1.3630
@@ -1,3 +1,11 @@
+2007-07-01 Sandro Santilli <strk@keybit.net>
+
+	* libbase/ref_counted.h: use 'long' for the ref count,
+	  cleanup header inclusion, prepare for using an atomic
+	  counter for thread safety (not enabled yet).
+	* server/parser/movie_def_impl.{cpp,h}: have MovieLoader
+	  keep the boost::thread by auto_ptr for proper destruction.
+
 2007-07-01 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* README: Added note on IRC.

Index: libbase/ref_counted.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/ref_counted.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- libbase/ref_counted.h	1 Jul 2007 10:54:10 -0000	1.10
+++ libbase/ref_counted.h	1 Jul 2007 17:34:59 -0000	1.11
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: ref_counted.h,v 1.10 2007/07/01 10:54:10 bjacques Exp $ */
+/* $Id: ref_counted.h,v 1.11 2007/07/01 17:34:59 strk Exp $ */
 
 #ifndef GNASH_REF_COUNTED_H
 #define GNASH_REF_COUNTED_H
@@ -24,7 +24,10 @@
 #include "config.h"
 #endif
 
-#include "container.h"
+#include "tu_config.h" // for DSOEXPORT (better move that define in some other file?)
+
+#include <cassert>
+#include <boost/detail/atomic_count.hpp>
 
 namespace gnash {
 
@@ -38,7 +41,12 @@
 
 private:
 
-	mutable int		m_ref_count;
+	typedef long Counter;
+	// boost atomic_counter is thread-safe, but doesn't
+	// provide a copy constructor.
+	//typedef mutable boost::detail::atomic_count Counter;
+
+	mutable Counter m_ref_count;
 	
 protected:
 
@@ -59,21 +67,20 @@
 	void	add_ref() const
 	{
 		assert(m_ref_count >= 0);
-		m_ref_count++;
+		++m_ref_count;
 	}
 
 	void	drop_ref() const
 	{
 		assert(m_ref_count > 0);
-		m_ref_count--;
-		if (m_ref_count <= 0)
+		if (!--m_ref_count)
 		{
 			// Delete me!
 			delete this;
 		}
 	}
 
-	int	get_ref_count() const { return m_ref_count; }
+	long	get_ref_count() const { return m_ref_count; }
 
 	// These two methods are defined as a temporary hack to 
 	// easy transition to the GC model. Was added when introducing

Index: server/parser/movie_def_impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- server/parser/movie_def_impl.cpp	1 Jul 2007 10:54:34 -0000	1.75
+++ server/parser/movie_def_impl.cpp	1 Jul 2007 17:34:59 -0000	1.76
@@ -81,9 +81,15 @@
 
 MovieLoader::~MovieLoader()
 {
+	cout << "MovieLoader dtor called" << endl;
+
 	// we should assert _movie_def._loadingCanceled
 	// but we're not friend yet (anyone introduce us ?)
-	if ( _thread ) _thread->join();
+	if ( _thread.get() )
+	{
+		cout << "Joining thread.." << endl;
+		_thread->join();
+	}
 }
 
 bool
@@ -91,7 +97,7 @@
 {
 	boost::mutex::scoped_lock lock(_mutex);
 
-	return _thread != NULL;
+	return _thread.get() != NULL;
 }
 
 bool
@@ -99,7 +105,7 @@
 {
 	boost::mutex::scoped_lock lock(_mutex);
 
-	if (!_thread) {
+	if (!_thread.get()) {
 		return false;
 	}
 	boost::thread this_thread;
@@ -125,7 +131,7 @@
 	// Those tests do seem a bit redundant, though...
 	boost::mutex::scoped_lock lock(_mutex);
 
-	_thread = new boost::thread(boost::bind(execute, &_movie_def));
+	_thread.reset( new boost::thread(boost::bind(execute, &_movie_def)) );
 
 	return true;
 }
@@ -215,6 +221,8 @@
 
 movie_def_impl::~movie_def_impl()
 {
+	cout << "movie_def_impl dtor called" << endl;
+
 	// Request cancelation of the loading thread
 	_loadingCanceled = true;
 

Index: server/parser/movie_def_impl.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.h,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- server/parser/movie_def_impl.h	1 Jul 2007 10:54:34 -0000	1.49
+++ server/parser/movie_def_impl.h	1 Jul 2007 17:34:59 -0000	1.50
@@ -115,7 +115,7 @@
 	movie_def_impl& _movie_def;
 
 	mutable boost::mutex _mutex;
-	boost::thread* _thread;
+	std::auto_ptr<boost::thread> _thread;
 
 	/// Entry point for the actual thread
 	static void execute(movie_def_impl* md);



From MAILER-DAEMON Sun Jul 01 20:18:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I59cd-0000e8-Pd
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 20:18:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I59cc-0000bX-QU
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 20:18:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I59cb-0000Z5-NG
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 20:18:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I59cb-0000Yo-K1
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 20:18:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I59cb-0005Rr-7K
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 20:18:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I59cZ-0007RY-4k
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 00:18:27 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I59cY-0007R0-Cn
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 00:18:26 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I59cY-0007R0-Cn@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 00:18:26 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/movie_root.cpp server/mo...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 00:18:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 00:18:26

Modified files:
	.              : ChangeLog 
	server         : movie_root.cpp movie_root.h 
	testsuite      : simple.exp 

Log message:
	        * testsuite/simple.exp: increment timeout from 4 to 5 minutes.
	        * server/movie_root.{cpp,h}: store Timers into a map rather then
	          a vector, to allow for removal w/out loosing the timer identifier.
	          Scan a *copy* of the container so that clearing or adding new
	          intervals don't invalidate iterators.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3630&r2=1.3631
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.70&r2=1.71
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.61&r2=1.62
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/simple.exp?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3630
retrieving revision 1.3631
diff -u -b -r1.3630 -r1.3631
--- ChangeLog	1 Jul 2007 17:34:58 -0000	1.3630
+++ ChangeLog	2 Jul 2007 00:18:24 -0000	1.3631
@@ -1,5 +1,13 @@
 2007-07-01 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/simple.exp: increment timeout from 4 to 5 minutes.
+	* server/movie_root.{cpp,h}: store Timers into a map rather then
+	  a vector, to allow for removal w/out loosing the timer identifier.
+	  Scan a *copy* of the container so that clearing or adding new
+	  intervals don't invalidate iterators.
+
+2007-07-01 Sandro Santilli <strk@keybit.net>
+
 	* libbase/ref_counted.h: use 'long' for the ref count,
 	  cleanup header inclusion, prepare for using an atomic
 	  counter for thread safety (not enabled yet).

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -b -r1.70 -r1.71
--- server/movie_root.cpp	1 Jul 2007 10:54:23 -0000	1.70
+++ server/movie_root.cpp	2 Jul 2007 00:18:25 -0000	1.71
@@ -70,6 +70,7 @@
 	m_on_event_xmlsocket_ondata_called(false),
 	m_on_event_xmlsocket_onxml_called(false),
 	m_on_event_load_progress_called(false),
+	_lastTimerId(0),
 	m_active_input_text(NULL),
 	m_time_remainder(0.0f),
 	m_drag_state(),
@@ -529,20 +530,23 @@
 {
 	assert(testInvariant());
 			
-	int id = _intervalTimers.size()+1;
+	unsigned int id = ++_lastTimerId;
 	if ( _intervalTimers.size() >= 255 )
 	{
+		// TODO: Why this limitation ? 
 		log_error("FIXME: " SIZET_FMT " timers currently active, won't add another one", _intervalTimers.size());
 	}
 
-	// TODO: find first NULL element in vector for reuse ?
-	_intervalTimers.push_back(timer);
+	assert(_intervalTimers.find(id) == _intervalTimers.end());
+	_intervalTimers[id] = timer; 
 	return id;
 }
 	
 bool
 movie_root::clear_interval_timer(unsigned int x)
 {
+	return _intervalTimers.erase(x);
+#if 0
 	if ( ! x || x > _intervalTimers.size() ) return false;
 
 	Timer& timer = _intervalTimers[x-1];
@@ -553,6 +557,7 @@
 	assert(testInvariant());
 
 	return true;
+#endif
 }
 	
 void
@@ -560,13 +565,16 @@
 {
 	// GNASH_REPORT_FUNCTION;
 
+	// Copy to avoid timers invalidation.
+	// TODO: we might want to use pointers as elements rather then values,
+	//       so to allow disabling of a timer (ie: should we still execute expired
+	//       timers if a previous timer execution cleared it ?)
 	// TODO: wrap this in a executeTimers() method 
-	for (TimerList::iterator it=_intervalTimers.begin(),
-			itEnd=_intervalTimers.end();
-			it != itEnd;
-			++it)
+	TimerMap timers = _intervalTimers;
+	for (TimerMap::iterator it=timers.begin(), itEnd=timers.end();
+			it != itEnd; ++it)
 	{
-		Timer& timer = *it;
+		Timer& timer = it->second;
 		if ( timer.expired() )
 		{
 			// log_msg("FIXME: Interval Timer Expired!\n");
@@ -574,6 +582,7 @@
 			timer();
 		}
 	}
+
 #ifndef NEW_KEY_LISTENER_LIST_DESIGN
 	// Cleanup key listeners (remove unloaded characters)
 	// FIXME: not all key listeners could be cleaned here!
@@ -1028,10 +1037,10 @@
 	m_mouse_button_state.markReachableResources();
 	
 	// Mark timer targets
-	for (TimerList::const_iterator i=_intervalTimers.begin(), e=_intervalTimers.end();
+	for (TimerMap::const_iterator i=_intervalTimers.begin(), e=_intervalTimers.end();
 			i != e; ++i)
 	{
-		i->markReachableResources();
+		i->second.markReachableResources();
 	}
 
 	// Mark resources reachable by queued action code

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- server/movie_root.h	1 Jul 2007 10:54:23 -0000	1.61
+++ server/movie_root.h	2 Jul 2007 00:18:25 -0000	1.62
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.61 2007/07/01 10:54:23 bjacques Exp $ */
+/* $Id: movie_root.h,v 1.62 2007/07/02 00:18:25 strk Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -521,13 +521,10 @@
 	bool			m_on_event_xmlsocket_onxml_called;
 	bool			m_on_event_load_progress_called;
 
-	// TODO: should maintain refcount ?
-	// FIXME: std::vector is not an appropriate container
-	//        for timers, as we'll be removing them from the
-	//        list but still want Timer "identifiers" to be
-	//        valid.
-	typedef std::vector<Timer> TimerList;
-	TimerList _intervalTimers;
+	typedef std::map<int, Timer> TimerMap;
+
+	TimerMap _intervalTimers;
+	unsigned int _lastTimerId;
 
 	/// A set of as_objects kept by intrusive_ptr
 	typedef std::set< boost::intrusive_ptr<as_object> > ListenerSet;

Index: testsuite/simple.exp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/simple.exp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/simple.exp	7 Mar 2007 16:57:15 -0000	1.11
+++ testsuite/simple.exp	2 Jul 2007 00:18:25 -0000	1.12
@@ -12,7 +12,7 @@
 # This is to handle deadlocks. We don't reset the timeout when a match is
 # found to avoid hanging in case of a testcase sending matches in an infinite loops.
 # (not unlikely as it seems, think about flash movies...)
-set timeout 240 
+set timeout 300
 set file all
 set params ""
 



From MAILER-DAEMON Sun Jul 01 23:20:41 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5CSu-0004rt-Rn
	for mharc-gnash-commit@gnu.org; Sun, 01 Jul 2007 23:20:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5CSr-0004rl-St
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 23:20:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5CSq-0004rZ-P0
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 23:20:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5CSq-0004rW-Il
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 23:20:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5CSq-00050P-66
	for gnash-commit@gnu.org; Sun, 01 Jul 2007 23:20:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5CSo-0001Wz-TV
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 03:20:35 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5CSo-0001Wv-O4
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 03:20:34 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5CSo-0001Wv-O4@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 03:20:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/GC.h server/movie_root....
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 03:20:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 03:20:34

Modified files:
	.              : ChangeLog 
	libbase        : GC.h 
	server         : movie_root.cpp movie_root.h timers.cpp timers.h 
	server/asobj   : LoadVars.cpp xmlsocket.cpp 

Log message:
	        * libbase/GC.h: don't be verbose about GC by default.
	        * server/movie_root.{cpp,h}: (add_interval_timer): take the Timer by
	          auto_ptr, add an optional second argument marking the timer as
	          internal (for use by xmlsocket/LoadVars and whichever other gnash
	          internal class in need for a timer). Internal timers will get a
	          negative identifier so to not introduce unexpected gaps in the
	          user-defined interval timers sequences. Fix bugs introduced in last
	          commit related to timer expiration and iterators invalidation.
	        * server/timers.{cpp,h}: add some inspector functions, use VM::getTime
	          for timers (milliseconds).
	        * server/asobj/: LoadVars.cpp, xmlsocket.cpp: update calls to
	          movie_root::add_interval_timer to mark these timers as internal.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3631&r2=1.3632
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.71&r2=1.72
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.62&r2=1.63
http://cvs.savannah.gnu.org/viewcvs/gnash/server/timers.cpp?cvsroot=gnash&r1=1.35&r2=1.36
http://cvs.savannah.gnu.org/viewcvs/gnash/server/timers.h?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/LoadVars.cpp?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/xmlsocket.cpp?cvsroot=gnash&r1=1.30&r2=1.31

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3631
retrieving revision 1.3632
diff -u -b -r1.3631 -r1.3632
--- ChangeLog	2 Jul 2007 00:18:24 -0000	1.3631
+++ ChangeLog	2 Jul 2007 03:20:33 -0000	1.3632
@@ -1,5 +1,20 @@
 2007-07-01 Sandro Santilli <strk@keybit.net>
 
+	* libbase/GC.h: don't be verbose about GC by default.
+	* server/movie_root.{cpp,h}: (add_interval_timer): take the Timer by
+	  auto_ptr, add an optional second argument marking the timer as
+	  internal (for use by xmlsocket/LoadVars and whichever other gnash
+	  internal class in need for a timer). Internal timers will get a
+	  negative identifier so to not introduce unexpected gaps in the
+	  user-defined interval timers sequences. Fix bugs introduced in last
+	  commit related to timer expiration and iterators invalidation.
+	* server/timers.{cpp,h}: add some inspector functions, use VM::getTime
+	  for timers (milliseconds).
+	* server/asobj/: LoadVars.cpp, xmlsocket.cpp: update calls to
+	  movie_root::add_interval_timer to mark these timers as internal.
+
+2007-07-01 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/simple.exp: increment timeout from 4 to 5 minutes.
 	* server/movie_root.{cpp,h}: store Timers into a map rather then
 	  a vector, to allow for removal w/out loosing the timer identifier.

Index: libbase/GC.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- libbase/GC.h	1 Jul 2007 10:54:06 -0000	1.11
+++ libbase/GC.h	2 Jul 2007 03:20:33 -0000	1.12
@@ -32,7 +32,7 @@
 
 // Define the following macro to enable GC verbosity 
 // Define to > 1 to have info printed about scan of already reachable objects
-#define GNASH_GC_DEBUG 1
+//#define GNASH_GC_DEBUG 1
 
 #ifdef GNASH_GC_DEBUG
 # include "log.h"

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -b -r1.71 -r1.72
--- server/movie_root.cpp	2 Jul 2007 00:18:25 -0000	1.71
+++ server/movie_root.cpp	2 Jul 2007 03:20:34 -0000	1.72
@@ -86,6 +86,13 @@
 	{
 		delete *it;
 	}
+
+	for (TimerMap::iterator it=_intervalTimers.begin(),
+			itE=_intervalTimers.end();
+			it != itE; ++it)
+	{
+		delete it->second;
+	}
 	assert(testInvariant());
 }
 
@@ -508,29 +515,15 @@
 	assert(testInvariant());
 }
 
-#if 0 // see comments in movie_root.h
-void
-movie_root::get_url(const char *url)
-{
-    GNASH_REPORT_FUNCTION;
-
-	// nobody should use this function
-	assert(0);
-    
-    string command = "mozilla -remote \"openurl";
-    command += url;
-    command += ")\"";
-    log_msg (_("Launching URL... %s"), command.c_str());
-    system(command.c_str());
-}
-#endif
-
 unsigned int
-movie_root::add_interval_timer(const Timer& timer)
+movie_root::add_interval_timer(std::auto_ptr<Timer> timer, bool internal)
 {
+	assert(timer.get());
 	assert(testInvariant());
 			
-	unsigned int id = ++_lastTimerId;
+	int id = ++_lastTimerId;
+	if ( internal ) id = -id;
+
 	if ( _intervalTimers.size() >= 255 )
 	{
 		// TODO: Why this limitation ? 
@@ -538,26 +531,27 @@
 	}
 
 	assert(_intervalTimers.find(id) == _intervalTimers.end());
-	_intervalTimers[id] = timer; 
+	_intervalTimers[id] = timer.release(); 
 	return id;
 }
 	
 bool
 movie_root::clear_interval_timer(unsigned int x)
 {
-	return _intervalTimers.erase(x);
-#if 0
-	if ( ! x || x > _intervalTimers.size() ) return false;
+	TimerMap::iterator it = _intervalTimers.find(x);
+	if ( it == _intervalTimers.end() ) return false;
 
-	Timer& timer = _intervalTimers[x-1];
-
-	// will make sure next expire() will always return false!
-	timer.clearInterval();
-
-	assert(testInvariant());
+	// We do not remove the element here because
+	// we might have been called during execution
+	// of another timer, thus during a scan of the _intervalTimers
+	// container. If we use erase() here, the iterators in executeTimers
+	// would be invalidated. Rather, executeTimers() would check container
+	// elements for being still active and remove the cleared one in a safe way
+	// at each iteration.
+	it->second->clearInterval();
 
 	return true;
-#endif
+
 }
 	
 void
@@ -565,23 +559,8 @@
 {
 	// GNASH_REPORT_FUNCTION;
 
-	// Copy to avoid timers invalidation.
-	// TODO: we might want to use pointers as elements rather then values,
-	//       so to allow disabling of a timer (ie: should we still execute expired
-	//       timers if a previous timer execution cleared it ?)
-	// TODO: wrap this in a executeTimers() method 
-	TimerMap timers = _intervalTimers;
-	for (TimerMap::iterator it=timers.begin(), itEnd=timers.end();
-			it != itEnd; ++it)
-	{
-		Timer& timer = it->second;
-		if ( timer.expired() )
-		{
-			// log_msg("FIXME: Interval Timer Expired!\n");
-			//_movie->on_event_interval_timer();
-			timer();
-		}
-	}
+	// Execute expired timers
+	executeTimers();
 
 #ifndef NEW_KEY_LISTENER_LIST_DESIGN
 	// Cleanup key listeners (remove unloaded characters)
@@ -1025,6 +1004,49 @@
 	_actionQueue.push_back(new FunctionCode(func, target));
 }
 
+/* private */
+void
+movie_root::executeTimers()
+{
+	for (TimerMap::iterator it=_intervalTimers.begin(), itEnd=_intervalTimers.end();
+			it != itEnd; )
+	{
+		// Get an iterator to next element, as we'll use
+		// erase to drop cleared timers, and that would
+		// invalidate the current iterator.
+		//
+		// FYI: it's been reported on ##iso-c++ that next
+		//      C++ version will fix std::map<>::erase(iterator)
+		//      to return the next valid iterator,
+		//      like std::list<>::erase(iterator) does.
+		//      For now, we'll have to handle this manually)
+		//
+		TimerMap::iterator nextIterator = it;
+		++nextIterator;
+
+		Timer* timer = it->second;
+
+		if ( timer->cleared() )
+		{
+			// this timer was cleared, erase it
+			delete timer;
+			_intervalTimers.erase(it);
+		}
+		else
+		{
+			if ( timer->expired() )
+			{
+				//cout << " EXPIRED, start time is now " << timer.getStart() << endl;
+				//_movie->on_event_interval_timer();
+				(*timer)();
+			}
+		}
+
+		it = nextIterator;
+	}
+
+}
+
 #ifdef GNASH_USE_GC
 void
 movie_root::markReachableResources() const
@@ -1040,7 +1062,7 @@
 	for (TimerMap::const_iterator i=_intervalTimers.begin(), e=_intervalTimers.end();
 			i != e; ++i)
 	{
-		i->second.markReachableResources();
+		i->second->markReachableResources();
 	}
 
 	// Mark resources reachable by queued action code

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- server/movie_root.h	2 Jul 2007 00:18:25 -0000	1.62
+++ server/movie_root.h	2 Jul 2007 03:20:34 -0000	1.63
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.62 2007/07/02 00:18:25 strk Exp $ */
+/* $Id: movie_root.h,v 1.63 2007/07/02 03:20:34 strk Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -287,13 +287,16 @@
 	/// Add an interval timer
 	//
 	/// @param timer
-	///	A Timer, will be copied.
+	///	A Timer, ownership will be transferred. Must not be NULL.
+	///
+	/// @param internal
+	///	If true, this is an internal timer, so will get a negative id.
 	///
 	/// @return An integer indentifying the timer
 	///         for subsequent call to clear_interval_timer.
 	///         It will NEVER be zero.
 	///
-	unsigned int add_interval_timer(const Timer& timer);
+	unsigned int add_interval_timer(std::auto_ptr<Timer> timer, bool internal=false);
 
 	/// Remove timer identified by given integer
 	//
@@ -477,6 +480,9 @@
 	/// Forbid assignment
 	movie_root& operator=(const movie_root& ) { assert(0); return *this; }
 
+	/// Execute expired timers
+	void executeTimers();
+
 	/// Notify the global Key ActionScript object about a key status change
 	key_as_object * notify_global_key(key::code k, bool down);
 	
@@ -521,7 +527,7 @@
 	bool			m_on_event_xmlsocket_onxml_called;
 	bool			m_on_event_load_progress_called;
 
-	typedef std::map<int, Timer> TimerMap;
+	typedef std::map<int, Timer*> TimerMap;
 
 	TimerMap _intervalTimers;
 	unsigned int _lastTimerId;

Index: server/timers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/timers.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- server/timers.cpp	1 Jul 2007 10:54:25 -0000	1.35
+++ server/timers.cpp	2 Jul 2007 03:20:34 -0000	1.36
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: timers.cpp,v 1.35 2007/07/01 10:54:25 bjacques Exp $ */
+/* $Id: timers.cpp,v 1.36 2007/07/02 03:20:34 strk Exp $ */
 
 #include "timers.h"
 #include "as_function.h" // for class as_function
@@ -49,22 +49,22 @@
   
 
   void
-  Timer::setInterval(as_function& method, unsigned ms, boost::intrusive_ptr<as_object> this_ptr)
+  Timer::setInterval(as_function& method, uint64_t ms, boost::intrusive_ptr<as_object> this_ptr)
   {
     _function = &method;
-    _interval = ms * 1000; // transform to microseconds 
-    //log_msg("_interval microseconds: %lu", _interval);
+    _interval = ms; // keep milliseconds
+    //log_msg("_interval milliseconds: %lu", _interval);
     _object = this_ptr;
     start();
   }
 
   void
-  Timer::setInterval(as_function& method, unsigned ms, boost::intrusive_ptr<as_object> this_ptr, 
+  Timer::setInterval(as_function& method, uint64_t ms, boost::intrusive_ptr<as_object> this_ptr, 
 		  std::vector<as_value>& args)
   {
     _function = &method;
-    _interval = ms * 1000; // transform to microseconds 
-    //log_msg("_interval microseconds: %lu", _interval);
+    _interval = ms; // keep as milliseconds
+    //log_msg("_interval milliseconds: %llu", _interval);
     _object = this_ptr;
     _args = args;
     start();
@@ -80,7 +80,7 @@
   void
   Timer::start()
   {
-	_start = tu_timer::get_profile_ticks();
+	_start = VM::get().getTime();
 	//log_msg("_start at seconds %lu", _start);
   }
   
@@ -90,21 +90,23 @@
 {
 	if (_start)
 	{
-		uint64_t now = tu_timer::get_profile_ticks();
+		uint64_t now = VM::get().getTime();
 		assert(now >= _start); // it is possible for now to be == _start 
 
-		//printf("FIXME: %s: now is %f, start time is %f, interval is %f\n", __FUNCTION__, now, _start, _interval);
+		//cout << "Start is " << _start << " interval is " << _interval << " now is " << now << endl;
 		if (now > _start + _interval)
 		{
 			_start = now; // reset the timer
+			//cout << " Expired, reset start to " << _start << endl;
 			//log_msg("Timer expired! \n");
 			return true;
 		}
 	}
 	else
 	{
-		//log_msg("Timer not enabled!");
+		log_msg("Timer not enabled!");
 	}
+
 	return false;
 }
 
@@ -227,7 +229,7 @@
 	}
 
 	// Get interval time
-	int ms = int(fn.arg(timer_arg).to_number());
+	uint64_t ms = uint64_t(fn.arg(timer_arg).to_number());
 
 	// Parse arguments 
 	Timer::ArgsContainer args;
@@ -236,8 +238,8 @@
 		args.push_back(fn.arg(i));
 	}
 
-	Timer timer;
-	timer.setInterval(*as_func, ms, fn.this_ptr, args);
+	std::auto_ptr<Timer> timer(new Timer);
+	timer->setInterval(*as_func, ms, fn.this_ptr, args);
     
 	movie_root& root = VM::get().getRoot();
 	int id = root.add_interval_timer(timer);

Index: server/timers.h
===================================================================
RCS file: /sources/gnash/gnash/server/timers.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- server/timers.h	1 Jul 2007 10:54:25 -0000	1.24
+++ server/timers.h	2 Jul 2007 03:20:34 -0000	1.25
@@ -85,7 +85,7 @@
       ///	It is allowed to be NULL as long as fn_call is allowed
       ///	a NULL as 'this_ptr' (we might want to change this).
       ///
-      void setInterval(as_function& method, unsigned ms, boost::intrusive_ptr<as_object> this_ptr);
+      void setInterval(as_function& method, uint64_t ms, boost::intrusive_ptr<as_object> this_ptr);
 
       /// Setup the Timer, enabling it.
       //
@@ -105,7 +105,7 @@
       /// @param args
       /// 	The list of arguments to pass to the function being invoked.
       ///
-      void setInterval(as_function& method, unsigned ms, boost::intrusive_ptr<as_object> this_ptr, 
+      void setInterval(as_function& method, uint64_t ms, boost::intrusive_ptr<as_object> this_ptr, 
 		      std::vector<as_value>& args);
 
       /// Clear the timer, ready for reuse
@@ -123,12 +123,24 @@
       //
       bool expired();
 
+      /// Return true if interval has been cleared.
+      //
+      /// Note that the timer is constructed as cleared and you
+      /// need to call setInterval() to make it not-cleared.
+      bool cleared() const { return ! _start; }
+
       /// Execute associated function properly setting up context
       void operator() ();
       
       /// Arguments list type
       typedef std::vector<as_value> ArgsContainer;
       
+      /// Return number of microseconds between expirations 
+      uint64_t getInterval() const { return _interval; }
+
+      /// Return number of milliseconds after VM start this timer was last reset
+      uint64_t getStart() const { return _start; }
+
 #ifdef GNASH_USE_GC
 	/// Mark all reachable resources (for GC)
 	//
@@ -149,10 +161,10 @@
       ///
       void start();
 
-      /// Number of microseconds between expirations 
+      /// Number of milliseconds between expirations 
       uint64_t _interval;
 
-      /// Number of microseconds since epoch at Timer start
+      /// Number of microseconds since epoch at Timer start (?)
       uint64_t _start;
 
       /// The associated function, stored in an intrusive pointer

Index: server/asobj/LoadVars.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/LoadVars.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- server/asobj/LoadVars.cpp	1 Jul 2007 10:54:28 -0000	1.26
+++ server/asobj/LoadVars.cpp	2 Jul 2007 03:20:34 -0000	1.27
@@ -404,8 +404,9 @@
 		using boost::intrusive_ptr;
 		intrusive_ptr<builtin_function> loadsChecker = new builtin_function(
 			&LoadVars::checkLoads_wrapper, NULL);
-		Timer timer; timer.setInterval(*loadsChecker, 50, this);
-		_loadCheckerTimer = VM::get().getRoot().add_interval_timer(timer);
+		std::auto_ptr<Timer> timer(new Timer);
+		timer->setInterval(*loadsChecker, 50, this);
+		_loadCheckerTimer = VM::get().getRoot().add_interval_timer(timer, true);
 	}
 
 	URL url(urlstr, get_base_url());

Index: server/asobj/xmlsocket.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/xmlsocket.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- server/asobj/xmlsocket.cpp	1 Jul 2007 10:54:32 -0000	1.30
+++ server/asobj/xmlsocket.cpp	2 Jul 2007 03:20:34 -0000	1.31
@@ -463,11 +463,11 @@
     {
         log_msg(_("Setting up timer for calling XMLSocket.onData()"));
 
-        Timer timer;
+	std::auto_ptr<Timer> timer(new Timer);
         boost::intrusive_ptr<builtin_function> ondata_handler = new builtin_function(&xmlsocket_inputChecker, NULL);
         unsigned interval = 50; // just make sure it's expired at every frame iteration (20 FPS used here)
-        timer.setInterval(*ondata_handler, interval, boost::dynamic_pointer_cast<as_object>(ptr));
-        VM::get().getRoot().add_interval_timer(timer);
+        timer->setInterval(*ondata_handler, interval, boost::dynamic_pointer_cast<as_object>(ptr));
+        VM::get().getRoot().add_interval_timer(timer, true);
 
         log_msg(_("Timer set"));
     }



From MAILER-DAEMON Mon Jul 02 04:12:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5H12-0002gV-UX
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 04:12:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5H11-0002dW-63
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 04:12:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5H0z-0002bH-A8
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 04:12:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5H0z-0002b5-2N
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 04:12:09 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5H0y-000183-K1
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 04:12:08 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l628C3U4012409;
	Mon, 2 Jul 2007 10:12:05 +0200
Date: Mon, 2 Jul 2007 10:12:02 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1655137891.20070702101202@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash COPYING ChangeLog
In-Reply-To: <E1I51RH-0000P2-AD@cvs.savannah.gnu.org>
References: <E1I51RH-0000P2-AD@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 08:12:11 -0000

Sunday, July 1, 2007, 5:34:15 PM, you wrote:
SS>  * COPYING: update to GPL version 3

Uh. Was this change obvious? Never saw any discussion on this...

With all the fuss about GPLv3, does this make any implications on
"commercial use" of Gnash (ie. use in embedded devices)?

Udo




From MAILER-DAEMON Mon Jul 02 04:13:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5H2J-0003b0-Ad
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 04:13:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5H2H-0003aW-6E
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 04:13:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5H2G-0003aC-Go
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 04:13:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5H2G-0003a9-Bj
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 04:13:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5H2G-0001Tx-45
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 04:13:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5H2F-000668-IY
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 08:13:27 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5H2F-000662-E4
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 08:13:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5H2F-000662-E4@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Mon, 02 Jul 2007 08:13:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gtk_glue_agg.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 08:13:29 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/02 08:13:27

Modified files:
	.              : ChangeLog 
	gui            : gtk_glue_agg.cpp 

Log message:
	gui/gtk_glue_agg.cpp: Disable MIT-SHM when pixel format is not recognized

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3632&r2=1.3633
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_agg.cpp?cvsroot=gnash&r1=1.22&r2=1.23

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3632
retrieving revision 1.3633
diff -u -b -r1.3632 -r1.3633
--- ChangeLog	2 Jul 2007 03:20:33 -0000	1.3632
+++ ChangeLog	2 Jul 2007 08:13:26 -0000	1.3633
@@ -1,3 +1,7 @@
+2007-07-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* gui/gtk_glue_agg.cpp: Disable MIT-SHM when pixel format is not recognized 
+
 2007-07-01 Sandro Santilli <strk@keybit.net>
 
 	* libbase/GC.h: don't be verbose about GC by default.

Index: gui/gtk_glue_agg.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gtk_glue_agg.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- gui/gtk_glue_agg.cpp	1 Jul 2007 10:54:02 -0000	1.22
+++ gui/gtk_glue_agg.cpp	2 Jul 2007 08:13:27 -0000	1.23
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: gtk_glue_agg.cpp,v 1.22 2007/07/01 10:54:02 bjacques Exp $ */
+/* $Id: gtk_glue_agg.cpp,v 1.23 2007/07/02 08:13:27 udog Exp $ */
 
 
 /// \page gtk_shm_support GTK shared memory extension support
@@ -273,6 +273,10 @@
 
   if (!pixelformat) {
     log_msg("Pixel format of X server not recognized!");
+    
+    // disable use of shared memory pixmaps
+    _have_shm = false;
+    
     return NULL; 
   }
 



From MAILER-DAEMON Mon Jul 02 05:34:55 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5IJ5-00040C-0Z
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 05:34:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5IJ3-0003zh-HI
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 05:34:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5IJ2-0003zV-UR
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 05:34:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5IJ2-0003zS-Pp
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 05:34:52 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I5IJ2-0001oc-D7
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 05:34:52 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I5IJ1-0003ZY-AF
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:34:51 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I5IJ1-0003ZV-5n
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:34:51 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5IJ1-0003ZV-5n@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 02 Jul 2007 09:34:51 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gnash.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 09:34:53 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/02 09:34:51

Modified files:
	.              : ChangeLog 
	gui            : gnash.cpp 

Log message:
	Clean up

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3633&r2=1.3634
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.77&r2=1.78

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3633
retrieving revision 1.3634
diff -u -b -r1.3633 -r1.3634
--- ChangeLog	2 Jul 2007 08:13:26 -0000	1.3633
+++ ChangeLog	2 Jul 2007 09:34:50 -0000	1.3634
@@ -36,7 +36,7 @@
 2007-07-01 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* README: Added note on IRC.
-	* gui/gnash.cpp: Added -V as shor for --version.
+	* gui/gnash.cpp: Added -V as shor for --version. Clean-up.
 
 2007-07-01 Sandro Santilli <strk@keybit.net>
 

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- gui/gnash.cpp	1 Jul 2007 16:52:40 -0000	1.77
+++ gui/gnash.cpp	2 Jul 2007 09:34:50 -0000	1.78
@@ -104,7 +104,7 @@
         "  -m <bias>    Specify the texture LOD bias (float, default is -1.0)\n"
         "  -x <ID>      X11 Window ID for display\n"
         "  -w           Produce the disk based debug log\n"
-		"  -j <width>   Set window width\n"
+	"  -j <width >   Set window width\n"
 		"  -k <height>  Set window height\n"
         "  -1           Play once; exit when/if movie reaches the last frame\n"
 		), _(
@@ -122,7 +122,7 @@
         "  -U <url>     Set \"base\" url for this run\n"
 		"               (used to resolve relative urls, defaults to movie url)\n"
         "  -P <param>   Set parameter (ie. \"FlashVars=A=1&b=2\")\n"
-        "  -V,--version Print gnash's version number and exit\n"
+        "  -V, --version Print gnash's version number and exit\n"
 		), _(
         "\n"
         "keys:\n"



From MAILER-DAEMON Mon Jul 02 07:33:28 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5K9n-0007sI-Nc
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 07:33:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5K9j-0007nI-AL
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 07:33:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5K9e-0007kS-UO
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 07:33:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5K9e-0007jz-H9
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 07:33:18 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5K9d-0001PY-VH
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 07:33:18 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l62BXDU4001824;
	Mon, 2 Jul 2007 13:33:15 +0200
Date: Mon, 2 Jul 2007 13:33:12 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1145974445.20070702133312@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog libbase/ref_counted.h
	libbase/s...
In-Reply-To: <20070630170157.GA39002@keybit.net>
References: <E1I4gBp-0000x3-Va@cvs.savannah.gnu.org>
	<20070630170157.GA39002@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 11:33:24 -0000

Do we still need to be thread-safe when only AS objects are garbage
collected? My gut feeling is "yes", so even future changes will be
safe.

Have you read about the tri-color GC? What do you think about it?

Udo




From MAILER-DAEMON Mon Jul 02 09:53:24 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5MLE-0000Te-7d
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 09:53:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5MLC-0000Qa-OQ
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:53:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5MLB-0000O8-EI
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:53:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5MLB-0000NX-5U
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:53:21 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <tomasgroth@yahoo.dk>) id 1I5MLA-0000IM-QM
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:53:20 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <tomasgroth@yahoo.dk>) id 1I5ML9-0006Pg-Td
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 13:53:20 +0000
Received: from tgc by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <tgc@savannah.gnu.org>) id 1I5ML9-0006Pd-Pn
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 13:53:19 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5ML9-0006Pd-Pn@cvs.savannah.gnu.org>
From: Tomas Groth <tomasgroth@yahoo.dk>
Date: Mon, 02 Jul 2007 13:53:19 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/sound_handler_gst.cpp b...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 13:53:23 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Tomas Groth <tgc>	07/07/02 13:53:19

Modified files:
	.              : ChangeLog 
	backend        : sound_handler_gst.cpp sound_handler_sdl.cpp 

Log message:
		* backend/sound_handler_gst.cpp: Moved creation of a tempoary
		  variable to avoid an assertion failure.
		* backend/sound_handler_sdl.cpp: Improved error handling.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3634&r2=1.3635
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.cpp?cvsroot=gnash&r1=1.50&r2=1.51
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.71&r2=1.72

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3634
retrieving revision 1.3635
diff -u -b -r1.3634 -r1.3635
--- ChangeLog	2 Jul 2007 09:34:50 -0000	1.3634
+++ ChangeLog	2 Jul 2007 13:53:19 -0000	1.3635
@@ -1,3 +1,9 @@
+2007-07-02 Tomas Groth Christensen <tomasgroth@yahoo.dk>
+
+	* backend/sound_handler_gst.cpp: Moved creation of a tempoary
+	  variable to avoid an assertion failure.
+	* backend/sound_handler_sdl.cpp: Improved error handling.
+
 2007-07-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* gui/gtk_glue_agg.cpp: Disable MIT-SHM when pixel format is not recognized 

Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- backend/sound_handler_gst.cpp	1 Jul 2007 10:53:48 -0000	1.50
+++ backend/sound_handler_gst.cpp	2 Jul 2007 13:53:19 -0000	1.51
@@ -20,7 +20,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.50 2007/07/01 10:53:48 bjacques Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.51 2007/07/02 13:53:19 tgc Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -183,8 +183,6 @@
 
 	mutex::scoped_lock lock(gstelements->handler->_mutex);
 
-	guint8* data_pos = gstelements->get_data_ptr(gstelements->position);
-
 	// First callback
 	if (GST_BUFFER_SIZE(buffer) == 0) {
 		if (gstelements->data_size > BUFFER_SIZE) {
@@ -210,6 +208,8 @@
 		return;
 	}
 
+	guint8* data_pos = gstelements->get_data_ptr(gstelements->position);
+
 	// Last callback - the last re-fill
 	if (gstelements->position+BUFFER_SIZE > gstelements->data_size) {
 	

Index: backend/sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -b -r1.71 -r1.72
--- backend/sound_handler_sdl.cpp	1 Jul 2007 10:53:49 -0000	1.71
+++ backend/sound_handler_sdl.cpp	2 Jul 2007 13:53:19 -0000	1.72
@@ -18,7 +18,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-// $Id: sound_handler_sdl.cpp,v 1.71 2007/07/01 10:53:49 bjacques Exp $
+// $Id: sound_handler_sdl.cpp,v 1.72 2007/07/02 13:53:19 tgc Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -684,7 +684,7 @@
 	// call NetStream or Sound audio callbacks
 	if (handler->m_aux_streamer.size() > 0)
 	{
-		Uint8* buf = new Uint8[buffer_length];
+		uint8_t* buf = new uint8_t[buffer_length];
 
 		// Loop through the attached sounds
 		hash_wrapper< void*, gnash::sound_handler::aux_streamer_ptr >::iterator it = handler->m_aux_streamer.begin();
@@ -776,7 +776,7 @@
 
 					long bytes_decoded = 0;
 
-					while (outsize == 0) {
+					while (outsize == 0 && sound->position < sound->data_size) {
 						uint8_t* frame;
 						int framesize;
 
@@ -929,7 +929,7 @@
 				} else { 
 					mix_length = decoded_size;
 				}
-
+				if (sound->raw_data_size < 2) continue; // something went terrible wrong
 				do_mixing(stream+index, sound, sound->get_raw_data_ptr(0), mix_length, sounddata->volume);
 
 			// When the current sound has enough decoded data to fill 
@@ -975,8 +975,8 @@
 				handler->soundsPlaying--;
 			}
 
-		}
-	}
+		} // active sounds loop
+	} // existing sounds loop
 
 }
 



From MAILER-DAEMON Mon Jul 02 09:54:04 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5MLs-000174-Jm
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 09:54:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5MLr-00014h-GL
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:54:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5MLq-000103-2D
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:54:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5MLp-0000zQ-Mg
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:54:01 -0400
Received: from an-out-0708.google.com ([209.85.132.246])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <sandro.santilli@gmail.com>) id 1I5MLp-0000PH-7e
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 09:54:01 -0400
Received: by an-out-0708.google.com with SMTP id c25so289019ana
	for <gnash-commit@gnu.org>; Mon, 02 Jul 2007 06:54:00 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth;
	b=PxQ4KB9x021zIBTkc0XbNlBINvt3ElbYXsL/jTcscwmRgOJAQSv10wubpb6Rn9NbvgX5XTmbFcHPJu2cE810GsN9fZJ0lW9Jk2hcxCHbRS/6UGbicS8AQ3A5qLVKwTfhrm6Ov8X7/7172VyqZedAA23DKGDNh0eG0ApoZSvsVVQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth;
	b=eCOd0iq3SzYFEAAT69cUs07UzaoA0dW19Mdber+ZpGkm7RdJNS2dR9SZGTAXnw++0Qa9bskAwc5k577zgRYlBqRxqs/DToJzx/NiJR8jmlJ6uXp9NHTQfMAPFq0pJE3oZZKZyHiW6UCO02NMDdCOjGCUvqUvfaua8WO6Rfd2voQ=
Received: by 10.100.111.16 with SMTP id j16mr3647117anc.1183384440065;
	Mon, 02 Jul 2007 06:54:00 -0700 (PDT)
Received: by 10.100.95.10 with HTTP; Mon, 2 Jul 2007 06:54:00 -0700 (PDT)
Message-ID: <1af0b2b20707020654y62d928c3oeea639326bce8986@mail.gmail.com>
Date: Mon, 2 Jul 2007 09:54:00 -0400
From: "Sandro Santilli" <strk@keybit.net>
Sender: sandro.santilli@gmail.com
To: "Udo Giacomozzi" <udo.gnu@nova-sys.net>
Subject: Re: Re[2]: [Gnash-commit] gnash ChangeLog libbase/ref_counted.h
	libbase/s...
In-Reply-To: <1145974445.20070702133312@nova-sys.net>
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_101505_25943378.1183384440041"
References: <E1I4gBp-0000x3-Va@cvs.savannah.gnu.org>
	<20070630170157.GA39002@keybit.net>
	<1145974445.20070702133312@nova-sys.net>
X-Google-Sender-Auth: 0be8d8d246c10d7e
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 13:54:03 -0000

------=_Part_101505_25943378.1183384440041
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/2/07, Udo Giacomozzi <udo.gnu@nova-sys.net> wrote:
>
> Do we still need to be thread-safe when only AS objects are garbage
> collected? My gut feeling is "yes", so even future changes will be
> safe.



In current head an assertion would fail if anything but the *main* thread
registers a collectable to the GC. You can try by allocationg an as_object
in movie_def_impl::read_all_swf, for example.
So future changes in this direction will not go unnoticed.

Have you read about the tri-color GC? What do you think about it?


I'm trying to keep it simple for the moment. Would like to clean up the
current code before thinking about improvements. We'd also need to
profile it.

--strk;

------=_Part_101505_25943378.1183384440041
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div><span class="gmail_quote">On 7/2/07, <b class="gmail_sendername">Udo Giacomozzi</b> &lt;<a href="mailto:udo.gnu@nova-sys.net">udo.gnu@nova-sys.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do we still need to be thread-safe when only AS objects are garbage<br>collected? My gut feeling is &quot;yes&quot;, so even future changes will be<br>safe.</blockquote><div><br><br>In current head an assertion would fail if anything but the *main* thread
<br>registers a collectable to the GC. You can try by allocationg an as_object<br>in movie_def_impl::read_all_swf, for example.<br>So future changes in this direction will not go unnoticed.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Have you read about the tri-color GC? What do you think about it?</blockquote><div><br>I&#39;m trying to keep it simple for the moment. Would like to clean up the<br>current code before thinking about improvements. We&#39;d also need to
<br>profile it.<br><br>--strk;<br></div></div><br>

------=_Part_101505_25943378.1183384440041--



From MAILER-DAEMON Mon Jul 02 10:14:54 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5Mg1-0005IX-Ts
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 10:14:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Mg0-0005IQ-FD
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 10:14:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Mfz-0005ID-8z
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 10:14:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Mfz-0005IA-61
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 10:14:51 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I5Mfy-0003tQ-Jl
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 10:14:51 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l62EEic78299;
	Mon, 2 Jul 2007 16:14:44 +0200 (CEST) (envelope-from strk@keybit.net)
Date: Mon, 2 Jul 2007 16:14:44 +0200
From: Sandro Santilli <strk@keybit.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash COPYING ChangeLog
Message-ID: <20070702141444.GA69506@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1I51RH-0000P2-AD@cvs.savannah.gnu.org>
	<1655137891.20070702101202@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1655137891.20070702101202@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 14:14:52 -0000

On Mon, Jul 02, 2007 at 10:12:02AM +0200, Udo Giacomozzi wrote:
> Sunday, July 1, 2007, 5:34:15 PM, you wrote:
> SS>  * COPYING: update to GPL version 3
> 
> Uh. Was this change obvious? Never saw any discussion on this...
> 
> With all the fuss about GPLv3, does this make any implications on
> "commercial use" of Gnash (ie. use in embedded devices)?

As far as a user is still allowed to modify the software you ship
with your embedded device you're fine.

--strk;



From MAILER-DAEMON Mon Jul 02 10:42:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5N6S-0000oT-EX
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 10:42:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5N6Q-0000h3-Dl
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 10:42:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5N6P-0000fl-Uf
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 10:42:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5N6P-0000fa-QJ
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 10:42:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <tomasgroth@yahoo.dk>) id 1I5N6P-00087d-EJ
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 10:42:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <tomasgroth@yahoo.dk>) id 1I5N6O-0000nk-Nz
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:42:08 +0000
Received: from tgc by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <tgc@savannah.gnu.org>) id 1I5N6O-0000nd-Fh
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:42:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5N6O-0000nd-Fh@cvs.savannah.gnu.org>
From: Tomas Groth <tomasgroth@yahoo.dk>
Date: Mon, 02 Jul 2007 14:42:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/parser/sprite_definition.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 14:42:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Tomas Groth <tgc>	07/07/02 14:42:08

Modified files:
	.              : ChangeLog 
	server/parser  : sprite_definition.h 

Log message:
		* server/parser/sprite_definition.h: Allow soundsamples to be added
		  from sprites. Should the malformed-swf warning be removed?

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3635&r2=1.3636
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/sprite_definition.h?cvsroot=gnash&r1=1.24&r2=1.25

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3635
retrieving revision 1.3636
diff -u -b -r1.3635 -r1.3636
--- ChangeLog	2 Jul 2007 13:53:19 -0000	1.3635
+++ ChangeLog	2 Jul 2007 14:42:07 -0000	1.3636
@@ -1,5 +1,7 @@
 2007-07-02 Tomas Groth Christensen <tomasgroth@yahoo.dk>
 
+	* server/parser/sprite_definition.h: Allow soundsamples to be added
+	  from sprites. Should the malformed-swf warning be removed?
 	* backend/sound_handler_gst.cpp: Moved creation of a tempoary
 	  variable to avoid an assertion failure.
 	* backend/sound_handler_sdl.cpp: Improved error handling.

Index: server/parser/sprite_definition.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/sprite_definition.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- server/parser/sprite_definition.h	1 Jul 2007 10:54:34 -0000	1.24
+++ server/parser/sprite_definition.h	2 Jul 2007 14:42:08 -0000	1.25
@@ -216,11 +216,12 @@
 	}
 
 	/// Overridden just for complaining  about malformed SWF
-	virtual void add_sound_sample(int /*id*/, sound_sample* /*sam*/)
+	virtual void add_sound_sample(int id, sound_sample* sam)
 	{
 		IF_VERBOSE_MALFORMED_SWF (
 		log_swferror(_("add sam appears in sprite tags"));
 		);
+		m_movie_def->add_sound_sample(id,sam);
 	}
 
 	/// Delegate call to associated root movie



From MAILER-DAEMON Mon Jul 02 11:15:51 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5Nd1-0001VP-39
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 11:15:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Ncz-0001Uq-94
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 11:15:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Ncy-0001UT-MZ
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 11:15:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Ncy-0001UP-Dl
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 11:15:48 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5Ncy-0005Uw-3k
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 11:15:48 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5Ncv-0003kl-SD
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:15:45 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5Ncv-0003kf-LW
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:15:45 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5Ncv-0003kf-LW@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 15:15:45 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server sprite_instance.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 15:15:49 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 15:15:45

Modified files:
	server         : sprite_instance.cpp 

Log message:
	commented out debugging line

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.293&r2=1.294

Patches:
Index: sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.293
retrieving revision 1.294
diff -u -b -r1.293 -r1.294
--- sprite_instance.cpp	1 Jul 2007 10:54:24 -0000	1.293
+++ sprite_instance.cpp	2 Jul 2007 15:15:45 -0000	1.294
@@ -2689,7 +2689,7 @@
 	newList.reset(*m_def, tgtFrame, true);
 	if ( newList != m_display_list )
 	{
-		cout << "Modified DisplayList: " << newList << endl;
+		//cout << "Modified DisplayList: " << newList << endl;
 		set_invalidated();
 		m_display_list = newList;
 	}



From MAILER-DAEMON Mon Jul 02 12:31:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5OoA-0001XX-Lf
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 12:31:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Oo9-0001Wy-CA
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 12:31:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Oo8-0001WR-3x
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 12:31:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Oo8-0001WM-0M
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 12:31:24 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5Oo7-0005Y1-Gr
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 12:31:23 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5Oo6-0008St-Ci
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 16:31:22 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5Oo6-0008Sq-7r
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 16:31:22 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5Oo6-0008Sq-7r@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 16:31:22 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 16:31:25 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 16:31:22

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: add --enable-fps-debug switch to define
	          GNASH_FPS_DEBUG macro, to use for fuzy speed profiling.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3636&r2=1.3637
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.345&r2=1.346

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3636
retrieving revision 1.3637
diff -u -b -r1.3636 -r1.3637
--- ChangeLog	2 Jul 2007 14:42:07 -0000	1.3636
+++ ChangeLog	2 Jul 2007 16:31:21 -0000	1.3637
@@ -1,3 +1,8 @@
+2007-07-02 Sandro Santilli <strk@keybit.net>
+
+	* configure.ac: add --enable-fps-debug switch to define
+	  GNASH_FPS_DEBUG macro, to use for fuzy speed profiling.
+
 2007-07-02 Tomas Groth Christensen <tomasgroth@yahoo.dk>
 
 	* server/parser/sprite_definition.h: Allow soundsamples to be added

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.345
retrieving revision 1.346
diff -u -b -r1.345 -r1.346
--- configure.ac	1 Jul 2007 10:53:46 -0000	1.345
+++ configure.ac	2 Jul 2007 16:31:21 -0000	1.346
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.345 2007/07/01 10:53:46 bjacques Exp $
+dnl $Id: configure.ac,v 1.346 2007/07/02 16:31:21 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -123,6 +123,12 @@
 
 AC_ARG_WITH(top_level, AC_HELP_STRING([--with-top-level], [top level directory for cross compiling files]), with_top_level=${withval})
 
+AC_ARG_ENABLE(fps-debug,
+  AC_HELP_STRING([--enable-fps-debug],[Enable FPS debugging code]),
+[case "${enableval}" in
+  yes) AC_DEFINE([GNASH_FPS_DEBUG], [1], [Enable FPS debugging code])
+esac])
+
 AC_ARG_WITH(cpu,
   AC_HELP_STRING([--with-cpu],[specify a cpu when cross compiling.]),
   [case "${withval}" in



From MAILER-DAEMON Mon Jul 02 13:17:08 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5PWO-0005Qo-0c
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 13:17:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5PWL-0005ID-K2
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 13:17:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5PWK-0005Ds-8C
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 13:17:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5PWK-0005DR-3x
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 13:17:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5PWJ-0000Iw-QO
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 13:17:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5PWJ-0003r0-0K
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 17:17:03 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5PWI-0003qx-L7
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 17:17:02 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5PWI-0003qx-L7@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Mon, 02 Jul 2007 17:17:02 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 17:17:06 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/02 17:17:02

Modified files:
	.              : ChangeLog 
	gui            : gui.cpp gui.h 

Log message:
	add fpsCounterTick() for FPS profiling

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3637&r2=1.3638
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.81&r2=1.82
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.53&r2=1.54

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3637
retrieving revision 1.3638
diff -u -b -r1.3637 -r1.3638
--- ChangeLog	2 Jul 2007 16:31:21 -0000	1.3637
+++ ChangeLog	2 Jul 2007 17:17:01 -0000	1.3638
@@ -1,3 +1,7 @@
+2007-07-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* gui/gui.{cpp,h}: add fpsCounterTick() for FPS profiling
+
 2007-07-02 Sandro Santilli <strk@keybit.net>
 
 	* configure.ac: add --enable-fps-debug switch to define

Index: gui/gui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- gui/gui.cpp	1 Jul 2007 10:54:03 -0000	1.81
+++ gui/gui.cpp	2 Jul 2007 17:17:02 -0000	1.82
@@ -30,6 +30,10 @@
 #include "movie_root.h"
 #include "VM.h"
 
+#ifdef GNASH_FPS_DEBUG
+#include "tu_timer.cpp"
+#endif
+
 #include <cstdio>
 #include <cstring>
 
@@ -95,6 +99,11 @@
     _renderer(NULL),
     _redraw_flag(true),
     _stopped(false)
+#ifdef GNASH_FPS_DEBUG
+    ,fps_counter(0)    
+    ,fps_counter_total(0)    
+    ,fps_timer(0.0)
+#endif        
 {
 }
 
@@ -453,6 +462,10 @@
 
 	gnash::movie_root* m = gnash::get_current_root();
 
+#ifdef GNASH_FPS_DEBUG
+	gui->fpsCounterTick(1.0);  // <-- will be based on cmd.line settings
+#endif
+
 // Define REVIEW_ALL_FRAMES to have *all* frames
 // consequencially displaied. Useful for debugging.
 //#define REVIEW_ALL_FRAMES 1
@@ -546,6 +559,31 @@
 	setInvalidatedRegion(bounds);
 }
 
+#ifdef GNASH_FPS_DEBUG
+void 
+Gui::fpsCounterTick(float interval)
+{
+  uint64_t current_timer = tu_timer::get_ticks();
+  uint64_t interval_ms = (int)(interval * 1000.0);
+  
+  fps_counter++;
+  fps_counter_total++;
+  
+  if (current_timer - fps_timer >= interval_ms) {
+  
+    float secs = (current_timer - fps_timer) / 1000.0;
+  
+    //log_msg("Effective frame rate: %0.2f fps", (float)(fps_counter/secs));
+    printf("Effective frame rate: %0.2f fps (%d frames total)\n", 
+      (float)(fps_counter/secs), fps_counter_total);
+      
+    fps_counter = 0;
+    fps_timer = current_timer;
+  
+  }
+   
+}
+#endif
 
 // end of namespace
 }

Index: gui/gui.h
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- gui/gui.h	1 Jul 2007 10:54:03 -0000	1.53
+++ gui/gui.h	2 Jul 2007 17:17:02 -0000	1.54
@@ -284,6 +284,17 @@
 
     bool display(movie_root* m);
 
+#ifdef GNASH_FPS_DEBUG
+    unsigned int fps_counter;
+    unsigned int fps_counter_total;
+    uint64_t fps_timer;     
+    
+    void fpsCounterTick(float interval);
+    /// Should be called on every frame advance (including inter-frames caused
+    /// by mouse events). <interval> is the time, in seconds, between log_msg
+    /// prints (which also resets the fps counter). interval must be >= 0
+#endif
+
 };
 
  



From MAILER-DAEMON Mon Jul 02 14:08:56 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5QKW-00062X-8e
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 14:08:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5QKV-00061n-El
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:08:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5QKU-00060C-87
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:08:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5QKU-000601-5O
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:08:54 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I5QKS-0002XP-P3
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:08:53 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l62I8cp83065;
	Mon, 2 Jul 2007 20:08:38 +0200 (CEST) (envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Mon, 2 Jul 2007 20:08:37 +0200
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
Message-ID: <20070702180837.GB69506@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1I5PWI-0003qx-L7@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I5PWI-0003qx-L7@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 18:08:55 -0000

On Mon, Jul 02, 2007 at 05:17:02PM +0000, Udo Giacomozzi wrote:

> Index: gui/gui.cpp
> ===================================================================
> RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
> retrieving revision 1.81
> retrieving revision 1.82
> diff -u -b -r1.81 -r1.82
> --- gui/gui.cpp	1 Jul 2007 10:54:03 -0000	1.81
> +++ gui/gui.cpp	2 Jul 2007 17:17:02 -0000	1.82
> @@ -30,6 +30,10 @@
>  #include "movie_root.h"
>  #include "VM.h"
>  
> +#ifdef GNASH_FPS_DEBUG
> +#include "tu_timer.cpp"
> +#endif
> +

I guess this was NOT intentional, right ?

--strk;



From MAILER-DAEMON Mon Jul 02 14:32:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5Qhn-0003vl-FL
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 14:32:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Qhm-0003v7-6M
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:32:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Qhk-0003uj-89
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:32:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Qhk-0003ug-4q
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:32:56 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5Qhj-0007Gp-K4
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:32:55 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5Qhh-0008Tr-Us
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:32:54 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5Qhh-0008To-Qb
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:32:53 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5Qhh-0008To-Qb@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 18:32:53 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/Player.h gui...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 18:32:58 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 18:32:53

Modified files:
	.              : ChangeLog 
	gui            : Player.cpp Player.h gnash.cpp gui.cpp gui.h 

Log message:
	        * gui/gui.{cpp,h}: add setFpsTimerInterval() public method,
	          change fpsCounterTick() interface to take no arg. Print total
	          number of frame advances on destruction. All available ifdef
	          GNASH_FPS_DEBUG.
	        * gui/Player.{cpp,h}: add a setFpsPrintTime() public method.
	          Only available ifdef GNASH_FPS_DEBUG.
	        * gui/gnash.cpp: Add -f switch for fps debugging prints
	          (long option was not trivial so didn't add it).
	          Note that if GNASH_FPS_DEBUG is not defined the -f switch
	          triggers an error.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3638&r2=1.3639
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.57&r2=1.58
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.78&r2=1.79
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.82&r2=1.83
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.54&r2=1.55

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3638
retrieving revision 1.3639
diff -u -b -r1.3638 -r1.3639
--- ChangeLog	2 Jul 2007 17:17:01 -0000	1.3638
+++ ChangeLog	2 Jul 2007 18:32:52 -0000	1.3639
@@ -1,3 +1,16 @@
+2007-07-02 Sandro Santilli <strk@keybit.net>
+
+	* gui/gui.{cpp,h}: add setFpsTimerInterval() public method,
+	  change fpsCounterTick() interface to take no arg. Print total
+	  number of frame advances on destruction. All available ifdef
+	  GNASH_FPS_DEBUG.
+	* gui/Player.{cpp,h}: add a setFpsPrintTime() public method.
+	  Only available ifdef GNASH_FPS_DEBUG.
+	* gui/gnash.cpp: Add -f switch for fps debugging prints
+	  (long option was not trivial so didn't add it).
+	  Note that if GNASH_FPS_DEBUG is not defined the -f switch
+	  triggers an error.
+
 2007-07-02 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* gui/gui.{cpp,h}: add fpsCounterTick() for FPS profiling

Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- gui/Player.cpp	1 Jul 2007 10:54:00 -0000	1.57
+++ gui/Player.cpp	2 Jul 2007 18:32:53 -0000	1.58
@@ -111,6 +111,9 @@
 	do_sound(true),
 	exit_timeout(0),
 	_movie_def(0)
+#ifdef GNASH_FPS_DEBUG
+	,_fpsDebugTime(0.0)
+#endif
 {
 	init();
 }
@@ -218,6 +221,13 @@
 		_gui.reset(new NullGui(do_loop));
 	}
 
+#ifdef GNASH_FPS_DEBUG
+	if ( _fpsDebugTime )
+	{
+		log_debug(_("Activating FPS debugging every %g seconds"), _fpsDebugTime);
+		_gui->setFpsTimerInterval(_fpsDebugTime);
+	}
+#endif // def GNASH_FPS_DEBUG
 }
 
 movie_definition* 

Index: gui/Player.h
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- gui/Player.h	1 Jul 2007 10:54:00 -0000	1.11
+++ gui/Player.h	2 Jul 2007 18:32:53 -0000	1.12
@@ -81,6 +81,21 @@
 	// milliseconds per frame
 	void setDelay(unsigned int d) { delay=d; }
 
+#ifdef GNASH_FPS_DEBUG
+	/// Set the number of seconds between FPS debugging prints
+	//
+	/// @param time
+	///	Number of seconds between FPS debugging prints.
+	///	A value of 0 disables FPS printing.
+	///	A negative value results in an assertion failure.
+	///
+	void setFpsPrintTime(float time)
+	{
+		assert(time >= 0.0);
+		_fpsDebugTime=time;
+	}
+#endif // def GNASH_FPS_DEBUG
+
 	void setWidth(size_t w) { width=w; }
 	size_t getWidth() { return width; }
 
@@ -178,6 +193,10 @@
 	/// on failure.
 	///
 	movie_definition* load_movie();
+
+#ifdef GNASH_FPS_DEBUG
+	float _fpsDebugTime;
+#endif
 };
 
  

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- gui/gnash.cpp	2 Jul 2007 09:34:50 -0000	1.78
+++ gui/gnash.cpp	2 Jul 2007 18:32:53 -0000	1.79
@@ -78,7 +78,12 @@
 static void
 usage()
 {
-    printf("%s%s%s%s%s%s%s%s", _(
+#ifdef GNASH_FPS_DEBUG
+    printf("%s%s%s%s%s%s%s%s%s",
+#else
+    printf("%s%s%s%s%s%s%s%s",
+#endif
+		    _(
         "usage: gnash [options] movie_file.swf\n"
         "\n"
         "Plays a SWF (Shockwave Flash) movie\n"
@@ -124,6 +129,10 @@
         "  -P <param>    Set parameter (ie. \"FlashVars=A=1&b=2\")\n"
         "  -V, --version Print gnash's version number and exit\n"
 		), _(
+#ifdef GNASH_FPS_DEBUG
+	"  -f num        Print FPS every num seconds (float)."
+		), _(
+#endif // def GNASH_FPS_DEBUG
         "\n"
         "keys:\n"
         "  CTRL-Q, CTRL-W, ESC   Quit/Exit\n"
@@ -195,7 +204,7 @@
         }
     }
     
-    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:g:V")) != -1)
+    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:g:Vf:")) != -1)
     {
 	switch (c) {
     	  // case 'c' (Disable SDL core dumps) is decoded in sdl.cpp:init()
@@ -319,6 +328,17 @@
 		player.setBitDepth(bit_depth);
               break;
           }
+          case 'f':
+          {
+#ifdef GNASH_FPS_DEBUG
+		unsigned int frames=atoi(optarg);
+		player.setFpsPrintTime(frames);
+		break;
+#else // ndef GNASH_FPS_DEBUG
+		printf("FPS debugging disabled at compile time, -f is invalid\n");
+		exit(EXIT_FAILURE);
+#endif // ndef GNASH_FPS_DEBUG
+          }
           case 'P':
 		string param = optarg;
 		size_t eq = param.find("=");

Index: gui/gui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- gui/gui.cpp	2 Jul 2007 17:17:02 -0000	1.82
+++ gui/gui.cpp	2 Jul 2007 18:32:53 -0000	1.83
@@ -31,7 +31,7 @@
 #include "VM.h"
 
 #ifdef GNASH_FPS_DEBUG
-#include "tu_timer.cpp"
+#include "tu_timer.h"
 #endif
 
 #include <cstdio>
@@ -82,6 +82,12 @@
     _renderer(NULL),
     _redraw_flag(true),
     _stopped(false)
+#ifdef GNASH_FPS_DEBUG
+    ,fps_counter(0)
+    ,fps_counter_total(0)
+    ,fps_timer(0)
+    ,fps_timer_interval(0.0)
+#endif
 {
 //    GNASH_REPORT_FUNCTION;
 }
@@ -102,7 +108,8 @@
 #ifdef GNASH_FPS_DEBUG
     ,fps_counter(0)    
     ,fps_counter_total(0)    
-    ,fps_timer(0.0)
+    ,fps_timer(0)
+    ,fps_timer_interval(0.0)
 #endif        
 {
 }
@@ -111,6 +118,9 @@
 {
 //    GNASH_REPORT_FUNCTION;
     delete _renderer;
+#ifdef GNASH_FPS_DEBUG
+    printf("Total frame advances: %u\n", fps_counter_total);
+#endif
 }
 
 void
@@ -463,7 +473,7 @@
 	gnash::movie_root* m = gnash::get_current_root();
 	
 #ifdef GNASH_FPS_DEBUG
-	gui->fpsCounterTick(1.0);  // <-- will be based on cmd.line settings
+	gui->fpsCounterTick(); // will be a no-op if fps_timer_interval is zero
 #endif
 
 // Define REVIEW_ALL_FRAMES to have *all* frames
@@ -561,20 +571,30 @@
 
 #ifdef GNASH_FPS_DEBUG
 void 
-Gui::fpsCounterTick(float interval)
+Gui::fpsCounterTick()
 {
+	GNASH_REPORT_FUNCTION;
+
+  // increment this *before* the early return so that
+  // frame count on exit is still valid
+  ++fps_counter_total;
+
+  if ( ! fps_timer_interval )
+  {
+	  return;
+  }
+
   uint64_t current_timer = tu_timer::get_ticks();
-  uint64_t interval_ms = (int)(interval * 1000.0);
+  uint64_t interval_ms = (uint64_t)(fps_timer_interval * 1000.0);
   
-  fps_counter++;
-  fps_counter_total++;
+  ++fps_counter;
   
   if (current_timer - fps_timer >= interval_ms) {
   
     float secs = (current_timer - fps_timer) / 1000.0;
   
     //log_msg("Effective frame rate: %0.2f fps", (float)(fps_counter/secs));
-    printf("Effective frame rate: %0.2f fps (%d frames total)\n", 
+    printf("Effective frame rate: %0.2f fps (%u frames total)\n", 
       (float)(fps_counter/secs), fps_counter_total);
       
     fps_counter = 0;

Index: gui/gui.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.h,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- gui/gui.h	2 Jul 2007 17:17:02 -0000	1.54
+++ gui/gui.h	2 Jul 2007 18:32:53 -0000	1.55
@@ -246,6 +246,18 @@
     void menu_toggle_sound();
     /// @}
 
+#ifdef GNASH_FPS_DEBUG
+    /// Set the interval between FPS debugging prints
+    //
+    /// See fpsCounterTick()
+    ///
+    void setFpsTimerInterval(float interval)
+    {
+	    assert(interval >= 0.0);
+	    fps_timer_interval = interval;
+    }
+#endif // def GNASH_FPS_DEBUG
+
 protected:
     /// Determines if playback should restart after the movie ends.
     bool            _loop;
@@ -286,14 +298,28 @@
     
 #ifdef GNASH_FPS_DEBUG
     unsigned int fps_counter;
+
+    // Number of calls to fpsCounterTick, which is also
+    // the number of calls to movie_advance()
     unsigned int fps_counter_total;
+
     uint64_t fps_timer;     
     
-    void fpsCounterTick(float interval);
+    ///	The time, in seconds, between prints (which also resets the fps counter).
+    //
+    ///	interval must be >= 0
+    ///
+    float fps_timer_interval;
+    
+    /// \brief
     /// Should be called on every frame advance (including inter-frames caused
-    /// by mouse events). <interval> is the time, in seconds, between log_msg
-    /// prints (which also resets the fps counter). interval must be >= 0
-#endif
+    /// by mouse events).
+    //
+    /// Based on fps-timer_interval. See setFpsTimerInterval.
+    ///
+    void fpsCounterTick();
+
+#endif // def GNASH_FPS_DEBUG
 
 };
 



From MAILER-DAEMON Mon Jul 02 14:38:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5QnZ-0006p5-Iq
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 14:38:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5QnX-0006oi-Rd
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:38:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5QnX-0006oW-CW
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:38:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5QnX-0006oT-5o
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:38:55 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5QnV-0007wP-EA
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:38:53 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5QlP-0000As-7m
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:36:43 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5QlP-0000Ap-33
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:36:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5QlP-0000Ap-33@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 18:36:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gnash.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 18:38:56 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 18:36:43

Modified files:
	.              : ChangeLog 
	gui            : gnash.cpp 

Log message:
	        * gui/gnash.cpp (parseCommandLine): support floating point argument
	          to -f switch.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3639&r2=1.3640
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.79&r2=1.80

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3639
retrieving revision 1.3640
diff -u -b -r1.3639 -r1.3640
--- ChangeLog	2 Jul 2007 18:32:52 -0000	1.3639
+++ ChangeLog	2 Jul 2007 18:36:42 -0000	1.3640
@@ -1,5 +1,10 @@
 2007-07-02 Sandro Santilli <strk@keybit.net>
 
+	* gui/gnash.cpp (parseCommandLine): support floating point argument
+	  to -f switch.
+
+2007-07-02 Sandro Santilli <strk@keybit.net>
+
 	* gui/gui.{cpp,h}: add setFpsTimerInterval() public method,
 	  change fpsCounterTick() interface to take no arg. Print total
 	  number of frame advances on destruction. All available ifdef

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -b -r1.79 -r1.80
--- gui/gnash.cpp	2 Jul 2007 18:32:53 -0000	1.79
+++ gui/gnash.cpp	2 Jul 2007 18:36:42 -0000	1.80
@@ -331,7 +331,7 @@
           case 'f':
           {
 #ifdef GNASH_FPS_DEBUG
-		unsigned int frames=atoi(optarg);
+		float frames = strtod(optarg, NULL);
 		player.setFpsPrintTime(frames);
 		break;
 #else // ndef GNASH_FPS_DEBUG



From MAILER-DAEMON Mon Jul 02 14:50:55 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5Qz9-0001h7-BK
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 14:50:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Qz7-0001fB-2H
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:50:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Qz5-0001eO-O2
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:50:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Qz5-0001eC-CD
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:50:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5Qz4-0002Cb-Nl
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 14:50:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5Qz3-0001yI-4o
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:50:49 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5Qz3-0001yF-0J
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:50:49 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5Qz3-0001yF-0J@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 18:50:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server/parser movie_def_impl.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 18:50:53 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 18:50:48

Modified files:
	server/parser  : movie_def_impl.cpp 

Log message:
	comment out debugging lines

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.cpp?cvsroot=gnash&r1=1.76&r2=1.77

Patches:
Index: movie_def_impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- movie_def_impl.cpp	1 Jul 2007 17:34:59 -0000	1.76
+++ movie_def_impl.cpp	2 Jul 2007 18:50:48 -0000	1.77
@@ -81,13 +81,13 @@
 
 MovieLoader::~MovieLoader()
 {
-	cout << "MovieLoader dtor called" << endl;
+	//cout << "MovieLoader dtor called" << endl;
 
 	// we should assert _movie_def._loadingCanceled
 	// but we're not friend yet (anyone introduce us ?)
 	if ( _thread.get() )
 	{
-		cout << "Joining thread.." << endl;
+		//cout << "Joining thread.." << endl;
 		_thread->join();
 	}
 }
@@ -221,7 +221,7 @@
 
 movie_def_impl::~movie_def_impl()
 {
-	cout << "movie_def_impl dtor called" << endl;
+	//cout << "movie_def_impl dtor called" << endl;
 
 	// Request cancelation of the loading thread
 	_loadingCanceled = true;



From MAILER-DAEMON Mon Jul 02 15:02:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5RAM-0003Ni-Go
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 15:02:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5RAL-0003LX-Gs
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:02:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5RAL-0003Kr-3C
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:02:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5RAK-0003Kf-TD
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:02:28 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5RAK-0004Hj-71
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:02:28 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l62J2AU4018480;
	Mon, 2 Jul 2007 21:02:25 +0200
Date: Mon, 2 Jul 2007 21:02:09 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1257720085.20070702210209@nova-sys.net>
To: strk <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
In-Reply-To: <20070702180837.GB69506@keybit.net>
References: <E1I5PWI-0003qx-L7@cvs.savannah.gnu.org>
	<20070702180837.GB69506@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 19:02:29 -0000

Hello strk,

Monday, July 2, 2007, 8:08:37 PM, you wrote:
>> +#ifdef GNASH_FPS_DEBUG
>> +#include "tu_timer.cpp"
>> +#endif
>> +

s> I guess this was NOT intentional, right ?

Instead it is. Need this for the timer (tu_timer::get_ticks())


Udo




From MAILER-DAEMON Mon Jul 02 15:46:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5RrB-0001yI-TX
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 15:46:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Rr9-0001yA-V9
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:46:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Rr8-0001xy-C6
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:46:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Rr8-0001xv-5o
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:46:42 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I5Rqx-0004qD-6Y
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 15:46:31 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l62Jjex84623;
	Mon, 2 Jul 2007 21:45:40 +0200 (CEST) (envelope-from strk@keybit.net)
Date: Mon, 2 Jul 2007 21:45:40 +0200
From: strk <strk@keybit.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
Message-ID: <20070702194540.GD69506@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1I5PWI-0003qx-L7@cvs.savannah.gnu.org>
	<20070702180837.GB69506@keybit.net>
	<1257720085.20070702210209@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1257720085.20070702210209@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 19:46:44 -0000

On Mon, Jul 02, 2007 at 09:02:09PM +0200, Udo Giacomozzi wrote:
> Hello strk,
> 
> Monday, July 2, 2007, 8:08:37 PM, you wrote:
> >> +#ifdef GNASH_FPS_DEBUG
> >> +#include "tu_timer.cpp"
> >> +#endif
> >> +
> 
> s> I guess this was NOT intentional, right ?
> 
> Instead it is. Need this for the timer (tu_timer::get_ticks())

I committed a fix including tu_timer.h, tu_timer.cpp inclusion
resulted in duplicated symbols.

--strk;



From MAILER-DAEMON Mon Jul 02 16:55:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5Svc-0004K5-WB
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 16:55:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Svc-0004J6-A0
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 16:55:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Svb-0004I8-NS
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 16:55:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Svb-0004Hz-Jn
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 16:55:23 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5Svb-0000sK-1r
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 16:55:23 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l62KtFU4030247;
	Mon, 2 Jul 2007 22:55:20 +0200
Date: Mon, 2 Jul 2007 22:55:13 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <5310467507.20070702225513@nova-sys.net>
To: strk <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
In-Reply-To: <20070702194540.GD69506@keybit.net>
References: <E1I5PWI-0003qx-L7@cvs.savannah.gnu.org>
	<20070702180837.GB69506@keybit.net>
	<1257720085.20070702210209@nova-sys.net>
	<20070702194540.GD69506@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 20:55:24 -0000

Hello strk,

Monday, July 2, 2007, 9:45:40 PM, you wrote:
>> Instead it is. Need this for the timer (tu_timer::get_ticks())

s> I committed a fix including tu_timer.h, tu_timer.cpp inclusion
s> resulted in duplicated symbols.

Ah, now I see. Didn't notice that I included the .cpp file instead of
the header.


Udo




From MAILER-DAEMON Mon Jul 02 18:10:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5U68-0008BJ-IQ
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 18:10:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5U67-0008BA-NS
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:10:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5U66-0008Ah-Qo
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:10:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5U66-0008Ae-Le
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:10:18 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5U66-0007cM-Cp
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:10:18 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5U65-0002zA-0n
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 22:10:17 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5U64-0002z7-TM
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 22:10:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5U64-0002z7-TM@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 22:10:16 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp gui/NullGui.h g...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 22:10:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 22:10:16

Modified files:
	.              : ChangeLog 
	gui            : NullGui.cpp NullGui.h gui.cpp 

Log message:
	        * gui/NullGui.{h,cpp}: implement quit(), for clean shutdown.
	        * gui/gui.cpp (advance_movie): use quit() to exit

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3640&r2=1.3641
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.h?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.83&r2=1.84

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3640
retrieving revision 1.3641
diff -u -b -r1.3640 -r1.3641
--- ChangeLog	2 Jul 2007 18:36:42 -0000	1.3640
+++ ChangeLog	2 Jul 2007 22:10:16 -0000	1.3641
@@ -1,5 +1,10 @@
 2007-07-02 Sandro Santilli <strk@keybit.net>
 
+	* gui/NullGui.{h,cpp}: implement quit(), for clean shutdown.
+	* gui/gui.cpp (advance_movie): use quit() to exit
+
+2007-07-02 Sandro Santilli <strk@keybit.net>
+
 	* gui/gnash.cpp (parseCommandLine): support floating point argument
 	  to -f switch.
 

Index: gui/NullGui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- gui/NullGui.cpp	1 Jul 2007 10:54:00 -0000	1.9
+++ gui/NullGui.cpp	2 Jul 2007 22:10:16 -0000	1.10
@@ -72,6 +72,10 @@
 		// TODO: use the timer value to trigger advances
 		usleep(_interval*1000);
 		Gui::advance_movie(this);
+
+		// when runnign gnash with -1 switch ::advance_movie() will call ::quit()
+		// at last frame
+		if ( _quit ) break;
 	}
 	return false;
 }

Index: gui/NullGui.h
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gui/NullGui.h	1 Jul 2007 10:54:00 -0000	1.12
+++ gui/NullGui.h	2 Jul 2007 22:10:16 -0000	1.13
@@ -39,7 +39,8 @@
 	NullGui(bool do_loop)
 		:
 		Gui(0,0,do_loop,0),
-		_timeout(0)
+		_timeout(0),
+		_quit(false)
 	{}
 
 	~NullGui() {}
@@ -61,10 +62,15 @@
 	bool setupEvents()  { return true; }
 	void renderBuffer()  { }
 
+	void quit() { _quit = true; }
+
 private:
 
 	/// timeout value, in milliseconds
 	unsigned int _timeout;
+
+	/// True when we quit
+	bool _quit;
 };
 
 } // end of gnash namespace

Index: gui/gui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -b -r1.83 -r1.84
--- gui/gui.cpp	2 Jul 2007 18:32:53 -0000	1.83
+++ gui/gui.cpp	2 Jul 2007 22:10:16 -0000	1.84
@@ -511,7 +511,7 @@
 		gnash::sprite_instance* si = m->get_root_movie();
 		if (curframe + 1 >= si->get_frame_count())
 		{
-		    exit(0); // TODO: quit in a more gentile fashion.
+			gui->quit(); 
 		}
 	}
 



From MAILER-DAEMON Mon Jul 02 18:48:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5Ugz-0000MM-Il
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 18:48:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Ugx-0000Lk-MV
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:48:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Ugx-0000LS-6Y
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:48:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Ugw-0000LJ-SJ
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:48:22 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5Ugw-0006hp-FG
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 18:48:22 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5Ugv-0007lQ-9U
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 22:48:21 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5Ugv-0007lN-3Y
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 22:48:21 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5Ugv-0007lN-3Y@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 22:48:21 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gui.cpp libbase/GC.cpp libb...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 22:48:23 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 22:48:21

Modified files:
	.              : ChangeLog 
	gui            : gui.cpp 
	libbase        : GC.cpp GC.h 

Log message:
	        * libbase/GC.{cpp,h}: Implement an heuristic to reduce
	          the number of collector runs. It is based on the number
	          of newly registered collectables since last run.
	          The threshold is set to 10 with a static const member
	          of the GC class. See http://gnashdev.org/wiki/index.php/ProfilingGC
	          for more informations.
	        * gui/gui.cpp (fpsCounterTick): don't report an initial FPS of 0.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3641&r2=1.3642
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.84&r2=1.85
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3641
retrieving revision 1.3642
diff -u -b -r1.3641 -r1.3642
--- ChangeLog	2 Jul 2007 22:10:16 -0000	1.3641
+++ ChangeLog	2 Jul 2007 22:48:20 -0000	1.3642
@@ -1,5 +1,15 @@
 2007-07-02 Sandro Santilli <strk@keybit.net>
 
+	* libbase/GC.{cpp,h}: Implement an heuristic to reduce
+	  the number of collector runs. It is based on the number
+	  of newly registered collectables since last run.
+	  The threshold is set to 10 with a static const member
+	  of the GC class. See http://gnashdev.org/wiki/index.php/ProfilingGC
+	  for more informations.
+	* gui/gui.cpp (fpsCounterTick): don't report an initial FPS of 0.
+
+2007-07-02 Sandro Santilli <strk@keybit.net>
+
 	* gui/NullGui.{h,cpp}: implement quit(), for clean shutdown.
 	* gui/gui.cpp (advance_movie): use quit() to exit
 

Index: gui/gui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- gui/gui.cpp	2 Jul 2007 22:10:16 -0000	1.84
+++ gui/gui.cpp	2 Jul 2007 22:48:20 -0000	1.85
@@ -573,7 +573,7 @@
 void 
 Gui::fpsCounterTick()
 {
-	GNASH_REPORT_FUNCTION;
+  // GNASH_REPORT_FUNCTION;
 
   // increment this *before* the early return so that
   // frame count on exit is still valid
@@ -585,8 +585,13 @@
   }
 
   uint64_t current_timer = tu_timer::get_ticks();
+
+  // TODO: keep fps_timer_interval in milliseconds to avoid the multiplication
+  //       at each fpsCounterTick call...
   uint64_t interval_ms = (uint64_t)(fps_timer_interval * 1000.0);
   
+  if (fps_counter_total==1) fps_timer = current_timer;
+  
   ++fps_counter;
   
   if (current_timer - fps_timer >= interval_ms) {

Index: libbase/GC.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- libbase/GC.cpp	1 Jul 2007 10:54:06 -0000	1.3
+++ libbase/GC.cpp	2 Jul 2007 22:48:20 -0000	1.4
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: GC.cpp,v 1.3 2007/07/01 10:54:06 bjacques Exp $ */
+/* $Id: GC.cpp,v 1.4 2007/07/02 22:48:20 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -25,6 +25,9 @@
 #include "GC.h"
 #include "builtin_function.h"
 
+#ifdef GNASH_GC_DEBUG
+# include "log.h"
+#endif
 
 namespace gnash {
 
@@ -56,7 +59,7 @@
 GC::~GC()
 {
 #ifdef GNASH_GC_DEBUG 
-	log_debug(_("GC %p deleted, deleting all managed resources"), (void*)this);
+	log_debug(_("GC %p deleted, deleting all managed resources - collector run " SIZET_FMT " times"), (void*)this, _collectorRuns);
 #endif
 
 #if 1
@@ -102,6 +105,40 @@
 #endif
 }
 
+void 
+GC::collect()
+{
+	if ( (_resList.size() - _lastResCount) < maxNewCollectablesCount )
+	{
+#if GNASH_GC_DEBUG  > 1
+		log_debug(_("Garbage collection skipped since number of collectables added since last run is too low (" SIZET_FMT ")"),
+			       _resList.size() - _lastResCount);
+#endif // GNASH_GC_DEBUG
+		return;
+	}
+
+#ifdef GNASH_GC_DEBUG 
+	++_collectorRuns;
+#endif
+
+#ifdef GNASH_GC_DEBUG 
+	log_debug(_("Starting collector: " SIZET_FMT " collectables"), _resList.size());
+#endif // GNASH_GC_DEBUG
+
+#ifndef NDEBUG
+	boost::thread self;
+	assert(self == mainThread);
+#endif
+
+	// Mark all resources as reachable
+	markReachable();
+
+	// clean unreachable resources, and mark them others as reachable again
+	cleanUnreachable();
+
+	_lastResCount = _resList.size();
+}
+
 } // end of namespace gnash
 
 

Index: libbase/GC.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- libbase/GC.h	2 Jul 2007 03:20:33 -0000	1.12
+++ libbase/GC.h	2 Jul 2007 22:48:20 -0000	1.13
@@ -220,7 +220,8 @@
 		assert(self == mainThread);
 		assert(item);
 		assert(! item->isReachable());
-		assert(std::find(_resList.begin(), _resList.end(), item) == _resList.end());
+		// The following assertion is expensive ...
+		//assert(std::find(_resList.begin(), _resList.end(), item) == _resList.end());
 #endif
 
 		_resList.push_back(item);
@@ -234,31 +235,23 @@
 	//
 	/// Find all reachable collectables, destroy all the others.
 	///
-	void collect()
-	{
-#ifdef GNASH_GC_DEBUG 
-		log_debug(_("Starting collector: " SIZET_FMT " collectables"), _resList.size());
-#endif // GNASH_GC_DEBUG
-
-#ifndef NDEBUG
-		boost::thread self;
-		assert(self == mainThread);
-#endif
-
-		// Mark all resources as reachable
-		markReachable();
-
-		// clean unreachable resources, and mark them others as reachable again
-		cleanUnreachable();
-
-	}
+	void collect();
 
 private:
 
+	/// Number of newly registered collectable since last collection run
+	/// triggering next collection.
+	/// Should be made a parameter ?
+	static const unsigned int maxNewCollectablesCount = 10;
+
 	/// Create a garbage collector, using the given root
 	GC(GcRoot& root)
 		:
-		_root(root)
+		_root(root),
+		_lastResCount(0)
+#ifdef GNASH_GC_DEBUG 
+		, _collectorRuns(0)
+#endif
 	{
 #ifdef GNASH_GC_DEBUG 
 		log_debug(_("GC %p created"), (void*)this);
@@ -295,6 +288,15 @@
 	/// and to register collectable objects
 	boost::thread mainThread;
 #endif
+
+	/// Number of resources in collectable list at end of last
+	/// collect() call.
+	ResList::size_type _lastResCount;
+
+#ifdef GNASH_GC_DEBUG 
+	/// Number of times the collector runs (stats/profiling)
+	size_t _collectorRuns;
+#endif
 };
 
 



From MAILER-DAEMON Mon Jul 02 19:20:19 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5VBr-0000Ln-EC
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 19:20:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5VBp-0000LS-5F
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 19:20:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5VBo-0000L5-H5
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 19:20:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5VBo-0000L2-BZ
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 19:20:16 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5VBo-0003G3-4R
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 19:20:16 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5VBn-0002Rp-4l
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 23:20:15 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5VBn-0002Rm-0n
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 23:20:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5VBn-0002Rm-0n@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 02 Jul 2007 23:20:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/FreetypeGlyphsProvider.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2007 23:20:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/02 23:20:14

Modified files:
	.              : ChangeLog 
	server         : FreetypeGlyphsProvider.cpp 

Log message:
	        * server/FreetypeGlyphsProvider.cpp: protect debugging calls
	          by a GNASH_DEBUG_DEVICEFONTS, defaulting to undefined.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3642&r2=1.3643
http://cvs.savannah.gnu.org/viewcvs/gnash/server/FreetypeGlyphsProvider.cpp?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3642
retrieving revision 1.3643
diff -u -b -r1.3642 -r1.3643
--- ChangeLog	2 Jul 2007 22:48:20 -0000	1.3642
+++ ChangeLog	2 Jul 2007 23:20:14 -0000	1.3643
@@ -1,5 +1,7 @@
 2007-07-02 Sandro Santilli <strk@keybit.net>
 
+	* server/FreetypeGlyphsProvider.cpp: protect debugging calls
+	  by a GNASH_DEBUG_DEVICEFONTS, defaulting to undefined.
 	* libbase/GC.{cpp,h}: Implement an heuristic to reduce
 	  the number of collector runs. It is based on the number
 	  of newly registered collectables since last run.

Index: server/FreetypeGlyphsProvider.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/FreetypeGlyphsProvider.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/FreetypeGlyphsProvider.cpp	1 Jul 2007 10:54:18 -0000	1.5
+++ server/FreetypeGlyphsProvider.cpp	2 Jul 2007 23:20:14 -0000	1.6
@@ -58,6 +58,9 @@
 // Define the following to make outline decomposition verbose
 //#define DEBUG_OUTLINE_DECOMPOSITION 1
 
+// Define the following to make device font handling verbose
+//#define GNASH_DEBUG_DEVICEFONTS 1
+
 namespace gnash {
 
 #ifdef HAVE_FREETYPE2 
@@ -266,14 +269,18 @@
 
 	if ( fs )
 	{
+#ifdef GNASH_DEBUG_DEVICEFONTS
 		log_debug("Found %d fonts matching the family %s (using first)", fs->nfont, name.c_str());
+#endif
 
 		for (int j = 0; j < fs->nfont; j++)
 		{
 			FcChar8 *file;
 			if (FcPatternGetString (fs->fonts[j], FC_FILE, 0, &file) != FcResultMatch)
 			{
+#ifdef GNASH_DEBUG_DEVICEFONTS
 		log_debug("Matching font %d has unknown filename, skipping", j);
+#endif
 		continue;
 			}
 
@@ -371,7 +378,9 @@
 	// we will scale 
 	scale = 1024.0f/m_face->units_per_EM;
 
+#ifdef GNASH_DEBUG_DEVICEFONTS
 	log_debug("EM square for font '%s' is %d, scale is thus %g", name.c_str(), m_face->units_per_EM, scale);
+#endif
 }
 #else // ndef(HAVE_FREETYPE2)
 FreetypeGlyphsProvider::FreetypeGlyphsProvider(const std::string&, bool, bool)



From MAILER-DAEMON Mon Jul 02 21:12:51 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5Wwl-0006lE-IC
	for mharc-gnash-commit@gnu.org; Mon, 02 Jul 2007 21:12:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5Wwj-0006l7-43
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 21:12:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5Wwh-0006kv-6q
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 21:12:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5Wwh-0006ks-1G
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 21:12:47 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5Wwg-0002As-Oy
	for gnash-commit@gnu.org; Mon, 02 Jul 2007 21:12:46 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5Wwf-0001QX-GI
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 01:12:45 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5Wwf-0001QR-Az
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 01:12:45 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5Wwf-0001QR-Az@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 01:12:45 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 01:12:49 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 01:12:45

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp edit_text_character.h 
	server/parser  : edit_text_character_def.h 

Log message:
	        * server/parser/edit_text_character_def.h: add an htmlAllowed()
	          public inspector.
	        * server/edit_text_character.h: add an htmlAllowed() private
	          inspector.
	        * server/edit_text_character.cpp (format_text): if HTML is allowed
	          and found in the textfield text, just skip the tags and show the
	          content, logging a debugging info about the fact (only once).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3643&r2=1.3644
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.71&r2=1.72
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.h?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3643
retrieving revision 1.3644
diff -u -b -r1.3643 -r1.3644
--- ChangeLog	2 Jul 2007 23:20:14 -0000	1.3643
+++ ChangeLog	3 Jul 2007 01:12:44 -0000	1.3644
@@ -1,5 +1,15 @@
 2007-07-02 Sandro Santilli <strk@keybit.net>
 
+	* server/parser/edit_text_character_def.h: add an htmlAllowed()
+	  public inspector.
+	* server/edit_text_character.h: add an htmlAllowed() private
+	  inspector.
+	* server/edit_text_character.cpp (format_text): if HTML is allowed
+	  and found in the textfield text, just skip the tags and show the 
+	  content, logging a debugging info about the fact (only once).
+
+2007-07-02 Sandro Santilli <strk@keybit.net>
+
 	* server/FreetypeGlyphsProvider.cpp: protect debugging calls
 	  by a GNASH_DEBUG_DEVICEFONTS, defaulting to undefined.
 	* libbase/GC.{cpp,h}: Implement an heuristic to reduce

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -b -r1.71 -r1.72
--- server/edit_text_character.cpp	1 Jul 2007 10:54:22 -0000	1.71
+++ server/edit_text_character.cpp	3 Jul 2007 01:12:44 -0000	1.72
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.71 2007/07/01 10:54:22 bjacques Exp $ */
+/* $Id: edit_text_character.cpp,v 1.72 2007/07/03 01:12:44 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1082,6 +1082,29 @@
 			continue;
 		}
 
+		if (code == '<' && htmlAllowed() )
+		{
+			static bool warned = false;
+			if ( ! warned )
+			{
+				log_debug(_("HTML in a text field is unsupported, gnash will just forget the tags and print their content"));
+				warned = true;
+			}
+
+			// HTML tag, just skip it...
+			bool closingTagFound = false;
+			while ( (code = utf8::decode_next_unicode_character(&text)) )
+			{
+				if (code == '>')
+				{
+					closingTagFound = true;
+					break;
+				}
+			}
+			if ( ! closingTagFound ) break;
+			else continue;
+		}
+
 		if (code == 9) // tab (ASCII HT)
 		{
 			int index = _font->get_glyph_index(32); // ascii SPACE
@@ -1158,7 +1181,6 @@
 
 			if ( ! m_def->do_word_wrap() )
 			{
-				// TODO: scan more glyphs till newline and continue
 				bool newlinefound = false;
 				while ( (code = utf8::decode_next_unicode_character(&text)) )
 				{

Index: server/edit_text_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- server/edit_text_character.h	1 Jul 2007 10:54:22 -0000	1.34
+++ server/edit_text_character.h	3 Jul 2007 01:12:45 -0000	1.35
@@ -107,6 +107,9 @@
 
 private:
 
+	/// Return true if HTML was allowed by definition
+	bool htmlAllowed() const { return m_def->htmlAllowed(); }
+
 	/// The actual text
 	std::string _text;
 

Index: server/parser/edit_text_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- server/parser/edit_text_character_def.h	1 Jul 2007 10:54:34 -0000	1.14
+++ server/parser/edit_text_character_def.h	3 Jul 2007 01:12:45 -0000	1.15
@@ -211,6 +211,9 @@
     return get_bounds(); 
   }
 	
+	/// Return true if HTML was allowed by definition
+	bool htmlAllowed() const { return m_html; }
+	
 protected:
 
 #ifdef GNASH_USE_GC



From MAILER-DAEMON Tue Jul 03 00:32:05 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5a3Z-00036b-Km
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 00:32:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5a3X-00033d-Ih
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 00:32:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5a3V-00033B-Hv
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 00:32:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5a3V-000338-DF
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 00:32:01 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5a3V-0007yj-4T
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 00:32:01 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5a3T-0000rj-Ne
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:31:59 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5a3T-0000rf-JI
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:31:59 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5a3T-0000rf-JI@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 04:31:59 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/sound_handler_sdl.cpp b...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 04:32:03 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 04:31:59

Modified files:
	.              : ChangeLog 
	backend        : sound_handler_sdl.cpp sound_handler_sdl.h 

Log message:
	        * backend/sound_handler_sdl.{cpp,h}: fix leak of sound_data instances;
	          added a few TODO items.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3644&r2=1.3645
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.h?cvsroot=gnash&r1=1.27&r2=1.28

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3644
retrieving revision 1.3645
diff -u -b -r1.3644 -r1.3645
--- ChangeLog	3 Jul 2007 01:12:44 -0000	1.3644
+++ ChangeLog	3 Jul 2007 04:31:58 -0000	1.3645
@@ -1,5 +1,10 @@
 2007-07-02 Sandro Santilli <strk@keybit.net>
 
+	* backend/sound_handler_sdl.{cpp,h}: fix leak of sound_data instances;
+	  added a few TODO items.
+
+2007-07-02 Sandro Santilli <strk@keybit.net>
+
 	* server/parser/edit_text_character_def.h: add an htmlAllowed()
 	  public inspector.
 	* server/edit_text_character.h: add an htmlAllowed() private

Index: backend/sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- backend/sound_handler_sdl.cpp	2 Jul 2007 13:53:19 -0000	1.72
+++ backend/sound_handler_sdl.cpp	3 Jul 2007 04:31:59 -0000	1.73
@@ -18,7 +18,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-// $Id: sound_handler_sdl.cpp,v 1.72 2007/07/02 13:53:19 tgc Exp $
+// $Id: sound_handler_sdl.cpp,v 1.73 2007/07/03 04:31:59 strk Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -375,14 +375,15 @@
 }
 
 
-void	SDL_sound_handler::delete_sound(int sound_handle)
 // this gets called when it's done with a sample.
+void	SDL_sound_handler::delete_sound(int sound_handle)
 {
 	mutex::scoped_lock lock(_mutex);
 
 	if (sound_handle >= 0 && static_cast<unsigned int>(sound_handle) < m_sound_data.size())
 	{
-		delete[] m_sound_data[sound_handle]->data;
+		delete m_sound_data[sound_handle];
+		m_sound_data[sound_handle] = NULL;
 	}
 
 }

Index: backend/sound_handler_sdl.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- backend/sound_handler_sdl.h	1 Jul 2007 10:53:49 -0000	1.27
+++ backend/sound_handler_sdl.h	3 Jul 2007 04:31:59 -0000	1.28
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: sound_handler_sdl.h,v 1.27 2007/07/01 10:53:49 bjacques Exp $
+// $Id: sound_handler_sdl.h,v 1.28 2007/07/03 04:31:59 strk Exp $
 
 #ifndef SOUND_HANDLER_SDL_H
 #define SOUND_HANDLER_SDL_H
@@ -115,6 +115,8 @@
 {
 public:
 	/// The undecoded data
+	//
+	/// TODO: use boost::scoped_array
 	uint8_t* data;
 
 	/// Format of the sound (MP3, raw, etc).
@@ -137,8 +139,17 @@
 	int volume;
 
 	/// Vector containing the active instances of this sounds being played
+	//
+	/// TODO: define ownership of the active_sound elements
+	///
 	std::vector<active_sound*>	m_active_sounds;
 
+	~sound_data()
+	{
+		// TODO: use boost::scoped_array
+		delete [] data;
+	}
+
 };
 
 



From MAILER-DAEMON Tue Jul 03 01:46:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5bDH-00042Z-H6
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 01:46:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5bDF-00041g-HY
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 01:46:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5bDE-00040V-AS
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 01:46:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5bDE-0003zo-15
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 01:46:08 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5bDD-0003vt-Fj
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 01:46:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5bDB-0003HN-4Y
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 05:46:05 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5bDA-0003H0-5o
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 05:46:04 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5bDA-0003H0-5o@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 05:46:04 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash backend/render_handler_tri.cpp backend/re...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 05:46:09 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 05:46:04

Modified files:
	backend        : render_handler_tri.cpp render_handler_tri.h 
	server/parser  : character_def.cpp character_def.h 
	.              : ChangeLog 

Log message:
	        * backend/render_handler_tri.{cpp,h}: (tri_cache_manager): dont leak
	          mesh sets.
	        * server/parser/character_def.{cpp,h}: don't leak
	          render cache managers.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/character_def.cpp?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/character_def.h?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3645&r2=1.3646

Patches:
Index: backend/render_handler_tri.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_tri.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- backend/render_handler_tri.cpp	1 Jul 2007 10:53:48 -0000	1.14
+++ backend/render_handler_tri.cpp	3 Jul 2007 05:46:02 -0000	1.15
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.cpp,v 1.14 2007/07/01 10:53:48 bjacques Exp $ */
+/* $Id: render_handler_tri.cpp,v 1.15 2007/07/03 05:46:02 strk Exp $ */
 
 #include "render_handler_tri.h"
 
@@ -346,5 +346,14 @@
   assert(0); // not implemented (and currently not required for tri. renderers)
 }
 
+tri_cache_manager::~tri_cache_manager()
+{
+	for (MeshSetList::iterator i=m_cached_meshes.begin(), e=m_cached_meshes.end();
+			i != e; ++i)
+	{
+		delete *i;
+	}
+}
+
 
 } // namespace gnash

Index: backend/render_handler_tri.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_tri.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- backend/render_handler_tri.h	1 Jul 2007 10:53:48 -0000	1.11
+++ backend/render_handler_tri.h	3 Jul 2007 05:46:02 -0000	1.12
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.h,v 1.11 2007/07/01 10:53:48 bjacques Exp $ */
+/* $Id: render_handler_tri.h,v 1.12 2007/07/03 05:46:02 strk Exp $ */
 
 #ifndef GNASH_RENDER_HANDLER_TRI_H
 #define GNASH_RENDER_HANDLER_TRI_H
@@ -54,21 +54,33 @@
   /// that's still acceptable when viewed.
   /// To draw these meshes they still have to be transformed using the desired
   /// matrix!
-  std::vector <mesh_set*> m_cached_meshes;
+  ///
+  /// This instance owns the mesh_sets
+  ///
+  typedef std::vector <mesh_set*> MeshSetList;
+  MeshSetList m_cached_meshes;
   
 public:  
 
   /// Searches a mesh set with a error tolerance below max_error.
   /// Returns NULL when no candidate could be found.
+  /// Ownership is NOT transferred
   mesh_set* search_candidate(float max_error);
     
   /// Adds a mesh set to the cache. 
+  //
+  /// Transfer ownerhips of the mesh_set.
+  /// TODO: take an auto_ptr
+  ///
   void add(mesh_set* m);
     
   /// Maintain cached meshes. Clean out mesh_sets that haven't been used 
   /// recently, and make sure they're sorted from high error to low error.
   void sort_and_clean_meshes();  
   
+  /// Drop all cached meshes
+  virtual ~tri_cache_manager();
+  
 }; // class tri_cache_manager
 
 

Index: server/parser/character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/character_def.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/parser/character_def.cpp	1 Jul 2007 10:54:33 -0000	1.6
+++ server/parser/character_def.cpp	3 Jul 2007 05:46:02 -0000	1.7
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: character_def.cpp,v 1.6 2007/07/01 10:54:33 bjacques Exp $ */
+/* $Id: character_def.cpp,v 1.7 2007/07/03 05:46:02 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -27,6 +27,7 @@
 
 #include "character_def.h"
 #include "generic_character.h"
+#include "render_handler.h" // for destruction of render_cache_manager
 
 namespace gnash
 {
@@ -37,8 +38,13 @@
 	return new generic_character(this, parent, id);
 }
 
+character_def::~character_def()
+{
+	delete m_render_cache;
 }
 
+} // end of namespace gnash
+
 // Local Variables:
 // mode: C++
 // indent-tabs-mode: t

Index: server/parser/character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/character_def.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/parser/character_def.h	1 Jul 2007 10:54:33 -0000	1.13
+++ server/parser/character_def.h	3 Jul 2007 05:46:03 -0000	1.14
@@ -61,7 +61,7 @@
 		{
 		}
 	
-	virtual ~character_def() {}
+	virtual ~character_def();
 	
 	virtual void display(character* /*instance_info*/)
 	{
@@ -118,6 +118,11 @@
 public:  
   
   /// Cache holder for renderer (contents depend on renderer handler)
+  /// Will be deleted by destructor of the character_def.
+  /// We could store by auto_ptr, but I'm afraid that would mean
+  /// including render_handler.h in this header, which I don't like.
+  /// (REF: PIMPL)
+  ///
   render_cache_manager* m_render_cache;
 	
 };

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3645
retrieving revision 1.3646
diff -u -b -r1.3645 -r1.3646
--- ChangeLog	3 Jul 2007 04:31:58 -0000	1.3645
+++ ChangeLog	3 Jul 2007 05:46:03 -0000	1.3646
@@ -1,3 +1,10 @@
+2007-07-03 Sandro Santilli <strk@keybit.net>
+
+	* backend/render_handler_tri.{cpp,h}: (tri_cache_manager): dont leak
+	  mesh sets.
+	* server/parser/character_def.{cpp,h}: don't leak
+	  render cache managers.
+
 2007-07-02 Sandro Santilli <strk@keybit.net>
 
 	* backend/sound_handler_sdl.{cpp,h}: fix leak of sound_data instances;



From MAILER-DAEMON Tue Jul 03 04:07:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5dPj-0000Fu-Bg
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 04:07:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5dPh-0000CL-Sv
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:07:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5dPh-0000Aq-4G
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:07:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5dPh-0000Ac-1R
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:07:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5dPg-0004GR-L3
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:07:08 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5dPg-0005Zz-64
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 08:07:08 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5dPg-0005Zw-1B
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 08:07:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5dPg-0005Zw-1B@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 03 Jul 2007 08:07:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gui.cpp gui/gui.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 08:07:10 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/03 08:07:07

Modified files:
	.              : ChangeLog 
	gui            : gui.cpp gui.h 

Log message:
	add min/avg/max fps printing

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3646&r2=1.3647
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.85&r2=1.86
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.55&r2=1.56

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3646
retrieving revision 1.3647
diff -u -b -r1.3646 -r1.3647
--- ChangeLog	3 Jul 2007 05:46:03 -0000	1.3646
+++ ChangeLog	3 Jul 2007 08:07:07 -0000	1.3647
@@ -1,3 +1,7 @@
+2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* gui/gui.{cpp,h}: add min/avg/max fps printing
+
 2007-07-03 Sandro Santilli <strk@keybit.net>
 
 	* backend/render_handler_tri.{cpp,h}: (tri_cache_manager): dont leak

Index: gui/gui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -b -r1.85 -r1.86
--- gui/gui.cpp	2 Jul 2007 22:48:20 -0000	1.85
+++ gui/gui.cpp	3 Jul 2007 08:07:07 -0000	1.86
@@ -590,7 +590,10 @@
   //       at each fpsCounterTick call...
   uint64_t interval_ms = (uint64_t)(fps_timer_interval * 1000.0);
 
-  if (fps_counter_total==1) fps_timer = current_timer;
+  if (fps_counter_total==1) {
+    fps_timer = current_timer;
+    fps_start_timer = current_timer;
+  }
   
   ++fps_counter;
   
@@ -598,9 +601,23 @@
   
     float secs = (current_timer - fps_timer) / 1000.0;
   
+    float rate = fps_counter/secs; 
+     
+    // first FPS message?
+    if (fps_timer == fps_start_timer) {     // they're ints, so we can compare
+      fps_rate_min = rate;
+      fps_rate_max = rate; 
+    } else {
+      fps_rate_min = fmin(fps_rate_min, rate);
+      fps_rate_max = fmax(fps_rate_max, rate);
+    }
+    
+    float avg = fps_counter_total / ((current_timer - fps_start_timer) / 1000.0); 
+  
     //log_msg("Effective frame rate: %0.2f fps", (float)(fps_counter/secs));
-    printf("Effective frame rate: %0.2f fps (%u frames total)\n", 
-      (float)(fps_counter/secs), fps_counter_total);
+    printf("Effective frame rate: %0.2f fps (min %0.2f, avg %0.2f, max %0.2f, "
+      "%u frames total)\n", rate, fps_rate_min, avg, fps_rate_max,
+      fps_counter_total);
       
     fps_counter = 0;
     fps_timer = current_timer;

Index: gui/gui.h
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- gui/gui.h	2 Jul 2007 18:32:53 -0000	1.55
+++ gui/gui.h	3 Jul 2007 08:07:07 -0000	1.56
@@ -298,12 +298,13 @@
     
 #ifdef GNASH_FPS_DEBUG
     unsigned int fps_counter;
+    float fps_rate_min, fps_rate_max;   
 
     // Number of calls to fpsCounterTick, which is also
     // the number of calls to movie_advance()
     unsigned int fps_counter_total;
 
-    uint64_t fps_timer;     
+    uint64_t fps_timer, fps_start_timer;     
 
     ///	The time, in seconds, between prints (which also resets the fps counter).
     //



From MAILER-DAEMON Tue Jul 03 04:41:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5dwU-0000ia-Jx
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 04:41:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5dwS-0000hj-B0
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:41:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5dwR-0000gs-97
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:40:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5dwQ-0000gb-Tg
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:40:58 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5dwQ-0003Uh-Gt
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:40:58 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5dwO-0007iy-NT
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 08:40:56 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5dwO-0007iu-Iw
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 08:40:56 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5dwO-0007iu-Iw@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 03 Jul 2007 08:40:56 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 08:41:00 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/03 08:40:56

Modified files:
	.              : ChangeLog 
	gui            : gui.cpp 

Log message:
	add total play time

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3647&r2=1.3648
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.86&r2=1.87

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3647
retrieving revision 1.3648
diff -u -b -r1.3647 -r1.3648
--- ChangeLog	3 Jul 2007 08:07:07 -0000	1.3647
+++ ChangeLog	3 Jul 2007 08:40:56 -0000	1.3648
@@ -1,6 +1,6 @@
 2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
-	* gui/gui.{cpp,h}: add min/avg/max fps printing
+	* gui/gui.{cpp,h}: add min/avg/max fps printing and total play time
 
 2007-07-03 Sandro Santilli <strk@keybit.net>
 

Index: gui/gui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- gui/gui.cpp	3 Jul 2007 08:07:07 -0000	1.86
+++ gui/gui.cpp	3 Jul 2007 08:40:56 -0000	1.87
@@ -616,8 +616,8 @@
   
     //log_msg("Effective frame rate: %0.2f fps", (float)(fps_counter/secs));
     printf("Effective frame rate: %0.2f fps (min %0.2f, avg %0.2f, max %0.2f, "
-      "%u frames total)\n", rate, fps_rate_min, avg, fps_rate_max,
-      fps_counter_total);
+      "%u frames in %0.1f secs total)\n", rate, fps_rate_min, avg, fps_rate_max,
+      fps_counter_total, (current_timer - fps_start_timer)/1000.0);
       
     fps_counter = 0;
     fps_timer = current_timer;



From MAILER-DAEMON Tue Jul 03 04:43:34 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5dyv-0003K7-T9
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 04:43:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5dyu-0003Js-Et
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:43:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5dyt-0003Jg-K7
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:43:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5dyt-0003Jd-BJ
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:43:31 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5dyt-0003sd-2L
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 04:43:31 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5dyr-0008Sb-Vk
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 08:43:30 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5dyr-0008SV-Qy
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 08:43:29 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5dyr-0008SV-Qy@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 03 Jul 2007 08:43:29 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui gui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 08:43:32 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/03 08:43:29

Modified files:
	gui            : gui.cpp 

Log message:
	slight cleanup

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.87&r2=1.88

Patches:
Index: gui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- gui.cpp	3 Jul 2007 08:40:56 -0000	1.87
+++ gui.cpp	3 Jul 2007 08:43:29 -0000	1.88
@@ -600,6 +600,7 @@
   if (current_timer - fps_timer >= interval_ms) {
   
     float secs = (current_timer - fps_timer) / 1000.0;
+    float secs_total = (current_timer - fps_start_timer)/1000.0;
     
     float rate = fps_counter/secs; 
      
@@ -612,12 +613,12 @@
       fps_rate_max = fmax(fps_rate_max, rate);
     }
     
-    float avg = fps_counter_total / ((current_timer - fps_start_timer) / 1000.0); 
+    float avg = fps_counter_total / secs_total; 
   
     //log_msg("Effective frame rate: %0.2f fps", (float)(fps_counter/secs));
     printf("Effective frame rate: %0.2f fps (min %0.2f, avg %0.2f, max %0.2f, "
       "%u frames in %0.1f secs total)\n", rate, fps_rate_min, avg, fps_rate_max,
-      fps_counter_total, (current_timer - fps_start_timer)/1000.0);
+      fps_counter_total, secs_total);
       
     fps_counter = 0;
     fps_timer = current_timer;



From MAILER-DAEMON Tue Jul 03 05:59:21 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5fAH-0001nV-62
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 05:59:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5fAF-0001mC-RV
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 05:59:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5fAF-0001ln-5d
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 05:59:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5fAF-0001lh-0V
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 05:59:19 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5fAD-0005PS-SM
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 05:59:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5fAC-0004nV-Gg
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 09:59:16 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5fAC-0004nS-DO
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 09:59:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5fAC-0004nS-DO@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 03 Jul 2007 09:59:16 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/GC.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 09:59:20 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/03 09:59:16

Modified files:
	.              : ChangeLog 
	libbase        : GC.h 

Log message:
	include assert.h

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3648&r2=1.3649
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3648
retrieving revision 1.3649
diff -u -b -r1.3648 -r1.3649
--- ChangeLog	3 Jul 2007 08:40:56 -0000	1.3648
+++ ChangeLog	3 Jul 2007 09:59:15 -0000	1.3649
@@ -1,6 +1,7 @@
 2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* gui/gui.{cpp,h}: add min/avg/max fps printing and total play time
+	* libbase/GC.h: include assert.h
 
 2007-07-03 Sandro Santilli <strk@keybit.net>
 

Index: libbase/GC.h
===================================================================
RCS file: /cvsroot/gnash/gnash/libbase/GC.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- libbase/GC.h	2 Jul 2007 22:48:20 -0000	1.13
+++ libbase/GC.h	3 Jul 2007 09:59:16 -0000	1.14
@@ -39,6 +39,13 @@
 # include <typeinfo>
 #endif
 
+#if HAVE_ASSERT_H
+#  include <assert.h>
+#else
+#  define assert(arg)	((void) 0)
+#endif
+
+
 namespace gnash {
 
 class GC;



From MAILER-DAEMON Tue Jul 03 10:25:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5jK8-0002gB-To
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 10:25:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5jK6-0002fu-OZ
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 10:25:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5jK6-0002fb-6D
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 10:25:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5jK6-0002fX-1z
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 10:25:46 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I5jK5-00088y-33
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 10:25:45 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l63EPdR03075;
	Tue, 3 Jul 2007 16:25:39 +0200 (CEST) (envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Tue, 3 Jul 2007 16:25:39 +0200
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog libbase/GC.h
Message-ID: <20070703142539.GC94239@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1I5fAC-0004nS-DO@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I5fAC-0004nS-DO@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 14:25:47 -0000

On Tue, Jul 03, 2007 at 09:59:16AM +0000, Udo Giacomozzi wrote:
> CVSROOT:	/cvsroot/gnash
> Module name:	gnash
> Changes by:	Udo Giacomozzi <udog>	07/07/03 09:59:16
> 
> Modified files:
> 	.              : ChangeLog 
> 	libbase        : GC.h 
> 
> Log message:
> 	include assert.h

please include <cassert> instead. 
Have to admit I don't completely understand why, anyway that's
what ppl suggest around whenever available (the'res <cstdio> too, and
many others).

--strk;



From MAILER-DAEMON Tue Jul 03 11:10:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5k16-00080l-6s
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 11:10:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5k15-0007yo-B0
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:10:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5k14-0007x2-Hc
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:10:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5k14-0007wy-Df
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:10:10 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5k14-0008S3-2s
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:10:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5k12-0000uz-LW
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:10:08 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5k12-0000uw-Df
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:10:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5k12-0000uw-Df@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 15:10:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/libbase GC.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 15:10:11 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 15:10:08

Modified files:
	libbase        : GC.h 

Log message:
	include <cassert> rather then <assert.h>, don't make the include optional as that header is part of the standard c++ lib

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: GC.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- GC.h	3 Jul 2007 09:59:16 -0000	1.14
+++ GC.h	3 Jul 2007 15:10:08 -0000	1.15
@@ -39,11 +39,7 @@
 # include <typeinfo>
 #endif
 
-#if HAVE_ASSERT_H
-#  include <assert.h>
-#else
-#  define assert(arg)	((void) 0)
-#endif
+#include <cassert>
 
 
 namespace gnash {



From MAILER-DAEMON Tue Jul 03 11:17:37 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5k8H-0003EM-Po
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 11:17:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5k8F-0003Dw-T1
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:17:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5k8E-0003Dk-Bc
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:17:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5k8E-0003Dh-66
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:17:34 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5k8D-0001bN-TX
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:17:34 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5k8D-0002Qv-0q
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:17:33 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5k8C-0002Qs-SB
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:17:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5k8C-0002Qs-SB@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 03 Jul 2007 15:17:32 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 15:17:36 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/03 15:17:32

Modified files:
	.              : ChangeLog 
	gui            : NullGui.cpp 

Log message:
	implement proper timing

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3649&r2=1.3650
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3649
retrieving revision 1.3650
diff -u -b -r1.3649 -r1.3650
--- ChangeLog	3 Jul 2007 09:59:15 -0000	1.3649
+++ ChangeLog	3 Jul 2007 15:17:32 -0000	1.3650
@@ -1,5 +1,9 @@
 2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
+	* gui/NullGui.cpp: implement correct timing
+
+2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
 	* gui/gui.{cpp,h}: add min/avg/max fps printing and total play time
 	* libbase/GC.h: include assert.h
 

Index: gui/NullGui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- gui/NullGui.cpp	2 Jul 2007 22:10:16 -0000	1.10
+++ gui/NullGui.cpp	3 Jul 2007 15:17:32 -0000	1.11
@@ -35,6 +35,7 @@
 #include <sys/time.h> // for gettimeofday
 #include <time.h> // for gettimeofday
 #include <errno.h> // for reporting gettimeofday errors
+#include "tu_timer.h"
 
 namespace gnash
 {
@@ -43,7 +44,7 @@
 NullGui::run()
 {
 	struct timeval tv;
-
+  unsigned long prevtimer=0;
 
 	if (gettimeofday(&tv, NULL))
 	{
@@ -52,25 +53,48 @@
 	}
 	unsigned long int start_timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
 
+	prevtimer = start_timer;
+
 	while (true)
 	{
-		if ( _timeout )
+	
+	  unsigned long int timer=0;
+
+	  while (1) 
 		{
+    	  
 			if (gettimeofday(&tv, NULL))
 			{
 				cerr << "Could not get time of day: " << strerror(errno) << endl;
 				return false;
 			}
-			unsigned long int timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
+			timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
+			
+			
+  		if ( _timeout )
+  		{
 			if ( timer - start_timer > _timeout)
 			{
 				break;
 			}
 		}
 
-		// sleep for _interval milliseconds
-		// TODO: use the timer value to trigger advances
-		usleep(_interval*1000);
+  		if (_interval==1)
+  		  break; // special exception for 1 ms interval (run as fast as possible)
+
+  		if (timer - prevtimer >= _interval)
+  		  break; // next frame, please!
+  	
+      if (timer < prevtimer) // time glitch protection
+        prevtimer = timer;
+        
+      usleep(1);
+    	
+  	}
+  	
+  	prevtimer = timer;
+				  
+
 		Gui::advance_movie(this);
 
 		// when runnign gnash with -1 switch ::advance_movie() will call ::quit()



From MAILER-DAEMON Tue Jul 03 11:41:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5kVP-0004CC-9M
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 11:41:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5kVM-00048P-Tb
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:41:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5kVM-00047V-AY
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:41:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5kVM-00047I-7R
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:41:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5kVL-0006Np-U7
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:41:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5kVL-00035N-8H
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:41:27 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5kVL-00035G-2L
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:41:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5kVL-00035G-2L@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 03 Jul 2007 15:41:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui NullGui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 15:41:29 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/03 15:41:27

Modified files:
	gui            : NullGui.cpp 

Log message:
	fix timeout that broke with last commit

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: NullGui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- NullGui.cpp	3 Jul 2007 15:17:32 -0000	1.11
+++ NullGui.cpp	3 Jul 2007 15:41:26 -0000	1.12
@@ -35,7 +35,6 @@
 #include <sys/time.h> // for gettimeofday
 #include <time.h> // for gettimeofday
 #include <errno.h> // for reporting gettimeofday errors
-#include "tu_timer.h"
 
 namespace gnash
 {
@@ -70,15 +69,6 @@
 			}
 			timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
 			
-			
-  		if ( _timeout )
-  		{
-  			if ( timer - start_timer > _timeout)
-  			{
-  				break;
-  			}
-  		}
-  		
   		if (_interval==1)
   		  break; // special exception for 1 ms interval (run as fast as possible)
 
@@ -92,6 +82,15 @@
     	
   	}
   	
+    if ( _timeout )
+    {
+      if ( timer - start_timer > _timeout)
+      {
+        break;
+      }
+    }
+    
+    
   	prevtimer = timer;
 				  
 



From MAILER-DAEMON Tue Jul 03 11:53:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5khE-0004GE-Kp
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 11:53:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5khC-0004Ff-Ov
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:53:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5khC-0004FK-83
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:53:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5khC-0004FF-1o
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:53:42 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5khB-00006x-LR
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 11:53:41 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5khA-0004Qn-2i
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:53:40 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5kh9-0004Qk-Em
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:53:39 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5kh9-0004Qk-Em@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 03 Jul 2007 15:53:39 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui gui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 15:53:43 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/03 15:53:39

Modified files:
	gui            : gui.cpp 

Log message:
	protection against time glitches (sorry Sandro for the big value, but in this case it's appropriate)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.88&r2=1.89

Patches:
Index: gui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -b -r1.88 -r1.89
--- gui.cpp	3 Jul 2007 08:43:29 -0000	1.88
+++ gui.cpp	3 Jul 2007 15:53:39 -0000	1.89
@@ -604,6 +604,19 @@
     
     float rate = fps_counter/secs; 
      
+    if (secs > 10000000) {
+      // the timers are unsigned, so when the clock runs "backwards" it leads
+      // to a very high difference value. In theory, this should never happen
+      // with ticks, but it does on my machine (which may have a hw problem?).
+      printf("Time glich detected, need to restart FPS counters, sorry...\n");
+      
+      fps_timer = current_timer;
+      fps_start_timer = current_timer;
+      fps_counter_total = 0;
+      fps_counter = 0;
+      return;
+    } 
+     
     // first FPS message?
     if (fps_timer == fps_start_timer) {     // they're ints, so we can compare
       fps_rate_min = rate;



From MAILER-DAEMON Tue Jul 03 12:06:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5ktV-0005QY-GG
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 12:06:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5ktU-0005N6-2S
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:06:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5ktS-0005Kw-Tr
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:06:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5ktS-0005Ki-OG
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:06:22 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5ktS-0001ts-7f
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:06:22 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5ktQ-0004gV-P9
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:06:20 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5ktQ-0004gS-ID
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:06:20 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5ktQ-0004gS-ID@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 16:06:20 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/GC.cpp libbase/GC.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 16:06:24 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 16:06:20

Modified files:
	.              : ChangeLog 
	libbase        : GC.cpp GC.h 

Log message:
	        * libbase/GC.{cpp,h}: define 3 verbosity levels for the GC

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3650&r2=1.3651
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.15&r2=1.16

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3650
retrieving revision 1.3651
diff -u -b -r1.3650 -r1.3651
--- ChangeLog	3 Jul 2007 15:17:32 -0000	1.3650
+++ ChangeLog	3 Jul 2007 16:06:19 -0000	1.3651
@@ -1,3 +1,7 @@
+2007-07-03 Sandro Santilli <strk@keybit.net>
+
+	* libbase/GC.{cpp,h}: define 3 verbosity levels for the GC
+
 2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* gui/NullGui.cpp: implement correct timing

Index: libbase/GC.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- libbase/GC.cpp	2 Jul 2007 22:48:20 -0000	1.4
+++ libbase/GC.cpp	3 Jul 2007 16:06:20 -0000	1.5
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: GC.cpp,v 1.4 2007/07/02 22:48:20 strk Exp $ */
+/* $Id: GC.cpp,v 1.5 2007/07/03 16:06:20 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -73,7 +73,7 @@
 void
 GC::cleanUnreachable()
 {
-#ifdef GNASH_GC_DEBUG 
+#ifdef GNASH_GC_DEBUG > 1
 	size_t deleted = 0;
 	log_debug(_("GC %p: SWEEP SCAN"), (void*)this);
 #endif
@@ -122,7 +122,7 @@
 #endif
 
 #ifdef GNASH_GC_DEBUG 
-	log_debug(_("Starting collector: " SIZET_FMT " collectables"), _resList.size());
+	log_debug(_("GC %p Starting collector: " SIZET_FMT " collectables"), (void *)this, _resList.size());
 #endif // GNASH_GC_DEBUG
 
 #ifndef NDEBUG

Index: libbase/GC.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- libbase/GC.h	3 Jul 2007 15:10:08 -0000	1.15
+++ libbase/GC.h	3 Jul 2007 16:06:20 -0000	1.16
@@ -31,7 +31,12 @@
 #endif
 
 // Define the following macro to enable GC verbosity 
-// Define to > 1 to have info printed about scan of already reachable objects
+// Verbosity levels:
+//   1 - print stats about how many resources are registered and how many 
+//       are deleted, everytime the GC collector runs.
+//   2 - print a message for every GcResource being registered and being deleted
+//   3 - print info about the mark scan 
+//   
 //#define GNASH_GC_DEBUG 1
 
 #ifdef GNASH_GC_DEBUG
@@ -101,14 +106,14 @@
 
 		if ( _reachable )
 		{
-#if GNASH_GC_DEBUG > 1
+#if GNASH_GC_DEBUG > 2
 			log_debug(_("Instance %p of class %s already reachable, setReachable doing nothing"),
 					(void*)this, typeid(*this).name());
 #endif
 			return;
 		}
 
-#if GNASH_GC_DEBUG  > 1
+#if GNASH_GC_DEBUG  > 2
 		log_debug(_("Instance %p of class %s set to reachable, scanning reachable resources from it"),
 				(void*)this, typeid(*this).name());
 #endif
@@ -270,7 +275,7 @@
 	/// Mark all reachable resources
 	void markReachable()
 	{
-#ifdef GNASH_GC_DEBUG 
+#ifdef GNASH_GC_DEBUG > 2
 		log_debug(_("GC %p: MARK SCAN"), (void*)this);
 #endif
 		_root.markReachableResources();



From MAILER-DAEMON Tue Jul 03 12:15:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5l1q-0004AK-3v
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 12:15:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5l1o-00049w-Cg
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:15:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5l1n-00049j-BY
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:14:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5l1n-00049g-5r
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:14:59 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5l1m-0003H7-VX
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:14:59 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5l1m-0005xy-Gh
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:14:58 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5l1m-0005xu-C4
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:14:58 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5l1m-0005xu-C4@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 16:14:58 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/libbase GC.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 16:15:00 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 16:14:58

Modified files:
	libbase        : GC.h 

Log message:
	ops, extra token at end of ifdef directive

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.h?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: GC.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- GC.h	3 Jul 2007 16:06:20 -0000	1.16
+++ GC.h	3 Jul 2007 16:14:58 -0000	1.17
@@ -275,7 +275,7 @@
 	/// Mark all reachable resources
 	void markReachable()
 	{
-#ifdef GNASH_GC_DEBUG > 2
+#if GNASH_GC_DEBUG > 2
 		log_debug(_("GC %p: MARK SCAN"), (void*)this);
 #endif
 		_root.markReachableResources();



From MAILER-DAEMON Tue Jul 03 12:33:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5lJz-00010C-NB
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 12:33:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5lJy-0000zu-AL
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:33:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5lJx-0000zi-JO
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:33:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5lJx-0000zf-F7
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:33:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5lJx-0006RC-6y
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:33:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5lJw-0006k9-6G
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:33:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5lJw-0006k6-26
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:33:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5lJw-0006k6-26@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 16:33:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gnash.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 16:33:46 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 16:33:44

Modified files:
	.              : ChangeLog 
	gui            : gnash.cpp 

Log message:
	* gui/gnash.cpp (parseCommandLine): -g doesn't take an argument.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3651&r2=1.3652
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.80&r2=1.81

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3651
retrieving revision 1.3652
diff -u -b -r1.3651 -r1.3652
--- ChangeLog	3 Jul 2007 16:06:19 -0000	1.3651
+++ ChangeLog	3 Jul 2007 16:33:43 -0000	1.3652
@@ -1,5 +1,6 @@
 2007-07-03 Sandro Santilli <strk@keybit.net>
 
+	* gui/gnash.cpp (parseCommandLine): -g doesn't take an argument.
 	* libbase/GC.{cpp,h}: define 3 verbosity levels for the GC
 
 2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- gui/gnash.cpp	2 Jul 2007 18:36:42 -0000	1.80
+++ gui/gnash.cpp	3 Jul 2007 16:33:43 -0000	1.81
@@ -204,7 +204,7 @@
         }
     }
     
-    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:g:Vf:")) != -1)
+    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:gVf:")) != -1)
     {
 	switch (c) {
     	  // case 'c' (Disable SDL core dumps) is decoded in sdl.cpp:init()



From MAILER-DAEMON Tue Jul 03 12:56:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5lft-0004Cv-89
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 12:56:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5lfq-00045F-OX
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:56:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5lfq-00043B-34
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:56:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5lfp-00041w-Ja
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:56:21 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5lfp-0002Eh-8v
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 12:56:21 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5lfo-0000NN-5r
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:56:20 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5lfo-0000NJ-2O
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:56:20 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5lfo-0000NJ-2O@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 16:56:20 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/Global.cpp server/...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 16:56:23 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 16:56:20

Modified files:
	.              : ChangeLog 
	server/asobj   : Global.cpp Global.h 

Log message:
	        * server/asobj/Global.{cpp,h}: Don't use a module-static
	          for the Extension instance, when enabled.
	          Seems to fix bug #20272 when debugger id disabled
	          (sounds voodoo, but these are the effects of initialization
	          and deinitialization order for statics...)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3652&r2=1.3653
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Global.cpp?cvsroot=gnash&r1=1.64&r2=1.65
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Global.h?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3652
retrieving revision 1.3653
diff -u -b -r1.3652 -r1.3653
--- ChangeLog	3 Jul 2007 16:33:43 -0000	1.3652
+++ ChangeLog	3 Jul 2007 16:56:19 -0000	1.3653
@@ -1,5 +1,13 @@
 2007-07-03 Sandro Santilli <strk@keybit.net>
 
+	* server/asobj/Global.{cpp,h}: Don't use a module-static
+	  for the Extension instance, when enabled.
+	  Seems to fix bug #20272 when debugger id disabled
+	  (sounds voodoo, but these are the effects of initialization
+	  and deinitialization order for statics...)
+
+2007-07-03 Sandro Santilli <strk@keybit.net>
+
 	* gui/gnash.cpp (parseCommandLine): -g doesn't take an argument.
 	* libbase/GC.{cpp,h}: define 3 verbosity levels for the GC
 

Index: server/asobj/Global.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Global.cpp,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- server/asobj/Global.cpp	1 Jul 2007 10:54:27 -0000	1.64
+++ server/asobj/Global.cpp	3 Jul 2007 16:56:19 -0000	1.65
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: Global.cpp,v 1.64 2007/07/01 10:54:27 bjacques Exp $ */
+/* $Id: Global.cpp,v 1.65 2007/07/03 16:56:19 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -92,8 +92,6 @@
 
 namespace gnash {
 
-static Extension et;
-
 static as_value
 as_global_trace(const fn_call& fn)
 {

Index: server/asobj/Global.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Global.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/asobj/Global.h	1 Jul 2007 10:54:27 -0000	1.5
+++ server/asobj/Global.h	3 Jul 2007 16:56:19 -0000	1.6
@@ -36,6 +36,11 @@
 public:
 	Global(VM& vm);
 	~Global() {}
+private:
+
+#ifdef USE_EXTENSIONS
+	Extension et;
+#endif
 };
 
 } // namespace gnash



From MAILER-DAEMON Tue Jul 03 13:02:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5llK-0001iP-Ku
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 13:02:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5llI-0001dr-9K
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 13:02:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5llH-0001a7-7t
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 13:01:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5llG-0001Zk-Pz
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 13:01:58 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5llG-0003IU-5L
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 13:01:58 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5llF-0000WG-HW
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 17:01:57 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5llF-0000WD-Cd
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 17:01:57 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5llF-0000WD-Cd@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 17:01:57 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui gnash.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 17:02:00 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 17:01:57

Modified files:
	gui            : gnash.cpp 

Log message:
	Make use of -g when debugger id disabled an error. Use printf as logging isn't available yet at that time. Make the equivalent handling of -f gettext-friendly.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.81&r2=1.82

Patches:
Index: gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- gnash.cpp	3 Jul 2007 16:33:43 -0000	1.81
+++ gnash.cpp	3 Jul 2007 17:01:57 -0000	1.82
@@ -270,7 +270,8 @@
 //              debugger.startServer(&debugger);
               debugger.console();
 #else
-              log_error (_("No debugger; disabled at compile time"));
+              printf(_("No debugger; disabled at compile time, -g is invalid\n"));
+              exit(EXIT_FAILURE);
 #endif
               break;
           case 'k':
@@ -335,7 +336,7 @@
 		player.setFpsPrintTime(frames);
 		break;
 #else // ndef GNASH_FPS_DEBUG
-		printf("FPS debugging disabled at compile time, -f is invalid\n");
+		printf(_("FPS debugging disabled at compile time, -f is invalid\n"));
 		exit(EXIT_FAILURE);
 #endif // ndef GNASH_FPS_DEBUG
           }



From MAILER-DAEMON Tue Jul 03 15:44:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5oIJ-0006F6-87
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 15:44:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5oIG-00068j-O3
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:44:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5oID-00068E-Tr
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:44:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5oID-00068B-PS
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:44:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I5oID-0007gh-F0
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 15:44:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I5oIB-0006gv-Lr
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 19:44:07 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I5oIB-0006go-HD
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 19:44:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5oIB-0006go-HD@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 03 Jul 2007 19:44:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/libbase GC.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 19:44:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/03 19:44:07

Modified files:
	libbase        : GC.cpp 

Log message:
	Fixed bogus #ifdef -> #if

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.cpp?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: GC.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/GC.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- GC.cpp	3 Jul 2007 16:06:20 -0000	1.5
+++ GC.cpp	3 Jul 2007 19:44:07 -0000	1.6
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: GC.cpp,v 1.5 2007/07/03 16:06:20 strk Exp $ */
+/* $Id: GC.cpp,v 1.6 2007/07/03 19:44:07 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -73,7 +73,7 @@
 void
 GC::cleanUnreachable()
 {
-#ifdef GNASH_GC_DEBUG > 1
+#if (GNASH_GC_DEBUG > 1)
 	size_t deleted = 0;
 	log_debug(_("GC %p: SWEEP SCAN"), (void*)this);
 #endif



From MAILER-DAEMON Tue Jul 03 16:47:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5pHp-0000Bv-64
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 16:47:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5pHn-0000Bi-Qs
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:47:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5pHn-00009C-1F
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:47:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5pHm-00008y-Uy
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:47:46 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I5pHm-0001hA-Ju
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 16:47:46 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I5pHl-0007Yu-BZ
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 20:47:45 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I5pHl-0007Yr-6s
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 20:47:45 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5pHl-0007Yr-6s@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 03 Jul 2007 20:47:45 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2007 20:47:48 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/03 20:47:45

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: disable debugger by default. Use --enable-debugger
	          to enable.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3653&r2=1.3654
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.346&r2=1.347

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3653
retrieving revision 1.3654
diff -u -b -r1.3653 -r1.3654
--- ChangeLog	3 Jul 2007 16:56:19 -0000	1.3653
+++ ChangeLog	3 Jul 2007 20:47:44 -0000	1.3654
@@ -1,5 +1,10 @@
 2007-07-03 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: disable debugger by default. Use --enable-debugger
+	  to enable.
+
+2007-07-03 Sandro Santilli <strk@keybit.net>
+
 	* server/asobj/Global.{cpp,h}: Don't use a module-static
 	  for the Extension instance, when enabled.
 	  Seems to fix bug #20272 when debugger id disabled

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.346
retrieving revision 1.347
diff -u -b -r1.346 -r1.347
--- configure.ac	2 Jul 2007 16:31:21 -0000	1.346
+++ configure.ac	3 Jul 2007 20:47:44 -0000	1.347
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.346 2007/07/02 16:31:21 strk Exp $
+dnl $Id: configure.ac,v 1.347 2007/07/03 20:47:44 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -109,12 +109,12 @@
 AC_ARG_WITH(top_level, AC_HELP_STRING([--with-top-level], [top level directory for cross compiling files]), with_top_level=${withval})
 
 AC_ARG_ENABLE(debugger,
-  AC_HELP_STRING([--disable-debugger],[Disable the Flash debugger]),
+  AC_HELP_STRING([--enable-debugger],[Enable the Flash debugger]),
 [case "${enableval}" in
   yes) debugger=yes ;;
   no)  debugger=no ;;
-  *)   AC_MSG_ERROR([bad value ${enableval} for --disable-debugger option]) ;;
-esac],debugger=yes)
+  *)   AC_MSG_ERROR([bad value ${enableval} for --enable-debugger option]) ;;
+esac],debugger=no)
 
 if test x"$debugger" = x"yes"; then
   AC_DEFINE([USE_DEBUGGER], [], [Flash Debugger support])



From MAILER-DAEMON Tue Jul 03 22:25:41 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5uYn-0005NF-3e
	for mharc-gnash-commit@gnu.org; Tue, 03 Jul 2007 22:25:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5uYl-0005NA-S0
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 22:25:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5uYj-0005My-Bs
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 22:25:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5uYj-0005Mv-4O
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 22:25:37 -0400
Received: from nz-out-0506.google.com ([64.233.162.237])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I5uYi-0003ji-Om
	for gnash-commit@gnu.org; Tue, 03 Jul 2007 22:25:36 -0400
Received: by nz-out-0506.google.com with SMTP id f1so1349689nzc
	for <gnash-commit@gnu.org>; Tue, 03 Jul 2007 19:25:35 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=Rn6DYi0bmBGXPC1lZTTOAsWtB+G7B530vqGhbo3BCfQfVOIF/L6ZjqKsUkSEi8uSNAwO8mAkTkkg1TZR4ulN7ANoWuDm3jKLMWvQPy66estvzR7tsnHxoA+HoWgFLQqhccxg7AIbrFe9HFUfhuV/kc4J4YwC2S7HAp9B+m7g/ko=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=OrAf8Zj9jquELlt6JKlt4nvIC1RF2FQ+53cdY00UL1/UbJFntARC0JHZTb0xcuvWxzsLWd/AUBI7uwzXLPT/Zt42fpNJ+xgOlDM5sxU2H3UfUG6R0bPgKaakWZuXyHb1MPYs7FQz0Aeq4eLoUPUD54tPDwsjPsltDibOUpTVKeM=
Received: by 10.115.15.1 with SMTP id s1mr6820093wai.1183515934584;
	Tue, 03 Jul 2007 19:25:34 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Tue, 3 Jul 2007 19:25:34 -0700 (PDT)
Message-ID: <ca4b43ff0707031925q42639797gade6eaf2bef5bca0@mail.gmail.com>
Date: Wed, 4 Jul 2007 10:25:34 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Udo Giacomozzi" <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <E1I5k8C-0002Qs-SB@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I5k8C-0002Qs-SB@cvs.savannah.gnu.org>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jul 2007 02:25:40 -0000

May I suggest you use VM::getTime() instead of  gettimeofday()?

VM::getTime()  returns the number of milliseconds since VM was
started, it should be sufficient for this case. If not, then consider
tu_timer::get_ticks();

 gettimeofday() only works under the Unix world, don't forget the
win32 users, we need to support them IIRC.


On 7/3/07, Udo Giacomozzi <udo.gnu@nova-sys.net> wrote:
> CVSROOT:        /cvsroot/gnash
> Module name:    gnash
> Changes by:     Udo Giacomozzi <udog>   07/07/03 15:17:32
>
> Modified files:
>         .              : ChangeLog
>         gui            : NullGui.cpp
>
> Log message:
>         implement proper timing
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3649&r2=1.3650
> http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.10&r2=1.11
>
> Patches:
> Index: ChangeLog
> ===================================================================
> RCS file: /cvsroot/gnash/gnash/ChangeLog,v
> retrieving revision 1.3649
> retrieving revision 1.3650
> diff -u -b -r1.3649 -r1.3650
> --- ChangeLog   3 Jul 2007 09:59:15 -0000       1.3649
> +++ ChangeLog   3 Jul 2007 15:17:32 -0000       1.3650
> @@ -1,5 +1,9 @@
>  2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
>
> +       * gui/NullGui.cpp: implement correct timing
> +
> +2007-07-03 Udo Giacomozzi <udo.gnu@nova-sys.net>
> +
>         * gui/gui.{cpp,h}: add min/avg/max fps printing and total play time
>         * libbase/GC.h: include assert.h
>
>
> Index: gui/NullGui.cpp
> ===================================================================
> RCS file: /cvsroot/gnash/gnash/gui/NullGui.cpp,v
> retrieving revision 1.10
> retrieving revision 1.11
> diff -u -b -r1.10 -r1.11
> --- gui/NullGui.cpp     2 Jul 2007 22:10:16 -0000       1.10
> +++ gui/NullGui.cpp     3 Jul 2007 15:17:32 -0000       1.11
> @@ -35,6 +35,7 @@
>  #include <sys/time.h> // for gettimeofday
>  #include <time.h> // for gettimeofday
>  #include <errno.h> // for reporting gettimeofday errors
> +#include "tu_timer.h"
>
>  namespace gnash
>  {
> @@ -43,7 +44,7 @@
>  NullGui::run()
>  {
>         struct timeval tv;
> -
> +  unsigned long prevtimer=0;
>
>         if (gettimeofday(&tv, NULL))
>         {
> @@ -52,25 +53,48 @@
>         }
>         unsigned long int start_timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
>
> +       prevtimer = start_timer;
> +
>         while (true)
>         {
> -               if ( _timeout )
> +
> +         unsigned long int timer=0;
> +
> +         while (1)
>                 {
> +
>                         if (gettimeofday(&tv, NULL))
>                         {
>                                 cerr << "Could not get time of day: " << strerror(errno) << endl;
>                                 return false;
>                         }
> -                       unsigned long int timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
> +                       timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
> +
> +
> +               if ( _timeout )
> +               {
>                         if ( timer - start_timer > _timeout)
>                         {
>                                 break;
>                         }
>                 }
>
> -               // sleep for _interval milliseconds
> -               // TODO: use the timer value to trigger advances
> -               usleep(_interval*1000);
> +               if (_interval==1)
> +                 break; // special exception for 1 ms interval (run as fast as possible)
> +
> +               if (timer - prevtimer >= _interval)
> +                 break; // next frame, please!
> +
> +      if (timer < prevtimer) // time glitch protection
> +        prevtimer = timer;
> +
> +      usleep(1);
> +
> +       }
> +
> +       prevtimer = timer;
> +
> +
>                 Gui::advance_movie(this);
>
>                 // when runnign gnash with -1 switch ::advance_movie() will call ::quit()
>
>
> _______________________________________________
> Gnash-commit mailing list
> Gnash-commit@gnu.org
> http://lists.gnu.org/mailman/listinfo/gnash-commit
>



From MAILER-DAEMON Wed Jul 04 03:32:56 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5zM8-0005uU-4H
	for mharc-gnash-commit@gnu.org; Wed, 04 Jul 2007 03:32:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5zM6-0005re-Rs
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 03:32:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5zM6-0005qG-8r
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 03:32:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5zM6-0005q1-5k
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 03:32:54 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I5zM5-0006Gi-Mf
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 03:32:53 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5zM4-0001BQ-Rp
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 07:32:52 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I5zM4-0001BN-Gj
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 07:32:52 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I5zM4-0001BN-Gj@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Wed, 04 Jul 2007 07:32:52 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jul 2007 07:32:55 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/04 07:32:52

Modified files:
	.              : ChangeLog 
	gui            : NullGui.cpp 

Log message:
	use tu_timer instead of gettimeofday()

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3654&r2=1.3655
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3654
retrieving revision 1.3655
diff -u -b -r1.3654 -r1.3655
--- ChangeLog	3 Jul 2007 20:47:44 -0000	1.3654
+++ ChangeLog	4 Jul 2007 07:32:51 -0000	1.3655
@@ -1,3 +1,7 @@
+2007-07-04 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* gui/NullGui.cpp: use tu_timer instead of gettimeofday()
+
 2007-07-03 Sandro Santilli <strk@keybit.net>
 
 	* configure.ac: disable debugger by default. Use --enable-debugger

Index: gui/NullGui.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gui/NullGui.cpp	3 Jul 2007 15:41:26 -0000	1.12
+++ gui/NullGui.cpp	4 Jul 2007 07:32:52 -0000	1.13
@@ -32,9 +32,7 @@
 # include <unistd.h> // for usleep
 #endif
 
-#include <sys/time.h> // for gettimeofday
-#include <time.h> // for gettimeofday
-#include <errno.h> // for reporting gettimeofday errors
+#include "tu_timer.h"
 
 namespace gnash
 {
@@ -42,35 +40,22 @@
 bool
 NullGui::run()
 {
-  struct timeval tv;
-  unsigned long prevtimer=0;
-
-  if (gettimeofday(&tv, NULL))
-  {
-    cerr << "Could not get time of day: " << strerror(errno) << endl;
-    return false;
-  }
-  unsigned long int start_timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
+  uint64_t prevtimer=0;
+  uint64_t start_timer = tu_timer::get_ticks();  // returns milliseconds
   
   prevtimer = start_timer;
 
   while (true)
   {
   
-    unsigned long int timer=0;
+    uint64_t timer=0;
 
+    // synchronize to frame time 
+    if (_timeout || (_interval>1))  // avoid timing completely for interval==1
     while (1) 
     {
         
-      if (gettimeofday(&tv, NULL))
-      {
-        cerr << "Could not get time of day: " << strerror(errno) << endl;
-        return false;
-      }
-      timer = tv.tv_sec*1000 + tv.tv_usec / 1000;
-            
-      if (_interval==1)
-        break; // special exception for 1 ms interval (run as fast as possible)
+      timer = tu_timer::get_ticks();
 
       if (timer - prevtimer >= _interval)
         break; // next frame, please!



From MAILER-DAEMON Wed Jul 04 03:38:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I5zRC-00025y-NZ
	for mharc-gnash-commit@gnu.org; Wed, 04 Jul 2007 03:38:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I5zRB-00025t-UL
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 03:38:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I5zRB-00025b-1Z
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 03:38:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I5zRA-00025Y-Ud
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 03:38:08 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I5zRA-0007AU-Fl
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 03:38:08 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l647c2U4025881;
	Wed, 4 Jul 2007 09:38:05 +0200
Date: Wed, 4 Jul 2007 09:38:01 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <210113300.20070704093801@nova-sys.net>
To: "zou lunkai" <zoulunkai@gmail.com>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <ca4b43ff0707031925q42639797gade6eaf2bef5bca0@mail.gmail.com>
References: <E1I5k8C-0002Qs-SB@cvs.savannah.gnu.org>
	<ca4b43ff0707031925q42639797gade6eaf2bef5bca0@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jul 2007 07:38:10 -0000

Hello zou,

Wednesday, July 4, 2007, 4:25:34 AM, you wrote:
zl> May I suggest you use VM::getTime() instead of  gettimeofday()?

Agree, I committed a patch.


zl> VM::getTime()  returns the number of milliseconds since VM was
zl> started, it should be sufficient for this case. If not, then consider
zl> tu_timer::get_ticks();

zl>  gettimeofday() only works under the Unix world, don't forget the
zl> win32 users, we need to support them IIRC.


I see tu_timer::get_ticks() uses gettimeofday() itself (under Linux).
This is not a real issue, but the problem with gettimeofday() is that
it can change unexpectedly (ntpdate, for instance) which means that
successive calls to getTimer() may return *smaller* values or a jump.

In our projects we use /proc/uptime as a constant time source, but
reading and parsing that file is a *expensive* operation, so I
discourage to use it in Gnash. Unfortunately I know no other reliable
time source under Linux (very strange).


Udo




From MAILER-DAEMON Wed Jul 04 18:17:05 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6D9l-000136-9P
	for mharc-gnash-commit@gnu.org; Wed, 04 Jul 2007 18:17:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6D9j-00012a-CA
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 18:17:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6D9h-00012O-Ot
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 18:17:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6D9h-00012L-LD
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 18:17:01 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I6D9h-00049Q-2s
	for gnash-commit@gnu.org; Wed, 04 Jul 2007 18:17:01 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l64MGqU4024548;
	Thu, 5 Jul 2007 00:16:57 +0200
Date: Thu, 5 Jul 2007 00:16:49 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <194640415.20070705001649@nova-sys.net>
To: John Gilmore <gnu@toad.com>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <200707042137.l64LbOV8013812@new.toad.com>
References: <E1I5k8C-0002Qs-SB@cvs.savannah.gnu.org>
	<ca4b43ff0707031925q42639797gade6eaf2bef5bca0@mail.gmail.com>
	<200707042137.l64LbOV8013812@new.toad.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jul 2007 22:17:03 -0000

Hello John,

Wednesday, July 4, 2007, 11:37:24 PM, you wrote:
JG> GNU programs are (and should be) primarily written for the GNU / Linux
JG> system.  To make them more generally useful it's good to write them
JG> portably.  But their usefulness or functionality on GNU shouldn't be
JG> sacrificed "for the win32 users".

We're not sacrifying anything. The NullGui technically still works
like it did before (get_ticks internally uses gettimeofday too), and
by the way, windows offers nicer timing functions anyway..

Udo




From MAILER-DAEMON Thu Jul 05 11:14:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6T2c-0002nt-Ed
	for mharc-gnash-commit@gnu.org; Thu, 05 Jul 2007 11:14:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6T2a-0002nE-9l
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 11:14:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6T2Z-0002mI-PD
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 11:14:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6T2Z-0002m8-IQ
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 11:14:43 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I6T2Z-0002S1-4Z
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 11:14:43 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l65FEbU4014807;
	Thu, 5 Jul 2007 17:14:39 +0200
Date: Thu, 5 Jul 2007 17:14:35 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1001467760.20070705171435@nova-sys.net>
To: Markus Gothe <nietzsche@lysator.liu.se>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <468CE902.6070000@lysator.liu.se>
References: <E1I5k8C-0002Qs-SB@cvs.savannah.gnu.org>
	<ca4b43ff0707031925q42639797gade6eaf2bef5bca0@mail.gmail.com>
	<210113300.20070704093801@nova-sys.net>
	<468CE902.6070000@lysator.liu.se>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jul 2007 15:14:44 -0000

Hello Markus,

Thursday, July 5, 2007, 2:50:10 PM, you wrote:
MG> The TU code is on the way out of the codebase, it's a good riddance
MG> IMO. So please don't put it back in ;)

OK, what to use instead then?

VM::getTime() sounds too VM-specific to me, as the GUI is not related
to ActionScript in any way...

Udo




From MAILER-DAEMON Thu Jul 05 15:03:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6Wbb-0003CP-Ag
	for mharc-gnash-commit@gnu.org; Thu, 05 Jul 2007 15:03:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6Wba-0003AE-9z
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:03:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6WbZ-00039R-Ey
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:03:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6WbZ-00039O-9H
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:03:05 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I6WbY-0003u8-PE
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:03:04 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I6WbX-00057Q-Qj
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 19:03:03 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I6WbX-00057M-Jp
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 19:03:03 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6WbX-00057M-Jp@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 05 Jul 2007 19:03:03 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/array.cpp testsuite/acti...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jul 2007 19:03:06 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/05 19:03:03

Modified files:
	.              : ChangeLog 
	server         : array.cpp 
	testsuite/actionscript.all: array.as 

Log message:
	        * server/array.cpp (array_concat): fix typo in function argument
	          access. Fixes bug #20355.
	        * testsuite/actionscript.all/array.as: add more tests for Array.concat()

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3655&r2=1.3656
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.cpp?cvsroot=gnash&r1=1.63&r2=1.64
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.18&r2=1.19

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3655
retrieving revision 1.3656
diff -u -b -r1.3655 -r1.3656
--- ChangeLog	4 Jul 2007 07:32:51 -0000	1.3655
+++ ChangeLog	5 Jul 2007 19:03:02 -0000	1.3656
@@ -1,3 +1,9 @@
+2007-07-05 Sandro Santilli <strk@keybit.net>
+
+	* server/array.cpp (array_concat): fix typo in function argument
+	  access. Fixes bug #20355.
+	* testsuite/actionscript.all/array.as: add more tests for Array.concat()
+
 2007-07-04 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* gui/NullGui.cpp: use tu_timer instead of gettimeofday()

Index: server/array.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/array.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- server/array.cpp	1 Jul 2007 10:54:19 -0000	1.63
+++ server/array.cpp	5 Jul 2007 19:03:03 -0000	1.64
@@ -749,7 +749,7 @@
 	for (unsigned int i=0; i<fn.nargs; i++)
 	{
 		// Array args get concatenated by elements
-		boost::intrusive_ptr<as_array_object> other = boost::dynamic_pointer_cast<as_array_object>(fn.arg(1).to_object());
+		boost::intrusive_ptr<as_array_object> other = boost::dynamic_pointer_cast<as_array_object>(fn.arg(i).to_object());
 		if ( other )
 		{
 			newarray->concat(*other);

Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- testsuite/actionscript.all/array.as	30 Apr 2007 16:57:40 -0000	1.18
+++ testsuite/actionscript.all/array.as	5 Jul 2007 19:03:03 -0000	1.19
@@ -5,7 +5,7 @@
 // Updated with sort functions, and to use check() macro
 // by Mike Carlson Feb. 14th, 2006
 
-rcsid="$Id: array.as,v 1.18 2007/04/30 16:57:40 strk Exp $";
+rcsid="$Id: array.as,v 1.19 2007/07/05 19:03:03 strk Exp $";
 
 #include "check.as"
 
@@ -166,6 +166,10 @@
 check_equals ( portion.toString(), "5");
 portion = concatted.slice(-2);
 check_equals ( portion.toString(), "5,6");
+mixed = portion.concat([7,8,9]);
+check_equals ( mixed.toString(), "5,6,7,8,9");
+mixed = mixed.concat([10,11],12,[13]);
+check_equals ( mixed.toString(), "5,6,7,8,9,10,11,12,13");
 
 // invalid calls
 portion = concatted.slice(-18);



From MAILER-DAEMON Thu Jul 05 15:29:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6X0t-0002AX-2k
	for mharc-gnash-commit@gnu.org; Thu, 05 Jul 2007 15:29:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6X0r-0002AA-MJ
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:29:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6X0q-00029w-Ge
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:29:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6X0q-00029t-C0
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:29:12 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I6X0q-0000qu-2e
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:29:12 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I6X0p-00083x-3k
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 19:29:11 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I6X0p-00083t-00
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 19:29:11 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6X0p-00083t-00@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 05 Jul 2007 19:29:11 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/parser/sprite_definition.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jul 2007 19:29:14 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/05 19:29:10

Modified files:
	.              : ChangeLog 
	server/parser  : sprite_definition.h 

Log message:
	        * server/parser/sprite_definition.h (add_sound_sample): don't
	          complain about sound sampes definitions found in a sprite definition
	          context. That's completely legal.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3656&r2=1.3657
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/sprite_definition.h?cvsroot=gnash&r1=1.25&r2=1.26

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3656
retrieving revision 1.3657
diff -u -b -r1.3656 -r1.3657
--- ChangeLog	5 Jul 2007 19:03:02 -0000	1.3656
+++ ChangeLog	5 Jul 2007 19:29:10 -0000	1.3657
@@ -1,5 +1,8 @@
 2007-07-05 Sandro Santilli <strk@keybit.net>
 
+	* server/parser/sprite_definition.h (add_sound_sample): don't
+	  complain about sound sampes definitions found in a sprite definition
+	  context. That's completely legal.
 	* server/array.cpp (array_concat): fix typo in function argument
 	  access. Fixes bug #20355.
 	* testsuite/actionscript.all/array.as: add more tests for Array.concat()

Index: server/parser/sprite_definition.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/sprite_definition.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- server/parser/sprite_definition.h	2 Jul 2007 14:42:08 -0000	1.25
+++ server/parser/sprite_definition.h	5 Jul 2007 19:29:10 -0000	1.26
@@ -218,9 +218,9 @@
 	/// Overridden just for complaining  about malformed SWF
 	virtual void add_sound_sample(int id, sound_sample* sam)
 	{
-		IF_VERBOSE_MALFORMED_SWF (
-		log_swferror(_("add sam appears in sprite tags"));
-		);
+		// DEFINESOUND tags *are* allowed in a sprite context,
+		// and it is *expected* for them to be registered into
+		// the main dictionary.
 		m_movie_def->add_sound_sample(id,sam);
 	}
 



From MAILER-DAEMON Thu Jul 05 15:45:33 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6XGf-00086l-2S
	for mharc-gnash-commit@gnu.org; Thu, 05 Jul 2007 15:45:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6XGd-00086M-7l
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:45:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6XGc-00086A-AV
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:45:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6XGc-000867-5c
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:45:30 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6XGb-00049W-Pz
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 15:45:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6XGa-0001XT-OM
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 19:45:28 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6XGa-0001XM-BH
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 19:45:28 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6XGa-0001XM-BH@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Thu, 05 Jul 2007 19:45:28 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash server/parser/movie_def_impl.cpp ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jul 2007 19:45:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/05 19:45:28

Modified files:
	server/parser  : movie_def_impl.cpp 
	.              : ChangeLog 

Log message:
	        * server/parser/movie_def_impl.cpp: Report internal sample ID too in
	          verbose parse log message

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.cpp?cvsroot=gnash&r1=1.77&r2=1.78
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3657&r2=1.3658

Patches:
Index: server/parser/movie_def_impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- server/parser/movie_def_impl.cpp	2 Jul 2007 18:50:48 -0000	1.77
+++ server/parser/movie_def_impl.cpp	5 Jul 2007 19:45:27 -0000	1.78
@@ -413,7 +413,8 @@
 void movie_def_impl::add_sound_sample(int character_id, sound_sample* sam)
 {
     assert(sam);
-	log_msg(_("Add sound sample %d"), character_id);
+	log_msg(_("Add sound sample %d assigning id %d"),
+		character_id, sam->m_sound_handler_id);
     m_sound_samples.insert(make_pair(character_id,
             boost::intrusive_ptr<sound_sample>(sam)));
 }

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3657
retrieving revision 1.3658
diff -u -b -r1.3657 -r1.3658
--- ChangeLog	5 Jul 2007 19:29:10 -0000	1.3657
+++ ChangeLog	5 Jul 2007 19:45:27 -0000	1.3658
@@ -1,3 +1,8 @@
+2007-07-05 Martin Guy <martinwguy@yahoo.it>
+
+	* server/parser/movie_def_impl.cpp: Report internal sample ID too in
+	  verbose parse log message
+
 2007-07-05 Sandro Santilli <strk@keybit.net>
 
 	* server/parser/sprite_definition.h (add_sound_sample): don't



From MAILER-DAEMON Thu Jul 05 20:20:05 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6bYL-0003cq-FM
	for mharc-gnash-commit@gnu.org; Thu, 05 Jul 2007 20:20:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6bYJ-0003cY-Ii
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 20:20:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6bYJ-0003cE-2f
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 20:20:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6bYI-0003c9-Ny
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 20:20:02 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I6bYI-0005J5-EH
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 20:20:02 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I6bYF-0004E9-PY
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 00:20:00 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I6bYE-0004E0-UP
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 00:19:59 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Fri, 06 Jul 2007 00:19:58 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 00:20:04 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/06 00:19:58

Modified files:
	.              : ChangeLog 
	gui            : NullGui.cpp 

Log message:
	Get rid of tu_timer n favor of boost, albeit ticks_per_second() might return nanoseconds, I donnu what the implication of this would be.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3658&r2=1.3659
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3658
retrieving revision 1.3659
diff -u -b -r1.3658 -r1.3659
--- ChangeLog	5 Jul 2007 19:45:27 -0000	1.3658
+++ ChangeLog	6 Jul 2007 00:19:57 -0000	1.3659
@@ -1,3 +1,7 @@
+2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
+
+	* gui/NullGui.cpp: use boost instead of tu_timer.
+
 2007-07-05 Martin Guy <martinwguy@yahoo.it>
 
 	* server/parser/movie_def_impl.cpp: Report internal sample ID too in

Index: gui/NullGui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- gui/NullGui.cpp	4 Jul 2007 07:32:52 -0000	1.13
+++ gui/NullGui.cpp	6 Jul 2007 00:19:58 -0000	1.14
@@ -32,7 +32,9 @@
 # include <unistd.h> // for usleep
 #endif
 
-#include "tu_timer.h"
+#include <boost/date_time/posix_time/posix_time_types.hpp>
+
+using namespace boost::posix_time;
 
 namespace gnash
 {
@@ -41,7 +43,7 @@
 NullGui::run()
 {
   uint64_t prevtimer=0;
-  uint64_t start_timer = tu_timer::get_ticks();  // returns milliseconds
+  uint64_t start_timer = time_duration::ticks_per_second();  // returns milliseconds, maybe even ns...
 
   prevtimer = start_timer;
 
@@ -55,7 +57,7 @@
     while (1) 
     {
         
-      timer = tu_timer::get_ticks();
+      timer = time_duration::ticks_per_second();
             
       if (timer - prevtimer >= _interval)
         break; // next frame, please!



From MAILER-DAEMON Thu Jul 05 21:10:08 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6cKm-0004Sv-Nb
	for mharc-gnash-commit@gnu.org; Thu, 05 Jul 2007 21:10:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6cKk-0004Sq-L3
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 21:10:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6cKk-0004Se-55
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 21:10:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6cKk-0004Sb-02
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 21:10:06 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I6cKj-0005dO-OJ
	for gnash-commit@gnu.org; Thu, 05 Jul 2007 21:10:05 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I6cKi-0000aH-Mv
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 01:10:04 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I6cKi-0000aA-Hh
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 01:10:04 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6cKi-0000aA-Hh@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Fri, 06 Jul 2007 01:10:04 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui NullGui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 01:10:07 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/06 01:10:04

Modified files:
	gui            : NullGui.cpp 

Log message:
	I realised we wanted somethng more like this

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: NullGui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- NullGui.cpp	6 Jul 2007 00:19:58 -0000	1.14
+++ NullGui.cpp	6 Jul 2007 01:10:04 -0000	1.15
@@ -43,7 +43,7 @@
 NullGui::run()
 {
   uint64_t prevtimer=0;
-  uint64_t start_timer = time_duration::ticks_per_second();  // returns milliseconds, maybe even ns...
+  uint64_t start_timer = ((microsec_clock::local_time()).time_of_day()).total_milliseconds();  // returns milliseconds
 
   prevtimer = start_timer;
 
@@ -57,7 +57,7 @@
     while (1) 
     {
         
-      timer = time_duration::ticks_per_second();
+      timer = ((microsec_clock::local_time()).time_of_day()).total_milliseconds();
             
       if (timer - prevtimer >= _interval)
         break; // next frame, please!



From MAILER-DAEMON Fri Jul 06 04:28:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6jAw-0006nZ-4X
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6jAu-0006nM-Ss
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6jAt-0006n9-CQ
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6jAt-0006n6-7t
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:23 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6jAr-0004Uc-8q
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:21 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6jA7-0005V2-8r
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 08:27:35 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6jA6-0005Uy-W4
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 08:27:35 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6jA6-0005Uy-W4@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 08:27:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 08:28:25 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 08:27:34

Modified files:
	.              : ChangeLog 

Log message:
	        * backend/Makefile.am: Move a GUI test to its logical place

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3659&r2=1.3660

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3659
retrieving revision 1.3660
diff -u -b -r1.3659 -r1.3660
--- ChangeLog	6 Jul 2007 00:19:57 -0000	1.3659
+++ ChangeLog	6 Jul 2007 08:27:34 -0000	1.3660
@@ -1,3 +1,7 @@
+2007-07-06 Martin Guy <martinwguy@yahoo.it>
+
+	* backend/Makefile.am: Move a GUI test to its logical place
+
 2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* gui/NullGui.cpp: use boost instead of tu_timer.



From MAILER-DAEMON Fri Jul 06 04:28:38 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6jB8-00070P-KF
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6jB7-00070F-8v
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6jB6-0006zs-KD
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6jB6-0006zp-II
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6jB4-0004QP-NZ
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 04:28:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6j9r-0005UH-Os
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 08:27:19 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6j9r-0005UE-Ed
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 08:27:19 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6j9r-0005UE-Ed@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 08:27:19 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/backend Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 08:28:37 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 08:27:19

Modified files:
	backend        : Makefile.am 

Log message:
	        * backend/Makefile.am: Move a GUI test to its logical place

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/Makefile.am?cvsroot=gnash&r1=1.55&r2=1.56

Patches:
Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/backend/Makefile.am,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- Makefile.am	1 Jul 2007 10:53:47 -0000	1.55
+++ Makefile.am	6 Jul 2007 08:27:19 -0000	1.56
@@ -78,6 +78,12 @@
 RENDER_SOURCES = render_handler_tri.cpp
 SOUND_SOURCES = sound_handler.cpp
 
+if USE_RENDERER_AGG
+RENDER_SOURCES += render_handler_agg.cpp
+libgnashbackend_LIBS += $(AGG_LIBS)
+AM_CPPFLAGS += $(AGG_CFLAGS)
+endif
+
 if USE_RENDERER_CAIRO
 RENDER_SOURCES += render_handler_cairo.cpp
 libgnashbackend_LIBS += $(CAIRO_LIBS)
@@ -110,12 +116,6 @@
 endif
 endif
 
-if USE_RENDERER_AGG
-RENDER_SOURCES += render_handler_agg.cpp
-libgnashbackend_LIBS += $(AGG_LIBS)
-AM_CPPFLAGS += $(AGG_CFLAGS)
-endif
-
 libgnashbackend_la_LIBADD = \
 	$(top_builddir)/libbase/libgnashbase.la \
 	$(top_builddir)/server/libgnashserver.la  \



From MAILER-DAEMON Fri Jul 06 06:13:54 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6koz-0003w2-Qe
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 06:13:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6kov-0003uD-Ao
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 06:13:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6kou-0003tf-6s
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 06:13:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6kou-0003tB-10
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 06:13:48 -0400
Received: from wx-out-0506.google.com ([66.249.82.227])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I6kot-00012q-Fg
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 06:13:47 -0400
Received: by wx-out-0506.google.com with SMTP id s7so161288wxc
	for <gnash-commit@gnu.org>; Fri, 06 Jul 2007 03:13:46 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=svWzotDNyJ17DrsrRaqwCTHCeO5Ont3CV2Nb8w0RyjU5wnSXuRGPeFmxPHN6YpKVRc7esHWYHnOJDYOvhzQ4tMbyMTJ8Oh6Ff2JnRBpz0sm3gjqmKbF5+UnTTC1gjBbZZU5StZlSwWvY3P65SFbqvMyeIpobpBb1uEKhpELC1t4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=UXOkpKtGg4p5PRhGja3SzqsD3UiVlXT3Getwdre9fgRqyiBPBNxOlyMRFwTGs75mf1QGAbNCTsjlMtMaiyNzPL9/jC8O9AM4+1iqCbv5heIm35vGCznWQ3/smb0HMbHiz5oh4iFHphOCZMAzjvTCBCXPJI6JF1+fcckU1KiLipQ=
Received: by 10.78.193.19 with SMTP id q19mr226923huf.1183716825384;
	Fri, 06 Jul 2007 03:13:45 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Fri, 6 Jul 2007 03:13:45 -0700 (PDT)
Message-ID: <56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
Date: Fri, 6 Jul 2007 11:13:45 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Markus Gothe" <markus@unixrus.se>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
X-Google-Sender-Auth: 8e4c020146e049df
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 10:13:49 -0000

2007/7/6, Markus Gothe <markus@unixrus.se>:
>         gui            : NullGui.cpp
>
> Log message:
>         Get rid of tu_timer n favor of boost, albeit ticks_per_second() might return nanoseconds, I donnu what the implication of this would be.

Hi Markus
  One implication is that boost::date_time becomes a required
dependency of Gnash, only for the NullGui. Otherwise it is not
required.
  In general I agree that tu_* should be dropped wherever possible,
but in this case there is no advantage: tu_timer is still used in lots
of other places. It would make more sense to do real-time timing
portability in one place (tu_timer.cpp) instead of using tu_timer
here, gettimeofday() there,
((microsec_clock::local_time()).time_of_day()).total_milliseconds()
elsewhere, at least for the realtime-since-start-of-movie stuff
(Date.cpp has other problems that tu_timer cannot help with)

   In general this NullGui code "could be improved".
- Infinite loops peppered with breaks are confusing. I know Gnash is
full of them, but they are error-prone and a sign of confused
thinking. It would be better to figure out what the loop terminates
on, then loop for that explicitly.
- A busy-wait with usleep(1) (currently making a call up to 1000000
times a second to very slow localtime code!) would be best replaced by
working out how long to delay for in absolute time and then calling
usleep with the right amount. Anyway, in windows here we have #define
usleep(n) Sleep(n/1000) so that has a true 100% CPU busy loop.

For now can you please revert NullGUi.cpp to 1.12, where the use of
tu_timer is a slight portability improvement on explicit use of
gettimeofday().

Cheers

     M



From MAILER-DAEMON Fri Jul 06 09:15:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6nek-0005f7-LO
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 09:15:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6nei-0005f2-TA
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:15:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6neh-0005ep-B4
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:15:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6neh-0005em-6T
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:15:27 -0400
Received: from ik-out-1112.google.com ([66.249.90.179])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I6neR-0005oO-Nz
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:15:27 -0400
Received: by ik-out-1112.google.com with SMTP id c29so259788ika
	for <gnash-commit@gnu.org>; Fri, 06 Jul 2007 06:14:37 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=EiyfdoK3A6hn8bbjxW5zztwJsDcbthBQibLhUAqarFB7Y4GzA8LbVZ29/n9Z7+T/19v7vJdZJkZlfTvw4Q6B2NUOOwTqYh2LE8FMGSkZXDlI9X2wHUY5vCY254cz+VIw7ptIf8phY913tFdf+C21OYUkPwfAD+qyRE7OPXwEhSc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=mmA6xAZJ3Kr9rqzZ2EVuvYhKeYrfYsAO/SZecXLk0lfuybQOICwy1m4TcMabOyO/TX9bIOdBGgIyf6yqvQDMMlB92G53JGRigyEAx9KYLaK7JEb9Z+lA3q273OS1yKSNMbZFZMufz6nBD26S/yj3E6Qzx59YE7wkfcapyXSnwuU=
Received: by 10.78.165.16 with SMTP id n16mr281950hue.1183727246124;
	Fri, 06 Jul 2007 06:07:26 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Fri, 6 Jul 2007 06:07:26 -0700 (PDT)
Message-ID: <56d259a00707060607q299c1e89s5d7893eb63d8cc14@mail.gmail.com>
Date: Fri, 6 Jul 2007 14:07:26 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Markus Gothe" <nietzsche@lysator.liu.se>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <56d259a00707060557w10d2d2e4qd1a3dcae7a3f7574@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<468E39F5.3050909@lysator.liu.se>
	<56d259a00707060557w10d2d2e4qd1a3dcae7a3f7574@mail.gmail.com>
X-Google-Sender-Auth: 901187428fba1806
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 13:15:29 -0000

2007/7/6, Martin Guy <martinwguy@yahoo.it>:
> > I depends on boost-date_time since march or feb already
>
> I just got out NullGui.cpp 1.12 with current cvs and the whole thing
> compiled fine.

Hang on, you may be right

   M



From MAILER-DAEMON Fri Jul 06 09:22:56 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6nlw-00079o-8H
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 09:22:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6nlu-00077Z-3S
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:22:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6nls-00075p-C6
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:22:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6nls-00075e-3g
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:22:52 -0400
Received: from ik-out-1112.google.com ([66.249.90.176])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I6nlr-0007VO-Jm
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:22:51 -0400
Received: by ik-out-1112.google.com with SMTP id c29so262539ika
	for <gnash-commit@gnu.org>; Fri, 06 Jul 2007 06:21:52 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=KOnyUKUyRSKCBmK/lJyK0hIdkkSNseDBlrJ0PhG9a2XBgZANPBDzK6bbEfdIln4pFrxHtzSArXHbIA9z+u1FSWxMs8t7Gd/2zYCdaZdVEQs7Gx5rXcdfWkpXxwcArw1XHaxnySn38GFLTMxxM4PVfD17TZ34C1/H3sr7jkbNI3o=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=IXqTCnhdfKqOS07a51rQWQobK4vX9HcszoZNXhHmkRKJp0nrwktYHDBJuEE+e70d1RrA4DBIBxS4nAaaaSxq0yKWa7qx5ZzASd82u66VDIjMZjerY4wHOE8iSrhX+yERGRxFGqZgjaXnFd/1dchdyYTse/xQaKgcDdLp2PseujM=
Received: by 10.78.204.7 with SMTP id b7mr275500hug.1183726632540;
	Fri, 06 Jul 2007 05:57:12 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Fri, 6 Jul 2007 05:57:12 -0700 (PDT)
Message-ID: <56d259a00707060557w10d2d2e4qd1a3dcae7a3f7574@mail.gmail.com>
Date: Fri, 6 Jul 2007 13:57:12 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Markus Gothe" <nietzsche@lysator.liu.se>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <468E39F5.3050909@lysator.liu.se>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<468E39F5.3050909@lysator.liu.se>
X-Google-Sender-Auth: cfc9ea0e5f808fb6
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 13:22:54 -0000

> I depends on boost-date_time since march or feb already

I just got out NullGui.cpp 1.12 with current cvs and the whole thing
compiled fine.

Maybe you're thinking of cygnal, which uses boost date_time, but gnash
does not, and there is an explicit clause in the configure script to
check for boost:date_time only if you are building cygnal.

So can you revert that change please

    M



From MAILER-DAEMON Fri Jul 06 09:53:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6oFR-0000Dn-Oa
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 09:53:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6oFP-0000Bx-Tt
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:53:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6oFO-0000A9-Fd
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:53:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6oFO-0000A6-Cn
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:53:22 -0400
Received: from ug-out-1314.google.com ([66.249.92.174])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I6oFN-0006I7-Ur
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 09:53:22 -0400
Received: by ug-out-1314.google.com with SMTP id 34so835666ugf
	for <gnash-commit@gnu.org>; Fri, 06 Jul 2007 06:53:21 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=Tal6M4o475M8EJ5L+uGJq9+3/H4eEEhOoluZxKseI/FtKCw4xXX3aTUw26JMZ2DuazCBDcx8J1H1mnHqCt7SmMYt0RjOLISuDhWESWmiY8wg9NumdYtTQf0RmGN2WgEMKRwwLMRvzmj5Z+IswnHTyhVWC0e/XJ3ClJgxtF5TNuY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=j1g5BOiw3wkr4elNbxjhh0vZ+AdvVCOMT34ddMqnskflK2CKfjKdb8pQuQ90N4aH3040+UI92y5QDh5C8vcnm5V18N7ZrzzbjS1Z7oh7njBqI7mVIsjqhc64FSbALLCvxZeGMxLi7Pd2qoWeXYocBJqz+Es+mX4sziEEpoiOUjQ=
Received: by 10.78.205.7 with SMTP id c7mr307270hug.1183730000793;
	Fri, 06 Jul 2007 06:53:20 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Fri, 6 Jul 2007 06:53:20 -0700 (PDT)
Message-ID: <56d259a00707060653t2175bb11le7a36e5792db782@mail.gmail.com>
Date: Fri, 6 Jul 2007 14:53:20 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Markus Gothe" <nietzsche@lysator.liu.se>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <56d259a00707060607q299c1e89s5d7893eb63d8cc14@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<468E39F5.3050909@lysator.liu.se>
	<56d259a00707060557w10d2d2e4qd1a3dcae7a3f7574@mail.gmail.com>
	<56d259a00707060607q299c1e89s5d7893eb63d8cc14@mail.gmail.com>
X-Google-Sender-Auth: a2afb7e5d29cbddc
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 13:53:24 -0000

> 2007/7/6, Martin Guy <martinwguy@yahoo.it>:
> > > I depends on boost-date_time since march or feb already
> >
> > I just got out NullGui.cpp 1.12 with current cvs and the whole thing
> > compiled fine.
>
> Hang on, you may be right

No, nothing needs it except cygnal and NullGui.
You can go ahead (or shall I do it for you? :)



From MAILER-DAEMON Fri Jul 06 10:03:09 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6oOr-0006c0-5X
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 10:03:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6oOp-0006b8-FW
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:03:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6oOm-0006a0-RP
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:03:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6oOm-0006Zt-KW
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:03:04 -0400
Received: from web34707.mail.mud.yahoo.com ([209.191.68.156])
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <tomasgroth@yahoo.dk>) id 1I6oOl-0000JC-Tu
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:03:04 -0400
Received: (qmail 11255 invoked by uid 60001); 6 Jul 2007 14:02:59 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.dk;
	h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
	b=J/kZZJS7gXo8zwhS0h9WLAGFyDyJQh4NJj4/itCkcm9wQ2vh0mDEKUzESrGHkLsHoPoNXQz9942okxylhRYm1lUwFe7hqUhrAB/10udbdG3oz44pw3WWGH8LAmtzfa1WtMB2LmQmeOSQNsBrLHxpQ2etnX87nXJewqFz4oQK09Q=;
X-YMail-OSG: OEet.hoVM1mMH3UFLShICMOuZaOz15OLUBhykV_DtRUVDbW7GXtpIIC_tQaHf8sVBAy8XyUZ3Q--
Received: from [87.72.76.187] by web34707.mail.mud.yahoo.com via HTTP;
	Fri, 06 Jul 2007 16:02:58 CEST
Date: Fri, 6 Jul 2007 16:02:58 +0200 (CEST)
From: Tomas Groth <tomasgroth@yahoo.dk>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
To: Martin Guy <martinwguy@yahoo.it>, Markus Gothe <nietzsche@lysator.liu.se>
In-Reply-To: <56d259a00707060653t2175bb11le7a36e5792db782@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <148071.11232.qm@web34707.mail.mud.yahoo.com>
X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 14:03:07 -0000


--- Martin Guy <martinwguy@yahoo.it> skrev:

> > 2007/7/6, Martin Guy <martinwguy@yahoo.it>:
> > > > I depends on boost-date_time since march or feb already
> > >
> > > I just got out NullGui.cpp 1.12 with current cvs and the whole thing
> > > compiled fine.
> >
> > Hang on, you may be right
> 
> No, nothing needs it except cygnal and NullGui.

I don't understand why it's so important not to depend on boost_date_time. It
seems to be agreed that tu_* stuff should be abandoned, so why not keep the
changes in NullGui, and work on from there to remove the use of tu_timer? We
have to start somewhere...

Cheers,

Tomas


      



From MAILER-DAEMON Fri Jul 06 10:40:38 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6oz8-0001uG-SY
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 10:40:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6oz7-0001u4-Me
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:40:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6oz6-0001tg-C0
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:40:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6oz6-0001td-5w
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:40:36 -0400
Received: from wr-out-0506.google.com ([64.233.184.227])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I6oz5-0001Fc-Qv
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:40:36 -0400
Received: by wr-out-0506.google.com with SMTP id 55so185696wri
	for <gnash-commit@gnu.org>; Fri, 06 Jul 2007 07:40:35 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=Z8/RI1Ez/v4wfaQXSc/wpm/aaPT8hcOO+pQOngDwCsWnwu/OvEhx7SAoIJOfP0BiTUcHN6k35atDet6WGW5CfT5sfa3We/dythZwQqaYoqTebi2gxpoeX2ThNpFwkJE6XL4R5Fe5wgGNmCgJUg0AoZ4jBsu6RVCDrnZQ+SeXdjY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=g7SK8uhKkSNbZC/tYI6iK0WnESp/SnLm3osrpYg5vdpdL1yut+DwXbwnq5Hq6iXXOW4lsarxaVrABqeOw4s7lhgrQs2JjFx4TmLe4zO5CCjGxcoToDNK/2wuQp4mjXEJSDpB2m0a/kTLHlJUdmebcuLaBk0E2UVBwkNg02KSU4A=
Received: by 10.78.81.20 with SMTP id e20mr322405hub.1183732833125;
	Fri, 06 Jul 2007 07:40:33 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Fri, 6 Jul 2007 07:40:33 -0700 (PDT)
Message-ID: <56d259a00707060740x28e794e6y3439355e6bcbb4be@mail.gmail.com>
Date: Fri, 6 Jul 2007 15:40:33 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Tomas Groth" <tomasgroth@yahoo.dk>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <148071.11232.qm@web34707.mail.mud.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <56d259a00707060653t2175bb11le7a36e5792db782@mail.gmail.com>
	<148071.11232.qm@web34707.mail.mud.yahoo.com>
X-Google-Sender-Auth: f9ff3c0e722ad1ca
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Cc: gnash-commit@gnu.org, Markus Gothe <nietzsche@lysator.liu.se>
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 14:40:37 -0000

2007/7/6, Tomas Groth <tomasgroth@yahoo.dk>:
> I don't understand why it's so important not to depend on boost_date_time

Keeping the code size down. Gnash is already huge. and pulls in more
libraries than mplayer :-/
boost_date_time is large and slow (that's why it's split off into a
separate package) and the local timezone/daylight saving time stuff
brings in complex tables and hairy algorithms for predicting what the
local governments of the world have decided over the last hundred
years.

If you just need microsecond timing (which we don't need; millisecond
is enough for human-visible video) you don't want libraries that go
looking up the local timezone and daylight saving time through layers
of extra code and only end up calling the "how many milliseconds"
function that you would have used anyway.

> why not keep the changes in NullGui, and work on from there to remove the use of tu_timer?

The only thing inherently wrong with tu_* is the egotistical use of
the author's initials in the identifiers.
In this specific case it seems to me to make more unnecessary bloat
for no practical gain whatsoever, plus a touch of "don't fix what
ain't broke".
As well as increasing code size even further, extra dependencies
complexify the build process for everyone (think Windows, think
cross-compiling).

However you can make that change throughout Gnash if you wish.
I just happened to notice a tiny and largely pointless miodification
made 3 days ago that has a negative impact on the software for no
practical gain.

But that's just my opinion of course. If you're itching to use
date_time and don't care about code size and complexity, go ahead. You
can reimplement Date.cpp to use it too if you're feeling strong :)

     M



From MAILER-DAEMON Fri Jul 06 10:51:55 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6pA3-0004Sq-Mt
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 10:51:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6pA3-0004Sl-6D
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:51:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6pA2-0004Qb-1P
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:51:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6pA1-0004Pz-S4
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:51:53 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6pA0-0004q8-JP
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 10:51:53 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6p9z-0004zu-Su
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:51:51 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6p9z-0004zr-Oh
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:51:51 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6p9z-0004zr-Oh@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 14:51:51 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash testsuite/libamf.all/test_number.cpp Chan...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 14:51:55 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 14:51:51

Modified files:
	testsuite/libamf.all: test_number.cpp 
	.              : ChangeLog 

Log message:
	        * testsuite/libamf.all/test_number.cpp: Remove uused variables and
	          commented-out debugging printfs

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libamf.all/test_number.cpp?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3660&r2=1.3661

Patches:
Index: testsuite/libamf.all/test_number.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libamf.all/test_number.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/libamf.all/test_number.cpp	1 Jul 2007 10:54:43 -0000	1.7
+++ testsuite/libamf.all/test_number.cpp	6 Jul 2007 14:51:51 -0000	1.8
@@ -50,8 +50,7 @@
 int
 main(int argc, char *argv[])
 {
-    bool dump = false;
-    int c, retries = 3;
+    int c;
 
     while ((c = getopt (argc, argv, "hdvsm:")) != -1) {
         switch (c) {
@@ -72,7 +71,6 @@
     AMF amf_obj;
     int fd, ret;
     char buf[AMF_NUMBER_SIZE+1];
-    amfnum_t value = 0xf03fL;
     amfnum_t *num;
     
     memset(buf, 0, AMF_NUMBER_SIZE+1);
@@ -84,25 +82,13 @@
 
     num = amf_obj.extractNumber(buf);
 
-//     unsigned char hexint[32];
-//     hexify((unsigned char *)hexint, (unsigned char *)num, 8, false);
-//     cerr << "AMF number is: 0x" << hexint << endl;
-//     hexify((unsigned char *)hexint, (unsigned char *)&value, 8, false);
-//     cerr << "AMF value is: 0x" << hexint << endl;
-
     if ((((char *)num)[6] == -16) && (((char *)num)[7] == 0x3f)) {
-//    if (memcmp(num, &value, AMF_NUMBER_SIZE) == 0) {
         runtest.pass("Extracted Number AMF object");
     } else {
         runtest.fail("Extracted Number AMF object");
     }
 
     void *out = amf_obj.encodeNumber(*num);
-//     hexify((unsigned char *)hexint, (unsigned char *)out, 9, false);
-//     cerr << "AMF encoded number is: 0x" << hexint << endl;
-
-//     hexify((unsigned char *)hexint, (unsigned char *)buf, 9, false);
-//     cerr << "AMF buff number is: 0x" << hexint << endl;
 
     if (memcmp(out, buf, 9) == 0) {
         runtest.pass("Encoded AMF Number");

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3660
retrieving revision 1.3661
diff -u -b -r1.3660 -r1.3661
--- ChangeLog	6 Jul 2007 08:27:34 -0000	1.3660
+++ ChangeLog	6 Jul 2007 14:51:51 -0000	1.3661
@@ -1,6 +1,8 @@
 2007-07-06 Martin Guy <martinwguy@yahoo.it>
 
 	* backend/Makefile.am: Move a GUI test to its logical place
+	* testsuite/libamf.all/test_number.cpp: Remove uused variables and
+	  commented-out debugging printfs
 
 2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Fri Jul 06 11:10:50 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6pSL-0004Tc-Fi
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 11:10:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6pSI-0004T5-Hj
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 11:10:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6pSH-0004Sm-T5
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 11:10:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6pSH-0004Sg-Pd
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 11:10:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6pSH-0002VS-Au
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 11:10:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6pSG-0005hY-Jb
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 15:10:44 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6pSG-0005hU-AE
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 15:10:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6pSG-0005hU-AE@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 15:10:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash gui/gnash.cpp ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 15:10:46 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 15:10:44

Modified files:
	gui            : gnash.cpp 
	.              : ChangeLog 

Log message:
	        * gui/gnash.cpp: Reformat crazy indentation and simplify redundant 
	          local variables (no functional change)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.82&r2=1.83
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3661&r2=1.3662

Patches:
Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- gui/gnash.cpp	3 Jul 2007 17:01:57 -0000	1.82
+++ gui/gnash.cpp	6 Jul 2007 15:10:43 -0000	1.83
@@ -251,13 +251,10 @@
               url = optarg;
               log_msg (_("Setting root URL to %s"), url);
               break;
-          case 'U':
-	  {
-		const char* baseurl = optarg;
-		player.setBaseUrl(baseurl);
-		log_msg (_("Setting base URL to %s"), baseurl);
+          case 'U':	// Set base URL
+	      player.setBaseUrl(optarg);
+	      log_msg (_("Setting base URL to %s"), optarg);
 		break;
-	  }
           case 'j':
               width_given = true;
               player.setWidth ( strtol(optarg, NULL, 0) );
@@ -280,18 +277,16 @@
               log_msg (_("Setting height to " SIZET_FMT), player.getHeight());
               break;
           case 'x':
-              called_by_plugin=true;
+              called_by_plugin = true;
               player.setWindowId(strtol(optarg, NULL, 0));
               break;
           case '1':
               player.setDoLoop(false);
               break;
           case 'r':
-	{
               specified_rendering_flag=true;
 
-              long int render_arg = strtol(optarg, NULL, 0);
-              switch (render_arg) {
+              switch (strtol(optarg, NULL, 0)) {
                 case 0:
                     // Disable both
                     player.setDoRender(false);
@@ -313,34 +308,26 @@
                     player.setDoSound(true);
                     break;
                 default:
-                    log_error (_("-r must be followed by 0, 1, 2 or 3 "
-			"(%ld is invalid)"), render_arg);
+                    log_error (_("-r must be followed by 0, 1, 2 or 3 "));
                     break;
               }
               break;
-	}
           case 't':
               player.setExitTimeout( (float) atof(optarg) );
               break;
           case 'b':
-          {
-		int bit_depth;
-              bit_depth = atoi(optarg);
-		player.setBitDepth(bit_depth);
+	      player.setBitDepth(atoi(optarg));
               break;
-          }
           case 'f':
-          {
 #ifdef GNASH_FPS_DEBUG
-		float frames = strtod(optarg, NULL);
-		player.setFpsPrintTime(frames);
-		break;
+		player.setFpsPrintTime((float)strtod(optarg, NULL));
 #else // ndef GNASH_FPS_DEBUG
 		printf(_("FPS debugging disabled at compile time, -f is invalid\n"));
 		exit(EXIT_FAILURE);
 #endif // ndef GNASH_FPS_DEBUG
-          }
+		break;
           case 'P':
+	    {
 		string param = optarg;
 		size_t eq = param.find("=");
 		string name, value;
@@ -357,6 +344,7 @@
 		break;
 	}
     }
+    }
 
     if ( ! specified_rendering_flag ) {
 	log_msg (_("No rendering flags specified, using rcfile"));
@@ -367,8 +355,8 @@
         }
     }
 
-    if (called_by_plugin && height_given && width_given && !player.getHeight() && 
-        !player.getWidth()) {
+    if (called_by_plugin && height_given && width_given
+	&& !player.getHeight() && !player.getWidth()) {
         // We were given dimensions of 0x0 to render to (probably the plugin
         // is playing an "invisible" movie. Disable video rendering.
         player.setDoRender(false);
@@ -410,12 +398,10 @@
 
 	// No file name was supplied
 	if (!infile) {
-		std::cerr << "Error: no input file was specified."
-			<< endl << endl;
+	    std::cerr << "Error: no input file was specified." << endl << endl;
 		usage();
 		return EXIT_FAILURE;
 	}
 
 	return player.run(argc, argv, infile, url);
 }
-

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3661
retrieving revision 1.3662
diff -u -b -r1.3661 -r1.3662
--- ChangeLog	6 Jul 2007 14:51:51 -0000	1.3661
+++ ChangeLog	6 Jul 2007 15:10:44 -0000	1.3662
@@ -3,6 +3,8 @@
 	* backend/Makefile.am: Move a GUI test to its logical place
 	* testsuite/libamf.all/test_number.cpp: Remove uused variables and
 	  commented-out debugging printfs
+	* gui/gnash.cpp: Reformat crazy indentation and simplify redundant
+	  local variables (no functional change)
 
 2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Fri Jul 06 13:50:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6rwO-00088v-QV
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 13:50:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6rwM-00088d-Ox
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 13:49:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6rwK-00088R-Cv
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 13:49:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6rwK-00088M-7W
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 13:49:56 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6rwJ-0007Wz-Nq
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 13:49:55 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6rwI-00034T-VC
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 17:49:55 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6rwI-00034O-LZ
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 17:49:54 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6rwI-00034O-LZ@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 17:49:54 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 17:49:59 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 17:49:54

Modified files:
	.              : configure.ac ChangeLog 

Log message:
	        * configure.ac: Fix typo "handlign" in message

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.347&r2=1.348
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3662&r2=1.3663

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -b -r1.347 -r1.348
--- configure.ac	3 Jul 2007 20:47:44 -0000	1.347
+++ configure.ac	6 Jul 2007 17:49:53 -0000	1.348
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.347 2007/07/03 20:47:44 strk Exp $
+dnl $Id: configure.ac,v 1.348 2007/07/06 17:49:53 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -938,7 +938,7 @@
   if test x"${media_handler_specified}" = xfalse; then
     # If the library is not found, we'll disable media handling
     if test x"${ac_cv_path_mad_lib}" = x ; then
-      AC_MSG_WARN([No libmad found, disabling media handlign.])
+      AC_MSG_WARN([No libmad found, disabling media handling.])
       media_handler=none
     fi
   fi

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3662
retrieving revision 1.3663
diff -u -b -r1.3662 -r1.3663
--- ChangeLog	6 Jul 2007 15:10:44 -0000	1.3662
+++ ChangeLog	6 Jul 2007 17:49:54 -0000	1.3663
@@ -5,6 +5,7 @@
 	  commented-out debugging printfs
 	* gui/gnash.cpp: Reformat crazy indentation and simplify redundant
 	  local variables (no functional change)
+	* configure.ac: Fix typo "handlign" in message
 
 2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Fri Jul 06 14:46:17 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6sor-0003la-Et
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 14:46:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6soq-0003lL-9g
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:46:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6sop-0003jz-JZ
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:46:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6sop-0003ja-Ba
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:46:15 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6soo-0002jR-Ut
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:46:15 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6son-0007aG-HT
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 18:46:13 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6son-0007aC-BW
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 18:46:13 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6son-0007aC-BW@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 18:46:13 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 18:46:16 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 18:46:13

Modified files:
	.              : configure.ac ChangeLog 

Log message:
	        * configure.ac: Fix formatting of missing BOOST date_time message

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.348&r2=1.349
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3663&r2=1.3664

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.348
retrieving revision 1.349
diff -u -b -r1.348 -r1.349
--- configure.ac	6 Jul 2007 17:49:53 -0000	1.348
+++ configure.ac	6 Jul 2007 18:46:12 -0000	1.349
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.348 2007/07/06 17:49:53 martinwguy Exp $
+dnl $Id: configure.ac,v 1.349 2007/07/06 18:46:12 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1725,7 +1725,7 @@
 	echo "        ERROR: The BOOST date_time package is needed to compile cygnal!"
 	echo "        Install it from http://boost.org"
 	echo "        or .deb users: apt-get install libboost-date-time-dev"
-	echo "        or --disable-cygnal"
+	echo "               or configure --disable-cygnal"
 	nogo=true
     fi
 else

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3663
retrieving revision 1.3664
diff -u -b -r1.3663 -r1.3664
--- ChangeLog	6 Jul 2007 17:49:54 -0000	1.3663
+++ ChangeLog	6 Jul 2007 18:46:12 -0000	1.3664
@@ -6,6 +6,7 @@
 	* gui/gnash.cpp: Reformat crazy indentation and simplify redundant
 	  local variables (no functional change)
 	* configure.ac: Fix typo "handlign" in message
+	* configure.ac: Fix formatting of missing BOOST date_time message
 
 2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Fri Jul 06 14:51:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6suA-0006Qf-GU
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 14:51:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6su8-0006Po-Nd
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:51:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6su8-0006PS-7Y
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:51:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6su8-0006PO-0D
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:51:44 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6su7-00040X-JV
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 14:51:43 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6su6-0007xt-Sg
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 18:51:42 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6su6-0007xp-IS
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 18:51:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6su6-0007xp-IS@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 18:51:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash server/asobj/SoundFfmpeg.cpp ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 18:51:45 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 18:51:42

Modified files:
	server/asobj   : SoundFfmpeg.cpp 
	.              : ChangeLog 

Log message:
	        * server/asobj/SoundFfmpeg.cpp: Fix signed/unsigned compiler warning

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundFfmpeg.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3664&r2=1.3665

Patches:
Index: server/asobj/SoundFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundFfmpeg.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- server/asobj/SoundFfmpeg.cpp	1 Jul 2007 10:54:31 -0000	1.12
+++ server/asobj/SoundFfmpeg.cpp	6 Jul 2007 18:51:41 -0000	1.13
@@ -151,7 +151,7 @@
 	// Find the first audio stream
 	so->audioIndex = -1;
 
-	for (unsigned int i = 0; i < so->formatCtx->nb_streams; i++)
+	for (unsigned int i = 0; i < (unsigned)so->formatCtx->nb_streams; i++)
 	{
 		AVCodecContext* enc = so->formatCtx->streams[i]->codec; 
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3664
retrieving revision 1.3665
diff -u -b -r1.3664 -r1.3665
--- ChangeLog	6 Jul 2007 18:46:12 -0000	1.3664
+++ ChangeLog	6 Jul 2007 18:51:42 -0000	1.3665
@@ -7,6 +7,7 @@
 	  local variables (no functional change)
 	* configure.ac: Fix typo "handlign" in message
 	* configure.ac: Fix formatting of missing BOOST date_time message
+	* server/asobj/SoundFfmpeg.cpp: Fix signed/unsigned compiler warning
 
 2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Fri Jul 06 15:09:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6tBA-0000D9-50
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 15:09:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6tB7-0000Cr-WF
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 15:09:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6tB7-0000Cd-Fi
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 15:09:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6tB7-0000Ca-CK
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 15:09:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6tB7-0000kr-1y
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 15:09:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6tB6-0000zd-Ij
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 19:09:16 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6tB6-0000zZ-Db
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 19:09:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6tB6-0000zZ-Db@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 19:09:16 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 19:09:18 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 19:09:16

Modified files:
	.              : configure.ac ChangeLog 

Log message:
	        * configure.ac: Fix error message for missing docbook2x tools

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.349&r2=1.350
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3665&r2=1.3666

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.349
retrieving revision 1.350
diff -u -b -r1.349 -r1.350
--- configure.ac	6 Jul 2007 18:46:12 -0000	1.349
+++ configure.ac	6 Jul 2007 19:09:15 -0000	1.350
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.349 2007/07/06 18:46:12 martinwguy Exp $
+dnl $Id: configure.ac,v 1.350 2007/07/06 19:09:15 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1661,7 +1661,10 @@
 if test x"$docbook" = x"yes"; then
   if test x"$DB2X_XSLTPROC" = x -o x"$DB2X_TEXIXML" = x -o x"$MAKEINFO" = x -o x"$XSLTPROC" = x; then
     echo "        ERROR: No DocBook2X tools installed!"
-    echo "               Try installing docbook, docbook-xml, docbook2Xm, texinfo, docbook-utils, docbook-xsl."
+    echo "               Either install it from http://docbook2x.sourceforge.net"
+    echo "               or .deb users: apt-get install docbook docbook-xml docbook2x"
+    echo "                              texinfo docbook-utils docbook-xsl"
+    echo "               or configure without --enable-docbook"
     nogo=true
   else
     echo "        You have version $db2x_version of the DocBook2X tools."

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3665
retrieving revision 1.3666
diff -u -b -r1.3665 -r1.3666
--- ChangeLog	6 Jul 2007 18:51:42 -0000	1.3665
+++ ChangeLog	6 Jul 2007 19:09:16 -0000	1.3666
@@ -7,6 +7,7 @@
 	  local variables (no functional change)
 	* configure.ac: Fix typo "handlign" in message
 	* configure.ac: Fix formatting of missing BOOST date_time message
+	* configure.ac: Fix error message for missing docbook2x tools
 	* server/asobj/SoundFfmpeg.cpp: Fix signed/unsigned compiler warning
 
 2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>



From MAILER-DAEMON Fri Jul 06 16:43:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6udy-0005am-0p
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 16:43:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6udv-0005Zk-Cn
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 16:43:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6uds-0005Y5-M6
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 16:43:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6uds-0005Xd-3V
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 16:43:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I6udl-0005xd-6h
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 16:42:58 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I6ucY-00022D-D0
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 20:41:42 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I6ucY-000224-8e
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 20:41:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I6ucY-000224-8e@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Fri, 06 Jul 2007 20:41:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 20:43:07 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/06 20:41:42

Modified files:
	.              : configure.ac ChangeLog 

Log message:
	        * configure.ac: Add xsltproc to list of docbook required packages

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.350&r2=1.351
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3666&r2=1.3667

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.350
retrieving revision 1.351
diff -u -b -r1.350 -r1.351
--- configure.ac	6 Jul 2007 19:09:15 -0000	1.350
+++ configure.ac	6 Jul 2007 20:41:41 -0000	1.351
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.350 2007/07/06 19:09:15 martinwguy Exp $
+dnl $Id: configure.ac,v 1.351 2007/07/06 20:41:41 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1662,8 +1662,8 @@
   if test x"$DB2X_XSLTPROC" = x -o x"$DB2X_TEXIXML" = x -o x"$MAKEINFO" = x -o x"$XSLTPROC" = x; then
     echo "        ERROR: No DocBook2X tools installed!"
     echo "               Either install it from http://docbook2x.sourceforge.net"
-    echo "               or .deb users: apt-get install docbook docbook-xml docbook2x"
-    echo "                              texinfo docbook-utils docbook-xsl"
+    echo "               or .deb users: apt-get install docbook docbook2x docbook-utils"
+    echo "                              docbook-xml docbook-xsl texinfo xsltproc"
     echo "               or configure without --enable-docbook"
     nogo=true
   else

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3666
retrieving revision 1.3667
diff -u -b -r1.3666 -r1.3667
--- ChangeLog	6 Jul 2007 19:09:16 -0000	1.3666
+++ ChangeLog	6 Jul 2007 20:41:41 -0000	1.3667
@@ -8,6 +8,7 @@
 	* configure.ac: Fix typo "handlign" in message
 	* configure.ac: Fix formatting of missing BOOST date_time message
 	* configure.ac: Fix error message for missing docbook2x tools
+	* configure.ac: Add xsltproc to list of docbook required packages
 	* server/asobj/SoundFfmpeg.cpp: Fix signed/unsigned compiler warning
 
 2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>



From MAILER-DAEMON Fri Jul 06 19:22:41 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I6x8L-0004yz-92
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 19:22:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I6x8K-0004yr-Ir
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 19:22:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I6x8H-0004xj-HV
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 19:22:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I6x8H-0004xg-AE
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 19:22:37 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I6x8G-0007wj-Rc
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 19:22:37 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l66NMQU4022734;
	Sat, 7 Jul 2007 01:22:31 +0200
Date: Sat, 7 Jul 2007 01:22:24 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1699140717.20070707012224@nova-sys.net>
To: "Martin Guy" <martinwguy@yahoo.it>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jul 2007 23:22:40 -0000

Hello Martin,

Friday, July 6, 2007, 12:13:45 PM, you wrote:
MG>   In general I agree that tu_* should be dropped wherever possible,

What's the problem with tu_timer? I interpreted it as a general Gnash
tool for timing. Anyway, wouldn't it be best to have a dedicated .h
just for timing purposes?

MG>    In general this NullGui code "could be improved".
MG> - Infinite loops peppered with breaks are confusing. I know Gnash is
MG> full of them, but they are error-prone and a sign of confused
MG> thinking. It would be better to figure out what the loop terminates
MG> on, then loop for that explicitly.

The infinite loop design was taken to avoid calls to usleep() when the
delay is 1. This will probably be the most used value when one uses
the "-d" switch. This allows much better performance profiling because
any call to usleep() will slow down Gnash dramatically.


MG> - A busy-wait with usleep(1) (currently making a call up to 1000000
MG> times a second to very slow localtime code!)

Not correct. usleep(1) does not really sleep a nanosecond. It just
causes a task switch which on most architectures corresponds to a 10
milliseconds sleep (100 HZ). With other words, the usleep() call is
just to release CPU resources to other processes and it does not
matter what value was given to usleep and how fast the code is between
the sleeps.

MG> would be best replaced by
MG> working out how long to delay for in absolute time and then calling
MG> usleep with the right amount.

usleep() just sleeps _at least_ the specified time (unless interrupted
by a signal), which means the timing would be inaccurate in that case.


MG> Anyway, in windows here we have #define
MG> usleep(n) Sleep(n/1000) so that has a true 100% CPU busy loop.

You mean because that equals  sleep(0) ?

On http://msdn2.microsoft.com/en-us/library/ms686298.aspx they say:

"A value of zero causes the thread to relinquish the remainder of its
time slice to any other thread of equal priority that is ready to run.
If there are no other threads of equal priority ready to run, the
function returns immediately, and the thread continues execution."

This sounds like 0% CPU to me. However I admit that I don't really
thought about Windows when patching NullGui.

Udo




From MAILER-DAEMON Fri Jul 06 23:37:34 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7170-0000HD-Na
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 23:37:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I716z-0000H0-8I
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:37:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I716x-0000Go-0n
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:37:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I716w-0000Gl-U3
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:37:30 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I716w-0007WC-L6
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:37:30 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I716w-0006RV-5F
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 03:37:30 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I716w-0006RR-15
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 03:37:30 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I716w-0006RR-15@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 07 Jul 2007 03:37:30 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/vm/ASHandlers.cpp server...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 03:37:33 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/07 03:37:29

Modified files:
	.              : ChangeLog 
	server/vm      : ASHandlers.cpp action.cpp action.h 

Log message:
	        * server/vm/ASHandlers.cpp (CommonGetUrl): use
	          sprite_instance::loadMovie for target loads.
	          Fixes bug #20001
	        * server/vm/action.{cpp,h}: obsolete attach_extern_movie
	          in favor of sprite_instance::loadMovie, known to work
	          better in at least one case (bug #20001).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3667&r2=1.3668
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ASHandlers.cpp?cvsroot=gnash&r1=1.110&r2=1.111
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/action.cpp?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/action.h?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3667
retrieving revision 1.3668
diff -u -b -r1.3667 -r1.3668
--- ChangeLog	6 Jul 2007 20:41:41 -0000	1.3667
+++ ChangeLog	7 Jul 2007 03:37:29 -0000	1.3668
@@ -1,3 +1,12 @@
+2007-07-06 Sandro Santilli <strk@keybit.net>
+
+	* server/vm/ASHandlers.cpp (CommonGetUrl): use
+	  sprite_instance::loadMovie for target loads.
+	  Fixes bug #20001
+	* server/vm/action.{cpp,h}: obsolete attach_extern_movie
+	  in favor of sprite_instance::loadMovie, known to work
+	  better in at least one case (bug #20001).
+
 2007-07-06 Martin Guy <martinwguy@yahoo.it>
 
 	* backend/Makefile.am: Move a GUI test to its logical place

Index: server/vm/ASHandlers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ASHandlers.cpp,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -b -r1.110 -r1.111
--- server/vm/ASHandlers.cpp	1 Jul 2007 10:54:36 -0000	1.110
+++ server/vm/ASHandlers.cpp	7 Jul 2007 03:37:29 -0000	1.111
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: ASHandlers.cpp,v 1.110 2007/07/01 10:54:36 bjacques Exp $ */
+/* $Id: ASHandlers.cpp,v 1.111 2007/07/07 03:37:29 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1870,8 +1870,7 @@
 					sendVarsMethod);
 			}
 
-			sprite_instance* root_movie = env.get_target()->get_root_movie();
-			attach_extern_movie(url.str().c_str(), target_movie, root_movie);
+			target_movie->loadMovie(url);
 		}
 	}
 	else

Index: server/vm/action.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/action.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- server/vm/action.cpp	1 Jul 2007 10:54:37 -0000	1.22
+++ server/vm/action.cpp	7 Jul 2007 03:37:29 -0000	1.23
@@ -35,7 +35,7 @@
 #include "types.h"
 #include "sprite_instance.h"
 #include "movie_instance.h"
-#include "movie_root.h" // to reset root movie from attach_extern_movie
+//#include "movie_root.h" // to reset root movie from attach_extern_movie
 #include "Global.h"
 #include "swf.h"
 #include "URL.h"
@@ -127,6 +127,7 @@
 	global->set_member(name, handler);
 }
 
+#if 0 // deprecated, use sprite_instance::loadMovie
 void
 attach_extern_movie(const char* c_url,
 		const sprite_instance* target,
@@ -199,6 +200,7 @@
 		clip_depth);
 	}
 }
+#endif
 
 //
 // Function/method dispatch.

Index: server/vm/action.h
===================================================================
RCS file: /sources/gnash/gnash/server/vm/action.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/vm/action.h	1 Jul 2007 10:54:37 -0000	1.6
+++ server/vm/action.h	7 Jul 2007 03:37:29 -0000	1.7
@@ -143,7 +143,8 @@
 	/// Returns M_INVALID_MEMBER if there's no match.
 	as_standard_member	get_standard_member(const std::string& name);
 
-	void attach_extern_movie(const char* c_url, const sprite_instance* target, const sprite_instance* root_movie);
+	// deprecated, use sprite_instance::loadMovie
+	//void attach_extern_movie(const char* c_url, const sprite_instance* target, const sprite_instance* root_movie);
 
 }	// end namespace gnash
 



From MAILER-DAEMON Fri Jul 06 23:49:58 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I71Iz-0004tx-Ke
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 23:49:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I71Ix-0004qJ-08
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:49:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I71Iw-0004p1-0B
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:49:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I71Iv-0004oy-Ti
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:49:53 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I71Iv-0001Fn-HY
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:49:53 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I71Iu-0008FD-9Z
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 03:49:52 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I71Iu-0008F9-43
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 03:49:52 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I71Iu-0008F9-43@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 07 Jul 2007 03:49:52 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/ref_counted.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 03:49:55 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/07 03:49:52

Modified files:
	.              : ChangeLog 
	libbase        : ref_counted.h 

Log message:
	        * libbase/ref_counted.h: use boost's atomic_count
	          for the reference counter. Should be safer.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3668&r2=1.3669
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/ref_counted.h?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3668
retrieving revision 1.3669
diff -u -b -r1.3668 -r1.3669
--- ChangeLog	7 Jul 2007 03:37:29 -0000	1.3668
+++ ChangeLog	7 Jul 2007 03:49:51 -0000	1.3669
@@ -1,5 +1,10 @@
 2007-07-06 Sandro Santilli <strk@keybit.net>
 
+	* libbase/ref_counted.h: use boost's atomic_count
+	  for the reference counter. Should be safer.
+
+2007-07-06 Sandro Santilli <strk@keybit.net>
+
 	* server/vm/ASHandlers.cpp (CommonGetUrl): use
 	  sprite_instance::loadMovie for target loads.
 	  Fixes bug #20001

Index: libbase/ref_counted.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/ref_counted.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- libbase/ref_counted.h	1 Jul 2007 17:34:59 -0000	1.11
+++ libbase/ref_counted.h	7 Jul 2007 03:49:51 -0000	1.12
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: ref_counted.h,v 1.11 2007/07/01 17:34:59 strk Exp $ */
+/* $Id: ref_counted.h,v 1.12 2007/07/07 03:49:51 strk Exp $ */
 
 #ifndef GNASH_REF_COUNTED_H
 #define GNASH_REF_COUNTED_H
@@ -41,10 +41,13 @@
 
 private:
 
-	typedef long Counter;
-	// boost atomic_counter is thread-safe, but doesn't
-	// provide a copy constructor.
-	//typedef mutable boost::detail::atomic_count Counter;
+	// We use an atomic counter to make ref-counting 
+	// thread-safe. The drop_ref() method must be
+	// carefully designed for this to be effective
+	// (decrement & check in a single statement)
+	//
+	typedef boost::detail::atomic_count Counter;
+	// typedef long Counter;
 
 	mutable Counter m_ref_count;
 	



From MAILER-DAEMON Fri Jul 06 23:57:29 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I71QH-0007fL-7r
	for mharc-gnash-commit@gnu.org; Fri, 06 Jul 2007 23:57:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I71QF-0007eE-0M
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:57:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I71QE-0007e0-Au
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:57:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I71QE-0007dx-6O
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:57:26 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I71QD-0002sw-RT
	for gnash-commit@gnu.org; Fri, 06 Jul 2007 23:57:25 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I71QD-0008QN-5s
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 03:57:25 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I71QD-0008QJ-1E
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 03:57:25 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I71QD-0008QJ-1E@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 07 Jul 2007 03:57:25 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/libbase ref_counted.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 03:57:27 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/07 03:57:25

Modified files:
	libbase        : ref_counted.h 

Log message:
	Ops, forgot the copy ctor

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/ref_counted.h?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ref_counted.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/ref_counted.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- ref_counted.h	7 Jul 2007 03:49:51 -0000	1.12
+++ ref_counted.h	7 Jul 2007 03:57:24 -0000	1.13
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: ref_counted.h,v 1.12 2007/07/07 03:49:51 strk Exp $ */
+/* $Id: ref_counted.h,v 1.13 2007/07/07 03:57:24 strk Exp $ */
 
 #ifndef GNASH_REF_COUNTED_H
 #define GNASH_REF_COUNTED_H
@@ -67,6 +67,12 @@
 	{
 	}
 
+	ref_counted(const ref_counted&)
+		:
+		m_ref_count(0)
+	{
+	}
+
 	void	add_ref() const
 	{
 		assert(m_ref_count >= 0);



From MAILER-DAEMON Sat Jul 07 07:21:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I78Lt-0001aI-Ah
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 07:21:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I78Lr-0001aD-Lw
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 07:21:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I78Lp-0001Zv-4g
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 07:21:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I78Lo-0001Zk-R6
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 07:21:20 -0400
Received: from ug-out-1314.google.com ([66.249.92.171])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I78Lo-0004xP-9K
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 07:21:20 -0400
Received: by ug-out-1314.google.com with SMTP id 34so1027440ugf
	for <gnash-commit@gnu.org>; Sat, 07 Jul 2007 04:21:19 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=Y74SsqcjChxOHOVN0yHaoXE6xduJnuj9mGU+2oqFtww4EkAJKK2wzN5Xn17yWWp4udOnBSn0aYmOvl6agJSFgMn0VXqpyDpyGBz7/rGbvxR9hUJTg4GxiYkhKpMQN0TnjOvkgrBw+3r+qBauHARvkon9E+pRuUO61fJ6xFx9DmA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=Jem9wrWFI0lRLzP1ZEEf3nVUHPos+JsY1DNS+IWri8BV3FEImGeeL3vCXupMPrDSFSxZ3FZ0Ca47+ykGx/+jUiQyxWpKbhw22qJmtqpQxXoqVSfQk0xmx2MvDNUIttS0tx82YMqb6ZAkpUr55ngz/4mv2xHQ6awIS51SODx55V0=
Received: by 10.78.97.7 with SMTP id u7mr734798hub.1183807279013;
	Sat, 07 Jul 2007 04:21:19 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Sat, 7 Jul 2007 04:21:18 -0700 (PDT)
Message-ID: <56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
Date: Sat, 7 Jul 2007 12:21:18 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Udo Giacomozzi" <udo.gnu@nova-sys.net>
Subject: Re: Re[2]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <1699140717.20070707012224@nova-sys.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<1699140717.20070707012224@nova-sys.net>
X-Google-Sender-Auth: 3b39118d5116f0af
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 11:21:23 -0000

2007/7/7, Udo Giacomozzi <udo.gnu@nova-sys.net>:
> MG>   In general I agree that tu_* should be dropped wherever possible,
>
> What's the problem with tu_timer? I interpreted it as a general Gnash
> tool for timing. Anyway, wouldn't it be best to have a dedicated .h
> just for timing purposes?

You are right, and that's what it is.
The problem is the tu_ which stands for Thatcher Ulrich. I guess there
should have been a smiley there.
Imagine if I went round writing functions called martin_this and
martin_that... how would that look?
It's a problem of egotism, which is generally a damaging thing in
programming since it tends to make people defend their territories
rather than concentrate on technical merits in a detached way.
There is egotism in the current battle of the timers too - look how no
one can bear to be seen to have made a mistake.

> The infinite loop design was taken to avoid calls to usleep() when the
> delay is 1.

if (delay > 1) usleep(delay); would have done that for you.

An infinite loop with breaks is not a design, it is a mess. If you
understand your problem before you try to code it, you can always find
an elegant and clear way to express the solution.

> usleep() just sleeps _at least_ the specified time (unless interrupted
> by a signal), which means the timing would be inaccurate in that case.

> usleep(1) does not really sleep a nanosecond. It just
> causes a task switch which on most architectures corresponds to a 10
> milliseconds sleep (100 HZ)

Thanks, I didn't know that. It turns out that 1000 usleep(1)'s take
7.4 seconds realtime here on a fast laptop in X with an open browser,
4 seconds on a idle machine with exactly the same OS. CPU idle time
was 98% total in both cases.
That's pretty unreliable.
I've seen clock interrupt vary from 18Hz (the MSDOS RTC interrupt) to
1000Hz (Linux with low latency set). I guess your own Linux kernel was
configured for 100Hz. Other OSs may do anything.

However I suspect I've missed the current purpose of timing in NullGui here.

I was assuming it was an attempt to get the timing code correct so as
to be able to use the same algorithm in the functional GUIs (at
present every one does timing in its own different way).
It seems instead that it's being used for brute-force execution
profiling of everything except rendering, by running the CPU at full
speed and seeing how many realtime FPS (or whatever) you gets while
little changes are made here and there.

A more accurate way is to perform a fixed-size task and use the "time"
command to see how much CPU it uses, as measured by the kernel.
You could then use an efficient and accurate timekeeping design and
your results will be valid for the non-null GUIs too.

Better yet if we used framedropping: run the SWF/AS code for every
frame but only rendered the graphics if the previous rendering has
completed - the same technique that mplayer uses to keep audio/video
in sync on slow CPUs. That would pretty much guarantee that movies run
in real time regardless of the CPU power or rendering speed you have
available.

Still. Whatever.

    M



From MAILER-DAEMON Sat Jul 07 08:02:51 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I78zz-0004tT-89
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 08:02:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I78zx-0004rr-5Q
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 08:02:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I78zw-0004rA-Cd
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 08:02:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I78zw-0004qr-4I
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 08:02:48 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I78zv-0007Nf-5o
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 08:02:47 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I78zu-0008Uk-D8
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 12:02:46 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I78zu-0008Uh-7p
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 12:02:46 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I78zu-0008Uh-7p@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sat, 07 Jul 2007 12:02:46 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash libbase/network.h server/shm.h server/shm...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 12:02:49 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/07 12:02:46

Modified files:
	libbase        : network.h 
	server         : shm.h shm.cpp 
	.              : ChangeLog 

Log message:
	        * libbase/network.h,server/shm.{h,cpp}: Remove last remnants of
	          ENABLE_TESTING ifdef

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/network.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/server/shm.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/server/shm.cpp?cvsroot=gnash&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3669&r2=1.3670

Patches:
Index: libbase/network.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/network.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- libbase/network.h	1 Jul 2007 10:54:09 -0000	1.18
+++ libbase/network.h	7 Jul 2007 12:02:45 -0000	1.19
@@ -37,10 +37,6 @@
 # include <io.h>
 #endif
 
-#ifdef ENABLE_TESTING 
-#include "impl.h"
-#endif
-
 #include <cassert>
 
 namespace gnash {

Index: server/shm.h
===================================================================
RCS file: /sources/gnash/gnash/server/shm.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- server/shm.h	1 Jul 2007 10:54:24 -0000	1.17
+++ server/shm.h	7 Jul 2007 12:02:45 -0000	1.18
@@ -177,12 +177,10 @@
     Shm obj;
 };
 
-//#ifdef ENABLE_TESTING 
 as_value shm_getname(const fn_call& fn);
 as_value shm_getsize(const fn_call& fn);
 as_value shm_getallocated(const fn_call& fn);
 as_value shm_exists(const fn_call& fn);
-//#endif
 
 } // end of gnash namespace
 

Index: server/shm.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/shm.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- server/shm.cpp	1 Jul 2007 10:54:24 -0000	1.32
+++ server/shm.cpp	7 Jul 2007 12:02:45 -0000	1.33
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: shm.cpp,v 1.32 2007/07/01 10:54:24 bjacques Exp $ */
+/* $Id: shm.cpp,v 1.33 2007/07/07 12:02:45 martinwguy Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -452,7 +452,6 @@
     return true;    
 }
 
-//#ifdef ENABLE_TESTING
 bool
 Shm::exists()
 {
@@ -523,7 +522,6 @@
     assert(ptr);
     return as_value(ptr->obj.exists());
 }
-//#endif
 
 } // end of gnash namespace
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3669
retrieving revision 1.3670
diff -u -b -r1.3669 -r1.3670
--- ChangeLog	7 Jul 2007 03:49:51 -0000	1.3669
+++ ChangeLog	7 Jul 2007 12:02:45 -0000	1.3670
@@ -1,3 +1,8 @@
+2007-07-07 Martin Guy <martinwguy@yahoo.it>
+
+	* libbase/network.h,server/shm.{h,cpp}: Remove last remnants of
+	  ENABLE_TESTING ifdef
+
 2007-07-06 Sandro Santilli <strk@keybit.net>
 
 	* libbase/ref_counted.h: use boost's atomic_count



From MAILER-DAEMON Sat Jul 07 08:56:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I79pd-0002DS-Hh
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 08:56:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I79pc-0002DB-04
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 08:56:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I79pb-0002Cr-6e
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 08:56:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I79pb-0002Co-0u
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 08:56:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I79pa-0003yF-Go
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 08:56:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I79pZ-0004tG-Np
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 12:56:09 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I79pZ-0004tD-I5
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 12:56:09 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I79pZ-0004tD-I5@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 07 Jul 2007 12:56:09 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/actionscript.all Video.as
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 12:56:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/07 12:56:09

Modified files:
	testsuite/actionscript.all: Video.as 

Log message:
	cleanup existing tests (we'd need much more)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Video.as?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: Video.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Video.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- Video.as	1 Jul 2007 10:54:41 -0000	1.9
+++ Video.as	7 Jul 2007 12:56:09 -0000	1.10
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Video.as,v 1.9 2007/07/01 10:54:41 bjacques Exp $";
+rcsid="$Id: Video.as,v 1.10 2007/07/07 12:56:09 strk Exp $";
 
 #include "check.as"
 
@@ -30,16 +30,18 @@
 
 #else
 
-check(Video);
+// test Video class an interface availability
+check_equals(typeof(Video), 'function');
+check_equals(typeof(Video.prototype), 'object');
+check_equals(typeof(Video.prototype.attachVideo), 'function');
+check_equals(typeof(Video.prototype.clear), 'function');
 
+// test Video instance
 var videoObj = new Video;
+check_equals (typeof(videoObj), 'object');
+check_equals (typeof(videoObj.attachVideo), 'function');
+check_equals (typeof(videoObj.clear), 'function');
 
-// test the Video constuctor
-check (videoObj != undefined);
-
-// test the Video::attachVideo method
-check (videoObj.attachVideo != undefined);
-// test the Video::clear method
-check (videoObj.clear != undefined);
+// TODO: test other properties !
 
 #endif



From MAILER-DAEMON Sat Jul 07 09:33:51 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7AQ3-0007wj-KM
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 09:33:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7AQ1-0007u0-3R
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 09:33:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7AQ0-0007t1-5n
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 09:33:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7AQ0-0007sy-1W
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 09:33:48 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I7APz-00076H-Ft
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 09:33:47 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l67DXbU4010296;
	Sat, 7 Jul 2007 15:33:43 +0200
Date: Sat, 7 Jul 2007 15:33:35 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <906333338.20070707153335@nova-sys.net>
To: "Martin Guy" <martinwguy@yahoo.it>
Subject: Re[4]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<1699140717.20070707012224@nova-sys.net>
	<56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 13:33:49 -0000

Hello Martin,

Saturday, July 7, 2007, 1:21:18 PM, you wrote:
MG> The problem is the tu_ which stands for Thatcher Ulrich. I guess there
MG> should have been a smiley there.

Come on, if that's the only problem, then just rename that
file/function..!?


MG> Imagine if I went round writing functions called martin_this and
MG> martin_that... how would that look?

If you invented some revolutionary, famous function then I would not
have any problem with a mg_whatever() function ;-)


MG> It's a problem of egotism, which is generally a damaging thing in
MG> programming since it tends to make people defend their territories
MG> rather than concentrate on technical merits in a detached way.

Honestly, I think you're actually making a problem out of it. The name
of the file/function is badly choosen. Ok, let's change that. However,
the code itself is fine and no reason to go for big libraries like
Boost. After all, we're just talking about simple timing functions...


MG> There is egotism in the current battle of the timers too - look how no
MG> one can bear to be seen to have made a mistake.

Indeed, who made a mistake? There are various ways to solve a problem
(techically speaking). I agree we should use a common code base for
timing purposes (tu_timer seemed to be that, for me). Anyway, I don't
recall any earlier discussion about timers..


if (delay >> 1) usleep(delay); would have done that for you.

MG> An infinite loop with breaks is not a design, it is a mess. If you
MG> understand your problem before you try to code it, you can always find
MG> an elegant and clear way to express the solution.

I was wrong in my previous post. The endless loop is used to avoid any
call to usleep() when the timer reports that we're already late
(regardless of _interval value). Well, yes, I could have coded this
with a do..while and an additional "if" but come on, it's just 5 lines
of code... don't we have other problems? You are always free to commit
a better version...


>> usleep(1) does not really sleep a nanosecond. It just
>> causes a task switch which on most architectures corresponds to a 10
>> milliseconds sleep (100 HZ)

MG> Thanks, I didn't know that. It turns out that 1000 usleep(1)'s take
MG> 7.4 seconds realtime here on a fast laptop in X with an open browser,
MG> 4 seconds on a idle machine with exactly the same OS. CPU idle time
MG> was 98% total in both cases.
MG> That's pretty unreliable.

usleep() is *not* a timing function. It's primary purpose is to tell
the system scheduler that the process is not going to do anything
within the next X nanoseconds. The scheduler then gives the next
process the running state.

When the scheduler is done with all "running" processes, it checks if
the usleep() time has finished and if so, gives the process some CPU
time (a "time slot").

AFAIK all normal i386 systems use a 100 Hz timer (there is a "HZ"
macro in the kernel) that drives the scheduler, ie. a process that's
never calling usleep(), select() or similar function will be
interrupted by the scheduler anyway when the 100 Hz timer fires, ie.
it's time slot ends.

In theory, when absolutely no process on your system want's to do
anything (ie. all are usleep()'ing) then usleep() might return
earlier.

In reality it's a bit more complex, but you get the idea..

MG> I've seen clock interrupt vary from 18Hz (the MSDOS RTC interrupt) to
MG> 1000Hz (Linux with low latency set). I guess your own Linux kernel was
MG> configured for 100Hz. Other OSs may do anything.

Correct. Anyway usleep(1) is a common way to cause a task switch that
won't return until all other processes with the same priority have got
their chance..

while (1) { }               // burns CPU
while (1) { usleep(1); }    // process will show 0.00% CPU usage


MG> However I suspect I've missed the current purpose of timing in
MG> NullGui here. 

The loop tries to do the most precise timing without causing needless
100% CPU usage.

Pre-1.11 versions did just wait _interval time between the end of one
frame and the start of the next one.

Example:
_interval = 40 ms (25 fps)
rendering needs 25 ms
results to a effective inter-frame time of 65 ms (15 fps).

Version 1.11 changed this so that _interval kept as long rendering
permits. Following changes were just about replacing the non-portable
gettimeofday() function.


MG> I was assuming it was an attempt to get the timing code correct so as
MG> to be able to use the same algorithm in the functional GUIs (at
MG> present every one does timing in its own different way).

Because there are different circumstances. The GTK GUI uses GTK timers
which should the most friendly way in a GUI-based world, which is
events-based.

The FB GUI uses the same method as the NullGui, except that it does
not use while(1) (hence causing a task-switch between frames in any
case) and it does not use tu_timer. I'd like to change the latter in
favour to some generic timing but one has to tell me where I can find
that. (I'd opt for tu_timer renamed to whatever name you prefer).

IMHO, the only use for NullGui is to do tests and to do performance
timining, that's why it should do correct timing. A real world GUI
(like FB) should not "freeze" the system just to play the movie at the
correct speed.

MG> It seems instead that it's being used for brute-force execution
MG> profiling of everything except rendering, by running the CPU at full
MG> speed and seeing how many realtime FPS (or whatever) you gets while
MG> little changes are made here and there.

Indeed.


MG> A more accurate way is to perform a fixed-size task and use the "time"
MG> command to see how much CPU it uses, as measured by the kernel.
MG> You could then use an efficient and accurate timekeeping design and
MG> your results will be valid for the non-null GUIs too.

Yes, you're right. However "time" just reports summed up results. The
new FPS printing code allows to analyze the movie while watching it.
Also, you would need some stop-after-X-frames option otherwise how
would you test endlessly looping benchmark tests?


MG> Better yet if we used framedropping: run the SWF/AS code for every
MG> frame but only rendered the graphics if the previous rendering has
MG> completed - the same technique that mplayer uses to keep audio/video
MG> in sync on slow CPUs. That would pretty much guarantee that movies run
MG> in real time regardless of the CPU power or rendering speed you have
MG> available.

That could be done, but would not match the PP behaviour which does
not do that. Any user would notice the difference, so I don't think
it's a good idea.

Udo




From MAILER-DAEMON Sat Jul 07 10:33:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7BLZ-0006Qx-Rh
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 10:33:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7BLX-0006Ql-W9
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 10:33:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7BLW-0006QR-AA
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 10:33:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7BLW-0006QO-3f
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 10:33:14 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I7BLV-00046v-DB
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 10:33:13 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l67EX9496865;
	Sat, 7 Jul 2007 16:33:09 +0200 (CEST) (envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Sat, 7 Jul 2007 16:33:09 +0200
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
Message-ID: <20070707143309.GA94402@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<1699140717.20070707012224@nova-sys.net>
	<56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
	<906333338.20070707153335@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <906333338.20070707153335@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 14:33:16 -0000

On Sat, Jul 07, 2007 at 03:33:35PM +0200, Udo Giacomozzi wrote:

> Honestly, I think you're actually making a problem out of it. The name
> of the file/function is badly choosen. Ok, let's change that. However,
> the code itself is fine and no reason to go for big libraries like
> Boost. After all, we're just talking about simple timing functions...

The problem with tu_ was initially knowledge. I tought it was best to 
use existing *standard* or de-facto standard classes rather then custom
ones, in particular to help a team of developers with a good documentation
and more peer-reviewd implementations of common algorithms.
I haven't seen the timer one, but that's a single function and I don't
have any big problem with it. If boost provides an equivalent function
"for free" (ie: not increasing deps) that's fine too for me.

Again: it's not the names, it's the lack of classes documentation, proper
copy constructors or assignment operators and so on... it's usually not-clean
code in general. And yes, I confirm we never discussed timers in particular
till now.

> usleep() is *not* a timing function. It's primary purpose is to tell
> the system scheduler that the process is not going to do anything
> within the next X nanoseconds. The scheduler then gives the next
> process the running state.

Could it be worth to use an inlined task_switch() call for clarity ?

> case) and it does not use tu_timer. I'd like to change the latter in
> favour to some generic timing but one has to tell me where I can find
> that. (I'd opt for tu_timer renamed to whatever name you prefer).

I think Markus is doing some research about ligher boost headers
for that.

--strk;



From MAILER-DAEMON Sat Jul 07 10:58:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7BkE-0004BT-KR
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 10:58:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7BkD-0004BN-3x
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 10:58:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7BkB-0004BB-NC
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 10:58:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7BkB-0004B8-IT
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 10:58:43 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7BkB-000224-2A
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 10:58:43 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7BkA-0006hW-Fl
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 14:58:42 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7BkA-0006hS-Aw
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 14:58:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7BkA-0006hS-Aw@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sat, 07 Jul 2007 14:58:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 14:58:45 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/07 14:58:42

Modified files:
	.              : configure.ac ChangeLog 

Log message:
	        * configure.ac: Remove bogus "Web server support disabled" report,
	          switched on nonexistent $http variable

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.351&r2=1.352
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3670&r2=1.3671

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.351
retrieving revision 1.352
diff -u -b -r1.351 -r1.352
--- configure.ac	6 Jul 2007 20:41:41 -0000	1.351
+++ configure.ac	7 Jul 2007 14:58:41 -0000	1.352
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.351 2007/07/06 20:41:41 martinwguy Exp $
+dnl $Id: configure.ac,v 1.352 2007/07/07 14:58:41 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1192,19 +1192,12 @@
   echo "        Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable."
 fi
 
-
 if test x"$pthreads" = x"yes"; then
   echo "        POSIX Threads support enabled (default)"
 else
   echo "        POSIX Thread support disabled."
 fi
 
-if test x"$http" = x"yes"; then
-  echo "        Web server support enabled"
-else
-  echo "        Web server support disabled (default)"
-fi
-
 if test x"$dmalloc" = x"yes"; then
   echo "        DMalloc support enabled"
   echo "        For a list of the command-line options enter: dmalloc --usage"

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3670
retrieving revision 1.3671
diff -u -b -r1.3670 -r1.3671
--- ChangeLog	7 Jul 2007 12:02:45 -0000	1.3670
+++ ChangeLog	7 Jul 2007 14:58:42 -0000	1.3671
@@ -2,6 +2,8 @@
 
 	* libbase/network.h,server/shm.{h,cpp}: Remove last remnants of
 	  ENABLE_TESTING ifdef
+	* configure.ac: Remove bogus "Web server support disabled" report,
+	  switched on nonexistent $http variable
 
 2007-07-06 Sandro Santilli <strk@keybit.net>
 



From MAILER-DAEMON Sat Jul 07 11:03:09 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7BoT-0005Di-6X
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 11:03:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7BoR-0005DE-Nv
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 11:03:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7BoR-0005CV-AA
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 11:03:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7BoR-0005CS-2e
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 11:03:07 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7BoQ-0003Ui-K8
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 11:03:06 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7BoQ-0006rc-6Y
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 15:03:06 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7BoQ-0006rZ-25
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 15:03:06 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7BoQ-0006rZ-25@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sat, 07 Jul 2007 15:03:06 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 15:03:07 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/07 15:03:06

Modified files:
	.              : configure.ac 

Log message:
	Remove weird cruft

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.352&r2=1.353

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.352
retrieving revision 1.353
diff -u -b -r1.352 -r1.353
--- configure.ac	7 Jul 2007 14:58:41 -0000	1.352
+++ configure.ac	7 Jul 2007 15:03:05 -0000	1.353
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.352 2007/07/07 14:58:41 martinwguy Exp $
+dnl $Id: configure.ac,v 1.353 2007/07/07 15:03:05 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1413,7 +1413,7 @@
   fi
 fi
 
-if test x"$gui" = x"gtk"; then #{
+if test x"$gui" = x"gtk"; then
 
   if test x"$GTK2_LIBS" != x; then
     if test x"$GTK2_CFLAGS" != x; then
@@ -1475,7 +1475,7 @@
 dnl    nogo=true
   fi
 
-fi #}
+fi
 
 if test "$media_handler" = "gst"; then
   if test x"$GSTREAMER_LIBS" != x; then



From MAILER-DAEMON Sat Jul 07 12:41:52 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7DM0-0004V3-1m
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 12:41:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7DLx-0004U1-Jl
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 12:41:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7DLw-0004Tp-3y
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 12:41:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7DLv-0004Tm-W4
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 12:41:48 -0400
Received: from ug-out-1314.google.com ([66.249.92.173])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I7DLv-00052o-JC
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 12:41:47 -0400
Received: by ug-out-1314.google.com with SMTP id 34so1068883ugf
	for <gnash-commit@gnu.org>; Sat, 07 Jul 2007 09:41:45 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=NxGrld6EmTGidfMWrCXeeOsFbmJNcYcGGLbXF/L9mV89jbnPUXFrdfi+3qXP9HAHp1bJ7rOAiGxk8MhouCKUodyD041X5giC2dXSNYK4JAnmKfcg8xgu14qHKpWe5MswA+SmCqcVT9Ia0jpLHuWquiRxrnWJqyeQImeisqvZcxo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=QA0vTDz7cIzIV63BMpCRvwvCDVZLeosYx5vf4ibQLOnPBVF1zCEJ/6tIAFjK6xKdnr2cJz+1I9iA7YJEeTzUYiu2WgmZyx6yZCDWBOHw4iUZGKysH+YXLJBTVGn/MQhI3ehgFLyS081KZjrKOf5xmrAXi88W5t2y288M8mm5/rI=
Received: by 10.78.160.4 with SMTP id i4mr838845hue.1183826504823;
	Sat, 07 Jul 2007 09:41:44 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Sat, 7 Jul 2007 09:41:44 -0700 (PDT)
Message-ID: <56d259a00707070941m6673778dj69f30acf9b5ab472@mail.gmail.com>
Date: Sat, 7 Jul 2007 17:41:44 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Udo Giacomozzi" <udo.gnu@nova-sys.net>
Subject: Re: Re[4]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <906333338.20070707153335@nova-sys.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<1699140717.20070707012224@nova-sys.net>
	<56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
	<906333338.20070707153335@nova-sys.net>
X-Google-Sender-Auth: 32446fd33a543b68
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 16:41:50 -0000

2007/7/7, Udo Giacomozzi <udo.gnu@nova-sys.net>:
> it's just 5 lines of code... don't we have other problems?

Of course. I was just having a rant because Gnash is full of awful
code and I hate to see more of it growing like fungus :). I
particularly liked the
switch (foo) {
  case 0x00: bar = 0; break;
  case 0x01: bar = 1; break;
...
for all possible values of foo :O/

> usleep() is *not* a timing function. It's primary purpose is to tell
> the system scheduler that the process is not going to do anything
> within the next X nanoseconds. The scheduler then gives the next
> process the running state.

You accurately describe how that effect is achieved on a certain
multitasking operating system, but that's not the same as the
function's meaning.

Check the POSIX definition e.g.
http://www.segmentationfault.org/man/man3p/usleep.3p.html

It suspends process execution for a certain amount of real time.
There's a paragraph near the end about "An implementation may impose a
granularity on the argument in which case the value shall be rounded
up" but you can't rely on all systems mis-implementing functions the
same way as the certain system or two you are familiar with. If you
work from definitions rather than by probing implementations, your
code is more likely to work everywhere.

> AFAIK all normal i386 systems use a 100 Hz timer

That used to be true in linux 2.2 but now in Linux it is a parameter
you set when you compile the kernel, and it suggests values of 100,
250 and 1000Hz where "normal" is now 250Hz for desktop systems (for
better mouse motion response I presume)

> In theory, when absolutely no process on your system wants to do
> anything (ie. all are usleep()'ing) then usleep() might return
> earlier.

Earlier than 1/100th of a second you mean?
Indeed it does. after 1/250th of a second with this kernel on this machine.
Compile
main()
{
        int i;
        for (i=1000; i>0; i--) usleep(1);
}
and run "time a.out". Unless you are running a 2.2 kernel I think you
will be surprised. I was!

However any OS would be free to return control after 1 usec if it wished.
The POSIX definition says usleep(0) is a no-op, whatever Linux and
WIndows may actually do!

> usleep(1) is a common way to cause a task switch that
> won't return until all other processes with the same priority have got
> their chance..

How about sched_yield() ? It's an optional POSIX feature that is meant
to do exactly what you describe, rather than doing that by chance on
certain non-conformant operating systems.

> while (1) { }               // burns CPU
> while (1) { usleep(1); }    // process will show 0.00% CPU usage

Yes, that does surprise me.

> Pre-1.11 versions did just wait _interval time between the end of one
> frame and the start of the next one.

SDL did worse. It used to SDL_pause(10) regardless of frame rate so
videos always ran at 100FPS minus renderer CPU-time :-/

I guess the developer in question only ran interactive games where the
actual frame rate doesn't really matter.
My test-pieces are mostly free-running animations where long-term
timing precision is crucial to staying in sync with the sound.

> MG> Better yet if we used framedropping
>
> That could be done, but would not match the PP behaviour

"PP"?

> Any user would notice the difference, so I don't think it's a good idea.

It's better than the visuals lagging behind the sound. Users notice
that far more!

   M



From MAILER-DAEMON Sat Jul 07 13:30:28 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7E72-0004cv-Ka
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 13:30:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7E71-0004c6-3L
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 13:30:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7E6z-0004Zt-DY
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 13:30:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7E6z-0004Zq-7f
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 13:30:25 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I7E6y-0001Gj-Js
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 13:30:24 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l67HUHU4001477;
	Sat, 7 Jul 2007 19:30:22 +0200
Date: Sat, 7 Jul 2007 19:30:14 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1414274062.20070707193014@nova-sys.net>
To: "Martin Guy" <martinwguy@yahoo.it>
Subject: Re[6]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <56d259a00707070941m6673778dj69f30acf9b5ab472@mail.gmail.com>
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<1699140717.20070707012224@nova-sys.net>
	<56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
	<906333338.20070707153335@nova-sys.net>
	<56d259a00707070941m6673778dj69f30acf9b5ab472@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 17:30:27 -0000

Hello Martin,

Saturday, July 7, 2007, 6:41:44 PM, you wrote:

MG> 2007/7/7, Udo Giacomozzi <udo.gnu@nova-sys.net>:
>> it's just 5 lines of code... don't we have other problems?
MG> Of course. I was just having a rant because Gnash is full of awful
MG> code and I hate to see more of it growing like fungus :).

I dislike endless loops too, but sometimes (when the loop is very
short) they can make the code more readable IMHO.

MG> I
MG> particularly liked the
MG> switch (foo) {
MG>   case 0x00: bar = 0; break;
MG>   case 0x01: bar = 1; break;
MG> ...
MG> for all possible values of foo :O/

This was real code?? :-O


MG> You accurately describe how that effect is achieved on a certain
MG> multitasking operating system, but that's not the same as the
MG> function's meaning.

Hmm, I referred to the description of the Linux kernel docs itself
(some documents about the scheduler internals, including 2.6
preemptive kernel).

But whatever, using usleep(1000) should be fine in any case.


>> AFAIK all normal i386 systems use a 100 Hz timer

MG> That used to be true in linux 2.2 but now in Linux it is a parameter
MG> you set when you compile the kernel, and it suggests values of 100,
MG> 250 and 1000Hz where "normal" is now 250Hz for desktop systems (for
MG> better mouse motion response I presume)

AFAIK in kernel 2.4 this was still a hard coded value, but I could be
wrong.


MG> How about sched_yield() ? It's an optional POSIX feature that is meant
MG> to do exactly what you describe, rather than doing that by chance on
MG> certain non-conformant operating systems.

Interesting function. Strange I've never seen it in any code. As long
it is widely available, it sounds good.


>> while (1) { }               // burns CPU
>> while (1) { usleep(1); }    // process will show 0.00% CPU usage
MG> Yes, that does surprise me.

You're not surprised anymore now, I hope? :)


>> That could be done, but would not match the PP behaviour
MG> "PP"?

Proprietary Player, ie. Adobe player


>> Any user would notice the difference, so I don't think it's a good idea.
MG> It's better than the visuals lagging behind the sound. Users notice
MG> that far more!

I'm sure PP is not skipping frames (except for Video maybe). When the
CPU is too slow to handle the rendering, then frame rate decreases
(just like it happens with Gnash).

Both methods have their dis/advantages.

However, I'm not sure what sounds problem you are talking about since
normally sounds samples are synched to frames...

Udo




From MAILER-DAEMON Sat Jul 07 16:27:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7GsA-0007h1-Pb
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 16:27:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7Gs9-0007gp-LF
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 16:27:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7Gs9-0007gX-42
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 16:27:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7Gs8-0007gU-Vr
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 16:27:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I7Gs8-0004T0-ON
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 16:27:16 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I7Gs6-0001ti-Od
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 20:27:14 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I7Gs6-0001td-H4
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 20:27:14 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7Gs6-0001td-H4@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 07 Jul 2007 20:27:14 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/ming_ut...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 20:27:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/07 20:27:14

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: ming_utils.h 

Log message:
	 Add symbol from ming src/movie.h as that header file is missing from the ming -dev package in some dists.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3671&r2=1.3672
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ming_utils.h?cvsroot=gnash&r1=1.21&r2=1.22

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3671
retrieving revision 1.3672
diff -u -b -r1.3671 -r1.3672
--- ChangeLog	7 Jul 2007 14:58:42 -0000	1.3671
+++ ChangeLog	7 Jul 2007 20:27:13 -0000	1.3672
@@ -1,3 +1,8 @@
+2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
+
+	* testsuite/misc-ming.all/ming_utils.h: Added defintion of
+	  SWFMove_wrteExports().
+
 2007-07-07 Martin Guy <martinwguy@yahoo.it>
 
 	* libbase/network.h,server/shm.{h,cpp}: Remove last remnants of

Index: testsuite/misc-ming.all/ming_utils.h
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ming_utils.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- testsuite/misc-ming.all/ming_utils.h	1 Jul 2007 10:54:58 -0000	1.21
+++ testsuite/misc-ming.all/ming_utils.h	7 Jul 2007 20:27:14 -0000	1.22
@@ -28,6 +28,12 @@
 #endif
 
 /*
+ * Add symbol from ming src/movie.h as that header file is missing
+ * from the ming -dev package.
+ */
+void SWFMovie_writeExports(SWFMovie movie);
+
+/*
  * This is to avoid the annoying warnings
  * coming from Ming when using the deprecated
  * compileSWFActionCode interface.



From MAILER-DAEMON Sat Jul 07 17:31:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7HsR-0003Mm-LP
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 17:31:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7HsP-0003Mg-N8
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 17:31:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7HsN-0003MU-Jt
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 17:31:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7HsN-0003MR-Ed
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 17:31:35 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I7HsL-0008F7-8g
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 17:31:34 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l67LVNX04501;
	Sat, 7 Jul 2007 23:31:23 +0200 (CEST) (envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Sat, 7 Jul 2007 23:31:23 +0200
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash configure.ac
Message-ID: <20070707213123.GA96905@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org
References: <E1I7BoQ-0006rZ-25@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I7BoQ-0006rZ-25@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 21:31:38 -0000

On Sat, Jul 07, 2007 at 03:03:06PM +0000, Martin Guy wrote:

> Log message:
> 	Remove weird cruft

...

> -if test x"$gui" = x"gtk"; then #{
> +if test x"$gui" = x"gtk"; then

...

> -fi #}
> +fi

The weird cruft I added to make reading simpler with vi,
which allows jumping between open and closed bracket with
a keystroke.

--strk;



From MAILER-DAEMON Sat Jul 07 17:32:38 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7HtN-0003g2-UA
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 17:32:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7HtM-0003fu-8S
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 17:32:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7HtK-0003do-HU
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 17:32:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7HtK-0003dd-BQ
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 17:32:34 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I7HtJ-0008PE-53
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 17:32:33 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l67LWQY04539;
	Sat, 7 Jul 2007 23:32:26 +0200 (CEST) (envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Sat, 7 Jul 2007 23:32:26 +0200
To: Markus Gothe <markus@unixrus.se>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/ming_ut...
Message-ID: <20070707213226.GB96905@keybit.net>
Mail-Followup-To: Markus Gothe <markus@unixrus.se>, gnash-commit@gnu.org
References: <E1I7Gs6-0001td-H4@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I7Gs6-0001td-H4@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jul 2007 21:32:36 -0000

On Sat, Jul 07, 2007 at 08:27:14PM +0000, Markus Gothe wrote:
> CVSROOT:	/sources/gnash
> Module name:	gnash
> Changes by:	Markus Gothe <nihilus>	07/07/07 20:27:14
> 
> Modified files:
> 	.              : ChangeLog 
> 	testsuite/misc-ming.all: ming_utils.h 
> 
> Log message:
> 	 Add symbol from ming src/movie.h as that header file is missing from the ming -dev package in some dists.

If the symbol is not in ming.h then we shouldn't use it.
Maybe that dist contains an older version of Ming ?

--strk;



From MAILER-DAEMON Sat Jul 07 22:48:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7MpD-0000SF-BJ
	for mharc-gnash-commit@gnu.org; Sat, 07 Jul 2007 22:48:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7MpB-0000Qz-0e
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 22:48:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7MpA-0000Po-7v
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 22:48:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7Mp9-0000Pk-VT
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 22:48:35 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7Mp9-0006Ud-Kd
	for gnash-commit@gnu.org; Sat, 07 Jul 2007 22:48:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7Mp8-0000jS-7t
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 02:48:34 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7Mp8-0000jP-3A
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 02:48:34 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7Mp8-0000jP-3A@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 08 Jul 2007 02:48:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 02:48:37 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/08 02:48:34

Modified files:
	.              : ChangeLog 

Log message:
	Added note about which bug was fixed by the atomic_count change

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3672&r2=1.3673

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3672
retrieving revision 1.3673
diff -u -b -r1.3672 -r1.3673
--- ChangeLog	7 Jul 2007 20:27:13 -0000	1.3672
+++ ChangeLog	8 Jul 2007 02:48:33 -0000	1.3673
@@ -14,6 +14,7 @@
 
 	* libbase/ref_counted.h: use boost's atomic_count
 	  for the reference counter. Should be safer.
+	  Fixed bug #20194.
 
 2007-07-06 Sandro Santilli <strk@keybit.net>
 



From MAILER-DAEMON Sun Jul 08 09:12:51 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7WZH-0000dw-KK
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 09:12:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7WZG-0000bn-64
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 09:12:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7WZE-0000YM-Ja
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 09:12:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7WZE-0000YJ-Di
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 09:12:48 -0400
Received: from ug-out-1314.google.com ([66.249.92.174])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I7WZD-0007yP-Mo
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 09:12:48 -0400
Received: by ug-out-1314.google.com with SMTP id 34so1179162ugf
	for <gnash-commit@gnu.org>; Sun, 08 Jul 2007 06:12:47 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=gUefoiK539E+8ePsBVHu2aM38FwuxzOn0KisPin0Bt1wbaifcLixiZtLl0hVdd1ImYPRVCZS2gbH2feM0X5x1Z1ihH0bSmD+HQ28Cz8ElYtG/qKR2gLV5kpCPnqiNlEavevjbqINI1GPR1HE7a6OkllWV2W+lk5f1PMuJswJvQU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=ipCwbdXaqhdt8G8n5Y5oJvVGlG2B7PX266uQfzY7HRRyOrsdH6u/L278FFWHXZk+V8my9/Wfs20f5Zyu4t6zVbe2TFR8zNgJSLFRA4ZcvHLyjPWMK3nqBl1sd1Ed4n3V3E0vxfOtUSXYJb3Kl0EEhi9FJfJQGRDG2/V2xSfyB+8=
Received: by 10.78.184.2 with SMTP id h2mr1069927huf.1183900366471;
	Sun, 08 Jul 2007 06:12:46 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Sun, 8 Jul 2007 06:12:46 -0700 (PDT)
Message-ID: <56d259a00707080612q2a906e5ax3eaa9ee6734b9eeb@mail.gmail.com>
Date: Sun, 8 Jul 2007 14:12:46 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Udo Giacomozzi" <udo.gnu@nova-sys.net>
Subject: Re: Re[6]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <1414274062.20070707193014@nova-sys.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<1699140717.20070707012224@nova-sys.net>
	<56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
	<906333338.20070707153335@nova-sys.net>
	<56d259a00707070941m6673778dj69f30acf9b5ab472@mail.gmail.com>
	<1414274062.20070707193014@nova-sys.net>
X-Google-Sender-Auth: 973ee959c3c540b9
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 13:12:50 -0000

2007/7/7, Udo Giacomozzi <udo.gnu@nova-sys.net>:

> I dislike endless loops too, but sometimes (when the loop is very
> short) they can make the code more readable IMHO.

In general loops should enter at the top and exit at the bottom
always. The only normal reason to break in the middle is when you need
to iterate N-and-a-half times: ABCDABCDABCDAB every time the loop
runs, as an alternative to duplicating the AB code either before or
after the loop.

NullGui.cpp now seems to have two nested loops: a while(1) inside a
while(true) with multiple breaks out of each. This stuff looks like
more like what one would write in assembler or BASIC!

Whether something is "readable" or not can only be judged by someone
else who is trying to read it. Of course it's "obvious" to the person
writing it at the time they write it. As a reader, I'm giving you
feedback right now that infinite loops with breaks in them are opaque
and worth replacing in your personal collection of programming idioms
with clearer ones.
If you try coding without ever using them for a while, it will seem a
little awkward to you at first but you will force yourself to learn a
richer set of idioms... unless you are writing a loop that really will
run forever, or until killed by an interrupt of course!

> MG> switch (foo) {
> MG>   case 0x00: bar = 0; break;
> MG>   case 0x01: bar = 1; break;
> MG> ...
>
> This was real code?? :-O

sever/asobjs/Global.cpp, removed 1 Feb 2007 (I can't get it right now
cos cvs.savannah is down :(
Actually it was switch(hexcode) {case 0x20: c=' '; break; for all
URL-encoded ASCII characters. Three pages of code replaced by one
assignment. Mind u, the whole function has gone now since there
someone else knew of a decode-URL-encoding function on the library,
replacing the whole function with a single line - even better!

> Hmm, I referred to the description of the Linux kernel docs itself
> (some documents about the scheduler internals, including 2.6
> preemptive kernel).
>
> But whatever, using usleep(1000) should be fine in any case.

It depends what you are trying to achieve. It's ok if you want to
suspend program execution for at least 1 millisecond (where "at least"
may mean "far more than"!)

The reference for function semantics is the POSIX standard, not the
scheduler internals of one (fairly hacky) implementation. If you learn
from studying one implementation, you end up with all sorts of
misconceptions about what function calls actually mean, based on what
the (maybe broken) implementation did on the box you learned on. But
your code will break whenever it is ported to a new environment.

> AFAIK in kernel 2.4 this was still a hard coded value, but I could be
> wrong.
I think so too, I wasn;t certain and couldn;t be bothered to fetch the
2.4 kernel, unpack it and check.

> >> while (1) { usleep(1); }    // process will show 0.00% CPU usage
> MG> Yes, that does surprise me
> You're not surprised anymore now, I hope? :)
Just shocked now, not surprised any more :)

> I'm sure PP is not skipping frames (except for Video maybe). When the
> CPU is too slow to handle the rendering, then frame rate decreases
> (just like it happens with Gnash).

Yes but the PP (ta!) is much much faster than Gnash, so it is much
more of a problem for us. Several bug reports are really about Gnash
being unable to keep up with real time.

> However, I'm not sure what sounds problem you are talking about since
> normally sounds samples are synched to frames...

Short sound effects maybe, but many cartoons/presentations have one
long MP3 soundtrack and rely on rendering running at the correct speed
to stay in sync.

Just an idea that would make it run all movies at full speed
immediately while we get round to speeding up the basic code. It would
make the minimum CPU requirement drop through the floor in one shot.

Does anything depend on every single frame actually being rendered to
the screen, or is it possible to perform two frames of object motion
and then render the changes?

    M



From MAILER-DAEMON Sun Jul 08 09:53:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7XCo-0007Ae-VA
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 09:53:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7XCn-0007AS-LQ
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 09:53:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7XCl-00077w-W0
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 09:53:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7XCl-00077X-RF
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 09:53:39 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7XCl-0007o9-GA
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 09:53:39 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7XCk-0002ZK-QK
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 13:53:38 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7XCk-0002ZH-LB
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 13:53:38 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7XCk-0002ZH-LB@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 13:53:38 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 13:53:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 13:53:38

Modified files:
	.              : configure.ac ChangeLog 

Log message:
	        * configure.ac: Say where to get gtkglext source

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.353&r2=1.354
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3673&r2=1.3674

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.353
retrieving revision 1.354
diff -u -b -r1.353 -r1.354
--- configure.ac	7 Jul 2007 15:03:05 -0000	1.353
+++ configure.ac	8 Jul 2007 13:53:37 -0000	1.354
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.353 2007/07/07 15:03:05 martinwguy Exp $
+dnl $Id: configure.ac,v 1.354 2007/07/08 13:53:37 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1403,7 +1403,7 @@
       if test x"$renderer" = x"opengl"; then
         echo "        ERROR: No GtkGLExt development package installed!"
 	echo "               It is needed to build the GTK/OpenGL GUI/renderer combination."
-	echo "               Either install it"
+	echo "               Either install it from http://gtkglext.sourceforge.net"
         echo "               or .deb users: apt-get install libgtkglext1-dev"
         echo "               or .rpm users: yum install gtkglext-devel"
         echo "               or --enable-gui=sdl or --enable-renderer=agg"

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3673
retrieving revision 1.3674
diff -u -b -r1.3673 -r1.3674
--- ChangeLog	8 Jul 2007 02:48:33 -0000	1.3673
+++ ChangeLog	8 Jul 2007 13:53:38 -0000	1.3674
@@ -1,4 +1,8 @@
-2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
+2007-07-08 Martin Guy <martinwguy@yahoo.it>
+
+	* configure.ac: Say where to get gtkglext source
+
+2007-07-07 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* testsuite/misc-ming.all/ming_utils.h: Added defintion of
 	  SWFMove_wrteExports().



From MAILER-DAEMON Sun Jul 08 11:06:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7YKy-0005VA-72
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 11:06:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7YKx-0005TZ-BM
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:06:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7YKw-0005TH-11
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:06:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7YKv-0005TE-SC
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:06:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7YKv-000337-G3
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:06:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7YKu-0006rT-TL
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:06:08 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7YKu-0006rQ-Ol
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:06:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7YKu-0006rQ-Ol@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 15:06:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/doc/C/usermanual/installation feature_con...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 15:06:11 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 15:06:08

Modified files:
	doc/C/usermanual/installation: feature_configuration.xml 

Log message:
	        * C/usermanual/installation/feature_configuration.xml:
	          Add missing <variablelist> </variablelist> round GUI choices item

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/usermanual/installation/feature_configuration.xml?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: feature_configuration.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/usermanual/installation/feature_configuration.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- feature_configuration.xml	7 Jun 2007 14:11:26 -0000	1.5
+++ feature_configuration.xml	8 Jul 2007 15:06:08 -0000	1.6
@@ -50,16 +50,6 @@
   </varlistentry>
 
   <varlistentry>
-    <term>--enable-dom</term>
-    <listitem>
-      <para>
-        When using the XML library, parse the messages using a
-        DOM based parser. This is the default.
-      </para>
-    </listitem>
-  </varlistentry>
-
-  <varlistentry>
     <term>--enable-embedded</term>
     <listitem>
       <para>
@@ -106,6 +96,7 @@
       <para>
         Select the Graphic User Interface to use (just one at a time please).
       </para>
+      <variablelist>
       <varlistentry>
         <term>GTK</term>
         <listitem>
@@ -146,6 +137,7 @@
     with the framebuffer GUI.
         </listitem>
       </varlistentry>
+      </variablelist>
     </listitem>
   </varlistentry>
 



From MAILER-DAEMON Sun Jul 08 11:08:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7YMt-0005fZ-CB
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 11:08:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7YMr-0005fR-PI
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:08:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7YMq-0005fF-9T
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:08:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7YMq-0005fC-7R
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:08:08 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7YMp-0003NK-TT
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:08:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7YMp-0006tk-98
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:08:07 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7YMp-0006th-4R
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:08:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7YMp-0006th-4R@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 15:08:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 15:08:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 15:08:07

Modified files:
	.              : ChangeLog 

Log message:
	... and remove configure --enable-dom documentation (it has gone)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3674&r2=1.3675

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3674
retrieving revision 1.3675
diff -u -b -r1.3674 -r1.3675
--- ChangeLog	8 Jul 2007 13:53:38 -0000	1.3674
+++ ChangeLog	8 Jul 2007 15:08:06 -0000	1.3675
@@ -1,6 +1,9 @@
 2007-07-08 Martin Guy <martinwguy@yahoo.it>
 
 	* configure.ac: Say where to get gtkglext source
+	* C/usermanual/installation/feature_configuration.xml:
+	  Add missing <variablelist> </variablelist> round GUI choices item
+	  and remove configure --enable-dom (it has gone)
 
 2007-07-07 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Sun Jul 08 11:12:54 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7YRS-0007FR-AT
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 11:12:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7YRQ-0007F5-HO
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:12:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7YRP-0007Ep-BQ
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:12:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7YRP-0007Ek-6U
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:12:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7YRO-0004BO-T7
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:12:51 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7YRO-0007aa-9v
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:12:50 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7YRO-0007aV-5G
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:12:50 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7YRO-0007aV-5G@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 15:12:50 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash doc/C/usermanual/installation/feature_con...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 15:12:53 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 15:12:50

Modified files:
	doc/C/usermanual/installation: feature_configuration.xml 
	.              : ChangeLog 

Log message:
	        * C/usermanual/installation/feature_configuration.xml:
	          Remove doc for configure --enable-xmlreader and --enable-testing
	          (they have gone too)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/usermanual/installation/feature_configuration.xml?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3675&r2=1.3676

Patches:
Index: doc/C/usermanual/installation/feature_configuration.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/usermanual/installation/feature_configuration.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- doc/C/usermanual/installation/feature_configuration.xml	8 Jul 2007 15:06:08 -0000	1.6
+++ doc/C/usermanual/installation/feature_configuration.xml	8 Jul 2007 15:12:49 -0000	1.7
@@ -271,23 +271,4 @@
     </listitem>
   </varlistentry>
 
-  <varlistentry>
-    <term>--enable-testing</term>
-    <listitem>
-      <para>
-        Enable testing-specific methods.
-      </para>
-    </listitem>
-  </varlistentry>
-
-  <varlistentry>
-    <term>--enable-xmlreader</term>
-    <listitem>
-      <para>
-        When using the XML library, parse the messages using a
-        SAX based parser.
-      </para>
-    </listitem>
-  </varlistentry>
-
 </variablelist>

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3675
retrieving revision 1.3676
diff -u -b -r1.3675 -r1.3676
--- ChangeLog	8 Jul 2007 15:08:06 -0000	1.3675
+++ ChangeLog	8 Jul 2007 15:12:49 -0000	1.3676
@@ -4,6 +4,8 @@
 	* C/usermanual/installation/feature_configuration.xml:
 	  Add missing <variablelist> </variablelist> round GUI choices item
 	  and remove configure --enable-dom (it has gone)
+	  Remove doc for configure --enable-xmlreader and --enable-testing
+	  (they have gone too)
 
 2007-07-07 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Sun Jul 08 11:30:21 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7YiL-0004fb-68
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 11:30:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7YiJ-0004fJ-IY
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:30:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7YiI-0004f1-5q
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:30:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7YiH-0004et-Ti
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:30:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7YiH-0006zo-KB
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:30:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7YiG-0000G4-RG
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:30:16 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7YiG-0000G1-Lx
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:30:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7YiG-0000G1-Lx@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 15:30:16 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/doc/C/usermanual/installation feature_con...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 15:30:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 15:30:16

Modified files:
	doc/C/usermanual/installation: feature_configuration.xml 

Log message:
	        * C/usermanual/installation/feature_configuration.xml:
	          Remove mention of old --enable-sound, fix default as --enable-plugin
	          and talk about MAD / GST-FFMPEG differences.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/usermanual/installation/feature_configuration.xml?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: feature_configuration.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/usermanual/installation/feature_configuration.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- feature_configuration.xml	8 Jul 2007 15:12:49 -0000	1.7
+++ feature_configuration.xml	8 Jul 2007 15:30:16 -0000	1.8
@@ -158,8 +158,8 @@
     <listitem>
       <para>
         Disable support for Konqueror plugin. If
-        <emphasis>--enable--plugin</emphasis> is  specified, and
-        support for building KDE programs is found, Klash is
+        <emphasis>--disable-plugin</emphasis> is not specified
+        and support for building KDE programs is found, Klash is
         built by default. This option limits the plugin to only
         the Mozilla/Firefox one.
       </para>
@@ -192,8 +192,9 @@
       <para>
         Select the specified media decoder and sound engine.
         FFMPEG and MAD use the SDL sound engine; GST uses its own.
-        Mixing this with --enable-sound=gst is invalid. Using
-        <emphasis>ffmpeg</emphasis> is the default decoder.
+	MAD only decodes MP3 sounds and uses integer arithmetic while
+	the others also decode video files and use floating point.
+        <emphasis>FFMPEG</emphasis> is the default decoder.
       </para>
       <para>
         You should only select one media decoder.
@@ -202,11 +203,11 @@
   </varlistentry>
 
   <varlistentry>
-    <term>--enable-plugin</term>
+    <term>--disable-plugin</term>
     <listitem>
       <para>
         Enable building the plugin. By default the
-        Mozilla Firefox plugin won't be built, even if all the required
+        Mozilla Firefox plugin is built if all the required
         files are found by configure. Configure
         <emphasis>--with-plugindir=</emphasis> to specify where the
         plugin should be installed. 



From MAILER-DAEMON Sun Jul 08 11:59:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7ZAZ-0005gd-5S
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 11:59:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7ZAY-0005gO-5M
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:59:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7ZAW-0005gC-LY
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:59:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7ZAW-0005g9-G6
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:59:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7ZAW-0002vQ-37
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 11:59:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7ZAV-0002Rd-E4
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:59:27 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7ZAV-0002Ra-9H
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 15:59:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7ZAV-0002Ra-9H@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 15:59:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 15:59:30 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 15:59:27

Modified files:
	.              : ChangeLog 

Log message:
	        * gui/gtk_glue_cairo.h: Drop unused variable compiler warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3676&r2=1.3677

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3676
retrieving revision 1.3677
diff -u -b -r1.3676 -r1.3677
--- ChangeLog	8 Jul 2007 15:12:49 -0000	1.3676
+++ ChangeLog	8 Jul 2007 15:59:26 -0000	1.3677
@@ -6,6 +6,9 @@
 	  and remove configure --enable-dom (it has gone)
 	  Remove doc for configure --enable-xmlreader and --enable-testing
 	  (they have gone too)
+	  Remove mention of old --enable-sound, fix default as --enable-plugin
+	  and talk about MAD / GST-FFMPEG differences.
+	* gui/gtk_glue_cairo.h: Drop unused variable compiler warnings
 
 2007-07-07 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Sun Jul 08 16:26:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7dLJ-0008SF-62
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 16:26:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7dLH-0008S3-FR
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:26:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7dLH-0008Rr-2q
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:26:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7dLG-0008Ro-Sq
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:26:50 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7dLG-0000Mr-Gw
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:26:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7dLF-0000aP-QP
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 20:26:49 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7dLF-0000aL-Mg
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 20:26:49 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7dLF-0000aL-Mg@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 20:26:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/sound_handler.h libbase...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 20:26:51 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 20:26:49

Modified files:
	.              : ChangeLog 
	backend        : sound_handler.h 
	libbase        : FLVParser.h 

Log message:
	        * backend/sound_handler.h libbase/FLVParser.h:
	          Document extra NELLYMOSER format code (mentioned in libavcodec/flv.h)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3677&r2=1.3678
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/FLVParser.h?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3677
retrieving revision 1.3678
diff -u -b -r1.3677 -r1.3678
--- ChangeLog	8 Jul 2007 15:59:26 -0000	1.3677
+++ ChangeLog	8 Jul 2007 20:26:48 -0000	1.3678
@@ -9,6 +9,8 @@
 	  Remove mention of old --enable-sound, fix default as --enable-plugin
 	  and talk about MAD / GST-FFMPEG differences.
 	* gui/gtk_glue_cairo.h: Drop unused variable compiler warnings
+	* backend/sound_handler.h libbase/FLVParser.h:
+	  Document extra NELLYMOSER format code (mentioned in libavcodec/flv.h)
 
 2007-07-07 Markus Gothe <nietzsche@lysator.liu.se>
 

Index: backend/sound_handler.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- backend/sound_handler.h	1 Jul 2007 10:53:48 -0000	1.17
+++ backend/sound_handler.h	8 Jul 2007 20:26:49 -0000	1.18
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: sound_handler.h,v 1.17 2007/07/01 10:53:48 bjacques Exp $ */
+/* $Id: sound_handler.h,v 1.18 2007/07/08 20:26:49 martinwguy Exp $ */
 
 /// \page sound_handler_intro Sound handler introduction
 ///
@@ -77,6 +77,7 @@
 		FORMAT_ADPCM = 1,	// decoded in the tag loader and passed through as NATIVE16
 		FORMAT_MP3 = 2,
 		FORMAT_UNCOMPRESSED = 3,// Little-endian 8- or 16-bit, should be passed through as FORMAT_NATIVE16
+		FORMAT_NELLYMOSER_8HZ_MONO = 5,	// According to ffmpeg
 		FORMAT_NELLYMOSER = 6,	// Mystery proprietary format; see nellymoser.com
 				
 		// gnash tries to convert data to this format when possible:

Index: libbase/FLVParser.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/FLVParser.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- libbase/FLVParser.h	1 Jul 2007 10:54:06 -0000	1.16
+++ libbase/FLVParser.h	8 Jul 2007 20:26:49 -0000	1.17
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-// $Id: FLVParser.h,v 1.16 2007/07/01 10:54:06 bjacques Exp $
+// $Id: FLVParser.h,v 1.17 2007/07/08 20:26:49 martinwguy Exp $
 
 // Information about the FLV format can be found at http://osflash.org/flv
 
@@ -45,6 +45,7 @@
 	AUDIO_CODEC_ADPCM = 1,	// gnash doesn't pass this through; it uncompresses and sends FORMAT_NATIVE16
 	AUDIO_CODEC_MP3 = 2,
 	AUDIO_CODEC_UNCOMPRESSED = 3,	// 16 bits/sample, little-endian
+	FORMAT_NELLYMOSER_8HZ_MONO = 5,	// According to ffmpeg
 	AUDIO_CODEC_NELLYMOSER = 6	// Mystery proprietary format; see nellymoser.com
 };
 



From MAILER-DAEMON Sun Jul 08 16:27:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7dM7-0000Dl-VE
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 16:27:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7dM5-0000D3-TK
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:27:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7dM5-0000Cm-I4
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:27:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7dM5-0000Cf-5X
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:27:41 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7dM4-0000Uh-Pp
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:27:40 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7dM4-0000bm-6E
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 20:27:40 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7dM4-0000bj-2x
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 20:27:40 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7dM4-0000bj-2x@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 20:27:40 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/libbase FLVParser.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 20:27:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 20:27:40

Modified files:
	libbase        : FLVParser.h 

Log message:
	Oops

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/FLVParser.h?cvsroot=gnash&r1=1.17&r2=1.18

Patches:
Index: FLVParser.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/FLVParser.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- FLVParser.h	8 Jul 2007 20:26:49 -0000	1.17
+++ FLVParser.h	8 Jul 2007 20:27:39 -0000	1.18
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-// $Id: FLVParser.h,v 1.17 2007/07/08 20:26:49 martinwguy Exp $
+// $Id: FLVParser.h,v 1.18 2007/07/08 20:27:39 martinwguy Exp $
 
 // Information about the FLV format can be found at http://osflash.org/flv
 
@@ -45,7 +45,7 @@
 	AUDIO_CODEC_ADPCM = 1,	// gnash doesn't pass this through; it uncompresses and sends FORMAT_NATIVE16
 	AUDIO_CODEC_MP3 = 2,
 	AUDIO_CODEC_UNCOMPRESSED = 3,	// 16 bits/sample, little-endian
-	FORMAT_NELLYMOSER_8HZ_MONO = 5,	// According to ffmpeg
+	AUDIO_CODEC_NELLYMOSER_8HZ_MONO = 5,	// According to ffmpeg
 	AUDIO_CODEC_NELLYMOSER = 6	// Mystery proprietary format; see nellymoser.com
 };
 



From MAILER-DAEMON Sun Jul 08 16:47:19 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7df5-0000Uj-GL
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 16:47:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7df3-0000PD-5a
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:47:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7df1-0000L7-Gr
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:47:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7df1-0000Kv-Dc
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:47:15 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7df1-0004Sf-0w
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:47:15 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7df0-0002fD-Fa
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 20:47:14 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7df0-0002fA-9a
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 20:47:14 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7df0-0002fA-9a@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 20:47:14 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash macros/ffmpeg.m4 ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 20:47:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 20:47:14

Modified files:
	macros         : ffmpeg.m4 
	.              : ChangeLog 

Log message:
	        * macros/ffmpeg.m4: Don't zero ffmpeg_version if too early; it is used
	          in the final error report and is always checked against "ok" to see
	          if there is an acceptable version.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/ffmpeg.m4?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3678&r2=1.3679

Patches:
Index: macros/ffmpeg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/ffmpeg.m4,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- macros/ffmpeg.m4	1 Jul 2007 10:54:11 -0000	1.46
+++ macros/ffmpeg.m4	8 Jul 2007 20:47:13 -0000	1.47
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: ffmpeg.m4,v 1.46 2007/07/01 10:54:11 bjacques Exp $
+dnl $Id: ffmpeg.m4,v 1.47 2007/07/08 20:47:13 martinwguy Exp $
 
 AC_DEFUN([GNASH_PATH_FFMPEG],
 [
@@ -107,7 +107,6 @@
   
     if test "$ffmpeg_num_version" -lt 51110; then
       AC_MSG_WARN([Wrong ffmpeg/libavcodec version! 51.11.0 or greater required])
-      ffmpeg_version=
     else
       ffmpeg_version=ok
     fi

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3678
retrieving revision 1.3679
diff -u -b -r1.3678 -r1.3679
--- ChangeLog	8 Jul 2007 20:26:48 -0000	1.3678
+++ ChangeLog	8 Jul 2007 20:47:13 -0000	1.3679
@@ -11,6 +11,9 @@
 	* gui/gtk_glue_cairo.h: Drop unused variable compiler warnings
 	* backend/sound_handler.h libbase/FLVParser.h:
 	  Document extra NELLYMOSER format code (mentioned in libavcodec/flv.h)
+	* macros/ffmpeg.m4: Don't zero ffmpeg_version if too early; it is used
+	  in the final error report and is always checked against "ok" to see
+	  if there is an acceptable version.
 
 2007-07-07 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Sun Jul 08 16:49:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7dhQ-0001ki-8A
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 16:49:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7dhO-0001gj-Ds
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:49:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7dhM-0001dZ-Se
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:49:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7dhM-0001dD-N1
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:49:40 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7dhM-0004vH-A1
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 16:49:40 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7dhL-0002lG-Mp
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 20:49:39 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7dhL-0002lC-Hi
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 20:49:39 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7dhL-0002lC-Hi@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Sun, 08 Jul 2007 20:49:39 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash macros/ffmpeg.m4 ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 08 Jul 2007 20:49:43 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/08 20:49:39

Modified files:
	macros         : ffmpeg.m4 
	.              : ChangeLog 

Log message:
	        * macros/ffmpeg.m4: Add commentary preparing for better version checking

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/ffmpeg.m4?cvsroot=gnash&r1=1.47&r2=1.48
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3679&r2=1.3680

Patches:
Index: macros/ffmpeg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/ffmpeg.m4,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- macros/ffmpeg.m4	8 Jul 2007 20:47:13 -0000	1.47
+++ macros/ffmpeg.m4	8 Jul 2007 20:49:38 -0000	1.48
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: ffmpeg.m4,v 1.47 2007/07/08 20:47:13 martinwguy Exp $
+dnl $Id: ffmpeg.m4,v 1.48 2007/07/08 20:49:38 martinwguy Exp $
 
 AC_DEFUN([GNASH_PATH_FFMPEG],
 [
@@ -79,7 +79,17 @@
       AC_DEFINE(HAVE_FFMPEG_AVCODEC_H, 1, [Define if you have avcodec.h installed.])
   fi
 
+dnl Find and check libavcodec version number to make sure we have a usable
+dnl version and to enable/disable features according to version.
 dnl We need LIBAVCODEC VERSION of at least 51.29.0 to get avcodec_decode_audio2
+
+dnl We try to get the avcodec version as a decimal number
+dnl so that we can compare it numerically against what we require.
+dnl
+dnl This previous version makes ffmpeg fail and then grubs the version string
+dnl out of the resulting usage message e.g. "  libavcodec version: 51.40.2"
+dnl Early versions of ffmpeg do not output this string at all.
+dnl
 dnl   AC_PATH_PROG(FFMPEG, ffmpeg, ,[${pathlist}])
 dnl   if test "x$FFMPEG" = "x" ; then
 dnl     ffmpeg_version=`$FFMPEG uglyhack 2>&1 | grep "libavcodec version" | cut -d ' ' -f 5 | tr -d '.'`
@@ -87,8 +97,48 @@
 dnl       AC_MSG_ERROR([])
 dnl     fi
 dnl   fi
+dnl
+dnl These days we check avcodec.h and pick the version out of the constants,
+dnl simply throwing away all non-digits.
+dnl
+dnl In earlier versions we have:
+dnl #define FFMPEG_VERSION_INT     0x000409
+dnl #define FFMPEG_VERSION         "0.4.9-pre1"
+dnl #define LIBAVCODEC_BUILD       4731
+dnl #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
+dnl #define LIBAVCODEC_VERSION     FFMPEG_VERSION
+dnl
+dnl elsewhere, FFMPEG_VERSION may also be the quoted string "CVS"
+dnl
+dnl This changed from the above to
+dnl #define LIBAVCODEC_VERSION_INT ((49<<16)+(0<<8)+0)
+dnl #define LIBAVCODEC_VERSION     49.0.0
+dnl #define LIBAVCODEC_BUILD       LIBAVCODEC_VERSION_INT
+dnl (note, LIBAVCODEC_VERSION also changes from a quoted string to unquoted)
+dnl see http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2005-July/000570.html
+dnl
+dnl Those deb-heads at Debian redefine LIBAVCODEC_VERSION in their versions to
+dnl (e.g.) 1d.51.38.0 or dnl 0d.51.11.0 - we need to discard the prefixed
+dnl rubbish.
+dnl
+dnl Other values or LIBAVCODEC_VERSION spotted in the wild:
+dnl 50.0.0  50.5.0  51.7.0  51.8.0  0d.51.8.0  51.40.4
+dnl presumably this will change to 52.0.0 at some point...
+dnl
+dnl We can ignore the very early versions because 51.10.0 is necessary to decode
+dnl Flash video at all. However the current solution will incorrectly succeed
+dnl on early debian/ubuntu 1d.* version numbers and incorrectly fail
+dnl when 52.0.0 happens.
+dnl
+dnl The most reliable way is to compile a test program to print the value of
+dnl LIBAVCODEC_BUILD, which got up to dnl 4718 at version 0.4.9-pre1,
+dnl then changed to (major<<16 + minor<<8 + micro) from then on.
+dnl There is code to do this in transcode's configure.in, but when
+dnl cross-compiling we cannot run a test program, which suggests that
+dnl a modified form of grepping may be better, making sure all old kinds of
+dnl version numbering fail gracefully.
 
-  # Check avcodec version number, if it was found
+# Check avcodec version number, if it was found
   if test x"${avcodec_h}" != x; then
 
     AC_MSG_CHECKING([for ffmpeg version])

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3679
retrieving revision 1.3680
diff -u -b -r1.3679 -r1.3680
--- ChangeLog	8 Jul 2007 20:47:13 -0000	1.3679
+++ ChangeLog	8 Jul 2007 20:49:39 -0000	1.3680
@@ -14,6 +14,7 @@
 	* macros/ffmpeg.m4: Don't zero ffmpeg_version if too early; it is used
 	  in the final error report and is always checked against "ok" to see
 	  if there is an acceptable version.
+	* macros/ffmpeg.m4: Add commentary preparing for better version checking
 
 2007-07-07 Markus Gothe <nietzsche@lysator.liu.se>
 



From MAILER-DAEMON Sun Jul 08 21:36:52 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7iBI-0003Pz-3C
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 21:36:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7iBG-0003Ps-QW
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:36:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7iBD-0003Pg-2e
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:36:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7iBC-0003Pd-T9
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:36:46 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I7iBC-00079X-5L
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:36:46 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l691aZa28587;
	Mon, 9 Jul 2007 03:36:35 +0200 (CEST) (envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Mon, 9 Jul 2007 03:36:35 +0200
To: gnash-commit@gnu.org
Subject: Re: Re[6]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
Message-ID: <20070709013635.GA8842@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<1699140717.20070707012224@nova-sys.net>
	<56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
	<906333338.20070707153335@nova-sys.net>
	<56d259a00707070941m6673778dj69f30acf9b5ab472@mail.gmail.com>
	<1414274062.20070707193014@nova-sys.net>
	<56d259a00707080612q2a906e5ax3eaa9ee6734b9eeb@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <56d259a00707080612q2a906e5ax3eaa9ee6734b9eeb@mail.gmail.com>
X-detected-kernel: FreeBSD 2.0-4.2
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 01:36:51 -0000

On Sun, Jul 08, 2007 at 02:12:46PM +0100, Martin Guy wrote:

> Does anything depend on every single frame actually being rendered to
> the screen, or is it possible to perform two frames of object motion
> and then render the changes?

I'm afraid invalidated bounds might have a problem with skipping multiple
frames, but I'm not really sure.
Trying it out should be simple. See gui/gui.cpp, it contains an hack in the form:

// Define this to N for only rendering 1/N frames
//#define RENDER_ONE_FRAME_EVERY 50

Check the relevant code and change the frame count with a time-based
heuristic instead. FPS should be known by the GUI.

--strk;



From MAILER-DAEMON Sun Jul 08 21:39:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7iDO-0003zj-CQ
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 21:39:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7iDM-0003ze-CB
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:39:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7iDL-0003zS-3l
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:38:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7iDL-0003zP-08
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:38:59 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7iDK-0007Wa-N4
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:38:58 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7iDK-00062N-5t
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:38:58 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7iDK-00062K-2I
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:38:58 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7iDK-00062K-2I@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 01:38:58 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog doc/C/usermanual/installation/f...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 01:39:01 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 01:38:57

Modified files:
	.              : ChangeLog 
	doc/C/usermanual/installation: feature_configuration.xml 

Log message:
	        * doc/C/usermanual/installation/feature_configuration.xml:
	          the debugger is now off by default, so document --enable-debugger
	          rather then --disable-debugger.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3680&r2=1.3681
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/usermanual/installation/feature_configuration.xml?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3680
retrieving revision 1.3681
diff -u -b -r1.3680 -r1.3681
--- ChangeLog	8 Jul 2007 20:49:39 -0000	1.3680
+++ ChangeLog	9 Jul 2007 01:38:57 -0000	1.3681
@@ -1,3 +1,9 @@
+2007-07-08 Sandro Santilli <strk@keybit.net>
+
+	* doc/C/usermanual/installation/feature_configuration.xml:
+	  the debugger is now off by default, so document --enable-debugger
+	  rather then --disable-debugger.
+
 2007-07-08 Martin Guy <martinwguy@yahoo.it>
 
 	* configure.ac: Say where to get gtkglext source

Index: doc/C/usermanual/installation/feature_configuration.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/usermanual/installation/feature_configuration.xml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- doc/C/usermanual/installation/feature_configuration.xml	8 Jul 2007 15:30:16 -0000	1.8
+++ doc/C/usermanual/installation/feature_configuration.xml	9 Jul 2007 01:38:57 -0000	1.9
@@ -31,10 +31,10 @@
 
 <variablelist>
   <varlistentry>
-    <term>--disable-debugger</term>
+    <term>--enable-debugger</term>
     <listitem>
       <para>
-        Disable support for the Flash debugger. The debugger is
+        Enable support for the Flash debugger. The debugger is
         mainly of interest to Flash developers.
       </para>
     </listitem>



From MAILER-DAEMON Sun Jul 08 21:42:14 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7iGU-0005Tl-2Q
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 21:42:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7iGS-0005Tg-Ae
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:42:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7iGR-0005TU-Ri
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:42:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7iGR-0005TR-O9
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:42:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7iGR-00084f-EL
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:42:11 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7iGQ-0006Yy-Vm
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:42:11 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7iGQ-0006Yt-SV
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:42:10 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7iGQ-0006Yt-SV@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 01:42:10 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog doc/C/usermanual/installation/f...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 01:42:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 01:42:10

Modified files:
	.              : ChangeLog 
	doc/C/usermanual/installation: feature_configuration.xml 

Log message:
	Document --enable-write and --enable-fps-debug.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3681&r2=1.3682
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/usermanual/installation/feature_configuration.xml?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3681
retrieving revision 1.3682
diff -u -b -r1.3681 -r1.3682
--- ChangeLog	9 Jul 2007 01:38:57 -0000	1.3681
+++ ChangeLog	9 Jul 2007 01:42:10 -0000	1.3682
@@ -2,7 +2,8 @@
 
 	* doc/C/usermanual/installation/feature_configuration.xml:
 	  the debugger is now off by default, so document --enable-debugger
-	  rather then --disable-debugger.
+	  rather then --disable-debugger; Document --enable-write and
+	  --enable-fps-debug.
 
 2007-07-08 Martin Guy <martinwguy@yahoo.it>
 

Index: doc/C/usermanual/installation/feature_configuration.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/usermanual/installation/feature_configuration.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- doc/C/usermanual/installation/feature_configuration.xml	9 Jul 2007 01:38:57 -0000	1.9
+++ doc/C/usermanual/installation/feature_configuration.xml	9 Jul 2007 01:42:10 -0000	1.10
@@ -272,4 +272,23 @@
     </listitem>
   </varlistentry>
 
+  <varlistentry>
+    <term>--enable-fps-debug</term>
+    <listitem>
+      <para>
+	Enable FPS debugging code. When this feature is compiled in you can use the -f switch of gnash
+	to have FPS printed at regular intervals.
+      </para>
+    </listitem>
+  </varlistentry>
+
+  <varlistentry>
+    <term>--enable-write</term>
+    <listitem>
+      <para>
+	Makes the Mozilla plugin write the currently playing SWF movie to /tmp.
+      </para>
+    </listitem>
+  </varlistentry>
+
 </variablelist>



From MAILER-DAEMON Sun Jul 08 21:59:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7iXT-00045f-9L
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 21:59:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7iXR-00045F-AD
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:59:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7iXQ-00044j-8f
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:59:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7iXQ-00044f-0Y
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:59:44 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7iXP-0002SE-LB
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 21:59:43 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7iXP-0007tu-4c
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:59:43 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7iXP-0007tr-0j
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:59:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7iXP-0007tr-0j@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 01:59:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/swf.h testsuite/actionsc...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 01:59:45 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 01:59:42

Modified files:
	.              : ChangeLog 
	server         : swf.h 
	testsuite/actionscript.all: Number.as 

Log message:
	        * server/swf.h: link to info about ActionNewAdd
	        * testsuite/actionscript.all/Number.as: Add a quick testcases
	          for using ActionNewAdd with a string and a number parameters
	          (see bug #20403).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3682&r2=1.3683
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf.h?cvsroot=gnash&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3682
retrieving revision 1.3683
diff -u -b -r1.3682 -r1.3683
--- ChangeLog	9 Jul 2007 01:42:10 -0000	1.3682
+++ ChangeLog	9 Jul 2007 01:59:42 -0000	1.3683
@@ -1,5 +1,12 @@
 2007-07-08 Sandro Santilli <strk@keybit.net>
 
+	* server/swf.h: link to info about ActionNewAdd
+	* testsuite/actionscript.all/Number.as: Add a quick testcases
+	  for using ActionNewAdd with a string and a number parameters
+	  (see bug #20403).
+
+2007-07-08 Sandro Santilli <strk@keybit.net>
+
 	* doc/C/usermanual/installation/feature_configuration.xml:
 	  the debugger is now off by default, so document --enable-debugger
 	  rather then --disable-debugger; Document --enable-write and

Index: server/swf.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- server/swf.h	1 Jul 2007 10:54:24 -0000	1.33
+++ server/swf.h	9 Jul 2007 01:59:42 -0000	1.34
@@ -291,7 +291,12 @@
     ///
     ACTION_ENUMERATE               = 0x46,
 
+    /// SWF5
+    ///
+    /// http://sswf.sourceforge.net/SWFalexref.html#action_add_typed
+    ///
     ACTION_NEWADD                  = 0x47,
+
     ACTION_NEWLESSTHAN             = 0x48,
 
     /// ECMA-262 "Abstract Equality Comparison"

Index: testsuite/actionscript.all/Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- testsuite/actionscript.all/Number.as	1 Jul 2007 10:54:40 -0000	1.20
+++ testsuite/actionscript.all/Number.as	9 Jul 2007 01:59:42 -0000	1.21
@@ -26,7 +26,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //	
 
-rcsid="$Id: Number.as,v 1.20 2007/07/01 10:54:40 bjacques Exp $";
+rcsid="$Id: Number.as,v 1.21 2007/07/09 01:59:42 strk Exp $";
 
 #include "check.as"
 
@@ -258,6 +258,9 @@
 note(null/2);
 note(2/null);
 
+// ActionNewAdd
+check_equals('0' + -1, '0-1');
+
 check_equals(typeof(Number.prototype.valueOf), 'function'); 
 check_equals(typeof(Number.prototype.toString), 'function'); 
 #if OUTPUT_VERSION > 5



From MAILER-DAEMON Sun Jul 08 22:01:51 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7iZT-0004sa-Sk
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 22:01:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7iZS-0004sQ-QR
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:01:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7iZR-0004sE-2i
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:01:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7iZQ-0004sB-Vt
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:01:49 -0400
Received: from wa-out-1112.google.com ([209.85.146.176])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I7iZQ-0002mw-ES
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:01:48 -0400
Received: by wa-out-1112.google.com with SMTP id k34so1128354wah
	for <gnash-commit@gnu.org>; Sun, 08 Jul 2007 19:01:47 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=lIWulwP4MQIyGA6ChzbXkLhUOi2AXZG+94v+YHDOHdc1YuZ/4FC96pxjpwaRqBbc+KVqfA2F6XAxysmb/TCiRLE45GpkjojJ2wH8n/IoIRKKiYCmyIWhsdo1fh67ITGh41ha6+L4lS/AqlaCJ2MpIkdYOWKbEiKkqNDz0ETFolI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=Jw/2ihsVU+069yAXwb0JV5cD+sMjPvzJ1iFLUJN5kLpHUmKZFTiWQGsN2vSMyltg6fT94/HkXWeT4O8Y+zP/SsFWLubS3wSwL5U9KzLu9spwUF+ggk8aK40t7ww4pYD359Yip2bkP+lIN0RU0cg/PzzPsMr9XDBmVY8b3E5rHmo=
Received: by 10.114.196.1 with SMTP id t1mr2667096waf.1183946507080;
	Sun, 08 Jul 2007 19:01:47 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Sun, 8 Jul 2007 19:01:47 -0700 (PDT)
Message-ID: <ca4b43ff0707081901l78d044aajefa295a9dd334d2a@mail.gmail.com>
Date: Mon, 9 Jul 2007 10:01:47 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Tomas Groth" <tomasgroth@yahoo.dk>, "Sandro Santilli" <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <148071.11232.qm@web34707.mail.mud.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <56d259a00707060653t2175bb11le7a36e5792db782@mail.gmail.com>
	<148071.11232.qm@web34707.mail.mud.yahoo.com>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org, Markus Gothe <nietzsche@lysator.liu.se>
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 02:01:51 -0000

>
> I don't understand why it's so important not to depend on boost_date_time. It

Might not be a big deal,  I just have no problems to compile tu_timer
related stuff, but I do have problems to work with boost_date_time.

>The problem with tu_ was initially knowledge. I tought it was best to
>use existing *standard* or de-facto standard classes rather then custom
>ones, in particular to help a team of developers with a good documentation
>and more peer-reviewd implementations of common algorithms.
>I haven't seen the timer one, but that's a single function and I don't
>have any big problem with it. If boost provides an equivalent function
>"for free" (ie: not increasing deps) that's fine too for me.

>Again: it's not the names, it's the lack of classes documentation, proper
>copy constructors or assignment operators and so on... it's usually not-clean
>code in general. And yes, I confirm we never discussed timers in particular
>till now.

I'd say tu_timer is clear and simple enough and with enough commentary
there.  "lack of classes documentation" is unfair this time:)

I just give my vote for tu_timer against boost_date_time, it makes my
programming easier at the moment.



From MAILER-DAEMON Sun Jul 08 22:12:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7ijT-0000Uq-R3
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 22:12:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7ijS-0000UU-4F
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:12:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7ijR-0000UI-He
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:12:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7ijR-0000UF-EB
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:12:09 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I7ijQ-0004Z1-QQ
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:12:09 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l692BsC29178;
	Mon, 9 Jul 2007 04:11:54 +0200 (CEST) (envelope-from strk@keybit.net)
Date: Mon, 9 Jul 2007 04:11:54 +0200
From: Sandro Santilli <strk@keybit.net>
To: zou lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
Message-ID: <20070709021154.GB8842@keybit.net>
Mail-Followup-To: zou lunkai <zoulunkai@gmail.com>,
	Tomas Groth <tomasgroth@yahoo.dk>, Martin Guy <martinwguy@yahoo.it>,
	Markus Gothe <nietzsche@lysator.liu.se>, gnash-commit@gnu.org
References: <56d259a00707060653t2175bb11le7a36e5792db782@mail.gmail.com>
	<148071.11232.qm@web34707.mail.mud.yahoo.com>
	<ca4b43ff0707081901l78d044aajefa295a9dd334d2a@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ca4b43ff0707081901l78d044aajefa295a9dd334d2a@mail.gmail.com>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org, Markus Gothe <nietzsche@lysator.liu.se>
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 02:12:10 -0000

On Mon, Jul 09, 2007 at 10:01:47AM +0800, zou lunkai wrote:

> I'd say tu_timer is clear and simple enough and with enough commentary
> there.  "lack of classes documentation" is unfair this time:)
> 
> I just give my vote for tu_timer against boost_date_time, it makes my
> programming easier at the moment.

Markus, please get tu_timer back till we found an agreement.
We'd better have developers focused on real tasks (and there are a lot) :)

--strk;



From MAILER-DAEMON Sun Jul 08 22:13:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7il1-0000iZ-NO
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 22:13:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7ikz-0000iG-Nc
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:13:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7ikz-0000i4-Ax
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:13:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7ikz-0000i1-4U
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:13:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7iky-0004rn-Ol
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 22:13:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7iky-0000fF-9i
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 02:13:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7iky-0000fC-5T
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 02:13:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7iky-0000fC-5T@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 02:13:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/Global.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 02:13:45 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 02:13:44

Modified files:
	.              : ChangeLog 
	server/asobj   : Global.h 

Log message:
	        * server/asobj/Global.h: include extension.h when needed.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3683&r2=1.3684
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Global.h?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3683
retrieving revision 1.3684
diff -u -b -r1.3683 -r1.3684
--- ChangeLog	9 Jul 2007 01:59:42 -0000	1.3683
+++ ChangeLog	9 Jul 2007 02:13:43 -0000	1.3684
@@ -1,5 +1,6 @@
 2007-07-08 Sandro Santilli <strk@keybit.net>
 
+	* server/asobj/Global.h: include extension.h when needed.
 	* server/swf.h: link to info about ActionNewAdd
 	* testsuite/actionscript.all/Number.as: Add a quick testcases
 	  for using ActionNewAdd with a string and a number parameters

Index: server/asobj/Global.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Global.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/asobj/Global.h	3 Jul 2007 16:56:19 -0000	1.6
+++ server/asobj/Global.h	9 Jul 2007 02:13:43 -0000	1.7
@@ -23,6 +23,10 @@
 
 #include "as_object.h" // for inheritance
 
+#ifdef USE_EXTENSIONS
+# include "extension.h" // for composition
+#endif
+
 // Forward declarations
 namespace gnash {
 	class VM;



From MAILER-DAEMON Sun Jul 08 23:30:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7jxh-0008D7-1q
	for mharc-gnash-commit@gnu.org; Sun, 08 Jul 2007 23:30:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7jxf-0008Cw-3h
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 23:30:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7jxc-0008CE-AT
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 23:30:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7jxc-0008CB-6C
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 23:30:52 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7jxb-0000qs-R8
	for gnash-commit@gnu.org; Sun, 08 Jul 2007 23:30:51 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7jxa-0005g8-Py
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:30:50 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7jxa-0005g5-Jm
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:30:50 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7jxa-0005g5-Jm@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 03:30:50 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_value.cpp server/as_v...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 03:30:55 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 03:30:50

Modified files:
	.              : ChangeLog 
	server         : as_value.cpp as_value.h 
	testsuite/actionscript.all: Number.as 

Log message:
	        * server/as_value.{cpp,h} (equals): don't always force string
	          comparison if the first argument is a string (matches ECMA spec,
	          fixes bug #20403).
	        * testsuite/actionscript.all/Number.as: add test for string:00 ==
	          number:0

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3684&r2=1.3685
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.55&r2=1.56
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.h?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.21&r2=1.22

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3684
retrieving revision 1.3685
diff -u -b -r1.3684 -r1.3685
--- ChangeLog	9 Jul 2007 02:13:43 -0000	1.3684
+++ ChangeLog	9 Jul 2007 03:30:49 -0000	1.3685
@@ -1,5 +1,13 @@
 2007-07-08 Sandro Santilli <strk@keybit.net>
 
+	* server/as_value.{cpp,h} (equals): don't always force string
+	  comparison if the first argument is a string (matches ECMA spec,
+	  fixes bug #20403).
+	* testsuite/actionscript.all/Number.as: add test for string:00 ==
+	  number:0
+
+2007-07-08 Sandro Santilli <strk@keybit.net>
+
 	* server/asobj/Global.h: include extension.h when needed.
 	* server/swf.h: link to info about ActionNewAdd
 	* testsuite/actionscript.all/Number.as: Add a quick testcases

Index: server/as_value.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- server/as_value.cpp	1 Jul 2007 10:54:20 -0000	1.55
+++ server/as_value.cpp	9 Jul 2007 03:30:50 -0000	1.56
@@ -658,10 +658,6 @@
     if ( obj_or_func && v_obj_or_func ) return m_object_value == v.m_object_value;
     if ( m_type == v.m_type ) return equalsSameType(v);
 
-    else if (m_type == STRING)
-    {
-	return m_string_value == v.to_string(env);
-    }
     else if (m_type == NUMBER && v.m_type == STRING)
     {
 	return equalsSameType(v.to_number(env)); // m_number_value == v.to_number(env);
@@ -672,6 +668,10 @@
 	return v.equalsSameType(to_number(env)); // m_number_value == v.to_number(env);
 	//return v.m_number_value == to_number(env);
     }
+    else if (m_type == STRING)
+    {
+	return m_string_value == v.to_string(env);
+    }
     else if (m_type == BOOLEAN)
     {
 	return m_boolean_value == v.to_bool();

Index: server/as_value.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- server/as_value.h	1 Jul 2007 10:54:20 -0000	1.56
+++ server/as_value.h	9 Jul 2007 03:30:50 -0000	1.57
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: as_value.h,v 1.56 2007/07/01 10:54:20 bjacques Exp $ */
+/* $Id: as_value.h,v 1.57 2007/07/09 03:30:50 strk Exp $ */
 
 #ifndef GNASH_AS_VALUE_H
 #define GNASH_AS_VALUE_H
@@ -521,6 +521,13 @@
 	//
 	/// See ECMA-262 abstract equality comparison (sect 11.9.3)
 	///
+	/// NOTE: these invariants should hold 
+	///
+	///	- A != B is equivalent to ! ( A == B )
+	///	- A == B is equivalent to B == A, except for order of
+	///	  evaluation of A and B.
+	///
+	///
 	/// @param env
 	///	The environment to use for running the toString() method
 	///	for object values. If NULL, toString() won't be run.

Index: testsuite/actionscript.all/Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- testsuite/actionscript.all/Number.as	9 Jul 2007 01:59:42 -0000	1.21
+++ testsuite/actionscript.all/Number.as	9 Jul 2007 03:30:50 -0000	1.22
@@ -26,7 +26,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //	
 
-rcsid="$Id: Number.as,v 1.21 2007/07/09 01:59:42 strk Exp $";
+rcsid="$Id: Number.as,v 1.22 2007/07/09 03:30:50 strk Exp $";
 
 #include "check.as"
 
@@ -90,7 +90,7 @@
 check_equals( typeof(NaN), 'number' );
 check_equals( typeof(isNaN), 'function' );
 check_equals( typeof(isNaN(NaN)), 'boolean' );
-check(NaN != NaN);
+check(NaN != NaN); // TODO: this seems a bogus check, the check should actually return false
 check( isNaN(NaN) );
 check_equals( typeof(isNaN(0/0)), 'boolean' );
 check( isNaN(0/0) );
@@ -261,6 +261,9 @@
 // ActionNewAdd
 check_equals('0' + -1, '0-1');
 
+// string:00 number:0 equality
+check_equals('00', 0);
+
 check_equals(typeof(Number.prototype.valueOf), 'function'); 
 check_equals(typeof(Number.prototype.toString), 'function'); 
 #if OUTPUT_VERSION > 5



From MAILER-DAEMON Mon Jul 09 01:24:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7ljG-0006PG-JP
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 01:24:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7ljE-0006P1-7Z
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:24:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7ljB-0006OC-Uc
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:24:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7ljB-0006O7-Pt
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:24:05 -0400
Received: from nz-out-0506.google.com ([64.233.162.224])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I7ljB-00022C-Am
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 01:24:05 -0400
Received: by nz-out-0506.google.com with SMTP id f1so508918nzc
	for <gnash-commit@gnu.org>; Sun, 08 Jul 2007 22:24:04 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=al8Gh0A+edKuwYBZcRiwF95ABjnOkkPnXSZbyhTUJQM1HoAvYKP6C0BPGPEpEB+S2tACMWUftDyCoaHvrk+Lof/nC2veIzpT1DyWdOwRBogbuX+qF7Am2+4BK/KnLSYrwMignfl0dVdWy9LYX+2SHfJx1+iSXajoHq4aZQD6ykQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=BGGt6F3jHkScKEQ9LUj4jIwpoLT9e27SSv65LL9sEN75cO9OQ3iCf9GlWgS/tRdz8Vff0u6FFi93YdVcTh313a1GFxpLDh9r5qrsJ4kkkUhWa7PLyr9G2W5w3quCq1kjK7hHeGeBWTCkTNwhs8jNu2j3bsqE7YiFf2HKjrOmric=
Received: by 10.115.14.1 with SMTP id r1mr2794657wai.1183958644174;
	Sun, 08 Jul 2007 22:24:04 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Sun, 8 Jul 2007 22:24:04 -0700 (PDT)
Message-ID: <ca4b43ff0707082224s67d8cc6y9edca75eed6cbe0f@mail.gmail.com>
Date: Mon, 9 Jul 2007 13:24:04 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Sandro Santilli" <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/as_value.cpp server/as_v...
In-Reply-To: <E1I7jxa-0005g5-Jm@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I7jxa-0005g5-Jm@cvs.savannah.gnu.org>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 05:24:08 -0000

>+check(NaN != NaN); // TODO: this seems a bogus check, the check
should actually return false

confirmed, should return false.

For swf>=5, The observed results here are:

trace(NaN == NaN);   //true
trace(NaN >= NaN);   //true
trace(NaN <= NaN);  //true
trace(NaN > NaN);    //undefined
trace(NaN < NaN);    //undefined
trace(NaN != NaN);   //false

Yes, I can add these to the testsuite. But I guess we might have
different "observed results" with different  PP.

On 7/9/07, Sandro Santilli <strk@keybit.net> wrote:
> CVSROOT:        /sources/gnash
> Module name:    gnash
> Changes by:     Sandro Santilli <strk>  07/07/09 03:30:50
>
> Modified files:
>         .              : ChangeLog
>         server         : as_value.cpp as_value.h
>         testsuite/actionscript.all: Number.as
>
> Log message:
>                 * server/as_value.{cpp,h} (equals): don't always force string
>                   comparison if the first argument is a string (matches ECMA spec,
>                   fixes bug #20403).
>                 * testsuite/actionscript.all/Number.as: add test for string:00 ==
>                   number:0
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3684&r2=1.3685
> http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.55&r2=1.56
> http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.h?cvsroot=gnash&r1=1.56&r2=1.57
> http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.21&r2=1.22
>
> Patches:
> Index: ChangeLog
> ===================================================================
> RCS file: /sources/gnash/gnash/ChangeLog,v
> retrieving revision 1.3684
> retrieving revision 1.3685
> diff -u -b -r1.3684 -r1.3685
> --- ChangeLog   9 Jul 2007 02:13:43 -0000       1.3684
> +++ ChangeLog   9 Jul 2007 03:30:49 -0000       1.3685
> @@ -1,5 +1,13 @@
>  2007-07-08 Sandro Santilli <strk@keybit.net>
>
> +       * server/as_value.{cpp,h} (equals): don't always force string
> +         comparison if the first argument is a string (matches ECMA spec,
> +         fixes bug #20403).
> +       * testsuite/actionscript.all/Number.as: add test for string:00 ==
> +         number:0
> +
> +2007-07-08 Sandro Santilli <strk@keybit.net>
> +
>         * server/asobj/Global.h: include extension.h when needed.
>         * server/swf.h: link to info about ActionNewAdd
>         * testsuite/actionscript.all/Number.as: Add a quick testcases
>
> Index: server/as_value.cpp
> ===================================================================
> RCS file: /sources/gnash/gnash/server/as_value.cpp,v
> retrieving revision 1.55
> retrieving revision 1.56
> diff -u -b -r1.55 -r1.56
> --- server/as_value.cpp 1 Jul 2007 10:54:20 -0000       1.55
> +++ server/as_value.cpp 9 Jul 2007 03:30:50 -0000       1.56
> @@ -658,10 +658,6 @@
>      if ( obj_or_func && v_obj_or_func ) return m_object_value == v.m_object_value;
>      if ( m_type == v.m_type ) return equalsSameType(v);
>
> -    else if (m_type == STRING)
> -    {
> -       return m_string_value == v.to_string(env);
> -    }
>      else if (m_type == NUMBER && v.m_type == STRING)
>      {
>         return equalsSameType(v.to_number(env)); // m_number_value == v.to_number(env);
> @@ -672,6 +668,10 @@
>         return v.equalsSameType(to_number(env)); // m_number_value == v.to_number(env);
>         //return v.m_number_value == to_number(env);
>      }
> +    else if (m_type == STRING)
> +    {
> +       return m_string_value == v.to_string(env);
> +    }
>      else if (m_type == BOOLEAN)
>      {
>         return m_boolean_value == v.to_bool();
>
> Index: server/as_value.h
> ===================================================================
> RCS file: /sources/gnash/gnash/server/as_value.h,v
> retrieving revision 1.56
> retrieving revision 1.57
> diff -u -b -r1.56 -r1.57
> --- server/as_value.h   1 Jul 2007 10:54:20 -0000       1.56
> +++ server/as_value.h   9 Jul 2007 03:30:50 -0000       1.57
> @@ -15,7 +15,7 @@
>  // along with this program; if not, write to the Free Software
>  // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
>
> -/* $Id: as_value.h,v 1.56 2007/07/01 10:54:20 bjacques Exp $ */
> +/* $Id: as_value.h,v 1.57 2007/07/09 03:30:50 strk Exp $ */
>
>  #ifndef GNASH_AS_VALUE_H
>  #define GNASH_AS_VALUE_H
> @@ -521,6 +521,13 @@
>         //
>         /// See ECMA-262 abstract equality comparison (sect 11.9.3)
>         ///
> +       /// NOTE: these invariants should hold
> +       ///
> +       ///     - A != B is equivalent to ! ( A == B )
> +       ///     - A == B is equivalent to B == A, except for order of
> +       ///       evaluation of A and B.
> +       ///
> +       ///
>         /// @param env
>         ///     The environment to use for running the toString() method
>         ///     for object values. If NULL, toString() won't be run.
>
> Index: testsuite/actionscript.all/Number.as
> ===================================================================
> RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
> retrieving revision 1.21
> retrieving revision 1.22
> diff -u -b -r1.21 -r1.22
> --- testsuite/actionscript.all/Number.as        9 Jul 2007 01:59:42 -0000       1.21
> +++ testsuite/actionscript.all/Number.as        9 Jul 2007 03:30:50 -0000       1.22
> @@ -26,7 +26,7 @@
>  // TODO: test with SWF target != 6 (the only one tested so far)
>  //
>
> -rcsid="$Id: Number.as,v 1.21 2007/07/09 01:59:42 strk Exp $";
> +rcsid="$Id: Number.as,v 1.22 2007/07/09 03:30:50 strk Exp $";
>
>  #include "check.as"
>
> @@ -90,7 +90,7 @@
>  check_equals( typeof(NaN), 'number' );
>  check_equals( typeof(isNaN), 'function' );
>  check_equals( typeof(isNaN(NaN)), 'boolean' );
> -check(NaN != NaN);
> +check(NaN != NaN); // TODO: this seems a bogus check, the check should actually return false
>  check( isNaN(NaN) );
>  check_equals( typeof(isNaN(0/0)), 'boolean' );
>  check( isNaN(0/0) );
> @@ -261,6 +261,9 @@
>  // ActionNewAdd
>  check_equals('0' + -1, '0-1');
>
> +// string:00 number:0 equality
> +check_equals('00', 0);
> +
>  check_equals(typeof(Number.prototype.valueOf), 'function');
>  check_equals(typeof(Number.prototype.toString), 'function');
>  #if OUTPUT_VERSION > 5
>
>
> _______________________________________________
> Gnash-commit mailing list
> Gnash-commit@gnu.org
> http://lists.gnu.org/mailman/listinfo/gnash-commit
>



From MAILER-DAEMON Mon Jul 09 03:26:52 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7ne0-0006AG-1X
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 03:26:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7ndw-00065I-Gg
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:26:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7ndv-00062o-7B
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:26:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7ndu-00062T-HR
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:26:46 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7ndu-0004W8-7g
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:26:46 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7ndt-0003nK-4G
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:26:45 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7ndt-0003nH-0G
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:26:45 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7ndt-0003nH-0G@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Mon, 09 Jul 2007 07:26:45 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash gui/gtk_glue_cairo.h ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 07:26:49 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/09 07:26:44

Modified files:
	gui            : gtk_glue_cairo.h 
	.              : ChangeLog 

Log message:
	        * gui/gtk_cairo.h: FIx compiler warning about unused params

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_cairo.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3685&r2=1.3686

Patches:
Index: gui/gtk_glue_cairo.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_cairo.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- gui/gtk_glue_cairo.h	1 Jul 2007 10:54:02 -0000	1.11
+++ gui/gtk_glue_cairo.h	9 Jul 2007 07:26:44 -0000	1.12
@@ -38,7 +38,9 @@
     void prepDrawingArea(GtkWidget *drawing_area);
     render_handler* createRenderHandler();
     void render();
-    void render(int minx, int miny, int maxx, int maxy) { render(); };
+    void render(int /*minx*/, int /*miny*/, int /*maxx*/, int /*maxy*/) {
+	render();
+    };
     void configure(GtkWidget *const widget, GdkEventConfigure *const event);
   private:
     cairo_t     *_cairo_handle;

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3685
retrieving revision 1.3686
diff -u -b -r1.3685 -r1.3686
--- ChangeLog	9 Jul 2007 03:30:49 -0000	1.3685
+++ ChangeLog	9 Jul 2007 07:26:44 -0000	1.3686
@@ -1,3 +1,7 @@
+2007-07-09 Martin Guy <martinwguy@yahoo.it>
+
+	* gui/gtk_cairo.h: FIx compiler warning about unused params
+
 2007-07-08 Sandro Santilli <strk@keybit.net>
 
 	* server/as_value.{cpp,h} (equals): don't always force string



From MAILER-DAEMON Mon Jul 09 03:31:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7niD-0000cR-FS
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 03:31:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7niB-0000cG-QS
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:31:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7niB-0000c4-EP
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:31:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7niB-0000c1-9E
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:31:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I7niA-0005As-Me
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 03:31:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I7ni5-0003sE-PK
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:31:05 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I7ni5-0003sB-IU
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:31:05 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7ni5-0003sB-IU@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Mon, 09 Jul 2007 07:31:05 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash libbase/curl_adapter.cpp ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 07:31:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/09 07:31:05

Modified files:
	libbase        : curl_adapter.cpp 
	.              : ChangeLog 

Log message:
	        * libbase/curl_adapter.cpp: Workarounds for older versions of curl

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/curl_adapter.cpp?cvsroot=gnash&r1=1.37&r2=1.38
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3686&r2=1.3687

Patches:
Index: libbase/curl_adapter.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/curl_adapter.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- libbase/curl_adapter.cpp	1 Jul 2007 10:54:07 -0000	1.37
+++ libbase/curl_adapter.cpp	9 Jul 2007 07:31:05 -0000	1.38
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: curl_adapter.cpp,v 1.37 2007/07/01 10:54:07 bjacques Exp $ */
+/* $Id: curl_adapter.cpp,v 1.38 2007/07/09 07:31:05 martinwguy Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -75,6 +75,36 @@
 
 #include <curl/curl.h>
 
+// Adapt to older versions of libcurl.
+//
+// In 7.10.7 and before, CURLINFO_RESPONSE_CODE was called CURLINFO_HTTP_CODE
+//
+#if LIBCURL_VERSION_NUM <= 0x070a07
+# define CURLINFO_RESPONSE_CODE CURLINFO_HTTP_CODE
+#endif
+//
+// curl_multi_strerror() and curl_easy_strerror() came in at 7.12.0
+// Just print the number and tell the user how to decode it.
+//
+#if LIBCURL_VERSION_NUM < 0x070c00
+static char curl_strerror_buf[64];
+static const char *
+curl_easy_strerror(int code)
+{
+	sprintf(curl_strerror_buf,
+		"CurlE error code %d (man libcurl-errors)", code);
+	return curl_strerror_buf;
+}
+
+static const char *
+curl_multi_strerror(int code)
+{
+	sprintf(curl_strerror_buf,
+		"CurlM error code %d (man libcurl-errors)", code);
+	return curl_strerror_buf;
+}
+#endif
+
 namespace curl_adapter
 {
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3686
retrieving revision 1.3687
diff -u -b -r1.3686 -r1.3687
--- ChangeLog	9 Jul 2007 07:26:44 -0000	1.3686
+++ ChangeLog	9 Jul 2007 07:31:05 -0000	1.3687
@@ -1,6 +1,7 @@
 2007-07-09 Martin Guy <martinwguy@yahoo.it>
 
 	* gui/gtk_cairo.h: FIx compiler warning about unused params
+	* libbase/curl_adapter.cpp: Workarounds for older versions of curl
 
 2007-07-08 Sandro Santilli <strk@keybit.net>
 



From MAILER-DAEMON Mon Jul 09 04:05:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7oFd-0007Ci-Tm
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 04:05:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7oFc-0007Bz-65
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 04:05:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7oFa-0007BF-Uk
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 04:05:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7oFa-0007B9-Ms
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 04:05:42 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I7oFZ-00027q-Nn
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 04:05:42 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6985aU4009939;
	Mon, 9 Jul 2007 10:05:38 +0200
Date: Mon, 9 Jul 2007 10:05:31 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1755983340.20070709100531@nova-sys.net>
To: "Martin Guy" <martinwguy@yahoo.it>
Subject: Re[8]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <56d259a00707080612q2a906e5ax3eaa9ee6734b9eeb@mail.gmail.com>
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<1699140717.20070707012224@nova-sys.net>
	<56d259a00707070421j4fa25ce9uc700c640153cdd44@mail.gmail.com>
	<906333338.20070707153335@nova-sys.net>
	<56d259a00707070941m6673778dj69f30acf9b5ab472@mail.gmail.com>
	<1414274062.20070707193014@nova-sys.net>
	<56d259a00707080612q2a906e5ax3eaa9ee6734b9eeb@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 08:05:44 -0000

Hello Martin,

Sunday, July 8, 2007, 3:12:46 PM, you wrote:

MG> 2007/7/7, Udo Giacomozzi <udo.gnu@nova-sys.net>:

>> I dislike endless loops too, but sometimes (when the loop is very
>> short) they can make the code more readable IMHO.

MG> In general loops should enter at the top and exit at the bottom
MG> always. The only normal reason to break in the middle is when you need
MG> to iterate N-and-a-half times: ABCDABCDABCDAB every time the loop
MG> runs, as an alternative to duplicating the AB code either before or
MG> after the loop.

That's the case! :) The duplicated code would have been the timer
call, but let's stop this discussion...


>> But whatever, using usleep(1000) should be fine in any case.

MG> It depends what you are trying to achieve. It's ok if you want to
MG> suspend program execution for at least 1 millisecond (where "at least"
MG> may mean "far more than"!)

What I wanted was: allow a task switch, but don't exceed 1000 HZ on
systems that would be able to.


MG> The reference for function semantics is the POSIX standard,

There's
  man <function>
too...

[skipping frames]
MG> Yes but the PP (ta!) is much much faster than Gnash, so it is much
MG> more of a problem for us. Several bug reports are really about Gnash
MG> being unable to keep up with real time.

The *performance* of a player is not a criteria. Running that same
movie with PP on a slow machine will show the same problem. PP would
not skip frames in that case, so we won't either. We can't fix a
"problem" making another one..

The reference for playback behavior is the proprietary player, not the
effects of one (fairly heavy) movie ;)

I'm totally against skipping frames, as this would introduce many
problems.


>> However, I'm not sure what sounds problem you are talking about since
>> normally sounds samples are synched to frames...

MG> Short sound effects maybe, but many cartoons/presentations have one
MG> long MP3 soundtrack and rely on rendering running at the correct speed
MG> to stay in sync.

That's absolutely not a Gnash bug, it's just a badly designed movie.
The only fix for it can be: make Gnash perform better.


MG> Just an idea that would make it run all movies at full speed
MG> immediately while we get round to speeding up the basic code. It would
MG> make the minimum CPU requirement drop through the floor in one shot.

MG> Does anything depend on every single frame actually being rendered to
MG> the screen, or is it possible to perform two frames of object motion
MG> and then render the changes?

You mean technically? Should be feasible, but a bad idea anyway. It
may fix problems with one kind of movies, but introduce problems with
other kinds of movies.

Examples are movies that consciously use a exaggerated frame rate.
Also, animations in movies would not be smooth anymore. Think of a
movieclip that moves (or morphs) on the stage at a constant distance
per frame. When the renderer is slightly behind the nominal fps, you
wouldn't even notice it. When skipping frames, however, you would see
that the movieclip occasionally makes a jump.

BTW, I wonder if current Gnash version is still too slow to handle
these kind of presentations on modern CPUs...

Udo




From MAILER-DAEMON Mon Jul 09 07:15:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7rDI-00042i-H1
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 07:15:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7rDG-00041n-Lr
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:15:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7rDF-00040t-VT
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:15:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7rDF-00040l-SN
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:15:29 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I7rDF-0000te-5Y
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:15:29 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l69BFOv36882;
	Mon, 9 Jul 2007 13:15:24 +0200 (CEST) (envelope-from strk@keybit.net)
Date: Mon, 9 Jul 2007 13:15:23 +0200
From: Sandro Santilli <strk@keybit.net>
To: zou lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog server/as_value.cpp server/as_v...
Message-ID: <20070709111523.GA30214@keybit.net>
Mail-Followup-To: zou lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1I7jxa-0005g5-Jm@cvs.savannah.gnu.org>
	<ca4b43ff0707082224s67d8cc6y9edca75eed6cbe0f@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ca4b43ff0707082224s67d8cc6y9edca75eed6cbe0f@mail.gmail.com>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 11:15:30 -0000

On Mon, Jul 09, 2007 at 01:24:04PM +0800, zou lunkai wrote:
> >+check(NaN != NaN); // TODO: this seems a bogus check, the check
> should actually return false
> 
> confirmed, should return false.
> 
> For swf>=5, The observed results here are:
> 
> trace(NaN == NaN);   //true
> trace(NaN >= NaN);   //true
> trace(NaN <= NaN);  //true
> trace(NaN > NaN);    //undefined
> trace(NaN < NaN);    //undefined
> trace(NaN != NaN);   //false
> 
> Yes, I can add these to the testsuite. But I guess we might have
> different "observed results" with different  PP.

We might use a PP_COMPATIBILITY define or just take the results
closest to the ECMA 262 and document the differences in player
in Gnash manual page.

I like the latter more.
NaN == NaN and NaN != NaN might need to both return false,
but ECMA 262 says that A != B should be equivalent to ! (A == B)
which would be contracdictory in this case.

--strk;




From MAILER-DAEMON Mon Jul 09 07:44:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7rfP-0000dE-Sd
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 07:44:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7rfO-0000ce-KV
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:44:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7rfN-0000cG-N4
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:44:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7rfN-0000cB-J3
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:44:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7rfN-0006ip-5M
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 07:44:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7rfM-0005rq-72
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 11:44:32 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7rfM-0005rk-1k
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 11:44:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7rfM-0005rk-1k@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 11:44:32 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/actionscript.all Number.as
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 11:44:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 11:44:32

Modified files:
	testsuite/actionscript.all: Number.as 

Log message:
	add small test for subtraction operator

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.22&r2=1.23

Patches:
Index: Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- Number.as	9 Jul 2007 03:30:50 -0000	1.22
+++ Number.as	9 Jul 2007 11:44:31 -0000	1.23
@@ -26,7 +26,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //	
 
-rcsid="$Id: Number.as,v 1.22 2007/07/09 03:30:50 strk Exp $";
+rcsid="$Id: Number.as,v 1.23 2007/07/09 11:44:31 strk Exp $";
 
 #include "check.as"
 
@@ -380,3 +380,13 @@
 
 #endif // defined(MING_SUPPORTS_ASM)
 
+//-----------------------------------------------------------
+// Check subtraction operator TODO: create an ops.as file 
+// for testing operators in general ?
+//-----------------------------------------------------------
+
+#if OUTPUT_VERSION > 6
+check( isNaN(450 - undefined) );
+#else
+check_equals(450 - undefined, 450);
+#endif



From MAILER-DAEMON Mon Jul 09 08:05:33 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7rzh-0002Tr-Ct
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 08:05:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7rzf-0002T8-Dm
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:05:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7rze-0002SQ-21
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:05:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7rzd-0002SF-HK
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:05:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7rzd-0003VG-0X
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:05:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7rza-00074J-7N
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 12:05:26 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7rza-00074G-1F
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 12:05:26 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7rza-00074G-1F@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 12:05:26 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/actionscript.all Number.as
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 12:05:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 12:05:26

Modified files:
	testsuite/actionscript.all: Number.as 

Log message:
	Add test for 0/0

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- Number.as	9 Jul 2007 11:44:31 -0000	1.23
+++ Number.as	9 Jul 2007 12:05:25 -0000	1.24
@@ -26,7 +26,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //	
 
-rcsid="$Id: Number.as,v 1.23 2007/07/09 11:44:31 strk Exp $";
+rcsid="$Id: Number.as,v 1.24 2007/07/09 12:05:25 strk Exp $";
 
 #include "check.as"
 
@@ -390,3 +390,5 @@
 #else
 check_equals(450 - undefined, 450);
 #endif
+
+check( isNaN(0/0) );



From MAILER-DAEMON Mon Jul 09 08:12:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7s6G-0004pY-Ou
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 08:12:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7s6F-0004ol-Ba
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:12:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7s6E-0004oN-NO
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:12:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7s6E-0004oK-JW
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:12:18 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1I7s6E-0005CL-Cq
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:12:18 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1I7s6C-0007gN-L6
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 12:12:16 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1I7s6C-0007gK-GZ
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 12:12:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7s6C-0007gK-GZ@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 09 Jul 2007 12:12:16 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 12:12:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/09 12:12:16

Modified files:
	.              : ChangeLog 
	gui            : NullGui.cpp 

Log message:
	reverted

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3687&r2=1.3688
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.15&r2=1.16

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3687
retrieving revision 1.3688
diff -u -b -r1.3687 -r1.3688
--- ChangeLog	9 Jul 2007 07:31:05 -0000	1.3687
+++ ChangeLog	9 Jul 2007 12:12:15 -0000	1.3688
@@ -84,10 +84,6 @@
 	* configure.ac: Add xsltproc to list of docbook required packages
 	* server/asobj/SoundFfmpeg.cpp: Fix signed/unsigned compiler warning
 
-2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
-
-	* gui/NullGui.cpp: use boost instead of tu_timer.
-
 2007-07-05 Martin Guy <martinwguy@yahoo.it>
 
 	* server/parser/movie_def_impl.cpp: Report internal sample ID too in

Index: gui/NullGui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- gui/NullGui.cpp	6 Jul 2007 01:10:04 -0000	1.15
+++ gui/NullGui.cpp	9 Jul 2007 12:12:16 -0000	1.16
@@ -32,9 +32,7 @@
 # include <unistd.h> // for usleep
 #endif
 
-#include <boost/date_time/posix_time/posix_time_types.hpp>
-
-using namespace boost::posix_time;
+#include "tu_timer.h"
 
 namespace gnash
 {
@@ -43,7 +41,7 @@
 NullGui::run()
 {
   uint64_t prevtimer=0;
-  uint64_t start_timer = ((microsec_clock::local_time()).time_of_day()).total_milliseconds();  // returns milliseconds
+  uint64_t start_timer = tu_timer::get_ticks();  // returns milliseconds
 
   prevtimer = start_timer;
 
@@ -57,7 +55,7 @@
     while (1) 
     {
         
-      timer = ((microsec_clock::local_time()).time_of_day()).total_milliseconds();
+      timer = tu_timer::get_ticks();
             
       if (timer - prevtimer >= _interval)
         break; // next frame, please!



From MAILER-DAEMON Mon Jul 09 08:21:17 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7sEv-0003HG-8O
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 08:21:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7sEt-0003H7-Fr
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:21:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7sEr-0003Gu-TX
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:21:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7sEr-0003Gr-O4
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:21:13 -0400
Received: from smtpout07-04.prod.mesa1.secureserver.net ([64.202.165.233]
	helo=smtpout07.prod.mesa1.secureserver.net)
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <eh@narthex.us>) id 1I7sEq-0007DO-QU
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:21:13 -0400
Received: (qmail 27062 invoked from network); 9 Jul 2007 12:21:10 -0000
Received: from unknown (67.41.226.185)
	by smtpout07-04.prod.mesa1.secureserver.net (64.202.165.233) with ESMTP;
	09 Jul 2007 12:21:10 -0000
Message-Id: <6.0.0.22.2.20070709060826.02c59600@mail.narthex.us>
X-Sender: eh@narthex.us@mail.narthex.us
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Mon, 09 Jul 2007 06:21:11 -0600
To: gnash-commit@gnu.org
From: Eric Hughes <eh@narthex.us>
Subject: Re: [Gnash-commit] gnash ChangeLog server/as_value.cpp server/as_v...
In-Reply-To: <ca4b43ff0707082224s67d8cc6y9edca75eed6cbe0f@mail.gmail.com
 >
References: <E1I7jxa-0005g5-Jm@cvs.savannah.gnu.org>
	<ca4b43ff0707082224s67d8cc6y9edca75eed6cbe0f@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-detected-kernel: Linux 2.4-2.6
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 12:21:15 -0000

At 11:24 PM 7/8/2007, zou lunkai wrote:
>For swf>=5, The observed results here are:
>
>trace(NaN == NaN);   //true
>trace(NaN >= NaN);   //true
>trace(NaN <= NaN);  //true
>trace(NaN > NaN);    //undefined
>trace(NaN < NaN);    //undefined
>trace(NaN != NaN);   //false

I'm just whinging here, but all these should return "undefined" in the 
mathematically-correct world.  If the comparisons are on numbers, and you 
have a meta-value that means not-a-number, but the comparisons between 
numbers, as functions on the set "numbers union special-value" would be 
partial functions defined only on pairs of numbers and be undefined if one 
or both elements of the pair were not a number.

This is less purely academic that it sounds.  Not-a-number means "I have no 
information".  It does not mean "I have a special new kind of number with 
special axiomatic properties".  To say that "a=b" when both are not a 
number means asserting that "I have no information about a, and I have no 
information about b, but I know they're the same."  Put this in some 
generic algorithm with wonky input data, and you'll get an unintended 
(therefore incorrect) result.

This is all FYI.  I am promoting no cause to fix AS.

Incidentally, this argument isn't the same for underflow and overflow 
meta-values.  Overflow creates a compact representation of infinity, and 
underflow creates a non-Haussdorf point at 0, i.e. three topologically 
inseparable values, but these are still well-defined spaces.

Eric




From MAILER-DAEMON Mon Jul 09 08:26:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7sJo-00055q-Gv
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 08:26:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7sJn-00055a-Gc
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:26:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7sJn-00055N-12
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:26:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7sJm-00055K-M4
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:26:18 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7sJm-00080C-DG
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:26:18 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7sJl-0000dV-Bg
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 12:26:17 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7sJl-0000dS-6T
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 12:26:17 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7sJl-0000dS-6T@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 12:26:17 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_value.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 12:26:20 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 12:26:17

Modified files:
	.              : ChangeLog 
	server         : as_value.cpp 

Log message:
	        * server/as_value.cpp (to_debug_string): include object type name.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3688&r2=1.3689
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.56&r2=1.57

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3688
retrieving revision 1.3689
diff -u -b -r1.3688 -r1.3689
--- ChangeLog	9 Jul 2007 12:12:15 -0000	1.3688
+++ ChangeLog	9 Jul 2007 12:26:16 -0000	1.3689
@@ -1,3 +1,7 @@
+2007-07-09 Sandro Santilli <strk@keybit.net>
+
+	* server/as_value.cpp (to_debug_string): include object type name.
+
 2007-07-09 Martin Guy <martinwguy@yahoo.it>
 
 	* gui/gtk_cairo.h: FIx compiler warning about unused params

Index: server/as_value.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- server/as_value.cpp	9 Jul 2007 03:30:50 -0000	1.56
+++ server/as_value.cpp	9 Jul 2007 12:26:16 -0000	1.57
@@ -822,8 +822,18 @@
 			sprintf(buf, "[bool:%s]", m_boolean_value ? "true" : "false");
 			return buf;
 		case OBJECT:
-			sprintf(buf, "[object:%p]", (void *)m_object_value);
+		{
+			std::string typeName = typeid(*m_object_value).name();
+#if defined(__GNUC__) && __GNUC__ > 2
+			int status;
+			char* typeNameDemangled = abi::__cxa_demangle(typeName.c_str(), NULL, NULL, &status);
+			sprintf(buf, "[object(%s):%p]", typeNameDemangled, (void *)m_object_value);
+			free(typeNameDemangled);
+#else
+			sprintf(buf, "[object(%s):%p]", typeName.c_str(), (void *)m_object_value);
+#endif
 			return buf;
+		}
 		case AS_FUNCTION:
 			sprintf(buf, "[function:%p]", (void *)m_object_value);
 			return buf;



From MAILER-DAEMON Mon Jul 09 08:56:05 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7smb-000241-MG
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 08:56:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7smZ-00023o-NQ
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:56:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7smY-00023K-8l
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:56:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7smY-00023G-46
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:56:02 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I7smX-0004fg-AQ
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 08:56:01 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l69CsaA38699;
	Mon, 9 Jul 2007 14:54:36 +0200 (CEST) (envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Mon, 9 Jul 2007 14:54:36 +0200
To: Eric Hughes <eh@narthex.us>
Subject: Re: [Gnash-commit] gnash ChangeLog server/as_value.cpp server/as_v...
Message-ID: <20070709125436.GD30214@keybit.net>
Mail-Followup-To: Eric Hughes <eh@narthex.us>, gnash-commit@gnu.org
References: <E1I7jxa-0005g5-Jm@cvs.savannah.gnu.org>
	<ca4b43ff0707082224s67d8cc6y9edca75eed6cbe0f@mail.gmail.com>
	<6.0.0.22.2.20070709060826.02c59600@mail.narthex.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <6.0.0.22.2.20070709060826.02c59600@mail.narthex.us>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 12:56:04 -0000

On Mon, Jul 09, 2007 at 06:21:11AM -0600, Eric Hughes wrote:
> At 11:24 PM 7/8/2007, zou lunkai wrote:
> >For swf>=5, The observed results here are:
> >
> >trace(NaN == NaN);   //true
> >trace(NaN >= NaN);   //true
> >trace(NaN <= NaN);  //true
> >trace(NaN > NaN);    //undefined
> >trace(NaN < NaN);    //undefined
> >trace(NaN != NaN);   //false
> 
> I'm just whinging here, but all these should return "undefined" in the 
> mathematically-correct world. 

Our main problem here is that the proprietary player is likely uncompatible
with itself, thus we can NOT fully emulate it. Is it also possible that the
*same* version of the player acts differently on different architecturs.

In these cases we should refer to an higher standard (ECMA-262 in this case)
and properly document the differences. Other opinions are welcome.

--strk;



From MAILER-DAEMON Mon Jul 09 09:00:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7sqa-0004Qa-2A
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 09:00:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7sqX-0004Q3-B0
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:00:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7sqV-0004Pf-D1
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:00:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7sqV-0004Pc-4S
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:00:07 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7sqU-0005If-Fw
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:00:06 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7sqT-0002zF-Oo
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 13:00:05 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7sqT-0002z2-HN
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 13:00:05 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7sqT-0002z2-HN@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 13:00:05 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash libbase/utility.h server/character.cpp se...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 13:00:09 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 13:00:05

Modified files:
	libbase        : utility.h 
	server         : character.cpp as_value.cpp 

Log message:
	        * libbase/utility.h: add a templated typeName() function for
	          demangling.
	        * server/character.cpp (width_getset,height_getset): include
	          character's type name in aserror.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/server/character.cpp?cvsroot=gnash&r1=1.44&r2=1.45
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.57&r2=1.58

Patches:
Index: libbase/utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- libbase/utility.h	12 Feb 2007 09:08:27 -0000	1.22
+++ libbase/utility.h	9 Jul 2007 13:00:04 -0000	1.23
@@ -10,11 +10,18 @@
 #define UTILITY_H
 
 #include "tu_config.h"
-#include <cassert>
 #include "tu_math.h"
 #include "tu_types.h"
 #include "tu_swap.h"
+
+#include <cassert>
 #include <cctype>
+#include <string>
+#include <typeinfo>
+
+#if defined(__GNUC__) && __GNUC__ > 2
+#  include <cxxabi.h>
+#endif
 
 #if defined(_WIN32) || defined(WIN32)
 #ifndef NDEBUG
@@ -167,6 +174,26 @@
 
 /// Dump the internal statistics from malloc() so we can track memory leaks
 void dump_memory_stats(const char *from, int line, const char *label);
+
+/// Return (unmangled) name of this instance type
+template <class T>
+std::string typeName(T& inst)
+{
+	std::string typeName = typeid(inst).name();
+#if defined(__GNUC__) && __GNUC__ > 2
+	int status;
+	char* typeNameUnmangled = 
+		abi::__cxa_demangle (typeName.c_str(), NULL, NULL,
+				     &status);
+	if (status == 0)
+	{
+		typeName = typeNameUnmangled;
+		free(typeNameUnmangled);
+	}
+#endif // __GNUC__ > 2
+	return typeName;
+}
+
 #endif // UTILITY_H
 
 

Index: server/character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/character.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- server/character.cpp	1 Jul 2007 10:54:21 -0000	1.44
+++ server/character.cpp	9 Jul 2007 13:00:04 -0000	1.45
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: character.cpp,v 1.44 2007/07/01 10:54:21 bjacques Exp $ */
+/* $Id: character.cpp,v 1.45 2007/07/09 13:00:04 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -491,7 +491,7 @@
 		if ( newwidth <= 0 )
 		{
 			IF_VERBOSE_ASCODING_ERRORS(
-			log_aserror(_("Setting _width=%g"), newwidth/20);
+			log_aserror(_("Setting _width=%g of character %s (%s)"), newwidth/20, ptr->getTarget().c_str(), typeName(*ptr).c_str());
 			);
 		}
 
@@ -536,7 +536,7 @@
 		if ( newheight <= 0 )
 		{
 			IF_VERBOSE_ASCODING_ERRORS(
-			log_aserror(_("Setting _height=%g"), newheight/20);
+			log_aserror(_("Setting _height=%g of character %s (%s)"), newheight/20, ptr->getTarget().c_str(), typeName(*ptr).c_str());
 			);
 		}
 

Index: server/as_value.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- server/as_value.cpp	9 Jul 2007 12:26:16 -0000	1.57
+++ server/as_value.cpp	9 Jul 2007 13:00:04 -0000	1.58
@@ -32,6 +32,7 @@
 #include "Number.h" // for automatic as_value::NUMBER => Number as object
 #include "Boolean.h" // for automatic as_value::BOOLEAN => Boolean as object
 #include "action.h" // for call_method0
+#include "utility.h" // for typeName()
 
 #include <boost/algorithm/string/case_conv.hpp>
 
@@ -822,18 +823,8 @@
 			sprintf(buf, "[bool:%s]", m_boolean_value ? "true" : "false");
 			return buf;
 		case OBJECT:
-		{
-			std::string typeName = typeid(*m_object_value).name();
-#if defined(__GNUC__) && __GNUC__ > 2
-			int status;
-			char* typeNameDemangled = abi::__cxa_demangle(typeName.c_str(), NULL, NULL, &status);
-			sprintf(buf, "[object(%s):%p]", typeNameDemangled, (void *)m_object_value);
-			free(typeNameDemangled);
-#else
-			sprintf(buf, "[object(%s):%p]", typeName.c_str(), (void *)m_object_value);
-#endif
+			sprintf(buf, "[object(%s):%p]", typeName(*m_object_value).c_str(), (void *)m_object_value);
 			return buf;
-		}
 		case AS_FUNCTION:
 			sprintf(buf, "[function:%p]", (void *)m_object_value);
 			return buf;



From MAILER-DAEMON Mon Jul 09 09:15:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7t5H-0002H2-Nz
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 09:15:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7t5G-0002Go-Ci
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:15:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7t5G-0002Gc-3j
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:15:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7t5F-0002GZ-Sf
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:15:21 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7t5F-00080j-NB
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:15:21 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7t5D-0004fE-9E
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 13:15:19 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7t5D-0004fB-3L
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 13:15:19 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7t5D-0004fB-3L@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 13:15:19 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 13:15:22 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 13:15:19

Modified files:
	.              : ChangeLog 

Log message:
	Oops, forgot ChangeLog file

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3689&r2=1.3690

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3689
retrieving revision 1.3690
diff -u -b -r1.3689 -r1.3690
--- ChangeLog	9 Jul 2007 12:26:16 -0000	1.3689
+++ ChangeLog	9 Jul 2007 13:15:18 -0000	1.3690
@@ -1,6 +1,10 @@
 2007-07-09 Sandro Santilli <strk@keybit.net>
 
 	* server/as_value.cpp (to_debug_string): include object type name.
+	* libbase/utility.h: add a templated typeName() function for
+	  demangling.
+	* server/character.cpp (width_getset,height_getset): include
+	  character's type name in aserror.
 
 2007-07-09 Martin Guy <martinwguy@yahoo.it>
 



From MAILER-DAEMON Mon Jul 09 09:33:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7tMt-0001cB-FP
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 09:33:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7tMr-0001VA-5c
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:33:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7tMq-0001TN-Bi
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:33:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7tMq-0001T8-7X
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:33:32 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7tMp-0002zM-TG
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:33:32 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7tMo-0005B7-Qr
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 13:33:30 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7tMo-0005B4-ND
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 13:33:30 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7tMo-0005B4-ND@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 13:33:30 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/video_stream_instance.cp...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 13:33:33 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 13:33:30

Modified files:
	.              : ChangeLog 
	server         : video_stream_instance.cpp 
	                 video_stream_instance.h 
	server/parser  : video_stream_def.cpp video_stream_def.h 

Log message:
	        * server/parser/video_stream_def.{h,cpp}: drop the m_width and m_height
	          public members, substitute them with a private m_bound (renamed
	          from m_unused_bound since it is now used). This fixes get_bound
	          to return a meaningful value.
	        * server/video_stream_instance.{cpp,h}: stop using m_width and m_height
	          of the definition, rather use the get_bound() method.
	          Fixes bug #20177 (Youtube: half the video hidden)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3690&r2=1.3691
http://cvs.savannah.gnu.org/viewcvs/gnash/server/video_stream_instance.cpp?cvsroot=gnash&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/gnash/server/video_stream_instance.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/video_stream_def.cpp?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/video_stream_def.h?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3690
retrieving revision 1.3691
diff -u -b -r1.3690 -r1.3691
--- ChangeLog	9 Jul 2007 13:15:18 -0000	1.3690
+++ ChangeLog	9 Jul 2007 13:33:29 -0000	1.3691
@@ -1,5 +1,15 @@
 2007-07-09 Sandro Santilli <strk@keybit.net>
 
+	* server/parser/video_stream_def.{h,cpp}: drop the m_width and m_height
+	  public members, substitute them with a private m_bound (renamed
+	  from m_unused_bound since it is now used). This fixes get_bound
+	  to return a meaningful value.
+	* server/video_stream_instance.{cpp,h}: stop using m_width and m_height
+	  of the definition, rather use the get_bound() method.
+	  Fixes bug #20177 (Youtube: half the video hidden)
+
+2007-07-09 Sandro Santilli <strk@keybit.net>
+
 	* server/as_value.cpp (to_debug_string): include object type name.
 	* libbase/utility.h: add a templated typeName() function for
 	  demangling.

Index: server/video_stream_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/video_stream_instance.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- server/video_stream_instance.cpp	1 Jul 2007 10:54:26 -0000	1.31
+++ server/video_stream_instance.cpp	9 Jul 2007 13:33:30 -0000	1.32
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-// $Id: video_stream_instance.cpp,v 1.31 2007/07/01 10:54:26 bjacques Exp $
+// $Id: video_stream_instance.cpp,v 1.32 2007/07/09 13:33:30 strk Exp $
 
 #include "sprite_instance.h"
 #include "video_stream_instance.h"
@@ -181,7 +181,7 @@
 	assert(m_def);
 
 	matrix m = get_world_matrix();
-	rect bounds(0.0f, 0.0f, PIXELS_TO_TWIPS(m_def->m_width), PIXELS_TO_TWIPS(m_def->m_height));
+	const rect& bounds = m_def->get_bound();
 
 	// If this is a video from a NetStream object, retrieve a video frame from there.
 	if (_ns)
@@ -244,12 +244,8 @@
 	// case I think add_invalidated_bouns would never be invoked on us...
 	assert ( m_def );
 
-  rect def_bounds(0.0f, 0.0f, 
-    PIXELS_TO_TWIPS(m_def->m_width), PIXELS_TO_TWIPS(m_def->m_height));
-    
 	rect bounds;	
-
-	bounds.expand_to_transformed_rect(get_world_matrix(), def_bounds);
+	bounds.expand_to_transformed_rect(get_world_matrix(), m_def->get_bound());
 	
 	ranges.add(bounds.getRange());            
 }

Index: server/video_stream_instance.h
===================================================================
RCS file: /sources/gnash/gnash/server/video_stream_instance.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- server/video_stream_instance.h	1 Jul 2007 10:54:26 -0000	1.17
+++ server/video_stream_instance.h	9 Jul 2007 13:33:30 -0000	1.18
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_instance.h,v 1.17 2007/07/01 10:54:26 bjacques Exp $
+// $Id: video_stream_instance.h,v 1.18 2007/07/09 13:33:30 strk Exp $
 
 #ifndef GNASH_VIDEO_STREAM_INSTANCE_H
 #define GNASH_VIDEO_STREAM_INSTANCE_H
@@ -53,6 +53,8 @@
 
 	geometry::Range2d<float> getBounds() const
 	{
+		// TODO: return the bounds of the dynamically
+		//       loaded video if not embedded ?
 		return m_def->get_bound().getRange();
 	}
 

Index: server/parser/video_stream_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/video_stream_def.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/parser/video_stream_def.cpp	1 Jul 2007 10:54:34 -0000	1.8
+++ server/parser/video_stream_def.cpp	9 Jul 2007 13:33:30 -0000	1.9
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_def.cpp,v 1.8 2007/07/01 10:54:34 bjacques Exp $
+// $Id: video_stream_def.cpp,v 1.9 2007/07/09 13:33:30 strk Exp $
 
 #include "video_stream_def.h"
 #include "video_stream_instance.h"
@@ -56,8 +56,11 @@
 
 		m_num_frames = in->read_u16();
 
-		m_width = in->read_u16();
-		m_height = in->read_u16();
+		uint16_t width = in->read_u16();
+		uint16_t height = in->read_u16();
+		m_bound.enclose_point(0, 0);
+		m_bound.expand_to_point(PIXELS_TO_TWIPS(width), PIXELS_TO_TWIPS(height));
+
 		m_reserved_flags = in->read_uint(5);
 		m_deblocking_flags = in->read_uint(2);
 		m_smoothing_flags = in->read_uint(1) ? true : false;
@@ -107,8 +110,8 @@
 #endif
 
 	decoder->createDecoder(
-				m_width,
-				m_height,
+				m_bound.width(), // m_width,
+				m_bound.height(), // m_height,
 				m_deblocking_flags,
 				m_smoothing_flags,
 				m_codec_id,

Index: server/parser/video_stream_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/video_stream_def.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/parser/video_stream_def.h	1 Jul 2007 10:54:35 -0000	1.7
+++ server/parser/video_stream_def.h	9 Jul 2007 13:33:30 -0000	1.8
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_def.h,v 1.7 2007/07/01 10:54:35 bjacques Exp $
+// $Id: video_stream_def.h,v 1.8 2007/07/09 13:33:30 strk Exp $
 
 #ifndef GNASH_VIDEO_STREAM_DEF_H
 #define GNASH_VIDEO_STREAM_DEF_H
@@ -47,9 +47,10 @@
 	character* create_character_instance(character* parent, int id);
 	void	read(stream* in, SWF::tag_type tag, movie_definition* m);
 
-	// TODO: return a rect 0,0,m_width,m_height
-	const rect&	get_bound() const	{
-		return m_unused_rect;
+	/// Return local video bounds in twips
+	const rect&	get_bound() const
+	{
+		return m_bound;
 	}
 
 	/// Return a newly created embedded-video decoder
@@ -69,12 +70,15 @@
 
 	void get_frame_data(int frameNum, uint8_t** data, int* size);
 
-	// TODO: make private
-	uint16_t m_width;
-	uint16_t m_height;
-
 private:
 
+	// TODO: drop, use m_bound
+	//uint16_t m_width;
+
+	// TODO: drop, use m_bound
+	//uint16_t m_height;
+
+
 	uint16_t m_char_id;
 	uint8_t m_reserved_flags;
 	uint8_t m_deblocking_flags;
@@ -88,7 +92,13 @@
 	// 3: screen video (Flash 7+ only)
 	// 4: VP6
 	uint8_t m_codec_id;
-	rect m_unused_rect;
+
+	/// Bounds of the video.
+	//
+	/// This is actually a duplication of m_width, m_height
+	/// members, which are not yet private so we can switch.
+	///
+	rect m_bound;
 
 	/// The undecoded video frames
 	std::vector<uint8_t*>	m_video_frames;



From MAILER-DAEMON Mon Jul 09 09:51:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7tdv-0002nN-PT
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 09:51:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7tdu-0002nI-Ew
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:51:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7tdu-0002n6-0B
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:51:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7tdt-0002n3-PV
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:51:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7tdt-0006Jr-7o
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 09:51:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7tds-0006tQ-Lp
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 13:51:08 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7tds-0006tN-Ho
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 13:51:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7tds-0006tN-Ho@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 13:51:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog macros/ffmpeg.m4
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 13:51:11 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 13:51:08

Modified files:
	.              : ChangeLog 
	macros         : ffmpeg.m4 

Log message:
	Applied patch by Bernhard Rosenkraenzer <bero@arklinux.org>
	        * macros/ffmpeg.m4: don't assume FFMPEG CFLAGS only contain a single
	          -I switch.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3691&r2=1.3692
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/ffmpeg.m4?cvsroot=gnash&r1=1.48&r2=1.49

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3691
retrieving revision 1.3692
diff -u -b -r1.3691 -r1.3692
--- ChangeLog	9 Jul 2007 13:33:29 -0000	1.3691
+++ ChangeLog	9 Jul 2007 13:51:07 -0000	1.3692
@@ -1,3 +1,8 @@
+2007-07-09 Bernhard Rosenkraenzer <bero@arklinux.org>
+
+	* macros/ffmpeg.m4: don't assume FFMPEG CFLAGS only contain a single
+	  -I switch.
+
 2007-07-09 Sandro Santilli <strk@keybit.net>
 
 	* server/parser/video_stream_def.{h,cpp}: drop the m_width and m_height

Index: macros/ffmpeg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/ffmpeg.m4,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -b -r1.48 -r1.49
--- macros/ffmpeg.m4	8 Jul 2007 20:49:38 -0000	1.48
+++ macros/ffmpeg.m4	9 Jul 2007 13:51:08 -0000	1.49
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: ffmpeg.m4,v 1.48 2007/07/08 20:49:38 martinwguy Exp $
+dnl $Id: ffmpeg.m4,v 1.49 2007/07/09 13:51:08 strk Exp $
 
 AC_DEFUN([GNASH_PATH_FFMPEG],
 [
@@ -47,8 +47,23 @@
 	# Here pkg-config outputs two spaces on the end, so match those too!
 	ac_cv_path_ffmpeg_incl=`$PKG_CONFIG --cflags libavcodec | sed 's:/ffmpeg *$::'`
         CFLAGS="$ac_cv_path_ffmpeg_incl $CFLAGS"
+        # ac_cv_path_ffmpeg_incl might include several paths (e.g. pointers to
+        # external libraries used by ffmpeg). Let's find the right one.
+        for i in `$PKG_CONFIG --cflags-only-I libavcodec |sed -e 's:-I::g'`; do
+          if test -e "$i"/avcodec.h -o -e "$i"/ffmpeg/avcodec.h; then
+            topdir="$i"
+            break
+          fi
+        done
+      else
+        # Let's see if ffmpeg is installed without using pkgconfig...
+        for i in /usr/include /usr/local/include /opt/ffmpeg/include; do
+          if test -e "$i"/ffmpeg/avcodec.h; then
+            topdir="$i"
+            break
+          fi
+        done
       fi
-      topdir=`$PKG_CONFIG --cflags-only-I libavcodec | sed -e 's:-I::g' -e 's:.* /:/:' -e 's: ::g'`
       # Again adjust for ffmpeg/ foolery
       topdir=`echo "$topdir" | sed 's:/ffmpeg *$::'`
       # Gets "" if not installed



From MAILER-DAEMON Mon Jul 09 10:32:27 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I7uHr-0003TP-Rc
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 10:32:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I7uHp-0003QY-Rx
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 10:32:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I7uHp-0003Q2-4b
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 10:32:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I7uHo-0003Pn-U5
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 10:32:24 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I7uHo-0005Rx-Lx
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 10:32:24 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I7uHn-0000gP-HY
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 14:32:23 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I7uHn-0000gM-CB
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 14:32:23 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I7uHn-0000gM-CB@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 09 Jul 2007 14:32:23 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/swf.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2007 14:32:26 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/09 14:32:23

Modified files:
	.              : ChangeLog 
	server         : swf.h 

Log message:
	        * server/swf.h: add defines and links to alexis for SCRIPTLIMITS (SWF8),
	          DOABCDEFINE and SYMBOLCLASS (SWF9).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3692&r2=1.3693
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf.h?cvsroot=gnash&r1=1.34&r2=1.35

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3692
retrieving revision 1.3693
diff -u -b -r1.3692 -r1.3693
--- ChangeLog	9 Jul 2007 13:51:07 -0000	1.3692
+++ ChangeLog	9 Jul 2007 14:32:22 -0000	1.3693
@@ -1,3 +1,8 @@
+2007-07-09 Sandro Santilli <strk@keybit.net>
+
+	* server/swf.h: add defines and links to alexis for SCRIPTLIMITS (SWF8),
+	  DOABCDEFINE and SYMBOLCLASS (SWF9).
+
 2007-07-09 Bernhard Rosenkraenzer <bero@arklinux.org>
 
 	* macros/ffmpeg.m4: don't assume FFMPEG CFLAGS only contain a single

Index: server/swf.h
===================================================================
RCS file: /sources/gnash/gnash/server/swf.h,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- server/swf.h	9 Jul 2007 01:59:42 -0000	1.34
+++ server/swf.h	9 Jul 2007 14:32:23 -0000	1.35
@@ -101,6 +101,10 @@
     /// See http://sswf.sourceforge.net/SWFalexref.html#tag_protectdebug
     ENABLEDEBUGGER2	  = 64,
 
+    /// SWF_version  >= 7 
+    /// See http://sswf.sourceforge.net/SWFalexref.html#tag_scriptlimits
+    SCRIPTLIMITS          = 65, 
+
     /// http://sswf.sourceforge.net/SWFalexref.html#tag_fileattributes
     FILEATTRIBUTES        = 69,
 
@@ -119,12 +123,20 @@
     /// http://sswf.sourceforge.net/SWFalexref.html#tag_definefont3
     DEFINEFONT3           = 75,
 
+    /// SWF9
+    /// http://sswf.sourceforge.net/SWFalexref.html#tag_symbolclass
+    SYMBOLCLASS           = 76,
+
     /// http://sswf.sourceforge.net/SWFalexref.html#tag_metadata
     METADATA              = 77,
 
     /// http://sswf.sourceforge.net/SWFalexref.html#tag_definescalinggrid
     DEFINESCALINGGRID     = 78,
 
+    /// SWF9
+    /// http://sswf.sourceforge.net/SWFalexref.html#tag_doabcdefine
+    DOABCDEFINE           = 82,
+
     /// http://sswf.sourceforge.net/SWFalexref.html#tag_definemorphshape2
     DEFINESHAPE4          = 83,
 



From MAILER-DAEMON Mon Jul 09 22:52:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I85qI-0001fw-Ig
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 22:52:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I85qH-0001fp-6s
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 22:52:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I85qG-0001fd-LT
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 22:52:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I85qG-0001fa-JB
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 22:52:44 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I85qG-0003jw-7j
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 22:52:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I85qF-0007pa-4M
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 02:52:43 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I85qE-0007pX-Vz
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 02:52:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I85qE-0007pX-Vz@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 10 Jul 2007 02:52:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 02:52:45 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/10 02:52:42

Modified files:
	.              : ChangeLog 
Added files:
	testsuite/misc-ming.all: key_event_test5.c 

Log message:
	new testcase for key listeners, would cause a segfault when any key pressed, so not enabled.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3693&r2=1.3694
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5.c?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3693
retrieving revision 1.3694
diff -u -b -r1.3693 -r1.3694
--- ChangeLog	9 Jul 2007 14:32:22 -0000	1.3693
+++ ChangeLog	10 Jul 2007 02:52:42 -0000	1.3694
@@ -1,3 +1,8 @@
+2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
+
+	* testsuite/misc-ming.all/key_event_test5.c: new testcase for key listeners,
+	  would cause a segfault when any key pressed, so not enabled.
+	  
 2007-07-09 Sandro Santilli <strk@keybit.net>
 
 	* server/swf.h: add defines and links to alexis for SCRIPTLIMITS (SWF8),

Index: testsuite/misc-ming.all/key_event_test5.c
===================================================================
RCS file: testsuite/misc-ming.all/key_event_test5.c
diff -N testsuite/misc-ming.all/key_event_test5.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-ming.all/key_event_test5.c	10 Jul 2007 02:52:42 -0000	1.1
@@ -0,0 +1,95 @@
+/* 
+ *   Copyright (C) 2007 Free Software Foundation, Inc.
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ */ 
+
+/* 
+ *  zou lunkai zoulunkai@gmail.com
+ *
+ */
+
+#include "ming_utils.h"
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <ming.h>
+
+#define OUTPUT_VERSION 6
+#define OUTPUT_FILENAME "key_event_test5.swf"
+
+int
+main(int argc, char** argv)
+{
+  SWFMovie mo;
+  SWFMovieClip dejagnuclip;
+  SWFShape sh1, sh2;
+  SWFDisplayItem it1, it2;
+  int i;
+
+
+  const char *srcdir=".";
+  if ( argc>1 ) 
+    srcdir=argv[1];
+  else
+  {
+      //fprintf(stderr, "Usage: %s <mediadir>\n", argv[0]);
+      //return 1;
+  }
+
+  Ming_init();
+  mo = newSWFMovieWithVersion(OUTPUT_VERSION);
+  SWFMovie_setDimension(mo, 800, 600);
+  SWFMovie_setRate (mo, 1);
+
+  // frame1
+  dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10, 0, 0, 800, 600);
+  SWFMovie_add(mo, (SWFBlock)dejagnuclip);
+  add_actions(mo, " hasKeyPressed = false; x1 = 0;" );
+
+  add_actions(mo, " obj = new Object(); "
+                  " obj.onKeyDown = function () "
+                  " { "
+                  "   _root.note('key listener invoked'); "
+                  "   _root.x1 = 1; "
+                  " };" 
+                  " Key.addListener(obj); "
+                  // After deleting obj, we still have a key listener kept alive!
+                  " delete obj; " );
+  SWFMovie_nextFrame(mo); 
+
+  for(i=1; i<10; i++)
+  {
+    SWFMovie_nextFrame(mo); 
+  }
+
+  // Check that the explicity reference('obj') has been deleted.
+  // But the object is still alive as a key listener!
+  check_equals(mo, "typeof(obj)", "'undefined'");
+  
+  add_actions(mo, "if(hasKeyPressed)"
+                   "{"
+                   "  check_equals(_root.x1, 1); "
+                   "}" );
+                   
+  add_actions(mo, "stop(); total();");
+  SWFMovie_nextFrame(mo);  
+  
+  //Output movie
+  puts("Saving " OUTPUT_FILENAME );
+  SWFMovie_save(mo, OUTPUT_FILENAME);
+
+  return 0;
+}



From MAILER-DAEMON Mon Jul 09 23:07:06 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8649-0007AX-WA
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 23:07:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8647-0007AN-FL
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:07:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8646-0007AB-0o
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:07:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8645-0007A8-QN
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:07:01 -0400
Received: from nz-out-0506.google.com ([64.233.162.227])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I8645-0006Yv-8C
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:07:01 -0400
Received: by nz-out-0506.google.com with SMTP id f1so797943nzc
	for <gnash-commit@gnu.org>; Mon, 09 Jul 2007 20:07:00 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=mu/qePATho8NeVKedkQgieyQUrF2ZO39jNBbb0Ys4MDhAKupKG+wJcADe0yDdYJ36hsKTQ+E/hIIXH6rRz62+ya8xuRCPcxSzK9qAv6Dg8BF0wbzY6Jg/LkRtP0N9nFrbcaWpn6SFbKNWNzr1pmz27JQ20FK97i2lLK1P0JLIHc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=oWFaBkA4oXHUIfsQzxDNv498DpSgphLNlq1RGzlrb8DcamPkeX4jYNJFrQ2Jnq+BdQsxOTBDXBhYy75Q0soYHlWgZYdcIDTjW1QgAi/KyQzmbTqLHFK7yLqhOPrSDBXAmqiaiVi0+dMVJNwmoFRM/Fi7FXglJzFJOKhoL3H06pY=
Received: by 10.114.152.17 with SMTP id z17mr3716880wad.1184036820293;
	Mon, 09 Jul 2007 20:07:00 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Mon, 9 Jul 2007 20:07:00 -0700 (PDT)
Message-ID: <ca4b43ff0707092007p24b885c8i4b50406e1f1982f3@mail.gmail.com>
Date: Tue, 10 Jul 2007 11:07:00 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Sandro Santilli" <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
In-Reply-To: <E1I85qE-0007pX-Vz@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I85qE-0007pX-Vz@cvs.savannah.gnu.org>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 03:07:04 -0000

The above testcase does something like this:

 obj = new Object();
 obj.onKeyDown = function ()  { };
 Key.addListener(obj);
 delete obj;

The observed behavious is:
After deleting 'obj', the onKeyDown event handler could still be
invoked.  So I think the created object is still alive, but without an
explicit reference.

 I'd like to know how GC would deal with this.  Knowing this would
help me find a general solution to fix bug #20317.


On 7/10/07, Zou Lunkai <zoulunkai@gmail.com> wrote:
> CVSROOT:        /sources/gnash
> Module name:    gnash
> Changes by:     Zou Lunkai <zoulunkai>  07/07/10 02:52:42
>
> Modified files:
>         .              : ChangeLog
> Added files:
>         testsuite/misc-ming.all: key_event_test5.c
>
> Log message:
>         new testcase for key listeners, would cause a segfault when any key pressed, so not enabled.
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3693&r2=1.3694
> http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5.c?cvsroot=gnash&rev=1.1
>
> Patches:
> Index: ChangeLog
> ===================================================================
> RCS file: /sources/gnash/gnash/ChangeLog,v
> retrieving revision 1.3693
> retrieving revision 1.3694
> diff -u -b -r1.3693 -r1.3694
> --- ChangeLog   9 Jul 2007 14:32:22 -0000       1.3693
> +++ ChangeLog   10 Jul 2007 02:52:42 -0000      1.3694
> @@ -1,3 +1,8 @@
> +2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
> +
> +       * testsuite/misc-ming.all/key_event_test5.c: new testcase for key listeners,
> +         would cause a segfault when any key pressed, so not enabled.
> +
>  2007-07-09 Sandro Santilli <strk@keybit.net>
>
>         * server/swf.h: add defines and links to alexis for SCRIPTLIMITS (SWF8),
>
> Index: testsuite/misc-ming.all/key_event_test5.c
> ===================================================================
> RCS file: testsuite/misc-ming.all/key_event_test5.c
> diff -N testsuite/misc-ming.all/key_event_test5.c
> --- /dev/null   1 Jan 1970 00:00:00 -0000
> +++ testsuite/misc-ming.all/key_event_test5.c   10 Jul 2007 02:52:42 -0000      1.1
> @@ -0,0 +1,95 @@
> +/*
> + *   Copyright (C) 2007 Free Software Foundation, Inc.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License as published by
> + * the Free Software Foundation; either version 2 of the License, or
> + * (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + * GNU General Public License for more details.
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> + *
> + */
> +
> +/*
> + *  zou lunkai zoulunkai@gmail.com
> + *
> + */
> +
> +#include "ming_utils.h"
> +
> +#include <stdlib.h>
> +#include <stdio.h>
> +#include <ming.h>
> +
> +#define OUTPUT_VERSION 6
> +#define OUTPUT_FILENAME "key_event_test5.swf"
> +
> +int
> +main(int argc, char** argv)
> +{
> +  SWFMovie mo;
> +  SWFMovieClip dejagnuclip;
> +  SWFShape sh1, sh2;
> +  SWFDisplayItem it1, it2;
> +  int i;
> +
> +
> +  const char *srcdir=".";
> +  if ( argc>1 )
> +    srcdir=argv[1];
> +  else
> +  {
> +      //fprintf(stderr, "Usage: %s <mediadir>\n", argv[0]);
> +      //return 1;
> +  }
> +
> +  Ming_init();
> +  mo = newSWFMovieWithVersion(OUTPUT_VERSION);
> +  SWFMovie_setDimension(mo, 800, 600);
> +  SWFMovie_setRate (mo, 1);
> +
> +  // frame1
> +  dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10, 0, 0, 800, 600);
> +  SWFMovie_add(mo, (SWFBlock)dejagnuclip);
> +  add_actions(mo, " hasKeyPressed = false; x1 = 0;" );
> +
> +  add_actions(mo, " obj = new Object(); "
> +                  " obj.onKeyDown = function () "
> +                  " { "
> +                  "   _root.note('key listener invoked'); "
> +                  "   _root.x1 = 1; "
> +                  " };"
> +                  " Key.addListener(obj); "
> +                  // After deleting obj, we still have a key listener kept alive!
> +                  " delete obj; " );
> +  SWFMovie_nextFrame(mo);
> +
> +  for(i=1; i<10; i++)
> +  {
> +    SWFMovie_nextFrame(mo);
> +  }
> +
> +  // Check that the explicity reference('obj') has been deleted.
> +  // But the object is still alive as a key listener!
> +  check_equals(mo, "typeof(obj)", "'undefined'");
> +
> +  add_actions(mo, "if(hasKeyPressed)"
> +                   "{"
> +                   "  check_equals(_root.x1, 1); "
> +                   "}" );
> +
> +  add_actions(mo, "stop(); total();");
> +  SWFMovie_nextFrame(mo);
> +
> +  //Output movie
> +  puts("Saving " OUTPUT_FILENAME );
> +  SWFMovie_save(mo, OUTPUT_FILENAME);
> +
> +  return 0;
> +}
>
>
> _______________________________________________
> Gnash-commit mailing list
> Gnash-commit@gnu.org
> http://lists.gnu.org/mailman/listinfo/gnash-commit
>



From MAILER-DAEMON Mon Jul 09 23:12:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I869C-00086m-E6
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 23:12:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I869B-00086e-AF
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:12:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8699-00086Q-0o
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:12:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8698-00086L-Py
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:12:14 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I8698-0007Og-5M
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:12:14 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6A3C2Y54196;
	Tue, 10 Jul 2007 05:12:02 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Tue, 10 Jul 2007 05:12:01 +0200
From: Sandro Santilli <strk@keybit.net>
To: zou lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
Message-ID: <20070710031201.GA53164@keybit.net>
Mail-Followup-To: zou lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1I85qE-0007pX-Vz@cvs.savannah.gnu.org>
	<ca4b43ff0707092007p24b885c8i4b50406e1f1982f3@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ca4b43ff0707092007p24b885c8i4b50406e1f1982f3@mail.gmail.com>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 03:12:17 -0000

On Tue, Jul 10, 2007 at 11:07:00AM +0800, zou lunkai wrote:
> The above testcase does something like this:
> 
> obj = new Object();
> obj.onKeyDown = function ()  { };
> Key.addListener(obj);
> delete obj;
> 
> The observed behavious is:
> After deleting 'obj', the onKeyDown event handler could still be
> invoked.  So I think the created object is still alive, but without an
> explicit reference.
> 
> I'd like to know how GC would deal with this.  Knowing this would
> help me find a general solution to fix bug #20317.

Ok. Currently we do NOT keep key listeners alive, assuming they'd
deregister themselves on destruction. Since you're reporting this
is NOT the case, the movie_root::markReachableResources (or the Key::markReachableResources
in case it relies on the existance of the global Key object) must 
be changed to keep listeners alive (mark them as reachable).

See also: http://www.gnashdev.org/wiki/index.php/MemoryManagement#Listeners

Just wondering: does it mean that in the above case the user
has NO way to release the resources associated with that object ?

--strk;



From MAILER-DAEMON Mon Jul 09 23:15:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I86Cb-0001cg-Q0
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 23:15:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I86Ca-0001cY-Bl
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:15:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I86CY-0001cM-TE
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:15:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I86CY-0001cJ-O7
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:15:46 -0400
Received: from wr-out-0506.google.com ([64.233.184.226])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I86CY-0008Bw-DY
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:15:46 -0400
Received: by wr-out-0506.google.com with SMTP id 55so591970wri
	for <gnash-commit@gnu.org>; Mon, 09 Jul 2007 20:15:46 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=hwsLH1yfWViT6HbeLqxI7KKjpzwDirBhja7B+uLK9zGrPIcUNfWrC5XyQ200c4B9owiJRYrVhk322A34S9XB2gjNY8RJaxO6f1G6ywRWOGx9XrBDeNugx4Hseo8h3T2mMzPXnl2NxsPltSJWZjM7CojVAKuuGcavE2ekOnk+XG0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=H1zVKaKbe9CNSjxXINw7RVAPn6v6zSjHONe9JCCm8VZwz3wKJUYNJFgDUv3bXkjRbVw9uIZovJxwzMV74VRRfVYQrv7E9xbcwcXg5IkQtxqKq7pZJMxRbbUbh2VHgzslCXW6i7ichmo71P8benkIsWu83fV+aLsGn66Txn9lfRY=
Received: by 10.114.103.1 with SMTP id a1mr3745401wac.1184037345172;
	Mon, 09 Jul 2007 20:15:45 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Mon, 9 Jul 2007 20:15:45 -0700 (PDT)
Message-ID: <ca4b43ff0707092015q79232fd1ybf7d85b2ffd6eb1a@mail.gmail.com>
Date: Tue, 10 Jul 2007 11:15:45 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Martin Guy" <martinwguy@yahoo.it>
Subject: Re: [Gnash-commit] gnash gui/gnash.cpp ChangeLog
In-Reply-To: <E1I6pSG-0005hU-AE@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6pSG-0005hU-AE@cvs.savannah.gnu.org>
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 03:15:48 -0000

The indent is much better now, so fine to me, but I still have lot in
some other files.

Is this caused by different settings in text editors?
The related problem has been discussed long ago IIRC, have we already
found a solution, like a automatic style checking?

On 7/6/07, Martin Guy <martinwguy@yahoo.it> wrote:
> CVSROOT:        /sources/gnash
> Module name:    gnash
> Changes by:     Martin Guy <martinwguy> 07/07/06 15:10:44
>
> Modified files:
>         gui            : gnash.cpp
>         .              : ChangeLog
>
> Log message:
>                 * gui/gnash.cpp: Reformat crazy indentation and simplify redundant
>                   local variables (no functional change)
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.82&r2=1.83
> http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3661&r2=1.3662
>
> Patches:
> Index: gui/gnash.cpp
> ===================================================================
> RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
> retrieving revision 1.82
> retrieving revision 1.83
> diff -u -b -r1.82 -r1.83
> --- gui/gnash.cpp       3 Jul 2007 17:01:57 -0000       1.82
> +++ gui/gnash.cpp       6 Jul 2007 15:10:43 -0000       1.83
> @@ -251,13 +251,10 @@
>                url = optarg;
>                log_msg (_("Setting root URL to %s"), url);
>                break;
> -          case 'U':
> -         {
> -               const char* baseurl = optarg;
> -               player.setBaseUrl(baseurl);
> -               log_msg (_("Setting base URL to %s"), baseurl);
> +          case 'U':    // Set base URL
> +             player.setBaseUrl(optarg);
> +             log_msg (_("Setting base URL to %s"), optarg);
>                 break;
> -         }
>            case 'j':
>                width_given = true;
>                player.setWidth ( strtol(optarg, NULL, 0) );
> @@ -280,18 +277,16 @@
>                log_msg (_("Setting height to " SIZET_FMT), player.getHeight());
>                break;
>            case 'x':
> -              called_by_plugin=true;
> +              called_by_plugin = true;
>                player.setWindowId(strtol(optarg, NULL, 0));
>                break;
>            case '1':
>                player.setDoLoop(false);
>                break;
>            case 'r':
> -       {
>                specified_rendering_flag=true;
>
> -              long int render_arg = strtol(optarg, NULL, 0);
> -              switch (render_arg) {
> +              switch (strtol(optarg, NULL, 0)) {
>                  case 0:
>                      // Disable both
>                      player.setDoRender(false);
> @@ -313,34 +308,26 @@
>                      player.setDoSound(true);
>                      break;
>                  default:
> -                    log_error (_("-r must be followed by 0, 1, 2 or 3 "
> -                       "(%ld is invalid)"), render_arg);
> +                    log_error (_("-r must be followed by 0, 1, 2 or 3 "));
>                      break;
>                }
>                break;
> -       }
>            case 't':
>                player.setExitTimeout( (float) atof(optarg) );
>                break;
>            case 'b':
> -          {
> -               int bit_depth;
> -              bit_depth = atoi(optarg);
> -               player.setBitDepth(bit_depth);
> +             player.setBitDepth(atoi(optarg));
>                break;
> -          }
>            case 'f':
> -          {
>  #ifdef GNASH_FPS_DEBUG
> -               float frames = strtod(optarg, NULL);
> -               player.setFpsPrintTime(frames);
> -               break;
> +               player.setFpsPrintTime((float)strtod(optarg, NULL));
>  #else // ndef GNASH_FPS_DEBUG
>                 printf(_("FPS debugging disabled at compile time, -f is invalid\n"));
>                 exit(EXIT_FAILURE);
>  #endif // ndef GNASH_FPS_DEBUG
> -          }
> +               break;
>            case 'P':
> +           {
>                 string param = optarg;
>                 size_t eq = param.find("=");
>                 string name, value;
> @@ -357,6 +344,7 @@
>                 break;
>         }
>      }
> +    }
>
>      if ( ! specified_rendering_flag ) {
>         log_msg (_("No rendering flags specified, using rcfile"));
> @@ -367,8 +355,8 @@
>          }
>      }
>
> -    if (called_by_plugin && height_given && width_given && !player.getHeight() &&
> -        !player.getWidth()) {
> +    if (called_by_plugin && height_given && width_given
> +       && !player.getHeight() && !player.getWidth()) {
>          // We were given dimensions of 0x0 to render to (probably the plugin
>          // is playing an "invisible" movie. Disable video rendering.
>          player.setDoRender(false);
> @@ -410,12 +398,10 @@
>
>         // No file name was supplied
>         if (!infile) {
> -               std::cerr << "Error: no input file was specified."
> -                       << endl << endl;
> +           std::cerr << "Error: no input file was specified." << endl << endl;
>                 usage();
>                 return EXIT_FAILURE;
>         }
>
>         return player.run(argc, argv, infile, url);
>  }
> -
>
> Index: ChangeLog
> ===================================================================
> RCS file: /sources/gnash/gnash/ChangeLog,v
> retrieving revision 1.3661
> retrieving revision 1.3662
> diff -u -b -r1.3661 -r1.3662
> --- ChangeLog   6 Jul 2007 14:51:51 -0000       1.3661
> +++ ChangeLog   6 Jul 2007 15:10:44 -0000       1.3662
> @@ -3,6 +3,8 @@
>         * backend/Makefile.am: Move a GUI test to its logical place
>         * testsuite/libamf.all/test_number.cpp: Remove uused variables and
>           commented-out debugging printfs
> +       * gui/gnash.cpp: Reformat crazy indentation and simplify redundant
> +         local variables (no functional change)
>
>  2007-07-05 Markus Gothe <nietzsche@lysator.liu.se>
>
>
>
> _______________________________________________
> Gnash-commit mailing list
> Gnash-commit@gnu.org
> http://lists.gnu.org/mailman/listinfo/gnash-commit
>



From MAILER-DAEMON Mon Jul 09 23:23:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I86KK-0004ry-KN
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 23:23:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I86KI-0004ph-R7
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:23:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I86KI-0004p2-9w
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:23:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I86KH-0004op-VC
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:23:46 -0400
Received: from wa-out-1112.google.com ([209.85.146.182])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I86KH-0001Cd-Kf
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:23:45 -0400
Received: by wa-out-1112.google.com with SMTP id k34so1581385wah
	for <gnash-commit@gnu.org>; Mon, 09 Jul 2007 20:23:44 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=OvkPZAAQcy63k4AwACgNlJ6DVF95gmWIciFQdKlMreDvh6s/KLD7CU3ykD/Skwi7rjtmP7rXMGW6dyqiZqPO8mjqFO/TGYgQqvxYP42hZ3wfkRqlanj5mmTT8q2W6WN5yypodlHrtA/TUfoGOpZSej8EWH8qR1u3M8C90Z3Gx20=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=sKIGiyjuYX3gNou/+zdnodY8AOgVUIEEMf3QoX2CqBW1W3UD7VAec+/2E61tWiPb1BPXkMTir7CC3uMHtduOF/aeD3pSO615AB3XryKgYSZej9aEJZbfXQLuhScdrxG9PidBrmsWIcS2/5qEHzVn+rdbNKYMmf01wIMteVsYarE=
Received: by 10.114.153.18 with SMTP id a18mr3730242wae.1184037824508;
	Mon, 09 Jul 2007 20:23:44 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Mon, 9 Jul 2007 20:23:44 -0700 (PDT)
Message-ID: <ca4b43ff0707092023o7ce26f2fo476974a2abbb69f2@mail.gmail.com>
Date: Tue, 10 Jul 2007 11:23:44 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Sandro Santilli" <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
In-Reply-To: <20070710031201.GA53164@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I85qE-0007pX-Vz@cvs.savannah.gnu.org>
	<ca4b43ff0707092007p24b885c8i4b50406e1f1982f3@mail.gmail.com>
	<20070710031201.GA53164@keybit.net>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 03:23:47 -0000

> Just wondering: does it mean that in the above case the user
> has NO way to release the resources associated with that object ?

I guess so.

Test1:

 obj = new Object();
 obj.onKeyDown = function ()  { };
 Key.addListener(obj);
 Key.removeListener(obj);
 delete obj;

everything has been deleted as expected.


Test2:

 obj = new Object();
 obj.onKeyDown = function ()  { };
 Key.addListener(obj);
 delete obj;   // onKeyDown could be invoked after this, 'obj' is undefined
 Key.removeListener(obj); // has not effect,  onKeyDown could still be
invoked after this.



On 7/10/07, Sandro Santilli <strk@keybit.net> wrote:
> On Tue, Jul 10, 2007 at 11:07:00AM +0800, zou lunkai wrote:
> > The above testcase does something like this:
> >
> > obj = new Object();
> > obj.onKeyDown = function ()  { };
> > Key.addListener(obj);
> > delete obj;
> >
> > The observed behavious is:
> > After deleting 'obj', the onKeyDown event handler could still be
> > invoked.  So I think the created object is still alive, but without an
> > explicit reference.
> >
> > I'd like to know how GC would deal with this.  Knowing this would
> > help me find a general solution to fix bug #20317.
>
> Ok. Currently we do NOT keep key listeners alive, assuming they'd
> deregister themselves on destruction. Since you're reporting this
> is NOT the case, the movie_root::markReachableResources (or the Key::markReachableResources
> in case it relies on the existance of the global Key object) must
> be changed to keep listeners alive (mark them as reachable).
>
> See also: http://www.gnashdev.org/wiki/index.php/MemoryManagement#Listeners
>
> Just wondering: does it mean that in the above case the user
> has NO way to release the resources associated with that object ?
>
> --strk;
>



From MAILER-DAEMON Mon Jul 09 23:38:50 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I86Ys-0000g7-DP
	for mharc-gnash-commit@gnu.org; Mon, 09 Jul 2007 23:38:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I86Yq-0000fu-S6
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:38:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I86Yp-0000fi-CH
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:38:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I86Yp-0000ff-7d
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:38:47 -0400
Received: from wr-out-0506.google.com ([64.233.184.229])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I86Yo-00042u-SB
	for gnash-commit@gnu.org; Mon, 09 Jul 2007 23:38:47 -0400
Received: by wr-out-0506.google.com with SMTP id 55so595070wri
	for <gnash-commit@gnu.org>; Mon, 09 Jul 2007 20:38:46 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=KpQI4yBmJgrWhQ0Up6IC3giyeoK3ohPLE04JkxF/udywVAEmf4Wg0QgBbuJ8BTBbVwsfcarjfT8GBFX11qpR63cJ843fgLBo2ZXU7SsK3X8EuIRPpASypoTD77c9nE/yzdRkYOs1Fd08WhEqGVCrqN01Eb+uFEuEUyqFC+mqe5U=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=QiATEzbohwcVUEgmWYC47W5zHaPnt0y8+6WYCYzrDA8Bty7hRt5JpLsvqLQZYyqIIke88OSiWDF5tHqNCPB/z9gxkE3l84JG1G7x9g4e09qU/T9THpwP5fR3t4y8liBYmevSc7SZPkPDcYvgZpIGBFZahZ3fkefL1SvSNUdeems=
Received: by 10.114.53.1 with SMTP id b1mr3739465waa.1184038725721;
	Mon, 09 Jul 2007 20:38:45 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Mon, 9 Jul 2007 20:38:45 -0700 (PDT)
Message-ID: <ca4b43ff0707092038w25365eeegb9e4debd4f18bb15@mail.gmail.com>
Date: Tue, 10 Jul 2007 11:38:45 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Sandro Santilli" <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
In-Reply-To: <ca4b43ff0707092023o7ce26f2fo476974a2abbb69f2@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I85qE-0007pX-Vz@cvs.savannah.gnu.org>
	<ca4b43ff0707092007p24b885c8i4b50406e1f1982f3@mail.gmail.com>
	<20070710031201.GA53164@keybit.net>
	<ca4b43ff0707092023o7ce26f2fo476974a2abbb69f2@mail.gmail.com>
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 03:38:49 -0000

> > Just wondering: does it mean that in the above case the user
> > has NO way to release the resources associated with that object ?

Ah, I think I found a way to access that object now.

Test:

 obj = new Object();
obj.x = 1;
 obj.onKeyDown = function ()  {  _root.objRef = this };
 Key.addListener(obj);
 delete obj;

Observed behaviour:

after deleting obj,  if no key has been pressed, then _root.objRef is undefined;
if any key has been pressed, then we could get a new reference
'objRef', and both
objRef and objRef.x are defined.


On 7/10/07, zou lunkai <zoulunkai@gmail.com> wrote:
> > Just wondering: does it mean that in the above case the user
> > has NO way to release the resources associated with that object ?
>
> I guess so.
>
> Test1:
>
>  obj = new Object();
>  obj.onKeyDown = function ()  { };
>  Key.addListener(obj);
>  Key.removeListener(obj);
>  delete obj;
>
> everything has been deleted as expected.
>
>
> Test2:
>
>  obj = new Object();
>  obj.onKeyDown = function ()  { };
>  Key.addListener(obj);
>  delete obj;   // onKeyDown could be invoked after this, 'obj' is undefined
>  Key.removeListener(obj); // has not effect,  onKeyDown could still be
> invoked after this.
>
>
>
> On 7/10/07, Sandro Santilli <strk@keybit.net> wrote:
> > On Tue, Jul 10, 2007 at 11:07:00AM +0800, zou lunkai wrote:
> > > The above testcase does something like this:
> > >
> > > obj = new Object();
> > > obj.onKeyDown = function ()  { };
> > > Key.addListener(obj);
> > > delete obj;
> > >
> > > The observed behavious is:
> > > After deleting 'obj', the onKeyDown event handler could still be
> > > invoked.  So I think the created object is still alive, but without an
> > > explicit reference.
> > >
> > > I'd like to know how GC would deal with this.  Knowing this would
> > > help me find a general solution to fix bug #20317.
> >
> > Ok. Currently we do NOT keep key listeners alive, assuming they'd
> > deregister themselves on destruction. Since you're reporting this
> > is NOT the case, the movie_root::markReachableResources (or the Key::markReachableResources
> > in case it relies on the existance of the global Key object) must
> > be changed to keep listeners alive (mark them as reachable).
> >
> > See also: http://www.gnashdev.org/wiki/index.php/MemoryManagement#Listeners
> >
> > Just wondering: does it mean that in the above case the user
> > has NO way to release the resources associated with that object ?
> >
> > --strk;
> >
>



From MAILER-DAEMON Tue Jul 10 00:59:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I87ow-0003FZ-GE
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 00:59:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I87ou-0003E5-PK
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 00:59:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I87os-0003Di-Q0
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 00:59:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I87os-0003DY-KO
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 00:59:26 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I87os-0002X9-50
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 00:59:26 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I87oq-0006RR-Qj
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 04:59:24 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I87oq-0006RO-Lt
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 04:59:24 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I87oq-0006RO-Lt@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 04:59:24 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/movie_root.cpp server/mo...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 04:59:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 04:59:24

Modified files:
	.              : ChangeLog 
	server         : movie_root.cpp movie_root.h 
	server/asobj   : Key.cpp Key.h 

Log message:
	        * server/movie_root.{cpp,h}: mark key listeners as reachable.
	        * server/asobj/Key.{cpp,h}: mark key listeners as reachable.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3694&r2=1.3695
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.63&r2=1.64
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.cpp?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.h?cvsroot=gnash&r1=1.21&r2=1.22

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3694
retrieving revision 1.3695
diff -u -b -r1.3694 -r1.3695
--- ChangeLog	10 Jul 2007 02:52:42 -0000	1.3694
+++ ChangeLog	10 Jul 2007 04:59:23 -0000	1.3695
@@ -1,3 +1,8 @@
+2007-07-10 Sandro Santilli <strk@keybit.net>
+
+	* server/movie_root.{cpp,h}: mark key listeners as reachable.
+	* server/asobj/Key.{cpp,h}: mark key listeners as reachable.
+
 2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
 
 	* testsuite/misc-ming.all/key_event_test5.c: new testcase for key listeners,

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- server/movie_root.cpp	2 Jul 2007 03:20:34 -0000	1.72
+++ server/movie_root.cpp	10 Jul 2007 04:59:24 -0000	1.73
@@ -673,27 +673,28 @@
 }
 
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
+
 void movie_root::cleanup_key_listeners()
 {
 #ifdef KEY_LISTENERS_DEBUG
-	size_t prevsize = m_key_listeners.size();
-	log_msg("Cleaning up %u key listeners", m_key_listeners.size());
+	size_t prevsize = _keyListeners.size();
+	log_msg("Cleaning up %u key listeners", _keyListeners.size());
 #endif
 
-	for (std::vector<KeyListener>::iterator iter = _keyListners.begin();
-		 iter != _keyListners.end(); )
+	for (std::vector<KeyListener>::iterator iter = _keyListeners.begin();
+		 iter != _keyListeners.end(); )
 	{
 		
 		character* ch = dynamic_cast<character*>(iter->get());
 		// remove character listener
 		if ( ch && ch->isUnloaded() ) 
 		{
-			iter = _keyListners.erase(iter);
+			iter = _keyListeners.erase(iter);
 		}
 		// remove non-character listener
 		else if(!ch && !iter->isRegistered())
 		{
-			iter = _keyListners.erase(iter);
+			iter = _keyListeners.erase(iter);
 		}
 		else
 			++iter;
@@ -701,17 +702,17 @@
 
 
 #ifdef KEY_LISTENERS_DEBUG
-	size_t currsize = m_key_listeners.size();
+	size_t currsize = _keyListeners.size();
 	log_msg("Cleaned up %u listeners (from %u to %u)", prevsize-currsize, prevsize, currsize);
 #endif
 }
 
 void movie_root::notify_key_listeners(key::code k, bool down)
 {
-	//log_msg("Notifying " SIZET_FMT " keypress listeners", _keyListners.size());
+	//log_msg("Notifying " SIZET_FMT " keypress listeners", _keyListeners.size());
 
-	for (std::vector<KeyListener>::iterator iter = _keyListners.begin();
-		iter != _keyListners.end(); ++iter)
+	for (std::vector<KeyListener>::iterator iter = _keyListeners.begin();
+		iter != _keyListeners.end(); ++iter)
 	{
 		character* ch = dynamic_cast<character*>(iter->get());
 		// notify character listeners
@@ -771,8 +772,8 @@
 
 void movie_root::add_key_listener(const KeyListener & listener)
 {
-	std::vector<KeyListener>::iterator end = _keyListners.end();
-    for (std::vector<KeyListener>::iterator iter = _keyListners.begin();
+	std::vector<KeyListener>::iterator end = _keyListeners.end();
+    for (std::vector<KeyListener>::iterator iter = _keyListeners.begin();
          iter != end; ++iter) 
 	{
       if ((*iter) == listener) {
@@ -782,15 +783,15 @@
       }
     }
 
-    _keyListners.push_back(listener);
+    _keyListeners.push_back(listener);
 
 	assert(testInvariant());
 }
 
 void movie_root::remove_key_listener(const KeyListener& listener)
 {
-	std::vector<KeyListener>::iterator end = _keyListners.end();
-    for (std::vector<KeyListener>::iterator iter = _keyListners.begin();
+	std::vector<KeyListener>::iterator end = _keyListeners.end();
+    for (std::vector<KeyListener>::iterator iter = _keyListeners.begin();
          iter != end; ++iter) 
 	{
       if ((*iter) == listener) {
@@ -802,17 +803,16 @@
 	assert(testInvariant());
 }
 
-#else
+#else // ndef NEW_KEY_LISTENER_LIST_DESIGN
 
 void movie_root::cleanup_key_listeners()
 {
 #ifdef KEY_LISTENERS_DEBUG
-	size_t prevsize = m_key_listeners.size();
-	log_msg("Cleaning up %u key listeners", m_key_listeners.size());
+	size_t prevsize = _keyListeners.size();
+	log_msg("Cleaning up %u key listeners", _keyListeners.size());
 #endif
 
-	for (ListenerSet::iterator iter = m_key_listeners.begin();
-			 iter != m_key_listeners.end(); )
+	for (ListenerSet::iterator iter = m_key_listeners.begin(); iter != m_key_listeners.end(); )
 	{
 		// TODO: handle non-character objects too !
 		character* ch = dynamic_cast<character*>(iter->get());
@@ -830,7 +830,7 @@
 	}
 
 #ifdef KEY_LISTENERS_DEBUG
-	size_t currsize = m_key_listeners.size();
+	size_t currsize = _keyListeners.size();
 	log_msg("Cleaned up %u listeners (from %u to %u)", prevsize-currsize, prevsize, currsize);
 #endif
 }
@@ -882,7 +882,7 @@
 	//log_msg("After removing key listener %p, %u listeners are left", (void*)listener, m_key_listeners.size());
 	assert(testInvariant());
 }
-#endif
+#endif // ndef NEW_KEY_LISTENER_LIST_DESIGN
 
 void movie_root::add_mouse_listener(as_object* listener)
 {
@@ -1071,6 +1071,22 @@
 	{
 		(*i)->markReachableResources();
 	}
+
+#ifdef NEW_KEY_LISTENER_LIST_DESIGN
+	// Mark key listeners
+	for (KeyListeners::const_iterator i=_keyListeners.begin(), e=_keyListeners.end();
+			i != e; ++i)
+	{
+		i->setReachable();
+	}
+#else
+	// Mark key listeners
+	for (ListenerSet::const_iterator i=m_key_listeners.begin(), e=m_key_listeners.end();
+			i != e; ++i)
+	{
+		(*i)->setReachable();
+	}
+#endif
 }
 #endif // GNASH_USE_GC
 

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- server/movie_root.h	2 Jul 2007 03:20:34 -0000	1.63
+++ server/movie_root.h	10 Jul 2007 04:59:24 -0000	1.64
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.63 2007/07/02 03:20:34 strk Exp $ */
+/* $Id: movie_root.h,v 1.64 2007/07/10 04:59:24 strk Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -116,9 +116,19 @@
 		/// register the key listener
 		void registerUserHandler() { _user_defined_handler_added = true; }
 
+#ifdef GNASH_USE_GC
+		/// Mark the wrapped object as reachable
+		void setReachable() const
+		{
+			if ( _listener ) _listener->setReachable();
+		}
+#endif
+
 	private:
+
 		/// the listener object, could be a character or a general as_object
 		boost::intrusive_ptr<as_object> _listener;
+
 		/// mark if the object has been registered by Key.addListener()
 		bool _user_defined_handler_added;
 	};
@@ -468,6 +478,7 @@
 	///	- Mouse entities (m_mouse_button_state)
 	///	- Timer targets (_intervalTimers)
 	///	- Resources reachable by ActionQueue code (_actionQueue)
+	///	- Key listeners (_keyListeners || m_key_listeners)
 	///
 	void markReachableResources() const;
 #endif // GNASH_USE_GC
@@ -537,7 +548,8 @@
 
 	/// Objects listening for key events
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
-	std::vector<KeyListener> _keyListners;
+	typedef std::vector<KeyListener> KeyListeners;
+	KeyListeners _keyListeners;
 #else
 	ListenerSet m_key_listeners;
 #endif

Index: server/asobj/Key.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- server/asobj/Key.cpp	1 Jul 2007 10:54:27 -0000	1.26
+++ server/asobj/Key.cpp	10 Jul 2007 04:59:24 -0000	1.27
@@ -148,6 +148,7 @@
     m_unreleased_keys[byte_index] &= ~mask;
 }
 
+#ifndef NEW_KEY_LISTENER_LIST_DESIGN
 void 
 key_as_object::notify_listeners(const event_id key_event_type)
 {
@@ -176,6 +177,7 @@
         call_method(method, NULL /* or root? */, listener.get(), 0, 0);
     }
 }
+#endif // ndef NEW_KEY_LISTENER_LIST_DESIGN
 
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
 void
@@ -412,5 +414,19 @@
     global.init_member("Key", key_obj);
 }
 
+#ifdef GNASH_USE_GC
+#ifndef NEW_KEY_LISTENER_LIST_DESIGN
+void
+key_as_object::markReachableResources() const
+{
+	for (Listeners::const_iterator i=m_listeners.begin(), e=m_listeners.end();
+			i != e; ++i)
+	{
+		(*i)->setReachable();
+	}
+}
+#endif // ndef NEW_KEY_LISTENER_LIST_DESIGN
+#endif // def GNASH_USE_GC
+
 } // end of gnash namespace
 

Index: server/asobj/Key.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- server/asobj/Key.h	1 Jul 2007 10:54:27 -0000	1.21
+++ server/asobj/Key.h	10 Jul 2007 04:59:24 -0000	1.22
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: Key.h,v 1.21 2007/07/01 10:54:27 bjacques Exp $ */
+/* $Id: Key.h,v 1.22 2007/07/10 04:59:24 strk Exp $ */
 
 #ifndef __KEY_H__
 #define __KEY_H__
@@ -38,9 +38,12 @@
 #endif
 
 namespace gnash {
+
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
 class KeyListener; //forward declaration
 #endif
+
+// TODO: drop this, probably unused
 class DSOEXPORT Key {
 public:
     Key();
@@ -100,9 +103,25 @@
 private:
 	/// bit-array for recording the unreleased keys
 	uint8_t	m_unreleased_keys[key::KEYCOUNT / 8 + 1];	
-	std::vector<boost::intrusive_ptr<as_object> >	m_listeners;
+
+#ifndef NEW_KEY_LISTENER_LIST_DESIGN
+	typedef std::vector<boost::intrusive_ptr<as_object> > Listeners;
+	Listeners m_listeners;
+#endif
+
 	int	m_last_key_pressed;
 
+protected:
+
+#ifdef GNASH_USE_GC
+#ifndef NEW_KEY_LISTENER_LIST_DESIGN
+	// Mark all key listeners as reachable
+	// (this class has no direct pointer to listeners when
+	//  NEW_KEY_LISTENER_LIST_DESIGN is defined)
+	void markReachableResources() const;
+#endif // ndef NEW_KEY_LISTENER_LIST_DESIGN
+#endif // def GNASH_USE_GC
+
 public:
 
 	key_as_object();
@@ -113,9 +132,11 @@
 
 	void set_key_up(int code);
 	
+#ifndef NEW_KEY_LISTENER_LIST_DESIGN
 	/// responsible for user defined key events handlers only;
 	/// take over both characters and non-characters object.
 	void notify_listeners(const event_id key_event_type);
+#endif // ndef NEW_KEY_LISTENER_LIST_DESIGN
 
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
 	void add_listener(const KeyListener& listener);



From MAILER-DAEMON Tue Jul 10 01:03:01 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I87sL-0004Sh-64
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 01:03:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I87sJ-0004SQ-7F
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 01:02:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I87sF-0004Rz-QM
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 01:02:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I87sF-0004Ru-KM
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 01:02:55 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I87sD-00033A-MG
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 01:02:55 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6A52kt55830;
	Tue, 10 Jul 2007 07:02:46 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Tue, 10 Jul 2007 07:02:46 +0200
From: Sandro Santilli <strk@keybit.net>
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog server/movie_root.cpp server/mo...
Message-ID: <20070710050246.GA55032@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org
References: <E1I87oq-0006RO-Lt@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I87oq-0006RO-Lt@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 05:02:59 -0000

On Tue, Jul 10, 2007 at 04:59:24AM +0000, Sandro Santilli wrote:

> Log message:
> 	        * server/movie_root.{cpp,h}: mark key listeners as reachable.
> 	        * server/asobj/Key.{cpp,h}: mark key listeners as reachable.

This commit fixes the segfault in playing the key_event_test5.swf movie.
Anyway, it seems memory is still corrupted playing SimGirl.swf, as an assertion
fails due to a button character instance having no _parent..

--strk;



From MAILER-DAEMON Tue Jul 10 01:05:17 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I87uX-0004dm-5g
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 01:05:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I87uU-0004d7-V2
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 01:05:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I87uT-0004cv-GQ
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 01:05:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I87uT-0004cs-BS
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 01:05:13 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I87uS-0003OJ-Sl
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 01:05:13 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I87uS-0003Hf-HO
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 05:05:12 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I87uS-0003Hc-Cy
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 05:05:12 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I87uS-0003Hc-Cy@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 05:05:12 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 05:05:15 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 05:05:12

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: Makefile.am 

Log message:
	        * testsuite/misc-ming.all/Makefile.am: add rules for building
	          key_event_test4.swf and key_event_test5.swf - test *runners* still
	          missing.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3695&r2=1.3696
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.138&r2=1.139

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3695
retrieving revision 1.3696
diff -u -b -r1.3695 -r1.3696
--- ChangeLog	10 Jul 2007 04:59:23 -0000	1.3695
+++ ChangeLog	10 Jul 2007 05:05:11 -0000	1.3696
@@ -1,5 +1,8 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/misc-ming.all/Makefile.am: add rules for building
+	  key_event_test4.swf and key_event_test5.swf - test *runners* still
+	  missing.
 	* server/movie_root.{cpp,h}: mark key listeners as reachable.
 	* server/asobj/Key.{cpp,h}: mark key listeners as reachable.
 

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -b -r1.138 -r1.139
--- testsuite/misc-ming.all/Makefile.am	1 Jul 2007 10:54:46 -0000	1.138
+++ testsuite/misc-ming.all/Makefile.am	10 Jul 2007 05:05:12 -0000	1.139
@@ -144,6 +144,8 @@
 	key_event_test2runner \
 	key_event_test3 \
 	key_event_test3runner \
+	key_event_test4 \
+	key_event_test5 \
 	static_vs_dynamic1 \
 	static_vs_dynamic2 \
 	getTimer_test \
@@ -561,6 +563,18 @@
 	$(top_builddir)/testsuite/libtestsuite.la \
 	$(NULL)
 
+key_event_test4_SOURCES = key_event_test4.c
+key_event_test4_LDADD = libgnashmingutils.la
+
+key_event_test4.swf: key_event_test4
+	./key_event_test4 $(top_srcdir)/testsuite/media
+
+key_event_test5_SOURCES = key_event_test5.c
+key_event_test5_LDADD = libgnashmingutils.la
+
+key_event_test5.swf: key_event_test5
+	./key_event_test5 $(top_srcdir)/testsuite/media
+
 place_object_test_SOURCES = place_object_test.c	
 place_object_test_LDADD = libgnashmingutils.la
 



From MAILER-DAEMON Tue Jul 10 07:45:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8E9z-0000lr-Ao
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 07:45:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8E9x-0000lP-MK
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 07:45:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8E9x-0000ks-20
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 07:45:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8E9w-0000kb-HE
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 07:45:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I8E9w-0001OK-0P
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 07:45:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I8E9u-0006ME-Vt
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 11:45:35 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I8E9u-0006M5-Pb
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 11:45:34 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8E9u-0006M5-Pb@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 10 Jul 2007 11:45:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 11:45:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/10 11:45:34

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: Makefile.am key_event_test5.c 
Added files:
	testsuite/misc-ming.all: Key_event_test5runner.cpp 

Log message:
	more tests for key listeners and a new testrunner

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3696&r2=1.3697
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.139&r2=1.140
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5.c?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Key_event_test5runner.cpp?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3696
retrieving revision 1.3697
diff -u -b -r1.3696 -r1.3697
--- ChangeLog	10 Jul 2007 05:05:11 -0000	1.3696
+++ ChangeLog	10 Jul 2007 11:45:33 -0000	1.3697
@@ -1,3 +1,10 @@
+2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
+
+	* testsuite/misc-ming.all/key_event_test5.c: more tests.
+	* testsuite/misc-ming.all/key_event_test5runner.c: add a testrunner.
+	* testsuite/misc-ming.all/Makefile.am: enable key_event_test4runner,
+	  enable key_event_test5runner
+	  
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
 	* testsuite/misc-ming.all/Makefile.am: add rules for building

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.139
retrieving revision 1.140
diff -u -b -r1.139 -r1.140
--- testsuite/misc-ming.all/Makefile.am	10 Jul 2007 05:05:12 -0000	1.139
+++ testsuite/misc-ming.all/Makefile.am	10 Jul 2007 11:45:34 -0000	1.140
@@ -145,7 +145,9 @@
 	key_event_test3 \
 	key_event_test3runner \
 	key_event_test4 \
+	key_event_test4runner \
 	key_event_test5 \
+	key_event_test5runner \
 	static_vs_dynamic1 \
 	static_vs_dynamic2 \
 	getTimer_test \
@@ -569,12 +571,42 @@
 key_event_test4.swf: key_event_test4
 	./key_event_test4 $(top_srcdir)/testsuite/media
 
+key_event_test4runner_SOURCES = \
+	key_event_test4runner.cpp \
+	$(NULL)
+key_event_test4runner_LDADD = \
+	$(top_builddir)/testsuite/libtestsuite.la \
+	$(NULL)
+key_event_test4runner_CXXFLAGS = \
+	-DSRCDIR='"$(srcdir)"' \
+	-DTGTDIR='"$(abs_builddir)"' \
+	$(NULL)
+key_event_test4runner_DEPENDENCIES = \
+	key_event_test4.swf \
+	$(top_builddir)/testsuite/libtestsuite.la \
+	$(NULL)
+	
 key_event_test5_SOURCES = key_event_test5.c
 key_event_test5_LDADD = libgnashmingutils.la
 
 key_event_test5.swf: key_event_test5
 	./key_event_test5 $(top_srcdir)/testsuite/media
 
+key_event_test5runner_SOURCES = \
+	key_event_test5runner.cpp \
+	$(NULL)
+key_event_test5runner_LDADD = \
+	$(top_builddir)/testsuite/libtestsuite.la \
+	$(NULL)
+key_event_test5runner_CXXFLAGS = \
+	-DSRCDIR='"$(srcdir)"' \
+	-DTGTDIR='"$(abs_builddir)"' \
+	$(NULL)
+key_event_test5runner_DEPENDENCIES = \
+	key_event_test5.swf \
+	$(top_builddir)/testsuite/libtestsuite.la \
+	$(NULL)
+	
 place_object_test_SOURCES = place_object_test.c	
 place_object_test_LDADD = libgnashmingutils.la
 
@@ -1562,6 +1594,8 @@
 	key_event_testrunner \
 	key_event_test2runner \
 	key_event_test3runner \
+	key_event_test4runner \
+	key_event_test5runner \
 	static_vs_dynamic1_testrunner \
 	static_vs_dynamic2_testrunner \
 	getTimer_testrunner \

Index: testsuite/misc-ming.all/key_event_test5.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test5.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/key_event_test5.c	10 Jul 2007 02:52:42 -0000	1.1
+++ testsuite/misc-ming.all/key_event_test5.c	10 Jul 2007 11:45:34 -0000	1.2
@@ -57,20 +57,22 @@
   // frame1
   dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10, 0, 0, 800, 600);
   SWFMovie_add(mo, (SWFBlock)dejagnuclip);
-  add_actions(mo, " hasKeyPressed = false; x1 = 0;" );
+  add_actions(mo, " hasKeyPressed = false; " );
 
   add_actions(mo, " obj = new Object(); "
+  								"	obj.x = 1; "
                   " obj.onKeyDown = function () "
                   " { "
                   "   _root.note('key listener invoked'); "
-                  "   _root.x1 = 1; "
+                  "   hasKeyPressed = true; "
+                  "   _root.objRef = this; "
                   " };" 
                   " Key.addListener(obj); "
                   // After deleting obj, we still have a key listener kept alive!
                   " delete obj; " );
   SWFMovie_nextFrame(mo); 
 
-  for(i=1; i<10; i++)
+  for(i=1; i<5; i++)
   {
     SWFMovie_nextFrame(mo); 
   }
@@ -81,8 +83,32 @@
   
   add_actions(mo, "if(hasKeyPressed)"
                    "{"
-                   "  check_equals(_root.x1, 1); "
-                   "}" );
+                   "  check_equals(typeof(objRef), 'object');"
+                   "  check_equals(objRef.x, 1);"
+                   // reset testing variables
+                   "	hasKeyPressed = false;"
+                   "	_root.x1 = 0; "
+                   "  objRef.x = 0; "
+                   // remove the key listener from the global key
+                   "	Key.removeListener(objRef); "
+                   // check that objRef is still alive
+                   "  check_equals(typeof(objRef), 'object');"
+                   // delete the objRef, no object and no key listener now.
+                   "	delete objRef;"
+                   "}" 
+                   "else"
+                   "{"
+                   " 	check_equals(typeof(objRef), 'undefined');"
+                   "}");
+  
+  for(i=5; i<10; i++)
+  {
+    SWFMovie_nextFrame(mo); 
+  }          
+  
+  check_equals(mo, "hasKeyPressed", "false");   
+  check_equals(mo, "typeof(obj)", "'undefined'"); 
+  check_equals(mo, "typeof(objRef)", "'undefined'"); 
                    
   add_actions(mo, "stop(); total();");
   SWFMovie_nextFrame(mo);  

Index: testsuite/misc-ming.all/Key_event_test5runner.cpp
===================================================================
RCS file: testsuite/misc-ming.all/Key_event_test5runner.cpp
diff -N testsuite/misc-ming.all/Key_event_test5runner.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-ming.all/Key_event_test5runner.cpp	10 Jul 2007 11:45:34 -0000	1.1
@@ -0,0 +1,85 @@
+/* 
+ *   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ *
+ */ 
+
+#define INPUT_FILENAME "key_event_test5.swf"
+
+#include "MovieTester.h"
+#include "sprite_instance.h"
+#include "character.h"
+#include "dlist.h"
+#include "container.h"
+#include "log.h"
+
+#include "check.h"
+#include <string>
+#include <cassert>
+
+using namespace gnash;
+using namespace std;
+
+int
+main(int /*argc*/, char** /*argv*/)
+{
+  string filename =  string(INPUT_FILENAME);
+  MovieTester tester(filename);
+
+  gnash::LogFile& dbglogfile = gnash::LogFile::getDefaultInstance();
+  dbglogfile.setVerbosity(1);
+
+  sprite_instance* root = tester.getRootMovie();
+  assert(root);
+
+  tester.advance();
+  tester.advance();
+  tester.advance();
+  
+  as_value tmp;
+  // ???, can not find 'hasKeyPressed'?
+  xcheck(root->get_member("hasKeyPressed", &tmp));
+  check_equals(tmp.to_number(), 0.0);
+  
+  // Provide a key event and that's all.
+  // testing will be done in the SWF file.
+  tester.pressKey(key::A);
+  tester.releaseKey(key::A);
+
+  // advance to the 8th frame
+  for(int i=0; i<5; i++)
+  {
+    tester.advance();
+  }
+  check_equals(root->get_current_frame(), 8);
+  
+  // ???, can not find 'hasKeyPressed'?
+  xcheck(root->get_member("hasKeyPressed", &tmp));
+  xcheck_equals(tmp.to_number(), 1.0);
+  
+  // Provide a key event. 
+  tester.pressKey(key::A);
+  tester.releaseKey(key::A);
+  
+  // advance to the last frame
+  for(int i=0; i<5; i++)
+  {
+    tester.advance();
+  }
+  check_equals(root->get_current_frame(), root->get_frame_count()-1);
+   
+  return 0; 
+}



From MAILER-DAEMON Tue Jul 10 07:49:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8EDb-0002ea-1C
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 07:49:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8EDY-0002eS-Ma
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 07:49:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8EDX-0002eG-A5
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 07:49:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8EDX-0002eD-4R
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 07:49:19 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I8EDW-000260-Pr
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 07:49:18 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I8EDW-0006UT-8v
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 11:49:18 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I8EDW-0006UQ-4D
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 11:49:18 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8EDW-0006UQ-4D@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 10 Jul 2007 11:49:18 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/misc-ming.all key_event_test5.c
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 11:49:21 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/10 11:49:18

Modified files:
	testsuite/misc-ming.all: key_event_test5.c 

Log message:
	correct indent

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5.c?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: key_event_test5.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test5.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3



From MAILER-DAEMON Tue Jul 10 08:22:38 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Ejm-0008LO-JM
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 08:22:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Ejl-0008LB-7F
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 08:22:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Ejj-0008Kz-OJ
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 08:22:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Ejj-0008Kw-Jk
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 08:22:35 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I8Ejj-0001Ld-9I
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 08:22:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I8Eji-0000gk-NS
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:22:34 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I8Eji-0000gh-JD
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:22:34 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8Eji-0000gh-JD@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 10 Jul 2007 12:22:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/Key.cpp server/mov...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 12:22:37 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/10 12:22:34

Modified files:
	.              : ChangeLog 
	server/asobj   : Key.cpp 
	server         : movie_root.cpp movie_root.h 

Log message:
	* server/movie_root.cpp: remove the key listener from the listener container, 
	  not just unregister it.
	* server/movie_root.h: add a public getKeyListeners() to return the key listener
	  set.
	* server/asobj/key.cpp: unregister the key listener. Hopefully fix bug #20317, 
	  will do more tests later.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3697&r2=1.3698
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.cpp?cvsroot=gnash&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.73&r2=1.74
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.64&r2=1.65

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3697
retrieving revision 1.3698
diff -u -b -r1.3697 -r1.3698
--- ChangeLog	10 Jul 2007 11:45:33 -0000	1.3697
+++ ChangeLog	10 Jul 2007 12:22:33 -0000	1.3698
@@ -1,5 +1,13 @@
 2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
 
+	* server/movie_root.cpp: remove the key listener from the listener container, 
+	  not just unregister it.
+	* server/movie_root.h: add a public getKeyListeners() to return the key listener set.
+	* server/asobj/key.cpp: unregister the key listener. Hopefully fix bug #20317, will
+	  do more tests later.
+	  
+2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
+
 	* testsuite/misc-ming.all/key_event_test5.c: more tests.
 	* testsuite/misc-ming.all/key_event_test5runner.c: add a testrunner.
 	* testsuite/misc-ming.all/Makefile.am: enable key_event_test4runner,

Index: server/asobj/Key.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- server/asobj/Key.cpp	10 Jul 2007 04:59:24 -0000	1.27
+++ server/asobj/Key.cpp	10 Jul 2007 12:22:34 -0000	1.28
@@ -189,7 +189,18 @@
 void
 key_as_object::remove_listener(const KeyListener& listener)
 {
-	_vm.getRoot().remove_key_listener(listener);
+	std::vector<KeyListener> & listeners = _vm.getRoot().getKeyListeners();
+
+	std::vector<KeyListener>::iterator end = listeners.end();
+	for	(std::vector<KeyListener>::iterator	iter = listeners.begin();
+				 iter	!= end;	++iter)	
+	{
+			if ((*iter)	== listener) {
+				// Found it
+				iter->unregisterUserHandler();
+				return;
+			}
+	}
 }
 #else
 void

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- server/movie_root.cpp	10 Jul 2007 04:59:24 -0000	1.73
+++ server/movie_root.cpp	10 Jul 2007 12:22:34 -0000	1.74
@@ -795,8 +795,8 @@
          iter != end; ++iter) 
 	{
       if ((*iter) == listener) {
-		  // Found it
-		iter->unregisterUserHandler();
+				// If found, then remove it from the container
+				_keyListeners.erase(iter);
         return;
       }
     }

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- server/movie_root.h	10 Jul 2007 04:59:24 -0000	1.64
+++ server/movie_root.h	10 Jul 2007 12:22:34 -0000	1.65
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.64 2007/07/10 04:59:24 strk Exp $ */
+/* $Id: movie_root.h,v 1.65 2007/07/10 12:22:34 zoulunkai Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -423,10 +423,10 @@
 	// otherwise, just register it.
 	void add_key_listener(const KeyListener& listener);
 	
-	// Unregister the specified key listener, never really remove it.
-	// The name is confusing just that the built-in Key.removeListener() 
-	// does not really remove any thing.
+	// remove the specified listener from the container if found
 	void remove_key_listener(const KeyListener& listener);
+	
+	std::vector<KeyListener> & getKeyListeners() { return _keyListeners; }
 #else
 	void add_key_listener(as_object* listener);
 	void remove_key_listener(as_object* listener);



From MAILER-DAEMON Tue Jul 10 08:24:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Elf-0000Eb-1q
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 08:24:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Eld-0000CI-Ny
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 08:24:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Elb-00009J-GJ
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 08:24:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Elb-00009G-Bp
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 08:24:31 -0400
Received: from smtpauth13.prod.mesa1.secureserver.net ([64.202.165.37])
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <eh@narthex.us>) id 1I8Ela-0001kM-UQ
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 08:24:31 -0400
Received: (qmail 18902 invoked from network); 10 Jul 2007 12:24:29 -0000
Received: from unknown (67.41.226.185)
	by smtpauth13.prod.mesa1.secureserver.net (64.202.165.37) with ESMTP;
	10 Jul 2007 12:24:28 -0000
Message-Id: <6.0.0.22.2.20070710062238.0228b720@mail.narthex.us>
X-Sender: eh@narthex.us@mail.narthex.us
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Tue, 10 Jul 2007 06:24:22 -0600
To: "zou lunkai" <zoulunkai@gmail.com>,"Sandro Santilli" <strk@keybit.net>
From: Eric Hughes <eh@narthex.us>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
In-Reply-To: <ca4b43ff0707092007p24b885c8i4b50406e1f1982f3@mail.gmail.co
 m>
References: <E1I85qE-0007pX-Vz@cvs.savannah.gnu.org>
	<ca4b43ff0707092007p24b885c8i4b50406e1f1982f3@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 12:24:33 -0000

At 09:07 PM 7/9/2007, zou lunkai wrote:
>obj = new Object();
>obj.onKeyDown = function ()  { };
>Key.addListener(obj);
>delete obj;
>
>The observed behavious is:
>After deleting 'obj', the onKeyDown event handler could still be
>invoked.  So I think the created object is still alive, but without an
>explicit reference.

Mr. Broken Record Man here.  If the reference to 'obj' that 
'Key.addListener' stores were a weak reference, then this would all work 
without further ado.  If I'm counting right, this is the third use case 
I've mentioned.

Eric




From MAILER-DAEMON Tue Jul 10 09:54:56 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8GB6-0004QA-Hw
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 09:54:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8GB4-0004Ps-L0
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 09:54:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8GB2-0004Pg-2o
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 09:54:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8GB1-0004Pd-TY
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 09:54:51 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I8GB0-0002Kz-Cn
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 09:54:51 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6ADsea64311;
	Tue, 10 Jul 2007 15:54:40 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Tue, 10 Jul 2007 15:54:40 +0200
From: Sandro Santilli <strk@keybit.net>
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
Message-ID: <20070710135440.GB55032@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org
References: <E1I85qE-0007pX-Vz@cvs.savannah.gnu.org>
	<ca4b43ff0707092007p24b885c8i4b50406e1f1982f3@mail.gmail.com>
	<6.0.0.22.2.20070710062238.0228b720@mail.narthex.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <6.0.0.22.2.20070710062238.0228b720@mail.narthex.us>
X-detected-kernel: FreeBSD 2.0-4.2
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 13:54:55 -0000

On Tue, Jul 10, 2007 at 06:24:22AM -0600, Eric Hughes wrote:
> At 09:07 PM 7/9/2007, zou lunkai wrote:
> >obj = new Object();
> >obj.onKeyDown = function ()  { };
> >Key.addListener(obj);
> >delete obj;
> >
> >The observed behavious is:
> >After deleting 'obj', the onKeyDown event handler could still be
> >invoked.  So I think the created object is still alive, but without an
> >explicit reference.
> 
> Mr. Broken Record Man here.  If the reference to 'obj' that 
> 'Key.addListener' stores were a weak reference, then this would all work 
> without further ado.  If I'm counting right, this is the third use case 
> I've mentioned.

No, zou is saying that the event handler is *supposed* to be invoked.
Not a gnash bug, rather, an expected behaviour. So the pointer must
not be weak.

Anyway, if you can start a wiki page with all these 'cases' it
will help when we will switch from intrusive to shared ptr.
(I can only think of a single case right now, being mouse entities)

--strk;



From MAILER-DAEMON Tue Jul 10 10:01:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8GHD-0006kg-HD
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 10:01:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8GHC-0006kZ-Ad
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:01:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8GHB-0006kM-So
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:01:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8GHB-0006kJ-Pu
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:01:13 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1I8GHB-0003SQ-E5
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:01:13 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1I8GHA-0007qq-Md
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 14:01:12 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1I8GHA-0007qn-Ev
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 14:01:12 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8GHA-0007qn-Ev@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Tue, 10 Jul 2007 14:01:12 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal/doc
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 14:01:14 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/10 14:01:12

New directory:
	cygnal/doc

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/doc/?cvsroot=gnash



From MAILER-DAEMON Tue Jul 10 10:02:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8GHy-0006t2-9M
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 10:02:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8GHw-0006s6-Ft
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:02:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8GHv-0006ro-Id
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:01:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8GHv-0006rh-88
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:01:59 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I8GHt-0003b3-PN
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:01:58 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6AE1lx64482;
	Tue, 10 Jul 2007 16:01:47 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Tue, 10 Jul 2007 16:01:47 +0200
To: Zou Lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog server/asobj/Key.cpp server/mov...
Message-ID: <20070710140147.GC55032@keybit.net>
Mail-Followup-To: Zou Lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1I8Eji-0000gh-JD@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I8Eji-0000gh-JD@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 14:02:00 -0000

On Tue, Jul 10, 2007 at 12:22:34PM +0000, Zou Lunkai wrote:

> +	std::vector<KeyListener> & listeners = _vm.getRoot().getKeyListeners();

Zou, just a minor thing.
I was using a std::set in the old design.
std::set is an ordered container, using a binary tree for seeks.
This helps by making the removeListener() faster.
In general try always using typedefs for the containers. I think
I already provided a KeyListeners typedef in this case.
Using a typedef helps changing the underlying container without
requiring a lot of changes around.
In the KeyListener class case, the std::set should be defined with
a custom comparator, using the wrapped intrusive_ptr for comparison.

--strk; 




From MAILER-DAEMON Tue Jul 10 10:09:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8GP7-0000p9-Ig
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 10:09:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8GP5-0000mh-Hs
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:09:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8GP0-0000iD-5O
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:09:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8GOz-0000i6-VF
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:09:18 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1I8GOw-0004z2-4T
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:09:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1I8GOv-00080m-Co
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 14:09:13 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1I8GOu-00080j-RK
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 14:09:13 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8GOu-00080j-RK@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Tue, 10 Jul 2007 14:09:12 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal ACT/ACT.hpp ACT/Change_Log.txt ACT...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 14:09:23 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/10 14:09:12

Modified files:
	cygnal/ACT     : ACT.hpp Change_Log.txt Cygnal_Instances.cpp 
	                 Scheduler.cpp Scheduler.hpp 
	                 Scheduling_Queue.hpp Service.cpp Service.hpp 
	cygnal/ACT/test_support: Action_Tracing.hpp 
	                         Listening_Actions.cpp 
	                         Listening_Actions.hpp 
	                         Simple_Actions.cpp Simple_Actions.hpp 
	cygnal/ACT/unit_tests: Test_ACT.cpp Test_Scheduler.cpp 
	                       Test_Scheduling_Queue.cpp 
	cygnal/HTTP    : HTTP_Behavior.cpp HTTP_Behavior.hpp 
	                 HTTP_Parse.cpp HTTP_Parse.hpp URI.cpp URI.hpp 
	cygnal/HTTP/unit_tests: Test_HTTP.cpp 
	cygnal/IO      : IO_Device.hpp IO_Generator.cpp IO_Generator.hpp 
	                 Stream_Consumer.cpp Stream_Consumer.hpp 
	cygnal/IO/test_support: Null_Device.cpp Null_Device.hpp 
	                        Null_Filter.cpp Null_Filter.hpp 
	                        String_Device.cpp String_Device.hpp 
	                        String_Generator.cpp 
	                        String_Generator.hpp 
	cygnal/IO/unit_tests: Test_Service.cpp 
	cygnal/Net     : Net.hpp Old_Device.hpp socket_device.cpp 
	                 socket_device.hpp 
	cygnal/Net/unit_tests: Test_socket_device.cpp 
	cygnal/unit_tests: Permutation.hpp Random_Permutation.cpp 
	                   Test_Support.hpp 
Added files:
	cygnal/ACT     : ACT.doxygen.txt Handle.cpp Handle.hpp 
	                 Listen.T.cpp Listen.hpp Pause_Demon.cpp 
	                 Pause_Demon.hpp Scheduler.T.cpp 
	cygnal/ACT/test_support: Supplied_Service.cpp 
	                         Supplied_Service.hpp 
	cygnal/HTTP    : Change_Log.txt 
	cygnal/Net     : Change_Log.txt 
	cygnal         : Aspect.hpp Change_Log.txt mainpage.doxygen.txt 
	cygnal/doc     : Doxyfile 
Removed files:
	cygnal/ACT     : Pause_Service.cpp Pause_Service.hpp 

Log message:
	ACT module to alpha quality.  Two major steps were to get listener actions and monitors working and to get the aspect templates and white box testing working.
	Performed a few renamings and retypings of fundamental concepts, so textual changes are extensive.
	Wrote a first pass of module documentation, so things aren't completely opaque.
	Added Change_Log.txt in each module; see them for details.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/ACT.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Change_Log.txt?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Cygnal_Instances.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Scheduler.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Scheduler.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Scheduling_Queue.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Service.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Service.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/ACT.doxygen.txt?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Handle.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Handle.hpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Listen.T.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Listen.hpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Pause_Demon.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Pause_Demon.hpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Scheduler.T.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Pause_Service.cpp?cvsroot=gnash&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Pause_Service.hpp?cvsroot=gnash&r1=1.2&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Action_Tracing.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Listening_Actions.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Listening_Actions.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Simple_Actions.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Simple_Actions.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Supplied_Service.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Supplied_Service.hpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_ACT.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_Scheduler.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/HTTP_Behavior.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/HTTP_Behavior.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/HTTP_Parse.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/HTTP_Parse.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/URI.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/URI.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/Change_Log.txt?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/unit_tests/Test_HTTP.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Device.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Generator.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Generator.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Stream_Consumer.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Stream_Consumer.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Device.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Device.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Filter.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Filter.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Device.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Device.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Generator.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Generator.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/unit_tests/Test_Service.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/Net.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/Old_Device.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/socket_device.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/socket_device.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/Change_Log.txt?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/unit_tests/Test_socket_device.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Permutation.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Random_Permutation.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Test_Support.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Aspect.hpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Change_Log.txt?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/mainpage.doxygen.txt?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/doc/Doxyfile?cvsroot=gnash&rev=1.1

Patches:
Index: ACT/ACT.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/ACT.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/ACT.hpp	1 Jul 2007 10:53:50 -0000	1.3
+++ ACT/ACT.hpp	10 Jul 2007 14:09:08 -0000	1.4
@@ -19,7 +19,7 @@
 //
 
 /**	\file ACT.hpp
- *	Asynchronous Computation Task
+ *	\brief Asynchronous Computation Task
  */
 
 #pragma once
@@ -31,21 +31,83 @@
 using boost::shared_ptr ;
 
 namespace ACT {
-
-	class wakeup_listener ;
-
 	//-------------------------
-	/** \enum act_state
-	 *	\brief Generically relevant ACT states.
+	/** \class ACT_State
+	 *	\brief Generically state of an ACT as a scheduler and other actions see it.
 	 *
-	 *	There are exactly three generic ACT states.
-	 *	Particular kinds of ACT may refine this set of states, but they must also preserve the meaning of these three.
-	 *	- Working.  Not yet finished.
-	 *	- Completed.  Finished normally.
-	 *	- Bad.  Finished abnormally.
+	 *	This enumeration is at the core of the control flow idiom of the ACT environment.
+	 *	When a scheduler or another action calls an action, the action may complete its call before it completes its embodied operation.
+	 *	The states break down as follows:
+	 *	- Action is not finished.
+	 *		In this case, the operation is not yet finished and is still working.
+	 *		Further calls to this action will be necessary to get to a finished state,
+	 *			which will not happen autonomously.
+	 *		This state comes in two varieties.
+	 *		- Ready. 
+	 *			The action spontaneously yielded control.
+	 *			An immediate call to this action would immediately continue.
+	 *		- Waiting.
+	 *			The action returned because it would block otherwise.
+	 *			An immediate call to this action is unlikely to do anything else.
+	 *	- Action has finished.
+	 *		One way or another, this action has finished its processing.
+	 *		Further calls to this action do nothing.
+	 *		- Completed.  
+	 *			The action has finished and its ordinary postconditions may be relied upon.
+	 *		- Bad.  
+	 *			The action has entered an abnormal state and its ordinary postconditions need not be true.
+	 *			As a rule, actions in this state terminated early.
+	 *
+	 *	An important aspect of the Waiting state is that an action that returns this state
+	 *		has accepted responsibility for setting in motion its own later wake-up.
+	 *	The scheduler does not do this, since it doesn't deal in specifics.
 	 */
-	enum act_state { Working, Completed, Bad } ;
+	class ACT_State
+	{
+	public:
+		/// Symbolic names for the return states of an action.
+		enum state {
+			/// Not finished.  Ready to continue immediately.
+			Ready,
+			/// Not finished.  Presumed not ready.
+			Would_Block,
+			/// Finished normally.
+			Completed,
+			/// Abnormal termination; now finished.
+			Bad
+		} ;
+
+	private:
+		/// This class is a wrapper around this state.
+		state x ;
+
+	public:
+		/// Ordinary constructor
+		ACT_State( state x ) : x( x ) {} ;
+
+		/// Ordinary assignment
+		ACT_State & operator=( state y ) { x = y ; return * this ; }
+
+		/// Convenience test.
+		inline bool ready() const { return x == Ready ; }
+
+		/// Convenience test.
+		inline bool would_block() const { return x == Would_Block ; }
+
+		/// Convenience test.
+		inline bool completed() const { return x == Completed ; }
+
+		/// Convenience test.
+		inline bool bad() const { return x == Bad ; }
 
+		/// Test whether state is an unfinished (i.e. still working) state.
+		/// If true, it's either Ready or Waiting.
+		inline bool working() const { return x <= Would_Block ; }
+	} ;
+
+	//-------------------------
+	// Forward
+	class wakeup_listener ;
 	//-------------------------
 	/**	\class basic_act
 	 *	\brief Base class for specific ACT uses.
@@ -72,7 +134,6 @@
 	 *	The basic idea of an ACT splits the keyword "return" into two different kinds.
 	 *	- The ordinary "return", which indicates completion of the task.
 	 *		This is represented by the states \c Completed and \c Bad.
-	 *		This kind of
 	 *	- An interruption "yield", which indicates not-yet-completion of the task.
 	 *		This is represented by the state \c Working.
 	 *
@@ -104,47 +165,53 @@
 	 */
 	class basic_act {
 		/// Child classes may access and alter the internal state.
-		act_state the_state ;
+		ACT_State the_state ;
 
 	protected:
 		/// Protected constructor for child classes.
 		basic_act() 
-			: the_state( Working )
+			: the_state( ACT_State::Ready )
 		{}
 
 		/// Protected setter for subclass implementation.
-		inline act_state set_working() { return the_state = Working ; }
+		inline ACT_State set_ready() { return the_state = ACT_State::Ready ; }
 
 		/// Protected setter for subclass implementation.
-		inline act_state set_completed() { return the_state = Completed ; }
+		inline ACT_State set_would_block() { return the_state = ACT_State::Would_Block ; }
 
 		/// Protected setter for subclass implementation.
-		inline act_state set_bad() { return the_state = Bad ; }
+		inline ACT_State set_completed() { return the_state = ACT_State::Completed ; }
+
+		/// Protected setter for subclass implementation.
+		inline ACT_State set_bad() { return the_state = ACT_State::Bad ; }
 
 		/// Protected arbitrary setter for subclasses that filter.
-		inline act_state set_state( act_state x ) { return the_state = x ; }
+		inline ACT_State set_state( ACT_State x ) { return the_state = x ; }
 
 	public:
 		///
-		inline act_state internal_state() { return the_state ; }
+		inline ACT_State internal_state() { return the_state ; }
 
 		/// 
-		inline bool working() const { return the_state == Working ; }
+		inline bool ready() const { return the_state.ready() ; }
 
 		/// 
-		inline bool completed() const
-		{
-			return the_state == Completed ;
-		}
+		inline bool would_block() const { return the_state.would_block() ; }
+
+		/// Return is whether this action is in an unfinished state (either Ready or Waiting)
+		inline bool working() const { return the_state.working() ; }
+
+		/// 
+		inline bool completed() const { return the_state.completed() ; }
 
 		/// 
-		inline bool bad() const { return the_state == Bad ; }
+		inline bool bad() const { return the_state.bad() ; }
 
 		///
-		virtual act_state operator()( void ) =0 ;
+		virtual ACT_State operator()( void ) =0 ;
 
 		///
-		virtual act_state operator()( wakeup_listener * ) =0 ;
+		virtual ACT_State operator()( wakeup_listener * ) =0 ;
 
 	} ;
 
@@ -161,13 +228,13 @@
 		 *	It is reasonable to consider this as an analogue of a thread body.
 		 *
 		 *	\pre 
-		 *	- the_state == Working.
+		 *	- the_state is working.
 		 *		(Note: operator(), acting as a facade, ensures this predicate.)
 		 *	\post
 		 *	- the_state == Working implies success conditions are not yet met nor are they yet precluded.
 		 *	- return == internal_state().
 		 */
-		virtual act_state run( void ) =0 ;
+		virtual ACT_State run( void ) =0 ;
 
 	public:
 		/**	\brief operator() is a facade for the body of an ACT.
@@ -176,13 +243,13 @@
 		 *	- the_state == Working implies success conditions are not yet met nor are they yet precluded.
 		 *	- return == internal_state().
 		 */
-		inline act_state operator()( void )
+		inline ACT_State operator()( void )
 		{
 			if ( ! working() ) return internal_state() ;
 			return run() ;
 		}
 
-		inline act_state operator()( wakeup_listener * )
+		inline ACT_State operator()( wakeup_listener * )
 		{
 			return operator()() ;
 		}
@@ -212,7 +279,7 @@
 		 *		wakeup_listener may be called when progress on the ACT is possible.
 		 *
 		 *	\note
-		 *	The postcondition is not a guarantee that a \c wakeup_listener <b>will</b> be called,
+		 *	The postcondition is not a guarantee that a wakeup_listener <b>will</b> be called,
 		 *		but rather that a reliance upon the caller that this instance <b>may</b> call
 		 *		the listener (assuming it's not null).
 		 *	Certain ACT's may provide such a guarantee that they will call.
@@ -220,7 +287,7 @@
 		 *		when I/O is available.
 		 *
 		 *	\note
-		 *	The input parameter \c wakeup_listener may indeed be zero.
+		 *	The input parameter wakeup_listener may indeed be zero.
 		 *	The intent behind this choice is to enable a scheduler to forbid an ACT
 		 *		from setting up a background poll or notification.
 		 *	Should a scheduler do this, it must assume the responsibility for checking back later.
@@ -236,19 +303,22 @@
 		 *		recently executed" policy for selecting the next ACT to run.
 		 *	Furthermore, these policies might be blended, putting "slow" operations into
 		 *		notification mode and "fast" operations into direct retry mode.
+		 *
+		 *	\sa
+		 *	ACT_State: For more detailed information on the meaning of the return value.
 		 */
-		virtual act_state run( wakeup_listener * ) =0 ;
+		virtual ACT_State run( wakeup_listener * ) =0 ;
 
 	public:
 		///
-		inline act_state operator()( wakeup_listener * w )
+		inline ACT_State operator()( wakeup_listener * w )
 		{
 			if ( ! working() ) return internal_state() ;
 			return run( w ) ;
 		}
 
 		/// Convenience zero-parameter operator() ;
-		inline act_state operator()() { return operator()( 0 ) ; }
+		inline ACT_State operator()() { return operator()( 0 ) ; }
 	} ;
 
 	//-------------------------
@@ -257,7 +327,7 @@
 	 *	Allows hiding 'new' allocation and avoiding defective memory management.
 	 *	Enables passing ACT instances by copying pointers.
 	 *
-	 *	\inv
+	 *	\invariant
 	 *		the_body != 0
 	 *
 	 */
@@ -288,7 +358,7 @@
 
 		/** Proxy for the body's function operator
 		 */
-		act_state operator()( wakeup_listener * x ) {
+		ACT_State operator()( wakeup_listener * x ) {
 			if ( working() ) {
 				return the_body -> operator()( x ) ;
 			}

Index: ACT/Change_Log.txt
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Change_Log.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ACT/Change_Log.txt	19 Jun 2007 18:52:25 -0000	1.1
+++ ACT/Change_Log.txt	10 Jul 2007 14:09:08 -0000	1.2
@@ -1,3 +1,133 @@
+Change Log for GNU Cygnal, Module ACT
+=====================================
+
+2007-07-10 Eric Hughes <eh@narthex.us>
+	* Pause_Demon.[hc]pp: Renamed from Pause_Service.[hc]pp.
+	* ACT/unit_tests/Test_Scheduler.cpp: Added finished_at_bound() to scheduler test aspect.  (Re-)Wrote a proper pause demon test.
+	* ACT/ACT.doxygen.txt: Added more environment documentation.
+
+2007-07-09 Eric Hughes <eh@narthex.us>
+	* Scheduler.hpp, Scheduler.cpp, Scheduler.T.cpp: Renamed scheduler category Service to Demon to get rid of a name collision.
+
+2007-07-06 Eric Hughes <eh@narthex.us>
+	* ACT.hpp, Handle.cpp, Listen.T.cpp, Pause_Service.hpp, Scheduler.hpp, Scheduler.T.cpp, Scheduling_Queue.hpp, Service.hpp, test_support/Action_Tracing.hpp, test_support/Simple_Actions.hpp, test_support/Supplied_Service.hpp: Comment cleanup for doxygen.
+	* unit_tests/Test_Scheduler.cpp: Put everything into namespace ACT_Test.  New doxygen comments.
+
+2007-07-05 Eric Hughes <eh@narthex.us>
+	* ../Aspect.hpp: Put declarations within namespace \c aspect.
+	* Cygnal_Instances.cpp, Handle.hpp, Scheduler.hpp, Service.hpp, test_support/Supplied_Service.hpp, unit_tests/Test_Scheduler.cpp: Added aspect namespace declarations.  Put specializations of null aspects into proper namespace block.
+
+2007-07-04 Eric Hughes <eh@narthex.us>
+	* Scheduler.T.cpp: Renamed from Scheduler_T.cpp.
+	* Cygnal_Instances.cpp, unit_tests/Test_Scheduler.cpp, unit_tests/Test_Scheduling_Queue.cpp: Changed file name references.
+	* Listen.hpp: Added documentation.
+	* Listen.cpp: Added documentation.  Slightly changed removal loop.
+	* test_support/Listening_Actions.[hc]pp: Moved null constructor to header. Fixed comments.  Removed unused member.
+
+2007-07-04 Eric Hughes <eh@narthex.us>
+	* Listen.hpp, Listen.T.cpp, test_support/Listening_Actions.[hc]pp: Factored out monitor base class from N_to_completion_Monitor.
+
+2007-07-04 Eric Hughes <eh@narthex.us>
+	* Listen.hpp, Listen.T.cpp, test_support/Listening_Actions.[hc]pp: Extracted generic listening base class from N_to_completion.
+
+2007-07-03 Eric Hughes <eh@narthex.us>
+	* Scheduler_T.cpp: Renamed from Scheduler_Templated.cpp.
+	* Cygnal_Instances.cpp, unit_tests/Test_Scheduler.cpp: Renamed file name references.
+
+2007-07-03 Eric Hughes <eh@narthex.us>
+	* Scheduler.hpp, Scheduler_Templated.cpp: Removed execution loop with bound.  Augmented aspect points.
+	* unit_tests/Test_Scheduler.cpp: Wrote test aspect for scheduler with an execution bound.  Converted all test cases to use it.
+
+2007-07-02 Eric Hughes <eh@narthex.us>
+	* Scheduler.hpp: Made Scheduler and wakeup_listener virtual base classes.  
+	* Scheduler.hpp, Scheduling_Queue.hpp: Added template parameters to wakeup_listener_allocated and Basic_Wakeup_Listener.  
+	* Scheduler.hpp, Scheduler_Templated.cpp: Added aspect to Basic_Scheduler.
+	* Scheduler_Templated.cpp, Scheduler.cpp: Moved wake up listener code from non-template to template source.	
+	* Cygnal_Instances.cpp: Instantiate Basic_Scheduler directly, now that Scheduler is an interface.
+	* Handle.hpp: Added inline declarations for aspect class.
+	* unit_tests/Test_Scheduler.cpp: Added test aspect for Basic_Scheduler.
+	* unit_tests/Test_Scheduling_Queue.cpp: Added more explicit template instantiations.
+
+2007-06-30 Eric Hughes <eh@narthex.us>
+	* test_support/Listening_Actions.[hc]pp: Changed follower registry for listening monitors to use weak pointers.
+
+2007-06-30 Eric Hughes <eh@narthex.us>
+	* Service.[hc]pp: Enabled testing a Generator for completion so that a Service may complete.
+	* test_support/Supplied_Service.[hc]pp: Added shutdown completion to Supplied_Service.
+	* unit_tests/Test_Scheduler.cpp: Augmented service test to add shutdown.
+
+2007-06-29 Eric Hughes <eh@narthex.us>
+	* Scheduler.[hc]pp, Scheduler_Templated.cpp: renamed enumeration identifier Service to action_Service.
+	* Service.[hc]pp: Added aspect to class Service. Base aspect defines two points, one each at the beginning and end of run().
+	* Supplied_Service.[hc]pp: Used Service aspect to enable tracking of Service::run().
+
+2007-06-29 Eric Hughes <eh@narthex.us>
+	* Cygnal_Instances.cpp: Included Handle.cpp to get the handle class instantiated also.
+	* Scheduler.hpp, Scheduler_Templated.hpp: Added Handled as parent class of Basic_Scheduler.
+	* test_support/Listening_Actions.[hc]pp: Used Handle_Registry_Follower to enable one monitor per scheduler, rather than one monitor per class.
+	* test_support/Supplied_Service.hpp, unit_tests/Test_Scheduler.cpp: Added tracker to Supplied_Service constructor.
+
+2007-06-29 Eric Hughes <eh@narthex.us>
+	* ../Aspect.hpp: Cleaned up set_owner definitions and inheritance idiom.  Renamed Aspect_Base to Null_Aspect_Base.
+	* Scheduler.hpp: Added aspect to Basic_Scheduler (as-yet unused).  Made typedef so that external code can just use symbol 'Scheduler'.
+	* Scheduler.cpp, Scheduler_Templated.cpp, Cyngal_Instances.cpp: Split template member definitions into separate file for inclusion and explicit instantiation.  Avoids multiple definitions of non-template classes.
+	* Handle.hpp, unit_tests/Test_Scheduler.cpp: Split null aspect for Handled as per new idiom. Cleaned up test aspect definitions accordingly.
+	* Pause_Service.hpp, Service.[ch]pp, test_support/Supplied_Service.hpp, unit_tests/Test_Scheduler.cpp: Replaced 'Basic_Scheduler' with 'Scheduler'.
+
+2007-06-28 Eric Hughes <eh@narthex.us>
+	* ../Aspect.hpp: Added arity-2 null aspect.
+	* Handle.[hc]pp: Added Marker classes for Handle, etc. to isolate use of indices.
+	* unit_tests/Test_Scheduler.cpp: Added arity-2 test aspect; updated test to use markers.
+
+2007-06-27 Eric Hughes <eh@narthex.us>
+	* Handle.[hc]pp: Finished implementation of Handle_Registry_Follower, including its null aspect. Added new proxies for Vector_with_Handle_Index.
+	* unit_tests/Test_Scheduler.cpp: New unit test for Handle_Registry_Follower, including a test aspect.
+
+2007-06-27 Eric Hughes <eh@narthex.us>
+	* Handle.hpp: Beginning of an implementation of Handle_Registry_Follower.
+	* test_support/Simple_Actions.hpp: Removed extraneous (and previous) definition of class N_to_completion.
+	* Many small comment modification to doxygen comments.
+	
+2007-06-27 Eric Hughes <eh@narthex.us>
+	* Handle.[hc]pp, unit_tests/Test_Scheduler.cpp: Renamed Handle_Registry to Handle_Registry_Leader.
+
+2007-06-26 Eric Hughes <eh@narthex.us>
+	* ../Aspect.hpp: Added Aspect_Has_Access_To_Owner to make owner access generic.
+	* Handle.hpp: Changed initialization of aspect owner pointer.
+	* unit_tests/Test_Scheduler.cpp: Reworked owner access with new classes.
+
+2007-06-26 Eric Hughes <eh@narthex.us>
+	* Handle.hpp: Renamed Handled::at() to Handled::registry_at().
+
+2007-06-25 Eric Hughes <eh@narthex.us>
+	* ../Aspect.cpp: Changed instantiation order for aspects for technical reasons involving self-reference in template parameters.
+	* Handle.hpp: Added typedefs for aspect_type and friend declarations.
+	* Handle.cpp: Changed template declarations to match new aspect idiom.
+	* unit_tests/Test_Scheduler.cpp: Completed the white box test for Handled.  It passes.
+
+2007-06-23 Eric Hughes <eh@narthex.us>
+	* Handle.hpp: Added Handle_Registry::remove() and Handle::~Handle().
+	* Handle.cpp: Implemented Handle_Registry::remove().
+	* unit_tests/Test_Scheduler.cpp: Added empty aspect methods for verification under debugger.
+
+2007-06-23 Eric Hughes <eh@narthex.us>
+	* ../Aspect.hpp: Base template classes to assist writing derivable aspects.
+	* Handle.hpp: Added aspects to Handle_Registry and Handled.  
+	* Handle.cpp: Use two hooks in Handle_Registry::add, which distinguish between adding a new registry entry and reusing an existing one.
+	* unit_tests/Test_Scheduler.cpp: Added test aspects for Handled and Handled_Registry.  They compile buit don't yet do anything.
+
+2007-06-23 Eric Hughes <eh@narthex.us>
+	* Handle.[hc]pp: New classes for handles, handle indices to vectors, and handle-registered classes.
+	* unit_tests/Test_Scheduler.cpp: Unit test for handled class
+
+2007-06-22 Eric Hughes <eh@narthex.us>
+	* Scheduler.hpp: Added second sequence number for round-robin scheduling of background service.
+	* Scheduler.cpp: Changed add_service to use new sequence number and activate_one_item to use it.
+	* Service.hpp: Renamed old Generator class; wrote new one.  Added shutdown method to Service.
+	* Service.cpp: Rewrote loop of Service::run to use new Generator.
+	* unit_tests/Test_Scheduler.cpp: Unit test for Service.
+	* test_support/Supplied_Service.[hc]pp: New service class with internal vector of prebuilt actions.
+
 2007-06-19 Eric Hughes <eh@narthex.us>
 	Added a completion check for the test listening action.
 	All unit tests now fully pass.

Index: ACT/Cygnal_Instances.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Cygnal_Instances.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/Cygnal_Instances.cpp	1 Jul 2007 10:53:50 -0000	1.3
+++ ACT/Cygnal_Instances.cpp	10 Jul 2007 14:09:08 -0000	1.4
@@ -18,7 +18,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/**	\file Cygnal_Instance.cpp
+/**	\file Cygnal_Instances.cpp
  *	\brief Template instances of Scheduling_Queue etc. needed for Cygnal.
  *
  *	Because we define the implementations of template functions outside of its declaration in its header,
@@ -28,10 +28,13 @@
  *	Separating definition and instantiation alleviates problems with multiply-defined symbols.
  */
 
+#include "Handle.cpp"
 #include "Scheduling_Queue.cpp"
+#include "Scheduler.T.cpp"
 
 namespace ACT {
-	// Explicit template instantiation.
-	template Basic_Scheduler::queue_type ;
+	// Explicit template instantiations.
+	template Basic_Scheduler< aspect::Null_Aspect_0 >::queue_type ;
+	template Basic_Scheduler< aspect::Null_Aspect_0 > ;
 
 } // end namespace ACT

Index: ACT/Scheduler.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Scheduler.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/Scheduler.cpp	1 Jul 2007 10:53:51 -0000	1.3
+++ ACT/Scheduler.cpp	10 Jul 2007 14:09:08 -0000	1.4
@@ -37,7 +37,7 @@
 			case Task :
 				priority_category = Initial ;
 				break ;
-			case Service :
+			case Demon :
 				priority_category = Background ;
 				break ;
 			default :
@@ -57,123 +57,4 @@
 				) ;
 	}
 
-	//--------------------------------------------------
-	// wakeup_listener_allocated
-	//--------------------------------------------------
-	wakeup_listener_allocated::
-	wakeup_listener_allocated( size_t x, scheduler_pointer y )
-		: the_wakeup_listener( new wakeup_listener( x, y ) ) {}
-
-	//--------------------------------------------------
-	// wakeup_listener
-	//--------------------------------------------------
-	void
-	wakeup_listener::
-	operator()()
-	{
-		queue_type & the_queue = the_scheduler -> queue() ;
-		the_queue.item( permutation_index ).priority_category = Ordinary ;
-		the_queue.reorder( permutation_index ) ;
-	}
-
-	//--------------------------------------------------
-	// Basic_Scheduler
-	//--------------------------------------------------
-	Basic_Scheduler::
-	Basic_Scheduler()
-		: operating( true ),
-		next_sequence_number( 1 )
-	{}
-
-	//-------------------------
-	void
-	Basic_Scheduler::
-	reset()
-	{
-		operating = true ;
-	}
-
-	//-------------------------
-	void
-	Basic_Scheduler::
-	operator()()
-	{
-		while ( operating ) {
-			activate_one_item() ;
-		}
-	}
-
-	//-------------------------
-	void
-	Basic_Scheduler::
-	operator()( unsigned int activation_bound )
-	{
-		while ( operating && activation_bound > 0 ) {
-			-- activation_bound ;
-			activate_one_item() ;
-		}
-	}
-
-	//-------------------------
-	void
-	Basic_Scheduler::
-	add_task( act x )
-	{
-		item_pointer item = the_queue.push( Basic_Scheduled_Item( x, ++ next_sequence_number ), this ) ;
-	}
-
-	void
-	Basic_Scheduler::
-	add_service( act x )
-	{
-		item_pointer item = the_queue.push( Basic_Scheduled_Item( x, ++ next_sequence_number, Service ), this ) ;
-	}
-
-	void
-	Basic_Scheduler::
-	add_critical_service( act )
-	{
-	}
-
-	//-------------------------
-	void
-	Basic_Scheduler::
-	activate_one_item()
-	{
-		// Note that this operation is not locked.
-		// As of this version, this is a single-threaded server.
-		if ( the_queue.empty() ) {
-			// If the queue is finally empty, we're done.
-			operating = false ;
-			return ;
-			// An alternate behavior would be to wait indefinitely for another scheduled item.
-			// This is an asynchronous scheduler; it doesn't wait.
-			// To understand how this scheduler wakes up from quiescence, look into service actions.
-		}
-		// Assert the_queue is not empty
-
-		queue_type::pointer item = the_queue.top_ptr() ;
-		act_state result = item -> the_action( the_queue.auxiliary_top() -> get() ) ;
-		if ( result == Working ) {
-			if ( item -> action_type == Task ) {
-				// Assert action is not a service
-				item -> priority_category = Waiting ;
-				the_queue.reorder( item ) ;
-			}
-			// Note service actions do not re-prioritize right now
-		} else {
-			the_queue.pop() ;
-			// Perhaps we might want to log items gone bad here.
-		}
-	}
-
-	//-------------------------
-	bool
-	Basic_Scheduler::
-	ordinary_tasks_available()
-	{
-		if ( the_queue.empty() ) return false ;
-		return the_queue.top().priority_category <= Ordinary ;
-	}
-
 } // end namespace ACT

Index: ACT/Scheduler.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Scheduler.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/Scheduler.hpp	1 Jul 2007 10:53:51 -0000	1.3
+++ ACT/Scheduler.hpp	10 Jul 2007 14:09:08 -0000	1.4
@@ -25,19 +25,57 @@
 #define __Scheduler_hpp__
 
 #include "ACT.hpp"
+#include "Handle.hpp"
 #include "Scheduling_Queue.hpp"
 #include <boost/optional/optional.hpp>
-
+#include "../Aspect.hpp"
 //#include "boost/date_time/posix_time/posix_time.hpp"
 
+// Declarations within this namespace block intended for a new header file defining only interfaces
 namespace ACT {
+	//-------------------------
+	/**	\class Scheduler
+	 *	\brief Abstract interface to scheduler.
+	 */
+	class Scheduler
+		: public Handled< Scheduler >
+	{
+	public:
+		/// Add a task with bounded lifetime.
+		virtual void add_task( act ) =0 ;
+
+		/// Add a service with indefinite lifetime.
+		virtual void add_service( act ) =0 ;
 
+		///
+		virtual bool ordinary_tasks_available() =0 ;
+
+		///
+		Scheduler( Scheduler * that )
+			: Handled< Scheduler >( that )
+		{} ;
+	} ;
+
+	/** \class wakeup_listener
+	 *	\brief Abstract interface to a function object that wakes up a listener task that's waiting.
+	 */
+	class wakeup_listener
+	{
+	public:
+		/// The listener body.
+		virtual void operator()() =0 ;
+
+		/// Accessor for the scheduler
+		virtual Scheduler * scheduler() const =0 ;
+	} ;
+}
+
+namespace ACT {
 	//-------------------------
 	/* Forward declarations for wakeup_listener
 	 */
 	struct Basic_Scheduled_Item ;
-	class Basic_Scheduler ;
-	class wakeup_listener_allocated ;
+	template< template< class > class > class Basic_Scheduler ;
 
 	//-------------------------
 	/**	\class wakeup_listener_allocated
@@ -51,11 +89,12 @@
 	 *		this allocation strategy has no performance penalty in the steady state,
 	 *		except to the extent that excess memory usage causes unnecessary swapping.
 	 */
+	template< class S >
 	class wakeup_listener_allocated
 	{
 	public:
 		///
-		typedef Basic_Scheduler * scheduler_pointer ;
+		typedef S * scheduler_pointer ;
 		// typedef wakeup_listener::scheduler_pointer scheduler_pointer ;
 
 		///
@@ -80,7 +119,7 @@
 	} ;
 
 	//-------------------------
-	/** \class wakeup_listener
+	/** \class Basic_Wakeup_Listener
 	 *	\brief The 'A' in ACT means 'asynchronous', so in general there must be a way of notifying
 	 *		a scheduler that an inactive ACT, one that has a pending sub-action, is ready to proceed.
 	 *	This class is the interface between a scheduler and such an ACT.
@@ -95,15 +134,17 @@
 	 *	The scheduler should encapsulate its own notification receiver, however structured,
 	 *		into a function object of this class, say, by binding a member function adapter.
 	 */
-	class wakeup_listener
+	template< class S >
+	class Basic_Wakeup_Listener
+		: public wakeup_listener
 	{
 	public:
 		///
-		typedef Basic_Scheduler * scheduler_pointer ;
+		typedef S * scheduler_pointer ;
 
 	private:
 		///
-		typedef Scheduling_Queue< Basic_Scheduled_Item, wakeup_listener_allocated > queue_type ;
+		typedef Scheduling_Queue< Basic_Scheduled_Item, wakeup_listener_allocated< S > > queue_type ;
 
 		/// A pointer to the item to reschedule.
 		size_t permutation_index ;
@@ -119,7 +160,7 @@
 		inline scheduler_pointer scheduler() const { return the_scheduler ; }
 
 		/// Ordinary constructor used after item is within a scheduling queue and its storage location is known.
-		wakeup_listener( size_t x, scheduler_pointer y )
+		Basic_Wakeup_Listener( size_t x, scheduler_pointer y )
 			: permutation_index( x ), the_scheduler( y ) {}
 	} ;
 
@@ -147,26 +188,35 @@
 	} ;
 
 	//-------------------------
-	///
+	/** \brief Category of actions within Basic_Scheduler.
+	 *		Distinguishes ordinary tasks from services, which have different scheduling policies.
+	 */
 	enum Action_Category
 	{
 		/// An ordinary task, executed until completed, then discarded.
 		Task = 0,
 
-		/**	A service task, reset if completed, discarded if reset does not succeed.
+		/**	A demon task, never expected to complete, but which may complete.
 		 *
-		 *	A service executes with background priority in the scheduling queue.
+		 *	A demon executes with background priority in the scheduling queue.
 		 *	It may also have its own autonomous processing.
-		 *	The select() call behind the wakeup listener for network I/O, for example, is a service.
+		 *	The select() call behind the wakeup listener for network I/O, for example, is somewhere within a certain demon.
 		 */
-		Service,
+		Demon,
 
-		/**	A critical service is one that must be run in order for the scheduler to run.
+		/**	A critical demon is one that must be run in order for the scheduler to run.
 		 */
-		Critical_Service
+		Critical_Demon
 	} ;
 
 	//-------------------------
+	/**	\class Basic_Scheduled_Item
+	 *	\brief Data within the priority queue proper.
+	 *		This data is swapped during priority queue operations, so should remain as small as possible.
+	 *
+	 *	\par Future
+	 *		It seems that \c the_action, which isn't needed for ordering, might be able to move to the auxiliary vector.
+	 */
 	struct Basic_Scheduled_Item
 	{
 		///
@@ -189,16 +239,28 @@
 	} ;
 
 	//-------------------------
+	/**	\class Basic_Scheduler
+	 *	\brief A basic implementation of a scheduler.
+	 *
+	 *	This may not be the final production version of a scheduler.
+	 *	Nevertheless, a scheduler which is as simple as possible, but still works as a scheduler,
+	 *		should be retained for testing.
+	 *	In particular, this scheduler does not have a timeout mechanism to detect stalled actions.
+	 *	This would be a defect in a production environment.
+	 *	Such an absence should be retained for the test environment, to be able to isolate defective actions that stall.
+	 */
+	template< template< class > class Aspect = aspect::Null_Aspect_0 >
 	class Basic_Scheduler
+		: public Scheduler
 	{
 		///
-		friend wakeup_listener ;
+		friend Basic_Wakeup_Listener< Basic_Scheduler > ;
 
 		/// The type of our internal queue.
-		typedef Scheduling_Queue< Basic_Scheduled_Item, wakeup_listener_allocated > queue_type ;
+		typedef Scheduling_Queue< Basic_Scheduled_Item, wakeup_listener_allocated< Basic_Scheduler > > queue_type ;
 
 		///
-		typedef queue_type::pointer item_pointer ;
+		typedef typename queue_type::pointer item_pointer ;
 
 		/// Activate the next action once.
 		void activate_one_item() ;
@@ -213,11 +275,20 @@
 		inline queue_type & queue() { return the_queue ; }
 
 		/// Increasing sequence numbers upon scheduling implements a kind of LRU activation policy.
-		unsigned int next_sequence_number ;
+		unsigned int next_task_sequence_number ;
+
+		/// A separate sequence for services implements round-robin activation.
+		unsigned int next_service_sequence_number ;
+
+		///
+		typedef Aspect< Basic_Scheduler > aspect_type ;
+
+		///
+		aspect_type aspect ;
 
 	public:
 		/// Default constructor is private to enforce singleton
-		Basic_Scheduler() ;
+		Basic_Scheduler( aspect_type aspect = aspect_type() ) ;
 
 		/// Add an ordinary task into the scheduling queue.
 		void add_task( act ) ;
@@ -231,9 +302,6 @@
 		/// The main execution loop.
 		void operator()() ;
 
-		/// The main execution loop with an activation bound.
-		void operator()( unsigned int ) ;
-
 		///
 		bool ordinary_tasks_available() ;
 
@@ -244,6 +312,39 @@
 		void reset() ;
 	} ;
 
+	//-------------------------
+	/** \class Basic_Scheduler_Null_Aspect
+	 *	\brief Base class for aspects of \c Basic_Scheduler.
+	 */
+	class Basic_Scheduler_Null_Aspect
+	{
+	public:
+		/// Guard must be true in order for execution loop to continue.
+		inline bool run_guard() { return true ; }
+
+		/// Called before any execution starts.
+		inline void run_begin() {}
+
+		/// Called after execution stops through internal means.
+		inline void run_end_ordinary() {}
+
+		/// Called if execution stop because of guard failure.
+		inline void run_end_guard_violation() {}
+	} ;
+
+	//-------------------------
 } // end namespace ACT
 
+namespace aspect {
+	//-------------------------
+	/** \brief Default null aspect for Basic_Scheduler.
+	 */
+	template<>
+	class Null_Aspect_0< ACT::Basic_Scheduler< Null_Aspect_0 > >
+		: public Null_Aspect_Base< ACT::Basic_Scheduler< Null_Aspect_0 > >,
+		public ACT::Basic_Scheduler_Null_Aspect
+	{} ;
+
+}
+
 #endif

Index: ACT/Scheduling_Queue.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Scheduling_Queue.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/Scheduling_Queue.hpp	1 Jul 2007 10:53:51 -0000	1.3
+++ ACT/Scheduling_Queue.hpp	10 Jul 2007 14:09:08 -0000	1.4
@@ -76,7 +76,7 @@
 
 
 	//-------------------------
-	/** \class Scheduled_Item
+	/** \class Auxiliary_Item
 	 *	\brief The full data that goes into the scheduling queue.
 	 *		It includes the underlying item plus extra housekeeping information.
 	 */
@@ -99,6 +99,9 @@
 
 	//-------------------------
 	/** \class Scheduled_Item_Pointer
+	 *	\brief A pointer into an item within a scheduling queue.
+	 *	Since items within the underlying container of a queue move around,
+	 *		a pointer is necessary to track such motion and provide a stable reference for outsiders.
 	 */
 	template< class T, class Aux >
 	class Scheduled_Item_Pointer
@@ -149,7 +152,7 @@
 	{
 		// friends
 		template< class T, class Aux > friend class Scheduled_Item_Pointer ;
-		friend class wakeup_listener ;
+		template< class S > friend class Basic_Wakeup_Listener ;
 
 		/// The main queue for scheduled items.
 		std::vector< Scheduled_Item< T > > the_queue ;

Index: ACT/Service.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Service.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ACT/Service.cpp	1 Jul 2007 10:53:51 -0000	1.2
+++ ACT/Service.cpp	10 Jul 2007 14:09:08 -0000	1.3
@@ -26,42 +26,53 @@
 	//-------------------------
 	/*	\par Implementation
 	 */
-	Service::
-	Service( Generator & x, Basic_Scheduler & z )
+	template< template< class > class Aspect >
+	Service< Aspect >::
+	Service( Generator & x, Scheduler & z, aspect_type aspect )
 		: the_generator( x ),
-		our_scheduler( z )
-	{}
+		our_scheduler( z ),
+		aspect( aspect )
+	{
+		aspect.set_owner( this ) ;
+	}
 
 	//-------------------------
 	/*	\par Implementation
 	 */
-	act_state
-	Service::
+	template< template< class > class Aspect >
+	ACT_State
+	Service< Aspect >::
 	run( wakeup_listener * w )
 	{
+		aspect.log_run_begin() ;
 		// We use a loop rather than a single pass because the generator may have multiple pending actions ready for us.
 		// We'd get a similar result with just a single pass.
 		// The difference is that using a single pass here would cause loop overhead in the scheduler.
 		// It's more efficient to do ordinary cycling here.
 		//
+		bool task_added( false ) ;
 		while ( true ) {
-			the_generator( w ) ;
-			if ( the_generator.working() ) return ACT::Working ;
-			if ( the_generator.bad() ) return set_bad() ;
-			// Assert the_generator.completed()
-
-			act x( the_generator.result() ) ;
+			try {
+				shared_ptr< basic_act > x( the_generator.next_action( w ) ) ;
+				if ( ! x ) {
+					if ( the_generator.completed() && ! task_added ) {
+						aspect.log_run_end() ;
+						return set_completed() ;
+					} else {
+						aspect.log_run_end() ;
+						return set_ready() ; 
+					}
+				}
 			our_scheduler.add_task( x ) ;
-
+				task_added = true ;
+			} catch ( ... ) {
+				aspect.log_run_end() ;
+				return set_bad() ;
+			}
 			// If, in the future, ours scheduler might be unavailable for adding something new to the queue.
 			// Such unavailability would (hopefully) be temporary.
 			// It might arise, for example, from a non-blocking queue operation that just wasn't ready just yet.
-			// What we would do in that case is simply to return, avoiding the following reset.
-			// Upon next invocation, the result won't have changed and we can just try again.
-
-			// Reset the generator and re-run the action.
-			the_generator.reset() ;
+			// What we would do in that case is to save our action-pending state and introduce at the next invocation.
 		}
 	}
-
 }

Index: ACT/Service.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Service.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ACT/Service.hpp	1 Jul 2007 10:53:51 -0000	1.2
+++ ACT/Service.hpp	10 Jul 2007 14:09:08 -0000	1.3
@@ -18,7 +18,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/// \file Server.hpp
+/// \file Service.hpp
 
 #pragma once
 #ifndef __Service_hpp__
@@ -26,9 +26,12 @@
 
 #include "ACT.hpp"
 #include "Scheduler.hpp"
+#include "Aspect.hpp"
 
 namespace ACT {
-	class Generator
+	//-------------------------
+	/// \brief still used in IO, for now.
+	class Obsolete_Generator
 		: public ACT::autonomous_act
 	{
 	public:
@@ -39,6 +42,59 @@
 	} ;
 
 	//-------------------------
+	/**	\class Generator
+	 *	\brief A generator of actions, in bursts, used to feed a Service.
+	 *		This class is a base for service implementations.
+	 *
+	 */
+	class Generator
+	{
+	public:
+		/**	The parameter is necessary for when a Service must suspend itself waiting for external events.
+		 *	The central example is a socket listener, which generates new connections, each encapsulated in a protocol behavior.
+		 *
+		 *	\post
+		 *	- return is zero implies no more action is available at the present time.  Ask again later.
+		 */
+		virtual shared_ptr< basic_act > next_action( wakeup_listener * ) =0 ;
+
+		/**
+		 *	\post
+		 *	- return is true 
+		 *			implies return value of next_action will always be zero
+		 *		and	implies return value of completed will always be true
+		 */
+		virtual bool completed() { return false ; }
+
+		/** The meaning of this shut-down routine are weak and lazy, rather than strong and immediate.
+		 *	The only requirement is that the number of ready actions monotonically decrease with each call to \c next_action.
+		 *	Conceptually, there must be a counter of ready actions.
+		 *	It must decrease this count by at least one with each call to \c next_action.
+		 *
+		 *	These ready actions may be implicit or explicit.
+		 *	Explicit action are those, say, waiting in a queue, already constructed and ready to go.
+		 *	Generically, all generators will contain these kind of explict actions.
+		 *
+		 *	A central example of an implicit action is the set of pending connections on a listening socket.
+		 *	The OS has established a connection, so there's some potential action on that connection.
+		 *	Whatever that action is matter nothing to this base class.
+		 *	What does matter is that after shutdown, that the listening socket be closed, 
+		 *		or at least put in a state to reject connections, thereby not generating any new actions.
+		 *
+		 *	The weak requirement of this shutdown does not preclude immediate termination.
+		 *	The requirement is that the count of available actions decrease by at least one, not by exactly one.
+		 *	A service that wishes to hang up immediately, simply ending, may do so.
+		 *	Indeed, a particular implementation class might well have configurable shutdown behavior,
+		 *		depending on whether the desired shutdown is graceful or abrupt.
+		 *
+		 *	Implementing classes should document their approach to shutdown.
+		 *	This will avoid incorrect expectations about behavior,
+		 *		which expectations might develop out of habit or idiom, rather than out of requirement.
+		 */
+		virtual void shutdown() =0 ;
+	} ;
+
+	//-------------------------
 	/**	\class Service
 	 *	\brief A service is a persistent action whose result to create new actions and to schedule them for execution.
 	 *
@@ -51,22 +107,61 @@
 	 *	
 	 *	A service, in addition, is "always working".
 	 *	It only completes when it needs to shut down, either from an internal failure or by external command.
+	 *
+	 *	WARNING: A service must not both schedule a new action and return \c Completed in the same activation.
+	 *	This restriction simplifies implementation of the scheduler, which then doesn't need to removed
+	 *		a completed service action from within the middle of the scheduling queue.
+	 *	When a service schedules no new actions, it remains at the top of the priority queue,
+	 *		from where it can be removed like any other task.
 	 */
+	template< template< class > class Aspect = aspect::Null_Aspect_0 >
 	class Service 
 		: public autonomous_act
 	{
-		Basic_Scheduler & our_scheduler ;
+	public:
+		typedef Aspect< Service > aspect_type ;
+
+	private:
+		/// Aspect instance.
+		aspect_type aspect ;
+
+		Scheduler & our_scheduler ;
 
 		Generator & the_generator ;
 	public:
 		/// 
-		Service( Generator & x, Basic_Scheduler & z ) ;
+		Service( Generator & x, Scheduler & z, aspect_type aspect = aspect_type() ) ;
+
+		///
+		ACT_State run( wakeup_listener * ) ;
 
 		///
-		act_state run( wakeup_listener * ) ;
+		inline void shutdown() { the_generator.shutdown() ; }
+	} ;
+
+	//-------------------------
+	/**	\class Service_Null_Aspect
+	 *	\brief Null aspect for \c Service
+	 */
+	class Service_Null_Aspect
+	{
+	public:
+		void log_run_begin() {} ;
+		void log_run_end() {} ;
 	} ;
 
 	//-------------------------
 } // end namespace ACT
 
+namespace aspect {
+	//-------------------------
+	/**	\brief Default null aspect for \c Service.
+	 */
+	template<>
+	class Null_Aspect_0< ACT::Service< Null_Aspect_0 > >
+		: public ACT::Service_Null_Aspect,
+		public Null_Aspect_Base< ACT::Service< Null_Aspect_0 > >
+	{} ;
+}
+
 #endif
\ No newline at end of file

Index: ACT/test_support/Action_Tracing.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Action_Tracing.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ACT/test_support/Action_Tracing.hpp	1 Jul 2007 10:53:51 -0000	1.2
+++ ACT/test_support/Action_Tracing.hpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -30,6 +30,7 @@
 
 	//-------------------------
 	/** \class execution_trace
+	 *	\brief A wrapper around a string to hold a logging trace of an execution pathway.
 	 */
 	class execution_trace
 	{

Index: ACT/test_support/Listening_Actions.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Listening_Actions.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/test_support/Listening_Actions.cpp	1 Jul 2007 10:53:51 -0000	1.3
+++ ACT/test_support/Listening_Actions.cpp	10 Jul 2007 14:09:09 -0000	1.4
@@ -24,53 +24,33 @@
 #include "Listening_Actions.hpp"
 #include "ACT/Scheduler.hpp"
 
+// Required to obtain instantiation of template base classes
+#include "ACT/Listen.T.cpp"
+
 namespace ACT {
 	//--------------------------------------------------
 	// N_to_completion_Monitor
 	//--------------------------------------------------
-	std::vector< wakeup_listener::scheduler_pointer > N_to_completion_Monitor::schedulers ;
-
-	N_to_completion_Monitor::
-	N_to_completion_Monitor()
-		: listeners( 0 )
-	{}
-
 	void
 	N_to_completion_Monitor::
 	add_wakeup_item( N_to_completion *, wakeup_listener * w )
 	{
-		// Assert this instance is registered in the scheduler and will eventually run.
-		// Note: as of this writing, there's no way for an object to register itself with the scheduler.
-		//		Some other object must do so.
-		//		It's not yet clear whether this is good or not.
-
-		//	We ignore the N_to_completion pointer, since in this test action,
+		//	We ignore the N_to_completion pointer, since, for the purposes of the present test action,
 		//		we consider any background action always ready for wakeup after one cycle of quiescence.
-		listeners.push_back( w ) ;
+
+		Parent::add_ready_listener_task( w ) ;
 	}
 
-	act_state
+	ACT_State
 	N_to_completion_Monitor::
 	run()
 	{
-		if ( listeners.empty() ) {
-			// This monitor is no longer necessary, since there's nothing to wake up.
-			// Therefore we return complete and let the scheduler remove this instance.
-			return Completed ;
-		}
-		while ( ! listeners.empty() ) {
-			( * listeners.back() )() ;
-			listeners.pop_back() ;
-		}
-		return Working ;
+		return Parent::wake_up_ready_tasks() ;
 	}
 
 	//--------------------------------------------------
 	// N_to_completion
 	//--------------------------------------------------
-	boost::shared_ptr< N_to_completion_Monitor > N_to_completion::the_monitor ;
-
-	//-------------------------
 	N_to_completion::
 	N_to_completion( unsigned int n, tracking_function * f )
 		: total_number_of_activations( n ),
@@ -79,7 +59,7 @@
 	{}
 
 	//-------------------------
-	act_state
+	ACT_State
 	N_to_completion::
 	run( wakeup_listener * w )
 	{
@@ -88,8 +68,8 @@
 		if ( number_of_activations_left == 0 ) return set_completed() ;
 		// Assert we're not done yet.
 		// Register with our monitor before returning.
-		register_for_wakeup( w ) ;
-		return Working ;
+		register_for_wakeup( this, w ) ;
+		return set_would_block() ; ;
 	}
 
 	//-------------------------
@@ -98,22 +78,15 @@
 	reset()
 	{
 		number_of_activations_left = total_number_of_activations ;
-		set_working() ;
-	}
-
-	//-------------------------
-	void
-	N_to_completion::
-	register_for_wakeup( wakeup_listener * w )
-	{
-		if ( w == 0 ) return ;
-		if ( the_monitor.get() == 0 ) {
-			the_monitor = shared_ptr< monitor_type >( new monitor_type() ) ;
-			w -> scheduler() -> add_service( act( the_monitor ) ) ;
-		}
-		// Assert monitor exists
-		the_monitor -> add_wakeup_item( this, w ) ;
+		set_ready() ;
 	}
 
 	//-------------------------
 } // end namespace ACT
+
+//-------------------------
+// Instantiate an instance of Handle_Registry_Follower as needed for N_to_Completion
+#include "ACT/Handle.cpp"
+namespace ACT {
+	template Handle_Registry_Follower< shared_ptr< N_to_completion_Monitor >, Scheduler > ;
+}
\ No newline at end of file

Index: ACT/test_support/Listening_Actions.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Listening_Actions.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/test_support/Listening_Actions.hpp	1 Jul 2007 10:53:51 -0000	1.3
+++ ACT/test_support/Listening_Actions.hpp	10 Jul 2007 14:09:09 -0000	1.4
@@ -24,36 +24,34 @@
 #ifndef __Listening_Actions_hpp__
 #define __Listening_Actions_hpp__
 
-#include "ACT/Scheduler.hpp"
+#include "ACT/Listen.hpp"
 #include "Action_Tracing.hpp"
-#include <boost/optional.hpp>
-#include <vector>
 
 namespace ACT {
-	// Forward declaration
+	// Forward
 	class N_to_completion ;
 
 	//-------------------------
 	/**	\class N_to_completion_Monitor
 	 *	\brief A monitor for N_to_completion.
+	 *
+	 *	Note that this class derives from \c simple_act, rather than \c autonomous_act.
+	 *	The monitor that wakes up other actions does not itself sleep.
 	 */
 	class N_to_completion_Monitor
-		: public simple_act
+		: public Basic_Listen_Monitor< N_to_completion >
 	{
-		/// A vector of schedulers
-		static std::vector< wakeup_listener::scheduler_pointer > schedulers ;
+		/// Type of parent monitor class, called often in implementation
+		typedef Basic_Listen_Monitor< N_to_completion > Parent ;
 
-		std::vector< wakeup_listener * > listeners ;
-
-		act_state run() ;
+		/// Action body
+		ACT_State run() ;
 
 	public:
 		/// Default constructor.
-		N_to_completion_Monitor() ;
-
-		/// Query whether there are any actions registered for wakeup.
-		inline bool empty() { return listeners.empty() ; }
+		N_to_completion_Monitor() {} ;
 
+		/// Implementation of specific wake-up preparation
 		void add_wakeup_item( N_to_completion *, wakeup_listener * ) ;
 	} ;
 
@@ -62,14 +60,8 @@
 	 *	\brief Action that completes after N activations.
 	 */
 	class N_to_completion
-		: public autonomous_act
+		: public Basic_Listening_Task< N_to_completion, N_to_completion_Monitor >
 	{
-		/// The monitor type for these actions to register with.
-		typedef N_to_completion_Monitor monitor_type ;
-
-		///
-		static shared_ptr< monitor_type > the_monitor ;
-
 		/// Tracking
 		std::auto_ptr< tracking_function > tracker ;
 
@@ -80,19 +72,16 @@
 		unsigned int total_number_of_activations ;
 
 		/// Action body, proxied by operator()
-		act_state run( wakeup_listener * ) ;
-
-		/// Register an action for wakeup
-		void register_for_wakeup( wakeup_listener * ) ;
+		ACT_State run( wakeup_listener * ) ;
 
 	public:
 		///
 		N_to_completion( unsigned int n, tracking_function * = 0 ) ;
 
 		void reset() ;
-
 	} ;
 
+	//-------------------------
 } // end namespace ACT
 
 #endif

Index: ACT/test_support/Simple_Actions.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Simple_Actions.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ACT/test_support/Simple_Actions.cpp	1 Jul 2007 10:53:52 -0000	1.2
+++ ACT/test_support/Simple_Actions.cpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -27,7 +27,7 @@
 	//--------------------------------------------------
 	// simple_action
 	//--------------------------------------------------
-	act_state
+	ACT_State
 	single_action::
 	run()
 	{
@@ -38,12 +38,12 @@
 	//--------------------------------------------------
 	// no_action
 	//--------------------------------------------------
-	act_state
+	ACT_State
 	no_action::
 	run()
 	{
 		if ( tracker.get() != 0 ) ( * tracker )( "" ) ;
-		return Completed ;
+		return set_completed() ;
 	}
 
 } // end namespace ACT

Index: ACT/test_support/Simple_Actions.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Simple_Actions.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ACT/test_support/Simple_Actions.hpp	1 Jul 2007 10:53:52 -0000	1.2
+++ ACT/test_support/Simple_Actions.hpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -28,35 +28,10 @@
 #include "Action_Tracing.hpp"
 
 namespace ACT {
-	//-------------------------
-	/**	\class N_to_completion
-	 *	\brief Action that completes after N activations.
-	 */
-	class N_to_completion
-		: public autonomous_act
-	{
-		/// Tracking
-		std::auto_ptr< tracking_function > tracker ;
-
-		///
-		unsigned int number_of_activations_left ;
-
-		///
-		unsigned int total_number_of_activations ;
-
-		///
-		act_state run( wakeup_listener * ) ;
-
-	public:
-		///
-		N_to_completion( unsigned int n, tracking_function * = 0 ) ;
-
-		void reset() ;
-
-	} ;
 
 	//-------------------------
 	/**	\class single_action
+	 *	\brief An action that always completes at its first activation.
 	 */
 	class single_action
 		: public simple_act
@@ -65,7 +40,7 @@
 		std::auto_ptr< tracking_function > tracker ;
 
 		/// Action body
-		act_state run() ;
+		ACT_State run() ;
 	public:
 		///
 		single_action( tracking_function * x = 0 )
@@ -88,7 +63,7 @@
 		std::auto_ptr< tracking_function > tracker ;
 
 		/// Action body does very little.
-		act_state run() ;
+		ACT_State run() ;
 
 	public:
 		/// Ordinary constructor.

Index: ACT/unit_tests/Test_ACT.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_ACT.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ACT/unit_tests/Test_ACT.cpp	1 Jul 2007 10:53:52 -0000	1.2
+++ ACT/unit_tests/Test_ACT.cpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -26,6 +26,7 @@
 
 #include "../ACT.hpp"
 #include "ACT/test_support/Simple_Actions.hpp"
+#include "ACT/test_support/Listening_Actions.hpp"
 
 using namespace ACT ;
 
@@ -47,17 +48,17 @@
 		: number_of_calls( 0 )
 	{} ;
 
-	act_state run( wakeup_listener * ) 
+	ACT_State run( wakeup_listener * ) 
 	{
 		switch ( number_of_calls ) {
 			case 0 :
 				number_of_calls = 1 ;
-				return ACT::Working ;
+				return internal_state() ;
 			case 1 :
 				number_of_calls = 2 ;
 				return set_completed() ;
-			case 2 :
-				return ACT::Completed ;
+			// Note:
+			// case 2 should never be called, since the guard for calling run requires that the action still be working
 		}
 		throw std::exception( "Not Reached" ) ;
 	}

Index: ACT/unit_tests/Test_Scheduler.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_Scheduler.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/unit_tests/Test_Scheduler.cpp	1 Jul 2007 10:53:52 -0000	1.3
+++ ACT/unit_tests/Test_Scheduler.cpp	10 Jul 2007 14:09:09 -0000	1.4
@@ -24,14 +24,250 @@
 #include <boost/test/auto_unit_test.hpp>
 #include <boost/test/test_tools.hpp>
 
-#include "ACT/test_support/Simple_Actions.hpp"
 #include "ACT/Scheduler.hpp"
+#include "ACT/test_support/Simple_Actions.hpp"
+#include "ACT/test_support/Listening_Actions.hpp"
+#include "ACT/test_support/Supplied_Service.hpp"
+#include "ACT/Pause_Demon.hpp"
+
+// Include implementations for explicit instantiation.
+#include "ACT/Handle.cpp"
+#include "ACT/Scheduler.T.cpp"
+#include "ACT/Scheduling_Queue.cpp"
+
+namespace ACT_Test {
+	//--------------------------------------------------
+	// White box test of Handle using aspects.
+	//--------------------------------------------------
+	using namespace ACT ;
+
+	//---------------
+	// This is the template definition of the base aspect class.
+	// Specializations of this class provide the actual aspect classes compiled in to the classes under test.
+
+	/// \brief Generic template declaration to be specialized for particular class aspects.
+	template< class, class > class test_aspect {} ;
+	/// \brief Generic template declaration to be specialized for particular class aspects.
+	template< class, class, class > class test_aspect_2 {} ;
+
+	//---------------
+	/// \brief Test aspect for Handle_Registry_Leader
+	template< class T >
+	class test_aspect< T, Handle_Registry_Leader< T, test_aspect > >
+		: public aspect::Null_Aspect_1< T, Handle_Registry_Leader< T, aspect::Null_Aspect_1 > >
+	{
+		// We need the execution trace in this class because it's constructed statically.
+		// If we had two static classes that required a common trace, we'd have to use a third class, a singleton, to put this in.
+		execution_trace tr ;
 
-using namespace ACT ;
+	public:
+		execution_trace & trace() { return tr ; }
+		std::string result() const { return tr.result() ; }
+
+		void add_in_new_place() { tr.add( "N" ) ; }
+		void add_in_old_place() { tr.add( "O" ) ; }
+	} ;
+
+	//---------------
+	/// \brief Test aspect for Handle_Registry_Follower.
+	template< class T, class Leader >
+	class test_aspect_2< T, Leader, Handle_Registry_Follower< T, Leader, test_aspect_2 > >
+		: public aspect::Null_Aspect_2< T, Leader, Handle_Registry_Follower< T, Leader, aspect::Null_Aspect_2 > >
+	{
+		// See reason above for why the execution trace is here
+		execution_trace tr ;
+	public:
+		execution_trace & trace() { return tr ; }
+		std::string result() const { return tr.result() ; }
+
+		void access_from_existing_slot() { tr.add( "A" ) ; }
+		void enlarge_size_of_vector() { tr.add( "X" ) ; }
+	} ;
+
+	//---------------
+	// Forward
+	class test ;
+	//---------------
+	/// \brief Test aspect for Handled.
+	template< class T >
+	class test_aspect< T, Handled< T, test_aspect > >
+		: public Null_Aspect_Handled< T >,
+		public aspect::Aspect_Has_Access_To_Owner< Handled< T, test_aspect > >
+	{
+		// The explicit namespace qualification distinguishes the generic declaration from this specialization.
+		typedef Handled< test, ACT_Test::test_aspect > owner_type ;
+
+	public:
+		std::string result() const { return owner() -> our_registry.aspect.result() ; }
+	} ;
+
+	//---------------
+	/// \brief A test class for \c Handled, deriving from it in order to exercise it.
+	class test
+		: public Handled< test, test_aspect >
+	{
+		typedef Handled< test, test_aspect > Handled_Base ;
+	public:
+		test() : Handled_Base( this ) {}
+
+		std::string result() const { return aspect.result() ; }
+	} ;
+
+	//---------------
+	BOOST_AUTO_UNIT_TEST( handle_one )
+	{
+		// We declare variables within blocks to invoke their destructors.
+		{
+			test x ;
+			BOOST_CHECK( test::registry_at( x.handle() ) == & x ) ;
+			BOOST_CHECK( x.result() == "N" ) ;
+		}
+		// The second time, there should be an existing entry in the free list to allocate from
+		{
+			test x ;
+			BOOST_CHECK( test::registry_at( x.handle() ) == & x ) ;
+			BOOST_CHECK( x.result() == "NO" ) ;
+		}
+		{
+			test x ;
+			BOOST_CHECK( test::registry_at( x.handle() ) == & x ) ;
+			BOOST_CHECK( x.result() == "NOO" ) ;
+			// Another object after the previous test.
+			test y ;
+			BOOST_CHECK( test::registry_at( y.handle() ) == & y ) ;
+			BOOST_CHECK( y.result() == "NOON" ) ;
+			// Since the execution trace should be in a common class registry, results from both objects should match.
+			BOOST_CHECK( y.result() == x.result() ) ;
+		}
+	}
+
+	//---------------
+	BOOST_AUTO_UNIT_TEST( handle_two )
+	{
+		test x ;
+		Handle_Registry_Follower< int, test, test_aspect_2 > follower ;
+		std::string found( follower.aspect.result() ) ;
+		std::string expected( "" ) ;
+		BOOST_CHECK( found == "" ) ;
+
+		follower[ x.handle() ] = 1 ;
+		found = follower.aspect.result() ;
+		expected = "XA" ;		// Expand follower registry, then add
+		BOOST_CHECK_MESSAGE( found == expected,
+			"Found result " << found << ". Expected result " << expected << "." ) ;
+
+		test y ;
+		follower[ y.handle() ] = 2 ;
+		found = follower.aspect.result() ;
+		expected = "XAXA" ;		// Expand again, then add
+		BOOST_CHECK_MESSAGE( found == expected,
+			"Found result " << found << ". Expected result " << expected << "." ) ;
+
+		x.~test() ;		// invoke destructor to free up existing handle
+		test z ;		// should issue the handle that 'x' had.
+		follower[ z.handle() ] = 3 ;
+		found = follower.aspect.result() ;
+		expected = "XAXAA" ;		// No expansion this time, just add
+		BOOST_CHECK_MESSAGE( found == expected,
+			"Found result " << found << ". Expected result " << expected << "." ) ;
+	}
+
+	//--------------------------------------------------
+	// Basic exercises for the scheduler.
+	//--------------------------------------------------
+
+	/// \brief Body of test aspect for \c Basic_Scheduler; aspect itself is a pointer to this class.
+	class scheduler_aspect_body
+	{
+		size_t execution_count ;
+		size_t execution_bound ;
+	public:
+		scheduler_aspect_body()
+			: execution_bound( 0 ) {}
+
+		void run_begin() { execution_count = 0 ; }
+
+		bool run_guard()
+		{
+			if ( execution_count >= execution_bound ) return false ;
+			++ execution_count ;
+			return true ;
+		}
+
+		void set_execution_bound( size_t n ) { execution_bound = n ; }
+
+		bool finished_within_bound() { return execution_count <= execution_bound ; }
+
+		bool finished_at_bound() { return execution_count == execution_bound ; }
+
+	} ;
+
+	template< class Owner > class scheduler_aspect ;
+
+	/// \brief test aspect for \c Basic_Scheduler
+	template<>
+	class scheduler_aspect< Basic_Scheduler< scheduler_aspect > >
+		: public Basic_Scheduler_Null_Aspect,
+		public aspect::Aspect_Has_Access_To_Owner< Basic_Scheduler< scheduler_aspect > >
+	{
+		scheduler_aspect_body * body ;
+
+	public:
+		scheduler_aspect()
+			: body( 0 ) {}
+
+		scheduler_aspect( scheduler_aspect_body * b )
+			: body( b ) {}
+
+		void run_begin() { if ( body ) body -> run_begin() ; }
+
+		bool run_guard() { return ( body ) ? body -> run_guard() : true ; }
+
+		void set_execution_bound( size_t n ) { if ( body ) body -> set_execution_bound( n ) ; }
+
+		bool finished_within_bound() { return ( body ) ? body -> finished_within_bound() : false ; }
+
+		bool finished_at_bound() { return ( body ) ? body -> finished_at_bound() : false ; }
+
+	} ;
+
+	typedef scheduler_aspect< Basic_Scheduler< scheduler_aspect > > Test_Scheduler_Aspect ;
+	typedef Basic_Scheduler< scheduler_aspect > Test_Scheduler ;
+
+	// Explicit instantiation of our Test_Scheduler
+	template Test_Scheduler ;
+
+	//--------------------------------------------------
+	// This test checks that the execution guard functions correctly to limit the total number of execution passes.
+	BOOST_AUTO_UNIT_TEST( guard_functions )
+	{
+		scheduler_aspect_body a ;
+		Test_Scheduler b = Test_Scheduler( Test_Scheduler_Aspect( & a ) ) ;
+
+		/* N_to_completion( k ) causes the execution of '2k' actions:
+		 *	- 'k' actions of the N_to_completion task
+		 *	- 'k' actions of the listening monitor service.
+		 * N_to_completion( 6 ) causes 12 action invocations.
+		 * We run them 4 at a time.
+		 * After the last one, the queue should be empty.
+		 */
+		b.add_task( act( new N_to_completion( 6, 0 ) ) ) ;
+		a.set_execution_bound( 4 ) ;
+		b() ;
+		BOOST_CHECK( a.finished_within_bound() ) ;
+		BOOST_CHECK( ! b.empty() ) ;
+		b() ;
+		BOOST_CHECK( a.finished_within_bound() ) ;
+		BOOST_CHECK( ! b.empty() ) ;
+		b() ;
+		BOOST_CHECK( a.finished_at_bound() ) ;
+		BOOST_CHECK( b.empty() ) ;
+	}
 
-BOOST_AUTO_UNIT_TEST( null )
-{
-	Basic_Scheduler b ;
+	BOOST_AUTO_UNIT_TEST( some_single_actions )
+	{
+		scheduler_aspect_body a ;
+		Test_Scheduler b = Test_Scheduler( Test_Scheduler_Aspect( & a ) ) ;
 
 	execution_trace tr ;
 	b.add_task( act( new no_action( new simple_tracker( tr, "N" ) ) ) ) ;
@@ -39,40 +275,75 @@
 	b.add_task( act( new single_action( new simple_tracker( tr, "B" ) ) ) ) ;
 	b.add_task( act( new single_action( new simple_tracker( tr, "C" ) ) ) ) ;
 
-	b( 100 ) ;
+		a.set_execution_bound( 100 ) ;
+		b() ;
 	std::string expected( "ABC" ) ;
 	BOOST_CHECK_MESSAGE( tr.result() == expected,
 		"Found result " << tr.result() << ". Expected result " << expected << "." ) ;
+		BOOST_CHECK( a.finished_within_bound() ) ;
 	BOOST_CHECK( b.empty() ) ;
-}
+	}
 
-BOOST_AUTO_UNIT_TEST( act_n_interleaved )
-{
-	Basic_Scheduler b ;
-	BOOST_REQUIRE( b.empty() ) ;
+	BOOST_AUTO_UNIT_TEST( act_n_interleaved )
+	{
+		scheduler_aspect_body a ;
+		Test_Scheduler b = Test_Scheduler( Test_Scheduler_Aspect( & a ) ) ;
 
 	execution_trace tr ;
 	b.add_task( act( new N_to_completion( 2, new simple_tracker( tr, "A" ) ) ) ) ;
 	b.add_task( act( new N_to_completion( 3, new simple_tracker( tr, "B" ) ) ) ) ;
 	b.add_task( act( new N_to_completion( 5, new simple_tracker( tr, "C" ) ) ) ) ;
 	
-	b( 100 ) ;
+		a.set_execution_bound( 100 ) ;
+		b() ;
 	std::string expected( "ABCABCBCCC" ) ;
 	BOOST_CHECK_MESSAGE( tr.result() == expected,
 		"Found result " << tr.result() << ". Expected result " << expected << "." ) ;
 	BOOST_CHECK( b.empty() ) ;
-}
+	}
 
-//--------------------------------------------------
-#include "ACT/Pause_Service.hpp"
+	//--------------------------------------------------
+	// Same as act_n_interleaved, but using a Supplied_Service
 
-BOOST_AUTO_UNIT_TEST( pause_action )
-{
-	Basic_Scheduler b ;
+	BOOST_AUTO_UNIT_TEST( act_n_service )
+	{
+		scheduler_aspect_body a ;
+		Test_Scheduler b = Test_Scheduler( Test_Scheduler_Aspect( & a ) ) ;
+
+		execution_trace tr ;
+		Supplied_Service * ss = new Supplied_Service( b, new simple_tracker( tr, "S" ) ) ;
+		ss -> add_task( shared_ptr< basic_act >( new N_to_completion( 2, new simple_tracker( tr, "A" ) ) ) ) ;
+		ss -> add_task( shared_ptr< basic_act >( new N_to_completion( 3, new simple_tracker( tr, "B" ) ) ) ) ;
+		ss -> add_task( shared_ptr< basic_act >( new N_to_completion( 5, new simple_tracker( tr, "C" ) ) ) ) ;
+
+		b.add_service( act( ss ) ) ;
+		ss -> shutdown() ;
+		a.set_execution_bound( 100 ) ;
+		b() ;
+		// First "S" is to enter the new tasks into the queue.
+		// Second "S" is to allow the service to return Completed and leave the scheduling queue.
+		std::string expected( "SABCSABCBCCC" ) ;
+		BOOST_CHECK_MESSAGE( tr.result() == expected,
+			"Found result " << tr.result() << ". Expected result " << expected << "." ) ;
+	}
+
+	//--------------------------------------------------
+	BOOST_AUTO_UNIT_TEST( pause_action )
+	{
+		scheduler_aspect_body a ;
+		Test_Scheduler b = Test_Scheduler( Test_Scheduler_Aspect( & a ) ) ;
 	BOOST_REQUIRE( b.empty() ) ;
 
-	Pause_Service x( & b ) ;
+		Pause_Demon * pause( new Pause_Demon( & b ) ) ;
 	b.add_task( act( new no_action( 0 ) ) ) ;
-	x() ;
-}
+		// This pause action should immediately return, because there's a pending action in the scheduler.
+		( * pause )() ;
+
+		a.set_execution_bound( 2 ) ;
+		b.add_service( act( pause ) ) ;
+		b() ;
+		BOOST_CHECK( a.finished_at_bound() ) ;	// Pause demon should execute once, no_action once.
+		BOOST_CHECK( ! b.empty() ) ;			// demon should still be in queue.
+	}
 
+} // end namespace ACT_test
\ No newline at end of file

Index: ACT/unit_tests/Test_Scheduling_Queue.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/unit_tests/Test_Scheduling_Queue.cpp	1 Jul 2007 10:53:52 -0000	1.3
+++ ACT/unit_tests/Test_Scheduling_Queue.cpp	10 Jul 2007 14:09:09 -0000	1.4
@@ -27,8 +27,6 @@
 #include "unit_tests/Permutation.hpp"
 #include "unit_tests/Random_Permutation.hpp"
 
-// Include this implementation file in order to instantiate template
-#include "ACT/Scheduling_Queue.cpp"
 
 /** A test item to put into a scheduling queue.
  */
@@ -45,9 +43,12 @@
 } ;
 
 // Explicit instantiation
-template ACT::Scheduling_Queue< test_item, ACT::wakeup_listener_allocated > ;
+#include "ACT/Scheduling_Queue.cpp"
+#include "ACT/Scheduler.T.cpp"
+template ACT::wakeup_listener_allocated< ACT::Basic_Scheduler<> > ;
+template ACT::Scheduling_Queue< test_item, ACT::wakeup_listener_allocated< ACT::Basic_Scheduler<> > > ;
 
-typedef ACT::Scheduling_Queue< test_item, ACT::wakeup_listener_allocated > queue_type ;
+typedef ACT::Scheduling_Queue< test_item, ACT::wakeup_listener_allocated< ACT::Basic_Scheduler<> > > queue_type ;
 typedef queue_type::pointer pointer ;
 
 using namespace ACT ;

Index: HTTP/HTTP_Behavior.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/HTTP_Behavior.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- HTTP/HTTP_Behavior.cpp	1 Jul 2007 10:53:52 -0000	1.2
+++ HTTP/HTTP_Behavior.cpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -33,11 +33,11 @@
 	{}
 
 	//-------------------------
-	act_state
+	ACT::ACT_State
 	HTTP_Behavior::
 	run( wakeup_listener * w )
 	{
-		act_state x ;
+		ACT::ACT_State x( ACT::ACT_State::Ready ) ;
 
 		switch ( protocol_state ) {
 			case initial:
@@ -45,8 +45,8 @@
 				protocol_state = scanning_request ;
 			case scanning_request:
 				x = scan_request( w ) ;
-				if ( x == Bad ) return set_bad() ;
-				if ( x == Working ) return Working ;
+				if ( x.bad() ) return set_bad() ;
+				if ( x.working() ) return set_state( x ) ;
 				protocol_state = responding ;
 			case responding:
 				// We'll support HTTP/1.0 later.
@@ -71,11 +71,11 @@
 				protocol_state = sending_final_message ;
 			case sending_final_message:
 				x = the_device -> Sink::operator()( w ) ;
-				if ( x == Bad ) return set_bad() ;
-				if ( x == Working ) return Working ;
+				if ( x.bad() ) return set_bad() ;
+				if ( x.working() ) return set_state( x ) ;
 				return set_completed() ;
 		} ;
-		return ACT::Working ;
+		return set_would_block() ;
 	}
 
 } } // end namespace cygnal::HTTP

Index: HTTP/HTTP_Behavior.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/HTTP_Behavior.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- HTTP/HTTP_Behavior.hpp	1 Jul 2007 10:53:52 -0000	1.2
+++ HTTP/HTTP_Behavior.hpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -57,7 +57,7 @@
 		HTTP_Behavior( IO::Device * ) ;
 
 		/// 
-		ACT::act_state run( ACT::wakeup_listener * ) ;
+		ACT::ACT_State run( ACT::wakeup_listener * ) ;
 
 		///
 		static shared_ptr< ACT::autonomous_act > new_HTTP_Behavior( IO::Device * ) ;

Index: HTTP/HTTP_Parse.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/HTTP_Parse.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- HTTP/HTTP_Parse.cpp	1 Jul 2007 10:53:52 -0000	1.2
+++ HTTP/HTTP_Parse.cpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -163,7 +163,7 @@
 	{}
 
 	//-------------------------
-	ACT::act_state
+	ACT::ACT_State
 	read_single_header::
 	scan( ACT::wakeup_listener * w )
 	{
@@ -289,7 +289,7 @@
 		// Assert n_left_to_process == 0 
 
 		end_of_processing_loop:
-		return ACT::Working ;
+		return source_state() ;
 	}
 
 	//-------------------------
@@ -312,7 +312,7 @@
 		message_header_size = 0 ;
 		r_field_name.set_begin( next_character ) ;
 		r_field_name.set_length( 0 ) ;
-		set_working() ;
+		set_ready() ;
 	}
 
 	//--------------------------------------------------
@@ -327,7 +327,7 @@
 	{} ;
 
 	//-------------------------
-	ACT::act_state
+	ACT::ACT_State
 	read_message_headers_action::
 	scan( ACT::wakeup_listener * waken )
 	{
@@ -342,7 +342,7 @@
 					// Our subroutine went bad.  So do we.
 					return set_bad() ;
 				}
-				return ACT::Working ;
+				return source_state() ;
 			}
 			// Assert (postcondition--read_single_header action completed) input processed was "message-header? CR LF"
 			IO::buffer field_name( read_single_header_action.result_field_name() ) ;
@@ -395,7 +395,7 @@
 	}
 
 	//-------------------------
-	ACT::act_state
+	ACT::ACT_State
 	Request_Method_Scanner::
 	scan( ACT::wakeup_listener * w )
 	{
@@ -451,34 +451,34 @@
 	/**	\par Implementation Notes
 	 *	- The protocol designator "HTTP" is sensitive to case.
 	 */
-	ACT::act_state
+	ACT::ACT_State
 	Request_Version_Scanner::
 	scan( ACT::wakeup_listener * w )
 	{
 		char ch ;
 		switch ( scan_state ) {
 			case initial:
-				if ( n_left_to_process == 0 ) { scan_state = initial ; return Working ; }
+				if ( n_left_to_process == 0 ) { scan_state = initial ; return source_state() ; }
 				ch = * next_character ++ ; -- n_left_to_process ;
 				if ( ch != 'H' ) return syntax_error() ;
 			case seen_H:
-				if ( n_left_to_process == 0 ) { scan_state = seen_H ; return Working ; }
+				if ( n_left_to_process == 0 ) { scan_state = seen_H ; return source_state() ; }
 				ch = * next_character ++ ; -- n_left_to_process ;
 				if ( ch != 'T' ) return syntax_error() ;
 			case seen_HT:
-				if ( n_left_to_process == 0 ) { scan_state = seen_HT ; return Working ; }
+				if ( n_left_to_process == 0 ) { scan_state = seen_HT ; return source_state() ; }
 				ch = * next_character ++ ; -- n_left_to_process ;
 				if ( ch != 'T' ) return syntax_error() ;
 			case seen_HTT:
-				if ( n_left_to_process == 0 ) { scan_state = seen_HTT ; return Working ; }
+				if ( n_left_to_process == 0 ) { scan_state = seen_HTT ; return source_state() ; }
 				ch = * next_character ++ ; -- n_left_to_process ;
 				if ( ch != 'P' ) return syntax_error() ;
 			case seen_HTTP:
-				if ( n_left_to_process == 0 ) { scan_state = seen_HTTP ; return Working ; }
+				if ( n_left_to_process == 0 ) { scan_state = seen_HTTP ; return source_state() ; }
 				ch = * next_character ++ ; -- n_left_to_process ;
 				if ( ch != '/' ) return syntax_error() ;
 			case first_digits_0:
-				if ( n_left_to_process == 0 ) { scan_state = first_digits_0 ; return Working ; }
+				if ( n_left_to_process == 0 ) { scan_state = first_digits_0 ; return source_state() ; }
 				ch = * next_character ++ ; -- n_left_to_process ;
 				if ( ! is_digit( ch ) ) return syntax_error() ;
 				the_result.major_number = ( ch - '0' ) ;
@@ -499,10 +499,10 @@
 					}
 				}
 				scan_state = first_digits_0 ; 
-				return Working ;
+				return source_state() ;
 			label_second_digits_0:
 			case second_digits_0:
-				if ( n_left_to_process == 0 ) { scan_state = second_digits_0 ; return Working ; }
+				if ( n_left_to_process == 0 ) { scan_state = second_digits_0 ; return source_state() ; }
 				ch = * next_character ++ ; -- n_left_to_process ;
 				if ( ! is_digit( ch ) ) return syntax_error() ;
 				the_result.minor_number = ( ch - '0' ) ;
@@ -520,7 +520,7 @@
 					}
 				}
 				scan_state = first_digits_0 ; 
-				return Working ;
+				return source_state() ;
 		}
 	label_end_of_scan:
 		++ n_left_to_process ;
@@ -541,7 +541,7 @@
 	{}
 
 	//-------------------------
-	ACT::act_state
+	ACT::ACT_State
 	Request_Scanner::
 	scan( ACT::wakeup_listener * w )
 	{
@@ -555,31 +555,33 @@
 		switch ( current_state ) {
 			case in_method:
 				scan_method( w ) ;
-				if ( scan_method.working() ) return ACT::Working ;
+				if ( scan_method.working() ) { current_state = in_method ; return source_state() ; }
 				if ( scan_method.bad() ) goto label_error ;
-				current_state = in_request_URI ;
 				// fall through
 			case in_request_URI:
 				scan_URI( w ) ;
-				if ( scan_URI.working() ) return ACT::Working ;
+				if ( scan_URI.working() ) { current_state = in_request_URI ; return source_state() ; }
 				if ( scan_URI.bad() ) goto label_error ;
-				current_state = in_HTTP_version ;
+				// fall through
+			case post_request_URI:
+				if ( n_left_to_process == 0 ) { current_state = post_request_URI ; return source_state() ; }
+				-- n_left_to_process ;
+				ch = * next_character ++ ;
+				if ( ch != ' ' ) goto label_error ;
 				// fall through
 			case in_HTTP_version:
 				scan_version( w ) ;
-				if ( scan_version.working() ) return ACT::Working ;
+				if ( scan_version.working() ) { current_state = in_HTTP_version ; return source_state() ; }
 				if ( scan_version.bad() ) goto label_error ;
-				current_state = p_final_CR ;
 				// fall through
 			case p_final_CR:
-				if ( n_left_to_process == 0 ) return ACT::Working ;
+				if ( n_left_to_process == 0 ) { current_state = p_final_CR ; return source_state() ; }
 				-- n_left_to_process ;
 				ch = * next_character ++ ;
 				if ( ch != '\r' ) goto label_error ;
-				current_state = p_final_LF ;
 				// fall through
 			case p_final_LF:
-				if ( n_left_to_process == 0 ) return ACT::Working ;
+				if ( n_left_to_process == 0 ) { current_state = p_final_LF ; return source_state() ; }
 				-- n_left_to_process ;
 				ch = * next_character ++ ;
 				if ( ch != '\n' ) goto label_error ;

Index: HTTP/HTTP_Parse.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/HTTP_Parse.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- HTTP/HTTP_Parse.hpp	1 Jul 2007 10:53:52 -0000	1.2
+++ HTTP/HTTP_Parse.hpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -147,7 +147,7 @@
 		IO::result_buffer<> r_field_name ;
 
 		///
-		ACT::act_state scan( ACT::wakeup_listener * ) ;
+		ACT::ACT_State scan( ACT::wakeup_listener * ) ;
 
 	public:
 		/// Ordinary constructor
@@ -196,7 +196,7 @@
 		read_single_header read_single_header_action ;
 
 		/// Body of action
-		ACT::act_state scan( ACT::wakeup_listener * ) ;
+		ACT::ACT_State scan( ACT::wakeup_listener * ) ;
 
 	public:
 		/// Ordinary constructor takes a nonblocking device as its source
@@ -250,7 +250,7 @@
 		IO::result_buffer<> r_method ;
 
 		///
-		ACT::act_state scan( ACT::wakeup_listener * ) ;
+		ACT::ACT_State scan( ACT::wakeup_listener * ) ;
 
 		///
 		void init() ;
@@ -288,7 +288,7 @@
 		HTTP_Version the_result ;
 
 		///
-		ACT::act_state scan( ACT::wakeup_listener * ) ;
+		ACT::ACT_State scan( ACT::wakeup_listener * ) ;
 
 		///
 		void init() ;
@@ -328,6 +328,7 @@
 		enum request_parse_state {
 			in_method,
 			in_request_URI,
+			post_request_URI,
 			in_HTTP_version,
 			p_final_CR,
 			p_final_LF,
@@ -347,7 +348,7 @@
 		Request_Version_Scanner scan_version ;
 
 		///
-		ACT::act_state scan( ACT::wakeup_listener * ) ;
+		ACT::ACT_State scan( ACT::wakeup_listener * ) ;
 
 	public:
 		/// Ordinary constructor takes a nonblocking device as its source

Index: HTTP/URI.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/URI.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- HTTP/URI.cpp	1 Jul 2007 10:53:52 -0000	1.2
+++ HTTP/URI.cpp	10 Jul 2007 14:09:09 -0000	1.3
@@ -99,7 +99,7 @@
 	//--------------------------------------------------
 	// URI_Scanner
 	//--------------------------------------------------
-	ACT::act_state
+	ACT::ACT_State
 	URI_Scanner::
 	scan( ACT::wakeup_listener * ) {
 		// If we are at EOF, some states may accept, some may reject.
@@ -165,7 +165,7 @@
 					}
 				}
 				current_state = scheme_0 ;
-				return ACT::Working ;
+				return source_state() ;
 			label_scheme:
 			case scheme:
 				while ( n_left_to_process > 0 ) {
@@ -184,7 +184,7 @@
 					}
 				}
 				current_state = scheme ;
-				return ACT::Working ;
+				return source_state() ;
 			//-------------------------
 			// hier-part
 			//-------------------------
@@ -208,7 +208,7 @@
 					}
 				}
 				current_state = hier_part_0 ;
-				return ACT::Working ;
+				return source_state() ;
 			//----------
 			label_hier_part_slash:
 			case hier_part_slash:
@@ -237,7 +237,7 @@
 					}
 				}
 				current_state = hier_part_slash ;
-				return ACT::Working ;
+				return source_state() ;
 			//-------------------------
 			// authority
 			//-------------------------
@@ -261,7 +261,7 @@
 					}
 				}
 				current_state = authority_0 ;
-				return ACT::Working ;
+				return source_state() ;
 			//----------
 			label_auth_unknown:
 			case auth_unknown:
@@ -285,7 +285,7 @@
 					}
 				}
 				current_state = auth_unknown ;
-				return ACT::Working ;
+				return source_state() ;
 			//-------------------------
 			// path
 			//-------------------------
@@ -315,7 +315,7 @@
 					}
 				}
 				current_state = path_absolute_0 ;
-				return ACT::Working ;
+				return source_state() ;
 			//----------
 			label_path_absolute:
 			case path_absolute:
@@ -340,7 +340,7 @@
 					}
 				}
 				current_state = path_absolute ;
-				return ACT::Working ;
+				return source_state() ;
 			//----------
 			label_path_abempty_0:
 			case path_abempty_0:
@@ -368,7 +368,7 @@
 					}
 				}
 				current_state = path_absolute_0 ;
-				return ACT::Working ;
+				return source_state() ;
 			//-------------------------
 			// query
 			//-------------------------
@@ -390,7 +390,7 @@
 					}
 				}
 				current_state = query_0 ;
-				return ACT::Working ;
+				return source_state() ;
 			//----------
 			label_query:
 			case query:
@@ -410,7 +410,7 @@
 					}
 				}
 				current_state = query_0 ;
-				return ACT::Working ;
+				return source_state() ;
 			//-------------------------
 			// fragment
 			//-------------------------
@@ -430,7 +430,7 @@
 					}
 				}
 				current_state = fragment_0 ;
-				return ACT::Working ;
+				return source_state() ;
 			//----------
 			label_fragment:
 			case fragment:
@@ -447,7 +447,7 @@
 					}
 				}
 				current_state = fragment ;
-				return ACT::Working ;
+				return source_state() ;
 			//----------
 			label_done_unget_last_character:
 				uri.r_URI.set_length( next_character - URI_begin - 1 ) ;

Index: HTTP/URI.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/URI.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- HTTP/URI.hpp	1 Jul 2007 10:53:52 -0000	1.2
+++ HTTP/URI.hpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -70,6 +70,11 @@
 	} ;
 
 	//-------------------------
+	/** \class URI_Scanner
+	 *
+	 *	\todo Fix the silent consumption of the next character after the URI.
+	 *		It interferes with a caller's grammar.
+	 */
 	class URI_Scanner
 		: public IO::Stream_Consumer
 	{
@@ -80,7 +85,7 @@
 		char * component_begin ;
 
 		///
-		ACT::act_state scan( ACT::wakeup_listener * ) ;
+		ACT::ACT_State scan( ACT::wakeup_listener * ) ;
 
 		///
 		void init() ;

Index: HTTP/unit_tests/Test_HTTP.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/unit_tests/Test_HTTP.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- HTTP/unit_tests/Test_HTTP.cpp	1 Jul 2007 10:53:53 -0000	1.2
+++ HTTP/unit_tests/Test_HTTP.cpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -454,7 +454,13 @@
 }
 
 //---------------------------------------------------------------------------
-BOOST_AUTO_TEST_CASE( Invalid_Version_Request )
+/* Scanning regular URI and "*"-URI are handled differently internally.
+ * This pair of tests once had different outcomes; the first failed and second passed.
+ * URI scanning was consuming an extra character for ordinary URI but not "*".
+ * HTTP-Request scanning wasn't looking for the space after its URI.
+ * In the test that passed, one defect was masking the other.
+ */
+BOOST_AUTO_TEST_CASE( Invalid_Version_Request_1 )
 {
 	char request[] = "GET * HTTP/1.0\r\n" ;
 	IO::String_Device device( request ) ;
@@ -464,6 +470,20 @@
 
 	cygnal::HTTP::HTTP_Behavior behavior( & device ) ;
 	behavior() ;
-	BOOST_CHECK( behavior.completed() ) ;
+	BOOST_REQUIRE( behavior.completed() ) ;
+	BOOST_CHECK( device.string_written() == string( response ) ) ;
+}
+
+BOOST_AUTO_TEST_CASE( Invalid_Version_Request_2 )
+{
+	char request[] = "GET http://foo.com/ HTTP/1.0\r\n" ;
+	IO::String_Device device( request ) ;
+	char response[] = 
+		"HTTP/1.1 505 HTTP Version Not Supported" "\r\n"
+		"Connection: close" "\r\n" ;
+
+	cygnal::HTTP::HTTP_Behavior behavior( & device ) ;
+	behavior() ;
+	BOOST_REQUIRE( behavior.completed() ) ;
 	BOOST_CHECK( device.string_written() == string( response ) ) ;
 }
\ No newline at end of file

Index: IO/IO_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Device.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/IO_Device.hpp	1 Jul 2007 10:53:53 -0000	1.2
+++ IO/IO_Device.hpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -125,8 +125,8 @@
 		: public Source 
 	{
 	protected:
-		virtual ACT::act_state source_run( ACT::wakeup_listener * ) =0 ;
-		inline ACT::act_state run( ACT::wakeup_listener * w ) { return source_run( w ) ; }
+		virtual ACT::ACT_State source_run( ACT::wakeup_listener * ) =0 ;
+		inline ACT::ACT_State run( ACT::wakeup_listener * w ) { return source_run( w ) ; }
 	} ;
 
 	//-------------------------
@@ -140,7 +140,7 @@
 		: public SSource
 	{
 		S & the_source ;
-		inline ACT::act_state source_run( ACT::wakeup_listener * w ) { return the_source.run( w ) ; }
+		inline ACT::ACT_State source_run( ACT::wakeup_listener * w ) { return the_source.run( w ) ; }
 	public:
 		Source_Adapter( S & source )
 			: the_source( source )
@@ -157,8 +157,8 @@
 	//-------------------------
 	class SSink : public Sink {
 	protected:
-		virtual ACT::act_state sink_run( ACT::wakeup_listener * ) =0 ;
-		inline ACT::act_state run( ACT::wakeup_listener * w ) { return sink_run( w ) ; }
+		virtual ACT::ACT_State sink_run( ACT::wakeup_listener * ) =0 ;
+		inline ACT::ACT_State run( ACT::wakeup_listener * w ) { return sink_run( w ) ; }
 	} ;
 
 	//-------------------------
@@ -172,7 +172,7 @@
 		: public SSink
 	{
 		S & the_sink ;
-		inline ACT::act_state sink_run( ACT::wakeup_listener * w ) { return the_sink.run( w ) ; }
+		inline ACT::ACT_State sink_run( ACT::wakeup_listener * w ) { return the_sink.run( w ) ; }
 	public:
 		Sink_Adapter( S & sink )
 			: the_sink( sink )
@@ -206,8 +206,8 @@
 	{
 		In the_source ;
 		Out the_sink ;
-		inline ACT::act_state sink_run( ACT::wakeup_listener * w ) { return the_sink.run( w ) ; }
-		inline ACT::act_state source_run( ACT::wakeup_listener * w ) { return the_source.run( w ) ; }
+		inline ACT::ACT_State sink_run( ACT::wakeup_listener * w ) { return the_sink.run( w ) ; }
+		inline ACT::ACT_State source_run( ACT::wakeup_listener * w ) { return the_source.run( w ) ; }
 	public:
 		Split_Device( In in, Out out )
 			: the_source( in ), the_sink( out )
@@ -230,7 +230,7 @@
 		Oldsource & the_source ;
 		Action the_action ;
 
-		inline ACT::act_state run( ACT::wakeup_listener * w ) { return the_action.operator()( w ) ; }
+		inline ACT::ACT_State run( ACT::wakeup_listener * w ) { return the_action.operator()( w ) ; }
 
 		template< class In, class Out > friend class Split_Device ;
 	public:

Index: IO/IO_Generator.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Generator.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/IO_Generator.cpp	1 Jul 2007 10:53:53 -0000	1.2
+++ IO/IO_Generator.cpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/// \file IO_Service.cpp
+/// \file IO_Generator.cpp
 
 #include "IO_Generator.hpp"
 
@@ -28,13 +28,13 @@
 	{}
 
 	//-------------------------
-	ACT::act_state
+	ACT::ACT_State
 	Device_Adapter::
 	run( ACT::wakeup_listener * w )
 	{
 		the_generator( w ) ;
 		if ( the_generator.bad() ) return set_bad() ;
-		if ( the_generator.working() ) return ACT::Working ;
+		if ( the_generator.working() ) return set_ready() ;
 		// Assert the_generator has a result ready for us.
 		
 		the_result = the_behavior_factory( the_generator.result() ) ;

Index: IO/IO_Generator.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Generator.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/IO_Generator.hpp	1 Jul 2007 10:53:53 -0000	1.2
+++ IO/IO_Generator.hpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -74,7 +74,7 @@
 	/**	\class Device_Adapter
 	 */
 	class Device_Adapter
-		: public ACT::Generator
+		: public ACT::Obsolete_Generator		// will rewrite as deriving from ACT::Generator
 	{
 		/// We use shared_ptr here
 		Device_Generator & the_generator ;
@@ -89,7 +89,7 @@
 		Device_Adapter( Device_Generator & x, Behavior_Factory & y ) ;
 
 		///
-		ACT::act_state run( ACT::wakeup_listener * w ) ;
+		ACT::ACT_State run( ACT::wakeup_listener * w ) ;
 
 		///
 		ACT::act result() ;

Index: IO/Stream_Consumer.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/Stream_Consumer.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/Stream_Consumer.cpp	1 Jul 2007 10:53:53 -0000	1.2
+++ IO/Stream_Consumer.cpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/**	\file Stream_Consumer.hpp
+/**	\file Stream_Consumer.cpp
  *	\brief Assistance for treating ACT block readers as a stream.
  *
  *	Implementing a stream model with ACT-based I/O requires resolving a number of competing concerns.
@@ -60,7 +60,7 @@
 	{}
 
 	//-------------------------
-	ACT::act_state
+	ACT::ACT_State
 	Stream_Consumer::
 	run( ACT::wakeup_listener * w )
 	{
@@ -79,7 +79,7 @@
 				if ( source_still_working() ) {
 					// Assert our underlying source is still working.
 					// Nothing left to do now.
-					return ACT::Working ; 
+					return the_source -> internal_state() ; 
 				}
 				if ( source_went_bad() ) {
 					// Assert our underlying source went bad.
@@ -105,7 +105,7 @@
 				if ( source_still_working() ) {
 					// Assert our underlying source is still working.
 					// Nothing left to do now.
-					return ACT::Working ; 
+					return the_source -> internal_state() ; 
 				}
 				if ( source_went_bad() ) {
 					// Assert our underlying source went bad.
@@ -123,10 +123,9 @@
 					caller_next_character = next_character ;
 					caller_n_left_to_process = n_left_to_process ;
 				}
-				return ACT::Completed ;
-			} else if ( bad() ) {
-				return ACT::Completed ;
 			}
+			if ( ! working() ) return internal_state() ;
+			// Assert scanning remains incomplete
 		}
 	}
 

Index: IO/Stream_Consumer.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/Stream_Consumer.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/Stream_Consumer.hpp	1 Jul 2007 10:53:53 -0000	1.2
+++ IO/Stream_Consumer.hpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -63,7 +63,7 @@
 		unsigned int number_of_lookahead_characters_required ;
 
 		/// Polymorphic scanner.
-		virtual ACT::act_state scan( ACT::wakeup_listener * ) =0 ;
+		virtual ACT::ACT_State scan( ACT::wakeup_listener * ) =0 ;
 
 		/// Initial action
 		virtual void init() {} ;
@@ -98,6 +98,9 @@
 		/// [replenish result]
 		inline bool source_went_bad() { return the_source -> bad() ; }
 
+		/// [replenish result]
+		inline ACT::ACT_State source_state() { return the_source -> internal_state() ; }
+
 		///
 		inline void require_lookahead( unsigned int n ) { number_of_lookahead_characters_required = n ; }
 
@@ -113,12 +116,12 @@
 		bool first_time ;
 
 		/// [error] Indicate a syntax error at the current location.
-		ACT::act_state syntax_error() { return set_bad() ; }
+		ACT::ACT_State syntax_error() { return set_bad() ; }
 
 	public:
 		/// The class implements the ACT invocation.
 		/// This function wraps our own polymorphic \c run.
-		ACT::act_state run( ACT::wakeup_listener * ) ;
+		ACT::ACT_State run( ACT::wakeup_listener * ) ;
 
 	} ;
 

Index: IO/test_support/Null_Device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Device.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/test_support/Null_Device.cpp	1 Jul 2007 10:53:54 -0000	1.2
+++ IO/test_support/Null_Device.cpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/**	\file Null_Device.hpp
+/**	\file Null_Device.cpp
  *	\brief 
  */
 
@@ -31,7 +31,7 @@
 		set_completed() ;
 	}
 
-	ACT::act_state
+	ACT::ACT_State
 	Null_Source::
 	run( ACT::wakeup_listener * )
 	{

Index: IO/test_support/Null_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Device.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/test_support/Null_Device.hpp	1 Jul 2007 10:53:54 -0000	1.2
+++ IO/test_support/Null_Device.hpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -34,7 +34,7 @@
 		friend class Null_Device ;
 		template< class S > friend class Source_Adapter ;
 
-		ACT::act_state run( ACT::wakeup_listener * ) ;
+		ACT::ACT_State run( ACT::wakeup_listener * ) ;
 
 	public:
 		/// Only need a default constructor for a source that's always the same.
@@ -57,7 +57,7 @@
 		template< class In, class Out > friend class Split_Device ;
 
 		/// The write action.
-		ACT::act_state run( ACT::wakeup_listener * ) { return set_completed() ; }
+		ACT::ACT_State run( ACT::wakeup_listener * ) { return set_completed() ; }
 
 		/// [out parameter value]
 		size_t out_n_written ;
@@ -80,8 +80,8 @@
 		Null_Sink the_sink ;
 		Null_Source the_source ;
 		
-		inline ACT::act_state source_run( ACT::wakeup_listener * w ) { return Device::SSource::set_state( the_source.run( w ) ) ; }
-		inline ACT::act_state sink_run( ACT::wakeup_listener * w ) { return Device::SSink::set_state( the_sink.run( w ) ) ; }
+		inline ACT::ACT_State source_run( ACT::wakeup_listener * w ) { return Device::SSource::set_state( the_source.run( w ) ) ; }
+		inline ACT::ACT_State sink_run( ACT::wakeup_listener * w ) { return Device::SSink::set_state( the_sink.run( w ) ) ; }
 
 	public:
 		///

Index: IO/test_support/Null_Filter.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Filter.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/test_support/Null_Filter.cpp	1 Jul 2007 10:53:54 -0000	1.2
+++ IO/test_support/Null_Filter.cpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -44,7 +44,7 @@
 	}
 
 	//---------------
-	ACT::act_state
+	ACT::ACT_State
 	null_read_filter::
 	run( ACT::wakeup_listener * w )
 	{

Index: IO/test_support/Null_Filter.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Filter.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/test_support/Null_Filter.hpp	1 Jul 2007 10:53:54 -0000	1.2
+++ IO/test_support/Null_Filter.hpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -38,7 +38,7 @@
 		Source * the_source ;
 
 		/// 
-		ACT::act_state run( ACT::wakeup_listener * ) ;
+		ACT::ACT_State run( ACT::wakeup_listener * ) ;
 
 	public:
 		/// Ordinary constructor

Index: IO/test_support/String_Device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Device.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/test_support/String_Device.cpp	1 Jul 2007 10:53:54 -0000	1.2
+++ IO/test_support/String_Device.cpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/// \file String_Device.hpp
+/// \file String_Device.cpp
 
 #include "String_Device.hpp"
 #include <string>
@@ -81,7 +81,7 @@
 	}
 
 	//-------------------------
-	ACT::act_state
+	ACT::ACT_State
 	String_Device::
 	source_run( ACT::wakeup_listener * )
 	{
@@ -110,7 +110,7 @@
 	String_Device::
 	reset()
 	{
-		SSource::set_working() ;
+		SSource::set_ready() ;
 	}
 
 	//-------------------------
@@ -137,7 +137,7 @@
 	}
 
 	//-------------------------
-	ACT::act_state
+	ACT::ACT_State
 	String_Device::
 	sink_run( ACT::wakeup_listener * )
 	{

Index: IO/test_support/String_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Device.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/test_support/String_Device.hpp	1 Jul 2007 10:53:54 -0000	1.2
+++ IO/test_support/String_Device.hpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -49,7 +49,7 @@
 		contiguous_buffer<> the_next_segment ;
 
 		/// [source] read activation body
-		ACT::act_state source_run( ACT::wakeup_listener * ) ;
+		ACT::ACT_State source_run( ACT::wakeup_listener * ) ;
 
 		/// [sink] This string receives the results of write operations.
 		std::string the_sink_string ;
@@ -61,7 +61,7 @@
 		buffer next_to_write ;
 
 		/// [sink] activation body
-		ACT::act_state sink_run( ACT::wakeup_listener * ) ;
+		ACT::ACT_State sink_run( ACT::wakeup_listener * ) ;
 
 	public:
 		/// Ordinary constructor

Index: IO/test_support/String_Generator.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Generator.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/test_support/String_Generator.cpp	1 Jul 2007 10:53:54 -0000	1.2
+++ IO/test_support/String_Generator.cpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -36,11 +36,11 @@
 	}
 
 	///
-	ACT::act_state 
+	ACT::ACT_State 
 	String_Generator::
 	run( ACT::wakeup_listener * )
 	{
-		if ( the_queue.empty() ) return ACT::Working ;
+		if ( the_queue.empty() ) return ACT::ACT_State( ACT::ACT_State::Ready ) ;
 		the_result = shared_ptr< IO::Device >( new String_Device( the_queue.front() ) ) ;
 		the_queue.pop() ;
 		return set_completed() ;
@@ -65,7 +65,7 @@
 	reset()
 	{
 		if ( bad() ) return ;
-		set_working() ;
+		set_ready() ;
 	}
 
 } // end namespace IO

Index: IO/test_support/String_Generator.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Generator.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/test_support/String_Generator.hpp	1 Jul 2007 10:53:54 -0000	1.2
+++ IO/test_support/String_Generator.hpp	10 Jul 2007 14:09:10 -0000	1.3
@@ -50,7 +50,7 @@
 		void add_source( std::string x ) ;
 
 		///
-		ACT::act_state run( ACT::wakeup_listener * ) ;
+		ACT::ACT_State run( ACT::wakeup_listener * ) ;
 
 		/// result accessor
 		shared_ptr< IO::Device > result() ;

Index: IO/unit_tests/Test_Service.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/unit_tests/Test_Service.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- IO/unit_tests/Test_Service.cpp	1 Jul 2007 10:53:55 -0000	1.2
+++ IO/unit_tests/Test_Service.cpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -27,7 +27,7 @@
 {
 public:
 	Null_Behavior() { set_completed() ; }
-	ACT::act_state run( ACT::wakeup_listener * ) { return ACT::Completed ; }
+	ACT::ACT_State run( ACT::wakeup_listener * ) { return set_completed() ; }
 } ;
 
 //-------------------------

Index: Net/Net.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/Net.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Net/Net.hpp	1 Jul 2007 10:53:55 -0000	1.2
+++ Net/Net.hpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -189,7 +189,7 @@
 	 *		in order to support the RAII convention.
 	 *	The resource is the socket handle itself.
 	 *
-	 *	\inv Instance holds an allocated socket.
+	 *	\invariant Instance holds an allocated socket.
 	 *
 	 *	\par Limitations
 	 *	- Class opens sockets in default streaming protocol (meaning TCP) only.

Index: Net/Old_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/Old_Device.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Net/Old_Device.hpp	1 Jul 2007 10:53:55 -0000	1.2
+++ Net/Old_Device.hpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/**	\file IO_Device.hpp
+/**	\file Old_Device.hpp
  *	\brief Basic abstractions for handling ACT-based I/O
  *
  *	\par Design Notes

Index: Net/socket_device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/socket_device.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Net/socket_device.cpp	1 Jul 2007 10:53:55 -0000	1.2
+++ Net/socket_device.cpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -188,7 +188,7 @@
 	{}
 
 	//-------------------------
-	ACT::act_state 
+	ACT::ACT_State 
 	read_action::
 	run( ACT::wakeup_listener * waken )
 	{
@@ -218,9 +218,9 @@
 			} else if ( error == EINTR ) {
 				// Assert the read() call was interrupted.
 				// Rather than enter a loop here, we let the scheduler retry.
-				if ( waken != 0 ) {
-					( * waken )() ;
-				}
+
+				/// \todo Implement a recovery tactic.
+				set_bad() ;
 			} else {
 				// Assert the socket had a non-recoverable error
 				set_bad() ;
@@ -253,7 +253,7 @@
 	} ;
 
 	//-------------------------
-	ACT::act_state 
+	ACT::ACT_State 
 	write_action::
 	run( ACT::wakeup_listener * waken )
 	{
@@ -289,9 +289,9 @@
 			} else if ( errno == EINTR ) {
 				// Assert the read() call was interrupted.
 				// Rather than enter a loop here, we let the scheduler retry.
-				if ( waken != 0 ) {
-					( * waken )() ;
-				}
+
+				/// \todo Implement a recovery tactic.
+				set_bad() ;
 			} else {
 				// Assert the socket had a non-recoverable error
 				set_bad() ;

Index: Net/socket_device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/socket_device.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Net/socket_device.hpp	1 Jul 2007 10:53:55 -0000	1.2
+++ Net/socket_device.hpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -231,7 +231,7 @@
 		//---------------
 		/**
 		 */
-		ACT::act_state run( ACT::wakeup_listener * waken ) ;
+		ACT::ACT_State run( ACT::wakeup_listener * waken ) ;
 
 		//---------------
 		/** \brief Ordinary constructor 
@@ -262,7 +262,7 @@
 
 	public:
 		/// Action operator actually does the write.
-		ACT::act_state run( ACT::wakeup_listener * waken ) ;
+		ACT::ACT_State run( ACT::wakeup_listener * waken ) ;
 
 		/// Ordinary constructor
 		write_action(

Index: Net/unit_tests/Test_socket_device.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/unit_tests/Test_socket_device.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Net/unit_tests/Test_socket_device.cpp	1 Jul 2007 10:53:55 -0000	1.2
+++ Net/unit_tests/Test_socket_device.cpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -15,7 +15,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/// \file Test_Service.cpp
+/// \file Test_socket_device.cpp
 
 #include "config.h"
 

Index: unit_tests/Permutation.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Permutation.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- unit_tests/Permutation.hpp	1 Jul 2007 10:53:56 -0000	1.2
+++ unit_tests/Permutation.hpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -107,6 +107,8 @@
 		throw std::exception( "Can only compare against end-iterators in the present implementation." ) ;
 	}
 
+	/**	\class test_function
+	 */
 	boost::function< void( void ) > test_function() const
 	{
 		return boost::bind( f, the_vector.begin(), the_vector.end() ) ;

Index: unit_tests/Random_Permutation.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Random_Permutation.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- unit_tests/Random_Permutation.cpp	1 Jul 2007 10:53:56 -0000	1.2
+++ unit_tests/Random_Permutation.cpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -18,7 +18,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/// \file Random_Permutation.hpp
+/// \file Random_Permutation.cpp
 /// \brief A permutation generator for test cases.
 
 #include "Random_Permutation.hpp"

Index: unit_tests/Test_Support.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Test_Support.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- unit_tests/Test_Support.hpp	1 Jul 2007 10:53:56 -0000	1.2
+++ unit_tests/Test_Support.hpp	10 Jul 2007 14:09:11 -0000	1.3
@@ -133,7 +133,7 @@
 } ;
 
 //--------------------------------------------------
-/**	\fn make_generator
+/**	\fn make_generator template< class Gen > auto_generator make_generator( Gen generator_instance, std::string name )
  *	\brief Adapter function allowing use of type inference to initialize test generator.
  */
 template< class Gen >

Index: ACT/ACT.doxygen.txt
===================================================================
RCS file: ACT/ACT.doxygen.txt
diff -N ACT/ACT.doxygen.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/ACT.doxygen.txt	10 Jul 2007 14:09:08 -0000	1.1
@@ -0,0 +1,174 @@
+/**
+
+\page ACT Module ACT: Asynchronous Computation Task
+
+	An ACT is the moral equivalent of a thread in an asynchronous, cooperative, non-preemptive, multitasking environment.
+	The name "ACT" is itself an acronym for Asynchronous Computation Task.
+
+\section s_Speed Speed is the Reason
+
+	The whole point of the ACT environment is high performance.
+	In comes at a cost, certainly; the tradeoffs are not trivial.
+	Preemptive multitasking is easier to implement, but at the cost of the overhead of context switches.
+	Each context switch must preserve the entire state of computation, both internal CPU state as well as memory.
+	The operating system (or other control facility) is ignorant, perforce, of the details of a computational unit, be it process or thread.
+	Thus it cannot optimize a context switch in any way, 
+		either by picking a fortuitous point to interrupt (avoiding saving CPU state)
+		or by saving less state on the stack than everything (incurring cache and swapping penalties).
+	There are two primary benefits of the ACT model.
+	The first primary benefit, then, is the elimination of context switch overhead.
+
+	The second benefit is its natural fit with asynchronous and non-blocking I/O.
+	Technically, avoiding context switches mandates working within a single thread and using cooperative scheduling.
+	Cooperative scheduling means that a task must manually yield its control of the CPU back to its environment.
+	The natural time to do that is when receiving a "would block" return on a non-blocking I/O call.
+	Every program that uses non-blocking I/O needs to be able to resume itself at the effective point where the computation left off.
+	In the ACT system, this is simply a requirement for all tasks, so doing it for non-blocking I/O adds no extra overhead.
+	The implementation pattern that comes to the fore is the "state of a partial computation".
+	One element of a partial computation state is a record of what I/O operation has been set to operate asynchronously.
+
+\section s_Elements An Oveview of the Elements of the ACT Environment
+	The main elements of the ACT environment the following:
+	- \b Actions.  
+		These are ACT classes that do all the work; it's the equivalent of a thread body.
+		The ultimate purpose of the ACT environment is to provide an execution context for actions.
+		An action runs until it yields (typically because it would block).
+		At such a time it enters a waiting state, waiting to be awakened as a result of further activity.
+	- \b Scheduler.
+		In preemptive multitasking environments, the scheduling function is provided transparently.
+		In the ACT environment, ordinary actions see scheduling as transparent,
+			but the scheduler is visible to certain primitives, particularly those involved with I/O.
+		A scheduler is single-threaded and is designed to be the body of a thread.
+		The scheduler, however, is not a singleton, as the preferred deployment configuration is one-scheduler-per-CPU.
+	- \b Demons.
+		Demons are a category of actions that run persistently in the scheduler.
+		The scheduler views ordinary actions as tasks, which are expected to eventually terminate.
+		The scheduler has different execution policies for demons and tasks.
+		The two most significant kinds of demons are services and monitors.
+	- \b Services.
+		A service is a demon that generates new tasks.
+		A service typically represents some kind of bound input device, activity at which needs some response.
+		The response to such input activity is a new task.
+		For example, a socket listening at port 80 generates a new HTTP protocol task for each incoming connection. 
+		As a rule, services represent input response, but not as a requirement.
+		A service may generate new tasks based on purely internal considerations as well.
+	- \b Monitors.
+		A monitor is a demon that wakes up tasks from their waiting state.
+		A task, once it yields to wait for new activity, won't be scheduled until something else rouses it.
+		For each waiting task, there is some monitor demon that has responsibility for waking it up.
+		Sensing the activity that triggers a wake-up is domain-specific,
+			so there's a separate monitor class for each kind of waiting, in particular each kind of I/O.
+	- <b>Listener Actions</b>.
+		The code for actions is recursive, one action calling another as needed.
+		This is as for ordinary code, with the distinction that the action invariants must be preserved at each call.
+		A listener action is a primitive action that calls no other action and cooperates with a monitor for wake-up.
+		As a result, each leaf in the call graph of an action is either a listener action or one that spontaneously yields.
+
+\section s_Quiescence Quiescence
+
+	What does the scheduler do when it has no task work that needs to be done?
+	If it also has no demons running, it simply exits.
+	If it does have demons running, it activates them round-robin until they all terminate or generate new tasks.
+	In the first approximation, then, the scheduler will consume all available CPU unless somehow throttled.
+	The basic tactic to throttle a quiescent scheduler is to have a demon running that blocks.
+	This is the only place in the system where blocking is an ordinary part of the architecture.
+
+	Now just to be contradictory, consider the following example.
+	The scheduler is running in a dedicated device where power consumption due to CPU usage isn't an issue.
+	Using 100% CPU is no problem here.
+	So a blocking demon for quiescent operation isn't necessary in this case.
+	The example shows that blocking is used during quiescent operation to be kind to some larger execution environment.
+
+	So suppose that the scheduler is running some demon that can block.
+	How that demon unblocks is the real issue.
+	The easiest way to unblock generates a polling algorithm: it simply waits some amount of time, then unblocks.
+	An implementation of this idea is the class ACT::Pause_Demon.
+	Without the motivation to properly handle quiescent operation, it's a bit of a mystery why there should be a task that just eats time.
+
+	\b Note: Interrupt I/O is not yet implemented.
+	It's on the timeline.
+
+	The other way of unblocking is by interrupt.
+	With this method, actions waiting for asynchronous I/O receive notifications on another thread.
+	This notification triggers unblocking in the demon that's blocked in the same same thread as the waiting action.
+	It's desirable that all interruptions from any source converge upon a single demon that aggregates them.
+	The alternatives require a hybrid algorithm with polling that doesn't perform well.
+
+	These two strategies each have advantageous niches.
+	The downside to a polling strategy is that under quiescence it consumes some constant fraction of CPU
+		and has a certain average latency in its responses, proportional to that responsiveness.
+	Its upside is that under load it does no work over and above what it would have do anyway.
+	The downside of an interrupt stategy is that there's task-switching overhead in the interrupt process.
+	Its upside is that under quiescence it has zero CPU overhead and good latency response.
+	The hybrid strategy is to switch between these two depending on load.
+
+	From a development sequence point of view, however, polling is easy and interrupt is hard.
+	Thus, polling was done at the outset.
+	As of this writing, interrupting is not implemented.
+	Since the first use case of the scheduler is for deployment on dedicated server hardware, 
+		this absence has not become problematic.
+	Once the ACT environment is used on client software, however, this will have to change.
+
+	The ACT architecture enables the separation of polling-vs.-interrupt strategy by using listener actions and monitors.
+	While the underlying I/O calls may be identical, there are different control structures around them for the two strategies.
+	Once both are implemented, however, swapping between them is a matter of link-time configuration.
+	Implementing a hybrid strategy requires writing more effort, but it too is simply linked in.
+	As a result, there's little project risk to delaying the interrupt and hybrid strategies.
+
+\section s_Shutdown Shutdown
+
+	\b Note: The facilities in this section are not yet implemented for the most part.
+
+	Shutting down a server is an important use case for system administrators.
+	They have different reasons for shutting down a process, ranging from emergency ("Process is a security breach!") to the languid ("Regular version upgrade.").
+	The ACT environment takes the basic stance that shutdown is application-specific.
+	The application defines a class representing a shutdown order,
+		and it's a parameter to both the scheduler and to actions.
+	The author of an action class is responsible for shutting them down in whatever way they may find appropriate
+		and documenting that behavior.
+	There remains the issue of what the scheduler does.
+
+	To start with, there's always the option of killing it pre-emptively.
+	It's not graceful, but it's available.
+	So let's assume that the application wishes to cooperate with the scheduler.
+
+	A scheduler must determine what to do with the actions in its scheduling queue when it receives a shutdown order.
+	The simplest, though rarely the best, thing to do is nothing.
+	It is able to simply cease processing altogether and return from its main loop with all its items left intact.
+	Up to this stage, this is an order to suspend.
+	Now, if the thread main function were a scheduler's execution loop (as it supports),
+		to continue to do nothing means that the thread terminates and presumably then the scheduler goes out of scope.
+
+	There's also a slightly more aggressive	version of nothing, 
+		which is to remove all references to a scheduled item from the scheduling queue.
+	In the typical case, the only reference to an item is within the queue (think tasks generated by a service)
+		and so this causes such an object to go out of scope immediately.
+	Removing such a reference is the regular policy if an action completes itself normally.
+	This removal is unusual because it happens when an action is still in an incomplete state.	
+
+	If shutdown is not required immediately, then the scheduler may continue to execute actions
+		in anticipating of termination, presumably in the near future.
+	The next question is how many times to perform such execution.
+	As the proverbial angel-on-pinheads, the choice is between a definite and an indefinite bound.
+	If a definite execution bound is desired, it might be by execution count or by a time limit (or both).
+
+	summarizing, we have the following shutdown algorithm, with its main points of configuration:
+	- Decide upon a cooperative shutdown.
+	- Construct a shutdown parameter and invoke the scheduler's shutdown function with it.
+	- If the scheduler is immediately suspending, do so now, deleting references if requested.
+	- Call the shutdown interface on each action in the scheduling queue.
+	- If the scheduler has a zero execution bound (either by count or in time), return now, deleting references if requested.
+	- If execution bounds are not in place, resume ordinary operations.  The actions will shut themselves down.
+	- If execution bound are in place, continue with bounded operation.  When an action overreaches a bound, delete it if requested.
+
+\section s_Implementation_Tactics Implementation Tactics
+
+	- <b>Scheduler-specific Storage</b>.
+		It is permitted to have one monitor scheduled for each waiting task.
+		In an I/O-bound environment, most tasks at any given time are waiting for I/O,
+			so a one-monitor-per-waiting-task policy almost doubles the size of the scheduling queue.
+		To alleviate this issue, scheduler-specific storage enables a single monitor for all waiting tasks of the same category.
+		This works by allowing a listener action to navigate to the correct monitor for its scheduler.
+		Using one monitor per scheduler rather than one monitor per system eliminates
+			what would otherwise be a large number of cross-thread messages, requiring relatively expensive mutex protection.
+ */

Index: ACT/Handle.cpp
===================================================================
RCS file: ACT/Handle.cpp
diff -N ACT/Handle.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/Handle.cpp	10 Jul 2007 14:09:08 -0000	1.1
@@ -0,0 +1,91 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/**	\file Handle.cpp
+ */
+
+#include "Handle.hpp"
+
+namespace ACT {
+	//---------------
+	template< class T, template< class, class > class Aspect >
+	typename Handled< T, Aspect >::registry_type
+	Handled< T, Aspect >::our_registry ;
+
+	//---------------
+	template< class T, template< class, class > class Aspect >
+	typename Handle_Registry_Leader< T, Aspect >::handle_type
+	Handle_Registry_Leader< T, Aspect >::
+	add( T * that )
+	{
+		handle_type x( 0 ) ;
+		if ( free_handles.empty() ) {
+			// Assert no existing space in registry vector
+			x = handle_type( the_registry.size() ) ;
+			the_registry.push_back( that ) ;
+			aspect.add_in_new_place() ;
+		} else {
+			// Assert there's an existing slot in the registry vector
+			x = free_handles.back() ;
+			free_handles.pop_back() ;
+			the_registry[ x ] = that ;
+			aspect.add_in_old_place() ;
+		}
+		return x ;
+	}
+
+	template< class T, template< class, class > class Aspect >
+	void
+	Handle_Registry_Leader< T, Aspect >::
+	remove( handle_type x )
+	{
+		try {
+			// Zero out the entry so that a bad index (however that might happen) doesn't get reused.
+			the_registry.at( x ) = 0 ;
+			free_handles.push_back( x ) ;
+		} catch ( ... ) {
+		}
+	}
+
+	//---------------
+	template< class T, class Leader, template< class, class, class > class Aspect >
+	typename Handle_Registry_Follower< T, Leader, Aspect >::reference 
+	Handle_Registry_Follower< T, Leader, Aspect >::
+	operator[]( handle_type x )
+	{
+		if ( x >= the_registry.size() ) {
+			if ( x >= the_registry.capacity() ) {
+				// Assert the handle is outside of the allocated bounds of the registry vector.
+				// Force a reservation, not knowing how resize() works.
+				the_registry.reserve( x + 1 ) ;
+				aspect.expand_capacity_of_vector() ;
+			}
+			// Assert the handle is within the allocated size of the registry vector.
+			the_registry.resize( x + 1 ) ;
+			aspect.enlarge_size_of_vector() ;
+		} else {
+			// Assert the handle is already within the bounds of the present vector.
+		}
+		// Assert handle is within range of 
+		aspect.access_from_existing_slot() ;
+		return the_registry[ x ] ;
+	}
+
+} // end of namespace ACT

Index: ACT/Handle.hpp
===================================================================
RCS file: ACT/Handle.hpp
diff -N ACT/Handle.hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/Handle.hpp	10 Jul 2007 14:09:08 -0000	1.1
@@ -0,0 +1,332 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/**	\file Handle.hpp
+ *	\brief A handle is a type-safe, encapsulated integer that's opaque to its ordinary users.
+ *		A handled class is one whose constructor adds it to a singleton registry,
+ *			allowing handles rather than pointers where appropriate.
+ */
+
+#pragma once
+#ifndef __Handle_hpp___
+#define __Handle_hpp___
+
+#include "Aspect.hpp"
+#include <vector>
+
+namespace ACT {
+	//-------------------------
+	/**	\class Handle
+	 *	\brief A marked, encapsulate ordinal, used as an index in offset operations.
+	 *
+	 *	- template parameter \c T: parametric so it can match both <tt>std::vector< X >::size_type</tt> and others
+	 *	- template parameter \c Marker: creates type-distinction to prevent intermixing of indices
+	 *
+	 *	\pre
+	 *	- class T is an integral type
+	 */
+	template< class T, class Marker >
+	class Handle
+	{
+		// friend classes
+		template< class T, class Marker > friend class Vector_with_Handle_Index ;
+
+		/// A handle is an encapsulated integral type
+		T the_index ;
+
+		/// Unwrapper is friends-only
+		inline T get() { return the_index ; }
+	public:
+		/// Expose Marker so that multiple vectors can share a common handle type
+		typedef Marker marker_type ;
+
+		/// Explicit constructor is required to avoid accidental indexing into non-compatible objects.
+		explicit Handle( T x )
+			: the_index( x ) {}
+
+		inline bool operator<( Handle & x ) { return the_index < x.the_index ; }
+		inline bool operator<=( Handle & x ) { return the_index <= x.the_index ; }
+		inline bool operator==( Handle & x ) { return the_index == x.the_index ; }
+		inline bool operator>=( Handle & x ) { return the_index >= x.the_index ; }
+		inline bool operator>( Handle & x ) { return the_index > x.the_index ; }
+		inline bool operator!=( Handle & x ) { return the_index != x.the_index ; }
+
+		/// Addition is not Handle-to-Handle, but Handle-to-integer, because Handle is ordinal.
+		inline Handle operator+( unsigned int n ) { return Handle( the_index + n ) ; }
+	} ;
+
+	//-------------------------
+	/**	\class Vector_with_Handle_Index
+	 *	\brief A wrapper around std::vector, with its integral index replaced by a handle.
+	 */
+	template< class T, class Marker >
+	class Vector_with_Handle_Index
+		: public std::vector< T >
+	{
+		typedef std::vector< T > Base ;		/// Our base class, defined for legibility.
+		inline reference operator[]( size_type n ) { throw std::exception() ; }				/// Prohibit offset operation with unwrapped index
+		inline const_reference operator[]( size_type n ) const { throw std::exception() ; }	/// Prohibit offset operation with unwrapped index
+		inline reference at( size_type n ) { throw std::exception() ; }						/// Prohibit offset operation with unwrapped index
+		inline const_reference at( size_type n ) const { throw std::exception() ; }			/// Prohibit offset operation with unwrapped index
+		inline void resize( size_type, T ) { throw std::exception() ; }			/// Prohibit resize operation with unwrapped index
+		inline void reserve( size_type ) { throw std::exception() ; }			/// Prohibit reserve operation with unwrapped index
+
+	public:
+		/// Declaration of index type
+		typedef Handle< size_type, Marker > handle_type ;
+
+		inline reference operator[]( handle_type n ) { return Base::operator[]( n.get() ) ; }				/// Replacement unchecked offset operator
+		inline const_reference operator[]( handle_type n ) const { return Base::operator[]( n.get() ) ; }	/// Replacement unchecked offset operator
+		inline reference at( handle_type n ) { return Base::at( n.get() ) ; }								/// Replacement checked offset operator
+		inline const_reference at( handle_type n ) const { return Base::at( n.get() ) ; }					/// Replacement checked offset operator
+
+		inline handle_type size() const { return handle_type( Base::size() ) ; }							/// Replacement size returning handle
+		inline void resize( handle_type n, T val = T() ) { return Base::resize( n.get(), val ) ; }			/// Replacement resize with handle
+		inline void reserve( handle_type n ) { return Base::reserve( n.get() ) ; }							/// Replacement reserve with handle
+		inline handle_type capacity() const { return handle_type( Base::capacity() ) ; }					/// Replacement capacity returning handle
+	} ;
+
+	//-------------------------
+	template< class T, template< class, class > class > class Handled ;
+	//-------------------------
+	/**	\class Handle_Registry_Leader
+	 *	\brief A registry that maps handles to instances of a handled class.
+	 *
+	 *	This registry is the normative one.
+	 *	Each instance of a class with a handle (that is, deriving from \c Handled) appears within this registry.
+	 *	In other words, this registry provides a mechanism for operationalizing the referent of a handle.
+	 */
+	template< class T, template< class, class > class Aspect = Null_Aspect_1 >
+	class Handle_Registry_Leader
+	{
+		/// The aspect type as actually used.
+		typedef Aspect< T, Handle_Registry_Leader > aspect_type ;
+
+		/// The aspect class is a friend
+		friend class aspect_type ;
+
+		/// The cooperative Handled aspect is also a friend.
+		friend typename Handled< T, Aspect >::aspect_type ;
+
+		/// Type declaration of the class registry
+		typedef Vector_with_Handle_Index< T *, Handle_Registry_Leader > vector_type ;
+
+	public:
+		/// Proxy the declaration of handle type.
+		typedef typename vector_type::handle_type handle_type ;
+
+	private:
+		/// Vector holding pointers to constructed items.
+		vector_type the_registry ;
+
+		/// Stack of free indices
+		std::vector< handle_type > free_handles ;
+
+		/// Aspect instance
+		aspect_type aspect ;
+
+	public:
+		/// Default constructor
+		Handle_Registry_Leader( aspect_type aspect = aspect_type() )
+			: aspect( aspect )
+		{}
+
+		/// Add an object to the registry, returning its handle.
+		handle_type add( T * ) ;
+
+		/// Remove a handle from the registry.
+		void remove( handle_type ) ;
+
+		/// Offset access is simple because this class issues all its own indices.
+		inline T * operator[]( handle_type x ) { return the_registry[ x ] ; }
+	} ;
+}
+
+namespace aspect {
+	//-------------------------
+	/**	Null_Aspect_1
+	 *	\brief Partial specialization of generic aspect holds the hooks for derived aspects
+	 */
+	template< class T >
+	class Null_Aspect_1< T, ACT::Handle_Registry_Leader< T, Null_Aspect_1 > >
+	{
+	public:
+		/// Called in \c Handle_Registry_Leader::add upon successful addition that expands the internal size of the registry
+		void add_in_new_place() {}
+
+		/// Called in \c Handle_Registry_Leader::add upon successful addition that reuses an existing entry within the registry
+		void add_in_old_place() {}
+	} ;
+}
+
+namespace ACT {
+	//-------------------------
+	/**	\class Handle_Registry_Follower
+	 *	\brief A registry indexed by handles issued by a Handle_Registry_Leader
+	 */
+	template< class T, class Leader, template< class, class, class > class Aspect = aspect::Null_Aspect_2 >
+	class Handle_Registry_Follower
+	{
+		/// The aspect type as actually used.
+		typedef Aspect< T, Leader, Handle_Registry_Follower > aspect_type ;
+
+		/// The aspect class is a friend
+		friend class aspect_type ;
+
+		/// Marker class derived from Leader
+		typedef typename Leader::handle_type::marker_type marker_type ;
+
+		/// Type declaration of the class registry
+		typedef Vector_with_Handle_Index< T, marker_type > vector_type ;
+
+		/// Vector holding pointers to constructed items.
+		vector_type the_registry ;
+
+	public:
+		/// Proxy the declaration of handle type.
+		typedef typename vector_type::handle_type handle_type ;
+
+		/// Aspect instance
+		aspect_type aspect ;
+
+	public:
+		/// Default constructor
+		Handle_Registry_Follower( aspect_type aspect = aspect_type() )
+			: aspect( aspect )
+		{}
+
+		/// Reference to content item of this registry
+		typedef typename vector_type::reference reference ;
+
+		/// Offset access for follower requires a possible expansion of the internal registry for an as-yet-unseen index.
+		reference operator[]( handle_type x ) ;
+	} ;
+}
+namespace aspect {
+	//-------------------------
+	/**	Null_Aspect_2
+	 *	\brief Partial specialization of generic aspect holds the hooks for derived aspects
+	 */
+	template< class T, class Leader >
+	class Null_Aspect_2< T, Leader, ACT::Handle_Registry_Follower< T, Leader, Null_Aspect_2 > >
+	{
+	public:
+		inline void access_from_existing_slot() {} ;
+		inline void expand_capacity_of_vector() {} ;
+		inline void enlarge_size_of_vector() {} ;
+	} ;
+}
+namespace ACT {
+	//-------------------------
+	/**	\class Handled
+	 *	\brief A base class for handled classes.
+	 *		To use, use the derived class as the template parameter, as follows:
+	 *		class X : public class Handled< X > { ... } ;
+	 *
+	 *	This class has the responsibility of defining a class registry for each class T.
+	 */
+	template< class T, template< class, class > class Aspect = aspect::Null_Aspect_1 >
+	class Handled
+	{
+	public:
+		/// The aspect type as actually used.
+		typedef Aspect< T, Handled > aspect_type ;
+
+		/// The aspect class is a friend
+		friend class aspect_type ;
+
+	private:
+		/// Type declaration of the class registry
+		typedef Handle_Registry_Leader< T, Aspect > registry_type ;
+
+		/// Per-class registry.
+		///
+		///	[EH 2007-06-25]
+		///	In MSVC8, this declaration must appear after that for \c aspect_type,
+		///		otherwise the compiler says it's not defined in this class.
+		/// This is a compiler defect.
+		/// The point of instantiation is supposed to be immediately before the declaration containing the first instance,
+		///		but at a namespace or global level, not within a class declaration.
+		/// That means that \c registry_type is supposed to be instantiated before this class is.
+		/// Since visibility has an ordering dependence, I conclude the class is not instantiated then, 
+		///		immediately before this class, but rather within the class.
+		/// In other words, MSVC8 has their point of instantiation wrong.
+		static registry_type our_registry ;
+
+	public:
+		/// Proxy the declaration of handle type from registry type.
+		typedef typename registry_type::handle_type handle_type ;
+
+	private:
+		/// Enclosed handle 
+		handle_type the_handle ;
+
+	protected:
+		/// Aspect helper instance.
+		///
+		/// It's protected so that derived classes may access the aspect.
+		/// This class is designed to be a base class, so this is a generic need.
+		/// If a read-only version of the aspect is desired, 
+		///		change the access control of this item to private
+		///		and add a \c const accessor function returning a reference.
+		aspect_type aspect ;
+
+	public:
+		/// Default constructor takes as parameter the \c this pointer of a derived object.
+		Handled( T * that, aspect_type aspect = aspect_type() )
+			: the_handle( our_registry.add( that ) ),
+			aspect( aspect )
+		{
+			aspect.set_owner( this ) ;
+		}
+
+		/// Destructor
+		~Handled() { our_registry.remove( the_handle ) ; }
+
+		/// Class method to access registry
+		static T * registry_at( handle_type x ) { return our_registry[ x ] ; }
+
+		/// Handle accessor
+		inline handle_type handle() const { return the_handle ; }
+	} ;
+
+	//-------------------------
+	/**	\class Null_Aspect_Handled
+	 *	\brief Base for aspect classes of \c Handled
+	 */
+	template< class T >
+	class Null_Aspect_Handled
+	{} ;
+
+} // end of namespace ACT
+
+namespace aspect {
+	//-------------------------
+	/**	Null_Aspect_1
+	 *	\brief Default null aspect class, bound through default aspect parameter
+	 */
+	template< class T >
+	class Null_Aspect_1< T, ACT::Handled< T, Null_Aspect_1 > >
+		: public ACT::Null_Aspect_Handled< T >,
+		public Null_Aspect_Base< ACT::Handled< T, Null_Aspect_1 > >
+	{} ;
+}
+
+#endif	// end of inclusion protection

Index: ACT/Listen.T.cpp
===================================================================
RCS file: ACT/Listen.T.cpp
diff -N ACT/Listen.T.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/Listen.T.cpp	10 Jul 2007 14:09:08 -0000	1.1
@@ -0,0 +1,99 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/// \file Listen.T.cpp
+/// \brief Implementations of a set of simple actions with which to test the scheduler
+
+#include "Listen.hpp"
+
+namespace ACT {
+	//--------------------------------------------------
+	// Basic_Listen_Monitor
+	//--------------------------------------------------
+	template< class Listener >
+	void
+	Basic_Listen_Monitor< Listener >::
+	add_ready_listener_task( wakeup_listener * w )
+	{
+		ready_list.push_back( w ) ;
+	}
+
+	template< class Listener >
+	ACT_State
+	Basic_Listen_Monitor< Listener >::
+	wake_up_ready_tasks()
+	{
+		if ( ready_list.empty() ) {
+			// This monitor is no longer necessary, since there's nothing to wake up.
+			// Therefore we return complete and let the scheduler remove this instance.
+			// We first have to remove ourselves from the follower registry, in order to be re-created when needed.
+
+			// Note that we only return Completed when the ready list is empty at the start of execution.
+			// This satisfies the service requirement 
+			//		that a service action may not both reschedule a task and complete itself in the same invocation.
+			return set_completed() ;
+		}
+		do {
+			( * ready_list.back() )() ;
+			ready_list.pop_back() ;
+		} while ( ! ready_list.empty() ) ;
+		return set_ready() ;
+	}
+
+	//--------------------------------------------------
+	// Basic_Listening_Task
+	//--------------------------------------------------
+	// Class registry definition
+	template< class Listener, class Monitor >
+	typename Basic_Listening_Task< Listener, Monitor >::follower_registry_type
+	Basic_Listening_Task< Listener, Monitor >::schedulers ;
+
+	//-------------------------
+	template< class Listener, class Monitor >
+	void
+	Basic_Listening_Task< Listener, Monitor >::
+	register_for_wakeup( Listener * that, wakeup_listener * w )
+	{
+		if ( w == 0 ) return ;
+		// Assert wakeup listener is non-trivial.
+
+		handle_type k = w -> scheduler() -> handle() ;
+		// Assert k is the handle to the scheduler of origin for our wakeup_listener
+		shared_ptr< monitor_type > p = schedulers[ k ].lock() ;
+		// Assert p is the monitor associated with our scheduler, if one exists.
+
+		// Ensure monitor exists
+		if ( ! p ) {
+			// Assert monitor does not yet exist
+			p = shared_ptr< monitor_type >( new monitor_type() ) ;
+			schedulers[ k ] = boost::weak_ptr< monitor_type >( p ) ;
+			// Monitor exists but it's not yet scheduled (invariant violation)
+			w -> scheduler() -> add_service( act( p ) ) ;
+			// Assert monitor exists in registry and it's scheduled (invariant satisfied)
+		}
+		// Assert listening monitor for this class exists
+		// Assert p == schedulers[ k ].lock() && p != 0
+
+		// Add the current instance to the monitor associated with our wakeup listener
+		p -> add_wakeup_item( that, w ) ;
+	}
+
+	//-------------------------
+} // end namespace ACT
\ No newline at end of file

Index: ACT/Listen.hpp
===================================================================
RCS file: ACT/Listen.hpp
diff -N ACT/Listen.hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/Listen.hpp	10 Jul 2007 14:09:08 -0000	1.1
@@ -0,0 +1,138 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/// \file Listen.hpp
+
+#pragma once
+#ifndef __Listen_hpp__
+#define __Listen_hpp__
+
+#include "ACT/Scheduler.hpp"
+#include "ACT/Handle.hpp"
+
+#include <boost/weak_ptr.hpp>
+#include <vector>
+
+namespace ACT {
+	//-------------------------
+	/**	\class Basic_Listen_Monitor
+	 *	\brief Base class for monitor service actions.
+	 *
+	 *	Collaborators:
+	 *		- Basic_Listening_Task. Tasks register themselves here when they need to wake up.
+	 *		- Scheduler. This action runs as a service within the scheduler.  
+	 *			While this class uses no specific knowledge of its scheduler, it satisfies the requirements for a service action.
+	 *		- wakeup_listener.  Calls this is a function object to effect a wake-up.
+	 *	Responsibilities:
+	 *		- Hold a record of each task that is waiting and won't again run until this class wakes it up.
+	 *		- Run as a service in the same scheduler that each task is also in.
+	 *		- When activated, wake up waiting tasks that have become ready.
+	 *			Note: this is not a postcondition for monitors generally.
+	 *			A monitor might only wake up a subset of its ready tasks at each activation.
+	 */
+	template< class Listener >
+	class Basic_Listen_Monitor
+		: public simple_act
+	{
+		/// Container for actions ready to run.
+		///
+		/// \par Future
+		///		The vector used currently will be replaced by one provided by the scheduling queue.
+		///		Since each task is present in at most one monitor list,
+		///			we may eliminate an entire dynamic allocation issue by allocating them within the scheduling queue.
+		std::vector< wakeup_listener * > ready_list ;
+
+	protected:
+		/// Run through the ready list and wake up all the tasks on it, removing them from the ready list.
+		///
+		/// This is typically the last statement in the action body of a derived monitor.
+		/// \post
+		///	- return value is either Completed or Working
+		ACT_State wake_up_ready_tasks() ;
+
+		/// Add an item directly to the ready list, skipping readiness checking
+		///
+		/// Since the item is known to be ready, it needs no further examination.
+		/// It need not appear in the parameter list, in contradistinction to \c add_waiting_listener_task.
+		void add_ready_listener_task( wakeup_listener * ) ;
+
+		/// Add an item to the waiting list
+		void add_waiting_listener_task( Listener *, wakeup_listener * ) ;
+	} ;
+
+	//-------------------------
+	/**	\class Basic_Listening_Task
+	 *	\brief Base class for tasks that may suspend themselves and listen for wakeup.
+	 *
+	 *	Collaborators:
+	 *		- Basic_Listen_Monitor. An instance registers itself with its monitor, upon which it relies for wake-up.
+	 *		- Scheduler. This action runs as a task within the scheduler.  
+	 *	Responsibilities.
+	 *		- Register self for later wake-up if it suspends computation.
+	 */
+	template< class Listener, class Monitor >
+	class Basic_Listening_Task
+		: public autonomous_act
+	{
+		/// The monitor type for these actions to register with.
+		typedef Monitor monitor_type ;
+
+		/// Type of handles to Scheduler
+		typedef Scheduler::handle_type handle_type ;
+
+		/// Type of the class registry of monitors
+		typedef typename Handle_Registry_Follower< boost::weak_ptr< Monitor >, Scheduler > follower_registry_type ;
+
+		/**	A vector of monitors, indexed by Scheduler handles.
+		 *
+		 *	The cardinality relationship is either zero-or-one monitor instance for each scheduler.
+		 *
+		 *	\invariant
+		 *	- Each monitor within this registry is present in the queue of its corresponding scheduler.
+		 *
+		 *	Occurrences when this invariant might be violated:
+		 *	- When adding a monitor as a service, the add_service call in the registry doesn't know about the registry.
+		 *		Therefore, we add it to the registry when adding a listening monitor service.
+		 *	- When a monitor completes (say, having nothing left to listen for), the scheduler remove it from the queue.
+		 *		Therefore, when a monitor completes, it's shared_ptr in the Scheduler goes away,
+		 *			so the weak_ptr in the follower registry expires.
+		 *	- When a registry terminates, it might do so with pending actions in its queue.
+		 *		While this is abnormal, it may also be recoverable with a single execution context.
+		 *		The entire scheduling queue in terminated scheduler goes out of scope,
+		 *			so, as with ordinary monitor completion, the weak_ptr expires.
+		 *		Unlike the case of ordinary monitor completion, the destructor for the scheduler
+		 *			runs before that of the monitor.
+		 *		Since the monitor is ignorant of its scheduler, this makes no difference.
+		 */
+		static follower_registry_type schedulers ;
+
+	protected:
+		/**	\brief Register an action for wakeup
+		 *	\post
+		 *	- Monitor is registered in the scheduler and will eventually run.
+		 */
+		void register_for_wakeup( Listener * that, wakeup_listener * w ) ;
+
+	} ;
+
+	//-------------------------
+} // end namespace ACT
+
+#endif

Index: ACT/Pause_Demon.cpp
===================================================================
RCS file: ACT/Pause_Demon.cpp
diff -N ACT/Pause_Demon.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/Pause_Demon.cpp	10 Jul 2007 14:09:08 -0000	1.1
@@ -0,0 +1,48 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/// \file Pause_Demon.cpp
+///	\brief The Pause service suspends itself (and its thread) for a number of milliseconds 
+///		if the scheduling queue has no high-priority items.
+
+#include "Pause_Demon.hpp"
+#include <boost/thread/thread.hpp>
+#include <boost/thread/xtime.hpp>
+
+namespace ACT {
+	//-------------------------
+	ACT_State
+	Pause_Demon::
+	run()
+	{
+		if ( the_scheduler -> ordinary_tasks_available() )
+			return ACT_State::Ready ;
+
+		boost::xtime t ;
+		if ( 0 == xtime_get( & t, boost::TIME_UTC ) ) {
+			return set_bad() ;
+		}
+		t.nsec += ms_to_pause * 1000 * 1000 ;
+		boost::thread().sleep( t ) ;
+		return ACT_State::Ready ;
+	}
+
+	//-------------------------
+} // end namespace ACT

Index: ACT/Pause_Demon.hpp
===================================================================
RCS file: ACT/Pause_Demon.hpp
diff -N ACT/Pause_Demon.hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/Pause_Demon.hpp	10 Jul 2007 14:09:08 -0000	1.1
@@ -0,0 +1,77 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/// \file Pause_Demon.hpp
+///	\brief The Pause service suspends itself (and its thread) for a number of milliseconds 
+///		if the scheduling queue has no high-priority items.
+
+#pragma once
+#ifndef __Pause_Demon_hpp__
+#define __Pause_Demon_hpp__
+
+#include "ACT.hpp"
+#include "Scheduler.hpp"
+
+namespace ACT {
+	//-------------------------
+	/**	\class Pause_Demon
+	 *	\brief A service that does nothing for some number of milliseconds if the scheduler has no tasks pending.
+	 *
+	 *	This service is only pauses during quiet or quiescent operation of a scheduler.
+	 *	The point is to reduce CPU load when nothing is happening.
+	 *	This class is not the most efficient for a low-load service, 
+	 *		since it consumes some constant fraction of CPU regardless of other load.
+	 *	At high load, this service consumes neglible CPU.
+	 *
+	 *	\par Future
+	 *	For low-load and/or utility server applications, this service should be replaced with one that simply blocks.
+	 *	Such a service would have to cooperate with all other listening facilities, any of which could unblock it.
+	 *
+	 *	\par Defects
+	 *	- The present implementation is immortal, preventing graceful cooperative shutdown.
+	 *		It should be able to terminate itself under at least one condition.
+	 *		For example, if no other tasks or services are present, then this one too can end.
+	 */
+	class Pause_Demon
+		: public simple_act
+	{
+		/// Configuration parameter.
+		///
+		/// Should eventually transition to a template parameter.
+		static const unsigned int ms_to_pause = 20 ;
+
+		/// Action body.
+		ACT_State run() ;
+
+		/// Scheduler determines whether pause is necessary or not.
+		Scheduler * the_scheduler ;
+
+	public:
+		/// 
+		Pause_Demon( Scheduler * sc )
+			: the_scheduler( sc )
+		{}
+
+	} ;
+
+	//-------------------------
+} // end namespace ACT
+
+#endif
\ No newline at end of file

Index: ACT/Scheduler.T.cpp
===================================================================
RCS file: ACT/Scheduler.T.cpp
diff -N ACT/Scheduler.T.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/Scheduler.T.cpp	10 Jul 2007 14:09:08 -0000	1.1
@@ -0,0 +1,163 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/// \file Scheduler.T.cpp
+
+#include "Scheduler.hpp"
+
+namespace ACT {
+	//--------------------------------------------------
+	// wakeup_listener_allocated
+	//--------------------------------------------------
+	template< class S >
+	wakeup_listener_allocated< S >::
+	wakeup_listener_allocated( size_t x, scheduler_pointer y )
+		: the_wakeup_listener( new Basic_Wakeup_Listener< S >( x, y ) ) {}
+
+	//--------------------------------------------------
+	// Basic_Wakeup_Listener
+	//--------------------------------------------------
+	template< class S >
+	void
+	Basic_Wakeup_Listener< S >::
+	operator()()
+	{
+		queue_type & the_queue = the_scheduler -> queue() ;
+		the_queue.item( permutation_index ).priority_category = Ordinary ;
+		the_queue.reorder( permutation_index ) ;
+	}
+
+	//--------------------------------------------------
+	// Basic_Scheduler
+	//--------------------------------------------------
+	template< template< class > class Aspect >
+	Basic_Scheduler< Aspect >::
+	Basic_Scheduler( aspect_type aspect )
+		: Scheduler( this ),
+		operating( true ),
+		next_task_sequence_number( 1 ),
+		next_service_sequence_number( 1 ),
+		aspect( aspect )
+	{
+		aspect.set_owner( this ) ;
+	}
+
+	//-------------------------
+	template< template< class > class Aspect >
+	void
+	Basic_Scheduler< Aspect >::
+	reset()
+	{
+		operating = true ;
+	}
+
+	//-------------------------
+	template< template< class > class Aspect >
+	void
+	Basic_Scheduler< Aspect >::
+	operator()()
+	{
+		aspect.run_begin() ;
+		while ( operating ) {
+			if ( ! aspect.run_guard() ) {
+				aspect.run_end_guard_violation() ;
+				return ;
+			}
+			activate_one_item() ;
+		}
+		aspect.run_end_ordinary() ;
+	}
+
+	//-------------------------
+	template< template< class > class Aspect >
+	void
+	Basic_Scheduler< Aspect >::
+	add_task( act x )
+	{
+		item_pointer item = the_queue.push( Basic_Scheduled_Item( x, ++ next_task_sequence_number ), this ) ;
+	}
+
+	template< template< class > class Aspect >
+	void
+	Basic_Scheduler< Aspect >::
+	add_service( act x )
+	{
+		item_pointer item = the_queue.push( Basic_Scheduled_Item( x, ++ next_service_sequence_number, Demon ), this ) ;
+	}
+
+	template< template< class > class Aspect >
+	void
+	Basic_Scheduler< Aspect >::
+	add_critical_service( act )
+	{
+	}
+
+	//-------------------------
+	template< template< class > class Aspect >
+	void
+	Basic_Scheduler< Aspect >::
+	activate_one_item()
+	{
+		// Note that this operation is not locked.
+		// As of this version, this is a single-threaded server.
+		if ( the_queue.empty() ) {
+			// If the queue is finally empty, we're done.
+			operating = false ;
+			return ;
+			// An alternate behavior would be to wait indefinitely for another scheduled item.
+			// This is an asynchronous scheduler; it doesn't wait.
+			// To understand how this scheduler wakes up from quiescence, look into service actions.
+		}
+		// Assert the_queue is not empty
+
+		queue_type::pointer item = the_queue.top_ptr() ;
+		ACT_State result = item -> the_action( the_queue.auxiliary_top() -> get() ) ;
+		if ( result.working() ) {
+			switch ( item -> action_type ) 
+			{
+				case Task :
+					// Assert action is not a service
+					item -> priority_category = Waiting ;
+					the_queue.reorder( item ) ;
+					break ;
+				case Demon :
+					// Always reset the sequence number for a demon.
+					// The resulting behavior is to cycle through all available demons.
+					item -> sequence_number = next_service_sequence_number ++ ;
+					the_queue.reorder( item ) ;
+					break ;
+			}
+		} else {
+			the_queue.pop() ;
+			// Perhaps we might want to log items gone bad here.
+		}
+	}
+
+	//-------------------------
+	template< template< class > class Aspect >
+	bool
+	Basic_Scheduler< Aspect >::
+	ordinary_tasks_available()
+	{
+		if ( the_queue.empty() ) return false ;
+		return the_queue.top().priority_category <= Ordinary ;
+	}
+
+} // end namespace ACT

Index: ACT/test_support/Supplied_Service.cpp
===================================================================
RCS file: ACT/test_support/Supplied_Service.cpp
diff -N ACT/test_support/Supplied_Service.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/test_support/Supplied_Service.cpp	10 Jul 2007 14:09:09 -0000	1.1
@@ -0,0 +1,57 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/// \file Supplied_Service.cpp
+/// \brief A service that takes an outside supply of actions and supplies them as a service.
+
+#include "Supplied_Service.hpp"
+
+namespace ACT {
+	shared_ptr< basic_act >
+	Supplied_Generator::
+	next_action( wakeup_listener * )
+	{
+		if ( ! complete ) {
+			if ( ! the_tasks.empty() ) {
+				shared_ptr< basic_act > x = the_tasks.front() ;
+				the_tasks.pop_front() ;
+				return x ;
+			} else {
+				if ( ! active ) complete = true ;
+			}
+			/// Assert no more tasks left to return
+		}
+		return shared_ptr< basic_act >() ;
+	}
+
+	void
+	Supplied_Generator::
+	add_task( shared_ptr< basic_act > x )
+	{
+		if ( ! active ) throw std::exception( "Not accepting new actions after shutdown" ) ;
+		the_tasks.push_back( x ) ;
+	}
+
+} // end namespace ACT
+
+#include "ACT/Service.cpp"
+namespace ACT {
+	template Service< Supplied_Service_Aspect > ;
+}

Index: ACT/test_support/Supplied_Service.hpp
===================================================================
RCS file: ACT/test_support/Supplied_Service.hpp
diff -N ACT/test_support/Supplied_Service.hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/test_support/Supplied_Service.hpp	10 Jul 2007 14:09:09 -0000	1.1
@@ -0,0 +1,121 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/// \file Supplied_Service.hpp
+/// \brief A service that takes an outside supply of actions and supplies them as a service.
+
+#pragma once
+#ifndef __Supplied_Service_hpp__
+#define __Supplied_Service_hpp__
+
+#include "ACT/Service.hpp"
+#include "Action_Tracing.hpp"
+#include <list>
+
+namespace ACT {
+	//-------------------------
+	/**	\class Supplied_Generator
+	 *	\brief A generator whose entries are added manually one by one.
+	 */
+	class Supplied_Generator
+		: public Generator
+	{
+		/// List of pending actions.
+		std::list< shared_ptr< basic_act > > the_tasks ;
+
+		/// Remove the first pending action in our internal list and return it.
+		shared_ptr< basic_act > next_action( wakeup_listener * ) ;
+
+		/// The active-vs.-shutdown state of this generator.
+		bool active ;
+
+		///
+		bool complete ;
+
+	public:
+		/// Default constructor starts off in active state.
+		Supplied_Generator()
+			: active( true ), complete( false ) {}
+
+		/// This \c shutdown routine pushes out all pending actions, accepting no new ones.
+		void shutdown() { active = false ; }
+
+		///
+		void add_task( shared_ptr< basic_act > ) ;
+
+		///
+		bool completed() { return complete ; }
+	} ;
+
+	//-------------------------
+	// Aspect for Service base class
+	template< class > class Supplied_Service_Aspect ;
+
+	//-------------------------
+	//	Supplied_Service_Aspect
+	/**
+	 *	\brief Aspect for class \c Service that tracks the run function
+	 */
+	template<>
+	class Supplied_Service_Aspect< Service< Supplied_Service_Aspect > >
+		: public Service_Null_Aspect,
+		public aspect::Aspect_Has_Access_To_Owner< Service< Supplied_Service_Aspect > >
+	{
+		/// Tracking
+		std::auto_ptr< tracking_function > tracker ;
+
+	public:
+		Supplied_Service_Aspect( tracking_function * t )
+			: tracker( t )
+		{}
+
+		void log_run_begin() { if ( tracker.get() != 0 ) ( * tracker )( "" ) ; }
+	} ;
+
+	//-------------------------
+	/**	\class Supplied_Service
+	 *	\brief A service whose tasks are manually added one by one.
+	 */
+	class Supplied_Service
+		: public Service< Supplied_Service_Aspect >
+	{
+		/// Aspect type for \c Service base class
+		typedef Supplied_Service_Aspect< Service< Supplied_Service_Aspect > > service_base_aspect_type ;
+
+		/// Member allocation for our generator
+		Supplied_Generator the_generator ;
+
+	public:
+		/// Default constructor
+		Supplied_Service( Scheduler & z, tracking_function * t = 0 )
+			: Service( the_generator, z, service_base_aspect_type( t ) )
+		{}
+
+		///
+		inline void shutdown() { the_generator.shutdown() ; }
+
+		///
+		inline void add_task( shared_ptr< basic_act > x ) { the_generator.add_task( x ) ; }
+	} ;
+
+	//-------------------------
+} // end namespace ACT
+
+#endif

Index: HTTP/Change_Log.txt
===================================================================
RCS file: HTTP/Change_Log.txt
diff -N HTTP/Change_Log.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ HTTP/Change_Log.txt	10 Jul 2007 14:09:10 -0000	1.1
@@ -0,0 +1,6 @@
+Change Log for GNU Cygnal, Module HTTP
+======================================
+
+2007-07-09 Eric Hughes <eh@narthex.us>
+	* unit_tests/Test_HTTP.cpp: Duplicated Invalid_Version_Request test into ordinary URI and *-URI forms.
+	* HTTP_Parse.[hc]pp: Fixed defect in Request_Scanner, which wasn't looking explicitly for a space after the URI.  It was relying on the URI scanner to consume the next character, but since the URI scanner is used elsewhere, it should not silently consume anything other than the URI itself.  Fixing this defect allowed the Invalid_Version_Request, *-version, to pass, but unmasked the defect in URI scanning.

Index: Net/Change_Log.txt
===================================================================
RCS file: Net/Change_Log.txt
diff -N Net/Change_Log.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Net/Change_Log.txt	10 Jul 2007 14:09:11 -0000	1.1
@@ -0,0 +1,5 @@
+Change Log for GNU Cygnal, Module Net
+=====================================
+
+2007-07-06 Eric Hughes <eh@narthex.us>
+	* socket_device.cpp: Stubbed out obsolete reaction to EINTR.

Index: Aspect.hpp
===================================================================
RCS file: Aspect.hpp
diff -N Aspect.hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Aspect.hpp	10 Jul 2007 14:09:11 -0000	1.1
@@ -0,0 +1,135 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/**	\file Aspect.hpp
+ *	\brief An aspect is a hook for augmenting the behavior of a class at compile time.
+ */
+
+#pragma once
+#ifndef __Aspect_hpp___
+#define __Aspect_hpp___
+
+namespace aspect {
+
+	//--------------------------------------------------
+	// Base null aspect classes for specialization
+
+	/// Base Null_Aspect class for class that would otherwise be ordinary classes (no template)
+	template< class Owner >
+	class Null_Aspect_0 
+	{} ;
+
+	/// Base Null_Aspect class for class that would otherwise have a single template parameter
+	template< class T, class Owner >
+	class Null_Aspect_1
+	{} ;
+
+	/// Base Null_Aspect class for class that would otherwise have two template parameters
+	template< class T1, class T2, class Owner >
+	class Null_Aspect_2
+	{} ;
+
+	//--------------------------------------------------
+	/**	\class Null_Aspect_Base
+	 *
+	 *	Specializations of null aspect templates, required to create hook points, do not inherit from their generic template.
+	 *	This class provides such a base.
+	 *	In order that null templates may derive from it, it does not define any data.
+	 *
+	 *	This base is needed to provide a null definition of the hooks provided by other add-in classes within this module.
+	 *	The first one of these is \c set_owner(), needed for an aspect to gain access its owner's internal data.
+	 *	When other add-ins are defined, put a null function definition here for each function in the add-in.
+	 */
+	template< class Owner >
+	class Null_Aspect_Base
+	{
+	public:
+		/// The owner type is the class of which this class is an aspect.
+		typedef Owner owner_type ;
+
+		/// For the null aspect set_owner does nothing.
+		inline void set_owner( Owner * x ) {}
+	} ;
+
+	//--------------------------------------------------
+	/** \class Aspect_Has_Access_To_Owner
+	 *	\brief Base class for aspects that require access to their owner.
+	 *
+	 *	Not all aspects require access to their owner class.
+	 *	Universally, null aspects don't, because the operations they define don't do anything.
+	 *	Access to an owner requires storing a pointer, so a null aspect couldn't have one anyway,
+	 *		since a null aspect must not define storage (otherwise it's not null).
+	 */
+	template< class Owner >
+	class Aspect_Has_Access_To_Owner
+	{
+		/// This class is a wrapper around a pointer to its owner.
+		Owner * the_owner ;
+
+	public:
+		/// Default constructor
+		Aspect_Has_Access_To_Owner()
+			: the_owner( 0 ) {}
+
+		/// Accessor to owner
+		inline Owner * owner() const { return the_owner ; }
+
+		/// Owner must be set after construction, because 'this' isn't known before the aspect instance is constructed.
+		inline void set_owner( Owner * x ) { the_owner = x ; }
+	} ;
+
+	//--------------------------------------------------
+	/** \class Aspect_Has_Const_Access_To_Owner
+	 *	\brief Base class for aspects that require read access to their owner, but not write access.
+	 *
+	 *	Not all aspects require access to their owner class.
+	 *	Universally, null aspects don't, because the operations they define don't do anything.
+	 *	Access to an owner requires storing a pointer, so a null aspect couldn't have one anyway,
+	 *		since a null aspect must not define storage (otherwise it's not null).
+	 */
+	template< class Owner >
+	class Aspect_Has_Const_Access_To_Owner
+	{
+		/// This class is a wrapper around a pointer to its owner.
+		const Owner * the_owner ;
+
+	public:
+		/// Default constructor
+		Aspect_Has_Const_Access_To_Owner( const Owner * x )
+			: the_owner( x ) {}
+
+		/// Accessor to owner
+		inline const Owner * owner() const { return the_owner ; }
+	} ;
+
+	//--------------------------------------------------
+	/**
+	 */
+} // end namespace aspect
+
+
+// This should move to config.h, perhaps
+#ifdef _MSC_VER
+// Disable the warning about "'this' uses in base member initializer list
+#	pragma warning(disable:4355)
+#else
+#endif
+
+#endif	// end of inclusion protection

Index: Change_Log.txt
===================================================================
RCS file: Change_Log.txt
diff -N Change_Log.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Change_Log.txt	10 Jul 2007 14:09:11 -0000	1.1
@@ -0,0 +1,24 @@
+Change Log for GNU Cygnal
+=========================
+
+2007-07-09 Eric Hughes <eh@narthex.us>
+	* ACT/ACT.hpp: Changed ACT_State::Waiting to Would_Block.  Modified convenience methods accordingly.
+	* ACT/Pause_Service.cpp, ACT/test_support/Listening_Actions.cpp, HTTP/HTTP_Behavior.cpp: followed ACT.hpp changes.
+	* ACT/unit_tests/Test_ACT.cpp: Improved act_twice to ensure guard on run() is in effect.
+	* IO/Stream_Consumer.cpp: Removed defect that was masking failures in scanning.  Change causes an HTTP unit test to fail.
+
+2007-07-06 Eric Hughes <eh@narthex.us>
+	* ACT/ACT.hpp: Converted ACT_State from an enumeration to a class.  Removed convenience typedef.
+	* IO/Stream_Consumer.hpp: Added source_state() to assist in writing parsing filters.
+	* Lots and lots of files: Renamed act_state to ACT_State everywhere.  Changed constant references to Working to either Waiting or Ready, as appropriate.  Changed set_working() to set_ready(), set_waiting(), or source_state(), as appropriate.
+	
+2007-07-06 Eric Hughes <eh@narthex.us>
+	* doc/Doxyfile: Converted all paths to relative form.
+	* doc/mainpage.doxygen.txt: Wrote new main page.
+	* ACT/ACT.doxygen.txt: Wrote new page with overview of ACT.
+
+2007-06-28 Eric Hughes <eh@narthex.us>
+	* doc/Doxyfile: New file.
+
+2007-06-17 Eric Hughes <eh@narthex.us>
+	* ACT/*: Got listener wakeup working correctly in scheduler.

Index: mainpage.doxygen.txt
===================================================================
RCS file: mainpage.doxygen.txt
diff -N mainpage.doxygen.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ mainpage.doxygen.txt	10 Jul 2007 14:09:12 -0000	1.1
@@ -0,0 +1,36 @@
+/**
+
+\mainpage GNU Cygnal
+
+\section s_Introduction Introduction
+
+	Documentation for the source code of GNU Cygnal.
+	
+\section s_Code_Organization Code Organization
+
+	The code is organized into a set of modules:
+	- \ref ACT.  
+		Asynchronous Computation Task.  
+		The multitasking foundation of the system.
+	- IO. 
+		Input/Output.
+		ACT-enabled I/O infrastructure.
+		Provides scattered buffering and the conversion of asynchronous block I/O into an asynchronous stream abstraction.
+	- Net.
+		Network I/O.
+		ACT-enabled network primitives.
+	- HTTP.
+		HTTP syntax and protocol behavior.
+
+\section s_Running_Doxygen Running Doxygen [EH as of 2007-07-05]
+
+	Doxygen doesn't deal so well with code that makes heavy use of templates.
+	Here's a <a href="http://bugzilla.gnome.org/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=template&product=doxygen&long_desc_type=substring&long_desc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=NEEDINFO&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailcc2=1&emailtype2=substring&email2=&bugidtype=include&bug_id=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Bug+Number&field0-0-0=noop&type0-0-0=noop&value0-0-0=">search for doxygen template defects</a>.
+	While it would be a good thing for doxygen to run without errors, that's not happening now.
+	The two most common defects seem to be these:
+		- No recognition of explicit template instantiation: http://bugzilla.gnome.org/show_bug.cgi?id=331519.
+		- Conflation of members in template specifications: http://bugzilla.gnome.org/show_bug.cgi?id=406027.
+	There are a couple of other errors doxygen spits out.
+	I haven't located them in the doxygen issue tracker.
+
+ */
\ No newline at end of file

Index: doc/Doxyfile
===================================================================
RCS file: doc/Doxyfile
diff -N doc/Doxyfile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ doc/Doxyfile	10 Jul 2007 14:09:12 -0000	1.1
@@ -0,0 +1,264 @@
+# Doxyfile 1.5.2
+
+#---------------------------------------------------------------------------
+# Project related configuration options
+#---------------------------------------------------------------------------
+DOXYFILE_ENCODING      = UTF-8
+PROJECT_NAME           = "GNU Cygnal"
+PROJECT_NUMBER         = 
+OUTPUT_DIRECTORY       = doc
+CREATE_SUBDIRS         = YES
+OUTPUT_LANGUAGE        = English
+BRIEF_MEMBER_DESC      = YES
+REPEAT_BRIEF           = YES
+ABBREVIATE_BRIEF       = "The $name class" \
+                         "The $name widget" \
+                         "The $name file" \
+                         is \
+                         provides \
+                         specifies \
+                         contains \
+                         represents \
+                         a \
+                         an \
+                         the
+ALWAYS_DETAILED_SEC    = NO
+INLINE_INHERITED_MEMB  = NO
+FULL_PATH_NAMES        = YES
+STRIP_FROM_PATH        = 
+STRIP_FROM_INC_PATH    = 
+SHORT_NAMES            = NO
+JAVADOC_AUTOBRIEF      = NO
+MULTILINE_CPP_IS_BRIEF = NO
+DETAILS_AT_TOP         = NO
+INHERIT_DOCS           = YES
+SEPARATE_MEMBER_PAGES  = NO
+TAB_SIZE               = 8
+ALIASES                = 
+OPTIMIZE_OUTPUT_FOR_C  = NO
+OPTIMIZE_OUTPUT_JAVA   = NO
+BUILTIN_STL_SUPPORT    = NO
+CPP_CLI_SUPPORT        = NO
+DISTRIBUTE_GROUP_DOC   = NO
+SUBGROUPING            = YES
+#---------------------------------------------------------------------------
+# Build related configuration options
+#---------------------------------------------------------------------------
+EXTRACT_ALL            = NO
+EXTRACT_PRIVATE        = NO
+EXTRACT_STATIC         = NO
+EXTRACT_LOCAL_CLASSES  = YES
+EXTRACT_LOCAL_METHODS  = NO
+HIDE_UNDOC_MEMBERS     = YES
+HIDE_UNDOC_CLASSES     = NO
+HIDE_FRIEND_COMPOUNDS  = NO
+HIDE_IN_BODY_DOCS      = NO
+INTERNAL_DOCS          = NO
+CASE_SENSE_NAMES       = NO
+HIDE_SCOPE_NAMES       = NO
+SHOW_INCLUDE_FILES     = YES
+INLINE_INFO            = YES
+SORT_MEMBER_DOCS       = YES
+SORT_BRIEF_DOCS        = NO
+SORT_BY_SCOPE_NAME     = NO
+GENERATE_TODOLIST      = YES
+GENERATE_TESTLIST      = YES
+GENERATE_BUGLIST       = YES
+GENERATE_DEPRECATEDLIST= YES
+ENABLED_SECTIONS       = 
+MAX_INITIALIZER_LINES  = 30
+SHOW_USED_FILES        = YES
+SHOW_DIRECTORIES       = NO
+FILE_VERSION_FILTER    = 
+#---------------------------------------------------------------------------
+# configuration options related to warning and progress messages
+#---------------------------------------------------------------------------
+QUIET                  = YES
+WARNINGS               = YES
+WARN_IF_UNDOCUMENTED   = YES
+WARN_IF_DOC_ERROR      = YES
+WARN_NO_PARAMDOC       = NO
+WARN_FORMAT            = "$file( $line) : $text"
+WARN_LOGFILE           = 
+#---------------------------------------------------------------------------
+# configuration options related to the input files
+#---------------------------------------------------------------------------
+INPUT                  = .
+INPUT_ENCODING         = UTF-8
+FILE_PATTERNS          = *.c \
+                         *.cc \
+                         *.cxx \
+                         *.cpp \
+                         *.c++ \
+                         *.d \
+                         *.java \
+                         *.ii \
+                         *.ixx \
+                         *.ipp \
+                         *.i++ \
+                         *.inl \
+                         *.h \
+                         *.hh \
+                         *.hxx \
+                         *.hpp \
+                         *.h++ \
+                         *.idl \
+                         *.odl \
+                         *.cs \
+                         *.php \
+                         *.php3 \
+                         *.inc \
+                         *.m \
+                         *.mm \
+                         *.dox \
+                         *.py \
+                         *.doxygen.txt
+RECURSIVE              = YES
+EXCLUDE                = 
+EXCLUDE_SYMLINKS       = NO
+EXCLUDE_PATTERNS       = 
+EXCLUDE_SYMBOLS        = BOOST_AUTO_UNIT_TEST
+EXAMPLE_PATH           = 
+EXAMPLE_PATTERNS       = *
+EXAMPLE_RECURSIVE      = NO
+IMAGE_PATH             = 
+INPUT_FILTER           = 
+FILTER_PATTERNS        = 
+FILTER_SOURCE_FILES    = NO
+#---------------------------------------------------------------------------
+# configuration options related to source browsing
+#---------------------------------------------------------------------------
+SOURCE_BROWSER         = NO
+INLINE_SOURCES         = NO
+STRIP_CODE_COMMENTS    = YES
+REFERENCED_BY_RELATION = NO
+REFERENCES_RELATION    = NO
+REFERENCES_LINK_SOURCE = YES
+USE_HTAGS              = NO
+VERBATIM_HEADERS       = NO
+#---------------------------------------------------------------------------
+# configuration options related to the alphabetical class index
+#---------------------------------------------------------------------------
+ALPHABETICAL_INDEX     = NO
+COLS_IN_ALPHA_INDEX    = 5
+IGNORE_PREFIX          = 
+#---------------------------------------------------------------------------
+# configuration options related to the HTML output
+#---------------------------------------------------------------------------
+GENERATE_HTML          = YES
+HTML_OUTPUT            = html
+HTML_FILE_EXTENSION    = .html
+HTML_HEADER            = 
+HTML_FOOTER            = 
+HTML_STYLESHEET        = 
+HTML_ALIGN_MEMBERS     = YES
+GENERATE_HTMLHELP      = NO
+CHM_FILE               = 
+HHC_LOCATION           = 
+GENERATE_CHI           = NO
+BINARY_TOC             = NO
+TOC_EXPAND             = NO
+DISABLE_INDEX          = NO
+ENUM_VALUES_PER_LINE   = 4
+GENERATE_TREEVIEW      = YES
+TREEVIEW_WIDTH         = 350
+#---------------------------------------------------------------------------
+# configuration options related to the LaTeX output
+#---------------------------------------------------------------------------
+GENERATE_LATEX         = NO
+LATEX_OUTPUT           = latex
+LATEX_CMD_NAME         = latex
+MAKEINDEX_CMD_NAME     = makeindex
+COMPACT_LATEX          = NO
+PAPER_TYPE             = a4wide
+EXTRA_PACKAGES         = 
+LATEX_HEADER           = 
+PDF_HYPERLINKS         = NO
+USE_PDFLATEX           = NO
+LATEX_BATCHMODE        = NO
+LATEX_HIDE_INDICES     = NO
+#---------------------------------------------------------------------------
+# configuration options related to the RTF output
+#---------------------------------------------------------------------------
+GENERATE_RTF           = NO
+RTF_OUTPUT             = rtf
+COMPACT_RTF            = NO
+RTF_HYPERLINKS         = NO
+RTF_STYLESHEET_FILE    = 
+RTF_EXTENSIONS_FILE    = 
+#---------------------------------------------------------------------------
+# configuration options related to the man page output
+#---------------------------------------------------------------------------
+GENERATE_MAN           = NO
+MAN_OUTPUT             = man
+MAN_EXTENSION          = .3
+MAN_LINKS              = NO
+#---------------------------------------------------------------------------
+# configuration options related to the XML output
+#---------------------------------------------------------------------------
+GENERATE_XML           = NO
+XML_OUTPUT             = xml
+XML_SCHEMA             = 
+XML_DTD                = 
+XML_PROGRAMLISTING     = YES
+#---------------------------------------------------------------------------
+# configuration options for the AutoGen Definitions output
+#---------------------------------------------------------------------------
+GENERATE_AUTOGEN_DEF   = NO
+#---------------------------------------------------------------------------
+# configuration options related to the Perl module output
+#---------------------------------------------------------------------------
+GENERATE_PERLMOD       = NO
+PERLMOD_LATEX          = NO
+PERLMOD_PRETTY         = YES
+PERLMOD_MAKEVAR_PREFIX = 
+#---------------------------------------------------------------------------
+# Configuration options related to the preprocessor   
+#---------------------------------------------------------------------------
+ENABLE_PREPROCESSING   = YES
+MACRO_EXPANSION        = NO
+EXPAND_ONLY_PREDEF     = NO
+SEARCH_INCLUDES        = YES
+INCLUDE_PATH           = .
+INCLUDE_FILE_PATTERNS  = 
+PREDEFINED             = 
+EXPAND_AS_DEFINED      = 
+SKIP_FUNCTION_MACROS   = YES
+#---------------------------------------------------------------------------
+# Configuration::additions related to external references   
+#---------------------------------------------------------------------------
+TAGFILES               = 
+GENERATE_TAGFILE       = 
+ALLEXTERNALS           = NO
+EXTERNAL_GROUPS        = YES
+PERL_PATH              = /usr/bin/perl
+#---------------------------------------------------------------------------
+# Configuration options related to the dot tool   
+#---------------------------------------------------------------------------
+CLASS_DIAGRAMS         = YES
+MSCGEN_PATH            = 
+HIDE_UNDOC_RELATIONS   = YES
+HAVE_DOT               = NO
+CLASS_GRAPH            = YES
+COLLABORATION_GRAPH    = YES
+GROUP_GRAPHS           = YES
+UML_LOOK               = NO
+TEMPLATE_RELATIONS     = NO
+INCLUDE_GRAPH          = YES
+INCLUDED_BY_GRAPH      = YES
+CALL_GRAPH             = NO
+CALLER_GRAPH           = NO
+GRAPHICAL_HIERARCHY    = YES
+DIRECTORY_GRAPH        = YES
+DOT_IMAGE_FORMAT       = png
+DOT_PATH               = 
+DOTFILE_DIRS           = 
+DOT_GRAPH_MAX_NODES    = 50
+DOT_TRANSPARENT        = NO
+DOT_MULTI_TARGETS      = NO
+GENERATE_LEGEND        = YES
+DOT_CLEANUP            = YES
+#---------------------------------------------------------------------------
+# Configuration::additions related to the search engine   
+#---------------------------------------------------------------------------
+SEARCHENGINE           = NO

Index: ACT/Pause_Service.cpp
===================================================================
RCS file: ACT/Pause_Service.cpp
diff -N ACT/Pause_Service.cpp
--- ACT/Pause_Service.cpp	1 Jul 2007 10:53:50 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,48 +0,0 @@
-// 
-// Copyright (C) 2007 Free Software Foundation, Inc.
-//
-// This file is part of GNU Cygnal.
-// 
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 3 of the License, or
-// (at your option) any later version.
-// 
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-//
-
-/// \file Pause_Service.hpp
-///	\brief The Pause service suspends itself (and its thread) for a number of milliseconds 
-///		if the scheduling queue has no high-priority items.
-
-#include "Pause_Service.hpp"
-#include <boost/thread/thread.hpp>
-#include <boost/thread/xtime.hpp>
-
-namespace ACT {
-	//-------------------------
-	act_state
-	Pause_Service::
-	run()
-	{
-		if ( the_scheduler -> ordinary_tasks_available() )
-			return Working ;
-
-		boost::xtime t ;
-		if ( 0 == xtime_get( & t, boost::TIME_UTC ) ) {
-			return set_bad() ;
-		}
-		t.nsec += ms_to_pause * 1000 * 1000 ;
-		boost::thread().sleep( t ) ;
-		return Working ;
-	}
-
-	//-------------------------
-} // end namespace ACT

Index: ACT/Pause_Service.hpp
===================================================================
RCS file: ACT/Pause_Service.hpp
diff -N ACT/Pause_Service.hpp
--- ACT/Pause_Service.hpp	1 Jul 2007 10:53:51 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,61 +0,0 @@
-// 
-// Copyright (C) 2007 Free Software Foundation, Inc.
-//
-// This file is part of GNU Cygnal.
-// 
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 3 of the License, or
-// (at your option) any later version.
-// 
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-//
-
-/// \file Pause_Service.hpp
-///	\brief The Pause service suspends itself (and its thread) for a number of milliseconds 
-///		if the scheduling queue has no high-priority items.
-
-#pragma once
-#ifndef __Pause_Service_hpp__
-#define __Pause_Service_hpp__
-
-#include "ACT.hpp"
-#include "Scheduler.hpp"
-
-namespace ACT {
-	//-------------------------
-	/**	\class Pause_Service
-	 */
-	class Pause_Service
-		: public simple_act
-	{
-		/// Configuration parameter.
-		///
-		/// Should eventually transition to a template parameter.
-		static const unsigned int ms_to_pause = 20 ;
-
-		/// Action body.
-		act_state run() ;
-
-		/// Scheduler determines whether pause is necessary or not.
-		Basic_Scheduler * the_scheduler ;
-
-	public:
-		/// 
-		Pause_Service( Basic_Scheduler * sc )
-			: the_scheduler( sc )
-		{}
-
-	} ;
-
-	//-------------------------
-} // end namespace ACT
-
-#endif
\ No newline at end of file



From MAILER-DAEMON Tue Jul 10 10:43:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Gw1-0007Wt-BN
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 10:43:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Gw0-0007Wo-BK
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:43:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Gvy-0007Wb-QB
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:43:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Gvy-0007WV-Js
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:43:22 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8Gvy-0003ay-7v
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:43:22 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8Gvx-0002VJ-6c
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 14:43:21 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8Gvx-0002VC-1T
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 14:43:21 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8Gvx-0002VC-1T@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 14:43:21 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/misc-ming.all key_event_test5ru...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 14:43:24 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 14:43:21

Added files:
	testsuite/misc-ming.all: key_event_test5runner.cpp 
Removed files:
	testsuite/misc-ming.all: Key_event_test5runner.cpp 

Log message:
	fix case in filename

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5runner.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Key_event_test5runner.cpp?cvsroot=gnash&r1=1.1&r2=0

Patches:
Index: key_event_test5runner.cpp
===================================================================
RCS file: key_event_test5runner.cpp
diff -N key_event_test5runner.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ key_event_test5runner.cpp	10 Jul 2007 14:43:20 -0000	1.1
@@ -0,0 +1,85 @@
+/* 
+ *   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ *
+ */ 
+
+#define INPUT_FILENAME "key_event_test5.swf"
+
+#include "MovieTester.h"
+#include "sprite_instance.h"
+#include "character.h"
+#include "dlist.h"
+#include "container.h"
+#include "log.h"
+
+#include "check.h"
+#include <string>
+#include <cassert>
+
+using namespace gnash;
+using namespace std;
+
+int
+main(int /*argc*/, char** /*argv*/)
+{
+  string filename =  string(INPUT_FILENAME);
+  MovieTester tester(filename);
+
+  gnash::LogFile& dbglogfile = gnash::LogFile::getDefaultInstance();
+  dbglogfile.setVerbosity(1);
+
+  sprite_instance* root = tester.getRootMovie();
+  assert(root);
+
+  tester.advance();
+  tester.advance();
+  tester.advance();
+  
+  as_value tmp;
+  // ???, can not find 'hasKeyPressed'?
+  xcheck(root->get_member("hasKeyPressed", &tmp));
+  check_equals(tmp.to_number(), 0.0);
+  
+  // Provide a key event and that's all.
+  // testing will be done in the SWF file.
+  tester.pressKey(key::A);
+  tester.releaseKey(key::A);
+
+  // advance to the 8th frame
+  for(int i=0; i<5; i++)
+  {
+    tester.advance();
+  }
+  check_equals(root->get_current_frame(), 8);
+  
+  // ???, can not find 'hasKeyPressed'?
+  xcheck(root->get_member("hasKeyPressed", &tmp));
+  xcheck_equals(tmp.to_number(), 1.0);
+  
+  // Provide a key event. 
+  tester.pressKey(key::A);
+  tester.releaseKey(key::A);
+  
+  // advance to the last frame
+  for(int i=0; i<5; i++)
+  {
+    tester.advance();
+  }
+  check_equals(root->get_current_frame(), root->get_frame_count()-1);
+   
+  return 0; 
+}

Index: Key_event_test5runner.cpp
===================================================================
RCS file: Key_event_test5runner.cpp
diff -N Key_event_test5runner.cpp
--- Key_event_test5runner.cpp	10 Jul 2007 11:45:34 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,85 +0,0 @@
-/* 
- *   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
- * 
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- * 
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
- *
- */ 
-
-#define INPUT_FILENAME "key_event_test5.swf"
-
-#include "MovieTester.h"
-#include "sprite_instance.h"
-#include "character.h"
-#include "dlist.h"
-#include "container.h"
-#include "log.h"
-
-#include "check.h"
-#include <string>
-#include <cassert>
-
-using namespace gnash;
-using namespace std;
-
-int
-main(int /*argc*/, char** /*argv*/)
-{
-  string filename =  string(INPUT_FILENAME);
-  MovieTester tester(filename);
-
-  gnash::LogFile& dbglogfile = gnash::LogFile::getDefaultInstance();
-  dbglogfile.setVerbosity(1);
-
-  sprite_instance* root = tester.getRootMovie();
-  assert(root);
-
-  tester.advance();
-  tester.advance();
-  tester.advance();
-  
-  as_value tmp;
-  // ???, can not find 'hasKeyPressed'?
-  xcheck(root->get_member("hasKeyPressed", &tmp));
-  check_equals(tmp.to_number(), 0.0);
-  
-  // Provide a key event and that's all.
-  // testing will be done in the SWF file.
-  tester.pressKey(key::A);
-  tester.releaseKey(key::A);
-
-  // advance to the 8th frame
-  for(int i=0; i<5; i++)
-  {
-    tester.advance();
-  }
-  check_equals(root->get_current_frame(), 8);
-  
-  // ???, can not find 'hasKeyPressed'?
-  xcheck(root->get_member("hasKeyPressed", &tmp));
-  xcheck_equals(tmp.to_number(), 1.0);
-  
-  // Provide a key event. 
-  tester.pressKey(key::A);
-  tester.releaseKey(key::A);
-  
-  // advance to the last frame
-  for(int i=0; i<5; i++)
-  {
-    tester.advance();
-  }
-  check_equals(root->get_current_frame(), root->get_frame_count()-1);
-   
-  return 0; 
-}



From MAILER-DAEMON Tue Jul 10 10:49:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8H2N-0003nL-FE
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 10:49:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8H2M-0003mu-DT
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:49:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8H2L-0003mV-KS
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:49:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8H2L-0003mO-90
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:49:57 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8H2K-00052f-Si
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 10:49:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8H2K-0003Ib-BN
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 14:49:56 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8H2K-0003IY-7V
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 14:49:56 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8H2K-0003IY-7V@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 14:49:56 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler_cairo.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 14:49:58 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 14:49:56

Modified files:
	.              : ChangeLog 
	backend        : render_handler_cairo.cpp 

Log message:
	Patch by Timothy Lee <timothy.lee@siriushk.com>:
	
	        * backend/render_handler_cairo.cpp: initial pass at video rendering for cairo.
	          (scale and offset don't work consistently yet).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3698&r2=1.3699
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_cairo.cpp?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3698
retrieving revision 1.3699
diff -u -b -r1.3698 -r1.3699
--- ChangeLog	10 Jul 2007 12:22:33 -0000	1.3698
+++ ChangeLog	10 Jul 2007 14:49:55 -0000	1.3699
@@ -1,3 +1,8 @@
+2007-07-10 Timothy Lee <timothy.lee@siriushk.com>
+
+	* backend/render_handler_cairo.cpp: initial pass at video rendering for cairo.
+	  (scale and offset don't work consistently yet).
+
 2007-07-10 Zou Lunkai <zoulunkai@gmail.com>
 
 	* server/movie_root.cpp: remove the key listener from the listener container, 

Index: backend/render_handler_cairo.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_cairo.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- backend/render_handler_cairo.cpp	9 Dec 2006 09:17:35 -0000	1.19
+++ backend/render_handler_cairo.cpp	10 Jul 2007 14:49:56 -0000	1.20
@@ -24,6 +24,25 @@
 static cairo_t* g_cr_output = 0;
 static cairo_t* g_cr = 0;
 
+
+// Converts from RGB image to 32-bit pixels in CAIRO_FORMAT_RGB24 format
+static void
+rgb_to_cairo_rgb24(uint8_t* dst, const image::rgb* im)
+{
+    for (int y = 0;  y < im->m_height;  y++)
+    {
+	const uint8_t* src = image::scanline(im, y);
+	for (int x = 0;  x < im->m_width;  x++, src += 3)
+	{
+	    *dst++ = src[2]; 	// blue
+	    *dst++ = src[1]; 	// green
+	    *dst++ = src[0];	// red
+	    *dst++;		// alpha not used
+	}
+    }
+}
+
+
 // bitmap_info_cairo declaration
 class bitmap_info_cairo : public gnash::bitmap_info
 {
@@ -52,9 +71,14 @@
 public:
     // Some renderer state.
     cairo_t*         m_cr_mask;
+    cairo_t*    m_cr_dummy;
     int              m_view_width;
     int              m_view_height;
     
+    // Video buffer
+    uint8_t*    m_video_buffer;
+    int	        m_video_bufsize;
+    
     // Enable/disable antialiasing.
     bool	m_enable_antialias;
     
@@ -82,7 +106,7 @@
 	};
 	mode	m_mode;
 	gnash::rgba	m_color;
-	const gnash::bitmap_info*	m_bitmap_info;
+	const bitmap_info_cairo*    m_bitmap_info;
 	gnash::matrix	m_bitmap_matrix;
 	gnash::cxform	m_bitmap_color_transform;
 	bool	m_has_nonzero_bitmap_additive_color;
@@ -125,8 +149,7 @@
 			    m_bitmap_color_transform.m_[3][0]);
 		    }
 		    
-		    cairo_pattern_t* pattern =
-		       	(static_cast<const bitmap_info_cairo*>(m_bitmap_info))->m_pattern;
+		    cairo_pattern_t* pattern = m_bitmap_info->m_pattern;
 		    
 		    if (m_mode == BITMAP_CLAMP)
 		    {	
@@ -201,7 +224,7 @@
 	void	set_bitmap(const gnash::bitmap_info* bi, const gnash::matrix& m, bitmap_wrap_mode wm, const gnash::cxform& color_transform)
 	    {
 		m_mode = (wm == WRAP_REPEAT) ? BITMAP_WRAP : BITMAP_CLAMP;
-		m_bitmap_info = bi;
+		m_bitmap_info = static_cast<const bitmap_info_cairo*>(bi);
 		m_bitmap_matrix = m;
 		m_bitmap_color_transform = color_transform;
 		m_bitmap_color_transform.clamp();
@@ -276,14 +299,21 @@
 
     // Constructor
     render_handler_cairo() :
-	m_cr_mask(0), m_view_width(0), m_view_height(0)
+	m_cr_mask(0), m_view_width(0), m_view_height(0),
+	m_video_buffer(0), m_video_bufsize(0)
     {
+	cairo_surface_t* dummy = cairo_image_surface_create(
+	    CAIRO_FORMAT_A8, 1, 1);
+	m_cr_dummy = cairo_create(dummy);
+	cairo_surface_destroy(dummy);
     }
 
     // Destructor
     ~render_handler_cairo()
     {
+	if (m_video_buffer)  delete [] m_video_buffer;
 	if (m_cr_mask)  cairo_destroy(m_cr_mask);
+	cairo_destroy(m_cr_dummy);
     }
 
     void	begin_display(
@@ -304,8 +334,7 @@
 	// coordinates of the movie that correspond to the viewport
 	// bounds.
 	{
-	    assert(g_cr_output);
-	    g_cr = g_cr_output;
+	    g_cr = (g_cr_output ? g_cr_output : m_cr_dummy);
 
 	    m_display_width  = fabsf(x1 - x0);
 	    m_display_height = fabsf(y1 - y0);
@@ -497,9 +526,8 @@
 	    gnash::point a, b, c, d;
 	    m.transform(&a, gnash::point(coords.get_x_min(), coords.get_y_min()));
 	    m.transform(&b, gnash::point(coords.get_x_max(), coords.get_y_min()));
-	    m.transform(&c, gnash::point(coords.get_x_min(), coords.get_y_max()));
-	    d.m_x = b.m_x + c.m_x - a.m_x;
-	    d.m_y = b.m_y + c.m_y - a.m_y;
+	    m.transform(&c, gnash::point(coords.get_x_max(), coords.get_y_max()));
+	    m.transform(&d, gnash::point(coords.get_x_min(), coords.get_y_max()));
 
 	    // FIXME!!! scaling and offset is wrong
 	    cairo_matrix_t mat;
@@ -542,7 +570,7 @@
     void end_submit_mask()
 	{	     
 	    // Finished with the mask.  Now draw to output
-	    g_cr = g_cr_output;
+	    g_cr = (g_cr_output ? g_cr_output : m_cr_dummy);
 	}
 	
     void disable_mask()
@@ -554,7 +582,7 @@
 		m_cr_mask = 0;
 
 		// Prepare to draw to output
-		g_cr = g_cr_output;
+		g_cr = (g_cr_output ? g_cr_output : m_cr_dummy);
 	    }
 	}
 	
@@ -564,8 +592,62 @@
 	}
 	
 	/// Draws the video frames
-	void drawVideoFrame(image::image_base* frame, const matrix* mat, const rect* bounds){
-	//TODO: implement!
+	void drawVideoFrame(image::image_base* baseframe, const matrix* m, const rect* bounds){
+	    // Obtain on-stage bounding rectangle
+	    gnash::point a, b, c, d;
+	    m->transform(&a, gnash::point(bounds->get_x_min(), bounds->get_y_min()));
+	    m->transform(&b, gnash::point(bounds->get_x_max(), bounds->get_y_min()));
+	    m->transform(&c, gnash::point(bounds->get_x_max(), bounds->get_y_max()));
+	    m->transform(&d, gnash::point(bounds->get_x_min(), bounds->get_y_max()));
+
+	    // Extract frame attributes
+	    image::rgb* frame = static_cast<image::rgb*>(baseframe);
+	    int         w = frame->m_width;
+	    int         h = frame->m_height;
+
+	    // Compute video object size relative to bounding rectangle
+	    double w_scale = w / bounds->width();
+	    double h_scale = h / bounds->height();
+
+	    // Prepare transformation matrix for RGB frame
+	    cairo_matrix_t mat;
+	    cairo_matrix_init(&mat,
+		m->m_[0][0], m->m_[1][0],
+		m->m_[0][1], m->m_[1][1],
+		m->m_[0][2], m->m_[1][2]);
+	    cairo_matrix_scale(&mat, w_scale, h_scale);
+
+	    // Convert RGB frame to cairo format
+	    int buf_size = w * h * 4;
+	    if (m_video_bufsize < buf_size)
+	    {
+		if (m_video_buffer)  delete [] m_video_buffer;
+		m_video_buffer  = new unsigned char[buf_size];
+		m_video_bufsize = buf_size;
+	    }
+	    rgb_to_cairo_rgb24(m_video_buffer, frame);
+
+	    // Create a pattern from the the RGB frame
+	    cairo_surface_t* surface = cairo_image_surface_create_for_data(
+		m_video_buffer, CAIRO_FORMAT_RGB24, w, h, w * 4);
+	    cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface);
+	    cairo_pattern_set_extend(pattern, CAIRO_EXTEND_REPEAT);
+	    cairo_pattern_set_matrix(pattern, &mat);
+
+	    // Draw the frame now
+	    cairo_save(g_cr);
+	    cairo_set_source(g_cr, pattern);
+	    cairo_move_to(g_cr, a.m_x, a.m_y);
+	    cairo_line_to(g_cr, b.m_x, b.m_y);
+	    cairo_line_to(g_cr, c.m_x, c.m_y);
+	    cairo_line_to(g_cr, d.m_x, d.m_y);
+	    cairo_clip(g_cr);
+	    cairo_paint(g_cr);
+	    cairo_restore(g_cr);
+
+	    // Clean up
+	    cairo_pattern_destroy(pattern);
+	    cairo_surface_destroy(surface);
 	}
 
 };	// end class render_handler_cairo
@@ -612,25 +694,12 @@
 {
     assert(im);
 
-    // Allocate output buffer
+    // Convert 24-bit BGR data to 32-bit RGB
     int buf_size = im->m_width * im->m_height * 4;
     m_buffer = new unsigned char[buf_size];
+    rgb_to_cairo_rgb24(m_buffer, im);
 
-    // Convert 24-bit BGR data to 32-bit RGB
-    unsigned char* dst = m_buffer;
-    for (int y = 0;  y < im->m_height;  y++)
-    {
-	uint8_t* src = image::scanline(im, y);
-	for (int x = 0;  x < im->m_width;  x++, src += 3)
-	{
-	    *dst++ = src[2]; 	// blue
-	    *dst++ = src[1]; 	// green
-	    *dst++ = src[0];	// red
-	    *dst++;		// alpha not used
-	}
-    }
-
-    // Create the image
+    // Create the cairo image
     m_original_width  = im->m_width;
     m_original_height = im->m_height;
     m_image = cairo_image_surface_create_for_data(m_buffer,
@@ -680,7 +749,6 @@
 DSOEXPORT void
 set_handle(cairo_t* handle)
 {
-	assert(handle);
     g_cr_output = handle;
 }
 



From MAILER-DAEMON Tue Jul 10 11:41:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8HqG-00007T-OU
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 11:41:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8HqE-000074-Jy
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 11:41:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8HqD-00006g-PS
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 11:41:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8HqD-00006a-Hc
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 11:41:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8HqB-00070d-13
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 11:41:27 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8Hq9-0006DV-H8
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 15:41:25 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8Hq9-0006DO-CE
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 15:41:25 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8Hq9-0006DO-CE@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 15:41:25 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/utility.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 15:41:30 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 15:41:25

Modified files:
	.              : ChangeLog 
	libbase        : utility.h 

Log message:
	        * libbase/utility.h (typeName): arg by *const* ref.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3699&r2=1.3700
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3699
retrieving revision 1.3700
diff -u -b -r1.3699 -r1.3700
--- ChangeLog	10 Jul 2007 14:49:55 -0000	1.3699
+++ ChangeLog	10 Jul 2007 15:41:24 -0000	1.3700
@@ -1,3 +1,7 @@
+2007-07-10 Sandro Santilli <strk@keybit.net>
+
+	* libbase/utility.h (typeName): arg by *const* ref.
+
 2007-07-10 Timothy Lee <timothy.lee@siriushk.com>
 
 	* backend/render_handler_cairo.cpp: initial pass at video rendering for cairo.

Index: libbase/utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- libbase/utility.h	9 Jul 2007 13:00:04 -0000	1.23
+++ libbase/utility.h	10 Jul 2007 15:41:25 -0000	1.24
@@ -177,7 +177,7 @@
 
 /// Return (unmangled) name of this instance type
 template <class T>
-std::string typeName(T& inst)
+std::string typeName(const T& inst)
 {
 	std::string typeName = typeid(inst).name();
 #if defined(__GNUC__) && __GNUC__ > 2



From MAILER-DAEMON Tue Jul 10 12:16:09 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8INk-00011A-Uy
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 12:16:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8INj-0000zt-9q
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:16:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8INh-0000yC-7z
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:16:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8INh-0000xq-0f
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:16:05 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8INf-0007Mf-92
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:16:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8INd-0000mK-IX
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 16:16:01 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8INd-0000lz-5j
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 16:16:01 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8INd-0000lz-5j@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 16:16:01 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/parser/button_character_...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 16:16:07 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 16:16:01

Modified files:
	.              : ChangeLog 
	server/parser  : button_character_def.cpp 

Log message:
	        * server/parser/button_character_def.cpp: verbose button_record
	          parsing.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3700&r2=1.3701
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/button_character_def.cpp?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3700
retrieving revision 1.3701
diff -u -b -r1.3700 -r1.3701
--- ChangeLog	10 Jul 2007 15:41:24 -0000	1.3700
+++ ChangeLog	10 Jul 2007 16:16:00 -0000	1.3701
@@ -1,5 +1,7 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/parser/button_character_def.cpp: verbose button_record
+	  parsing.
 	* libbase/utility.h (typeName): arg by *const* ref.
 
 2007-07-10 Timothy Lee <timothy.lee@siriushk.com>

Index: server/parser/button_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/button_character_def.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/parser/button_character_def.cpp	1 Jul 2007 10:54:33 -0000	1.16
+++ server/parser/button_character_def.cpp	10 Jul 2007 16:16:00 -0000	1.17
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: button_character_def.cpp,v 1.16 2007/07/01 10:54:33 bjacques Exp $ */
+/* $Id: button_character_def.cpp,v 1.17 2007/07/10 16:16:00 strk Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -107,16 +107,25 @@
 
 	// Get character definition now (safer)
 	m_character_def = m->get_character_def(m_character_id);
+
 	// If no character with given ID is found in the movie
 	// definition, we print an error, but keep parsing.
 	if ( ! m_character_def )
 	{
 		IF_VERBOSE_MALFORMED_SWF(
-		log_swferror(_("button record refer to "
+		log_swferror(_("   button record refer to "
 			"character with id %d, which is not found "
 			"in the chars dictionary"), m_character_id);
 		);
 	}
+	else
+	{
+		IF_VERBOSE_PARSE(
+		log_parse(_("   button record for states %x contain "
+			"character %d (%s)"), flags, m_character_id,
+		        typeName(*m_character_def).c_str());
+		);
+	}
 
 	m_button_layer = in->read_u16();
 	m_button_matrix.read(in);



From MAILER-DAEMON Tue Jul 10 12:18:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8IQF-0001gh-85
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 12:18:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8IQD-0001gR-PF
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:18:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8IQC-0001gF-J6
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:18:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8IQC-0001gC-EZ
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:18:40 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8IQC-000862-4m
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:18:40 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8IQB-00018Z-1D
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 16:18:39 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8IQA-00018U-RQ
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 16:18:38 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8IQA-00018U-RQ@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 16:18:38 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/button_character_instanc...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 16:18:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 16:18:38

Modified files:
	.              : ChangeLog 
	server         : button_character_instance.cpp 

Log message:
	        * server/button_character_instance.cpp (on_event): don't require a
	          button's parent to be a sprite. Fixes bug #20436.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3701&r2=1.3702
http://cvs.savannah.gnu.org/viewcvs/gnash/server/button_character_instance.cpp?cvsroot=gnash&r1=1.51&r2=1.52

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3701
retrieving revision 1.3702
diff -u -b -r1.3701 -r1.3702
--- ChangeLog	10 Jul 2007 16:16:00 -0000	1.3701
+++ ChangeLog	10 Jul 2007 16:18:38 -0000	1.3702
@@ -1,5 +1,7 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/button_character_instance.cpp (on_event): don't require a
+	  button's parent to be a sprite. Fixes bug #20436.
 	* server/parser/button_character_def.cpp: verbose button_record
 	  parsing.
 	* libbase/utility.h (typeName): arg by *const* ref.

Index: server/button_character_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/button_character_instance.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- server/button_character_instance.cpp	1 Jul 2007 10:54:21 -0000	1.51
+++ server/button_character_instance.cpp	10 Jul 2007 16:18:38 -0000	1.52
@@ -357,10 +357,7 @@
 
 	bool called = false;
 
-	sprite_instance* parent = get_parent()->to_movie();
-	assert ( parent );
-
-	// Add appropriate actions to the movie's execute list...
+	// Add appropriate actions to the global action list ...
 	// TODO: should we execute immediately instead ?
 	for (size_t i = 0, ie=m_def->m_button_actions.size(); i<ie; ++i)
 	{
@@ -374,7 +371,6 @@
 			for (size_t j=0, je=ba.m_actions.size(); j<je; ++j)
 			{
 				VM::get().getRoot().pushAction(*(ba.m_actions[j]), boost::intrusive_ptr<character>(this));
-				//parent->add_action_buffer(ba.m_actions[j]);
 			}
 			called = true;
 		}



From MAILER-DAEMON Tue Jul 10 12:21:45 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8ITA-0002LT-Pe
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 12:21:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8IT8-0002KS-L3
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:21:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8IT8-0002K9-0O
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:21:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8IT7-0002K3-TA
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:21:41 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8IT7-0000NL-JL
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 12:21:41 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8IT7-0001Dg-0R
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 16:21:41 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8IT6-0001Dd-St
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 16:21:40 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8IT6-0001Dd-St@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 16:21:40 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/parser/movie_def_impl.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 16:21:43 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 16:21:40

Modified files:
	.              : ChangeLog 
	server/parser  : movie_def_impl.cpp 

Log message:
	        * server/parser/movie_def_impl.cpp (add_sound_sample): fix verbosity
	          to use log_parse and depend on IF_VERBOSE_PARSE.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3702&r2=1.3703
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/movie_def_impl.cpp?cvsroot=gnash&r1=1.78&r2=1.79

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3702
retrieving revision 1.3703
diff -u -b -r1.3702 -r1.3703
--- ChangeLog	10 Jul 2007 16:18:38 -0000	1.3702
+++ ChangeLog	10 Jul 2007 16:21:40 -0000	1.3703
@@ -1,5 +1,7 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/parser/movie_def_impl.cpp (add_sound_sample): fix verbosity
+	  to use log_parse and depend on IF_VERBOSE_PARSE.
 	* server/button_character_instance.cpp (on_event): don't require a
 	  button's parent to be a sprite. Fixes bug #20436.
 	* server/parser/button_character_def.cpp: verbose button_record

Index: server/parser/movie_def_impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/movie_def_impl.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- server/parser/movie_def_impl.cpp	5 Jul 2007 19:45:27 -0000	1.78
+++ server/parser/movie_def_impl.cpp	10 Jul 2007 16:21:40 -0000	1.79
@@ -413,8 +413,10 @@
 void movie_def_impl::add_sound_sample(int character_id, sound_sample* sam)
 {
     assert(sam);
-	log_msg(_("Add sound sample %d assigning id %d"),
+    IF_VERBOSE_PARSE(
+    log_parse(_("Add sound sample %d assigning id %d"),
 		character_id, sam->m_sound_handler_id);
+    );
     m_sound_samples.insert(make_pair(character_id,
             boost::intrusive_ptr<sound_sample>(sam)));
 }



From MAILER-DAEMON Tue Jul 10 17:06:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Mup-0004bn-O3
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 17:06:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Mun-0004ba-PZ
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 17:06:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Mul-0004bO-MT
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 17:06:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Mul-0004bL-HK
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 17:06:31 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8Muk-0001rD-VO
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 17:06:31 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8Muj-0004EJ-Kn
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:06:29 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8Muj-0004EF-GB
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:06:29 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8Muj-0004EF-GB@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 21:06:29 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/movie_root.cpp server/mo...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 21:06:33 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 21:06:29

Modified files:
	.              : ChangeLog 
	server         : movie_root.cpp movie_root.h 

Log message:
	        * server/movie_root.{cpp,h}: support multiple levels. Untested.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3703&r2=1.3704
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.65&r2=1.66

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3703
retrieving revision 1.3704
diff -u -b -r1.3703 -r1.3704
--- ChangeLog	10 Jul 2007 16:21:40 -0000	1.3703
+++ ChangeLog	10 Jul 2007 21:06:28 -0000	1.3704
@@ -1,5 +1,9 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/movie_root.{cpp,h}: support multiple levels. Untested.
+
+2007-07-10 Sandro Santilli <strk@keybit.net>
+
 	* server/parser/movie_def_impl.cpp (add_sound_sample): fix verbosity
 	  to use log_parse and depend on IF_VERBOSE_PARSE.
 	* server/button_character_instance.cpp (on_event): don't require a

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- server/movie_root.cpp	10 Jul 2007 12:22:34 -0000	1.74
+++ server/movie_root.cpp	10 Jul 2007 21:06:29 -0000	1.75
@@ -30,9 +30,11 @@
 #include "tu_random.h"
 #include "ExecutableCode.h"
 #include "Stage.h"
+#include "utility.h"
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
   #include "action.h"
 #endif
+
 #include <iostream>
 #include <string>
 #include <typeinfo>
@@ -48,7 +50,7 @@
 movie_root::testInvariant() const
 {
 	// TODO: fill this function !
-	assert(_movie.get());
+	assert( ! _movies.empty() );
 
 	return true;
 }
@@ -99,18 +101,55 @@
 void
 movie_root::setRootMovie(movie_instance* movie)
 {
+	setLevel(0, movie);
+}
+
+void
+movie_root::setLevel(unsigned int num, boost::intrusive_ptr<movie_instance> movie)
+{
 	assert(movie != NULL);
-	_movie = movie;
 
-	_movie->set_invalidated();
+	if ( _movies.size() < num+1 ) _movies.resize(num+1);
+	_movies[num] = movie;
+
+	movie->set_invalidated();
 	
 	set_display_viewport(0, 0,
-		(int) _movie->get_movie_definition()->get_width_pixels(),
-		(int) _movie->get_movie_definition()->get_height_pixels());
+		(int) movie->get_movie_definition()->get_width_pixels(),
+		(int) movie->get_movie_definition()->get_height_pixels());
 
 	assert(testInvariant());
 }
 
+boost::intrusive_ptr<movie_instance>
+movie_root::getLevel(unsigned int num) const
+{
+	if ( _movies.size() < num+1 ) return 0;
+	else
+	{
+		assert(boost::dynamic_pointer_cast<movie_instance>(_movies[num]));
+		return boost::static_pointer_cast<movie_instance>(_movies[num]);
+	}
+}
+
+void
+movie_root::restart()
+{
+	for (Levels::iterator i=_movies.begin(), e=_movies.end(); i!=e; ++i)
+	{
+		(*i)->restart();
+	}
+}
+
+void
+movie_root::clear_invalidated()
+{
+	for (Levels::iterator i=_movies.begin(), e=_movies.end(); i!=e; ++i)
+	{
+		(*i)->clear_invalidated();
+	}
+}
+
 boost::intrusive_ptr<Stage>
 movie_root::getStageObject()
 {
@@ -137,7 +176,7 @@
 		//log_msg("Rescaling allowed");
 
 		// should we cache this ? it's immutable after all !
-		const rect& frame_size = _movie->get_frame_size();
+		const rect& frame_size = _movies[0]->get_frame_size();
 
 		float	scale_x = m_viewport_width / TWIPS_TO_PIXELS(frame_size.width());
 		float	scale_y = m_viewport_height / TWIPS_TO_PIXELS(frame_size.height());
@@ -467,8 +506,7 @@
 	assert(testInvariant());
 
     // Generate a mouse event
-    m_mouse_button_state.m_topmost_entity =
-        _movie->get_topmost_mouse_entity(PIXELS_TO_TWIPS(m_mouse_x), PIXELS_TO_TWIPS(m_mouse_y));
+    m_mouse_button_state.m_topmost_entity = getTopmostMouseEntity(PIXELS_TO_TWIPS(m_mouse_x), PIXELS_TO_TWIPS(m_mouse_y));
     m_mouse_button_state.m_mouse_button_state_current = (m_mouse_buttons & 1);
 
     bool need_redraw = generate_mouse_button_events(&m_mouse_button_state);
@@ -573,38 +611,13 @@
 	// 2. by different machines the random gave different numbers
 	tu_random::next_random();
 			
-#ifdef GNASH_DEBUG
-	size_t totframes = _movie->get_frame_count();
-	size_t prevframe = _movie->get_current_frame();
-#endif
+	advanceAllLevels(delta_time);
 
-	// Keep root sprite alive during actions execution.
-	//
-	// This is *very* important, as actions in the movie itself
-	// could get rid of it. A simple example:
-	//
-	// 	_root.loadMovie(other);
-	//
-	boost::intrusive_ptr<sprite_instance> keepMovieAlive(_movie.get());
-
-	_movie->advance(delta_time);
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
 	cleanup_key_listeners();
 #endif
 	processActionQueue();
 
-#ifdef GNASH_DEBUG
-	size_t curframe = _movie->get_current_frame();
-
-	log_msg("movie_root::advance advanced top-level movie from "
-			SIZET_FMT "/" SIZET_FMT
-			" to " SIZET_FMT "/" SIZET_FMT
-			" (_movie is %s%s)",
-			prevframe, totframes, curframe, totframes,
-			typeid(*_movie).name(),
-			_movie->get_play_state() == sprite_instance::STOP ? " - now in STOP mode" : "");
-#endif
-
 #ifdef GNASH_USE_GC
 	// Run the garbage collector (step back !!)
 	GC::get().collect();
@@ -621,20 +634,19 @@
 
 	assert(testInvariant());
 
-	_movie->clear_invalidated();
-
-//  	    GNASH_REPORT_FUNCTION;
-	if (_movie->get_visible() == false)
+	for (Levels::iterator i=_movies.begin(), e=_movies.end(); i!=e; ++i)
         {
-            // Don't display.
-            return;
-        }
+		boost::intrusive_ptr<sprite_instance> movie = *i;
+
+		movie->clear_invalidated();
+
+		if (movie->get_visible() == false) continue;
 
 	// should we cache this ? it's immutable after all !
-	const rect& frame_size = _movie->get_frame_size();
+		const rect& frame_size = movie->get_frame_size();
 
 	// null frame size ? don't display !
-	if ( frame_size.is_null() ) return;
+		if ( frame_size.is_null() ) continue;
 
 	render::begin_display(
 		m_background_color,
@@ -643,9 +655,10 @@
 		frame_size.get_x_min(), frame_size.get_x_max(),
 		frame_size.get_y_min(), frame_size.get_y_max());
 
-	_movie->display();
+		movie->display();
 
 	render::end_display();
+	}
 }
 
 
@@ -657,7 +670,7 @@
 
 	va_list	args;
 	va_start(args, method_arg_fmt);
-	const char* result = _movie->call_method_args(method_name,
+	const char* result = getLevel(0)->call_method_args(method_name,
 		method_arg_fmt, args);
 	va_end(args);
 
@@ -669,7 +682,7 @@
 		const char* method_arg_fmt, va_list args)
 {
 	assert(testInvariant());
-	return _movie->call_method_args(method_name, method_arg_fmt, args);
+	return getLevel(0)->call_method_args(method_name, method_arg_fmt, args);
 }
 
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
@@ -711,6 +724,8 @@
 {
 	//log_msg("Notifying " SIZET_FMT " keypress listeners", _keyListeners.size());
 
+	as_environment env;
+
 	for (std::vector<KeyListener>::iterator iter = _keyListeners.begin();
 		iter != _keyListeners.end(); ++iter)
 	{
@@ -730,7 +745,7 @@
 						method = ch->getUserDefinedEventHandler("onKeyDown");
 					if ( method )
 					{
-						call_method0(as_value(method.get()), &(_movie->get_environment()), ch);
+						call_method0(as_value(method.get()), &env, ch);
 					}
 				}
 				// invoke onClipKeyPress handler
@@ -748,7 +763,7 @@
 						method = ch->getUserDefinedEventHandler("onKeyUp");
 					if ( method )
 					{
-						call_method0(as_value(method.get()), &(_movie->get_environment()), ch);
+						call_method0(as_value(method.get()), &env, ch);
 					}
 				}
 			}
@@ -949,7 +964,10 @@
 void
 movie_root::add_invalidated_bounds(InvalidatedRanges& ranges, bool force)
 {
-	_movie->add_invalidated_bounds(ranges, force);
+	for (Levels::reverse_iterator i=_movies.rbegin(), e=_movies.rend(); i!=e; ++i)
+	{
+		(*i)->add_invalidated_bounds(ranges, force);
+	}
 }
 
 void
@@ -1037,7 +1055,6 @@
 			if ( timer->expired() )
 			{
 				//cout << " EXPIRED, start time is now " << timer.getStart() << endl;
-				//_movie->on_event_interval_timer();
 				(*timer)();
 			}
 		}
@@ -1053,7 +1070,10 @@
 {
 	// Mark root movie as reachable
 	// TODO: mark all levels !!
-	_movie->setReachable();
+	for (Levels::const_reverse_iterator i=_movies.rbegin(), e=_movies.rend(); i!=e; ++i)
+	{
+		(*i)->setReachable();
+	}
 
 	// Mark mouse entities 
 	m_mouse_button_state.markReachableResources();
@@ -1090,5 +1110,49 @@
 }
 #endif // GNASH_USE_GC
 
+character *
+movie_root::getTopmostMouseEntity(float x, float y)
+{
+	for (Levels::reverse_iterator i=_movies.rbegin(), e=_movies.rend(); i!=e; ++i)
+	{
+		character* ret = (*i)->get_topmost_mouse_entity(x, y);
+		if ( ret ) return ret;
+	}
+	return NULL;
+}
+
+void
+movie_root::advanceAllLevels(float delta_time)
+{
+	for (Levels::reverse_iterator i=_movies.rbegin(), e=_movies.rend(); i!=e; ++i)
+	{
+		advanceMovie(*i, delta_time);
+	}
+}
+
+void
+movie_root::advanceMovie(boost::intrusive_ptr<sprite_instance> movie, float delta_time)
+{
+#ifdef GNASH_DEBUG
+	size_t totframes = movie->get_frame_count();
+	size_t prevframe = movie->get_current_frame();
+#endif
+
+	movie->advance(delta_time);
+
+#ifdef GNASH_DEBUG
+	size_t curframe = movie->get_current_frame();
+
+	log_msg("movie_root::advance advanced level %d movie from "
+			SIZET_FMT "/" SIZET_FMT
+			" to " SIZET_FMT "/" SIZET_FMT
+			" (movie is %s%s)",
+			movie->get_depth(), prevframe, totframes, curframe, totframes,
+			typeName(*movie).c_str(),
+			movie->get_play_state() == sprite_instance::STOP ? " - now in STOP mode" : "");
+#endif
+
+}
+
 } // namespace gnash
 

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- server/movie_root.h	10 Jul 2007 12:22:34 -0000	1.65
+++ server/movie_root.h	10 Jul 2007 21:06:29 -0000	1.66
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.65 2007/07/10 12:22:34 zoulunkai Exp $ */
+/* $Id: movie_root.h,v 1.66 2007/07/10 21:06:29 strk Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -74,9 +74,10 @@
 
 #include "mouse_button_state.h" // for composition
 #include "drag_state.h" // for composition
-#include "sprite_instance.h" // for inlines
+#include "movie_instance.h" // for inlines
 #include "timers.h" // for composition
 #include "asobj/Key.h"
+#include "smart_ptr.h" // for memory management
 
 #include <vector>
 #include <list>
@@ -136,7 +137,8 @@
 
 /// The movie stage (absolute top level node in the characters hierarchy)
 //
-/// This is a wrapper around the top-level movie_instance that is being played.
+/// This is a wrapper around the set of loaded levels being played.
+///
 /// There is a *single* instance of this class for each run;
 /// loading external movies will *not* create a new instance of it.
 ///
@@ -171,20 +173,32 @@
 	/// Note that the display viewport will be updated to match
 	/// the size of given movie.
 	///
+	/// A call to this method is equivalent to a call to setLevel(0, movie).
+	///
 	/// @param movie
 	///	The movie_instance to wrap.
 	///	Will be stored in an intrusive_ptr.
 	///
 	void setRootMovie(movie_instance* movie);
 
-	/// @@ should this delegate to _movie?  probably !
+	/// Return the movie at the given level (0 if unloaded level).
+	boost::intrusive_ptr<movie_instance> getLevel(unsigned int num) const;
+
+	/// Put the given movie at the given level 
+	//
+	/// Note that the display viewport will be updated to reflect
+	/// the new layout.
+	///
+	void setLevel(unsigned int num, boost::intrusive_ptr<movie_instance> movie);
+
+	/// @@ should this delegate to _level0?  probably !
 	void set_member(
 		const std::string& /*name*/,
 		const as_value& /*val*/)
 	{
 	}
 
-	/// @@ should this delegate to _movie?  probably !
+	/// @@ should this delegate to _level0?  probably !
 	bool get_member(const std::string& /*name*/,
 			as_value* /*val*/)
 	{
@@ -280,8 +294,12 @@
 
 	void set_drag_state(const drag_state& st);
 
-	/// @return current top-level root sprite
-	sprite_instance* get_root_movie() { return _movie.get(); }
+	/// @return current top-level root sprite (_level0)
+	sprite_instance* get_root_movie()
+	{
+		if ( _movies.empty() ) return NULL;
+		return _movies[0].get();
+	}
 
 	void stop_drag()
 	{
@@ -289,9 +307,14 @@
 		m_drag_state.reset();
 	}
 
-	movie_definition* get_movie_definition() const {
-		assert(_movie);
-		return _movie->get_movie_definition();
+	/// Return definition of _level0 
+	//
+	/// TODO: drop this function ?
+	///
+	movie_definition* get_movie_definition() const
+	{
+		assert(!_movies.empty());
+		return getLevel(0)->get_movie_definition(); 
 	}
 
 	/// Add an interval timer
@@ -314,9 +337,14 @@
 	///
 	bool clear_interval_timer(unsigned int x);
 
-	/// 0-based!!
-	size_t get_current_frame() const {
-		return _movie->get_current_frame();
+	/// Return 0-based frame index of _level0
+	//
+	/// TODO: drop this function
+	///
+	size_t get_current_frame() const
+	{
+		assert(!_movies.empty());
+		return getLevel(0)->get_current_frame();
 	}
 
 	// @@ should this be in movie_instance ?
@@ -334,9 +362,12 @@
 	}
 
 	// @@ Is this one necessary?
+	//
+	// TODO: drop this
 	character* get_character(int character_id)
 	{
-	    return _movie->get_character(character_id);
+		assert(!_movies.empty());
+		return getLevel(0)->get_character(character_id);
 	}
 
 	void set_background_color(const rgba& color)
@@ -354,34 +385,44 @@
 	    return m_background_color.m_a / 255.0f;
 	}
 
-	/// Delegate to current top-level root sprite
-	void	restart() { _movie->restart(); }
+	/// Restart all levels
+	void	restart();
 
 	void	advance(float delta_time);
 
-	/// 0-based!!
-	void goto_frame(size_t target_frame_number) {
-		_movie->goto_frame(target_frame_number);
+	/// 0-based!! delegates to _level0
+	void goto_frame(size_t target_frame_number)
+	{
+		getLevel(0)->goto_frame(target_frame_number);
 	}
 
-	bool has_looped() const {
-		return _movie->has_looped();
+#if 0
+	/// delegates to _level0
+	bool has_looped() const
+	{
+		return getLevel(0)->has_looped();
 	}
+#endif
 
 	void display();
 
-	/// Delegate to wrapped movie_instance
+#if 0
+	/// Delegate to _level0
 	bool goto_labeled_frame(const char* label) {
 		return _movie->goto_labeled_frame(label);
 	}
+#endif
 
-	/// Delegate to wrapped movie_instance
-	void set_play_state(sprite_instance::play_state s) {
-		_movie->set_play_state(s);
+	/// Delegate to _level0
+	void set_play_state(sprite_instance::play_state s)
+	{
+		getLevel(0)->set_play_state(s);
 	}
 
-	/// Delegate to wrapped movie_instance
-	sprite_instance::play_state get_play_state() const {
+#if 0
+	/// Delegate to _level0
+	sprite_instance::play_state get_play_state() const
+	{
 		return _movie->get_play_state();
 	}
 
@@ -398,13 +439,27 @@
 	{
 		_movie->set_variable(path_to_var, new_value);
 	}
+#endif
 
 	/// For ActionScript interfacing convenience.
+	//
+	/// TODO: check if we really  need this. I guess we might
+	///       need for fscommand:, but we lack documentation
+	///       about where to find the method (which level?)
+	///
 	const char* call_method(const char* method_name,
 			const char* method_arg_fmt, ...);
+
+	/// For ActionScript interfacing convenience.
+	//
+	/// TODO: check if we really  need this. I guess we might
+	///       need for fscommand:, but we lack documentation
+	///       about where to find the method (which level?)
+	///
 	const char* call_method_args(const char* method_name,
 			const char* method_arg_fmt, va_list args);
 
+#if 0
 	/// Delegate to wrapped movie_instance
 	void set_visible(bool visible) {
 		_movie->set_visible(visible);
@@ -413,6 +468,7 @@
 	bool get_visible() const {
 		return _movie->get_visible();
 	}
+#endif
 
 	void * get_userdata() { return m_userdata; }
 	void set_userdata(void * ud ) { m_userdata = ud;  }
@@ -456,9 +512,8 @@
 
 	bool testInvariant() const;
 
-	void clear_invalidated() {
-		_movie->clear_invalidated();
-	}
+	// Clear invalidated flag for all levels 
+	void clear_invalidated();
 
 	/// Push an executable code to the ActionQueue
 	void pushAction(std::auto_ptr<ExecutableCode> code);
@@ -474,7 +529,7 @@
 	//
 	/// Resources reachable from movie_root are:
 	///
-	///	- All _level# movies (_movie)
+	///	- All _level# movies (_movies)
 	///	- Mouse entities (m_mouse_button_state)
 	///	- Timer targets (_intervalTimers)
 	///	- Resources reachable by ActionQueue code (_actionQueue)
@@ -568,7 +623,8 @@
 	/// to avoid having to replicate all of the base class
 	/// interface to the movie_instance class definition
 	///
-	boost::intrusive_ptr<sprite_instance> _movie;
+	typedef std::vector< boost::intrusive_ptr<sprite_instance> > Levels;
+	Levels _movies;
 
 	/// This function should return TRUE iff any action triggered
 	/// by the event requires redraw, see \ref events_handling for
@@ -579,6 +635,30 @@
 	/// If set to false, no rescale should be performed
 	/// when changing viewport size
 	bool _allowRescale;
+
+	/// \brief
+	/// Return the topmost entity covering the given point
+	/// and enabled to receive mouse events.
+	//
+	/// Return NULL if no "active" entity is found under the pointer.
+	///
+	/// Coordinates of the point are given in world coordinate space.
+	/// (twips)
+	///
+	/// @param x
+	/// 	X ordinate of the pointer, in world coordinate space (twips)
+	///
+	/// @param y
+	/// 	Y ordinate of the pointer, in world coordiante space (twips).
+	///
+	character* getTopmostMouseEntity(float x, float y);
+
+	// Advance all levels
+	void advanceAllLevels(float delta_time);
+
+	// Advance a given level
+	void advanceMovie(boost::intrusive_ptr<sprite_instance> movie, float delta_time);
+
 };
 
 



From MAILER-DAEMON Tue Jul 10 17:43:03 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8NU7-0005zh-I7
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 17:43:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8NU7-0005zb-2l
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 17:43:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8NU6-0005zI-81
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 17:43:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8NU6-0005zE-4i
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 17:43:02 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8NU5-0001eL-LU
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 17:43:01 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8NU4-0006l2-IS
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:43:00 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8NU4-0006kx-FF
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:43:00 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8NU4-0006kx-FF@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 21:43:00 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/movie_instance.h server/...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 21:43:03 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 21:43:00

Modified files:
	.              : ChangeLog 
	server         : movie_instance.h character.h 

Log message:
	        * server/: movie_instance.h, character.h: make get_root() a const
	          method.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3704&r2=1.3705
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_instance.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/character.h?cvsroot=gnash&r1=1.85&r2=1.86

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3704
retrieving revision 1.3705
diff -u -b -r1.3704 -r1.3705
--- ChangeLog	10 Jul 2007 21:06:28 -0000	1.3704
+++ ChangeLog	10 Jul 2007 21:42:59 -0000	1.3705
@@ -1,5 +1,7 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/: movie_instance.h, character.h: make get_root() a const
+	  method.
 	* server/movie_root.{cpp,h}: support multiple levels. Untested.
 
 2007-07-10 Sandro Santilli <strk@keybit.net>

Index: server/movie_instance.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_instance.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/movie_instance.h	1 Jul 2007 10:54:23 -0000	1.6
+++ server/movie_instance.h	10 Jul 2007 21:43:00 -0000	1.7
@@ -60,9 +60,9 @@
 
 	// Could be implemented in sprite_instance too,
 	// returning m_root like it is done for get_root_movie...
-	virtual movie_instance* get_root()
+	virtual movie_instance* get_root() const
 	{
-		return this;
+		return const_cast<movie_instance*>(this);
 	}
 
 	//virtual sprite_instance* get_root_movie()

Index: server/character.h
===================================================================
RCS file: /sources/gnash/gnash/server/character.h,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -b -r1.85 -r1.86
--- server/character.h	1 Jul 2007 10:54:21 -0000	1.85
+++ server/character.h	10 Jul 2007 21:43:00 -0000	1.86
@@ -19,7 +19,7 @@
 //
 //
 
-/* $Id: character.h,v 1.85 2007/07/01 10:54:21 bjacques Exp $ */
+/* $Id: character.h,v 1.86 2007/07/10 21:43:00 strk Exp $ */
 
 #ifndef GNASH_CHARACTER_H
 #define GNASH_CHARACTER_H
@@ -639,7 +639,7 @@
 	virtual sprite_instance* get_root_movie();
 
 	/// By default call get_root on the parent
-	virtual movie_instance* get_root() {
+	virtual movie_instance* get_root() const {
 		return get_parent()->get_root();
 	}
 



From MAILER-DAEMON Tue Jul 10 19:48:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8PRp-0007Dw-35
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 19:48:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8PRm-0007CN-N2
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 19:48:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8PRl-0007BZ-Ec
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 19:48:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8PRk-0007BU-T8
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 19:48:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8PRk-0003P2-7T
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 19:48:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8PRi-0007In-QB
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 23:48:42 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8PRi-0007Ii-Kl
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 23:48:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8PRi-0007Ii-Kl@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 10 Jul 2007 23:48:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/movie_root.cpp server/mo...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Jul 2007 23:48:47 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/10 23:48:42

Modified files:
	.              : ChangeLog 
	server         : movie_root.cpp movie_root.h 
	server/vm      : ASHandlers.cpp 

Log message:
	        * server/vm/ASHandlers.cpp (CommonGetUrl): implement _level loading.
	          Fixes bug #19968.
	        * server/movie_root.{cpp,h}: add loadLevel() method, store levels in
	          a map rather then a vector.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3705&r2=1.3706
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.75&r2=1.76
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.66&r2=1.67
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ASHandlers.cpp?cvsroot=gnash&r1=1.111&r2=1.112

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3705
retrieving revision 1.3706
diff -u -b -r1.3705 -r1.3706
--- ChangeLog	10 Jul 2007 21:42:59 -0000	1.3705
+++ ChangeLog	10 Jul 2007 23:48:41 -0000	1.3706
@@ -1,5 +1,12 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/vm/ASHandlers.cpp (CommonGetUrl): implement _level loading.
+	  Fixes bug #19968.
+	* server/movie_root.{cpp,h}: add loadLevel() method, store levels in
+	  a map rather then a vector.
+
+2007-07-10 Sandro Santilli <strk@keybit.net>
+
 	* server/: movie_instance.h, character.h: make get_root() a const
 	  method.
 	* server/movie_root.{cpp,h}: support multiple levels. Untested.

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- server/movie_root.cpp	10 Jul 2007 21:06:29 -0000	1.75
+++ server/movie_root.cpp	10 Jul 2007 23:48:42 -0000	1.76
@@ -31,6 +31,7 @@
 #include "ExecutableCode.h"
 #include "Stage.h"
 #include "utility.h"
+#include "URL.h"
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
   #include "action.h"
 #endif
@@ -104,13 +105,19 @@
 	setLevel(0, movie);
 }
 
+/* private */
 void
 movie_root::setLevel(unsigned int num, boost::intrusive_ptr<movie_instance> movie)
 {
 	assert(movie != NULL);
+	assert(static_cast<unsigned int>(movie->get_depth()) == num);
+
+	//movie->setLevel(num)
+	//movie->set_depth(num);
+	//movie->set_name(ss.str().c_str());
 
-	if ( _movies.size() < num+1 ) _movies.resize(num+1);
-	_movies[num] = movie;
+	//if ( _movies.size() < num+1 ) _movies.resize(num+1);
+	_movies[num] = movie; // [num] = movie;
 
 	movie->set_invalidated();
 	
@@ -121,15 +128,49 @@
 	assert(testInvariant());
 }
 
-boost::intrusive_ptr<movie_instance>
-movie_root::getLevel(unsigned int num) const
+bool
+movie_root::loadLevel(unsigned int num, const URL& url)
 {
-	if ( _movies.size() < num+1 ) return 0;
-	else
+	boost::intrusive_ptr<movie_definition> md ( create_library_movie(url) );
+	if (md == NULL)
 	{
-		assert(boost::dynamic_pointer_cast<movie_instance>(_movies[num]));
-		return boost::static_pointer_cast<movie_instance>(_movies[num]);
+		log_error(_("can't create movie_definition for %s"),
+			url.str().c_str());
+		return false;
 	}
+
+	boost::intrusive_ptr<movie_instance> extern_movie;
+	extern_movie = md->create_movie_instance();
+	if (extern_movie == NULL)
+	{
+		log_error(_("can't create extern movie_instance "
+			"for %s"), url.str().c_str());
+		return false;
+	}
+
+	// Parse query string
+	sprite_instance::VariableMap vars;
+	url.parse_querystring(url.querystring(), vars);
+	extern_movie->setVariables(vars);
+
+	character* ch = extern_movie.get();
+	ch->set_depth(num);
+
+	save_extern_movie(extern_movie.get());
+
+	setLevel(num, extern_movie);
+
+	return true;
+}
+
+boost::intrusive_ptr<movie_instance>
+movie_root::getLevel(unsigned int num) const
+{
+	Levels::const_iterator i = _movies.find(num);
+	if ( i == _movies.end() ) return 0;
+
+	assert(boost::dynamic_pointer_cast<movie_instance>(i->second));
+	return boost::static_pointer_cast<movie_instance>(i->second);
 }
 
 void
@@ -137,7 +178,7 @@
 {
 	for (Levels::iterator i=_movies.begin(), e=_movies.end(); i!=e; ++i)
 	{
-		(*i)->restart();
+		i->second->restart();
 	}
 }
 
@@ -146,7 +187,7 @@
 {
 	for (Levels::iterator i=_movies.begin(), e=_movies.end(); i!=e; ++i)
 	{
-		(*i)->clear_invalidated();
+		i->second->clear_invalidated();
 	}
 }
 
@@ -636,7 +677,7 @@
 
 	for (Levels::iterator i=_movies.begin(), e=_movies.end(); i!=e; ++i)
 	{
-		boost::intrusive_ptr<sprite_instance> movie = *i;
+		boost::intrusive_ptr<sprite_instance> movie = i->second;
 
 		movie->clear_invalidated();
 
@@ -966,7 +1007,7 @@
 {
 	for (Levels::reverse_iterator i=_movies.rbegin(), e=_movies.rend(); i!=e; ++i)
 	{
-		(*i)->add_invalidated_bounds(ranges, force);
+		i->second->add_invalidated_bounds(ranges, force);
 	}
 }
 
@@ -1072,7 +1113,7 @@
 	// TODO: mark all levels !!
 	for (Levels::const_reverse_iterator i=_movies.rbegin(), e=_movies.rend(); i!=e; ++i)
 	{
-		(*i)->setReachable();
+		i->second->setReachable();
 	}
 
 	// Mark mouse entities 
@@ -1115,7 +1156,7 @@
 {
 	for (Levels::reverse_iterator i=_movies.rbegin(), e=_movies.rend(); i!=e; ++i)
 	{
-		character* ret = (*i)->get_topmost_mouse_entity(x, y);
+		character* ret = i->second->get_topmost_mouse_entity(x, y);
 		if ( ret ) return ret;
 	}
 	return NULL;
@@ -1124,9 +1165,12 @@
 void
 movie_root::advanceAllLevels(float delta_time)
 {
-	for (Levels::reverse_iterator i=_movies.rbegin(), e=_movies.rend(); i!=e; ++i)
+	// scan a backup copy of the levels, so that movies advancement won't
+	// invalidate iterators
+	Levels cached = _movies;
+	for (Levels::reverse_iterator i=cached.rbegin(), e=cached.rend(); i!=e; ++i)
 	{
-		advanceMovie(*i, delta_time);
+		advanceMovie(i->second, delta_time);
 	}
 }
 

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- server/movie_root.h	10 Jul 2007 21:06:29 -0000	1.66
+++ server/movie_root.h	10 Jul 2007 23:48:42 -0000	1.67
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.66 2007/07/10 21:06:29 strk Exp $ */
+/* $Id: movie_root.h,v 1.67 2007/07/10 23:48:42 strk Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -87,11 +87,22 @@
 namespace gnash {
 	class ExecutableCode; // for ActionQueue
 	class Stage;
+	class URL;
 }
 
 namespace gnash
 {
 
+struct DepthComparator
+{
+	typedef boost::intrusive_ptr<sprite_instance> LevelMovie;
+
+	bool operator() (const LevelMovie& d1, const LevelMovie& d2)
+	{
+		return d1->get_depth() < d2->get_depth();
+	}
+};
+
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
 class KeyListener{
 	public:
@@ -178,18 +189,32 @@
 	/// @param movie
 	///	The movie_instance to wrap.
 	///	Will be stored in an intrusive_ptr.
+	///	Must have a depth of 0.
 	///
 	void setRootMovie(movie_instance* movie);
 
 	/// Return the movie at the given level (0 if unloaded level).
+	//
+	/// POST CONDITIONS:
+	///	- The returned character has a depth equal to 'num'
+	///
 	boost::intrusive_ptr<movie_instance> getLevel(unsigned int num) const;
 
-	/// Put the given movie at the given level 
+	/// Load movie at the specified URL in the given level 
 	//
 	/// Note that the display viewport will be updated to reflect
 	/// the new layout.
 	///
-	void setLevel(unsigned int num, boost::intrusive_ptr<movie_instance> movie);
+	/// @param num
+	///	The level number to load into.
+	///
+	/// @param url
+	///	The url to load the movie from.
+	///	Can contain a query string, which would be parsed.
+	///
+	/// @return false on error, true on success
+	///
+	bool loadLevel(unsigned int num, const URL& url);
 
 	/// @@ should this delegate to _level0?  probably !
 	void set_member(
@@ -298,7 +323,7 @@
 	sprite_instance* get_root_movie()
 	{
 		if ( _movies.empty() ) return NULL;
-		return _movies[0].get();
+		return getLevel(0).get();
 	}
 
 	void stop_drag()
@@ -623,7 +648,12 @@
 	/// to avoid having to replicate all of the base class
 	/// interface to the movie_instance class definition
 	///
-	typedef std::vector< boost::intrusive_ptr<sprite_instance> > Levels;
+	/// TODO: use a different container, to allow for _level0 and _level100
+	///       to exist while just taking 2 elements in the container.
+	///       Appropriate container could be list, set or map (order is important)
+	///
+	typedef boost::intrusive_ptr<sprite_instance> LevelMovie;
+	typedef std::map<unsigned int, LevelMovie> Levels;
 	Levels _movies;
 
 	/// This function should return TRUE iff any action triggered
@@ -659,6 +689,18 @@
 	// Advance a given level
 	void advanceMovie(boost::intrusive_ptr<sprite_instance> movie, float delta_time);
 
+	/// Put the given movie at the given level 
+	//
+	/// Note that the display viewport will be updated to reflect
+	/// the new layout.
+	///
+	/// @param movie
+	///	The movie_instance to store at the given level.
+	///	Will be stored in an intrusive_ptr.
+	///	It's depth will be set to <num> and it's name to
+	///	_level<num>
+	///
+	void setLevel(unsigned int num, boost::intrusive_ptr<movie_instance> movie);
 };
 
 

Index: server/vm/ASHandlers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ASHandlers.cpp,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -b -r1.111 -r1.112
--- server/vm/ASHandlers.cpp	7 Jul 2007 03:37:29 -0000	1.111
+++ server/vm/ASHandlers.cpp	10 Jul 2007 23:48:42 -0000	1.112
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: ASHandlers.cpp,v 1.111 2007/07/07 03:37:29 strk Exp $ */
+/* $Id: ASHandlers.cpp,v 1.112 2007/07/10 23:48:42 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1774,12 +1774,6 @@
 	if ( ! target.is_undefined() && ! target.is_null() )
 	{
 		target_string = target.to_string(&env);
-		if ( target_string.substr(0, 6) == "_level" )
-		{
-			// Might set loadTargetFlag to true, but _level# would likely not
-			// be resolved anyway
-			log_unimpl(_("GetUrl with target %s unsupported"), target_string.c_str());
-		}
 	}
 
 	// If the url starts with "FSCommand:", then this is
@@ -1827,7 +1821,13 @@
 	log_msg(_("get url: target=%s, url=%s (%s), method=%x"), target_string.c_str(),
 		url.str().c_str(), url_c, method);
 
-	if ( loadTargetFlag )
+	if ( target_string.compare(0, 6, "_level") == 0 && target_string.find_first_not_of("0123456789", 7) == string::npos )
+	{
+		unsigned int levelno = atoi(target_string.c_str()+6);
+		log_debug(_("Testing _level loading (level %u)"), levelno);
+		VM::get().getRoot().loadLevel(levelno, url);
+	}
+	else if ( loadTargetFlag )
 	{
 		character* target_ch = env.find_target(target);
 		if ( ! target_ch )



From MAILER-DAEMON Tue Jul 10 20:16:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Psq-0005k8-87
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 20:16:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Psp-0005ic-70
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:16:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Pso-0005hX-GK
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:16:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Pso-0005hE-88
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:16:42 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8Pso-0007oX-0V
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:16:42 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8Psm-0000tK-49
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 00:16:40 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8Psl-0000tH-Ak
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 00:16:39 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8Psl-0000tH-Ak@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 11 Jul 2007 00:16:39 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_environment.cpp serve...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 00:16:43 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/11 00:16:39

Modified files:
	.              : ChangeLog 
	server         : as_environment.cpp character.cpp 
	                 sprite_instance.cpp 

Log message:
	        * server/: as_environment.cpp, character.cpp,
	          sprite_instance.cpp: properly evaluate _level#
	          path components.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3706&r2=1.3707
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_environment.cpp?cvsroot=gnash&r1=1.81&r2=1.82
http://cvs.savannah.gnu.org/viewcvs/gnash/server/character.cpp?cvsroot=gnash&r1=1.45&r2=1.46
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.294&r2=1.295

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3706
retrieving revision 1.3707
diff -u -b -r1.3706 -r1.3707
--- ChangeLog	10 Jul 2007 23:48:41 -0000	1.3706
+++ ChangeLog	11 Jul 2007 00:16:37 -0000	1.3707
@@ -1,5 +1,11 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/: as_environment.cpp, character.cpp,
+	  sprite_instance.cpp: properly evaluate _level#
+	  path components.
+
+2007-07-10 Sandro Santilli <strk@keybit.net>
+
 	* server/vm/ASHandlers.cpp (CommonGetUrl): implement _level loading.
 	  Fixes bug #19968.
 	* server/movie_root.{cpp,h}: add loadLevel() method, store levels in

Index: server/as_environment.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_environment.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- server/as_environment.cpp	1 Jul 2007 10:54:19 -0000	1.81
+++ server/as_environment.cpp	11 Jul 2007 00:16:38 -0000	1.82
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: as_environment.cpp,v 1.81 2007/07/01 10:54:19 bjacques Exp $ */
+/* $Id: as_environment.cpp,v 1.82 2007/07/11 00:16:38 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -140,10 +140,17 @@
     }
 
     // Check built-in constants.
-    if (varname == "_root" || varname == "_level0") {
+    if (varname == "_root") 
+    { 
 	if ( retTarget ) *retTarget = NULL; // correct ??
 	return as_value(m_target->get_root_movie());
     }
+    else if (varname.compare(0, 6, "_level") == 0 && varname.find_first_not_of("0123456789", 7) == string::npos )
+    {
+       if ( retTarget ) *retTarget = NULL; // correct ??
+       unsigned int levelno = atoi(varname.c_str()+6);
+       return VM::get().getRoot().getLevel(levelno).get();
+    }
 
     VM& vm = VM::get();
     as_object* global = vm.getGlobal();

Index: server/character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/character.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- server/character.cpp	9 Jul 2007 13:00:04 -0000	1.45
+++ server/character.cpp	11 Jul 2007 00:16:38 -0000	1.46
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: character.cpp,v 1.45 2007/07/09 13:00:04 strk Exp $ */
+/* $Id: character.cpp,v 1.46 2007/07/11 00:16:38 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -179,11 +179,15 @@
 		}
 		return parent;
 	}
-	else if (name == "_level0"
-	     || name == "_root")
+	else if (name == "_root")
 	{
 		return get_root_movie();
 	}
+	else if (name.compare(0, 6, "_level") == 0 && name.find_first_not_of("0123456789", 7) == string::npos )
+	{
+		unsigned int levelno = atoi(name.c_str()+6);
+		return VM::get().getRoot().getLevel(levelno).get();
+	}
 
 	return NULL;
 }

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.294
retrieving revision 1.295
diff -u -b -r1.294 -r1.295
--- server/sprite_instance.cpp	2 Jul 2007 15:15:45 -0000	1.294
+++ server/sprite_instance.cpp	11 Jul 2007 00:16:38 -0000	1.295
@@ -1825,12 +1825,20 @@
 		val->set_as_object( VM::get().getRoot().get_root_movie() );
 		return true;
 	}
-	if ( name == "_level0" )
+	if (name.compare(0, 6, "_level") == 0 && name.find_first_not_of("0123456789", 7) == string::npos )
 	{
-		// TODO: handle _level# (any level)
-		val->set_as_object( VM::get().getRoot().get_root_movie() );
+		unsigned int levelno = atoi(name.c_str()+6);
+		movie_instance* mo = VM::get().getRoot().getLevel(levelno).get();
+		if ( mo )
+		{
+			val->set_as_object(mo);
 		return true;
 	}
+		else
+		{
+			return false;
+		}
+	}
 	if ( name == "this" )
 	{
 		val->set_as_object( this );



From MAILER-DAEMON Tue Jul 10 20:34:01 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Q9Z-0004nn-Bh
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 20:34:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Q9Y-0004ng-Pd
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:34:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Q9X-0004nU-5L
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:33:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Q9X-0004nR-0j
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:33:59 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8Q9W-00024C-NO
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:33:58 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8Q9V-0001Ki-Lo
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 00:33:57 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8Q9V-0001Kf-II
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 00:33:57 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8Q9V-0001Kf-II@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 11 Jul 2007 00:33:57 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/character.cpp testsuite/...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 00:34:00 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/11 00:33:57

Modified files:
	.              : ChangeLog 
	server         : character.cpp 
	testsuite/swfdec: PASSING 

Log message:
	        * testsuite/swfdec/PASSING: three more tests succeed (name
	          of loaded instances).
	        * server/character.cpp (getTarget): remove the hard-coded
	          _level0 lead, substitute with a correct level number.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3707&r2=1.3708
http://cvs.savannah.gnu.org/viewcvs/gnash/server/character.cpp?cvsroot=gnash&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/swfdec/PASSING?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3707
retrieving revision 1.3708
diff -u -b -r1.3707 -r1.3708
--- ChangeLog	11 Jul 2007 00:16:37 -0000	1.3707
+++ ChangeLog	11 Jul 2007 00:33:56 -0000	1.3708
@@ -1,5 +1,9 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/swfdec/PASSING: three more tests succeed (name
+	  of loaded instances).
+	* server/character.cpp (getTarget): remove the hard-coded
+	  _level0 lead, substitute with a correct level number.
 	* server/: as_environment.cpp, character.cpp,
 	  sprite_instance.cpp: properly evaluate _level#
 	  path components.

Index: server/character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/character.cpp,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- server/character.cpp	11 Jul 2007 00:16:38 -0000	1.46
+++ server/character.cpp	11 Jul 2007 00:33:57 -0000	1.47
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: character.cpp,v 1.46 2007/07/11 00:16:38 strk Exp $ */
+/* $Id: character.cpp,v 1.47 2007/07/11 00:33:57 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -817,24 +817,49 @@
 character::getTarget() const
 {
 
-  // TODO: maybe cache computed target?
-
-	std::string target_dot;
+	// TODO: check what happens when this character
+	//       is a movie_instance loaded into another
+	//       running movie.
 
-	std::string levelString = "_level0"; // TODO: support real levels!
+	typedef std::vector<std::string> Path;
+	Path path;
 
-	const std::string& targetPath = getTargetPath();
-	if ( targetPath == "/" ) target_dot = levelString;
-	else
+	// Build parents stack
+	const character* ch = this;
+	for (;;)
 	{
-		target_dot = levelString + targetPath;
-		for (std::string::size_type i=0; i<target_dot.length(); ++i)
+		const character* parent = ch->get_parent();
+
+		// Don't push the _root name on the stack
+		if ( ! parent )
 		{
-			if ( target_dot[i] == '/' ) target_dot[i] = '.';
+			assert(dynamic_cast<const movie_instance*>(ch));
+			std::stringstream ss;
+			ss << "_level" << ch->get_depth();
+			path.push_back(ss.str());
+			// it is completely legal to set root's _name
+			//assert(ch->get_name().empty());
+			break;
+		}
+
+		path.push_back(ch->get_name());
+		ch = parent;
 		}
+
+	assert ( ! path.empty() );
+
+	// Build the target string from the parents stack
+	std::string target;
+	for ( Path::reverse_iterator
+			it=path.rbegin(), itEnd=path.rend();
+			it != itEnd;
+			++it )
+	{
+		if ( ! target.empty() ) target += ".";
+		target += *it; 
 	}
 
-	return target_dot;
+	return target;
 }
 
 /*public*/

Index: testsuite/swfdec/PASSING
===================================================================
RCS file: /sources/gnash/gnash/testsuite/swfdec/PASSING,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- testsuite/swfdec/PASSING	18 Jun 2007 00:27:44 -0000	1.23
+++ testsuite/swfdec/PASSING	11 Jul 2007 00:33:57 -0000	1.24
@@ -90,3 +90,6 @@
 with-prototypes-5.swf
 with-prototypes-6.swf
 with-prototypes-7.swf
+instance-name-loaded-5.swf
+instance-name-loaded-6.swf
+instance-name-loaded-7.swf



From MAILER-DAEMON Tue Jul 10 20:41:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8QGU-0006eX-ID
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 20:41:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8QGT-0006eS-TL
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:41:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8QGT-0006eG-Ef
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:41:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8QGT-0006eD-Bf
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:41:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8QGT-00033G-2F
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 20:41:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8QGS-0001WP-Bs
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 00:41:08 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8QGS-0001WM-1c
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 00:41:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8QGS-0001WM-1c@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 11 Jul 2007 00:41:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/movie_root.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 00:41:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/11 00:41:07

Modified files:
	.              : ChangeLog 
	server         : movie_root.cpp 

Log message:
	        * server/movie_root.cpp (display): fix calls to
	          begin_display/end_display. Fixes playback of multi-level movies.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3708&r2=1.3709
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.76&r2=1.77

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3708
retrieving revision 1.3709
diff -u -b -r1.3708 -r1.3709
--- ChangeLog	11 Jul 2007 00:33:56 -0000	1.3708
+++ ChangeLog	11 Jul 2007 00:41:07 -0000	1.3709
@@ -1,5 +1,7 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/movie_root.cpp (display): fix calls to
+	  begin_display/end_display. Fixes playback of multi-level movies.
 	* testsuite/swfdec/PASSING: three more tests succeed (name
 	  of loaded instances).
 	* server/character.cpp (getTarget): remove the hard-coded

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- server/movie_root.cpp	10 Jul 2007 23:48:42 -0000	1.76
+++ server/movie_root.cpp	11 Jul 2007 00:41:07 -0000	1.77
@@ -675,6 +675,17 @@
 
 	assert(testInvariant());
 
+	// should we cache this ? it's immutable after all !
+	const rect& frame_size = getLevel(0)->get_frame_size();
+
+	render::begin_display(
+		m_background_color,
+		m_viewport_x0, m_viewport_y0,
+		m_viewport_width, m_viewport_height,
+		frame_size.get_x_min(), frame_size.get_x_max(),
+		frame_size.get_y_min(), frame_size.get_y_max());
+
+
 	for (Levels::iterator i=_movies.begin(), e=_movies.end(); i!=e; ++i)
 	{
 		boost::intrusive_ptr<sprite_instance> movie = i->second;
@@ -683,23 +694,20 @@
 
 		if (movie->get_visible() == false) continue;
 
-		// should we cache this ? it's immutable after all !
-		const rect& frame_size = movie->get_frame_size();
-
 		// null frame size ? don't display !
-		if ( frame_size.is_null() ) continue;
+		const rect& sub_frame_size = movie->get_frame_size();
 
-		render::begin_display(
-			m_background_color,
-			m_viewport_x0, m_viewport_y0,
-			m_viewport_width, m_viewport_height,
-			frame_size.get_x_min(), frame_size.get_x_max(),
-			frame_size.get_y_min(), frame_size.get_y_max());
+		if ( frame_size.is_null() )
+		{
+			log_debug("_level%u has null frame size, skipping", i->first);
+			continue;
+		}
 
 		movie->display();
 
-		render::end_display();
 	}
+
+	render::end_display();
 }
 
 



From MAILER-DAEMON Tue Jul 10 21:07:22 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Qfq-00076X-Hc
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 21:07:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Qfo-00076G-B0
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:07:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Qfm-000760-UN
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:07:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Qfm-00075x-PN
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:07:18 -0400
Received: from moongulch.net ([69.15.127.230] helo=darkstar.welcomehome.org)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <rob@welcomehome.org>) id 1I8Qfm-0006vI-8R
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:07:18 -0400
Received: from bertha.welcomehome.org (bertha.welcomehome.org [192.168.2.11])
	by darkstar.welcomehome.org (8.13.8/8.13.8) with ESMTP id
	l6B17DED001094; Tue, 10 Jul 2007 19:07:15 -0600
Message-ID: <46942D8C.4090506@welcomehome.org>
Date: Tue, 10 Jul 2007 19:08:28 -0600
From: Rob Savoye <rob@welcomehome.org>
User-Agent: Thunderbird 2.0.0.0 (X11/20070326)
MIME-Version: 1.0
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/gtk_glue_agg.cpp gui/gtk_gl...
References: <E1I3YPj-0005iQ-RF@cvs.savannah.gnu.org>
In-Reply-To: <E1I3YPj-0005iQ-RF@cvs.savannah.gnu.org>
X-Enigmail-Version: 0.95.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.6 (newer, 3)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 01:07:20 -0000

Udo Giacomozzi wrote:
> CVSROOT:	/cvsroot/gnash
> Module name:	gnash
> Changes by:	Udo Giacomozzi <udog>	07/06/27 14:22:35
> 
> Modified files:
> 	.              : ChangeLog 
> 	gui            : gtk_glue_agg.cpp gtk_glue_agg.h 
> 
> Log message:
> 	implemented shared memory image blitting
> 
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3614&r2=1.3615
> http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_agg.cpp?cvsroot=gnash&r1=1.18&r2=1.19
> http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_agg.h?cvsroot=gnash&r1=1.8&r2=1.9

  I haven't used this extension before, but is it possible to use POSIX
shared memory functions instead of the older SYSv3 ones ? This is a
question, and not a request to change the implementation.

	- rob -



From MAILER-DAEMON Tue Jul 10 21:12:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8QlH-0002m0-PY
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 21:12:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8QlG-0002j8-7G
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:12:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8QlD-0002dc-Uk
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:12:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8QlD-0002dV-Sr
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:12:55 -0400
Received: from moongulch.net ([69.15.127.230] helo=darkstar.welcomehome.org)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <rob@welcomehome.org>) id 1I8QlD-0007i9-GA
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:12:55 -0400
Received: from bertha.welcomehome.org (bertha.welcomehome.org [192.168.2.11])
	by darkstar.welcomehome.org (8.13.8/8.13.8) with ESMTP id
	l6B1CrPE001353; Tue, 10 Jul 2007 19:12:54 -0600
Message-ID: <46942EE0.3070603@welcomehome.org>
Date: Tue, 10 Jul 2007 19:14:08 -0600
From: Rob Savoye <rob@welcomehome.org>
User-Agent: Thunderbird 2.0.0.0 (X11/20070326)
MIME-Version: 1.0
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/gtk_glue_agg.cpp
References: <E1I4B2D-0008BA-Go@cvs.savannah.gnu.org>
In-Reply-To: <E1I4B2D-0008BA-Go@cvs.savannah.gnu.org>
X-Enigmail-Version: 0.95.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.6 (newer, 3)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 01:12:58 -0000

Udo Giacomozzi wrote:
> CVSROOT:	/cvsroot/gnash
> Module name:	gnash
> Changes by:	Udo Giacomozzi <udog>	07/06/29 07:36:53
> 
> Modified files:
> 	.              : ChangeLog 
> 	gui            : gtk_glue_agg.cpp 
> 
> Log message:
> 	properly initialize new SHM variables
> 

  Any chances on using the Shm class in shm.cpp ? It's already portable,
and used by LocalConnection(), which also uses shared memory.

  Sorry for a pile of responses, I just got home from a 2 week vacation
during which I was offline the entire time.

	- rob -



From MAILER-DAEMON Tue Jul 10 21:18:19 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8QqR-0004kL-4f
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 21:18:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8QqP-0004k7-77
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:18:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8QqO-0004je-G1
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:18:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8QqO-0004jb-BS
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:18:16 -0400
Received: from welcomehome.org ([69.15.127.230] helo=darkstar.welcomehome.org)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <rob@welcomehome.org>) id 1I8QqN-0000Mz-Ul
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:18:16 -0400
Received: from bertha.welcomehome.org (bertha.welcomehome.org [192.168.2.11])
	by darkstar.welcomehome.org (8.13.8/8.13.8) with ESMTP id
	l6B1IEcu001418
	for <gnash-commit@gnu.org>; Tue, 10 Jul 2007 19:18:14 -0600
Message-ID: <46943021.1070507@welcomehome.org>
Date: Tue, 10 Jul 2007 19:19:29 -0600
From: Rob Savoye <rob@welcomehome.org>
User-Agent: Thunderbird 2.0.0.0 (X11/20070326)
MIME-Version: 1.0
CC: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash COPYING ChangeLog
References: <E1I51RH-0000P2-AD@cvs.savannah.gnu.org>
	<1655137891.20070702101202@nova-sys.net>
In-Reply-To: <1655137891.20070702101202@nova-sys.net>
X-Enigmail-Version: 0.95.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.6 (newer, 3)
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 01:18:17 -0000

Udo Giacomozzi wrote:
> Sunday, July 1, 2007, 5:34:15 PM, you wrote:
> SS>  * COPYING: update to GPL version 3
> 
> Uh. Was this change obvious? Never saw any discussion on this...

  Gnash is a GNU project, so have no choice about upgrading to the GPL
v3. I think we should anyway, but it isn't something we have any control
over.

> With all the fuss about GPLv3, does this make any implications on
> "commercial use" of Gnash (ie. use in embedded devices)?

  No, unless you want to implement a DRM system.

	- rob -



From MAILER-DAEMON Tue Jul 10 21:28:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8R01-00083c-BE
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 21:28:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8R00-00083B-0Q
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:28:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Qzy-00082l-JW
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:28:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Qzy-00082e-7l
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:28:10 -0400
Received: from moongulch.net ([69.15.127.230] helo=darkstar.welcomehome.org)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <rob@welcomehome.org>) id 1I8Qzx-0001wU-RR
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 21:28:10 -0400
Received: from bertha.welcomehome.org (bertha.welcomehome.org [192.168.2.11])
	by darkstar.welcomehome.org (8.13.8/8.13.8) with ESMTP id
	l6B1S85t001549
	for <gnash-commit@gnu.org>; Tue, 10 Jul 2007 19:28:08 -0600
Message-ID: <46943273.7000808@welcomehome.org>
Date: Tue, 10 Jul 2007 19:29:23 -0600
From: Rob Savoye <rob@welcomehome.org>
User-Agent: Thunderbird 2.0.0.0 (X11/20070326)
MIME-Version: 1.0
CC: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
In-Reply-To: <56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
X-Enigmail-Version: 0.95.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.6 (newer, 3)
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 01:28:12 -0000

Martin Guy wrote:

>  One implication is that boost::date_time becomes a required
> dependency of Gnash, only for the NullGui. Otherwise it is not
> required.

  Cygnal also uses boost date time, so we already have the dependency.
I'd prefer to get rid of all uses of tu_timer.

	- rob -



From MAILER-DAEMON Tue Jul 10 22:58:04 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8SOy-0005PB-3R
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 22:58:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8SOx-0005OJ-7q
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 22:58:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8SOw-0005N1-5M
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 22:58:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8SOv-0005Mt-VN
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 22:58:02 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8SOv-0003As-8m
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 22:58:01 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8SOu-0005Tv-Fc
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 02:58:00 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8SOu-0005Ts-9Y
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 02:58:00 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8SOu-0005Ts-9Y@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 11 Jul 2007 02:58:00 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/fontlib.h server/gnash.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 02:58:03 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/11 02:58:00

Modified files:
	.              : ChangeLog 
	server         : fontlib.h gnash.h 

Log message:
	        * server/: fontlib.h, gnash.h: move fontlib namespace
	          declaration where it belong.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3709&r2=1.3710
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fontlib.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/server/gnash.h?cvsroot=gnash&r1=1.99&r2=1.100

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3709
retrieving revision 1.3710
diff -u -b -r1.3709 -r1.3710
--- ChangeLog	11 Jul 2007 00:41:07 -0000	1.3709
+++ ChangeLog	11 Jul 2007 02:57:59 -0000	1.3710
@@ -1,5 +1,10 @@
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
+	* server/: fontlib.h, gnash.h: move fontlib namespace
+	  declaration where it belong.
+
+2007-07-10 Sandro Santilli <strk@keybit.net>
+
 	* server/movie_root.cpp (display): fix calls to
 	  begin_display/end_display. Fixes playback of multi-level movies.
 	* testsuite/swfdec/PASSING: three more tests succeed (name

Index: server/fontlib.h
===================================================================
RCS file: /sources/gnash/gnash/server/fontlib.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- server/fontlib.h	30 Nov 2006 20:14:46 -0000	1.5
+++ server/fontlib.h	11 Jul 2007 02:57:59 -0000	1.6
@@ -1,9 +1,20 @@
-// fontlib.h	-- Thatcher Ulrich <tu@tulrich.com> 2003
-
-// This source code has been donated to the Public Domain.  Do
-// whatever you want with it.
-
-// Internal interfaces to fontlib.
+// fontlib.h - Internal interfaces to fontlib, for Gnash.
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+// 
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
 #ifndef GNASH_FONTLIB_H
@@ -11,15 +22,42 @@
 
 
 #include "types.h"
-class tu_file;
 
+// Forward declarations
+class tu_file;
 namespace gnash {
-
 	class movie_def_impl;
 	class texture_glyph;
+}
+
+namespace gnash {
+
+/// Library management
+//
+/// Font library control.  gnash is able to substitute fonts
+/// from the font library, in case a movie lacks glyphs for a
+/// declared font.  This would come into play since in recent
+/// versions of SWF, the movie is allowed to use "system
+/// fonts".  E.g. it can declare a font named "Arial", but not
+/// provide glyphs for it, and then the OS is expected to
+/// provide the font or a suitable replacement.
+///
+/// gnash does not try to handle this automatically; if your
+/// host program wants to emulate this behavior, it needs to
+/// load a movie that includes glyph info for the standard
+/// fonts you want, and then explicitly pull those fonts out of
+/// the movie_def and add them to fontlib.
+///
+/// @@ TODO: not all public APIs to enable this are in place
+/// yet!  Need md::get_font_count()/get_font(), and
+/// fontlib::add_font().
+///
+/// Otherwise, text written in a font with no glyphs just
+/// doesn't render at all.  (@@ Hm, should probably render it
+/// as boxes or something?)
+///
+namespace fontlib {
 
-	namespace fontlib
-	{
 		// For adding fonts.
 		void	add_font(font* f);
 
@@ -46,7 +84,31 @@
 		// data, including glyph texture info.
 		void	input_cached_data(tu_file* in, const std::vector<font*>& fonts, movie_definition* owner);
 		
-	}	// end namespace fontlib
+	// Controls how large to render textured glyphs.
+	// Applies to fonts processed *after* this call only.
+	// The "nominal" size is perhaps around twice the
+	// average glyph height.
+	void	set_nominal_glyph_pixel_size(int pixel_size);
+
+	/// Clean up the font library
+	void	clear();
+
+	int	get_font_count();
+
+	font*	get_font(int index);
+
+	font*	get_font(const char* name);
+
+	const char*	get_font_name(const font* f);
+
+	// @@ also need to add color controls (or just set the diffuse color
+	// in the API?), perhaps matrix xform, and maybe spacing, etc.
+	//
+	// // For direct text rendering from the host app.
+	void	draw_string(const font* f, float x, float y, float size, const char* text);
+
+	
+}	// end namespace fontlib
 }	// end namespace gnash
 
 

Index: server/gnash.h
===================================================================
RCS file: /sources/gnash/gnash/server/gnash.h,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -b -r1.99 -r1.100
--- server/gnash.h	1 Jul 2007 10:54:23 -0000	1.99
+++ server/gnash.h	11 Jul 2007 02:58:00 -0000	1.100
@@ -346,57 +346,6 @@
 ///
 DSOEXPORT void	clear();
 
-//
-// Library management
-//
-	
-// Font library control.  gnash is able to substitute fonts
-// from the font library, in case a movie lacks glyphs for a
-// declared font.  This would come into play since in recent
-// versions of SWF, the movie is allowed to use "system
-// fonts".  E.g. it can declare a font named "Arial", but not
-// provide glyphs for it, and then the OS is expected to
-// provide the font or a suitable replacement.
-//
-// gnash does not try to handle this automatically; if your
-// host program wants to emulate this behavior, it needs to
-// load a movie that includes glyph info for the standard
-// fonts you want, and then explicitly pull those fonts out of
-// the movie_def and add them to fontlib.
-//
-// @@ TODO: not all public APIs to enable this are in place
-// yet!  Need md::get_font_count()/get_font(), and
-// fontlib::add_font().
-//
-// Otherwise, text written in a font with no glyphs just
-// doesn't render at all.  (@@ Hm, should probably render it
-// as boxes or something?)
-
-class font;	
-namespace fontlib
-{
-// Controls how large to render textured glyphs.
-// Applies to fonts processed *after* this call only.
-// The "nominal" size is perhaps around twice the
-// average glyph height.
-void	set_nominal_glyph_pixel_size(int pixel_size);
-
-// For accessing the fonts in the library.
-void	clear();
-int	get_font_count();
-font*	get_font(int index);
-font*	get_font(const char* name);
-const char*	get_font_name(const font* f);
-
-// @@ also need to add color controls (or just set the diffuse color
-// in the API?), perhaps matrix xform, and maybe spacing, etc.
-//
-// // For direct text rendering from the host app.
-void	draw_string(const font* f, float x, float y, float size, const char* text);
-// void	draw_string(const font* f, float x, float y, float size, const wchar_t* text);	// wide-char version
-}
-	
-	
 
 //
 // point: used by rect which is used by render_handler (otherwise would be in internal gnash_types.h)



From MAILER-DAEMON Tue Jul 10 23:19:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Sji-0007zF-UC
	for mharc-gnash-commit@gnu.org; Tue, 10 Jul 2007 23:19:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Sjh-0007zA-Ud
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 23:19:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Sjf-0007yy-FW
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 23:19:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Sjf-0007yv-A5
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 23:19:27 -0400
Received: from smtpout04-01.prod.mesa1.secureserver.net ([64.202.165.196])
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <eh@narthex.us>) id 1I8Sje-0007Fq-UB
	for gnash-commit@gnu.org; Tue, 10 Jul 2007 23:19:27 -0400
Received: (qmail 6889 invoked from network); 11 Jul 2007 03:19:25 -0000
Received: from unknown (67.41.229.146)
	by smtpout04-04.prod.mesa1.secureserver.net (64.202.165.199) with ESMTP;
	11 Jul 2007 03:19:25 -0000
Message-Id: <6.0.0.22.2.20070710211709.034a4ec0@mail.narthex.us>
X-Sender: eh@narthex.us@mail.narthex.us
X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22
Date: Tue, 10 Jul 2007 21:19:00 -0600
To: gnash-commit@gnu.org
From: Eric Hughes <eh@narthex.us>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp
In-Reply-To: <46943273.7000808@welcomehome.org>
References: <E1I6bYE-0004E0-UP@cvs.savannah.gnu.org>
	<56d259a00707060313q7cb0bdd8lf62b7d06c0ec63ff@mail.gmail.com>
	<46943273.7000808@welcomehome.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-detected-kernel: Linux 2.4-2.6
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 03:19:30 -0000

At 07:29 PM 7/10/2007, Rob Savoye wrote:
>   Cygnal also uses boost date time, so we already have the dependency.
>I'd prefer to get rid of all uses of tu_timer.

It's only using in a relatively simple way at the moment, but that will 
certainly change when we'll need more than quick timers to track task 
lifetime.  So it's dependency for Cygnal is persistent.

Eric




From MAILER-DAEMON Wed Jul 11 02:43:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Vus-0000WV-OQ
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 02:43:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Vur-0000WN-O3
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 02:43:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Vup-0000WB-I7
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 02:43:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Vup-0000W8-FU
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 02:43:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I8Vup-00062C-2R
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 02:43:11 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I8Vum-0001TZ-KS
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 06:43:08 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I8Vum-0001TT-G4
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 06:43:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8Vum-0001TT-G4@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Wed, 11 Jul 2007 06:43:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 06:43:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/11 06:43:08

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: key_event_test4.c key_event_test5.c 
	                         key_event_test5runner.cpp 

Log message:
	testcase comments and cleanups.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3710&r2=1.3711
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test4.c?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5.c?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5runner.cpp?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3710
retrieving revision 1.3711
diff -u -b -r1.3710 -r1.3711
--- ChangeLog	11 Jul 2007 02:57:59 -0000	1.3710
+++ ChangeLog	11 Jul 2007 06:43:07 -0000	1.3711
@@ -1,3 +1,10 @@
+2007-07-11 Zou Lunkai <zoulunkai@gmail.com>
+
+	* testsuite/misc-ming.all/key_event_test4.c, key_event_test5.c: call totals()
+	  instead of total() to give a final report, the later one is an undefined function.
+	* testsuite/misc-ming.all/key_event_test5runner.c: add comments why Gnash fails, 
+	  it forgets to do the case conversion, a big bug!
+	  
 2007-07-10 Sandro Santilli <strk@keybit.net>
 
 	* server/: fontlib.h, gnash.h: move fontlib namespace

Index: testsuite/misc-ming.all/key_event_test4.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test4.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/key_event_test4.c	1 Jul 2007 10:54:55 -0000	1.2
+++ testsuite/misc-ming.all/key_event_test4.c	11 Jul 2007 06:43:08 -0000	1.3
@@ -71,7 +71,7 @@
                   " { "
                   "   check_equals(thisPtr, _level0.clip); "   
                   " } "
-                  " total();  stop(); ");
+                  " totals();  stop(); ");
   SWFMovie_nextFrame(mo);  
   
   //Output movie

Index: testsuite/misc-ming.all/key_event_test5.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test5.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/key_event_test5.c	10 Jul 2007 11:49:17 -0000	1.3
+++ testsuite/misc-ming.all/key_event_test5.c	11 Jul 2007 06:43:08 -0000	1.4
@@ -110,7 +110,7 @@
   check_equals(mo, "typeof(obj)", "'undefined'"); 
   check_equals(mo, "typeof(objRef)", "'undefined'"); 
   
-  add_actions(mo, "stop(); total();");
+  add_actions(mo, "stop(); totals();");
   SWFMovie_nextFrame(mo);  
   
   //Output movie

Index: testsuite/misc-ming.all/key_event_test5runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test5runner.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/key_event_test5runner.cpp	10 Jul 2007 14:43:20 -0000	1.1
+++ testsuite/misc-ming.all/key_event_test5runner.cpp	11 Jul 2007 06:43:08 -0000	1.2
@@ -50,7 +50,8 @@
   tester.advance();
   
   as_value tmp;
-  // ???, can not find 'hasKeyPressed'?
+  // Gnash fails because it forget to do the case conversion.
+  // A big old bug!
   xcheck(root->get_member("hasKeyPressed", &tmp));
   check_equals(tmp.to_number(), 0.0);
   
@@ -66,7 +67,8 @@
   }
   check_equals(root->get_current_frame(), 8);
   
-  // ???, can not find 'hasKeyPressed'?
+  // Gnash fails because it forget to do the case conversion.
+  // A big old bug!
   xcheck(root->get_member("hasKeyPressed", &tmp));
   xcheck_equals(tmp.to_number(), 1.0);
   



From MAILER-DAEMON Wed Jul 11 03:55:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8X2X-0002SE-6w
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 03:55:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8X2T-0002LW-SF
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 03:55:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8X2S-0002Gd-4w
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 03:55:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8X2S-0002GU-0C
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 03:55:08 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I8X2R-0002kz-O5
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 03:55:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I8X2R-00068i-5M
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 07:55:07 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I8X2R-00068f-1e
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 07:55:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8X2R-00068f-1e@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Wed, 11 Jul 2007 07:55:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 07:55:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/11 07:55:06

Modified files:
	.              : ChangeLog 
Added files:
	testsuite/actionscript.all: case.as 

Log message:
	* testsuite/actionscript.all/case.as: add a testcase for testing  case senstivity for SWF < 7.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3711&r2=1.3712
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/case.as?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3711
retrieving revision 1.3712
diff -u -b -r1.3711 -r1.3712
--- ChangeLog	11 Jul 2007 06:43:07 -0000	1.3711
+++ ChangeLog	11 Jul 2007 07:55:06 -0000	1.3712
@@ -1,5 +1,10 @@
 2007-07-11 Zou Lunkai <zoulunkai@gmail.com>
 
+	* testsuite/actionscript.all/case.as: add a testcase for testing 
+	  case senstivity for SWF < 7.
+	  
+2007-07-11 Zou Lunkai <zoulunkai@gmail.com>
+
 	* testsuite/misc-ming.all/key_event_test4.c, key_event_test5.c: call totals()
 	  instead of total() to give a final report, the later one is an undefined function.
 	* testsuite/misc-ming.all/key_event_test5runner.c: add comments why Gnash fails, 

Index: testsuite/actionscript.all/case.as
===================================================================
RCS file: testsuite/actionscript.all/case.as
diff -N testsuite/actionscript.all/case.as
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/actionscript.all/case.as	11 Jul 2007 07:55:06 -0000	1.1
@@ -0,0 +1,50 @@
+ // 
+//   Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modchecky
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; check not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fcheckth Floor, Boston, MA  02110-1301  USA
+//
+
+/*
+ *  Zou Lunkai, zoulunkai@gmail.com
+ *
+ *  Test case senstivity 
+ */
+
+#include "check.as"
+
+#if OUTPUT_VERSION <= 6
+
+aBcD = 100;
+oBj = new Object();
+obj.xYZ = 100;
+
+check_equals(ABCD, 100);
+check_equals(typeof(OBJ), 'object');
+check_equals(OBJ.xyz, 100);
+
+_ROOT.createEmptyMovieClip("mC0", 3);
+check_equals(typeof(mc0), 'movieclip');
+
+#ifdef MING_SUPPORTS_ASM
+asm{
+  push "/_ROOT/MC0/"
+  push 0.0
+  push 100
+  setproperty
+};
+xcheck_equals(mC0._X, 100);
+#endif
+
+#endif  // OUTPUT_VERSION > 5



From MAILER-DAEMON Wed Jul 11 04:40:05 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Xjx-0000Aa-4C
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 04:40:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Xjv-00009P-42
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 04:40:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Xjt-00008Q-PY
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 04:40:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Xjt-00008M-J7
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 04:40:01 -0400
Received: from nz-out-0506.google.com ([64.233.162.233])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I8Xjt-0001xQ-57
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 04:40:01 -0400
Received: by nz-out-0506.google.com with SMTP id f1so1173215nzc
	for <gnash-commit@gnu.org>; Wed, 11 Jul 2007 01:40:00 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=n+crmcJsJqJgrxYzBkhdM7IQvX3BIb5jYkUM7oVKXRwV/r9/pjMVrkTyQEAS/VU5Nk81KNhsuKeMs/jpcX3k4+r4/6v/Qk9l7lkRyIXMOnMsTbjVLzKG0qevxrr2yc2qW8SXSB6mzO7UnRPVgZ1yyJ0xXdRuAhJS2UJP4CNbGlU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=RlL+HpzutBWj4u7wcpB1jkYoVbjJwr5XiVEqvMwpPFml30P9d+wLYSSGXte5ldN6NsxW9qXiOICkk514hHwQ/GkrQS4HoLsUkzoXcprHab1vjfcV+qzBHbgZb6o6g57VlTHfGXFa+Hznkey2wl58ara4TywmUpGrH8v47xmBFbY=
Received: by 10.115.32.1 with SMTP id k1mr4929819waj.1184143200054;
	Wed, 11 Jul 2007 01:40:00 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Wed, 11 Jul 2007 01:39:59 -0700 (PDT)
Message-ID: <ca4b43ff0707110139h5e5a392i8814b9ed771d82c@mail.gmail.com>
Date: Wed, 11 Jul 2007 16:39:59 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Sandro Santilli" <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
In-Reply-To: <E1I8Vum-0001TT-G4@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I8Vum-0001TT-G4@cvs.savannah.gnu.org>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 08:40:03 -0000

+  // Gnash fails because it forget to do the case conversion.
+  // A big old bug!

Backgroud: For swf < 7,  variable names are case insensitive, and
Gnash stores all variables in lower case and does a case conversion
when searching a variable.

Not difficult to fix this bug, adding a case conversion in
sprite_instance::get_member () probably works. I am just confused at
which level should we do this case conversion. A quich search shows
that Gnash does this(boost::to_lower) in many places than I expect.
But it still forgets to do this conversion sometimes, eg. the above
example and when parsing a target path. Any comments about this?


On 7/11/07, Zou Lunkai <zoulunkai@gmail.com> wrote:
> CVSROOT:        /sources/gnash
> Module name:    gnash
> Changes by:     Zou Lunkai <zoulunkai>  07/07/11 06:43:08
>
> Modified files:
>        .              : ChangeLog
>        testsuite/misc-ming.all: key_event_test4.c key_event_test5.c
>                                 key_event_test5runner.cpp
>
> Log message:
>        testcase comments and cleanups.
>
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3710&r2=1.3711
> http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test4.c?cvsroot=gnash&r1=1.2&r2=1.3
> http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5.c?cvsroot=gnash&r1=1.3&r2=1.4
> http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5runner.cpp?cvsroot=gnash&r1=1.1&r2=1.2
>
> Patches:
> Index: ChangeLog
> ===================================================================
> RCS file: /sources/gnash/gnash/ChangeLog,v
> retrieving revision 1.3710
> retrieving revision 1.3711
> diff -u -b -r1.3710 -r1.3711
> --- ChangeLog   11 Jul 2007 02:57:59 -0000      1.3710
> +++ ChangeLog   11 Jul 2007 06:43:07 -0000      1.3711
> @@ -1,3 +1,10 @@
> +2007-07-11 Zou Lunkai <zoulunkai@gmail.com>
> +
> +       * testsuite/misc-ming.all/key_event_test4.c, key_event_test5.c: call totals()
> +         instead of total() to give a final report, the later one is an undefined function.
> +       * testsuite/misc-ming.all/key_event_test5runner.c: add comments why Gnash fails,
> +         it forgets to do the case conversion, a big bug!
> +
>  2007-07-10 Sandro Santilli <strk@keybit.net>
>
>        * server/: fontlib.h, gnash.h: move fontlib namespace
>
> Index: testsuite/misc-ming.all/key_event_test4.c
> ===================================================================
> RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test4.c,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -b -r1.2 -r1.3
> --- testsuite/misc-ming.all/key_event_test4.c   1 Jul 2007 10:54:55 -0000       1.2
> +++ testsuite/misc-ming.all/key_event_test4.c   11 Jul 2007 06:43:08 -0000      1.3
> @@ -71,7 +71,7 @@
>                   " { "
>                   "   check_equals(thisPtr, _level0.clip); "
>                   " } "
> -                  " total();  stop(); ");
> +                  " totals();  stop(); ");
>   SWFMovie_nextFrame(mo);
>
>   //Output movie
>
> Index: testsuite/misc-ming.all/key_event_test5.c
> ===================================================================
> RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test5.c,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -b -r1.3 -r1.4
> --- testsuite/misc-ming.all/key_event_test5.c   10 Jul 2007 11:49:17 -0000      1.3
> +++ testsuite/misc-ming.all/key_event_test5.c   11 Jul 2007 06:43:08 -0000      1.4
> @@ -110,7 +110,7 @@
>   check_equals(mo, "typeof(obj)", "'undefined'");
>   check_equals(mo, "typeof(objRef)", "'undefined'");
>
> -  add_actions(mo, "stop(); total();");
> +  add_actions(mo, "stop(); totals();");
>   SWFMovie_nextFrame(mo);
>
>   //Output movie
>
> Index: testsuite/misc-ming.all/key_event_test5runner.cpp
> ===================================================================
> RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test5runner.cpp,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -b -r1.1 -r1.2
> --- testsuite/misc-ming.all/key_event_test5runner.cpp   10 Jul 2007 14:43:20 -0000      1.1
> +++ testsuite/misc-ming.all/key_event_test5runner.cpp   11 Jul 2007 06:43:08 -0000      1.2
> @@ -50,7 +50,8 @@
>   tester.advance();
>
>   as_value tmp;
> -  // ???, can not find 'hasKeyPressed'?
> +  // Gnash fails because it forget to do the case conversion.
> +  // A big old bug!
>   xcheck(root->get_member("hasKeyPressed", &tmp));
>   check_equals(tmp.to_number(), 0.0);
>
> @@ -66,7 +67,8 @@
>   }
>   check_equals(root->get_current_frame(), 8);
>
> -  // ???, can not find 'hasKeyPressed'?
> +  // Gnash fails because it forget to do the case conversion.
> +  // A big old bug!
>   xcheck(root->get_member("hasKeyPressed", &tmp));
>   xcheck_equals(tmp.to_number(), 1.0);
>
>
>
> _______________________________________________
> Gnash-commit mailing list
> Gnash-commit@gnu.org
> http://lists.gnu.org/mailman/listinfo/gnash-commit
>



From MAILER-DAEMON Wed Jul 11 04:56:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8XzY-0001Nn-Dr
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 04:56:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8XzW-0001Mz-JI
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 04:56:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8XzV-0001MK-Dh
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 04:56:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8XzU-0001MB-WE
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 04:56:09 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I8XzU-0004vO-8S
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 04:56:08 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6B8u3U4011557;
	Wed, 11 Jul 2007 10:56:06 +0200
Date: Wed, 11 Jul 2007 10:55:34 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1255682208.20070711105534@nova-sys.net>
To: Rob Savoye <rob@welcomehome.org>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog gui/gtk_glue_agg.cpp
	gui/gtk_gl...
In-Reply-To: <46942D8C.4090506@welcomehome.org>
References: <E1I3YPj-0005iQ-RF@cvs.savannah.gnu.org>
	<46942D8C.4090506@welcomehome.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 08:56:11 -0000

Hello Rob,

Wednesday, July 11, 2007, 3:08:28 AM, you wrote:
RS>   I haven't used this extension before, but is it possible to use POSIX
RS> shared memory functions instead of the older SYSv3 ones ? This is a
RS> question, and not a request to change the implementation.

I haven't used it before either. Probably POSIX is possible since the
extension just wants to know the shared memory pointer (you are
referring to shmget(), don't you?).

I used some code examples I found around which all use shmget().

Udo




From MAILER-DAEMON Wed Jul 11 05:00:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Y3d-00046v-6b
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 05:00:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Y3W-000435-AP
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:00:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Y3T-00041X-Oc
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:00:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Y3T-000410-2l
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:00:15 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I8Y3S-0005i5-7K
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:00:14 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6B907U4011988;
	Wed, 11 Jul 2007 11:00:09 +0200
Date: Wed, 11 Jul 2007 10:59:37 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <892939403.20070711105937@nova-sys.net>
To: Rob Savoye <rob@welcomehome.org>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog gui/gtk_glue_agg.cpp
In-Reply-To: <46942EE0.3070603@welcomehome.org>
References: <E1I4B2D-0008BA-Go@cvs.savannah.gnu.org>
	<46942EE0.3070603@welcomehome.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 09:00:20 -0000

Hello Rob,

Wednesday, July 11, 2007, 3:14:08 AM, you wrote:
RS>   Any chances on using the Shm class in shm.cpp ? It's already
RS> portable, and used by LocalConnection(), which also uses shared
RS> memory.

I guess so, yes. The question is: Does the combination of SHM-MIT with
non-SYSv3 possibile at all?

If not, then ./configure should deal with enabling the extension in
Gnash or not.

If yes, then I ask you to patch the code since you probably are more
familiar with the class (I didn't even know it exists).

Udo




From MAILER-DAEMON Wed Jul 11 05:02:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8Y5x-00073o-3Y
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 05:02:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8Y5v-000723-4Z
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:02:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8Y5u-00070y-FA
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:02:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8Y5u-00070k-4c
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:02:46 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I8Y5r-0006Dk-9x
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:02:44 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6B92cU4012350;
	Wed, 11 Jul 2007 11:02:40 +0200
Date: Wed, 11 Jul 2007 11:02:09 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1309793063.20070711110209@nova-sys.net>
To: "zou lunkai" <zoulunkai@gmail.com>
Subject: Re[2]: [Gnash-commit] gnash gui/gnash.cpp ChangeLog
In-Reply-To: <ca4b43ff0707092015q79232fd1ybf7d85b2ffd6eb1a@mail.gmail.com>
References: <E1I6pSG-0005hU-AE@cvs.savannah.gnu.org>
	<ca4b43ff0707092015q79232fd1ybf7d85b2ffd6eb1a@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 09:02:48 -0000

Hello zou,

Tuesday, July 10, 2007, 5:15:45 AM, you wrote:
zl> The related problem has been discussed long ago IIRC, have we
zl> already found a solution, like a automatic style checking?

AFAIK we have no solution, yet. But why not just get rid of TABs and
use real spaces? Or at least agree on a common TAB size.

Udo




From MAILER-DAEMON Wed Jul 11 05:10:14 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8YD8-0004Ov-NU
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 05:10:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8YD6-0004OL-JJ
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:10:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8YD5-0004Nl-PL
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:10:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8YD4-0004NO-QD
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:10:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1I8YD4-0007sS-Gl
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:10:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1I8YD3-00027T-SD
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 09:10:09 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1I8YD3-00027Q-Ni
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 09:10:09 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8YD3-00027Q-Ni@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Wed, 11 Jul 2007 09:10:09 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/fb.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 09:10:12 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/11 09:10:09

Modified files:
	.              : ChangeLog 
	gui            : fb.cpp 

Log message:
	gui/fb.cpp: print fatal error messages to stdout (workaround), fixes bug #20012

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3712&r2=1.3713
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fb.cpp?cvsroot=gnash&r1=1.35&r2=1.36

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3712
retrieving revision 1.3713
diff -u -b -r1.3712 -r1.3713
--- ChangeLog	11 Jul 2007 07:55:06 -0000	1.3712
+++ ChangeLog	11 Jul 2007 09:10:08 -0000	1.3713
@@ -1,3 +1,8 @@
+2007-07-04 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* gui/fb.cpp: print fatal error messages to stdout (workaround),
+	  fixes bug #20012 	
+
 2007-07-11 Zou Lunkai <zoulunkai@gmail.com>
 
 	* testsuite/actionscript.all/case.as: add a testcase for testing 

Index: gui/fb.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/fb.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- gui/fb.cpp	1 Jul 2007 10:54:00 -0000	1.35
+++ gui/fb.cpp	11 Jul 2007 09:10:09 -0000	1.36
@@ -49,6 +49,10 @@
 # include <sys/stat.h>
 # include <fcntl.h>
 #endif
+
+// workaround until we agree that log_error does not rely on -v switch
+#define fatal_error printf  
+
 //--
 
 
@@ -186,7 +190,7 @@
   // Open the framebuffer device
   fd = open("/dev/fb0", O_RDWR);
   if (fd<0) {
-    log_error("Could not open framebuffer device: %s", strerror(errno));
+    fatal_error("Could not open framebuffer device: %s", strerror(errno));
     return false;
   }
   
@@ -265,7 +269,7 @@
   if (pixelformat) {    
     agg_handler = create_render_handler_agg(pixelformat);      
   } else {
-    log_error("The pixel format of your framebuffer is not supported.");
+    fatal_error("The pixel format of your framebuffer is not supported.");
     return false;
   }
 



From MAILER-DAEMON Wed Jul 11 05:14:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8YHG-0006DK-Uw
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 05:14:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8YHE-0006Cj-Rk
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:14:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8YHB-0006BQ-A3
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:14:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8YHA-0006B1-Gs
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:14:24 -0400
Received: from nz-out-0506.google.com ([64.233.162.232])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I8YH7-0000Bh-Iv
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 05:14:22 -0400
Received: by nz-out-0506.google.com with SMTP id f1so1179066nzc
	for <gnash-commit@gnu.org>; Wed, 11 Jul 2007 02:14:20 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=XRyJwfiH9B7Mav8KAt5VZtnLQ0X4Xqo95oVO08Fh4tG5VscXu3zddb2ItexQvhydWh5IsbGxXWPp+banTPNkeQ88os+aq/D+95S0ywJ+l0pWOinFK82JAznDzwrlZvDZXApfhlD3IUgQi9dobNry9nW2Fhj1mr0JTyGEODD60Lc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=KFwkqBR18DVh6KLCLJzQHQ04ayrQqBvvMpsIvVXP3ogp5ELaeACqHyof/PTeGPlR2KPR4O57jyjXDhBoQsu7s3JOEqRHgRASFSUM/9frAFu/Nz6i1jCIdOfsKWfGvufIyjx/M0DIXSr5KRt96rDQ8fmrDw4cCJPRtL/fTK0iAZk=
Received: by 10.114.196.1 with SMTP id t1mr4958291waf.1184145260150;
	Wed, 11 Jul 2007 02:14:20 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Wed, 11 Jul 2007 02:14:20 -0700 (PDT)
Message-ID: <ca4b43ff0707110214m10bbfcc3p817c6895e4739122@mail.gmail.com>
Date: Wed, 11 Jul 2007 17:14:20 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Udo Giacomozzi" <udo.gnu@nova-sys.net>
Subject: Re: Re[2]: [Gnash-commit] gnash gui/gnash.cpp ChangeLog
In-Reply-To: <1309793063.20070711110209@nova-sys.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6pSG-0005hU-AE@cvs.savannah.gnu.org>
	<ca4b43ff0707092015q79232fd1ybf7d85b2ffd6eb1a@mail.gmail.com>
	<1309793063.20070711110209@nova-sys.net>
X-detected-kernel: Error: This connection is not (no longer?) in the cache.
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 09:14:29 -0000

Hello, Udo

On 7/11/07, Udo Giacomozzi <udo.gnu@nova-sys.net> wrote:
> Hello zou,
>
> Tuesday, July 10, 2007, 5:15:45 AM, you wrote:
> zl> The related problem has been discussed long ago IIRC, have we
> zl> already found a solution, like a automatic style checking?
>
> AFAIK we have no solution, yet. But why not just get rid of TABs and
> use real spaces?
>
Yes, that's  what I do(TAB to SPACE conversion with the editor) before
committing my testcases. But I guess this will increase file sizes, so
some people don't like it.



From MAILER-DAEMON Wed Jul 11 09:23:24 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8cA7-0008V9-Sy
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 09:23:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8cA5-0008Uy-Vt
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 09:23:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8cA2-0008Uc-LO
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 09:23:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8cA2-0008UZ-Fs
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 09:23:18 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I8cA1-0002YF-OI
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 09:23:18 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6BDN2Y86555;
	Wed, 11 Jul 2007 15:23:02 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Wed, 11 Jul 2007 15:23:02 +0200
From: Sandro Santilli <strk@keybit.net>
To: zou lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
Message-ID: <20070711132302.GB77124@keybit.net>
Mail-Followup-To: zou lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1I8Vum-0001TT-G4@cvs.savannah.gnu.org>
	<ca4b43ff0707110139h5e5a392i8814b9ed771d82c@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ca4b43ff0707110139h5e5a392i8814b9ed771d82c@mail.gmail.com>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 13:23:22 -0000

On Wed, Jul 11, 2007 at 04:39:59PM +0800, zou lunkai wrote:
> +  // Gnash fails because it forget to do the case conversion.
> +  // A big old bug!
> 
> Backgroud: For swf < 7,  variable names are case insensitive, and
> Gnash stores all variables in lower case and does a case conversion
> when searching a variable.
> 
> Not difficult to fix this bug, adding a case conversion in
> sprite_instance::get_member () probably works. I am just confused at
> which level should we do this case conversion. A quich search shows
> that Gnash does this(boost::to_lower) in many places than I expect.
> But it still forgets to do this conversion sometimes, eg. the above
> example and when parsing a target path. Any comments about this?

I tried to perform all convertions in ActionExec, which is as close as possible
to the SWF interpreter (AsHadners).

The find_target seems to not happen there, but directly in as_environment
instead. Also, I think characters, in general, are not lowercased
currently.

--strk;



From MAILER-DAEMON Wed Jul 11 10:17:17 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8d0H-0007EP-F4
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 10:17:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8d0F-0007Ae-L8
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 10:17:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8d0E-00078b-Lh
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 10:17:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8d0E-00078O-E7
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 10:17:14 -0400
Received: from welcomehome.org ([69.15.127.230] helo=darkstar.welcomehome.org)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <rob@welcomehome.org>) id 1I8d0D-0007LT-LK
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 10:17:14 -0400
Received: from bertha.welcomehome.org (bertha.welcomehome.org [192.168.2.11])
	by darkstar.welcomehome.org (8.13.8/8.13.8) with ESMTP id
	l6BEHBxH020041
	for <gnash-commit@gnu.org>; Wed, 11 Jul 2007 08:17:11 -0600
Message-ID: <4694E6AD.1070903@welcomehome.org>
Date: Wed, 11 Jul 2007 08:18:21 -0600
From: Rob Savoye <rob@welcomehome.org>
User-Agent: Thunderbird 2.0.0.0 (X11/20070326)
MIME-Version: 1.0
CC: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash gui/gnash.cpp ChangeLog
References: <E1I6pSG-0005hU-AE@cvs.savannah.gnu.org>	<ca4b43ff0707092015q79232fd1ybf7d85b2ffd6eb1a@mail.gmail.com>
	<1309793063.20070711110209@nova-sys.net>
In-Reply-To: <1309793063.20070711110209@nova-sys.net>
X-Enigmail-Version: 0.95.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.6 (newer, 3)
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 14:17:16 -0000

Udo Giacomozzi wrote:

> Tuesday, July 10, 2007, 5:15:45 AM, you wrote:
> zl> The related problem has been discussed long ago IIRC, have we
> zl> already found a solution, like a automatic style checking?

  You can get this now using emacs or vim.

> AFAIK we have no solution, yet. But why not just get rid of TABs and
> use real spaces? Or at least agree on a common TAB size.

  Which is what I do, as emacs will automatically convert tabs to spaces.

	- rob -



From MAILER-DAEMON Wed Jul 11 11:18:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8dx9-0004By-2U
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 11:18:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8dx7-00049e-5m
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:18:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8dx6-00048F-A3
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:18:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8dx6-00047r-4G
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:18:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8dx5-0004Ah-Ku
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:18:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8dx3-00033h-2U
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 15:18:01 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8dx2-00033e-SR
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 15:18:00 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8dx2-00033e-SR@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 11 Jul 2007 15:18:00 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler_cairo.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 15:18:05 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/11 15:18:00

Modified files:
	.              : ChangeLog 
	backend        : render_handler_cairo.cpp 

Log message:
	Patch by Timothy Lee <timothy.lee@siriushk.com>:
	
	        * backend/render_handler_cairo.cpp: correct scaling and offset
	          in video rendering. Optimize RGB data conversion as suggested
	          by John Gilmore.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3713&r2=1.3714
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_cairo.cpp?cvsroot=gnash&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3713
retrieving revision 1.3714
diff -u -b -r1.3713 -r1.3714
--- ChangeLog	11 Jul 2007 09:10:08 -0000	1.3713
+++ ChangeLog	11 Jul 2007 15:18:00 -0000	1.3714
@@ -1,4 +1,10 @@
-2007-07-04 Udo Giacomozzi <udo.gnu@nova-sys.net>
+2007-07-11 Timothy Lee <timothy.lee@siriushk.com>
+
+	* backend/render_handler_cairo.cpp: correct scaling and offset
+	  in video rendering. Optimize RGB data conversion as suggested
+	  by John Gilmore.
+
+2007-07-11 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* gui/fb.cpp: print fatal error messages to stdout (workaround),
 	  fixes bug #20012 	

Index: backend/render_handler_cairo.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_cairo.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- backend/render_handler_cairo.cpp	10 Jul 2007 14:49:56 -0000	1.20
+++ backend/render_handler_cairo.cpp	11 Jul 2007 15:18:00 -0000	1.21
@@ -25,19 +25,35 @@
 static cairo_t* g_cr = 0;
 
 
-// Converts from RGB image to 32-bit pixels in CAIRO_FORMAT_RGB24 format
+// Converts from RGBA image to 32-bit pixels in CAIRO_FORMAT_RGB24 format
 static void
 rgb_to_cairo_rgb24(uint8_t* dst, const image::rgb* im)
 {
+    uint32_t* dst32 = reinterpret_cast<uint32_t*>(dst);
     for (int y = 0;  y < im->m_height;  y++)
     {
 	const uint8_t* src = image::scanline(im, y);
 	for (int x = 0;  x < im->m_width;  x++, src += 3)
 	{
-	    *dst++ = src[2]; 	// blue
-	    *dst++ = src[1]; 	// green
-	    *dst++ = src[0];	// red
-	    *dst++;		// alpha not used
+	    // 32-bit RGB data in native endian format
+	    *dst32++ = (src[0] << 16) | (src[1] << 8) | src[2];
+	}
+    }
+}
+
+
+// Converts from RGBA image to 32-bit pixels in CAIRO_FORMAT_ARGB32 format
+static void
+rgba_to_cairo_argb32(uint8_t* dst, const image::rgba* im)
+{
+    uint32_t* dst32 = reinterpret_cast<uint32_t*>(dst);
+    for (int y = 0;  y < im->m_height;  y++)
+    {
+	const uint8_t* src = image::scanline(im, y);
+	for (int x = 0;  x < im->m_width;  x++, src += 3)
+	{
+	    // 32-bit ARGB data in native endian format
+	    *dst32++ = (src[0] << 24) | (src[1] << 16) | (src[2] << 8) | src[3];
 	}
     }
 }
@@ -605,17 +621,26 @@
 	    int         w = frame->m_width;
 	    int         h = frame->m_height;
 
-	    // Compute video object size relative to bounding rectangle
-	    double w_scale = w / bounds->width();
-	    double h_scale = h / bounds->height();
+	    // Compute bounding rectangle size relative to video object
+	    double w_scale = bounds->width()  / w;
+	    double h_scale = bounds->height() / h;
 
-	    // Prepare transformation matrix for RGB frame
+	    // Fit video to bounding rectangle
 	    cairo_matrix_t mat;
-	    cairo_matrix_init(&mat,
+	    cairo_matrix_init_scale(&mat, w_scale, h_scale);
+	    cairo_matrix_translate(&mat,
+		bounds->get_x_min(), bounds->get_y_min());
+
+	    // Now apply transformation to video
+	    cairo_matrix_t frame_mat;
+	    cairo_matrix_init(&frame_mat,
 		m->m_[0][0], m->m_[1][0],
 		m->m_[0][1], m->m_[1][1],
 		m->m_[0][2], m->m_[1][2]);
-	    cairo_matrix_scale(&mat, w_scale, h_scale);
+	    cairo_matrix_multiply(&mat, &mat, &frame_mat);
+
+	    // Inverse the matrix for pattern space
+	    cairo_matrix_invert(&mat);
 
 	    // Convert RGB frame to cairo format
 	    int buf_size = w * h * 4;
@@ -631,7 +656,7 @@
 	    cairo_surface_t* surface = cairo_image_surface_create_for_data(
 		m_video_buffer, CAIRO_FORMAT_RGB24, w, h, w * 4);
 	    cairo_pattern_t* pattern = cairo_pattern_create_for_surface(surface);
-	    cairo_pattern_set_extend(pattern, CAIRO_EXTEND_REPEAT);
+	    cairo_pattern_set_extend(pattern, CAIRO_EXTEND_NONE);
 	    cairo_pattern_set_matrix(pattern, &mat);
 
 	    // Draw the frame now
@@ -716,20 +741,7 @@
     // Allocate output buffer
     int buf_size = im->m_width * im->m_height * 4;
     m_buffer = new unsigned char[buf_size];
-
-    // Convert BGRA data to ARGB
-    unsigned char* dst = m_buffer;
-    for (int y = 0;  y < im->m_height;  y++)
-    {
-	uint8_t* src = image::scanline(im, y);
-	for (int x = 0;  x < im->m_width;  x++, src += 4)
-	{
-	    *dst++ = src[3]; 	// blue
-	    *dst++ = src[2]; 	// green
-	    *dst++ = src[1];	// red
-	    *dst++ = src[0]; 	// alpha
-	}
-    }
+    rgba_to_cairo_argb32(m_buffer, im);
 
     // Create the image
     m_original_width  = im->m_width;



From MAILER-DAEMON Wed Jul 11 11:30:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8e9M-0002Nq-D8
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 11:30:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8e9K-0002Nl-KC
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:30:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8e9J-0002NZ-1e
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:30:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8e9I-0002NW-QI
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:30:40 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I8e9H-00013H-Mj
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:30:40 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6BFUWJ90182;
	Wed, 11 Jul 2007 17:30:32 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Wed, 11 Jul 2007 17:30:32 +0200
To: Zou Lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
Message-ID: <20070711153032.GE88075@keybit.net>
Mail-Followup-To: Zou Lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1I8Vum-0001TT-G4@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I8Vum-0001TT-G4@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 15:30:43 -0000

On Wed, Jul 11, 2007 at 06:43:08AM +0000, Zou Lunkai wrote:

> +  // Gnash fails because it forget to do the case conversion.
> +  // A big old bug!
>    xcheck(root->get_member("hasKeyPressed", &tmp));

WARNIN: this is not a bug, but a feature :)
get_member() doesn't perform the case conversion, the caller does.
This is to avoid repeated and useless conversions of already-lower-case
names when recursing to __proto__.
A self-contained test for members would succeed in this case, as it
would be converted by ActionExec.

--strk;



From MAILER-DAEMON Wed Jul 11 11:31:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8eAZ-0002p2-6l
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 11:31:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8eAX-0002oK-9I
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:31:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8eAV-0002nM-Ky
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:31:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8eAV-0002nF-Gw
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:31:55 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I8eAU-0001VD-PW
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:31:55 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6BFVqm90209;
	Wed, 11 Jul 2007 17:31:52 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Wed, 11 Jul 2007 17:31:52 +0200
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as
Message-ID: <20070711153152.GF88075@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org
References: <E1I8X2R-00068f-1e@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I8X2R-00068f-1e@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 15:31:57 -0000

On Wed, Jul 11, 2007 at 07:55:07AM +0000, Zou Lunkai wrote:
> CVSROOT:	/sources/gnash
> Module name:	gnash
> Changes by:	Zou Lunkai <zoulunkai>	07/07/11 07:55:06
> 
> Modified files:
> 	.              : ChangeLog 
> Added files:
> 	testsuite/actionscript.all: case.as 
> 
> Log message:
> 	* testsuite/actionscript.all/case.as: add a testcase for testing  case senstivity for SWF < 7.

You need to add case.as to the ASTESTS variable in the Makefile.am to activate this.

--strk;



From MAILER-DAEMON Wed Jul 11 11:33:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8eBh-00036k-U1
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 11:33:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8eBh-00036U-0a
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:33:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8eBe-000367-JS
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:33:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8eBe-000364-EW
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:33:06 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I8eBd-0001qv-Lb
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 11:33:06 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6BFX2K90248;
	Wed, 11 Jul 2007 17:33:02 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Wed, 11 Jul 2007 17:33:02 +0200
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/fb.cpp
Message-ID: <20070711153302.GG88075@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1I8YD3-00027Q-Ni@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I8YD3-00027Q-Ni@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 15:33:09 -0000

On Wed, Jul 11, 2007 at 09:10:09AM +0000, Udo Giacomozzi wrote:

> -    log_error("Could not open framebuffer device: %s", strerror(errno));
> +    fatal_error("Could not open framebuffer device: %s", strerror(errno));

Please wrap message strings in _("...") for proper internationalization.

  fatal_error(_("Could not open framebuffer device: %s"), strerror(errno));

--strk;



From MAILER-DAEMON Wed Jul 11 12:01:58 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8eda-0002vr-IY
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 12:01:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8edZ-0002tn-0l
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:01:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8edX-0002sa-8P
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:01:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8edV-0002sF-7P
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:01:53 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8edU-0002Io-Np
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:01:52 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8edT-0005Qc-M8
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 16:01:51 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8edT-0005QZ-IO
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 16:01:51 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8edT-0005QZ-IO@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 11 Jul 2007 16:01:51 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler_cairo.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 16:01:57 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/11 16:01:51

Modified files:
	.              : ChangeLog 
	backend        : render_handler_cairo.cpp 

Log message:
	Patch by Timothy Lee <timothy.lee@siriushk.com>:
	Fix a bug in rgba_to_cairo_argb32(), which incremented only 3 instead of 4 bytes per pixel.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3714&r2=1.3715
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_cairo.cpp?cvsroot=gnash&r1=1.21&r2=1.22

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3714
retrieving revision 1.3715
diff -u -b -r1.3714 -r1.3715
--- ChangeLog	11 Jul 2007 15:18:00 -0000	1.3714
+++ ChangeLog	11 Jul 2007 16:01:50 -0000	1.3715
@@ -2,7 +2,8 @@
 
 	* backend/render_handler_cairo.cpp: correct scaling and offset
 	  in video rendering. Optimize RGB data conversion as suggested
-	  by John Gilmore.
+	  by John Gilmore. Fix a bug in rgba_to_cairo_argb32(), which
+	  incremented only 3 instead of 4 bytes per pixel.
 
 2007-07-11 Udo Giacomozzi <udo.gnu@nova-sys.net>
 

Index: backend/render_handler_cairo.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_cairo.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- backend/render_handler_cairo.cpp	11 Jul 2007 15:18:00 -0000	1.21
+++ backend/render_handler_cairo.cpp	11 Jul 2007 16:01:51 -0000	1.22
@@ -25,7 +25,7 @@
 static cairo_t* g_cr = 0;
 
 
-// Converts from RGBA image to 32-bit pixels in CAIRO_FORMAT_RGB24 format
+// Converts from RGB image to 32-bit pixels in CAIRO_FORMAT_RGB24 format
 static void
 rgb_to_cairo_rgb24(uint8_t* dst, const image::rgb* im)
 {
@@ -50,7 +50,7 @@
     for (int y = 0;  y < im->m_height;  y++)
     {
 	const uint8_t* src = image::scanline(im, y);
-	for (int x = 0;  x < im->m_width;  x++, src += 3)
+	for (int x = 0;  x < im->m_width;  x++, src += 4)
 	{
 	    // 32-bit ARGB data in native endian format
 	    *dst32++ = (src[0] << 24) | (src[1] << 16) | (src[2] << 8) | src[3];



From MAILER-DAEMON Wed Jul 11 12:17:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8es8-0007PU-3k
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 12:17:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8es6-0007PL-Nf
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:16:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8es4-0007P9-B4
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:16:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8es4-0007P6-5d
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:16:56 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8es2-0006GQ-MT
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:16:55 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8es0-00079f-AS
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 16:16:52 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8erz-00079c-Vb
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 16:16:52 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8erz-00079c-Vb@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 11 Jul 2007 16:16:51 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 16:16:58 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/11 16:16:51

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp font.cpp font.h 
	                 fontlib.cpp fontlib.h 
	server/parser  : edit_text_character_def.cpp 

Log message:
	        * server/font.{cpp,h}: Store name by std::string
	          rather then by char*, Provide a constructor for
	          device-only font.
	        * server/fontlib.{cpp,h}: Add a get_default_font.
	        * server/edit_text_character.cpp: Use the default
	          font if no font is specified in the definition.
	        * server/parser/edit_text_character_def.cpp: not having
	          a font in the definition isn't an error, turn it into
	          a debugging message instead.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3715&r2=1.3716
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.cpp?cvsroot=gnash&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.h?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fontlib.cpp?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fontlib.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.cpp?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3715
retrieving revision 1.3716
diff -u -b -r1.3715 -r1.3716
--- ChangeLog	11 Jul 2007 16:01:50 -0000	1.3715
+++ ChangeLog	11 Jul 2007 16:16:50 -0000	1.3716
@@ -1,3 +1,15 @@
+2007-07-11 Sandro Santilli <strk@keybit.net>
+
+	* server/font.{cpp,h}: Store name by std::string
+	  rather then by char*, Provide a constructor for
+	  device-only font.
+	* server/fontlib.{cpp,h}: Add a get_default_font.
+	* server/edit_text_character.cpp: Use the default
+	  font if no font is specified in the definition.
+	* server/parser/edit_text_character_def.cpp: not having
+	  a font in the definition isn't an error, turn it into
+	  a debugging message instead.
+
 2007-07-11 Timothy Lee <timothy.lee@siriushk.com>
 
 	* backend/render_handler_cairo.cpp: correct scaling and offset

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- server/edit_text_character.cpp	3 Jul 2007 01:12:44 -0000	1.72
+++ server/edit_text_character.cpp	11 Jul 2007 16:16:51 -0000	1.73
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.72 2007/07/03 01:12:44 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.73 2007/07/11 16:16:51 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -352,7 +352,9 @@
 	set_prototype(getTextFieldInterface());
 
 	// WARNING! remember to set the font *before* setting text value!
-	set_font( m_def->get_font() );
+	const font* definedFont = m_def->get_font();
+	if ( definedFont ) set_font( m_def->get_font() );
+	else set_font( fontlib::get_default_font().get() );
 
 	// set default text *before* calling registerTextVariable
 	// (if the textvariable already exist and has a value
@@ -927,48 +929,6 @@
 		return;
 	}
 
-#if 0 // device fonts has an unknown (unless we scan them) number of glyphs
-	// @@ mostly for debugging
-	// Font substitution -- if the font has no
-	// glyphs, try some other defined font!
-	if (_font->get_glyph_count() == 0)
-	{
-
-		// Find a better font.
-		const font*	newfont = _font;
-		for (int i = 0, n = fontlib::get_font_count(); i < n; i++)
-		{
-			font*	f = fontlib::get_font(i);
-			assert(f);
-
-			if (f->get_glyph_count() > 0)
-			{
-				// This one looks good.
-				newfont = f;
-				break;
-			}
-		}
-
-		if (_font != newfont)
-		{
-			log_error(_("substituting font!  font '%s' has "
-				  "no glyphs, using font '%s'"),
-				  fontlib::get_font_name(_font),
-				  fontlib::get_font_name(newfont)
-			);
-
-			_font = newfont;
-		}
-		else
-		{
-			log_error(_("Current font has no glyphs and I couldn't"
-				  " find another font with glyphs... :("));
-		}
-
-	}
-#endif
-
-
 	float	scale = m_def->get_font_height() / 1024.0f;	// the EM square is 1024 x 1024
 
 	text_glyph_record	rec;	// one to work on
@@ -1115,7 +1075,7 @@
 					    " Make sure character shapes for font %s are being exported "
 					    "into your SWF file."),
 					    __PRETTY_FUNCTION__,
-					    _font->get_name());
+					    _font->get_name().c_str());
 				);
 			}
 			else
@@ -1155,7 +1115,7 @@
 						"into your SWF file"),
 						__PRETTY_FUNCTION__,
 						code,
-						_font->get_name()
+						_font->get_name().c_str()
 				    );
 			    }
 

Index: server/font.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/font.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- server/font.cpp	1 Jul 2007 10:54:22 -0000	1.41
+++ server/font.cpp	11 Jul 2007 16:16:51 -0000	1.42
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: font.cpp,v 1.41 2007/07/01 10:54:22 bjacques Exp $ */
+/* $Id: font.cpp,v 1.42 2007/07/11 16:16:51 strk Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -36,7 +36,7 @@
 	font::font()
 		:
 		m_texture_glyph_nominal_size(96),	// Default is not important; gets overridden during glyph generation
-		m_name(NULL),
+		m_name(),
 		m_owning_movie(NULL),
 		m_unicode_chars(false),
 		m_shift_jis_chars(false),
@@ -50,12 +50,32 @@
 	{
 	}
 
+	font::font(const std::string& name)
+		:
+		m_texture_glyph_nominal_size(96),	// Default is not important; gets overridden during glyph generation
+		m_name(name),
+		m_owning_movie(NULL),
+		m_unicode_chars(false),
+		m_shift_jis_chars(false),
+		m_ansi_chars(true),
+		m_is_italic(false),
+		m_is_bold(false),
+		m_wide_codes(false),
+		m_ascent(0.0f),
+		m_descent(0.0f),
+		m_leading(0.0f)
+	{
+		assert(!m_name.empty());
+
+		if ( ! initDeviceFontProvider() )
+		{
+			log_error(_("Could not initialize device font face '%s'"), m_name.c_str());
+		}
+	}
+
 	font::~font()
 	{
 		m_glyphs.resize(0); // there's no need for this !
-
-		// Delete the name string.
-		delete [] m_name;
 	}
 
 	shape_character_def*	font::get_glyph(int index) const
@@ -131,9 +151,9 @@
 			readDefineFont2_or_3(in, m);
 		}
 
-		if ( m_name && ! initDeviceFontProvider() )
+		if ( ! m_name.empty() && ! initDeviceFontProvider() )
 		{
-			log_error("Could not initialize device font face '%s'", m_name);
+			log_error("Could not initialize device font face '%s'", m_name.c_str());
 		}
 	}
 
@@ -213,7 +233,12 @@
 		// Inhibit compiler warning.
 		reserved = reserved;
 
-		m_name = in->read_string_with_length();
+		char* name = in->read_string_with_length();
+		if ( name )
+		{
+			m_name = name;
+			delete [] name;
+		}
 
 		uint16_t glyph_count = in->read_u16();
 		
@@ -385,9 +410,16 @@
 			}
 		}
 
-		delete [] m_name;
-		
-		m_name = in->read_string_with_length();
+		char* name = in->read_string_with_length();
+		if ( name )
+		{
+			m_name = name;
+			delete [] name;
+		}
+		else
+		{
+			m_name.clear();
+		}
 
 		unsigned char	flags = in->read_u8();
 
@@ -575,7 +607,7 @@
 		{
 			log_error("Could not create shape "
 					"glyph for character code %u (%c) with "
-					"device font %s (%p)", code, code, m_name,
+					"device font %s (%p)", code, code, m_name.c_str(),
 					_ftProvider.get());
 			return -1;
 		}
@@ -603,16 +635,16 @@
 	bool
 	font::initDeviceFontProvider()
 	{
-		if ( ! m_name )
+		if ( m_name.empty() )
 		{
 			log_error("No name associated with this font, can't use device fonts (should I use a default one?)");
 			return false;
 		}
 
-		_ftProvider = FreetypeGlyphsProvider::createFace(m_name, m_is_bold, m_is_italic);
+		_ftProvider = FreetypeGlyphsProvider::createFace(m_name.c_str(), m_is_bold, m_is_italic);
 		if ( ! _ftProvider.get() )
 		{
-			log_error("Could not create a freetype face %s", m_name);
+			log_error("Could not create a freetype face %s", m_name.c_str());
 			return false;
 		}
 		return true;

Index: server/font.h
===================================================================
RCS file: /sources/gnash/gnash/server/font.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- server/font.h	16 Jun 2007 06:30:29 -0000	1.25
+++ server/font.h	11 Jul 2007 16:16:51 -0000	1.26
@@ -121,6 +121,10 @@
 	{
 	public:
 		font();
+
+		// Create a device-font only font, using the given name to find it
+		font(const std::string& name);
+
 		~font();
 
 		// override from resource.
@@ -133,7 +137,7 @@
 			if (m_texture_glyphs.size() != m_advance_table.size())
 			{
 				log_error("Font '%s': Number of texture glyphs: %lu, advance records: %lu",
-						m_name,
+						m_name.c_str(),
 						static_cast<unsigned long>(m_texture_glyphs.size()),
 						static_cast<unsigned long>(m_advance_table.size()));
 				abort();
@@ -191,7 +195,7 @@
 		void	wipe_texture_glyphs();
 
 		/// Get name of this font. Warning: can be NULL.
-		const char*	get_name() const { return m_name; }
+		const std::string& get_name() const { return m_name; }
 
 		/// Return the movie_definition "owning" this font
 		movie_definition* get_owning_movie() const { return m_owning_movie; }
@@ -263,7 +267,7 @@
 
 		int	m_texture_glyph_nominal_size;
 
-		char*	m_name;
+		std::string	m_name;
 		movie_definition*	m_owning_movie;
 
 		bool	m_has_layout;

Index: server/fontlib.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/fontlib.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- server/fontlib.cpp	23 Jun 2007 12:34:32 -0000	1.30
+++ server/fontlib.cpp	11 Jul 2007 16:16:51 -0000	1.31
@@ -5,7 +5,7 @@
 
 // A module to take care of all of gnash's loaded fonts.
 
-/* $Id: fontlib.cpp,v 1.30 2007/06/23 12:34:32 bjacques Exp $ */
+/* $Id: fontlib.cpp,v 1.31 2007/07/11 16:16:51 strk Exp $ */
 
 #include "container.h"
 #include "tu_file.h"
@@ -21,10 +21,16 @@
 #include "render.h"
 #include "movie_definition.h"
 
+// Define to the name of a default font.
+#define DEFAULT_FONT_NAME "_sans"
 
 namespace gnash {
 namespace fontlib {
+
+namespace {
 	std::vector< boost::intrusive_ptr<font> >	s_fonts;
+	boost::intrusive_ptr<font> _defaultFont;
+}
 
 	// Size (in TWIPS) of the box that the glyph should
 	// stay within.
@@ -1220,7 +1226,7 @@
 					log_error("invalid glyph index %d in cached font data, limit is %d, font is '%s'\n",
 						  glyph_index,
 						  fnt->get_glyph_count(),
-						  fnt->get_name());
+						  fnt->get_name().c_str());
 				}
 				else
 				{
@@ -1244,6 +1250,13 @@
 		s_fonts.clear();
 	}
 
+boost::intrusive_ptr<font>
+get_default_font()
+{
+	if ( _defaultFont ) return _defaultFont;
+	_defaultFont = new font(DEFAULT_FONT_NAME);
+	return _defaultFont;
+}
 
 	int	get_font_count()
 	// Return the number of fonts in our library.
@@ -1264,7 +1277,7 @@
 	}
 
 
-	font*	get_font(const char* name)
+	font*	get_font(const std::string& name)
 	// Return the named font.
 	{
 		// Dumb linear search.
@@ -1273,7 +1286,7 @@
 			font*	f = s_fonts[i].get();
 			if (f != NULL)
 			{
-				if (strcmp(f->get_name(), name) == 0)
+				if (f->get_name() == name)
 				{
 					return f;
 				}
@@ -1282,19 +1295,6 @@
 		return NULL;
 	}
 			
-
-	const char*	get_font_name(const font* f)
-	// Return the name of the given font.  (This basically exists
-	// so that font* can be opaque to the host app).
-	{
-		if (f == NULL)
-		{
-			return "<null>";
-		}
-		return f->get_name();
-	}
-
-
 	void	add_font(font* f)
 	// Add the given font to our library.
 	{

Index: server/fontlib.h
===================================================================
RCS file: /sources/gnash/gnash/server/fontlib.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- server/fontlib.h	11 Jul 2007 02:57:59 -0000	1.6
+++ server/fontlib.h	11 Jul 2007 16:16:51 -0000	1.7
@@ -99,6 +99,9 @@
 
 	font*	get_font(const char* name);
 
+	/// Return a default device font.
+	boost::intrusive_ptr<font> get_default_font();
+
 	const char*	get_font_name(const font* f);
 
 	// @@ also need to add color controls (or just set the diffuse color

Index: server/parser/edit_text_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/parser/edit_text_character_def.cpp	1 Jul 2007 10:54:34 -0000	1.10
+++ server/parser/edit_text_character_def.cpp	11 Jul 2007 16:16:51 -0000	1.11
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character_def.cpp,v 1.10 2007/07/01 10:54:34 bjacques Exp $ */
+/* $Id: edit_text_character_def.cpp,v 1.11 2007/07/11 16:16:51 strk Exp $ */
 
 // Based on the public domain text.cpp of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -118,7 +118,8 @@
 		m_font = m_root_def->get_font(m_font_id);
 		if (m_font == NULL)
 		{
-			log_error(_("error: text style with undefined font; font_id = %d"), m_font_id);
+			// this is fine, the textfield would use a default device font
+			log_debug(_("text style with undefined font; font_id = %d"), m_font_id);
 		}
 	}
 



From MAILER-DAEMON Wed Jul 11 12:52:52 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8fQq-000516-99
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 12:52:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8fQp-000510-8h
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:52:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8fQn-00050X-JG
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:52:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8fQn-00050T-GO
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:52:49 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I8fQn-0005P1-1q
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 12:52:49 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I8fQm-0000i8-03
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 16:52:48 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I8fQl-0000i5-RM
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 16:52:47 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8fQl-0000i5-RM@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 11 Jul 2007 16:52:47 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jul 2007 16:52:51 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/11 16:52:47

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp sprite_instance.cpp 
	                 text.cpp 
	server/parser  : edit_text_character_def.cpp 
	                 edit_text_character_def.h 

Log message:
	        * server/edit_text_character.cpp (remove the "default" font logic,
	          leave that to edit_text_character_def instead).
	        * server/sprite_instance.cpp (add_textfield): finish implementation,
	          use an hard-coded 10 pixel of font height.
	        * server/text.cpp: more debugging (when activated)
	        * server/parser/edit_text_character_def.{cpp,h}: add set_bounds
	          and set_font_height for dynamic textfields, use a default font
	          when none is specified or the one specified is not found.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3716&r2=1.3717
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.73&r2=1.74
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.295&r2=1.296
http://cvs.savannah.gnu.org/viewcvs/gnash/server/text.cpp?cvsroot=gnash&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.h?cvsroot=gnash&r1=1.15&r2=1.16

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3716
retrieving revision 1.3717
diff -u -b -r1.3716 -r1.3717
--- ChangeLog	11 Jul 2007 16:16:50 -0000	1.3716
+++ ChangeLog	11 Jul 2007 16:52:46 -0000	1.3717
@@ -1,5 +1,16 @@
 2007-07-11 Sandro Santilli <strk@keybit.net>
 
+	* server/edit_text_character.cpp (remove the "default" font logic,
+	  leave that to edit_text_character_def instead).
+	* server/sprite_instance.cpp (add_textfield): finish implementation,
+	  use an hard-coded 10 pixel of font height.
+	* server/text.cpp: more debugging (when activated)
+	* server/parser/edit_text_character_def.{cpp,h}: add set_bounds
+	  and set_font_height for dynamic textfields, use a default font
+	  when none is specified or the one specified is not found.
+
+2007-07-11 Sandro Santilli <strk@keybit.net>
+
 	* server/font.{cpp,h}: Store name by std::string
 	  rather then by char*, Provide a constructor for
 	  device-only font.

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- server/edit_text_character.cpp	11 Jul 2007 16:16:51 -0000	1.73
+++ server/edit_text_character.cpp	11 Jul 2007 16:52:47 -0000	1.74
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.73 2007/07/11 16:16:51 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.74 2007/07/11 16:52:47 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -352,9 +352,7 @@
 	set_prototype(getTextFieldInterface());
 
 	// WARNING! remember to set the font *before* setting text value!
-	const font* definedFont = m_def->get_font();
-	if ( definedFont ) set_font( m_def->get_font() );
-	else set_font( fontlib::get_default_font().get() );
+	set_font( m_def->get_font() );
 
 	// set default text *before* calling registerTextVariable
 	// (if the textvariable already exist and has a value
@@ -398,7 +396,7 @@
 void
 edit_text_character::display()
 {
-//		GNASH_REPORT_FUNCTION;
+	//GNASH_REPORT_FUNCTION;
 
 	registerTextVariable();
 

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.295
retrieving revision 1.296
diff -u -b -r1.295 -r1.296
--- server/sprite_instance.cpp	11 Jul 2007 00:16:38 -0000	1.295
+++ server/sprite_instance.cpp	11 Jul 2007 16:52:47 -0000	1.296
@@ -2043,13 +2043,19 @@
 {
 	matrix txt_matrix;
 
-	// Do I need the smart_ptr.here ?
+	// Create a definition (TODO: cleanup this thing, definitions should be immutable!)
 	boost::intrusive_ptr<edit_text_character_def> txt = new edit_text_character_def(get_movie_definition());
-	boost::intrusive_ptr<character> txt_char = txt->create_character_instance(this, 0);
 
-	// TODO: where to write width and height info ?
-	UNUSED(width);
-	UNUSED(height);
+	// Set textfield bounds
+	txt->set_bounds(rect(0, 0, PIXELS_TO_TWIPS(width), PIXELS_TO_TWIPS(height)));
+
+	// Set font height (shouldn't be dependent on font ?)
+	// TODO: 10 pixels is an arbitrary number here...
+	txt->set_font_height(10*20);
+
+
+	// Create an instance
+	boost::intrusive_ptr<character> txt_char = txt->create_character_instance(this, 0);
 
 	// Give name and mark as dynamic
 	txt_char->set_name(name.c_str());
@@ -2069,13 +2075,6 @@
 		0,
 		character::noClipDepthValue);
 
-	static bool warned = false;
-	if ( ! warned )
-	{
-		log_unimpl("%s unfinished", __PRETTY_FUNCTION__);
-		warned = true;
-	}
-
 	return txt_char;
 }
 

Index: server/text.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/text.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- server/text.cpp	1 Jul 2007 10:54:25 -0000	1.32
+++ server/text.cpp	11 Jul 2007 16:52:47 -0000	1.33
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: text.cpp,v 1.32 2007/07/01 10:54:25 bjacques Exp $ */
+/* $Id: text.cpp,v 1.33 2007/07/11 16:52:47 strk Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -76,7 +76,7 @@
 		// root_def was used to resove fonts, now done at parse time
 		movie_definition* /*root_def*/)
 	{
-//		GNASH_REPORT_FUNCTION;
+		//GNASH_REPORT_FUNCTION;
 		
 		static std::vector<fill_style>	s_dummy_style;	// used to pass a color on to shape_character::display()
 		static std::vector<line_style>	s_dummy_line_style;
@@ -110,6 +110,9 @@
 			const font*	fnt = rec.m_style.m_font;
 			if (fnt == NULL)
 			{
+#ifdef GNASH_DEBUG_TEXT_RENDERING
+				log_debug("No font in style of record %u", i);
+#endif
 				continue;
 			}
 
@@ -120,6 +123,10 @@
 				/ 20.0f
 				* pixel_scale;
 
+#ifdef GNASH_DEBUG_TEXT_RENDERING
+			log_debug("text_screen_height for record %u == %g", i, text_screen_height);
+#endif
+
 			int	nominal_glyph_height = fnt->get_texture_glyph_nominal_size();
 			float	max_glyph_height = fontlib::get_texture_glyph_max_height(fnt);
 #ifdef GNASH_ALWAYS_USE_TEXTURES_FOR_TEXT_WHEN_POSSIBLE

Index: server/parser/edit_text_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/parser/edit_text_character_def.cpp	11 Jul 2007 16:16:51 -0000	1.11
+++ server/parser/edit_text_character_def.cpp	11 Jul 2007 16:52:47 -0000	1.12
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character_def.cpp,v 1.11 2007/07/11 16:16:51 strk Exp $ */
+/* $Id: edit_text_character_def.cpp,v 1.12 2007/07/11 16:52:47 strk Exp $ */
 
 // Based on the public domain text.cpp of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -119,7 +119,8 @@
 		if (m_font == NULL)
 		{
 			// this is fine, the textfield would use a default device font
-			log_debug(_("text style with undefined font; font_id = %d"), m_font_id);
+			log_debug(_("text style with undefined font; font_id = %d; using a default font"), m_font_id);
+			m_font = fontlib::get_default_font().get();
 		}
 	}
 

Index: server/parser/edit_text_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/parser/edit_text_character_def.h	3 Jul 2007 01:12:45 -0000	1.15
+++ server/parser/edit_text_character_def.h	11 Jul 2007 16:52:47 -0000	1.16
@@ -133,6 +133,16 @@
 		return m_rect;
 	}
 
+	/// Set boundaries of this textfield
+	//
+	/// This method is used for dynamic textfields
+	/// (actionscript created)
+	///
+	void set_bounds(const rect& bounds)
+	{
+		m_rect = bounds;
+	}
+
 	/// Get right margin in twips
 	uint16_t get_right_margin() const {
 		return m_right_margin;
@@ -154,6 +164,14 @@
 		return m_text_height;
 	}
 
+	/// Set height of font  in twips.
+	// 
+	/// Used by dynamically created textfields.
+	///
+	void set_font_height(uint16_t h) {
+		m_text_height = h;
+	}
+
 	/// Get font.
 	//
 	/// Note: use add_ref() on the return if you need to keep



From MAILER-DAEMON Wed Jul 11 21:51:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8npm-0004Hf-Vg
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 21:51:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8npl-0004Ha-Ai
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 21:51:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8npj-0004HO-S2
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 21:51:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8npj-0004HL-N3
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 21:51:07 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I8npj-0002JU-AO
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 21:51:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I8npi-00029j-PF
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 01:51:06 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I8npi-00029f-J4
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 01:51:06 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8npi-00029f-J4@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Thu, 12 Jul 2007 01:51:06 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Make...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 01:51:09 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/12 01:51:06

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: Makefile.am case.as 

Log message:
	

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3717&r2=1.3718
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Makefile.am?cvsroot=gnash&r1=1.73&r2=1.74
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/case.as?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3717
retrieving revision 1.3718
diff -u -b -r1.3717 -r1.3718
--- ChangeLog	11 Jul 2007 16:52:46 -0000	1.3717
+++ ChangeLog	12 Jul 2007 01:51:05 -0000	1.3718
@@ -1,3 +1,9 @@
+
+2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
+
+	* testsuite/actionscript.all/case.as: add macros for version dependent tests.
+	* testsuite/actionscript.all/Makefile.am: activate enumerate.as and case.as.
+
 2007-07-11 Sandro Santilli <strk@keybit.net>
 
 	* server/edit_text_character.cpp (remove the "default" font logic,

Index: testsuite/actionscript.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Makefile.am,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- testsuite/actionscript.all/Makefile.am	1 Jul 2007 10:54:39 -0000	1.73
+++ testsuite/actionscript.all/Makefile.am	12 Jul 2007 01:51:06 -0000	1.74
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.73 2007/07/01 10:54:39 bjacques Exp $
+# $Id: Makefile.am,v 1.74 2007/07/12 01:51:06 zoulunkai Exp $
 
 AUTOMAKE_OPTIONS = dejagnu
 
@@ -107,6 +107,8 @@
 	rtmp.as 		\
 	XMLNode.as		\
 	LocalConnection.as	\
+	enumerate.as		\
+	case.as			\
 	$(NULL)
 
 ASTESTS_OUT = $(ASTESTS:.as=.swf)

Index: testsuite/actionscript.all/case.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/case.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/actionscript.all/case.as	11 Jul 2007 07:55:06 -0000	1.1
+++ testsuite/actionscript.all/case.as	12 Jul 2007 01:51:06 -0000	1.2
@@ -19,7 +19,7 @@
 /*
  *  Zou Lunkai, zoulunkai@gmail.com
  *
- *  Test case senstivity 
+ *  Test case sensitivity 
  */
 
 #include "check.as"
@@ -34,6 +34,8 @@
 check_equals(typeof(OBJ), 'object');
 check_equals(OBJ.xyz, 100);
 
+#if OUTPUT_VERSION == 6
+// createEmptyMovieClip is supported with swf > 5
 _ROOT.createEmptyMovieClip("mC0", 3);
 check_equals(typeof(mc0), 'movieclip');
 
@@ -47,4 +49,6 @@
 xcheck_equals(mC0._X, 100);
 #endif
 
+#endif
+
 #endif  // OUTPUT_VERSION > 5



From MAILER-DAEMON Wed Jul 11 21:58:22 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8nwk-00074b-BA
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 21:58:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8nwj-00074R-JF
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 21:58:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8nwi-00074B-TP
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 21:58:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8nwi-000748-OT
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 21:58:20 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I8nwi-0004LQ-B8
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 21:58:20 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I8nwh-0002GE-OB
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 01:58:19 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I8nwh-0002GB-Jo
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 01:58:19 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8nwh-0002GB-Jo@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Thu, 12 Jul 2007 01:58:19 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/actionscript.all case.as
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 01:58:21 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/12 01:58:19

Modified files:
	testsuite/actionscript.all: case.as 

Log message:
	minor comments

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/case.as?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: case.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/case.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- case.as	12 Jul 2007 01:51:06 -0000	1.2
+++ case.as	12 Jul 2007 01:58:19 -0000	1.3
@@ -47,8 +47,7 @@
      setproperty
 };
 xcheck_equals(mC0._X, 100);
-#endif
-
-#endif
+#endif  // MING_SUPPORTS_ASM
+#endif  // OUTPUT_VERSION == 6
 
 #endif  // OUTPUT_VERSION > 5



From MAILER-DAEMON Wed Jul 11 22:09:01 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8o73-000591-DV
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 22:09:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8o72-00058t-7y
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:09:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8o71-00058h-Ee
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:08:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8o71-00058e-BV
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:08:59 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I8o70-0007Mg-MW
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:08:59 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6C28rX01045;
	Thu, 12 Jul 2007 04:08:53 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Thu, 12 Jul 2007 04:08:53 +0200
To: Zou Lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Make...
Message-ID: <20070712020853.GA525@keybit.net>
Mail-Followup-To: Zou Lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1I8npi-00029f-J4@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I8npi-00029f-J4@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 02:09:00 -0000

On Thu, Jul 12, 2007 at 01:51:06AM +0000, Zou Lunkai wrote:

> +#if OUTPUT_VERSION == 6
> +// createEmptyMovieClip is supported with swf > 5

Shouldn't it be #if OUTPUT_VERSION > 5 then ?

--strk;



From MAILER-DAEMON Wed Jul 11 22:33:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8oUm-0000tb-QL
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 22:33:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8oUk-0000sl-9w
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:33:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8oUj-0000sN-82
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:33:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8oUj-0000sK-2q
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:33:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I8oUi-0005C3-OI
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:33:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I8oUi-0004FV-4x
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 02:33:28 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I8oUi-0004FS-0a
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 02:33:28 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8oUi-0004FS-0a@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Thu, 12 Jul 2007 02:33:28 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case.as
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 02:33:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/12 02:33:27

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: case.as 

Log message:
	* testsuite/actionscript.all/case.as: add tests for _name and _target, they are not converted to lower case with swf6.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3718&r2=1.3719
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/case.as?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3718
retrieving revision 1.3719
diff -u -b -r1.3718 -r1.3719
--- ChangeLog	12 Jul 2007 01:51:05 -0000	1.3718
+++ ChangeLog	12 Jul 2007 02:33:27 -0000	1.3719
@@ -1,3 +1,7 @@
+2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
+
+	* testsuite/actionscript.all/case.as: add tests for _name and _target, they
+	are not converted to lower case with swf6.
 
 2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
 

Index: testsuite/actionscript.all/case.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/case.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/actionscript.all/case.as	12 Jul 2007 01:58:19 -0000	1.3
+++ testsuite/actionscript.all/case.as	12 Jul 2007 02:33:27 -0000	1.4
@@ -36,8 +36,13 @@
 
 #if OUTPUT_VERSION == 6
 // createEmptyMovieClip is supported with swf > 5
+// 
+// create _root.mc0 and _root.mc0.mc1
+// 
 _ROOT.createEmptyMovieClip("mC0", 3);
 check_equals(typeof(mc0), 'movieclip');
+mC0.createEmptyMovieClip("mC1", 3);
+check_equals(typeof(mc0.mc1), 'movieclip');
 
 #ifdef MING_SUPPORTS_ASM
 asm{
@@ -46,7 +51,16 @@
      push 100
      setproperty
 };
+// check setproperty
 xcheck_equals(mC0._X, 100);
+
+//
+// check _name and _target, they still keep the case
+// 
+check_equals(mC0._name, "mC0");
+check_equals(mC0._target, "/mC0");
+check_equals(mC0.mC1._name, "mC1");
+check_equals(mC0.mC1._target, "/mC0/mC1");
 #endif  // MING_SUPPORTS_ASM
 #endif  // OUTPUT_VERSION == 6
 



From MAILER-DAEMON Wed Jul 11 22:39:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8oaB-0003gn-3R
	for mharc-gnash-commit@gnu.org; Wed, 11 Jul 2007 22:39:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8oa8-0003cp-CT
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:39:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8oa6-0003bN-SO
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:39:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8oa6-0003au-Kr
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:39:02 -0400
Received: from wa-out-1112.google.com ([209.85.146.181])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I8oa6-0006VA-8S
	for gnash-commit@gnu.org; Wed, 11 Jul 2007 22:39:02 -0400
Received: by wa-out-1112.google.com with SMTP id k34so9503wah
	for <gnash-commit@gnu.org>; Wed, 11 Jul 2007 19:39:00 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=UpXHIg06FNjZ1GGZYDcDRg1iksXW75l3b/KT8CkBp5kpg7idR2iO9DCmEFt5QZ3zvwxn7iKntA8a7RIMZ9myJQuPfhLq3+UYKDihMP5JfWZKwk8zD3cJ2sOG84+H9epjRJnNow043GA3EKXJbYHjg1A2d5R4u2jvv1pX4YV2V9U=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=cWgPpZeKGcTsOlrQPAXS8y2tFAR/KpX+bqjnvhA1EI+3gKwtNLxsGNbNXt3Xe7dzwyuwUL2BjUFAyxFPaXrzXMptR5/iW3JTD0lYtqrzaPqwz4yQvdc6j0FqcYXQSNIN3apXyaA2XhKSK15vdXKePUVu5dD9G/9OO0NuGq+qkhk=
Received: by 10.114.106.1 with SMTP id e1mr126745wac.1184207940892;
	Wed, 11 Jul 2007 19:39:00 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Wed, 11 Jul 2007 19:39:00 -0700 (PDT)
Message-ID: <ca4b43ff0707111939h29ef55abn5e9f24462efab932@mail.gmail.com>
Date: Thu, 12 Jul 2007 10:39:00 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Sandro Santilli" <strk@keybit.net>, gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Make...
In-Reply-To: <20070712020853.GA525@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I8npi-00029f-J4@cvs.savannah.gnu.org>
	<20070712020853.GA525@keybit.net>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: 
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 02:39:04 -0000

On 7/12/07, strk <strk@keybit.net> wrote:
> On Thu, Jul 12, 2007 at 01:51:06AM +0000, Zou Lunkai wrote:
>
> > +#if OUTPUT_VERSION == 6
> > +// createEmptyMovieClip is supported with swf > 5
>
> Shouldn't it be #if OUTPUT_VERSION > 5 then ?
>
swf > 5(support createEmptyMovieClip) and swf < 7(case insensitive)
means swf == 6 :)

yes, currently the testcase is only meaningful for swf6, I should
organize it better.



From MAILER-DAEMON Thu Jul 12 05:33:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8v32-0003oa-TB
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 05:33:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8v1j-00038n-Dg
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 05:31:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8v1e-00035B-UL
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 05:31:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8v1d-00034A-4s
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 05:31:53 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I8v1c-0005EB-Kh
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 05:31:52 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I8v1b-0001fn-Ng
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 09:31:51 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I8v1b-0001fk-Iz
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 09:31:51 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8v1b-0001fk-Iz@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Thu, 12 Jul 2007 09:31:51 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac ChangeLog macros/docbook.m4 ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 09:32:00 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/12 09:31:51

Modified files:
	.              : configure.ac ChangeLog 
	macros         : docbook.m4 
	doc/C/usermanual/installation: feature_configuration.xml 

Log message:
	        * configure.ac,macros/docbook.m4,:
	          Document "make pdf and "make html" commands near --enable-docbook
	        * doc/C/usermanual/installation/feature_configuration.xml:
	          document --enable-docbook configuration flag.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.354&r2=1.355
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3719&r2=1.3720
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/docbook.m4?cvsroot=gnash&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/usermanual/installation/feature_configuration.xml?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.354
retrieving revision 1.355
diff -u -b -r1.354 -r1.355
--- configure.ac	8 Jul 2007 13:53:37 -0000	1.354
+++ configure.ac	12 Jul 2007 09:31:50 -0000	1.355
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.354 2007/07/08 13:53:37 martinwguy Exp $
+dnl $Id: configure.ac,v 1.355 2007/07/12 09:31:50 martinwguy Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1265,7 +1265,7 @@
 echo "Configured paths for ${build} are:"
 
 if test x"$docbook" = x"yes"; then
-  echo "        DocBook document processing enabled"
+  echo '        DocBook document processing enabled (for "make html" and "make pdf")'
   if test x"$docbook_styles" != x; then
     echo "        Docbook styles sheets in $docbook_styles"
   fi

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3719
retrieving revision 1.3720
diff -u -b -r1.3719 -r1.3720
--- ChangeLog	12 Jul 2007 02:33:27 -0000	1.3719
+++ ChangeLog	12 Jul 2007 09:31:50 -0000	1.3720
@@ -1,12 +1,21 @@
+2007-07-12 Martin Guy <martinwguy@yahoo.it>
+
+	* configure.ac,macros/docbook.m4,:
+	  Document "make pdf and "make html" commands near --enable-docbook
+	* doc/C/usermanual/installation/feature_configuration.xml:
+	  document --enable-docbook configuration flag.
+
 2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
 
-	* testsuite/actionscript.all/case.as: add tests for _name and _target, they
-	are not converted to lower case with swf6.
+	* testsuite/actionscript.all/case.as: add tests for _name and _target,
+	  they are not converted to lower case with swf6.
 
 2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
 
-	* testsuite/actionscript.all/case.as: add macros for version dependent tests.
-	* testsuite/actionscript.all/Makefile.am: activate enumerate.as and case.as.
+	* testsuite/actionscript.all/case.as: add macros for version dependent
+	  tests.
+	* testsuite/actionscript.all/Makefile.am: activate enumerate.as and
+	  case.as.
 
 2007-07-11 Sandro Santilli <strk@keybit.net>
 

Index: macros/docbook.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/docbook.m4,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- macros/docbook.m4	1 Jul 2007 10:54:11 -0000	1.23
+++ macros/docbook.m4	12 Jul 2007 09:31:51 -0000	1.24
@@ -16,7 +16,7 @@
 
 AC_DEFUN([GNASH_DOCBOOK], [
 
-  AC_ARG_ENABLE(docbook, AC_HELP_STRING([--enable-docbook], [Enable support for building documentation]),
+  AC_ARG_ENABLE(docbook, AC_HELP_STRING([--enable-docbook], [Enable support for building documentation with "make html" and "make pdf"]),
   [case "${enableval}" in
     yes) docbook=yes ;;
     no)  docbook=no ;;

Index: doc/C/usermanual/installation/feature_configuration.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/usermanual/installation/feature_configuration.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- doc/C/usermanual/installation/feature_configuration.xml	9 Jul 2007 01:42:10 -0000	1.10
+++ doc/C/usermanual/installation/feature_configuration.xml	12 Jul 2007 09:31:51 -0000	1.11
@@ -50,6 +50,16 @@
   </varlistentry>
 
   <varlistentry>
+    <term>--enable-docbook</term>
+    <listitem>
+      <para>
+        Enable the generation of html and pdf versions of the documentation
+	from the XML. You will then be able to use "make html" and "make pdf".
+      </para>
+    </listitem>
+  </varlistentry>
+
+  <varlistentry>
     <term>--enable-embedded</term>
     <listitem>
       <para>



From MAILER-DAEMON Thu Jul 12 07:11:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8waL-0002oe-Iu
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 07:11:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8waJ-0002mC-Gw
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:11:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8waI-0002kY-JA
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:11:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8waI-0002jy-97
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:11:46 -0400
Received: from ik-out-1112.google.com ([66.249.90.177])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I8waH-0000F8-Uz
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:11:46 -0400
Received: by ik-out-1112.google.com with SMTP id c29so84916ika
	for <gnash-commit@gnu.org>; Thu, 12 Jul 2007 04:11:45 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=hYikI2elpNjKo3WLkLHb372WMge8uiGH64TE06oiz6cZpd0+Gx/yGF9v4jgmQJtu2vhkiCHwUAdLt+QiywkZWNdJcGTQU8VwIUpphMh3UoXLexovSxpgB+YmCEkjxEzKxygEY5QPNPL8zJSJvC8QlvECnRHnaMQMkJpP/ZJong0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=fcJLA1yG3sGm7+6pwe7P9l2EHrfLe7uqv8JcOwCuSqD3NW4n1VNyxVS5DAsgejgrP+K4CXt8D1aHE4P+LIJLlCUbIRELgkwU+JxUa188JoHoCxOG2PwIPEXIKQEigUkygOZupigwEIND0gfMfuMN66AgOUR/CkndGVM+lW24S3A=
Received: by 10.78.180.18 with SMTP id c18mr122952huf.1184238704812;
	Thu, 12 Jul 2007 04:11:44 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Thu, 12 Jul 2007 04:11:44 -0700 (PDT)
Message-ID: <56d259a00707120411l5089227eq626a8b1ae0af6f53@mail.gmail.com>
Date: Thu, 12 Jul 2007 12:11:44 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "Rob Savoye" <rob@welcomehome.org>
Subject: Re: [Gnash-commit] gnash gui/gnash.cpp ChangeLog
In-Reply-To: <4694E6AD.1070903@welcomehome.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6pSG-0005hU-AE@cvs.savannah.gnu.org>
	<ca4b43ff0707092015q79232fd1ybf7d85b2ffd6eb1a@mail.gmail.com>
	<1309793063.20070711110209@nova-sys.net>
	<4694E6AD.1070903@welcomehome.org>
X-Google-Sender-Auth: 37883e07414abed8
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 11:11:47 -0000

Yes, the format of the garbage indicates that someone has used an
editor with 4-char tab visualisation in the past - the only one I know
that does that is some Microsoft Visual junk.

Tabs have been set every 8 chars since the 1960s on all but early word
processors and MS junk. I don't think there's any controversy in the
real computing world about how ASCII tabs should be formatted on a
fixed-width terminal screen or printer.

However the spaces solution is also fine for new code - anything
as long as it looks ok on normal terminals and all normal editors.

   M



From MAILER-DAEMON Thu Jul 12 07:22:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8wkh-0002xD-AN
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 07:22:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8wkg-0002wc-00
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:22:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8wke-0002uN-7E
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:22:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8wkd-0002uK-Ub
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:22:27 -0400
Received: from ug-out-1314.google.com ([66.249.92.171])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I8wkd-0002ym-If
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:22:27 -0400
Received: by ug-out-1314.google.com with SMTP id 34so361611ugf
	for <gnash-commit@gnu.org>; Thu, 12 Jul 2007 04:22:26 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=gWCmBI7LxuuUHMyOkWH/CyiaBvlCgerJ3La/DRl7pdbacN9G3z6tL7abjgGBcdQsiQQL25PjOMJzYeLxARWhI2ArHRuAIHtKjXUUH7IcrDG0fe5Su0pe4ko1tCx+k5ZmpbrEzbl8+assdbhroYPZ3EvJjaUu8Lk/hH/FuIF9/4I=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
	b=V4+oBW0g/uVFr+PIcZHRWMK5eiycrVJ5sL7T7Mh6ykS1U0AGNCVHJ1Di2sWQr+kEpz2cbNwEQR1BVTrcf+OFHM0UCPyD4VnwH1NYeOREDjLVWU0s+LFUVk3J6toTLK+MS++eED4WB6ZopcUDuNd2sGkxbEyze2V1xZLuL4A/D0o=
Received: by 10.78.123.5 with SMTP id v5mr120563huc.1184239346680;
	Thu, 12 Jul 2007 04:22:26 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Thu, 12 Jul 2007 04:22:26 -0700 (PDT)
Message-ID: <56d259a00707120422t260de19eua4a840390a4bbbc4@mail.gmail.com>
Date: Thu, 12 Jul 2007 12:22:26 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: "zou lunkai" <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash gui/gnash.cpp ChangeLog
In-Reply-To: <ca4b43ff0707092015q79232fd1ybf7d85b2ffd6eb1a@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I6pSG-0005hU-AE@cvs.savannah.gnu.org>
	<ca4b43ff0707092015q79232fd1ybf7d85b2ffd6eb1a@mail.gmail.com>
X-Google-Sender-Auth: 395970101cee020c
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 11:22:30 -0000

2007/7/10, zou lunkai <zoulunkai@gmail.com>:
> I still have lot in some other files.

Yes, please reformat any such unreadable stuff you find - either to
use 8-char tabs or spaces, as you please.

> The related problem has been discussed long ago IIRC

IRC is not the place for decisional discussions, mail is the place for
that, so as not to exclude people who do not happen to be awake or
online at the time, or people (like me) who find it a low-quality
medium more dominated by people's personality or their ability to be
rude and imposing than by the merits of what they say.

IRC is ok for quick "does anyone know how I do this" questions but not
for discussing the merits of technical issues. If you use IRC please
redirect such topics to the mailing lists.
The same goes for private discussions and inner-circle meetings which,
in general are a bad thing for open source projects.

    M



From MAILER-DAEMON Thu Jul 12 07:33:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8wvh-0003pi-Oa
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 07:33:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8wvg-0003pQ-9G
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:33:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8wve-0003p8-OY
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:33:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8wve-0003p5-8v
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:33:50 -0400
Received: from web34710.mail.mud.yahoo.com ([209.191.68.159])
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <tomasgroth@yahoo.dk>) id 1I8wvd-00066H-R2
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 07:33:50 -0400
Received: (qmail 45836 invoked by uid 60001); 12 Jul 2007 11:33:48 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.dk;
	h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
	b=1ZY/0q6qjixdNYXdHop17LFMW3nz0eCSakSYxknfm4zXn3Fnw0jcinbt1vlVieJhvoRa3W/e4KX7r2lFVSuslk4rWYGZFL1EJ2s6a7y0lrb9UkOUNR057q/NhqnUSeP8tXacc7JwlEa9qSckZbkRMix6zHof9eM1ifbZNBDulos=;
X-YMail-OSG: vCX0AaIVM1ksSkqKlv05oO81Zdry7BZCl3JGXe6rkdfGRAQmXWJsAaENXz_taeACVMCeHaqY1w--
Received: from [87.72.76.187] by web34710.mail.mud.yahoo.com via HTTP;
	Thu, 12 Jul 2007 13:33:48 CEST
Date: Thu, 12 Jul 2007 13:33:48 +0200 (CEST)
From: Tomas Groth <tomasgroth@yahoo.dk>
Subject: Re: [Gnash-commit] gnash gui/gnash.cpp ChangeLog
To: Martin Guy <martinwguy@yahoo.it>, zou lunkai <zoulunkai@gmail.com>
In-Reply-To: <56d259a00707120422t260de19eua4a840390a4bbbc4@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <649187.45649.qm@web34710.mail.mud.yahoo.com>
X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 11:33:52 -0000


--- Martin Guy <martinwguy@yahoo.it> skrev:

> 2007/7/10, zou lunkai <zoulunkai@gmail.com>:
> > I still have lot in some other files.
> 
> Yes, please reformat any such unreadable stuff you find - either to
> use 8-char tabs or spaces, as you please.
> 
> > The related problem has been discussed long ago IIRC
> 
> IRC is not the place for decisional discussions, mail is the place for
<snip>

IIRC is an acronym for If I Remember Correctly.

cheers

Tomas


      



From MAILER-DAEMON Thu Jul 12 09:34:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8yoM-0000pu-KW
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 09:34:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8yoK-0000p9-DK
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 09:34:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8yoJ-0000o5-KZ
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 09:34:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8yoJ-0000nh-Dc
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 09:34:23 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I8yoI-0007BQ-U0
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 09:34:23 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I8yoI-0001Y3-7S
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 13:34:22 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I8yoI-0001Y0-0V
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 13:34:22 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8yoI-0001Y0-0V@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Thu, 12 Jul 2007 13:34:22 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash gui/fb.cpp ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 13:34:24 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/12 13:34:21

Modified files:
	gui            : fb.cpp 
	.              : ChangeLog 

Log message:
	        * fb/gui.cpp: Add newline to end of fatal messages

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/fb.cpp?cvsroot=gnash&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3720&r2=1.3721

Patches:
Index: gui/fb.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/fb.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- gui/fb.cpp	11 Jul 2007 09:10:09 -0000	1.36
+++ gui/fb.cpp	12 Jul 2007 13:34:20 -0000	1.37
@@ -50,8 +50,20 @@
 # include <fcntl.h>
 #endif
 
-// workaround until we agree that log_error does not rely on -v switch
-#define fatal_error printf  
+// workaround until fatal_error() is implemented
+// that is not silent without -v switch
+//
+// The do { } while (0) strangeness here is the only general way to get a
+// compound statement that is lexically equivalent to a single one. Example:
+//   #define foo() { this(); that(); }
+//   if (a) foo();
+//   else bar();
+// would become
+//   if (a) { this(); that() ; } ; else bar()
+// which is a syntax error.
+
+#define fatal_error(args ...) \
+	do { fprintf(stderr, args); putc('\n', stderr); } while(0)
 
 //--
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3720
retrieving revision 1.3721
diff -u -b -r1.3720 -r1.3721
--- ChangeLog	12 Jul 2007 09:31:50 -0000	1.3720
+++ ChangeLog	12 Jul 2007 13:34:20 -0000	1.3721
@@ -4,6 +4,7 @@
 	  Document "make pdf and "make html" commands near --enable-docbook
 	* doc/C/usermanual/installation/feature_configuration.xml:
 	  document --enable-docbook configuration flag.
+	* fb/gui.cpp: Add newline to end of fatal messages.
 
 2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
 



From MAILER-DAEMON Thu Jul 12 10:28:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I8zf3-0002be-6i
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 10:28:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I8zf2-0002bL-0P
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 10:28:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I8zf0-0002b8-A5
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 10:28:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I8zf0-0002b5-4j
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 10:28:50 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <martinwguy@yahoo.it>) id 1I8zey-0000uQ-Aw
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 10:28:48 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <martinwguy@yahoo.it>) id 1I8zeE-0005ZL-WA
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 14:28:03 +0000
Received: from martinwguy by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <martinwguy@savannah.gnu.org>) id 1I8zeE-0005ZI-OG
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 14:28:02 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I8zeE-0005ZI-OG@cvs.savannah.gnu.org>
From: Martin Guy <martinwguy@yahoo.it>
Date: Thu, 12 Jul 2007 14:28:02 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash server/stream.cpp ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 14:28:52 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Martin Guy <martinwguy>	07/07/12 14:28:02

Modified files:
	server         : stream.cpp 
	.              : ChangeLog 

Log message:
	        * server/stream.cpp: Remove silly assert to remove compiler warning
	          about signed/unsigned

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/stream.cpp?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3721&r2=1.3722

Patches:
Index: server/stream.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/stream.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- server/stream.cpp	24 May 2007 23:03:57 -0000	1.22
+++ server/stream.cpp	12 Jul 2007 14:28:01 -0000	1.23
@@ -312,10 +312,6 @@
 		{
 			log_error("Could not seek to end position");
 		}
-		else
-		{
-			assert(m_input->get_position() == end_pos);
-		}
 
 		m_unused_bits = 0;
 	}

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3721
retrieving revision 1.3722
diff -u -b -r1.3721 -r1.3722
--- ChangeLog	12 Jul 2007 13:34:20 -0000	1.3721
+++ ChangeLog	12 Jul 2007 14:28:02 -0000	1.3722
@@ -5,6 +5,8 @@
 	* doc/C/usermanual/installation/feature_configuration.xml:
 	  document --enable-docbook configuration flag.
 	* fb/gui.cpp: Add newline to end of fatal messages.
+	* server/stream.cpp: Remove silly assert to remove compiler warning
+	  about signed/unsigned
 
 2007-07-12 Zou Lunkai <zoulunkai@gmail.com>
 



From MAILER-DAEMON Thu Jul 12 18:03:50 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I96lK-0002n8-Hq
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 18:03:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I96lJ-0002mz-4F
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 18:03:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I96lH-0002mn-4B
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 18:03:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I96lH-0002mk-1K
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 18:03:47 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I96lG-00049X-4X
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 18:03:46 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I96l9-0006A8-1f
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:03:39 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I96l8-0006A5-S9
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:03:38 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I96l8-0006A5-S9@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 12 Jul 2007 22:03:38 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-mtasc.all/Makefi...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 22:03:49 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/12 22:03:38

Modified files:
	.              : ChangeLog 
	testsuite/misc-mtasc.all: Makefile.am README TestClass.as 
	                          enum.as function.as hello.as 
	                          inheritance.as 
Added files:
	testsuite/misc-mtasc.all: Dejagnu.as check.as level5.as 
	                          level99.as levels.as 

Log message:
	Patch by davr <drorex@gmail.com>:
	
	        * testsuite/misc-mtasc.all/: Dejagnu.as, Makefile.am,
	          README, TestClass.as, check.as, enum.as, function.as, hello.as,
	          inheritance.as, level5.as, level99.as, levels.as:
	          Reorganized MTASC framework to avoid hackish use of Ming, and using
	          the new dynamic textfield support. Added test for _level loading.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3722&r2=1.3723
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/Makefile.am?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/README?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/TestClass.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/enum.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/function.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/hello.as?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/inheritance.as?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/Dejagnu.as?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/check.as?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/level5.as?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/level99.as?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/levels.as?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3722
retrieving revision 1.3723
diff -u -b -r1.3722 -r1.3723
--- ChangeLog	12 Jul 2007 14:28:02 -0000	1.3722
+++ ChangeLog	12 Jul 2007 22:03:37 -0000	1.3723
@@ -1,3 +1,11 @@
+2007-07-12 davr <drorex@gmail.com>
+
+	* testsuite/misc-mtasc.all/: Dejagnu.as, Makefile.am,
+	  README, TestClass.as, check.as, enum.as, function.as, hello.as,
+	  inheritance.as, level5.as, level99.as, levels.as:
+	  Reorganized MTASC framework to avoid hackish use of Ming, and using
+	  the new dynamic textfield support. Added test for _level loading.
+
 2007-07-12 Martin Guy <martinwguy@yahoo.it>
 
 	* configure.ac,macros/docbook.m4,:

Index: testsuite/misc-mtasc.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/Makefile.am,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/misc-mtasc.all/Makefile.am	1 Jul 2007 10:55:08 -0000	1.10
+++ testsuite/misc-mtasc.all/Makefile.am	12 Jul 2007 22:03:37 -0000	1.11
@@ -20,37 +20,42 @@
 
 if ENABLE_MTASC
 
-# NOTE: 0.4.0.beta3 is required for prebuilt-clip to work (PREBUILT_CLIPS) !!
-if ENABLE_MING
-if MAKESWF_SUPPORTS_PREBUILT_CLIPS
-
-DEJAGNU_SO_PATH = ../Dejagnu.swf
-DEJAGNU_SO_FINI = $(srcdir)/../actionscript.all/dejagnu_so_fini.as
-MTASC_FLAGS= -cp $(MTASC_CLASSPATH) -cp $(srcdir) -v -header 800:600:20
+MTASC_FLAGS = -version 6 -cp $(MTASC_CLASSPATH) -cp $(srcdir) -v -header 800:600:20
+MTASC_CPP = $(CPP) -P -I$(srcdir)
 
+# These will get executed and parsed for test output
 ASTESTS = \
 	hello.as \
 	inheritance.as \
 	function.as \
 	enum.as \
+	levels.as \
 	$(NULL)
 
-EXTRA_DIST = $(ASTESTS) TestClass.as 
+# These will get compiled to SWFs just as above, but will not be executed as a test
+# They are for secondary movies to be loaded by the above tests.
+AUXMOVIES = \
+	    level5.as \
+	    level99.as \
+	    $(NULL)
 
+EXTRA_DIST = $(ASTESTS) $(AUXMOVIES) TestClass.as check.h Dejagnu.as
 
 ASTESTS_OUT = $(ASTESTS:.as=.swf)
 
+AUXMOVIES_OUT = $(AUXMOVIES:.as=.swf)
+
 TEST_DRIVERS = ../simple.exp
 TEST_CASES = \
 	alltests-runner
 
-alltests-runner: $(srcdir)/../generic-testrunner.sh $(ASTESTS_OUT)
-	sh $< $(top_builddir) $(ASTESTS_OUT) > $@
+alltests-runner: $(srcdir)/../generic-testrunner.sh $(ASTESTS_OUT) $(AUXMOVIES_OUT)
+	sh $< -r 50 $(top_builddir) $(ASTESTS_OUT) > $@
 	chmod 755 $@
 
 .as.swf:
-	$(MTASC) $(MTASC_FLAGS) -swf mtasc-$@ -main $<
-	$(MAKESWF) -o $@ $(DEJAGNU_SO_PATH) mtasc-$@  $(DEJAGNU_SO_FINI)
+	cat $< | $(MTASC_CPP) - > $(@:%.swf=pp_%.as) 
+	$(MTASC) $(MTASC_FLAGS) -swf $@ -main $(@:%.swf=pp_%.as)
 
 CLEANFILES =  \
 	gnash-dbg.log \
@@ -59,6 +64,7 @@
 	testrun.* \
 	*.swf \
 	*.pp \
+	pp_*.as \
 	*_testrunner \
 	*_Runner
 
@@ -81,5 +87,3 @@
 	@echo "set testcases \"$(TEST_CASES)\"" >> site.exp
 
 endif
-endif
-endif

Index: testsuite/misc-mtasc.all/README
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/README	27 Apr 2007 17:31:56 -0000	1.1
+++ testsuite/misc-mtasc.all/README	12 Jul 2007 22:03:37 -0000	1.2
@@ -5,14 +5,14 @@
 Requirements
 ------------
 
-In order to use the Dejagnu.swf facilities, which have been developed to
-get the same results with both the proprietary player and Gnash (one
-of the problems being embedding fonts) Ming's makeswf utility is used
-to embed the Dejagnu.swf file into the MTASC output.
-All of this is transparent to the user, except that the final SWF version
-might be different then the expected one (until we fix this).
-
-You'll need Ming version 0.4.0.beta3 or higher in order for this to work.
+There is a standalone Dejagnu.as class which provides all the Dejagnu.swf
+facilities. In addition, there is a check.as file which should be included
+in your main .as file, which lets you write
+  check_equals(a,b);
+instead of
+  Dejagnu.check_equals(a,b);
+In addition, it will automatically pass in the filename & line number, so
+that on failure this will get printed out.
 
 How to add a new test
 ---------------------
@@ -22,10 +22,12 @@
 to add any accessory file (additional classes) to the EXTRA_DIST variable,
 so they are properly distributed.
 
-Once you've done so, 'make <yourtestname>.swf' should produce the swf for you,
-with the Dejagnu.swf file already embedded. You can play this movie with any
-player (including the proprietary one) to confirm it passes all checks contained
-in it.
+If your test needs to compile additional SWFs, but they should not be run on
+their own, add the .as files for the additional swfs to AUXMOVIES.
+
+Once you've done so, 'make <yourtestname>.swf' should produce the swf for you
+You can play this movie with any player (including the proprietary one) to 
+confirm it passes all checks contained in it.
 
 Running 'make check' should run all tests, including your new one.
 
@@ -35,8 +37,8 @@
 Take a look at the existing .as files to see how you can use the Dejagnu.swf facilities.
 Basically, you'd be calling the functions:
 
-	_root.check( expression );
-	_root.check_equals( expression, expected ); // uses equality operator ==
+	check( expression );
+	check_equals( expression, expected ); // uses equality operator ==
 
 Or the corresponding versions expecting failures (xcheck, xcheck_equals).
 For more info see the gnash manual in the Testing/Dejagnu.swf section.

Index: testsuite/misc-mtasc.all/TestClass.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/TestClass.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/TestClass.as	6 Mar 2007 08:46:00 -0000	1.1
+++ testsuite/misc-mtasc.all/TestClass.as	12 Jul 2007 22:03:38 -0000	1.2
@@ -3,7 +3,7 @@
 	// constructor
 	function TestClass()
 	{
-		_root.note("TestClass constructor called");
+		Dejagnu.note("TestClass constructor called");
 		this.testClassCtorCalled = "called";
 	}
 

Index: testsuite/misc-mtasc.all/enum.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/enum.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/enum.as	29 Mar 2007 14:29:15 -0000	1.1
+++ testsuite/misc-mtasc.all/enum.as	12 Jul 2007 22:03:38 -0000	1.2
@@ -1,3 +1,5 @@
+#include "check.as"
+
 // This movie tests ActionEnum2
 
 class Test 
@@ -6,7 +8,7 @@
 	// constructor
 	function Test()
 	{
-		_root.note("Test constructor called");
+		note("Test constructor called");
 	}
 
 	function enumerate(obj, enum)
@@ -22,7 +24,7 @@
 	function dump(obj)
 	{
 		for (var i in obj) {
-			_root.note("DUMP: obj["+i+"] = "+obj[i]);
+			note("DUMP: obj["+i+"] = "+obj[i]);
 		}
 	}
 
@@ -37,43 +39,45 @@
 
 		res = new Array;
 		len = enumerate(a, res);
-		_root.check_equals(len, 1);
-		_root.check_equals(res['m1'], 20);
+		check_equals(len, 1);
+		check_equals(res['m1'], 20);
 
 		res = new Array;
 		len = enumerate(null, res);
-		_root.check_equals(len, 0);
-		_root.check_equals(res.length, 0);
+		check_equals(len, 0);
+		check_equals(res.length, 0);
 
 		res = new Array;
 		len = enumerate(undefined, res);
-		_root.check_equals(len, 0);
-		_root.check_equals(res.length, 0);
+		check_equals(len, 0);
+		check_equals(res.length, 0);
 
 		res = new Array;
 		dump(""); // becomes a string, most likely
 		len = enumerate("", res);
-		_root.check_equals(len, 0);
-		_root.check_equals(res.length, 0);
+		check_equals(len, 0);
+		check_equals(res.length, 0);
 
 		String.prototype.addedMember = 3;
 
 		res = new Array;
 		len = enumerate(new String, res);
-		_root.check_equals(len, 1);
-		_root.check_equals(res.length, 0);
+		check_equals(len, 1);
+		check_equals(res.length, 0);
 
 		// enum2 doesn't convert the empty string to a String object!
 		res = new Array;
 		len = enumerate("", res);
-		_root.check_equals(len, 0);
-		_root.check_equals(res.length, 0);
+		check_equals(len, 0);
+		check_equals(res.length, 0);
 	}
 
 	static function main(mc)
 	{
 		var myTest = new Test;
 		myTest.test_all();
+
+                Dejagnu.done();
 	}
 
 }

Index: testsuite/misc-mtasc.all/function.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/function.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-mtasc.all/function.as	15 Mar 2007 22:39:54 -0000	1.8
+++ testsuite/misc-mtasc.all/function.as	12 Jul 2007 22:03:38 -0000	1.9
@@ -1,3 +1,5 @@
+#include "check.as"
+
 import TestClass;
 
 class Test extends TestClass
@@ -6,25 +8,25 @@
 
 	function setX(nx)
 	{
-		_root.check(!arguments.hasOwnProperty('toString'));
-		_root.check_equals(arguments.toString(), '2');
-		_root.check(arguments instanceof Object);
-		_root.check_equals(typeof(arguments.__proto__), 'object');
-		_root.check_equals(typeof(arguments.__proto__.constructor), 'function');
-		_root.check_equals(typeof(arguments.__proto__.constructor.__proto__), 'object');
-		_root.check_equals(typeof(arguments.__proto__.constructor.__proto__.constructor), 'function');
-		_root.check_equals(arguments.__proto__, arguments.__proto__.constructor.prototype);
-		_root.check(arguments.__proto__.hasOwnProperty('toString'));
-		_root.check(arguments.__proto__.toString != Object.prototype.toString);
-		_root.check(arguments.__proto__ !=  Object.prototype);
-		_root.check(arguments.__proto__.constructor.__proto__ != Object.prototype);
-		_root.check(arguments.__proto__.constructor.__proto__ != Array.prototype);
+		check(!arguments.hasOwnProperty('toString'));
+		check_equals(arguments.toString(), '2');
+		check(arguments instanceof Object);
+		check_equals(typeof(arguments.__proto__), 'object');
+		check_equals(typeof(arguments.__proto__.constructor), 'function');
+		check_equals(typeof(arguments.__proto__.constructor.__proto__), 'object');
+		check_equals(typeof(arguments.__proto__.constructor.__proto__.constructor), 'function');
+		check_equals(arguments.__proto__, arguments.__proto__.constructor.prototype);
+		check(arguments.__proto__.hasOwnProperty('toString'));
+		check(arguments.__proto__.toString != Object.prototype.toString);
+		check(arguments.__proto__ !=  Object.prototype);
+		check(arguments.__proto__.constructor.__proto__ != Object.prototype);
+		check(arguments.__proto__.constructor.__proto__ != Array.prototype);
 		this.x = nx;
 	}
 
 	function Test()
 	{
-		_root.check_equals(typeof(super), 'object');
+		check_equals(typeof(super), 'object');
 
 		// This seems to trigger an ActionCallMethod(undefined, super).
 		// It is expected that the VM fetches super.constructor and calls
@@ -42,15 +44,17 @@
 		var myTest = new Test;
 		// odd enough, if we output an SWF7 movie, this fails
 		// with the reference player too !
-		_root.check_equals(myTest.TestClassCtorCalled, 'called');
+		check_equals(myTest.TestClassCtorCalled, 'called');
 
 		// This checks that the 'this' pointer is properly set
 		// (and shows it's NOT properly set with Gnash)
-		_root.check_equals(typeof(myTest.__proto__.TestClassCtorCalled), 'undefined');
+		check_equals(typeof(myTest.__proto__.TestClassCtorCalled), 'undefined');
 
 		// This checks that the 'this' pointer is properly set for "normal"
 		// ActionCallMethod (see setX(2) in Test ctor)	
-		_root.check_equals(myTest.x, 2);
-		_root.check_equals(typeof(myTest.__proto__.x), 'undefined');
+		check_equals(myTest.x, 2);
+		check_equals(typeof(myTest.__proto__.x), 'undefined');
+
+                Dejagnu.done();
 	}
 }

Index: testsuite/misc-mtasc.all/hello.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/hello.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-mtasc.all/hello.as	27 Feb 2007 09:10:21 -0000	1.3
+++ testsuite/misc-mtasc.all/hello.as	12 Jul 2007 22:03:38 -0000	1.4
@@ -1,24 +1,32 @@
+#include "check.as"
+
 class Test extends MovieClip
 {
 
 	function test_all()
 	{
-		_root.check_equals(typeof(this.loadMovie), 'function');
-
+		check_equals(typeof(this.loadMovie), 'function');
 	}
 
+        // Main entry point, provided by MTASC
+        // mc == the root MC this class is compiled into.
+        // If running standalone, mc == _root == _level0
+        // If loaded into another swf, it may vary.
 	static function main(mc)
 	{
-		var myTest = new Test;
+		var myTest = new Test();
 		myTest.test_all();
 
 		var a = 1;
 
 		// This is how you call check_equals
-		_root.check_equals(a, 1);
+		check_equals(a, 1);
 
 		// This is how you print notes (trace + visual trace)
-		_root.note("Hello world");
+		note("Hello world");
+
+                // Call this after finishing all tests. It prints out the totals.
+                Dejagnu.done();
 	}
 
 }

Index: testsuite/misc-mtasc.all/inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/inheritance.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-mtasc.all/inheritance.as	2 Mar 2007 00:24:33 -0000	1.3
+++ testsuite/misc-mtasc.all/inheritance.as	12 Jul 2007 22:03:38 -0000	1.4
@@ -1,10 +1,12 @@
+#include "check.as"
+
 class Test extends MovieClip
 {
 
 	// constructor
 	function Test()
 	{
-		_root.note("Test constructor called");
+		note("Test constructor called");
 	}
 
 	// Override MovieClip.lineTo
@@ -14,9 +16,9 @@
 
 	function test_proto_ext()
 	{
-		_root.note("This is "+this);
+		note("This is "+this);
 		Function.prototype.make = function() { return true; };
-		_root.check(arguments.callee.make());
+		check(arguments.callee.make());
 	}
 
 	function test_laszlo_core()
@@ -29,30 +31,30 @@
 		B.prototype = new A();
 
 		B.prototype.test = function () {
-			_root.check( this.constructor.prototype.constructor.prototype.test() );
+			check( this.constructor.prototype.constructor.prototype.test() );
 		}
 
 		var binst = new B();
-		_root.check_equals(typeof(binst), 'object');
-		_root.check_equals(typeof(binst.test), 'function');
-		_root.note("test_laszlo_core called");
+		check_equals(typeof(binst), 'object');
+		check_equals(typeof(binst.test), 'function');
+		note("test_laszlo_core called");
 		binst.test();
 	}
 
 	function test_all()
 	{
-		_root.check_equals(typeof(this.loadMovie), 'function');
-		_root.check_equals(this.loadMovie, super.loadMovie);
-		_root.check(this.lineTo != super.lineTo); // overridden
-		_root.check_equals(typeof(this.test_laszlo_core), 'function');
-		_root.check_equals(typeof(this.test_proto_ext), 'function');
+		check_equals(typeof(this.loadMovie), 'function');
+		check_equals(this.loadMovie, super.loadMovie);
+		check(this.lineTo != super.lineTo); // overridden
+		check_equals(typeof(this.test_laszlo_core), 'function');
+		check_equals(typeof(this.test_proto_ext), 'function');
 		this.test_laszlo_core();
-		_root.check_equals(typeof(this.test_laszlo_core), 'function');
-		_root.check_equals(typeof(this.test_proto_ext), 'function');
+		check_equals(typeof(this.test_laszlo_core), 'function');
+		check_equals(typeof(this.test_proto_ext), 'function');
 		this.test_proto_ext();
-		_root.check_equals(typeof(this.test_laszlo_core), 'function');
-		_root.check_equals(typeof(this.test_proto_ext), 'function');
-		_root.note("This is "+this);
+		check_equals(typeof(this.test_laszlo_core), 'function');
+		check_equals(typeof(this.test_proto_ext), 'function');
+		note("This is "+this);
 
 	}
 
@@ -60,6 +62,8 @@
 	{
 		var myTest = new Test;
 		myTest.test_all();
+
+                Dejagnu.done();
 	}
 
 }

Index: testsuite/misc-mtasc.all/Dejagnu.as
===================================================================
RCS file: testsuite/misc-mtasc.all/Dejagnu.as
diff -N testsuite/misc-mtasc.all/Dejagnu.as
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-mtasc.all/Dejagnu.as	12 Jul 2007 22:03:37 -0000	1.1
@@ -0,0 +1,108 @@
+class Dejagnu {
+    static var passed = 0;
+    static var failed = 0;
+    static var xpassed = 0;
+    static var xfailed = 0;
+    static var untest = 0;
+    static var unresolve = 0;
+
+    // This is a trick to force our 'init' function
+    // to be automatically called at the start of the movie.
+    static var inithack = init();
+
+    static function init() {
+        if(_level0.dejagnu_module_initialized == 1) return;
+
+        // create a textfield to output to
+        _level0.createTextField("textout", 99, 10, 10, 500, 500);
+        _level0.dejagnu_module_initialized = 1;
+    }
+
+    static function fail (why) {
+        failed++;
+        var msg = 'FAILED: '+why;
+        xtrace(msg);
+    }
+
+    static function xfail(why) {
+        xfailed++;
+        var msg = 'XFAILED: '+why;
+        xtrace(msg);
+    }
+
+    static function pass(why) {
+        passed++;
+        var msg = 'PASSED: '+why;
+        trace (msg);
+    }
+
+    static function xpass(why) {
+        xpassed++;
+        var msg = 'XPASSED: '+why;
+        trace (msg);
+    }
+
+    static function totals() {
+        xtrace('#passed: '+ passed);
+        xtrace('#failed: '+ failed);
+        if ( xpassed ) {
+            xtrace('#unexpected successes: '+ xpassed);
+        }
+        if ( xfailed ) {
+            xtrace('#expected failures: '+ xfailed);
+        }
+   
+    }
+
+    static function check_equals(obt, exp, msg) {
+        if(msg == null) msg = "";
+        if ( obt == exp ) 
+            pass(obt+' == '+exp);
+        else 
+            fail('expected: "'+exp+'" , obtained: "'+obt+'" '+msg);
+    }
+
+    static function xcheck_equals(obt, exp, msg) {
+        if(msg == null) msg = "";
+        if ( obt == exp ) 
+            xpass(obt+' == '+exp);
+        else 
+            xfail('expected: '+exp+' , obtained: '+obt+" "+msg);
+    }
+
+    static function check(a, msg) {
+        if ( a ) 
+            pass(msg != undefined ? msg : a);
+        else 
+            fail(msg != undefined ? msg : a);
+    }
+
+    static function xcheck(a, msg) {
+        if ( a ) 
+            xpass(msg != undefined ? msg : a);
+        else 
+            xfail(msg != undefined ? msg : a);
+    }
+
+    static function note(msg) {
+        xtrace(msg);
+    }
+
+    static function xtrace(msg) {
+        _level0.textout.text += msg + "\n";
+        trace(msg);
+    }
+
+    static function untested(msg) {
+        trace("UNTESTED: "+msg);
+    }
+
+    static function unresolved(msg) {
+        trace("UNRESOLVED: "+msg);
+    }
+
+    static function done() {
+        totals();
+    }
+
+}

Index: testsuite/misc-mtasc.all/check.as
===================================================================
RCS file: testsuite/misc-mtasc.all/check.as
diff -N testsuite/misc-mtasc.all/check.as
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-mtasc.all/check.as	12 Jul 2007 22:03:38 -0000	1.1
@@ -0,0 +1,26 @@
+#ifndef _CHECK_AS_
+#define _CHECK_AS_
+
+#define _INFO_ ' ['+__FILE__+':'+__LINE__+']'
+
+#define check_equals(a, b) Dejagnu.check_equals(a, b, _INFO_);
+//#define check_equals(a, b, msg) Dejagnu.check(a, b, msg + _INFO_);
+
+#define xcheck_equals(a, b) Dejagnu.xcheck_equals(a, b, _INFO_);
+//#define xcheck_equals(a, b, msg) Dejagnu.check(a, b, msg + _INFO_);
+
+#define check(a) Dejagnu.check(a, _INFO_);
+#define xcheck(a) Dejagnu.xcheck(a, _INFO_);
+
+#define pass(text) Dejagnu.pass(text + _INFO_)
+#define xpass(text) Dejagnu.xpass(text + _INFO_)
+#define fail(text) Dejagnu.fail(text + _INFO_)
+#define xfail(text) Dejagnu.xfail(text + _INFO_)
+#define pass(text) Dejagnu.pass(text + _INFO_)
+#define untested(text) Dejagnu.untested(text + _INFO_)
+#define unresolved(text) Dejagnu.unresolved(text + _INFO_)
+
+#define note(text) Dejagnu.note(text + _INFO_);
+
+
+#endif

Index: testsuite/misc-mtasc.all/level5.as
===================================================================
RCS file: testsuite/misc-mtasc.all/level5.as
diff -N testsuite/misc-mtasc.all/level5.as
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-mtasc.all/level5.as	12 Jul 2007 22:03:38 -0000	1.1
@@ -0,0 +1,27 @@
+#include "check.as"
+
+class Level5
+{
+	static function main(mc)
+	{
+                // The ""+ is there to force conversion to a string
+                check_equals(""+mc, "_level5");
+
+                // 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 _level0
+                check_equals(_level0.testvar2, undefined);
+                _level0.testvar2 = true;
+                check_equals(_level0.testvar2, true);
+
+
+                // load yet another swf
+                getURL("level99.swf","_level"+99);
+	}
+}

Index: testsuite/misc-mtasc.all/level99.as
===================================================================
RCS file: testsuite/misc-mtasc.all/level99.as
diff -N testsuite/misc-mtasc.all/level99.as
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-mtasc.all/level99.as	12 Jul 2007 22:03:38 -0000	1.1
@@ -0,0 +1,29 @@
+#include "check.as"
+
+class Level99
+{
+	static function main(mc)
+	{
+                // The ""+ is there to force conversion to a string
+                check_equals(""+mc, "_level99");
+
+                // check that we can acess back to _level0
+                check_equals(_level0.testvar, 1239);
+                check_equals(_level0.testvar2, true);
+
+                // check that we can acess back to _level5
+                check_equals(_level5.testvar, 6789);
+
+                // check that we can modify vars on our own level
+                check_equals(_level99.testvar, undefined);
+                _level99.testvar = "hello";
+                check_equals(_level99.testvar, "hello");
+
+                // check that we can modify vars on _level5
+                check_equals(_level5.testvar2, undefined);
+                _level5.testvar2 = "goodbye";
+                check_equals(_level5.testvar2, "goodbye");
+
+                Dejagnu.done();
+	}
+}

Index: testsuite/misc-mtasc.all/levels.as
===================================================================
RCS file: testsuite/misc-mtasc.all/levels.as
diff -N testsuite/misc-mtasc.all/levels.as
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-mtasc.all/levels.as	12 Jul 2007 22:03:38 -0000	1.1
@@ -0,0 +1,21 @@
+#include "check.as"
+
+class LevelsMain
+{
+	static function main(mc)
+	{
+                // create a var that other swfs can test
+                _level0.testvar = 1239;
+
+                var test = new LevelsMain();
+                test.run();
+
+                // The ""+ is there to force conversion to a string
+                check_equals(""+mc, "_level0");
+	}
+
+        function run() {
+            trace("main class running");
+            getURL("level5.swf","_level"+5);
+        }
+}



From MAILER-DAEMON Thu Jul 12 19:03:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I97hR-00070H-82
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 19:03:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I97hP-000702-QF
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 19:03:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I97hP-0006zq-3T
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 19:03:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I97hO-0006zm-Vp
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 19:03:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I97hO-0007Zf-Eq
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 19:03:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I97hN-0001jb-G0
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:03:49 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I97hN-0001jY-C2
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:03:49 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I97hN-0001jY-C2@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 12 Jul 2007 23:03:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/rc.cpp libbase/rc.h tes...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 23:03:52 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/12 23:03:49

Modified files:
	.              : ChangeLog 
	libbase        : rc.cpp rc.h 
	testsuite/libbase: TCXXRc.cpp 

Log message:
	        * libbase/rc.{cpp,h}: make the constructor and destructor private.
	        * testsuite/libbase/TCXXRc.cpp: use the default instance.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3723&r2=1.3724
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/rc.cpp?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/rc.h?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/TCXXRc.cpp?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3723
retrieving revision 1.3724
diff -u -b -r1.3723 -r1.3724
--- ChangeLog	12 Jul 2007 22:03:37 -0000	1.3723
+++ ChangeLog	12 Jul 2007 23:03:48 -0000	1.3724
@@ -1,3 +1,8 @@
+2007-07-12 Sandro Santilli <strk@keybit.net>
+
+	* libbase/rc.{cpp,h}: make the constructor and destructor private.
+	* testsuite/libbase/TCXXRc.cpp: use the default instance.
+
 2007-07-12 davr <drorex@gmail.com>
 
 	* testsuite/misc-mtasc.all/: Dejagnu.as, Makefile.am,

Index: libbase/rc.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/rc.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- libbase/rc.cpp	1 Jul 2007 10:54:10 -0000	1.26
+++ libbase/rc.cpp	12 Jul 2007 23:03:49 -0000	1.27
@@ -42,6 +42,8 @@
 RcInitFile&
 RcInitFile::getDefaultInstance()
 {
+	// TODO: allocate on the heap and provide a destroyDefaultInstance,
+	//       for finer control of destruction order
 	static RcInitFile rcfile;
 	return rcfile;
 }

Index: libbase/rc.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/rc.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- libbase/rc.h	1 Jul 2007 10:54:10 -0000	1.20
+++ libbase/rc.h	12 Jul 2007 23:03:49 -0000	1.21
@@ -35,8 +35,6 @@
 class DSOEXPORT RcInitFile 
 {
 public:
-    RcInitFile();
-    ~RcInitFile();
 
     // Return the default instance of RC file,
     static RcInitFile& getDefaultInstance();
@@ -114,6 +112,12 @@
     
 private:
 
+    /// Construct only by getDefaultInstance()
+    RcInitFile();
+
+    /// Never destry (TODO: add a destroyDefaultInstance)
+    ~RcInitFile();
+
     int  _delay;                // the timer delay
     bool _debug;                // enable debugging of this class
     bool _debugger;             // enable the Flash movie debugger

Index: testsuite/libbase/TCXXRc.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/TCXXRc.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- testsuite/libbase/TCXXRc.cpp	1 Jul 2007 10:54:44 -0000	1.13
+++ testsuite/libbase/TCXXRc.cpp	12 Jul 2007 23:03:49 -0000	1.14
@@ -73,7 +73,7 @@
 
 int
 main (int /*argc*/, char** /*argv*/) {
-    RcInitFile rc;
+    RcInitFile& rc = RcInitFile::getDefaultInstance();
 
     gnash::LogFile& dbglogfile = gnash::LogFile::getDefaultInstance();
     dbglogfile.setVerbosity();



From MAILER-DAEMON Thu Jul 12 19:05:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I97jT-0007rB-LC
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 19:05:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I97jR-0007qu-SM
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 19:05:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I97jR-0007qi-Ej
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 19:05:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I97jR-0007qb-Cq
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 19:05:57 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I97jR-0007xz-11
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 19:05:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I97jQ-0001ln-JE
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:05:56 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I97jQ-0001lk-FI
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:05:56 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I97jQ-0001lk-FI@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 12 Jul 2007 23:05:56 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/font.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jul 2007 23:05:58 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/12 23:05:56

Modified files:
	.              : ChangeLog 
	server         : font.cpp 

Log message:
	        * server/font.cpp (get_advance): fix passing non-POD type to
	          printf-like function.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3724&r2=1.3725
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.cpp?cvsroot=gnash&r1=1.42&r2=1.43

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3724
retrieving revision 1.3725
diff -u -b -r1.3724 -r1.3725
--- ChangeLog	12 Jul 2007 23:03:48 -0000	1.3724
+++ ChangeLog	12 Jul 2007 23:05:55 -0000	1.3725
@@ -1,5 +1,7 @@
 2007-07-12 Sandro Santilli <strk@keybit.net>
 
+	* server/font.cpp (get_advance): fix passing non-POD type to
+	  printf-like function.
 	* libbase/rc.{cpp,h}: make the constructor and destructor private.
 	* testsuite/libbase/TCXXRc.cpp: use the default instance.
 

Index: server/font.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/font.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- server/font.cpp	11 Jul 2007 16:16:51 -0000	1.42
+++ server/font.cpp	12 Jul 2007 23:05:56 -0000	1.43
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: font.cpp,v 1.42 2007/07/11 16:16:51 strk Exp $ */
+/* $Id: font.cpp,v 1.43 2007/07/12 23:05:56 strk Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -511,7 +511,7 @@
 			{
 				s_logged = true;
 				IF_VERBOSE_MALFORMED_SWF(
-				log_swferror(_("empty advance table in font %s"), get_name());
+				log_swferror(_("empty advance table in font %s"), get_name().c_str());
 				);
 			}
 			return 0;



From MAILER-DAEMON Thu Jul 12 21:07:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I99dR-0005pm-DF
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 21:07:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I99dQ-0005pC-27
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 21:07:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I99dO-0005oF-DY
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 21:07:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I99dO-0005o8-0x
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 21:07:50 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I99dN-00049t-Id
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 21:07:49 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I97zh-0003TC-TD
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:22:45 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I97zh-0003T8-Nz
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:22:45 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I97zh-0003T8-Nz@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 12 Jul 2007 23:22:45 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/libbase/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 01:07:52 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/12 23:22:45

Modified files:
	.              : ChangeLog 
	testsuite/libbase: Makefile.am 

Log message:
	        * testsuite/libbase/Makefile.am: gnash libs must be in LDADD, not
	          AM_LDFLAGS, for dependencies to work fine.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3725&r2=1.3726
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/Makefile.am?cvsroot=gnash&r1=1.29&r2=1.30

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3725
retrieving revision 1.3726
diff -u -b -r1.3725 -r1.3726
--- ChangeLog	12 Jul 2007 23:05:55 -0000	1.3725
+++ ChangeLog	12 Jul 2007 23:22:45 -0000	1.3726
@@ -1,5 +1,7 @@
 2007-07-12 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/libbase/Makefile.am: gnash libs must be in LDADD, not
+	  AM_LDFLAGS, for dependencies to work fine.
 	* server/font.cpp (get_advance): fix passing non-POD type to
 	  printf-like function.
 	* libbase/rc.{cpp,h}: make the constructor and destructor private.

Index: testsuite/libbase/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/Makefile.am,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- testsuite/libbase/Makefile.am	1 Jul 2007 10:54:44 -0000	1.29
+++ testsuite/libbase/Makefile.am	12 Jul 2007 23:22:45 -0000	1.30
@@ -21,9 +21,7 @@
 
 AUTOMAKE_OPTIONS = dejagnu
 
-AM_LDFLAGS =  \
-	$(top_builddir)/libbase/libgnashbase.la \
-	$(NULL)
+LDADD = $(top_builddir)/libbase/libgnashbase.la 
 
 # AM_CPPFLAGS isn't right here since per-program *_CPPFLAGS override global
 # AM_CPPFLAGS



From MAILER-DAEMON Thu Jul 12 21:13:51 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I99jD-0000o5-6g
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 21:13:51 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I99jB-0000nz-3t
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 21:13:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I99j9-0000nn-Gp
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 21:13:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I99j9-0000nk-Dh
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 21:13:47 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I99j9-0005c0-5B
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 21:13:47 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I99j8-0002Rg-Pz
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 01:13:46 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I99j8-0002Ra-Lo
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 01:13:46 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I99j8-0002Ra-Lo@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 01:13:46 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/array.cpp server/array.h...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 01:13:49 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 01:13:46

Modified files:
	.              : ChangeLog 
	server         : array.cpp array.h 
	testsuite/actionscript.all: array.as 

Log message:
	Applied patch #6081 by meteoryte@yahoo.com.au:
	        * server/array.{cpp,h}: fix user-defined comparator for sort()
	          operation. There's a minor failure with definition of 'this'
	          inside the comparator.
	        * testsuite/actionscript.all/array.as: add test for sort based
	          on custom function.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3726&r2=1.3727
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.cpp?cvsroot=gnash&r1=1.64&r2=1.65
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.h?cvsroot=gnash&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3726
retrieving revision 1.3727
diff -u -b -r1.3726 -r1.3727
--- ChangeLog	12 Jul 2007 23:22:45 -0000	1.3726
+++ ChangeLog	13 Jul 2007 01:13:45 -0000	1.3727
@@ -1,3 +1,12 @@
+2007-07-12 <meteoryte@yahoo.com.au>
+
+	Applied patch #6081
+	* server/array.{cpp,h}: fix user-defined comparator for sort()
+	  operation. There's a minor failure with definition of 'this'
+	  inside the comparator.
+	* testsuite/actionscript.all/array.as: add test for sort based
+	  on custom function.
+
 2007-07-12 Sandro Santilli <strk@keybit.net>
 
 	* testsuite/libbase/Makefile.am: gnash libs must be in LDADD, not

Index: server/array.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/array.cpp,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- server/array.cpp	5 Jul 2007 19:03:03 -0000	1.64
+++ server/array.cpp	13 Jul 2007 01:13:46 -0000	1.65
@@ -28,6 +28,7 @@
 #include "as_function.h" // for sort user-defined comparator
 #include "fn_call.h"
 #include "GnashException.h"
+#include "action.h" // for call_method
 
 #include <string>
 #include <algorithm>
@@ -119,25 +120,28 @@
 {
 public:
 	as_function& _comp;
+	as_object* _object;
 
-	AsValueFuncComparator(as_function& comparator)
+	AsValueFuncComparator(as_function& comparator, boost::intrusive_ptr<as_object> this_ptr)
 		:
 		_comp(comparator)
 	{
+		_object = this_ptr.get();
 	}
 
 	bool operator() (const as_value& a, const as_value& b)
 	{
-		// Ugly, but I can't see another way to 
-		// provide fn_call a stack to work on
+		as_value cmp_method(&_comp);
 		as_environment env;
+		as_value ret(0);
+		int retval;
+
 		env.push(a);
 		env.push(b);
-
-		as_value ret(false); // bool value
-		fn_call fn(NULL, &env, 2, 0);
-		ret = _comp(fn);
-		return ( ret.to_bool() );
+		ret = call_method(cmp_method, &env, _object, 2, 1);
+		retval = (int)ret.to_number();
+		if (retval > 0) return true;
+		return false;
 	}
 };
 
@@ -492,7 +496,7 @@
 }
 
 void
-as_array_object::sort(as_function& comparator, uint8_t flags)
+as_array_object::sort(as_function& comparator, boost::intrusive_ptr<as_object> this_ptr, uint8_t flags)
 {
 
 	// use sorted_index to use this flag
@@ -501,7 +505,7 @@
 	// Other flags are simply NOT used
 	// (or are them ? the descending one could be!)
 	std::sort(elements.begin(), elements.end(),
-		AsValueFuncComparator(comparator));
+		AsValueFuncComparator(comparator, this_ptr));
 
 }
 
@@ -577,25 +581,36 @@
 {
 	boost::intrusive_ptr<as_array_object> array = ensureType<as_array_object>(fn.this_ptr);
 
-	uint8_t flags;
+	uint8_t flags = 0;
 
-	if ( fn.nargs == 1 && fn.arg(0).is_number() )
+	if ( fn.nargs == 0 )
+	{
+		array->sort(flags);
+	}
+	else if ( fn.nargs == 1 && fn.arg(0).is_number() )
 	{
 		flags=static_cast<uint8_t>(fn.arg(0).to_number());
+		array->sort(flags);
 	}
-	else if ( fn.nargs == 0 )
+	else if ( fn.arg(0).is_as_function() )
 	{
-		flags=0;
+		// Get comparison function
+		as_function* as_func = fn.arg(0).to_as_function();
+	
+		if ( fn.nargs == 2 && fn.arg(1).is_number() )
+		{
+			flags=static_cast<uint8_t>(fn.arg(1).to_number());
+		}
+		array->sort(*as_func, fn.this_ptr, flags);
 	}
 	else
 	{
-		log_unimpl("Array.sort(comparator)");
-		return as_value();
+		IF_VERBOSE_ASCODING_ERRORS(
+		log_aserror(_("Sort called with invalid arguments."));
+		)
 	}
 
-	array->sort(flags);
 	return as_value(); // returns void
-
 }
 
 static as_value

Index: server/array.h
===================================================================
RCS file: /sources/gnash/gnash/server/array.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- server/array.h	1 Jul 2007 10:54:19 -0000	1.29
+++ server/array.h	13 Jul 2007 01:13:46 -0000	1.30
@@ -153,7 +153,7 @@
 			const std::vector<as_value>& replacement);
 
 	/// Sort the array, using given values comparator
-	void sort(as_function& comparator, uint8_t flags=0);
+	void sort(as_function& comparator, boost::intrusive_ptr<as_object> this_ptr, uint8_t flags=0);
 
 	void sort(uint8_t flags=0);
 

Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- testsuite/actionscript.all/array.as	5 Jul 2007 19:03:03 -0000	1.19
+++ testsuite/actionscript.all/array.as	13 Jul 2007 01:13:46 -0000	1.20
@@ -5,7 +5,7 @@
 // Updated with sort functions, and to use check() macro
 // by Mike Carlson Feb. 14th, 2006
 
-rcsid="$Id: array.as,v 1.19 2007/07/05 19:03:03 strk Exp $";
+rcsid="$Id: array.as,v 1.20 2007/07/13 01:13:46 strk Exp $";
 
 #include "check.as"
 
@@ -122,6 +122,21 @@
 check_equals ( trysortarray.toString() , "But,Different,alphabet,capitalization" );
 // TODO - test sort(Array.RETURNINDEXEDARRAY)
 
+// Test sorting using a custom comparison function
+function testCmp (x,y)
+{
+	// Gnash fails here by *requiring* a not-null 'this_ptr' in fn_call
+	xcheck_equals(typeof(this), 'undefined');
+
+	if (x.length < y.length) { return -1; }
+	if (x.length > y.length) { return 1; }
+	return 0;
+}
+
+check_equals ( trysortarray.toString() , "But,Different,alphabet,capitalization" );
+trysortarray.sort( testCmp );
+check_equals ( trysortarray.toString() , "But,alphabet,Different,capitalization" );
+
 popped=b.pop();
 check ( popped == 12 );
 popped=b.pop();



From MAILER-DAEMON Thu Jul 12 22:02:37 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9AUP-0003HN-K8
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 22:02:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9AUO-0003HA-5r
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:02:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9AUN-0003Gy-LM
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:02:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9AUN-0003Gv-Fx
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:02:35 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I9AUN-0005xx-06
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:02:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I9AUM-0005BL-2L
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:02:34 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I9AUL-0005BI-Jx
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:02:33 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9AUL-0005BI-Jx@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Fri, 13 Jul 2007 02:02:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 02:02:36 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/13 02:02:33

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	* testsuite/misc-ming.all/DefineEditTextTest.c:
	  include dejagnuclip, make it to be a self-contained one.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3727&r2=1.3728
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3727
retrieving revision 1.3728
diff -u -b -r1.3727 -r1.3728
--- ChangeLog	13 Jul 2007 01:13:45 -0000	1.3727
+++ ChangeLog	13 Jul 2007 02:02:32 -0000	1.3728
@@ -1,3 +1,8 @@
+2007-07-13 Zou Lunkai <zoulunkai@gmail.com>
+
+	* testsuite/misc-ming.all/DefineEditTextTest.c:
+	  include dejagnuclip, make it to be a self-contained one.
+	  
 2007-07-12 <meteoryte@yahoo.com.au>
 
 	Applied patch #6081

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/misc-ming.all/DefineEditTextTest.c	1 Jul 2007 10:54:45 -0000	1.9
+++ testsuite/misc-ming.all/DefineEditTextTest.c	13 Jul 2007 02:02:33 -0000	1.10
@@ -1,5 +1,5 @@
 /* 
- *   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ *   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
  * 
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -30,6 +30,8 @@
 #include <stdio.h>
 #include <ming.h>
 
+#include "ming_utils.h"
+
 #define OUTPUT_VERSION 7
 #define OUTPUT_FILENAME "DefineEditTextTest.swf"
 
@@ -57,7 +59,7 @@
 	 *
 	 * Ref: https://savannah.gnu.org/bugs/?func=detailitem&item_id=16637.
 	 */
-	SWFTextField_setBounds(tf, 260, 338);
+  SWFTextField_setBounds(tf, 100, 100);
 	//SWFTextField_setBounds(tf, 60000, 338);
 
 	/*
@@ -83,6 +85,7 @@
 	SWFMovie mo;
 	const char *srcdir=".";
 	char fdbfont[256];
+  SWFMovieClip  dejagnuclip;
 
 	/*********************************************
 	 *
@@ -107,15 +110,17 @@
  
 	mo = newSWFMovie();
 	SWFMovie_setRate(mo, 12);
-	//SWFMovie_setDimension(mo, 12560, 9020);
+  SWFMovie_setDimension(mo, 800, 600);
+  
+  dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10, 0, 0, 800, 600);
+  SWFMovie_add(mo, (SWFBlock)dejagnuclip);
+  SWFMovie_nextFrame(mo); // 1st frame 
 
 	/*********************************************
 	 *
 	 * Add some textfields
 	 *
 	 *********************************************/
-
-	/* This is with embedded fonts, not working */
 	{
 		SWFDisplayItem it;
 		FILE *font_file = fopen(fdbfont, "r");
@@ -127,44 +132,60 @@
 		SWFBrowserFont bfont = newSWFBrowserFont("_sans");
 		SWFFont efont = loadSWFFontFromFile(font_file);
 
-		it = add_text_field(mo, (SWFBlock)bfont, "Hello device _sans font world");
-		SWFDisplayItem_setName(it, "dtext");
-		SWFDisplayItem_moveTo(it, 60, 60);
-		it = add_text_field(mo, (SWFBlock)efont, "Hello embedded font world");
-		SWFDisplayItem_setName(it, "etext");
-		SWFDisplayItem_moveTo(it, 60, 120);
+    it = add_text_field(mo, (SWFBlock)bfont, "Hello");
+    SWFDisplayItem_setName(it, "dtext1");
+    SWFDisplayItem_moveTo(it, 0, 200);
+    it = add_text_field(mo, (SWFBlock)efont, "Hello");
+    SWFDisplayItem_setName(it, "etext1");
+    SWFDisplayItem_moveTo(it, 0, 300);
 
 		SWFBrowserFont bfont2 = newSWFBrowserFont("times");
-		it = add_text_field(mo, (SWFBlock)bfont2, "Hello device times font world");
+    it = add_text_field(mo, (SWFBlock)bfont2, "Hello");
 		SWFDisplayItem_setName(it, "dtext2");
-		SWFDisplayItem_moveTo(it, 60, 180);
+    SWFDisplayItem_moveTo(it, 0, 400);
 	}
+  SWFMovie_nextFrame(mo); 
 
-	SWFMovie_add(mo, newSWFAction("offset = 1; count=0;"
-			        "onEnterFrame = function() {"
-				" if ( ++count > 10 ) { count = 0; offset = -offset; }"
-				" etext._y += offset;"
-				" etext._x += offset;"
-				//" etext._rotation += offset;"
-				" dtext._y += offset;"
-				" dtext._x += offset;"
-				//" dtext._rotation += offset;"
-				" dtext2._y += offset;"
-				" dtext2._x += offset;"
-				//" dtext2._rotation += offset;"
-				"};"
-				));
 
+  check_equals(mo, "dtext1.text", "'Hello'");
+  check_equals(mo, "etext1.text", "'Hello'");
+  check_equals(mo, "dtext2.text", "'Hello'");
+  xcheck_equals(mo, "dtext1.background", "false");
+  xcheck_equals(mo, "etext1.background", "false");
+  xcheck_equals(mo, "dtext2.background", "false");
+  xcheck_equals(mo, "dtext1.backgroundColor", "0xffffff");
+  xcheck_equals(mo, "etext1.backgroundColor", "0xffffff");
+  xcheck_equals(mo, "dtext2.backgroundColor", "0xffffff");
+  
+  add_actions(mo, "dtext1.background = true;"
+                  "etext1.background = true;"
+                  "dtext2.background = true;"
+                  "dtext1.backgroundColor = 0xff0000;"
+                  "etext1.backgroundColor = 0x00ff00;"
+                  "dtext2.backgroundColor = 0x0000ff;"
+                  "dtext1.text += ' world';"
+                  "etext1.text += ' world';"
+                  "dtext2.text += ' world';" );
+
+  check_equals(mo, "dtext1.text", "'Hello world'");
+  check_equals(mo, "etext1.text", "'Hello world'");
+  check_equals(mo, "dtext2.text", "'Hello world'");
+  check_equals(mo, "dtext1.background", "true");
+  check_equals(mo, "etext1.background", "true");
+  check_equals(mo, "dtext2.background", "true");
+  check_equals(mo, "dtext1.backgroundColor", "0xff0000");
+  check_equals(mo, "etext1.backgroundColor", "0x00ff00");
+  check_equals(mo, "dtext2.backgroundColor", "0x0000ff");
+  
+  add_actions(mo, "totals(); stop();");
+  SWFMovie_nextFrame(mo); 
 	/*****************************************************
 	 *
 	 * Output movie
 	 *
 	 *****************************************************/
-
 	puts("Saving " OUTPUT_FILENAME );
 
-	SWFMovie_nextFrame(mo); /* showFrame */
-
 	SWFMovie_save(mo, OUTPUT_FILENAME);
 
 	return 0;



From MAILER-DAEMON Thu Jul 12 22:26:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9Arb-00007I-8m
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 22:26:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9Ara-000070-G8
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:26:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9ArZ-00006e-Mk
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:26:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9ArZ-00006b-Iq
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:26:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9ArZ-0001cg-5H
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:26:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9ArY-00076V-Om
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:26:32 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9ArY-00076S-Jc
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:26:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9ArY-00076S-Jc@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 02:26:32 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-mtasc.all/Dejagn...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 02:26:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 02:26:32

Modified files:
	.              : ChangeLog 
	testsuite/misc-mtasc.all: Dejagnu.as check.as level5.as 
	                          level99.as levels.as 

Log message:
	Added copyright info

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3728&r2=1.3729
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/Dejagnu.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/check.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/level5.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/level99.as?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/levels.as?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3728
retrieving revision 1.3729
diff -u -b -r1.3728 -r1.3729
--- ChangeLog	13 Jul 2007 02:02:32 -0000	1.3728
+++ ChangeLog	13 Jul 2007 02:26:31 -0000	1.3729
@@ -21,7 +21,7 @@
 	* libbase/rc.{cpp,h}: make the constructor and destructor private.
 	* testsuite/libbase/TCXXRc.cpp: use the default instance.
 
-2007-07-12 davr <drorex@gmail.com>
+2007-07-12 David Rorex <drorex@gmail.com>
 
 	* testsuite/misc-mtasc.all/: Dejagnu.as, Makefile.am,
 	  README, TestClass.as, check.as, enum.as, function.as, hello.as,

Index: testsuite/misc-mtasc.all/Dejagnu.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/Dejagnu.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/Dejagnu.as	12 Jul 2007 22:03:37 -0000	1.1
+++ testsuite/misc-mtasc.all/Dejagnu.as	13 Jul 2007 02:26:32 -0000	1.2
@@ -1,3 +1,27 @@
+// Dejagnu.as - MTASC class for dejagnu-like testing.
+//
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+//
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+//
+// Original author: David Rorex - drorex@gmail.com
+//
+//
+
 class Dejagnu {
     static var passed = 0;
     static var failed = 0;

Index: testsuite/misc-mtasc.all/check.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/check.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/check.as	12 Jul 2007 22:03:38 -0000	1.1
+++ testsuite/misc-mtasc.all/check.as	13 Jul 2007 02:26:32 -0000	1.2
@@ -1,3 +1,26 @@
+// check.as - Include file for MTASC testcases providing common testing facilities
+//
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+//
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+//
+// Original author: David Rorex - drorex@gmail.com
+//
+
 #ifndef _CHECK_AS_
 #define _CHECK_AS_
 

Index: testsuite/misc-mtasc.all/level5.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/level5.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/level5.as	12 Jul 2007 22:03:38 -0000	1.1
+++ testsuite/misc-mtasc.all/level5.as	13 Jul 2007 02:26:32 -0000	1.2
@@ -1,3 +1,26 @@
+// level5.as - Data file for the levels.as test
+//
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+//
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+//
+// Original author: David Rorex - drorex@gmail.com
+//
+
 #include "check.as"
 
 class Level5

Index: testsuite/misc-mtasc.all/level99.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/level99.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/level99.as	12 Jul 2007 22:03:38 -0000	1.1
+++ testsuite/misc-mtasc.all/level99.as	13 Jul 2007 02:26:32 -0000	1.2
@@ -1,3 +1,26 @@
+// level99.as - Data file for the levels.as test
+//
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+//
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+//
+// Original author: David Rorex - drorex@gmail.com
+//
+
 #include "check.as"
 
 class Level99

Index: testsuite/misc-mtasc.all/levels.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/levels.as,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-mtasc.all/levels.as	12 Jul 2007 22:03:38 -0000	1.1
+++ testsuite/misc-mtasc.all/levels.as	13 Jul 2007 02:26:32 -0000	1.2
@@ -1,3 +1,26 @@
+// levels.as - MTASC testcase for loading into _level targets
+//
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+//
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+//
+// Original author: David Rorex - drorex@gmail.com
+//
+
 #include "check.as"
 
 class LevelsMain



From MAILER-DAEMON Thu Jul 12 22:41:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9B5i-0008IO-0M
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 22:41:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9B5g-0008ES-AH
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:41:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9B5f-0008Cw-Od
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:41:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9B5f-0008Cj-J5
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:41:07 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I9B5f-0003sd-8F
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:41:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I9B5e-0007RG-Oy
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:41:06 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I9B5e-0007RD-Je
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:41:06 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9B5e-0007RD-Je@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Fri, 13 Jul 2007 02:41:06 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 02:41:08 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/13 02:41:06

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	more tests

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3729&r2=1.3730
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3729
retrieving revision 1.3730
diff -u -b -r1.3729 -r1.3730
--- ChangeLog	13 Jul 2007 02:26:31 -0000	1.3729
+++ ChangeLog	13 Jul 2007 02:41:05 -0000	1.3730
@@ -1,5 +1,9 @@
 2007-07-13 Zou Lunkai <zoulunkai@gmail.com>
 
+	* testsuite/misc-ming.all/DefineEditTextTest.c: more tests.
+	  	  
+2007-07-13 Zou Lunkai <zoulunkai@gmail.com>
+
 	* testsuite/misc-ming.all/DefineEditTextTest.c:
 	  include dejagnuclip, make it to be a self-contained one.
 	  

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/misc-ming.all/DefineEditTextTest.c	13 Jul 2007 02:02:33 -0000	1.10
+++ testsuite/misc-ming.all/DefineEditTextTest.c	13 Jul 2007 02:41:06 -0000	1.11
@@ -146,6 +146,14 @@
   }
   SWFMovie_nextFrame(mo); 
 
+  check_equals(mo, "typeof(dtext1)", "'object'");
+  check_equals(mo, "typeof(dtext1.text)", "'string'");
+  check_equals(mo, "typeof(dtext1.__proto__.text)", "'undefined'");
+  
+
+  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('text')", "true");
+  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
+  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')", "true");
 
   check_equals(mo, "dtext1.text", "'Hello'");
   check_equals(mo, "etext1.text", "'Hello'");



From MAILER-DAEMON Thu Jul 12 22:49:38 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9BDu-0005A2-IB
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 22:49:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9BDt-00059r-9T
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:49:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9BDt-00059f-0X
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:49:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9BDs-00059c-PW
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:49:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I9BDs-00051G-EA
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:49:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I9BDr-0000Mz-Ur
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:49:36 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I9BDr-0000Mw-QG
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:49:35 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9BDr-0000Mw-QG@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Fri, 13 Jul 2007 02:49:35 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextTest.c
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 02:49:37 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/13 02:49:35

Modified files:
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	and more tests

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- DefineEditTextTest.c	13 Jul 2007 02:41:06 -0000	1.11
+++ DefineEditTextTest.c	13 Jul 2007 02:49:35 -0000	1.12
@@ -150,6 +150,9 @@
   check_equals(mo, "typeof(dtext1.text)", "'string'");
   check_equals(mo, "typeof(dtext1.__proto__.text)", "'undefined'");
   
+  xcheck_equals(mo, "dtext1.hasOwnProperty('text')", "false");
+  xcheck_equals(mo, "dtext1.hasOwnProperty('background')", "false");
+  xcheck_equals(mo, "dtext1.hasOwnProperty('backgroundColor')", "false");
 
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('text')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");



From MAILER-DAEMON Thu Jul 12 22:50:17 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9BEW-0005JM-VK
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 22:50:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9BEU-0005IZ-Mg
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:50:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9BES-0005Ha-Qo
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:50:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9BES-0005HO-JI
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:50:12 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9BES-000587-7h
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:50:12 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9BER-0000OI-Dh
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:50:11 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9BER-0000OE-8s
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:50:11 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9BER-0000OE-8s@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 02:50:11 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 02:50:15 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 02:50:11

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: Makefile.am 

Log message:
	        * testsuite/misc-ming.all/Makefile.am: Fix linking
	          for DefineEditTextTest, add rule to build the corresponding
	          SWF file.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3730&r2=1.3731
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.140&r2=1.141

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3730
retrieving revision 1.3731
diff -u -b -r1.3730 -r1.3731
--- ChangeLog	13 Jul 2007 02:41:05 -0000	1.3730
+++ ChangeLog	13 Jul 2007 02:50:10 -0000	1.3731
@@ -1,3 +1,9 @@
+2007-07-13 Sandro Santilli <strk@keybit.net>
+
+	* testsuite/misc-ming.all/Makefile.am: Fix linking
+	  for DefineEditTextTest, add rule to build the corresponding
+	  SWF file.
+
 2007-07-13 Zou Lunkai <zoulunkai@gmail.com>
 
 	* testsuite/misc-ming.all/DefineEditTextTest.c: more tests.

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -b -r1.140 -r1.141
--- testsuite/misc-ming.all/Makefile.am	10 Jul 2007 11:45:34 -0000	1.140
+++ testsuite/misc-ming.all/Makefile.am	13 Jul 2007 02:50:11 -0000	1.141
@@ -281,8 +281,11 @@
 	./moviecliploader_test $(top_srcdir)/testsuite/media
 
 
+DefineEditTextTest.swf: DefineEditTextTest
+	./DefineEditTextTest $(top_srcdir)/testsuite/media
+
 DefineEditTextTest_SOURCES =  DefineEditTextTest.c
-DefineEditTextTest_LDADD = $(MING_LIBS)
+DefineEditTextTest_LDADD = libgnashmingutils.la
 
 DefineEditTextVariableNameTest_SOURCES =	\
 	DefineEditTextVariableNameTest.c	\
@@ -323,9 +326,6 @@
 definebitsjpeg2.swf: definebitsjpeg2
 	./definebitsjpeg2 $(srcdir)/../media/lynch.jpg
 
-DefineEditTextTest.swf: DefineEditTextTest
-	./DefineEditTextTest $(top_srcdir)/testsuite/media
-
 DefineEditTextVariableNameTest.swf: DefineEditTextVariableNameTest
 	./DefineEditTextVariableNameTest $(top_srcdir)/testsuite/media
 



From MAILER-DAEMON Thu Jul 12 22:59:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9BNI-0001fL-Pv
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 22:59:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9BNH-0001fG-96
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:59:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9BNF-0001f4-Mp
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:59:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9BNF-0001f1-IA
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:59:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9BNF-0006gS-2Q
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 22:59:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9BNE-0000Vn-2j
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:59:16 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9BND-0000Vk-UF
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 02:59:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9BND-0000Vk-UF@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 02:59:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Micr...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 02:59:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 02:59:15

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: Microphone.as 

Log message:
	        * testsuite/actionscript.all/Microphone.as: test cleanup
	          (see bug #20472).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3731&r2=1.3732
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Microphone.as?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3731
retrieving revision 1.3732
diff -u -b -r1.3731 -r1.3732
--- ChangeLog	13 Jul 2007 02:50:10 -0000	1.3731
+++ ChangeLog	13 Jul 2007 02:59:15 -0000	1.3732
@@ -1,5 +1,7 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/Microphone.as: test cleanup
+	  (see bug #20472).
 	* testsuite/misc-ming.all/Makefile.am: Fix linking
 	  for DefineEditTextTest, add rule to build the corresponding
 	  SWF file.

Index: testsuite/actionscript.all/Microphone.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Microphone.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/Microphone.as	1 Jul 2007 10:54:39 -0000	1.8
+++ testsuite/actionscript.all/Microphone.as	13 Jul 2007 02:59:15 -0000	1.9
@@ -20,24 +20,40 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Microphone.as,v 1.8 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: Microphone.as,v 1.9 2007/07/13 02:59:15 strk Exp $";
 
 #include "check.as"
 
+// There was no Microphone class in SWF5 or lower
+#if OUTPUT_VERSION > 5
+
+// test the Microphone class
+check_equals(typeof(Microphone), 'function');
+xcheck_equals ( typeof(Microphone.prototype.setGain), 'function' );
+xcheck_equals ( typeof(Microphone.prototype.setRate), 'function' );
+xcheck_equals ( typeof(Microphone.prototype.setSilenceLevel), 'function' );
+xcheck_equals ( typeof(Microphone.prototype.setUseEchoSuppression), 'function' );
+
 // test the Microphone constuctor
 var microphoneObj = Microphone.get();
-xcheck (microphoneObj != undefined);
+xcheck_equals (typeof(microphoneObj), 'object');
 
 // test that Microphone.get() returns a singleton
 check_equals(microphoneObj, Microphone.get());
 
 // test that get() method is NOT exported to instances
-check_equals (microphoneObj.get, undefined);
-// test the Microphone::setgain method
-xcheck (microphoneObj.setgain != undefined);
-// test the Microphone::setrate method
-xcheck (microphoneObj.setrate != undefined);
-// test the Microphone::setsilencelevel method
-xcheck (microphoneObj.setsilencelevel != undefined);
-// test the Microphone::setuseechosuppression method
-xcheck (microphoneObj.setuseechosuppression != undefined);
+check_equals (typeof(microphoneObj.get), 'undefined');
+
+// test the Microphone::setGain method
+xcheck_equals ( typeof(microphoneObj.setGain), 'function' );
+
+// test the Microphone::setRate method
+xcheck_equals ( typeof(microphoneObj.setRate), 'function' );
+
+// test the Microphone::setSilenceLevel method
+xcheck_equals ( typeof(microphoneObj.setSilenceLevel), 'function' );
+
+// test the Microphone::setUseEchoSuppression method
+xcheck_equals ( typeof(microphoneObj.setUseEchoSuppression), 'function' );
+
+#endif // OUTPUT_VERSION > 5



From MAILER-DAEMON Thu Jul 12 23:26:34 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9Bne-00020u-GO
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 23:26:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9Bnd-00020p-0O
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:26:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9Bnb-00020d-Ih
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:26:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9Bnb-00020a-BG
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:26:31 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I9Bnb-0002jY-10
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:26:31 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I9Bna-0002Kk-HT
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 03:26:30 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I9Bna-0002Kh-Br
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 03:26:30 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9Bna-0002Kh-Br@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Fri, 13 Jul 2007 03:26:30 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextTest.c
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 03:26:33 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/13 03:26:30

Modified files:
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	more tests

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- DefineEditTextTest.c	13 Jul 2007 02:49:35 -0000	1.12
+++ DefineEditTextTest.c	13 Jul 2007 03:26:30 -0000	1.13
@@ -109,7 +109,7 @@
   //Ming_setScale(20.0); /* so we talk twips */
  
   mo = newSWFMovie();
-  SWFMovie_setRate(mo, 12);
+  SWFMovie_setRate(mo, 1.0);
   SWFMovie_setDimension(mo, 800, 600);
   
   dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10, 0, 0, 800, 600);
@@ -148,15 +148,29 @@
   
   check_equals(mo, "typeof(dtext1)", "'object'");
   check_equals(mo, "typeof(dtext1.text)", "'string'");
+  xcheck_equals(mo, "typeof(dtext1.background)", "'boolean'");
+  xcheck_equals(mo, "typeof(dtext1.backgroundColor)", "'number'");
+  check_equals(mo, "typeof(dtext1.textColor)", "'number'");
+  check_equals(mo, "typeof(dtext1._alpha)", "'number'");
+  
   check_equals(mo, "typeof(dtext1.__proto__.text)", "'undefined'");
+  check_equals(mo, "typeof(dtext1.__proto__.background)", "'undefined'");
+  check_equals(mo, "typeof(dtext1.__proto__.backgroundColor)", "'undefined'");
+  check_equals(mo, "typeof(dtext1.__proto__.textColor)", "'undefined'");
+  check_equals(mo, "typeof(dtext1.__proto__.alpha)", "'undefined'");
   
   xcheck_equals(mo, "dtext1.hasOwnProperty('text')", "false");
   xcheck_equals(mo, "dtext1.hasOwnProperty('background')", "false");
   xcheck_equals(mo, "dtext1.hasOwnProperty('backgroundColor')", "false");
+  xcheck_equals(mo, "dtext1.hasOwnProperty('textColor')", "false");
+  xcheck_equals(mo, "dtext1.hasOwnProperty('_alpha')", "false");
   
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('text')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')", "true");
+  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('textColor')", "true");
+  // ???
+  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");
   
   check_equals(mo, "dtext1.text", "'Hello'");
   check_equals(mo, "etext1.text", "'Hello'");
@@ -167,6 +181,12 @@
   xcheck_equals(mo, "dtext1.backgroundColor", "0xffffff");
   xcheck_equals(mo, "etext1.backgroundColor", "0xffffff");
   xcheck_equals(mo, "dtext2.backgroundColor", "0xffffff");
+  xcheck_equals(mo, "dtext1.textColor", "0x000000");
+  xcheck_equals(mo, "etext1.textColor", "0x000000");
+  xcheck_equals(mo, "dtext2.textColor", "0x000000");
+  xcheck_equals(mo, "dtext1._alpha", "100");
+  xcheck_equals(mo, "etext1._alpha", "100");
+  xcheck_equals(mo, "dtext2._alpha", "100");
   
   add_actions(mo, "dtext1.background = true;"
                   "etext1.background = true;"
@@ -174,6 +194,9 @@
                   "dtext1.backgroundColor = 0xff0000;"
                   "etext1.backgroundColor = 0x00ff00;"
                   "dtext2.backgroundColor = 0x0000ff;"
+                  "dtext1.textColor = 0x00ffff;"
+                  "etext1.textColor = 0xff00ff;"
+                  "dtext2.textColor = 0xffff00;"
                   "dtext1.text += ' world';"
                   "etext1.text += ' world';"
                   "dtext2.text += ' world';" );
@@ -187,7 +210,14 @@
   check_equals(mo, "dtext1.backgroundColor", "0xff0000");
   check_equals(mo, "etext1.backgroundColor", "0x00ff00");
   check_equals(mo, "dtext2.backgroundColor", "0x0000ff");
+  xcheck_equals(mo, "dtext1.textColor", "0x00ffff");
+  xcheck_equals(mo, "etext1.textColor", "0xff00ff");
+  xcheck_equals(mo, "dtext2.textColor", "0xffff00");
+  SWFMovie_nextFrame(mo); 
   
+  add_actions(mo, "dtext1._alpha = 0;"
+                  "etext1._alpha = 0;"
+                  "dtext2._alpha = 0;" );
   add_actions(mo, "totals(); stop();");
   SWFMovie_nextFrame(mo); 
   /*****************************************************



From MAILER-DAEMON Thu Jul 12 23:35:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9BwE-0006Za-1T
	for mharc-gnash-commit@gnu.org; Thu, 12 Jul 2007 23:35:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9BwC-0006XT-2D
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:35:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9BwB-0006Wr-Jk
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:35:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9BwB-0006Wg-G5
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:35:23 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1I9BwB-0004Cs-56
	for gnash-commit@gnu.org; Thu, 12 Jul 2007 23:35:23 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1I9BwA-0002Qb-6R
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 03:35:22 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1I9BwA-0002QX-0a
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 03:35:22 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9BwA-0002QX-0a@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Fri, 13 Jul 2007 03:35:22 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextTest.c
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 03:35:24 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/13 03:35:21

Modified files:
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	more tests

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- DefineEditTextTest.c	13 Jul 2007 03:26:30 -0000	1.13
+++ DefineEditTextTest.c	13 Jul 2007 03:35:21 -0000	1.14
@@ -23,6 +23,8 @@
  * The text written is 'Hello world' in both cases.
  * Text at the bottom is the one with embedded fonts.
  *
+ * TODO: add a testrunner for pixel checking.
+ *
  * run as ./DefineEditTextTest
  */
 
@@ -169,7 +171,7 @@
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('textColor')", "true");
-  // ???
+  // Why _alpha is special???
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");
   
   check_equals(mo, "dtext1.text", "'Hello'");
@@ -218,6 +220,9 @@
   add_actions(mo, "dtext1._alpha = 0;"
                   "etext1._alpha = 0;"
                   "dtext2._alpha = 0;" );
+  check_equals(mo, "dtext1._alpha", "0");
+  check_equals(mo, "etext1._alpha", "0");
+  check_equals(mo, "dtext2._alpha", "0");
   add_actions(mo, "totals(); stop();");
   SWFMovie_nextFrame(mo); 
   /*****************************************************



From MAILER-DAEMON Fri Jul 13 09:05:29 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9Kpt-0007FL-Aa
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 09:05:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9Kpp-0007E6-Oz
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 09:05:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9Kpo-0007DA-0i
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 09:05:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9Kpn-0007D7-S9
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 09:05:23 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1I9Kpn-0004t7-08
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 09:05:23 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6DD5GM35544;
	Fri, 13 Jul 2007 15:05:16 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Fri, 13 Jul 2007 15:05:16 +0200
To: Zou Lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextTest.c
Message-ID: <20070713130516.GE21897@keybit.net>
Mail-Followup-To: Zou Lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1I9BwA-0002QX-0a@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1I9BwA-0002QX-0a@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 13:05:26 -0000

On Fri, Jul 13, 2007 at 03:35:22AM +0000, Zou Lunkai wrote:

> +  // Why _alpha is special???
>    xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");

check( dtext1.hasOwnProperty('_alpha') ) ?

--strk;



From MAILER-DAEMON Fri Jul 13 10:50:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9MTF-0008Ll-Qh
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 10:50:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9MTE-0008Kg-Ol
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 10:50:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9MTC-0008HU-RP
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 10:50:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9MTC-0008HQ-Oz
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 10:50:10 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9MTC-0002QT-BJ
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 10:50:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9MTB-0005aT-1x
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 14:50:09 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9MTA-0005aP-Rd
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 14:50:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9MTA-0005aP-Rd@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 14:50:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 14:50:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 14:50:08

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: TextField.as 
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	        * testsuite/actionscript.all/TextField.as:
	          Add test for TextField.prototype.hasOwnProperty('background')
	          returning false (weird, returns true in
	          misc.ming-all/DefineEditTestTest.c!)
	        * testsuite/misc-ming.all/DefineEditTextTest.c:
	          Add test for TextField.prototype.hasOwnProperty('background')
	          returning true (weird, returns false in actionscript.all/TextField.as!)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3732&r2=1.3733
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3732
retrieving revision 1.3733
diff -u -b -r1.3732 -r1.3733
--- ChangeLog	13 Jul 2007 02:59:15 -0000	1.3732
+++ ChangeLog	13 Jul 2007 14:50:07 -0000	1.3733
@@ -1,5 +1,15 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/TextField.as:
+	  Add test for TextField.prototype.hasOwnProperty('background')
+	  returning false (weird, returns true in
+	  misc.ming-all/DefineEditTestTest.c!)
+	* testsuite/misc-ming.all/DefineEditTextTest.c:
+	  Add test for TextField.prototype.hasOwnProperty('background')
+	  returning true (weird, returns false in actionscript.all/TextField.as!)
+
+2007-07-13 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/actionscript.all/Microphone.as: test cleanup
 	  (see bug #20472).
 	* testsuite/misc-ming.all/Makefile.am: Fix linking

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/actionscript.all/TextField.as	1 Jul 2007 10:54:41 -0000	1.2
+++ testsuite/actionscript.all/TextField.as	13 Jul 2007 14:50:07 -0000	1.3
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.2 2007/07/01 10:54:41 bjacques Exp $";
+rcsid="$Id: TextField.as,v 1.3 2007/07/13 14:50:07 strk Exp $";
 
 #include "check.as"
 
@@ -37,6 +37,8 @@
 check_equals(typeof(TextField.prototype.getDepth), 'function');
 check_equals(typeof(TextField.prototype.removeTextField), 'function');
 check_equals(typeof(TextField.prototype.replaceSel), 'function');
+check(!TextField.prototype.hasOwnProperty('background'));
+
 // this is a static method
 check_equals(typeof(TextField.getFontList), 'function');
 

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- testsuite/misc-ming.all/DefineEditTextTest.c	13 Jul 2007 03:35:21 -0000	1.14
+++ testsuite/misc-ming.all/DefineEditTextTest.c	13 Jul 2007 14:50:08 -0000	1.15
@@ -148,6 +148,9 @@
   }
   SWFMovie_nextFrame(mo); 
   
+  xcheck_equals(mo, "dtext1.__proto__", "TextField.prototype");
+  xcheck(mo, "TextField.prototype.hasOwnProperty('background')");
+  
   check_equals(mo, "typeof(dtext1)", "'object'");
   check_equals(mo, "typeof(dtext1.text)", "'string'");
   xcheck_equals(mo, "typeof(dtext1.background)", "'boolean'");



From MAILER-DAEMON Fri Jul 13 12:05:14 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9Ndq-0003Ox-Fa
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 12:05:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9Ndp-0003NT-C2
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 12:05:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9Ndn-0003M6-SR
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 12:05:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9Ndn-0003Lt-Ln
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 12:05:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9Ndm-0003q4-TC
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 12:05:11 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9Ndl-0001IG-GG
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:05:09 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9Ndl-0001ID-CZ
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:05:09 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9Ndl-0001ID-CZ@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 16:05:09 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler.h backen...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 16:05:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 16:05:09

Modified files:
	.              : ChangeLog 
	backend        : render_handler.h render_handler_agg.cpp 
	                 render_handler_cairo.cpp render_handler_ogl.cpp 
	                 render_handler_tri.cpp render_handler_tri.h 
	server         : fontlib.cpp fontlib.h render.cpp render.h 

Log message:
	        * backend/render_handler.h, backend/render_handler_agg.cpp,
	          backend/render_handler_cairo.cpp,
	          backend/render_handler_ogl.cpp, backend/render_handler_tri.cpp,
	          backend/render_handler_tri.h, server/fontlib.cpp,
	          server/fontlib.h, server/render.cpp, server/render.h:
	          Updated renderer interface to always take gnash::rgba by const ref
	          rather then by value. Should improve performance (removes double
	          copy of 4 float values for each glyph, bitmap, line strip!).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3733&r2=1.3734
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler.h?cvsroot=gnash&r1=1.42&r2=1.43
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&r1=1.90&r2=1.91
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_cairo.cpp?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_ogl.cpp?cvsroot=gnash&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.h?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fontlib.cpp?cvsroot=gnash&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fontlib.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/render.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/render.h?cvsroot=gnash&r1=1.15&r2=1.16

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3733
retrieving revision 1.3734
diff -u -b -r1.3733 -r1.3734
--- ChangeLog	13 Jul 2007 14:50:07 -0000	1.3733
+++ ChangeLog	13 Jul 2007 16:05:07 -0000	1.3734
@@ -1,5 +1,16 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* backend/render_handler.h, backend/render_handler_agg.cpp,
+	  backend/render_handler_cairo.cpp,
+	  backend/render_handler_ogl.cpp, backend/render_handler_tri.cpp,
+	  backend/render_handler_tri.h, server/fontlib.cpp,
+	  server/fontlib.h, server/render.cpp, server/render.h:
+	  Updated renderer interface to always take gnash::rgba by const ref
+	  rather then by value. Should improve performance (removes double
+	  copy of 4 float values for each glyph, bitmap, line strip!).
+
+2007-07-13 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/actionscript.all/TextField.as:
 	  Add test for TextField.prototype.hasOwnProperty('background')
 	  returning false (weird, returns true in

Index: backend/render_handler.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -b -r1.42 -r1.43
--- backend/render_handler.h	1 Jul 2007 10:53:47 -0000	1.42
+++ backend/render_handler.h	13 Jul 2007 16:05:08 -0000	1.43
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler.h,v 1.42 2007/07/01 10:53:47 bjacques Exp $ */
+/* $Id: render_handler.h,v 1.43 2007/07/13 16:05:08 strk Exp $ */
 
 #ifndef RENDER_HANDLER_H
 #define RENDER_HANDLER_H
@@ -319,11 +319,21 @@
 		
 	/// Bracket the displaying of a frame from a movie.
 	//
-	/// Fill the background color, and set up default
-	/// transforms, etc.
+	/// Set up to render a full frame from a movie and fills the
+	/// background.	Sets up necessary transforms, to scale the
+	/// movie to fit within the given dimensions.  Call
+	/// end_display() when you're done.
+	///
+	/// The rectangle (viewport_x0, viewport_y0, viewport_x0 +
+	/// viewport_width, viewport_y0 + viewport_height) defines the
+	/// window coordinates taken up by the movie.
+	///
+	/// The rectangle (x0, y0, x1, y1) defines the pixel
+	/// coordinates of the movie that correspond to the viewport
+	/// bounds.
 	///
 	virtual void	begin_display(
-		rgba background_color,
+		const rgba& background_color,
 		int viewport_x0, int viewport_y0,
 		int viewport_width, int viewport_height,
 		float x0, float x1, float y0, float y1) = 0;
@@ -340,7 +350,7 @@
 	//
 	/// Can be used to draw empty boxes and cursors.
 	virtual void	draw_line_strip(const void* coords, int vertex_count,
-			const rgba color) = 0;
+			const rgba& color) = 0;
     
 	/// Draw a simple, solid filled polygon (no outline).
 	//
@@ -354,7 +364,7 @@
 	/// add an additional vertex to close it.
 	///
 	virtual void  draw_poly(const point* corners, size_t corner_count, 
-		const rgba fill, const rgba outline) = 0;
+		const rgba& fill, const rgba& outline) = 0;
     
 		
 	/// Set line and fill styles for mesh & line_strip rendering.
@@ -375,7 +385,7 @@
 		const bitmap_info*	bi,
 		const rect&		coords,
 		const rect&		uv_coords,
-		rgba			color) = 0;
+		const rgba&		color) = 0;
 		
 	virtual void	set_antialiased(bool enable) = 0;
 		
@@ -481,7 +491,7 @@
 	/// @param pixel_scale
 	///
 	virtual void draw_glyph(shape_character_def *def, const matrix& mat,
-		rgba color, float pixel_scale) = 0;
+		const rgba& color, float pixel_scale) = 0;
     
 	/// The render handler can choose if it wishes to use textured glyphs 
 	/// (pre-computed bitmaps which are used for small text sizes) or if 

Index: backend/render_handler_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -b -r1.90 -r1.91
--- backend/render_handler_agg.cpp	1 Jul 2007 10:53:47 -0000	1.90
+++ backend/render_handler_agg.cpp	13 Jul 2007 16:05:08 -0000	1.91
@@ -17,7 +17,7 @@
 
  
 
-/* $Id: render_handler_agg.cpp,v 1.90 2007/07/01 10:53:47 bjacques Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.91 2007/07/13 16:05:08 strk Exp $ */
 
 // Original version by Udo Giacomozzi and Hannes Mayr, 
 // INDUNET GmbH (www.indunet.it)
@@ -630,7 +630,7 @@
   
 
   void begin_display(
-  gnash::rgba background_color,
+  const gnash::rgba& background_color,
   int /*viewport_x0*/, int /*viewport_y0*/,
   int /*viewport_width*/, int /*viewport_height*/,
   float /*x0*/, float /*x1*/, float /*y0*/, float /*y1*/)
@@ -758,7 +758,7 @@
   }
 
 
-  void  draw_line_strip(const void* coords, int vertex_count, const rgba color)
+  void  draw_line_strip(const void* coords, int vertex_count, const rgba& color)
   // Draw the line strip formed by the sequence of points.
   {
   
@@ -820,7 +820,7 @@
   const gnash::bitmap_info* /*bi*/,
   const gnash::rect& /*coords*/,
   const gnash::rect& /*uv_coords*/,
-  gnash::rgba /*color*/)
+  const gnash::rgba& /*color*/)
   // Draw a rectangle textured with the given bitmap, with the
   // given color.  Apply given transform; ignore any currently
   // set transforms.
@@ -863,7 +863,7 @@
 
 
   void draw_glyph(shape_character_def *def,
-      const matrix& mat, rgba color, float /*pixel_scale*/) {
+      const matrix& mat, const rgba& color, float /*pixel_scale*/) {
       
     // NOTE: def->get_bound() is NULL for glyphs so we can't check the 
     // clipping area (bounds_in_clipping_area):
@@ -1825,8 +1825,8 @@
 
   
   /// Draws the given polygon.
-  void  draw_poly(const point* corners, size_t corner_count, const rgba fill, 
-    const rgba outline) {
+  void  draw_poly(const point* corners, size_t corner_count, const rgba& fill, 
+    const rgba& outline) {
     
     assert(m_pixf != NULL);
 

Index: backend/render_handler_cairo.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_cairo.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- backend/render_handler_cairo.cpp	11 Jul 2007 16:01:51 -0000	1.22
+++ backend/render_handler_cairo.cpp	13 Jul 2007 16:05:08 -0000	1.23
@@ -236,7 +236,7 @@
 
 
 	void	disable()  { m_mode = INVALID; }
-	void	set_color(gnash::rgba color)  { m_mode = COLOR; m_color = color; }
+	void	set_color(const gnash::rgba& color)  { m_mode = COLOR; m_color = color; }
 	void	set_bitmap(const gnash::bitmap_info* bi, const gnash::matrix& m, bitmap_wrap_mode wm, const gnash::cxform& color_transform)
 	    {
 		m_mode = (wm == WRAP_REPEAT) ? BITMAP_WRAP : BITMAP_CLAMP;
@@ -333,7 +333,7 @@
     }
 
     void	begin_display(
-	gnash::rgba background_color,
+	const gnash::rgba& background_color,
 	int /*viewport_x0*/, int /*viewport_y0*/,
 	int viewport_width, int viewport_height,
 	float x0, float x1, float y0, float y1)
@@ -426,7 +426,7 @@
 	}
 
 
-    void	fill_style_color(int fill_side, gnash::rgba color)
+    void	fill_style_color(int fill_side, const gnash::rgba& color)
 	// Set fill style for the left interior of the shape.  If
 	// enable is false, turn off fill for the left interior.
 	{
@@ -436,7 +436,7 @@
 	}
 
 
-    void	line_style_color(gnash::rgba color)
+    void	line_style_color(const gnash::rgba& color)
 	// Set the line style of the shape.  If enable is false, turn
 	// off lines for following curve segments.
 	{
@@ -526,7 +526,7 @@
 	const gnash::bitmap_info* binfo,
 	const gnash::rect& coords,
 	const gnash::rect& /*uv_coords*/,
-	gnash::rgba color)
+	const gnash::rgba& color)
 	// Draw a rectangle textured with the given bitmap, with the
 	// given color.	 Apply given transform; ignore any currently
 	// set transforms.

Index: backend/render_handler_ogl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_ogl.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- backend/render_handler_ogl.cpp	2 Jun 2007 09:54:20 -0000	1.74
+++ backend/render_handler_ogl.cpp	13 Jul 2007 16:05:08 -0000	1.75
@@ -5,7 +5,7 @@
 
 // A render_handler that uses SDL & OpenGL
 
-/* $Id: render_handler_ogl.cpp,v 1.74 2007/06/02 09:54:20 tgc Exp $ */
+/* $Id: render_handler_ogl.cpp,v 1.75 2007/07/13 16:05:08 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -288,7 +288,7 @@
 
 
 	void	disable() { m_mode = INVALID; }
-	void	set_color(gnash::rgba color) { m_mode = COLOR; m_color = color; }
+	void	set_color(const gnash::rgba& color) { m_mode = COLOR; m_color = color; }
 	void	set_bitmap(const gnash::bitmap_info* bi, const gnash::matrix& m, bitmap_wrap_mode wm, const gnash::cxform& color_transform)
 	    {
 		m_mode = (wm == WRAP_REPEAT) ? BITMAP_WRAP : BITMAP_CLAMP;
@@ -466,22 +466,10 @@
 	}
 
     void	begin_display(
-	gnash::rgba background_color,
+	const gnash::rgba& background_color,
 	int viewport_x0, int viewport_y0,
 	int viewport_width, int viewport_height,
 	float x0, float x1, float y0, float y1)
-	// Set up to render a full frame from a movie and fills the
-	// background.	Sets up necessary transforms, to scale the
-	// movie to fit within the given dimensions.  Call
-	// end_display() when you're done.
-	//
-	// The rectangle (viewport_x0, viewport_y0, viewport_x0 +
-	// viewport_width, viewport_y0 + viewport_height) defines the
-	// window coordinates taken up by the movie.
-	//
-	// The rectangle (x0, y0, x1, y1) defines the pixel
-	// coordinates of the movie that correspond to the viewport
-	// bounds.
 	{
 //	    GNASH_REPORT_FUNCTION;
 	    
@@ -638,7 +626,7 @@
 	}
 
 
-    void	fill_style_color(int fill_side, gnash::rgba color)
+    void	fill_style_color(int fill_side, const gnash::rgba& color)
 	// Set fill style for the left interior of the shape.  If
 	// enable is false, turn off fill for the left interior.
 	{
@@ -648,7 +636,7 @@
 	}
 
 
-    void	line_style_color(gnash::rgba color)
+    void	line_style_color(const gnash::rgba& color)
 	// Set the line style of the shape.  If enable is false, turn
 	// off lines for following curve segments.
 	{
@@ -823,7 +811,7 @@
 	const gnash::bitmap_info* bi,
 	const gnash::rect& coords,
 	const gnash::rect& uv_coords,
-	gnash::rgba color)
+	const gnash::rgba& color)
 	// Draw a rectangle textured with the given bitmap, with the
 	// given color.	 Apply given transform; ignore any currently
 	// set transforms.

Index: backend/render_handler_tri.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_tri.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- backend/render_handler_tri.cpp	3 Jul 2007 05:46:02 -0000	1.15
+++ backend/render_handler_tri.cpp	13 Jul 2007 16:05:08 -0000	1.16
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.cpp,v 1.15 2007/07/03 05:46:02 strk Exp $ */
+/* $Id: render_handler_tri.cpp,v 1.16 2007/07/13 16:05:08 strk Exp $ */
 
 #include "render_handler_tri.h"
 
@@ -119,7 +119,7 @@
 
 
 void triangulating_render_handler::draw_glyph(shape_character_def *def,
-    const matrix& mat, rgba color, float pixel_scale) {
+    const matrix& mat, const rgba& color, float pixel_scale) {
     
   // Make sure m_single_fill_styles contains the desired color
   need_single_fill_style(color);
@@ -286,7 +286,7 @@
 
 
 void	triangulating_render_handler::draw_line_strip(const void* coords, 
-  int vertex_count, const rgba color) {
+  int vertex_count, const rgba& color) {
   
   line_style_color(color);
   line_style_width(1);
@@ -295,7 +295,7 @@
 }
 
 void  triangulating_render_handler::draw_poly(const point* corners, 
-  size_t corner_count, const rgba fill, const rgba outline) {
+  size_t corner_count, const rgba& fill, const rgba& outline) {
   
   unsigned int vno=0;
   // Create points array to vertex array 

Index: backend/render_handler_tri.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_tri.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- backend/render_handler_tri.h	3 Jul 2007 05:46:02 -0000	1.12
+++ backend/render_handler_tri.h	13 Jul 2007 16:05:08 -0000	1.13
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.h,v 1.12 2007/07/03 05:46:02 strk Exp $ */
+/* $Id: render_handler_tri.h,v 1.13 2007/07/13 16:05:08 strk Exp $ */
 
 #ifndef GNASH_RENDER_HANDLER_TRI_H
 #define GNASH_RENDER_HANDLER_TRI_H
@@ -123,15 +123,15 @@
 
   /// Triangulating render handlers do not need to support this special version
   /// of draw_line_strip().     
-  void	draw_line_strip(const void* coords, int vertex_count, const rgba color);
+  void	draw_line_strip(const void* coords, int vertex_count, const rgba& color);
   
   /// The given polygon is translated to a mesh strip by this class.
-  void  draw_poly(const point* corners, size_t corner_count, const rgba fill, 
-    const rgba outline);
+  void  draw_poly(const point* corners, size_t corner_count, const rgba& fill, 
+    const rgba& outline);
     
   /// The glyph is drawn just like a normal shape character.
   virtual void draw_glyph(shape_character_def *def,
-    const matrix& mat, rgba color, float pixel_scale);
+    const matrix& mat, const rgba& color, float pixel_scale);
     
   /// Older backends always used glyph textures, so any triangulating render
   /// handler activates glyph textures by default.
@@ -167,7 +167,7 @@
 	virtual void	fill_style_disable(int fill_side) = 0;
 	
 	/// Sets the fill style to the given solid color. 
-	virtual void	fill_style_color(int fill_side, rgba color) = 0;
+	virtual void	fill_style_color(int fill_side, const rgba& color) = 0;
 	
 	/// Sets the fill style to the given bitmap. This is also used for gradients
 	/// which are transformed to a bitmap prior to this call. 
@@ -178,7 +178,7 @@
 	virtual void	line_style_disable() = 0;
 	
 	/// Sets the stroke color for subsequent draw_line_strip() calls 
-	virtual void	line_style_color(rgba color) = 0;
+	virtual void	line_style_color(const rgba& color) = 0;
 	
 	/// Sets the stroke width for subsequent draw_line_strip() calls. When 
   /// width==1.0 a "hairline" should be drawn. 

Index: server/fontlib.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/fontlib.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- server/fontlib.cpp	11 Jul 2007 16:16:51 -0000	1.31
+++ server/fontlib.cpp	13 Jul 2007 16:05:08 -0000	1.32
@@ -5,7 +5,7 @@
 
 // A module to take care of all of gnash's loaded fonts.
 
-/* $Id: fontlib.cpp,v 1.31 2007/07/11 16:16:51 strk Exp $ */
+/* $Id: fontlib.cpp,v 1.32 2007/07/13 16:05:08 strk Exp $ */
 
 #include "container.h"
 #include "tu_file.h"
@@ -1312,7 +1312,7 @@
 	}
 
 
-	void	draw_glyph(const matrix& mat, const texture_glyph& tg, rgba color, int nominal_glyph_height)
+	void	draw_glyph(const matrix& mat, const texture_glyph& tg, const rgba& color, int nominal_glyph_height)
 	// Draw the given texture glyph using the given transform, in
 	// the given color.
 	{

Index: server/fontlib.h
===================================================================
RCS file: /sources/gnash/gnash/server/fontlib.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/fontlib.h	11 Jul 2007 16:16:51 -0000	1.7
+++ server/fontlib.h	13 Jul 2007 16:05:09 -0000	1.8
@@ -62,7 +62,7 @@
 	void	add_font(font* f);
 
 	// For drawing a textured glyph w/ current render transforms.
-	void	draw_glyph(const matrix& m, const texture_glyph& g, rgba color, int nominal_glyph_height);
+	void	draw_glyph(const matrix& m, const texture_glyph& g, const rgba& color, int nominal_glyph_height);
 
 	// Return the pixel height of text, such that the
 	// texture glyphs are sampled 1-to-1 texels-to-pixels.

Index: server/render.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/render.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/render.cpp	28 Feb 2007 17:25:26 -0000	1.15
+++ server/render.cpp	13 Jul 2007 16:05:09 -0000	1.16
@@ -111,7 +111,7 @@
 		// Fill the background color, and set up default
 		// transforms, etc.
 		void	begin_display(
-			rgba background_color,
+			const rgba& background_color,
 			int viewport_x0, int viewport_y0,
 			int viewport_width, int viewport_height,
 			float x0, float x1, float y0, float y1)
@@ -159,7 +159,7 @@
 		}
 
 
-		void	draw_line_strip(const int16_t coords[], int vertex_count, const rgba color)
+		void	draw_line_strip(const int16_t coords[], int vertex_count, const rgba& color)
 		{
 #ifdef DEBUG_RENDER_CALLS
 			GNASH_REPORT_FUNCTION;
@@ -168,8 +168,8 @@
     }
 
 
-    void  draw_poly(const point* corners, int corner_count, const rgba fill, 
-      const rgba outline) 
+    void  draw_poly(const point* corners, int corner_count, const rgba& fill, 
+      const rgba& outline) 
 		{
 #ifdef DEBUG_RENDER_CALLS
 			GNASH_REPORT_FUNCTION;
@@ -190,7 +190,7 @@
     
     void draw_glyph(shape_character_def *def,
       const matrix& mat,
-      rgba color,
+      const rgba& color,
       float pixel_scale) 
     {
 #ifdef DEBUG_RENDER_CALLS
@@ -259,7 +259,7 @@
 		// Special function to draw a rectangular bitmap;
 		// intended for textured glyph rendering.  Ignores
 		// current transforms.
-		void	draw_bitmap(const matrix& m, const bitmap_info* bi, const rect& coords, const rect& uv_coords, rgba color)
+		void	draw_bitmap(const matrix& m, const bitmap_info* bi, const rect& coords, const rect& uv_coords, const rgba& color)
 		{
 #ifdef DEBUG_RENDER_CALLS
 			GNASH_REPORT_FUNCTION;

Index: server/render.h
===================================================================
RCS file: /sources/gnash/gnash/server/render.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/render.h	28 Feb 2007 17:25:26 -0000	1.15
+++ server/render.h	13 Jul 2007 16:05:09 -0000	1.16
@@ -73,7 +73,7 @@
 
 		/// See render_handler::begin_display (in backend/render_handler.h)
 		void	begin_display(
-			rgba background_color,
+			const rgba& background_color,
 			int viewport_x0, int viewport_y0,
 			int viewport_width, int viewport_height,
 			float x0, float x1, float y0, float y1);
@@ -100,11 +100,11 @@
 
 		/// See render_handler::draw_line_strip (in backend/render_handler.h)
 		void	draw_line_strip(const int16_t coords[],
-				int vertex_count, const rgba color);
+				int vertex_count, const rgba& color);
 
 		/// See render_handler::draw_poly (in backend/render_handler.h)
 		void  draw_poly(const point* corners, int corner_count,
-				const rgba fill, const rgba outline);
+				const rgba& fill, const rgba& outline);
       
 		/// See render_handler::draw_shape_character (in backend/render_handler.h)
 		void draw_shape_character(shape_character_def *def,
@@ -112,7 +112,7 @@
       
 		/// See render_handler::draw_glyph (in backend/render_handler.h)
 		void draw_glyph(shape_character_def *def, const matrix& mat,
-				rgba color, float pixel_scale);
+				const rgba& color, float pixel_scale);
 
 		/// See render_handler::allow_glyph_textures (in backend/render_handler.h)
 		bool allow_glyph_textures();				
@@ -134,7 +134,7 @@
 		/// See render_handler::draw_bitmap (in backend/render_handler.h)
 		void	draw_bitmap(const matrix& m, const bitmap_info* bi,
 				const rect& coords,
-				const rect& uv_coords, rgba color);
+				const rect& uv_coords, const rgba& color);
 
 	}	// end namespace render
 



From MAILER-DAEMON Fri Jul 13 15:13:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9QaP-0003U5-7E
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 15:13:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9QaO-0003Tk-4g
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 15:13:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9QaM-0003TF-6H
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 15:13:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9QaL-0003T8-VF
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 15:13:50 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9QaL-0001MW-FF
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 15:13:49 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9QaK-0005Ah-4G
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 19:13:48 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9QaJ-0005Ab-VR
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 19:13:48 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9QaJ-0005Ab-VR@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 19:13:47 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 19:13:52 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 19:13:47

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: TextField.as 

Log message:
	        * testsuite/actionscript.all/TextField.as: an hopefully complete
	          testcase for the TextField class. Reveals a pattern in the
	          TextField.prototype properties being created on first call to
	          createTextField() which looks interesting. Gnash fails about
	          half of the over 250 tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3734&r2=1.3735
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3734
retrieving revision 1.3735
diff -u -b -r1.3734 -r1.3735
--- ChangeLog	13 Jul 2007 16:05:07 -0000	1.3734
+++ ChangeLog	13 Jul 2007 19:13:47 -0000	1.3735
@@ -1,5 +1,13 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/TextField.as: an hopefully complete
+	  testcase for the TextField class. Reveals a pattern in the
+	  TextField.prototype properties being created on first call to 
+	  createTextField() which looks interesting. Gnash fails about
+	  half of the over 250 tests.
+
+2007-07-13 Sandro Santilli <strk@keybit.net>
+
 	* backend/render_handler.h, backend/render_handler_agg.cpp,
 	  backend/render_handler_cairo.cpp,
 	  backend/render_handler_ogl.cpp, backend/render_handler_tri.cpp,

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/actionscript.all/TextField.as	13 Jul 2007 14:50:07 -0000	1.3
+++ testsuite/actionscript.all/TextField.as	13 Jul 2007 19:13:47 -0000	1.4
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.3 2007/07/13 14:50:07 strk Exp $";
+rcsid="$Id: TextField.as,v 1.4 2007/07/13 19:13:47 strk Exp $";
 
 #include "check.as"
 
@@ -37,7 +37,34 @@
 check_equals(typeof(TextField.prototype.getDepth), 'function');
 check_equals(typeof(TextField.prototype.removeTextField), 'function');
 check_equals(typeof(TextField.prototype.replaceSel), 'function');
-check(!TextField.prototype.hasOwnProperty('background'));
+
+// NOTE: the following will be true after a call to createTextField ! Seek forward to see..
+check( !TextField.prototype.hasOwnProperty('background'));
+check( !TextField.prototype.hasOwnProperty('backgroundColor'));
+check( !TextField.prototype.hasOwnProperty('autoSize') );
+check( !TextField.prototype.hasOwnProperty('border') );
+check( !TextField.prototype.hasOwnProperty('borderColor') );
+check( !TextField.prototype.hasOwnProperty('bottomScroll') );
+check( !TextField.prototype.hasOwnProperty('embedFonts') );
+check( !TextField.prototype.hasOwnProperty('hscroll') );
+check( !TextField.prototype.hasOwnProperty('html') );
+check( !TextField.prototype.hasOwnProperty('htmlText') );
+check( !TextField.prototype.hasOwnProperty('length') );
+check( !TextField.prototype.hasOwnProperty('maxChars') );
+check( !TextField.prototype.hasOwnProperty('maxhscroll') );
+check( !TextField.prototype.hasOwnProperty('maxscroll') );
+check( !TextField.prototype.hasOwnProperty('multiline') );
+check( !TextField.prototype.hasOwnProperty('password') );
+check( !TextField.prototype.hasOwnProperty('restrict') );
+check( !TextField.prototype.hasOwnProperty('scroll') );
+check( !TextField.prototype.hasOwnProperty('selectable') );
+check( !TextField.prototype.hasOwnProperty('text') );
+check( !TextField.prototype.hasOwnProperty('textColor') );
+check( !TextField.prototype.hasOwnProperty('textHeight') );
+check( !TextField.prototype.hasOwnProperty('textWidth') );
+check( !TextField.prototype.hasOwnProperty('type') );
+xcheck( !TextField.prototype.hasOwnProperty('variable') );
+check( !TextField.prototype.hasOwnProperty('wordWrap') );
 
 // this is a static method
 check_equals(typeof(TextField.getFontList), 'function');
@@ -66,5 +93,469 @@
 // this is a static method, it's available as TextField.getFontList
 check_equals(typeof(tfObj.getFontList), 'undefined');
 
+//--------------------------------------------------
+// Check textfield creation trough createTextField
+//--------------------------------------------------
+
+ret = createTextField("tf", 99, 10, 10, 500, 500);
+check_equals(typeof(ref), 'undefined');
+
+check_equals(typeof(tf), 'object');
+
+// NOTE: the following were false before the call to createTextField ! Seek backward to see..
+xcheck( TextField.prototype.hasOwnProperty('background'));
+xcheck( TextField.prototype.hasOwnProperty('backgroundColor'));
+xcheck( TextField.prototype.hasOwnProperty('autoSize') );
+xcheck( TextField.prototype.hasOwnProperty('border') );
+xcheck( TextField.prototype.hasOwnProperty('borderColor') );
+xcheck( TextField.prototype.hasOwnProperty('bottomScroll') );
+xcheck( TextField.prototype.hasOwnProperty('embedFonts') );
+xcheck( TextField.prototype.hasOwnProperty('hscroll') );
+xcheck( TextField.prototype.hasOwnProperty('html') );
+xcheck( TextField.prototype.hasOwnProperty('htmlText') );
+xcheck( TextField.prototype.hasOwnProperty('length') );
+xcheck( TextField.prototype.hasOwnProperty('maxChars') );
+xcheck( TextField.prototype.hasOwnProperty('maxhscroll') );
+xcheck( TextField.prototype.hasOwnProperty('maxscroll') );
+xcheck( TextField.prototype.hasOwnProperty('multiline') );
+xcheck( TextField.prototype.hasOwnProperty('password') );
+xcheck( TextField.prototype.hasOwnProperty('restrict') );
+xcheck( TextField.prototype.hasOwnProperty('scroll') );
+xcheck( TextField.prototype.hasOwnProperty('selectable') );
+xcheck( TextField.prototype.hasOwnProperty('text') );
+xcheck( TextField.prototype.hasOwnProperty('textColor') );
+xcheck( TextField.prototype.hasOwnProperty('textHeight') );
+xcheck( TextField.prototype.hasOwnProperty('textWidth') );
+xcheck( TextField.prototype.hasOwnProperty('type') );
+check( TextField.prototype.hasOwnProperty('variable') );
+xcheck( TextField.prototype.hasOwnProperty('wordWrap') );
+
+// Check TextField._alpha
+
+check_equals(typeof(tf._alpha), 'number');
+check( ! tf.hasOwnProperty('_alpha') ); // why ??
+check( ! tf.__proto__.hasOwnProperty('_alpha') ); // why ??
+
+// Check TextField.autoSize
+
+xcheck_equals(typeof(tf.autoSize), 'string');
+xcheck_equals(tf.autoSize, 'none'); // TODO: research which valid values we have
+check(! tf.hasOwnProperty('autoSize'));
+
+// Check TextField.background
+
+xcheck_equals(typeof(tf.background), 'boolean');
+check(!tf.hasOwnProperty('background'));
+
+// Check TextField.backgroundColor
+
+xcheck_equals(typeof(tf.backgroundColor), 'number');
+check(!tf.hasOwnProperty('backgroundColor'));
+
+// Check TextField.border
+
+xcheck_equals(typeof(tf.border), 'boolean');
+check(!tf.hasOwnProperty('border'));
+
+// Check TextField.borderColor
+
+xcheck_equals(typeof(tf.borderColor), 'number');
+check(!tf.hasOwnProperty('borderColor'));
+
+// Check TextField.bottomScroll
+
+xcheck_equals(typeof(tf.bottomScroll), 'number');
+check(!tf.hasOwnProperty('bottomScroll'));
+xcheck_equals(tf.bottomScroll, 1);
+tf.bottomScroll = 100; // bottomScroll is read-only
+xcheck_equals(tf.bottomScroll, 1);
+
+// Check TextField.embedFonts
+
+xcheck_equals(typeof(tf.embedFonts), 'boolean');
+check(!tf.hasOwnProperty('embedFonts'));
+xcheck_equals(tf.embedFonts, false);
+// TODO: do this test with really embedded fonts, in misc-ming.all/DefineEditTextTest.c
+
+// Check TextField._highquality
+
+xcheck_equals(typeof(tf._highquality), 'number');
+check(!tf.hasOwnProperty('_highquality'));
+check(!tf.__proto__.hasOwnProperty('_highquality'));
+xcheck_equals(tf._highquality, 1);
+tf._highquality = 0;
+check_equals(tf._highquality, 0);
+tf._highquality = 1;
+
+// Check TextField._height (how is this different from textHeight?)
+
+check_equals(typeof(tf._height), 'number');
+check(!tf.hasOwnProperty('_height'));
+check(!tf.__proto__.hasOwnProperty('_height'));
+xcheck_equals(tf._height, 500); // as we created it, see createTextField call
+tf._height = 99999;
+xcheck_equals(tf._height, 99999); 
+tf._height = 500;
+
+// Check TextField.hscroll
+
+xcheck_equals(typeof(tf.hscroll), 'number');
+check(!tf.hasOwnProperty('hscroll'));
+xcheck_equals(tf.hscroll, 0);
+tf.hscroll = 1;
+xcheck_equals(tf.hscroll, 0);
+tf.hscroll = 0;
+
+// Check TextField.html
+
+xcheck_equals(typeof(tf.html), 'boolean');
+check(!tf.hasOwnProperty('html'));
+xcheck_equals(tf.html, false);
+tf.html = true;
+check_equals(tf.html, true);
+tf.html = false;
+
+// Check TextField.htmlText (the displayed text in explicit HTML)
+
+xcheck_equals(typeof(tf.htmlText), 'string');
+check(!tf.hasOwnProperty('htmlText'));
+xcheck_equals(tf.htmlText, '');
+tf.htmlText = new Array;
+xcheck_equals(typeof(tf.htmlText), 'string'); // forced cast to string
+xcheck_equals(tf.htmlText, ''); 
+check_equals(tf.html, false);
+tf.htmlText = "Hello <b>html</b> world";
+check_equals(tf.html, false); // assigning to htmlText doesn't change the 'html' flag
+check_equals(tf.htmlText, 'Hello <b>html</b> world');
+// Changing htmlText also changes text
+xcheck_equals(tf.text, 'Hello <b>html</b> world');
+tf.text = "Hello world";
+xcheck_equals(tf.htmlText, 'Hello world');
+
+// Check TextField.length  (number of characters in text)
+
+xcheck_equals(typeof(tf.length), 'number');
+check(!tf.hasOwnProperty('length'));
+tf.text = "";
+xcheck_equals(tf.length, 0);
+tf.length = 10; // you don't change lenght like this, you assign to text instead
+xcheck_equals(tf.length, 0);
+tf.text = "Hello world";
+xcheck_equals(tf.length, 11);
+tf.htmlText = "Hello <b>world</b>";
+xcheck_equals(tf.length, 18); // the tags are also counted
+
+// Check TextField.maxChars
+
+xcheck_equals(typeof(tf.maxChars), 'null');
+check(!tf.hasOwnProperty('maxChars'));
+tf.maxChars = 10;
+check_equals(tf.maxChars, 10);
+tf.maxChars = null;
+
+// Check TextField.maxhscroll
+
+xcheck_equals(typeof(tf.maxhscroll), 'number');
+check(!tf.hasOwnProperty('maxhscroll'));
+xcheck_equals(tf.maxhscroll, 0);
+tf.maxhscroll = 10;
+xcheck_equals(tf.maxhscroll, 0); // read-only
+
+// Check TextField.maxscroll
+
+xcheck_equals(typeof(tf.maxscroll), 'number');
+check(!tf.hasOwnProperty('maxscroll'));
+xcheck_equals(tf.maxscroll, 1);
+tf.maxscroll = 10;
+xcheck_equals(tf.maxscroll, 1); // read-only
+
+// Check TextField.multiline
+
+xcheck_equals(typeof(tf.multiline), 'boolean');
+check(!tf.hasOwnProperty('multiline'));
+xcheck_equals(tf.multiline, false);
+tf.multiline = true;
+check_equals(tf.multiline, true);
+tf.multiline = false;
+
+// Check TextField._name
+
+xcheck_equals(typeof(tf._name), 'string');
+check(!tf.hasOwnProperty('_name'));
+check(!tf.__proto__.hasOwnProperty('_name'));
+xcheck_equals(tf._name, 'tf');
+// TODO: see effects of changing _name
+
+// Check TextField._parent
+
+xcheck_equals(typeof(tf._parent), 'movieclip');
+check(!tf.hasOwnProperty('_parent'));
+check(!tf.__proto__.hasOwnProperty('_parent'));
+xcheck_equals(tf._parent, _root);
+
+// Check TextField.password
+
+xcheck_equals(typeof(tf.password), 'boolean');
+check(!tf.hasOwnProperty('password'));
+xcheck_equals(tf.password, false);
+tf.password = true;
+check_equals(tf.password, true);
+// TODO: check effects of setting to 'password' (should hide characters)
+tf.password = false;
+
+// Check TextField.quality
+
+// TODO: check this, might be a string
+xcheck_equals(typeof(tf._quality), 'string');
+check(!tf.hasOwnProperty('quality'));
+check(!tf.__proto__.hasOwnProperty('quality'));
+check(!tf.__proto__.__proto__.hasOwnProperty('quality'));
+check(!tf.__proto__.__proto__.__proto__.hasOwnProperty('quality'));
+xcheck_equals(tf._quality, "HIGH");
+tf._quality = "FAKE VALUE";
+xcheck_equals(tf._quality, "HIGH");
+tf._quality = "LOW";
+check_equals(tf._quality, "LOW");
+
+// Check TextField.restrict (the set of characters a user can input)
+
+xcheck_equals(typeof(tf.restrict), 'null');
+check(!tf.hasOwnProperty('restrict'));
+tf.text = "Hello World";
+tf.restrict = "olH";
+check_equals(tf.text, "Hello World");
+tf.text = "Hello World"; // override
+// doesn't influence explicit setting, only GUI modification
+// of the textfield (TODO: test with a MovieTester)
+check_equals(tf.text, "Hello World");
+
+
+// Check TextField._rotation
+
+xcheck_equals(typeof(tf._rotation), 'number');
+check(!tf.hasOwnProperty('_rotation'));
+check(!tf.__proto__.hasOwnProperty('_rotation'));
+xcheck_equals(tf._rotation, 0);
+tf._rotation = 10;
+check_equals(tf._rotation, 10);
+tf._rotation = 0;
+
+// Check TextField.scroll
+
+// TODO: better test for this, might do nothing if there's no scrollin
+xcheck_equals(typeof(tf.scroll), 'number');
+check( ! tf.hasOwnProperty('scroll') ); 
+xcheck_equals(tf.scroll, 1);
+tf.scroll = 10;
+xcheck_equals(tf.scroll, 1); // read-only
+
+// Check TextField.selectable
+
+xcheck_equals(typeof(tf.selectable), 'boolean');
+check( ! tf.hasOwnProperty('selectable') ); 
+xcheck_equals(tf.selectable, true);
+tf.selectable = false;
+check_equals(tf.selectable, false);
+tf.selectable = true;
+
+// Check TextField._soundbuftime
+
+xcheck_equals(typeof(tf._soundbuftime), 'number');
+check( ! tf.hasOwnProperty('_soundbuftime') ); 
+check( ! tf.__proto__.hasOwnProperty('_soundbuftime') ); 
+xcheck_equals(tf._soundbuftime, 5); // the default is 5, it seems
+
+// Check TextField.tabEnabled
+
+check_equals(typeof(tf.tabEnabled), 'undefined');
+check( ! tf.hasOwnProperty('tabEnabled') ); 
+check( ! tf.__proto__.hasOwnProperty('tabEnabled') ); 
+tf.tabEnabled = false;
+check_equals(tf.tabEnabled, false);
+delete(tf.tabEnabled);
+
+// Check TextField.tabIndex
+
+check_equals(typeof(tf.tabIndex), 'undefined');
+check( ! tf.hasOwnProperty('tabIndex') ); 
+check( ! tf.__proto__hasOwnProperty('tabIndex') ); 
+tf.tabIndex = 9;
+check_equals(tf.tabIndex, 9);
+delete(tf.tabIndex);
+
+// Check TextField._target
+
+xcheck_equals(typeof(tf._target), 'string');
+check( ! tf.hasOwnProperty('_target') ); 
+check( ! tf.__proto__.hasOwnProperty('_target') ); 
+xcheck_equals(tf._target, '/tf');
+// TODO: check the effect of changing _name on the _target value
+tf._target = "fake_target"; // read-only
+xcheck_equals(tf._target, '/tf');
+
+// Check TextField.text
+
+check_equals(typeof(tf.text), 'string');
+check( ! tf.hasOwnProperty('text') ); 
+check_equals(tf.text, 'Hello World');
+tf.text = "hello world";
+check_equals(tf.text, 'hello world');
+xcheck_equals(tf.length, 11); // number of characters in "hello world"
+
+
+// Check TextField.textColor
+
+check_equals(typeof(tf.textColor), 'number');
+check( ! tf.hasOwnProperty('textColor') ); 
+xcheck_equals(tf.textColor, 0);
+tf.textColor = 0xFF0000;
+xcheck_equals(tf.textColor, 0xFF0000);
+// TODO: check color (use misc-ming.all/DefineEditTextTest.swf and a test runner with check_pixel)
+
+// Check TextField.textHeight (height of the bounding box)
+
+xcheck_equals(typeof(tf.textHeight), 'number');
+check( ! tf.hasOwnProperty('textHeight') ); 
+currentHeight = tf.textHeight; // WARNING: this might depend on the default font height
+tf.textHeight = 1000;
+xcheck_equals(tf.textHeight, currentHeight); // was read-only (I think)
+
+// Check TextField.textWidth (width of the bounding box)
+
+check_equals(typeof(tf.textWidth), 'number');
+check( ! tf.hasOwnProperty('textWidth') ); 
+currentWidth = tf.textWidth; // WARNING: this might depend on the default font height
+tf.textWidth = 1000;
+check_equals(tf.textWidth, currentWidth); // was read-only (I think)
+
+// Check TextField.type (input or dynamic)
+
+xcheck_equals(typeof(tf.type), 'string');
+check( ! tf.hasOwnProperty('type') ); 
+xcheck_equals(tf.type, 'dynamic'); 
+tf.type = "input";
+check_equals(tf.type, 'input'); 
+tf.type = new Array();
+xcheck_equals(typeof(tf.type), 'string');  // invalid assignment
+xcheck_equals(tf.type, 'input');  // keeps previous value
+tf.type = "dynamic";
+check_equals(tf.type, 'dynamic');  
+tf.type = new Array();
+xcheck_equals(tf.type, 'dynamic'); // keeps previous value 
+
+// Check TextField._url (url of the SWF that created the textfield)
+
+xcheck_equals(typeof(tf._url), 'string');
+check( ! tf.hasOwnProperty('_url') ); 
+check( ! tf.__proto__.hasOwnProperty('_url') ); 
+xcheck_equals(tf._url, _root._url);
+tf._url = "fake url";
+xcheck_equals(tf._url, _root._url); // read-only
+
+// Check TextField.variable (variable name associated with the textfield)
+
+xcheck_equals(typeof(tf.variable), 'null');
+check( ! tf.hasOwnProperty('variable') ); 
+tf.variable = _level0.inputVar;
+xcheck_equals(typeof(tf.variable), 'null'); // read-only
+// TODO: test 'variable' in misc-ming.all/DefineEditTextVariableName.c,
+//       as it seems the 'variable' member is not settable on a dynamic
+//       text field.
+
+
+// Check TextField._visible 
+
+check_equals(typeof(tf._visible), 'boolean');
+check( ! tf.hasOwnProperty('_visible') ); 
+check( ! tf.__proto__.hasOwnProperty('_visible') ); 
+check_equals(tf._visible, true);
+tf._visible = false;
+check_equals(tf._visible, false);
+tf._visible = true;
+
+// Check TextField._width (how is this different from textWidth ?)
+
+check_equals(typeof(tf._width), 'number');
+check( ! tf.hasOwnProperty('_width') ); 
+check( ! tf.__proto__.hasOwnProperty('_width') ); 
+xcheck_equals(tf._width, 500); // as it was set by createTextField, see above
+tf._width = 99999;
+xcheck_equals(tf._width, 99999); 
+tf._width = 500;
+
+// Check TextField.wordWrap (should text wrap when bbox limit is hit?)
+
+xcheck_equals(typeof(tf.wordWrap), 'boolean');
+check( ! tf.hasOwnProperty('wordWrap') ); 
+xcheck_equals(tf.wordWrap, false);
+
+// Check TextField._x 
+
+check_equals(typeof(tf._x), 'number');
+check( ! tf.hasOwnProperty('_x') );
+check( ! tf.__proto__.hasOwnProperty('_x') );
+check_equals(tf._x, 10); // as set by createTextField
+tf._x = 20;
+check_equals(tf._x, 20);
+
+// Check TextField._xmouse
+
+xcheck_equals(typeof(tf._xmouse), 'number');
+check( ! tf.hasOwnProperty('_xmouse') );
+check( ! tf.__proto__.hasOwnProperty('_xmouse') );
+currXmouse = tf._xmouse; // unsafe, if user moves the mouse while running the test
+tf._xmouse = "a string";
+xcheck_equals(typeof(tf._xmouse), 'number');
+xcheck_equals(tf._xmouse, currXmouse); // possibly unsafe, if user moves the mouse while running the test
+
+// Check TextField._xscale
+
+xcheck_equals(typeof(tf._xscale), 'number');
+check( ! tf.hasOwnProperty('_xscale') );
+check( ! tf.__proto__.hasOwnProperty('_xscale') );
+xcheck_equals(tf._xscale, 100); 
+// check how .textWidth and ._width change when changing _xscale
+currTextWidth = tf.textWidth;
+currWidth = tf._width;
+tf._xscale = 200;
+note("textWidth: _xscale=100: "+currTextWidth+"; _xscale=200: "+tf.textWidth);
+// check_equals(tf.textWidth, currTextWidth*2); // not clear what does textWidth depend on
+check_equals(tf._width, currWidth*2);
+tf._xscale = 100;
+
+// Check TextField._y 
+
+check_equals(typeof(tf._y), 'number');
+check( ! tf.hasOwnProperty('_y') );
+check( ! tf.__proto__.hasOwnProperty('_y') );
+check_equals(tf._y, 10); // as set by createTextField
+tf._y = 5;
+check_equals(tf._y, 5);
+
+// Check TextField._ymouse
+
+xcheck_equals(typeof(tf._ymouse), 'number');
+check( ! tf.hasOwnProperty('_ymouse') );
+check( ! tf.__proto__.hasOwnProperty('_ymouse') );
+currYmouse = tf._ymouse;
+tf._ymouse = "a string";
+xcheck_equals(typeof(tf._ymouse), 'number');
+xcheck_equals(tf._ymouse, currYmouse); // possibly unsafe, if user moves the mouse while running the test
+
+// Check TextField._yscale
+
+xcheck_equals(typeof(tf._yscale), 'number');
+check( ! tf.hasOwnProperty('_yscale') );
+check( ! tf.__proto__.hasOwnProperty('_yscale') );
+xcheck_equals(tf._yscale, 100); 
+// check how .textHeight and ._height change based on _yscale
+currTextHeight = tf.textHeight;
+currHeight = tf._height;
+tf._yscale = 200;
+note("textHeight: _yscale=100: "+currTextHeight+"; _yscale=200: "+tf.textHeight);
+// check_equals(tf.textHeight, currTextHeight*2); // not clear what does textHeight depend on
+check_equals(tf._height, currHeight*2);
+tf._yscale = 100;
+
 
 #endif // OUTPUT_VERSION > 5



From MAILER-DAEMON Fri Jul 13 15:24:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9QkW-0002uU-F1
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 15:24:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9QkU-0002rv-UO
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 15:24:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9QkU-0002qi-2G
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 15:24:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9QkU-0002qf-04
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 15:24:18 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9QkT-0003bw-LO
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 15:24:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9QkS-0005vP-CC
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 19:24:16 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9QkS-0005vM-5i
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 19:24:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9QkS-0005vM-5i@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 19:24:16 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/Mouse.cpp testsuit...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 19:24:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 19:24:16

Modified files:
	.              : ChangeLog 
	server/asobj   : Mouse.cpp 
	testsuite/actionscript.all: Mouse.as 

Log message:
	        * server/asobj/Mouse.cpp: fix case of addListener and removeListener
	          methods, add TODO for fixing all.
	        * testsuite/actionscript.all/Mouse.as: fix the test (case issue, and
	          poor comparisons).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3735&r2=1.3736
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Mouse.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Mouse.as?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3735
retrieving revision 1.3736
diff -u -b -r1.3735 -r1.3736
--- ChangeLog	13 Jul 2007 19:13:47 -0000	1.3735
+++ ChangeLog	13 Jul 2007 19:24:15 -0000	1.3736
@@ -1,5 +1,12 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* server/asobj/Mouse.cpp: fix case of addListener and removeListener
+	  methods, add TODO for fixing all.
+	* testsuite/actionscript.all/Mouse.as: fix the test (case issue, and
+	  poor comparisons).
+
+2007-07-13 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/actionscript.all/TextField.as: an hopefully complete
 	  testcase for the TextField class. Reveals a pattern in the
 	  TextField.prototype properties being created on first call to 

Index: server/asobj/Mouse.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Mouse.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/asobj/Mouse.cpp	1 Jul 2007 10:54:28 -0000	1.11
+++ server/asobj/Mouse.cpp	13 Jul 2007 19:24:15 -0000	1.12
@@ -39,9 +39,11 @@
 static void
 attachMouseInterface(as_object& o)
 {
-	o.init_member("addlistener", new builtin_function(mouse_addlistener));
+	// TODO: Mouse is an object, not a constructor ! Attach these interface to
+	//       the singleton Mouse object then !
+	o.init_member("addListener", new builtin_function(mouse_addlistener));
 	o.init_member("hide", new builtin_function(mouse_hide));
-	o.init_member("removelistener", new builtin_function(mouse_removelistener));
+	o.init_member("removeListener", new builtin_function(mouse_removelistener));
 	o.init_member("show", new builtin_function(mouse_show));
 }
 

Index: testsuite/actionscript.all/Mouse.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Mouse.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/Mouse.as	1 Jul 2007 10:54:39 -0000	1.8
+++ testsuite/actionscript.all/Mouse.as	13 Jul 2007 19:24:15 -0000	1.9
@@ -20,19 +20,25 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Mouse.as,v 1.8 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: Mouse.as,v 1.9 2007/07/13 19:24:15 strk Exp $";
 
 #include "check.as"
 
+xcheck_equals ( typeof(Mouse), 'object' );
+
 // Mouse object can't be instanciated !
 var mouseObj = new Mouse;
 xcheck_equals(mouseObj, undefined);
 
-// test the Mouse::addlistener method
-check (Mouse.addlistener != undefined);
 // test the Mouse::hide method
-check (Mouse.hide != undefined);
-// test the Mouse::removelistener method
-check (Mouse.removelistener != undefined);
+check_equals ( typeof(Mouse.hide), 'function' );
+
+#if OUTPUT_VERSION > 5
+// test addListner/removeListener, added in SWF6
+check_equals ( typeof(Mouse.removeListener), 'function' );
+check_equals ( typeof(Mouse.addListener), 'function' );
+#endif // OUTPUT_VERSION > 5
+
+
 // test the Mouse::show method
-check (Mouse.show != undefined);
+check_equals ( typeof(Mouse.show), 'function' );



From MAILER-DAEMON Fri Jul 13 16:04:22 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9RNF-0001y2-LU
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 16:04:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9RND-0001vC-B5
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:04:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9RNC-0001u6-4h
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:04:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9RNB-0001tu-T9
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:04:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9RNB-0004Yy-Gn
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:04:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9RNA-0008QF-B9
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:04:16 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9RNA-0008QC-6T
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:04:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9RNA-0008QC-6T@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 20:04:16 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Cust...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 20:04:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 20:04:16

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: CustomActions.as 

Log message:
	        * testsuite/actionscript.all/CustomActions.as: add a note about why
	          no tests are run.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3736&r2=1.3737
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/CustomActions.as?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3736
retrieving revision 1.3737
diff -u -b -r1.3736 -r1.3737
--- ChangeLog	13 Jul 2007 19:24:15 -0000	1.3736
+++ ChangeLog	13 Jul 2007 20:04:15 -0000	1.3737
@@ -1,5 +1,7 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/CustomActions.as: add a note about why
+	  no tests are run.
 	* server/asobj/Mouse.cpp: fix case of addListener and removeListener
 	  methods, add TODO for fixing all.
 	* testsuite/actionscript.all/Mouse.as: fix the test (case issue, and

Index: testsuite/actionscript.all/CustomActions.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/CustomActions.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/CustomActions.as	1 Jul 2007 10:54:38 -0000	1.8
+++ testsuite/actionscript.all/CustomActions.as	13 Jul 2007 20:04:16 -0000	1.9
@@ -23,12 +23,17 @@
 
 // CustomActions is only intended foro use in the Flash authoring tool,
 // See http://sephiroth.it/reference.php?id=156&cat=1
-#if 0
 
-rcsid="$Id: CustomActions.as,v 1.8 2007/07/01 10:54:38 bjacques Exp $";
+rcsid="$Id: CustomActions.as,v 1.9 2007/07/13 20:04:16 strk Exp $";
 
 #include "check.as"
 
+note();
+note(' CustomActions is only intended foro use in the Flash authoring tool, so this file performs no tests');
+note(' See http://sephiroth.it/reference.php?id=156&cat=1');
+
+#if 0
+
 
 var customactionsObj = new CustomActions;
 



From MAILER-DAEMON Fri Jul 13 16:23:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9Rfo-0001NE-Fe
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 16:23:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9Rfn-0001LJ-80
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:23:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9Rfm-0001KM-9m
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:23:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9Rfm-0001K0-31
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:23:30 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9Rfl-0001PP-Qm
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:23:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9Rfk-00022n-Ox
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:23:28 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9Rfk-00022j-LM
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:23:28 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9Rfk-00022j-LM@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 20:23:28 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 20:23:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 20:23:28

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: MovieClip.as TextField.as 

Log message:
	        * testsuite/actionscript.all/MovieClip.as: add notes about where we
	          have been reported differences between proprietary player versions;
	          fix check for return code of createTextField for SWF8.
	        * testsuite/actionscript.all/TextField.as:
	          fix check for return code of createTextField for SWF8;
	          fix expected failures.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3737&r2=1.3738
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.71&r2=1.72
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3737
retrieving revision 1.3738
diff -u -b -r1.3737 -r1.3738
--- ChangeLog	13 Jul 2007 20:04:15 -0000	1.3737
+++ ChangeLog	13 Jul 2007 20:23:27 -0000	1.3738
@@ -1,5 +1,14 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/MovieClip.as: add notes about where we
+	  have been reported differences between proprietary player versions; 
+	  fix check for return code of createTextField for SWF8.
+	* testsuite/actionscript.all/TextField.as:
+	  fix check for return code of createTextField for SWF8;
+	  fix expected failures.
+
+2007-07-13 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/actionscript.all/CustomActions.as: add a note about why
 	  no tests are run.
 	* server/asobj/Mouse.cpp: fix case of addListener and removeListener

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -b -r1.71 -r1.72
--- testsuite/actionscript.all/MovieClip.as	1 Jul 2007 10:54:39 -0000	1.71
+++ testsuite/actionscript.all/MovieClip.as	13 Jul 2007 20:23:28 -0000	1.72
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.71 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: MovieClip.as,v 1.72 2007/07/13 20:23:28 strk Exp $";
 
 #include "check.as"
 
@@ -211,14 +211,16 @@
 check_equals(mc._alpha, 100);
 check(mc._currentframe != undefined);
 
-#if OUTPUT_VERSION > 5
 check_equals(mc._droptarget, "");
-check_equals(typeof(mc._droptarget), "string");
-#else
-//WARNING: we have player 9 succeeds on this, and also player 7 fails on this
-// don't know which one to trust.
-xcheck_equals(mc._droptarget, "");
-#endif
+if (typeof(mc._droptarget) != "string")
+{
+	fail("typeof(mc._droptarget) = "+typeof(mc._droptarget)+" (expected 'string') ["+__FILE__+":"+__LINE__+"]");
+	note(" WARNING: some players have been reported to evaluate _droptarget to undefined, rather then the empty string. Reguardless of SWF target.");
+}
+else
+{
+	pass("typeof(mc._droptarget) = "+typeof(mc._droptarget)+" ["+__FILE__+":"+__LINE__+"]");
+}
 
 check(mc._focusrect != undefined);
 check(mc._framesloaded != undefined);
@@ -487,8 +489,16 @@
 #if OUTPUT_VERSION > 5
 check_equals(a, "changed");
 #else
-// this check fails with Adobe Flash Player 9
-check_equals(a, undefined);
+if ( a == undefined )
+{
+	pass("<empty>._name (trough getProperty(13)) returns undefined ["+__FILE__+":"+__LINE__+"]");
+}
+else
+{
+	// this check fails with Adobe Flash Player 9
+	fail("<empty>._name (trough getProperty(13)) returns "+a+" (expected undefined) ["+__FILE__+":"+__LINE__+"]");
+	note("Some version of Adobe Flash Player 9 are reported to have this bug");
+}
 #endif
 
 asm {
@@ -510,8 +520,16 @@
 #if OUTPUT_VERSION > 5
 check_equals(a, "changed");
 #else
-// this check fails with Adobe Flash Player 9
-check_equals(a, undefined);
+if ( a == undefined )
+{
+	pass("_root._name (trough getProperty(13)) returns undefined ["+__FILE__+":"+__LINE__+"]");
+}
+else
+{
+	// this check fails with Adobe Flash Player 9
+	fail("_root._name (trough getProperty(13)) returns "+a+" (expected undefined) ["+__FILE__+":"+__LINE__+"]");
+	note("Some version of Adobe Flash Player 9 are reported to have this bug");
+}
 #endif
 
 asm {
@@ -530,7 +548,13 @@
 //------------------------------------------------
 
 t = createTextField("textfieldTest", 3, 0, 100, 100, 100);
+#if OUTPUT_VERSION < 8
 check_equals(typeof(t), 'undefined');
+#else
+xcheck_equals(typeof(t), 'object');
+xcheck_equals(t, _root.textfieldTest);
+#endif // OUTPUT_VERSION >= 8
+
 #if OUTPUT_VERSION > 5
 check_equals(typeof(textfieldTest), 'object');
 check(textfieldTest instanceof TextField);

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/actionscript.all/TextField.as	13 Jul 2007 19:13:47 -0000	1.4
+++ testsuite/actionscript.all/TextField.as	13 Jul 2007 20:23:28 -0000	1.5
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.4 2007/07/13 19:13:47 strk Exp $";
+rcsid="$Id: TextField.as,v 1.5 2007/07/13 20:23:28 strk Exp $";
 
 #include "check.as"
 
@@ -98,7 +98,12 @@
 //--------------------------------------------------
 
 ret = createTextField("tf", 99, 10, 10, 500, 500);
-check_equals(typeof(ref), 'undefined');
+#if OUTPUT_VERSION < 8
+check_equals(typeof(ret), 'undefined');
+#else
+xcheck_equals(typeof(ret), 'object');
+xcheck_equals(ret, _root.tf);
+#endif
 
 check_equals(typeof(tf), 'object');
 
@@ -520,7 +525,7 @@
 tf._xscale = 200;
 note("textWidth: _xscale=100: "+currTextWidth+"; _xscale=200: "+tf.textWidth);
 // check_equals(tf.textWidth, currTextWidth*2); // not clear what does textWidth depend on
-check_equals(tf._width, currWidth*2);
+xcheck_equals(tf._width, currWidth*2);
 tf._xscale = 100;
 
 // Check TextField._y 
@@ -554,7 +559,7 @@
 tf._yscale = 200;
 note("textHeight: _yscale=100: "+currTextHeight+"; _yscale=200: "+tf.textHeight);
 // check_equals(tf.textHeight, currTextHeight*2); // not clear what does textHeight depend on
-check_equals(tf._height, currHeight*2);
+xcheck_equals(tf._height, currHeight*2);
 tf._yscale = 100;
 
 



From MAILER-DAEMON Fri Jul 13 16:32:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9RoC-0005Lv-7B
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 16:32:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9RoA-0005J4-9m
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:32:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9Ro9-0005Ho-Mj
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:32:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9Ro9-0005HQ-1x
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:32:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9Ro8-00043s-49
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:32:08 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9Ro7-0002Yc-Eg
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:32:07 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9Ro7-0002YZ-Ap
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:32:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9Ro7-0002YZ-Ap@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 20:32:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 20:32:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 20:32:07

Modified files:
	.              : ChangeLog 
	server         : sprite_instance.cpp 
	testsuite/actionscript.all: MovieClip.as TextField.as 

Log message:
	        * server/sprite_instance.cpp (sprite_create_text_field): when
	          targetting SWF8, return the newly created TextField.
	        * testsuite/actionscript.all/MovieClip.as: more successes.
	        * testsuite/actionscript.all/TextField.as: more successes; other fixes
	          to expected results.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3738&r2=1.3739
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.296&r2=1.297
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.72&r2=1.73
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3738
retrieving revision 1.3739
diff -u -b -r1.3738 -r1.3739
--- ChangeLog	13 Jul 2007 20:23:27 -0000	1.3738
+++ ChangeLog	13 Jul 2007 20:32:06 -0000	1.3739
@@ -1,5 +1,13 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* server/sprite_instance.cpp (sprite_create_text_field): when
+	  targetting SWF8, return the newly created TextField.
+	* testsuite/actionscript.all/MovieClip.as: more successes.
+	* testsuite/actionscript.all/TextField.as: more successes; other fixes
+	  to expected results.
+
+2007-07-13 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/actionscript.all/MovieClip.as: add notes about where we
 	  have been reported differences between proprietary player versions; 
 	  fix check for return code of createTextField for SWF8.

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.296
retrieving revision 1.297
diff -u -b -r1.296 -r1.297
--- server/sprite_instance.cpp	11 Jul 2007 16:52:47 -0000	1.296
+++ server/sprite_instance.cpp	13 Jul 2007 20:32:06 -0000	1.297
@@ -800,7 +800,8 @@
 			txt_depth, txt_x, txt_y, txt_width, txt_height);
 
 	// createTextField returns void, it seems
-	return as_value(); 
+	if ( VM::get().getSWFVersion() > 7 ) return as_value(txt.get());
+	else return as_value(); 
 }
 
 //getNextHighestDepth() : Number

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -b -r1.72 -r1.73
--- testsuite/actionscript.all/MovieClip.as	13 Jul 2007 20:23:28 -0000	1.72
+++ testsuite/actionscript.all/MovieClip.as	13 Jul 2007 20:32:07 -0000	1.73
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.72 2007/07/13 20:23:28 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.73 2007/07/13 20:32:07 strk Exp $";
 
 #include "check.as"
 
@@ -551,8 +551,8 @@
 #if OUTPUT_VERSION < 8
 check_equals(typeof(t), 'undefined');
 #else
-xcheck_equals(typeof(t), 'object');
-xcheck_equals(t, _root.textfieldTest);
+check_equals(typeof(t), 'object');
+check_equals(t, _root.textfieldTest);
 #endif // OUTPUT_VERSION >= 8
 
 #if OUTPUT_VERSION > 5

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/actionscript.all/TextField.as	13 Jul 2007 20:23:28 -0000	1.5
+++ testsuite/actionscript.all/TextField.as	13 Jul 2007 20:32:07 -0000	1.6
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.5 2007/07/13 20:23:28 strk Exp $";
+rcsid="$Id: TextField.as,v 1.6 2007/07/13 20:32:07 strk Exp $";
 
 #include "check.as"
 
@@ -101,8 +101,8 @@
 #if OUTPUT_VERSION < 8
 check_equals(typeof(ret), 'undefined');
 #else
-xcheck_equals(typeof(ret), 'object');
-xcheck_equals(ret, _root.tf);
+check_equals(typeof(ret), 'object');
+check_equals(ret, _root.tf);
 #endif
 
 check_equals(typeof(tf), 'object');
@@ -197,7 +197,7 @@
 check_equals(typeof(tf._height), 'number');
 check(!tf.hasOwnProperty('_height'));
 check(!tf.__proto__.hasOwnProperty('_height'));
-xcheck_equals(tf._height, 500); // as we created it, see createTextField call
+check_equals(tf._height, 500); // as we created it, see createTextField call
 tf._height = 99999;
 xcheck_equals(tf._height, 99999); 
 tf._height = 500;
@@ -483,7 +483,7 @@
 check_equals(typeof(tf._width), 'number');
 check( ! tf.hasOwnProperty('_width') ); 
 check( ! tf.__proto__.hasOwnProperty('_width') ); 
-xcheck_equals(tf._width, 500); // as it was set by createTextField, see above
+check_equals(tf._width, 500); // as it was set by createTextField, see above
 tf._width = 99999;
 xcheck_equals(tf._width, 99999); 
 tf._width = 500;



From MAILER-DAEMON Fri Jul 13 16:37:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9Rt0-0002hg-4b
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 16:37:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9Rsz-0002hX-2V
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:37:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9Rsx-0002gl-JU
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:37:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9Rsx-0002gf-A4
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:37:07 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9Rsx-0005ba-3D
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:37:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9Rsv-0002qH-Ob
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:37:05 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9Rsv-0002q9-GW
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:37:05 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9Rsv-0002q9-GW@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 20:37:05 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/actionscript.all Microphone.as
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 20:37:09 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 20:37:05

Modified files:
	testsuite/actionscript.all: Microphone.as 

Log message:
	fix expected results from Gnash

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Microphone.as?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: Microphone.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Microphone.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- Microphone.as	13 Jul 2007 02:59:15 -0000	1.9
+++ Microphone.as	13 Jul 2007 20:37:05 -0000	1.10
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Microphone.as,v 1.9 2007/07/13 02:59:15 strk Exp $";
+rcsid="$Id: Microphone.as,v 1.10 2007/07/13 20:37:05 strk Exp $";
 
 #include "check.as"
 
@@ -29,10 +29,10 @@
 
 // test the Microphone class
 check_equals(typeof(Microphone), 'function');
-xcheck_equals ( typeof(Microphone.prototype.setGain), 'function' );
-xcheck_equals ( typeof(Microphone.prototype.setRate), 'function' );
-xcheck_equals ( typeof(Microphone.prototype.setSilenceLevel), 'function' );
-xcheck_equals ( typeof(Microphone.prototype.setUseEchoSuppression), 'function' );
+check_equals ( typeof(Microphone.prototype.setGain), 'function' );
+check_equals ( typeof(Microphone.prototype.setRate), 'function' );
+check_equals ( typeof(Microphone.prototype.setSilenceLevel), 'function' );
+check_equals ( typeof(Microphone.prototype.setUseEchoSuppression), 'function' );
 
 // test the Microphone constuctor
 var microphoneObj = Microphone.get();



From MAILER-DAEMON Fri Jul 13 16:40:37 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9RwK-0004rl-RM
	for mharc-gnash-commit@gnu.org; Fri, 13 Jul 2007 16:40:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9RwI-0004qz-PS
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:40:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9RwI-0004qa-8v
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:40:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9RwI-0004qW-2x
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:40:34 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1I9RwH-0006UF-Rw
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 16:40:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1I9RwH-00033r-8R
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:40:33 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1I9RwH-00033o-0V
	for gnash-commit@gnu.org; Fri, 13 Jul 2007 20:40:33 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9RwH-00033o-0V@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 13 Jul 2007 20:40:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/sprite_instance.cpp test...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jul 2007 20:40:35 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/13 20:40:32

Modified files:
	.              : ChangeLog 
	server         : sprite_instance.cpp 
	testsuite/actionscript.all: MovieClip.as 

Log message:
	        * server/sprite_instance.cpp (sprite_droptarget_getset):
	          Always return a string.
	        * testsuite/actionscript.all/MovieClip.as: fixed expected results.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3739&r2=1.3740
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.297&r2=1.298
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.73&r2=1.74

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3739
retrieving revision 1.3740
diff -u -b -r1.3739 -r1.3740
--- ChangeLog	13 Jul 2007 20:32:06 -0000	1.3739
+++ ChangeLog	13 Jul 2007 20:40:31 -0000	1.3740
@@ -1,5 +1,11 @@
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
+	* server/sprite_instance.cpp (sprite_droptarget_getset): 
+	  Always return a string.
+	* testsuite/actionscript.all/MovieClip.as: fixed expected results.
+
+2007-07-13 Sandro Santilli <strk@keybit.net>
+
 	* server/sprite_instance.cpp (sprite_create_text_field): when
 	  targetting SWF8, return the newly created TextField.
 	* testsuite/actionscript.all/MovieClip.as: more successes.

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.297
retrieving revision 1.298
diff -u -b -r1.297 -r1.298
--- server/sprite_instance.cpp	13 Jul 2007 20:32:06 -0000	1.297
+++ server/sprite_instance.cpp	13 Jul 2007 20:40:32 -0000	1.298
@@ -1370,14 +1370,8 @@
 	}
 
 	VM& vm = VM::get();
-	if ( vm.getSWFVersion() > 5 )
-	{
+	// NOTE: _droptarget should be set after startDrag() and stopDrag() calls
 		return as_value("");
-	} 
-	else
-	{
-		return as_value();
-	}
 }
 
 static as_value

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- testsuite/actionscript.all/MovieClip.as	13 Jul 2007 20:32:07 -0000	1.73
+++ testsuite/actionscript.all/MovieClip.as	13 Jul 2007 20:40:32 -0000	1.74
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.73 2007/07/13 20:32:07 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.74 2007/07/13 20:40:32 strk Exp $";
 
 #include "check.as"
 
@@ -211,7 +211,6 @@
 check_equals(mc._alpha, 100);
 check(mc._currentframe != undefined);
 
-check_equals(mc._droptarget, "");
 if (typeof(mc._droptarget) != "string")
 {
 	fail("typeof(mc._droptarget) = "+typeof(mc._droptarget)+" (expected 'string') ["+__FILE__+":"+__LINE__+"]");



From MAILER-DAEMON Sat Jul 14 08:29:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9gkc-0001gI-Cv
	for mharc-gnash-commit@gnu.org; Sat, 14 Jul 2007 08:29:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9gka-0001cu-D3
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 08:29:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9gkY-0001b1-K4
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 08:29:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9gkY-0001ao-Bo
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 08:29:26 -0400
Received: from ug-out-1314.google.com ([66.249.92.172])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <martinwguy@gmail.com>) id 1I9gkX-0001so-VD
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 08:29:26 -0400
Received: by ug-out-1314.google.com with SMTP id 34so868759ugf
	for <gnash-commit@gnu.org>; Sat, 14 Jul 2007 05:29:25 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth;
	b=oNy4RnaXcg3KHG/vUUcZeBQ2wAGWSpyB/y97TfLq88Jz8mru15908vbAhgt2R+PJPGft6kdsDCwXDc/QtXlEknUXaNuIDsWmrcGJdad3SKfjfIYRhgsCKpGR0pgTzFsG9nA+Vl6OZqSAlUM7zX95W6ULpndisXPp4KnqsZK0Fpk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth;
	b=acFYBE2V0iW4F7zvXm6STpDzP2AdsuU+nhvuCtlBtD9POpY0MAhDMnuoHfLI4Mp4JAPGiCfEZt05VGfsuMvEqkcAxG2HsdkdyZykvkU3iIv7I/DC7GjUgAoKxvDIf5LPo6CZgxMxR6f1bi8DNJFlN7jHh1uTed2iLGr8B20Bp5A=
Received: by 10.78.81.20 with SMTP id e20mr708561hub.1184416164907;
	Sat, 14 Jul 2007 05:29:24 -0700 (PDT)
Received: by 10.78.154.16 with HTTP; Sat, 14 Jul 2007 05:29:24 -0700 (PDT)
Message-ID: <56d259a00707140529r574900f4sda0086340e43700@mail.gmail.com>
Date: Sat, 14 Jul 2007 13:29:24 +0100
From: "Martin Guy" <martinwguy@yahoo.it>
Sender: martinwguy@gmail.com
To: gnash-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Google-Sender-Auth: 7b996716a3b6c75d
X-detected-kernel: Linux 2.4-2.6 (Google crawlbot)
Subject: [Gnash-commit] eof
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jul 2007 12:29:28 -0000

Hi Folks
  I'm unsubscribing from gnash-commit and stopping work on Gnash.

If you need anything you know where to find me.

The only thing that's half complete by me is a validity control on the
open buglist, which I have completed up to Dec/Jan 2006/7, laying all
>6-month-old ghosts to rest.
If anyone wants to check the rest...

Calm sea ahead and strong wind in your sails

Bless

    M



From MAILER-DAEMON Sat Jul 14 15:19:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9n9q-00066z-RY
	for mharc-gnash-commit@gnu.org; Sat, 14 Jul 2007 15:19:58 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9n9p-00066V-4d
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:19:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9n9l-00064Q-Ds
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:19:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9n9l-00064N-AV
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:19:53 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@welcomehome.org>) id 1I9n9k-00077Q-SB
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:19:53 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <rob@welcomehome.org>) id 1I9n9j-0007MK-Mj
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 19:19:51 +0000
Received: from rsavoye by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <rsavoye@savannah.gnu.org>) id 1I9n9j-0007MH-He
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 19:19:51 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9n9j-0007MH-He@cvs.savannah.gnu.org>
From: Rob Savoye <rob@welcomehome.org>
Date: Sat, 14 Jul 2007 19:19:51 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal ACT/Makefile.am HTTP/Makefile.am I...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jul 2007 19:19:57 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Rob Savoye <rsavoye>	07/07/14 19:19:51

Added files:
	cygnal/ACT     : Makefile.am 
	cygnal/HTTP    : Makefile.am 
	cygnal/IO      : Makefile.am 
	cygnal/Net     : Makefile.am 
	cygnal/unit_tests: Makefile.am 
	cygnal         : ChangeLog 

Log message:
	New Makefile.am files to start the port to *unix.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Makefile.am?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/Makefile.am?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Makefile.am?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/Makefile.am?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Makefile.am?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ChangeLog?cvsroot=gnash&rev=1.1

Patches:
Index: ACT/Makefile.am
===================================================================
RCS file: ACT/Makefile.am
diff -N ACT/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/Makefile.am	14 Jul 2007 19:19:50 -0000	1.1
@@ -0,0 +1,76 @@
+# 
+#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+#
+#   This program is free software; you can redistribute it and/or modify
+#   it under the terms of the GNU General Public License as published by
+#   the Free Software Foundation; either version 3 of the License, or
+#   (at your option) any later version.
+#
+#   This program is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#   GNU General Public License for more details.
+#
+#   You should have received a copy of the GNU General Public License
+#   along with this program; if not, write to the Free Software
+#   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+#
+
+## Process this file with automake to generate Makefile.in
+
+AUTOMAKE_OPTIONS = #dejagnu
+
+AM_CPPFLAGS = # -Wall
+
+## WARNING: make sure GLIB_LIBS appears first
+## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
+AM_LDFLAGS = \
+	../../libbase/libgnashbase.la \
+	../../libamf/libgnashamf.la \
+	$(LIBLTDL) \
+	$(GLIB_LIBS) \
+	$(LIBXML_LIBS) \
+	$(CURL_LIBS) \
+	$(BOOST_LIBS) \
+	$(PTHREAD_LIBS)
+
+localedir = $(datadir)/locale
+
+INCLUDES = -I.. \
+        -I$(top_srcdir)	\
+        -I$(top_srcdir)/cygnal	\
+        -I$(top_srcdir)/libamf \
+        -I$(top_srcdir)/libbase \
+        -I$(top_srcdir)/server \
+        -DLOCALEDIR=\"$(localedir)\" \
+        $(LIBXML_CFLAGS) \
+	$(DMALLOC_CFLAGS) \
+	$(CURL_CFLAGS) \
+	$(BOOST_CFLAGS) \
+	$(PTHREAD_CFLAGS)
+
+lib_LTLIBRARIES = libcygnalact.la
+libcygnalact_la_SOURCES= \
+	ACT.cpp \
+	Cygnal_Instances.cpp \
+	Handle.cpp \
+	Listen.T.cpp \
+	Pause_Demon.cpp \
+	Scheduler.T.cpp \
+	Scheduler.cpp \
+	Scheduling_Queue.cpp \
+	Service.cpp
+
+noinst_HEADERS = \
+	ACT.hpp \
+	Handle.hpp \
+	Listen.hpp \
+	Pause_Demon.hpp \
+	Scheduler.hpp \
+	Scheduling_Queue.hpp \
+	Service.hpp
+
+# Rebuild with GCC 4.x Mudflap support
+mudflap:
+	@echo "Rebuilding with GCC Mudflap support"
+	$(MAKE) CXXFLAGS="$(CXXFLAGS) $(MUDFLAP_OPT)" LIBS="$(LIBS) $(MUDFLAP_LIB)"

Index: HTTP/Makefile.am
===================================================================
RCS file: HTTP/Makefile.am
diff -N HTTP/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ HTTP/Makefile.am	14 Jul 2007 19:19:50 -0000	1.1
@@ -0,0 +1,66 @@
+# 
+#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+#
+#   This program is free software; you can redistribute it and/or modify
+#   it under the terms of the GNU General Public License as published by
+#   the Free Software Foundation; either version 3 of the License, or
+#   (at your option) any later version.
+#
+#   This program is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#   GNU General Public License for more details.
+#
+#   You should have received a copy of the GNU General Public License
+#   along with this program; if not, write to the Free Software
+#   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+#
+
+## Process this file with automake to generate Makefile.in
+
+AUTOMAKE_OPTIONS = #dejagnu
+
+AM_CPPFLAGS = # -Wall
+
+## WARNING: make sure GLIB_LIBS appears first
+## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
+AM_LDFLAGS = \
+	../../libbase/libgnashbase.la \
+	../../libamf/libgnashamf.la \
+	$(LIBLTDL) \
+	$(GLIB_LIBS) \
+	$(LIBXML_LIBS) \
+	$(CURL_LIBS) \
+	$(BOOST_LIBS) \
+	$(PTHREAD_LIBS)
+
+localedir = $(datadir)/locale
+
+INCLUDES = -I.. \
+        -I$(top_srcdir)	\
+        -I$(top_srcdir)/cygnal	\
+        -I$(top_srcdir)/libamf \
+        -I$(top_srcdir)/libbase \
+        -I$(top_srcdir)/server \
+        -DLOCALEDIR=\"$(localedir)\" \
+        $(LIBXML_CFLAGS) \
+	$(DMALLOC_CFLAGS) \
+	$(CURL_CFLAGS) \
+	$(BOOST_CFLAGS) \
+	$(PTHREAD_CFLAGS)
+
+lib_LTLIBRARIES = libcygnalhttp.la
+libcygnalhttp_la_SOURCES= \
+	HTTP_Behavior.cpp \
+	HTTP_Parse.cpp \
+	URI.cpp
+
+noinst_HEADERS = \
+	HTTP_Behavior.hpp \
+	HTTP_Parse.hpp \
+	URI.hpp
+
+# Rebuild with GCC 4.x Mudflap support
+mudflap:
+	@echo "Rebuilding with GCC Mudflap support"
+	$(MAKE) CXXFLAGS="$(CXXFLAGS) $(MUDFLAP_OPT)" LIBS="$(LIBS) $(MUDFLAP_LIB)"

Index: IO/Makefile.am
===================================================================
RCS file: IO/Makefile.am
diff -N IO/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ IO/Makefile.am	14 Jul 2007 19:19:50 -0000	1.1
@@ -0,0 +1,68 @@
+# 
+#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+#
+#   This program is free software; you can redistribute it and/or modify
+#   it under the terms of the GNU General Public License as published by
+#   the Free Software Foundation; either version 3 of the License, or
+#   (at your option) any later version.
+#
+#   This program is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#   GNU General Public License for more details.
+#
+#   You should have received a copy of the GNU General Public License
+#   along with this program; if not, write to the Free Software
+#   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+#
+
+## Process this file with automake to generate Makefile.in
+
+AUTOMAKE_OPTIONS = #dejagnu
+
+AM_CPPFLAGS = # -Wall
+
+## WARNING: make sure GLIB_LIBS appears first
+## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
+AM_LDFLAGS = \
+	../../libbase/libgnashbase.la \
+	../../libamf/libgnashamf.la \
+	$(LIBLTDL) \
+	$(GLIB_LIBS) \
+	$(LIBXML_LIBS) \
+	$(CURL_LIBS) \
+	$(BOOST_LIBS) \
+	$(PTHREAD_LIBS)
+
+localedir = $(datadir)/locale
+
+INCLUDES = -I.. \
+        -I$(top_srcdir)	\
+        -I$(top_srcdir)/cygnal	\
+        -I$(top_srcdir)/libamf \
+        -I$(top_srcdir)/libbase \
+        -I$(top_srcdir)/server \
+        -DLOCALEDIR=\"$(localedir)\" \
+        $(LIBXML_CFLAGS) \
+	$(DMALLOC_CFLAGS) \
+	$(CURL_CFLAGS) \
+	$(BOOST_CFLAGS) \
+	$(PTHREAD_CFLAGS)
+
+lib_LTLIBRARIES = libcygnalio.la
+libcygnalio_la_SOURCES= \
+	Buffer.cpp \
+	IO_Device.cpp \
+	IO_Generator.cpp \
+	Stream_Consumer.cpp
+
+noinst_HEADERS = \
+	Buffer.hpp \
+	IO_Device.hpp \
+	IO_Generator.hpp \
+	Stream_Consumer.hpp
+
+# Rebuild with GCC 4.x Mudflap support
+mudflap:
+	@echo "Rebuilding with GCC Mudflap support"
+	$(MAKE) CXXFLAGS="$(CXXFLAGS) $(MUDFLAP_OPT)" LIBS="$(LIBS) $(MUDFLAP_LIB)"

Index: Net/Makefile.am
===================================================================
RCS file: Net/Makefile.am
diff -N Net/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Net/Makefile.am	14 Jul 2007 19:19:51 -0000	1.1
@@ -0,0 +1,66 @@
+# 
+#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+#
+#   This program is free software; you can redistribute it and/or modify
+#   it under the terms of the GNU General Public License as published by
+#   the Free Software Foundation; either version 3 of the License, or
+#   (at your option) any later version.
+#
+#   This program is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#   GNU General Public License for more details.
+#
+#   You should have received a copy of the GNU General Public License
+#   along with this program; if not, write to the Free Software
+#   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+#
+
+## Process this file with automake to generate Makefile.in
+
+AUTOMAKE_OPTIONS = #dejagnu
+
+AM_CPPFLAGS = # -Wall
+
+## WARNING: make sure GLIB_LIBS appears first
+## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
+AM_LDFLAGS = \
+	../../libbase/libgnashbase.la \
+	../../libamf/libgnashamf.la \
+	$(LIBLTDL) \
+	$(GLIB_LIBS) \
+	$(LIBXML_LIBS) \
+	$(CURL_LIBS) \
+	$(BOOST_LIBS) \
+	$(PTHREAD_LIBS)
+
+localedir = $(datadir)/locale
+
+INCLUDES = -I.. \
+        -I$(top_srcdir)	\
+        -I$(top_srcdir)/cygnal	\
+        -I$(top_srcdir)/libamf \
+        -I$(top_srcdir)/libbase \
+        -I$(top_srcdir)/server \
+        -DLOCALEDIR=\"$(localedir)\" \
+        $(LIBXML_CFLAGS) \
+	$(DMALLOC_CFLAGS) \
+	$(CURL_CFLAGS) \
+	$(BOOST_CFLAGS) \
+	$(PTHREAD_CFLAGS)
+
+lib_LTLIBRARIES = libcygnalnet.la
+libcygnalnet_la_SOURCES= \
+	Net.cpp \
+	Old_Device.cpp \
+	socket_device.cpp
+
+noinst_HEADERS = \
+	Net.hpp \
+	Old_Device.hpp \
+	socket_device.hpp
+
+# Rebuild with GCC 4.x Mudflap support
+mudflap:
+	@echo "Rebuilding with GCC Mudflap support"
+	$(MAKE) CXXFLAGS="$(CXXFLAGS) $(MUDFLAP_OPT)" LIBS="$(LIBS) $(MUDFLAP_LIB)"

Index: unit_tests/Makefile.am
===================================================================
RCS file: unit_tests/Makefile.am
diff -N unit_tests/Makefile.am
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ unit_tests/Makefile.am	14 Jul 2007 19:19:51 -0000	1.1
@@ -0,0 +1,66 @@
+# 
+#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+#
+#   This program is free software; you can redistribute it and/or modify
+#   it under the terms of the GNU General Public License as published by
+#   the Free Software Foundation; either version 3 of the License, or
+#   (at your option) any later version.
+#
+#   This program is distributed in the hope that it will be useful,
+#   but WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#   GNU General Public License for more details.
+#
+#   You should have received a copy of the GNU General Public License
+#   along with this program; if not, write to the Free Software
+#   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+#
+
+## Process this file with automake to generate Makefile.in
+
+AUTOMAKE_OPTIONS = #dejagnu
+
+AM_CPPFLAGS = # -Wall
+
+## WARNING: make sure GLIB_LIBS appears first
+## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
+AM_LDFLAGS = \
+	../../libbase/libgnashbase.la \
+	../../libamf/libgnashamf.la \
+	$(LIBLTDL) \
+	$(GLIB_LIBS) \
+	$(LIBXML_LIBS) \
+	$(CURL_LIBS) \
+	$(BOOST_LIBS) \
+	$(PTHREAD_LIBS)
+
+localedir = $(datadir)/locale
+
+INCLUDES = -I.. \
+        -I$(top_srcdir)	\
+        -I$(top_srcdir)/cygnal	\
+        -I$(top_srcdir)/libamf \
+        -I$(top_srcdir)/libbase \
+        -I$(top_srcdir)/server \
+        -DLOCALEDIR=\"$(localedir)\" \
+        $(LIBXML_CFLAGS) \
+	$(DMALLOC_CFLAGS) \
+	$(CURL_CFLAGS) \
+	$(BOOST_CFLAGS) \
+	$(PTHREAD_CFLAGS)
+
+lib_LTLIBRARIES = libcygnaltest.la
+libcygnaltest_la_SOURCES= \
+	Random_Permutation.cpp \
+	Test_Support.cpp \
+	main.cpp
+
+noinst_HEADERS = \
+	Permutation.hpp \
+	Random_Permutation.hpp \
+	Test_Support.hpp
+
+# Rebuild with GCC 4.x Mudflap support
+mudflap:
+	@echo "Rebuilding with GCC Mudflap support"
+	$(MAKE) CXXFLAGS="$(CXXFLAGS) $(MUDFLAP_OPT)" LIBS="$(LIBS) $(MUDFLAP_LIB)"

Index: ChangeLog
===================================================================
RCS file: ChangeLog
diff -N ChangeLog
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ChangeLog	14 Jul 2007 19:19:51 -0000	1.1
@@ -0,0 +1,38 @@
+2007-07-14  Rob Savoye  <rob@bertha.welcomehome.org>
+	* ACT/Makefile.am: New Makefile.
+	* HTTP/Makefile.am: New Makefile.
+	* IO/Makefile.am: New Makefile.
+	* Net/Makefile.am:  New Makefile.
+	* unit_test/Makefile.am:  New Makefile.
+
+2007-07-09 Eric Hughes <eh@narthex.us>
+	* ACT/ACT.hpp: Changed ACT_State::Waiting to Would_Block.
+	Modified convenience methods accordingly. 
+	* ACT/Pause_Service.cpp, ACT/test_support/Listening_Actions.cpp,
+	HTTP/HTTP_Behavior.cpp: followed ACT.hpp changes. 
+	* ACT/unit_tests/Test_ACT.cpp: Improved act_twice to ensure guard
+	on run() is in effect. 
+	* IO/Stream_Consumer.cpp: Removed defect that was masking failures
+	in scanning.  Change causes an HTTP unit test to fail. 
+
+2007-07-06 Eric Hughes <eh@narthex.us>
+	* ACT/ACT.hpp: Converted ACT_State from an enumeration to a class.
+	Removed convenience typedef. 
+	* IO/Stream_Consumer.hpp: Added source_state() to assist in writing parsing filters.
+	* Lots and lots of files: Renamed act_state to ACT_State
+	everywhere.  Changed constant references to Working to either
+	Waiting or Ready, as appropriate.  Changed set_working() to
+	set_ready(), set_waiting(), or source_state(), as appropriate. 
+	
+2007-07-06 Eric Hughes <eh@narthex.us>
+	* doc/Doxyfile: Converted all paths to relative form.
+	* doc/mainpage.doxygen.txt: Wrote new main page.
+	* ACT/ACT.doxygen.txt: Wrote new page with overview of ACT.
+
+2007-06-28 Eric Hughes <eh@narthex.us>
+	* doc/Doxyfile: New file.
+
+2007-06-17 Eric Hughes <eh@narthex.us>
+	* ACT/*: Got listener wakeup working correctly in scheduler.
+
+



From MAILER-DAEMON Sat Jul 14 15:25:06 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9nEo-00012Z-Ia
	for mharc-gnash-commit@gnu.org; Sat, 14 Jul 2007 15:25:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9nEn-000125-3C
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:25:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9nEm-000119-Jd
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:25:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9nEm-00010g-Bl
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:25:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@welcomehome.org>) id 1I9nEm-00088U-1Z
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:25:04 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <rob@welcomehome.org>) id 1I9nEl-0007ej-K6
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 19:25:03 +0000
Received: from rsavoye by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <rsavoye@savannah.gnu.org>) id 1I9nEl-0007eg-G4
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 19:25:03 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9nEl-0007eg-G4@cvs.savannah.gnu.org>
From: Rob Savoye <rob@welcomehome.org>
Date: Sat, 14 Jul 2007 19:25:03 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jul 2007 19:25:05 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Rob Savoye <rsavoye>	07/07/14 19:25:03

Modified files:
	.              : configure.ac 

Log message:
		* configure.ac: Add new Cygnal directories.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.355&r2=1.356

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.355
retrieving revision 1.356
diff -u -b -r1.355 -r1.356
--- configure.ac	12 Jul 2007 09:31:50 -0000	1.355
+++ configure.ac	14 Jul 2007 19:25:03 -0000	1.356
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.355 2007/07/12 09:31:50 martinwguy Exp $
+dnl $Id: configure.ac,v 1.356 2007/07/14 19:25:03 rsavoye Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1177,6 +1177,11 @@
 plugin/Makefile
 plugin/klash/Makefile
 cygnal/Makefile
+cygnal/ACT/Makefile
+cygnal/IO/Makefile
+cygnal/HTTP/Makefile
+cygnal/Net/Makefile
+cygnal/unit_tests/Makefile
 )
 
 ###



From MAILER-DAEMON Sat Jul 14 15:32:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9nLy-0004uA-Aw
	for mharc-gnash-commit@gnu.org; Sat, 14 Jul 2007 15:32:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9nLx-0004su-Ev
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:32:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9nLx-0004sH-2h
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:32:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9nLw-0004s9-T0
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:32:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@welcomehome.org>) id 1I9nLw-0000pJ-J1
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 15:32:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <rob@welcomehome.org>) id 1I9nLw-0007wy-4n
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 19:32:28 +0000
Received: from rsavoye by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <rsavoye@savannah.gnu.org>) id 1I9nLv-0007wv-Vv
	for gnash-commit@gnu.org; Sat, 14 Jul 2007 19:32:28 +0000
To: gnash-commit@gnu.org
Message-Id: <E1I9nLv-0007wv-Vv@cvs.savannah.gnu.org>
From: Rob Savoye <rob@welcomehome.org>
Date: Sat, 14 Jul 2007 19:32:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jul 2007 19:32:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Rob Savoye <rsavoye>	07/07/14 19:32:27

Modified files:
	.              : ChangeLog 

Log message:
	Oops, actually add entry.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3740&r2=1.3741

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3740
retrieving revision 1.3741
diff -u -b -r1.3740 -r1.3741
--- ChangeLog	13 Jul 2007 20:40:31 -0000	1.3740
+++ ChangeLog	14 Jul 2007 19:32:27 -0000	1.3741
@@ -1,3 +1,7 @@
+2007-07-14  Rob Savoye  <rob@bertha.welcomehome.org>
+
+	* configure.ac: Add new Cygnal directories.
+
 2007-07-13 Sandro Santilli <strk@keybit.net>
 
 	* server/sprite_instance.cpp (sprite_droptarget_getset): 



From MAILER-DAEMON Sun Jul 15 04:09:19 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1I9zAM-0004SG-VV
	for mharc-gnash-commit@gnu.org; Sun, 15 Jul 2007 04:09:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1I9zAK-0004Rt-4D
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 04:09:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1I9zAI-0004Rh-Mw
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 04:09:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1I9zAI-0004Re-G1
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 04:09:14 -0400
Received: from wa-out-1112.google.com ([209.85.146.179])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1I9zAI-0006ZD-3x
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 04:09:14 -0400
Received: by wa-out-1112.google.com with SMTP id k34so1149542wah
	for <gnash-commit@gnu.org>; Sun, 15 Jul 2007 01:09:12 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=RgJiysUl+Jd2Gx58JxYJHS9uUePsOaxJIdGURbxVRVZ8QNNTG+dnZTmXmwQf2V+waL7wLVvq0XpXZs8Bf7QukvLuTGF3S7J4Qh4o8CkPfpWyhXZoKQ5zhuSK64KqptAMAGIIYPTpC1HmEONSQWUxEHPqxMQ6Wf5d4Pe164Aj/Ko=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=DqfviU2A+dzwFA8EnSgGiWzyP1ZcQo2G3aw4uNJZ63TD/PCXcLwrrToiNi6DvsV6zYBpkWvRHDZ9YurvL2j+VU/91qNABI8LIi+YTqELWwEfkUhbPWdB+V3FGYOnIs02XjjmFEk1VNs2byG/aSpuc/tfRxcbCPDDSGJauDxRCgE=
Received: by 10.114.66.2 with SMTP id o2mr3110272waa.1184486948947;
	Sun, 15 Jul 2007 01:09:08 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Sun, 15 Jul 2007 01:09:08 -0700 (PDT)
Message-ID: <ca4b43ff0707150109y704f348euc8211fabde28aee5@mail.gmail.com>
Date: Sun, 15 Jul 2007 16:09:08 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Sandro Santilli" <strk@keybit.net>, gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextTest.c
In-Reply-To: <20070713130516.GE21897@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I9BwA-0002QX-0a@cvs.savannah.gnu.org>
	<20070713130516.GE21897@keybit.net>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: 
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Jul 2007 08:09:16 -0000

On 7/13/07, strk <strk@keybit.net> wrote:
> On Fri, Jul 13, 2007 at 03:35:22AM +0000, Zou Lunkai wrote:
>
> > +  // Why _alpha is special???
> >    xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");
>
> check( dtext1.hasOwnProperty('_alpha') ) ?
>
I'v done this.  see line 171:   xcheck_equals(mo,
"dtext1.hasOwnProperty('_alpha')", "false");
That's why I feel it's strange.



From MAILER-DAEMON Sun Jul 15 07:34:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IA2Mc-00011V-FN
	for mharc-gnash-commit@gnu.org; Sun, 15 Jul 2007 07:34:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IA2Ma-00011Q-8Q
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 07:34:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IA2MY-00011E-AJ
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 07:34:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IA2MY-00011B-4R
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 07:34:06 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IA2MX-0006n6-6v
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 07:34:05 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6FBXrk80278;
	Sun, 15 Jul 2007 13:33:53 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Sun, 15 Jul 2007 13:33:53 +0200
From: Sandro Santilli <strk@keybit.net>
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash/testsuite/misc-ming.all DefineEditTextTest.c
Message-ID: <20070715113353.GA66664@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org
References: <E1I9BwA-0002QX-0a@cvs.savannah.gnu.org>
	<20070713130516.GE21897@keybit.net>
	<ca4b43ff0707150109y704f348euc8211fabde28aee5@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ca4b43ff0707150109y704f348euc8211fabde28aee5@mail.gmail.com>
X-detected-kernel: FreeBSD 2.0-4.2
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Jul 2007 11:34:08 -0000

On Sun, Jul 15, 2007 at 04:09:08PM +0800, zou lunkai wrote:
> On 7/13/07, strk <strk@keybit.net> wrote:
> >On Fri, Jul 13, 2007 at 03:35:22AM +0000, Zou Lunkai wrote:
> >
> >> +  // Why _alpha is special???
> >>    xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", 
> >"false");
> >
> >check( dtext1.hasOwnProperty('_alpha') ) ?
> >
> I'v done this.  see line 171:   xcheck_equals(mo,
> "dtext1.hasOwnProperty('_alpha')", "false");
> That's why I feel it's strange.

Usually the properties named "_<something>" are instance properties
rather then class properties.

--strk;



From MAILER-DAEMON Sun Jul 15 16:24:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAAe3-0007Z4-TN
	for mharc-gnash-commit@gnu.org; Sun, 15 Jul 2007 16:24:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAAe2-0007Xt-9y
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 16:24:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAAe1-0007XU-Jx
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 16:24:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAAe1-0007XR-F7
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 16:24:41 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@welcomehome.org>) id 1IAAe1-0007rR-4v
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 16:24:41 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <rob@welcomehome.org>) id 1IAAe0-0007PJ-18
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 20:24:40 +0000
Received: from rsavoye by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <rsavoye@savannah.gnu.org>) id 1IAAdz-0007PG-Tg
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 20:24:39 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAAdz-0007PG-Tg@cvs.savannah.gnu.org>
From: Rob Savoye <rob@welcomehome.org>
Date: Sun, 15 Jul 2007 20:24:39 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite misc-ming.all/Makefile.am misc-...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Jul 2007 20:24:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Rob Savoye <rsavoye>	07/07/15 20:24:39

Modified files:
	testsuite/misc-ming.all: Makefile.am 
	testsuite/misc-swfmill.all: Makefile.am 
	testsuite/swfdec: Makefile.am 

Log message:
		* testsuite/misc-ming.all/Makefile.am: Add -Wno-portability to
		AUTOMAKE_OPTIONS to stop complaints we don't care about.
		* testsuite/misc-swfmill.all/Makefile.am: Add -Wno-portability to
		AUTOMAKE_OPTIONS to stop complaints we don't care about.
		* testsuite/swfdec/Makefile.am: Add -Wno-portability to
		AUTOMAKE_OPTIONS to stop complaints we don't care about.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.141&r2=1.142
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-swfmill.all/Makefile.am?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/swfdec/Makefile.am?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.141
retrieving revision 1.142
diff -u -b -r1.141 -r1.142
--- misc-ming.all/Makefile.am	13 Jul 2007 02:50:11 -0000	1.141
+++ misc-ming.all/Makefile.am	15 Jul 2007 20:24:39 -0000	1.142
@@ -16,10 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-
-#
-
-AUTOMAKE_OPTIONS = dejagnu
+AUTOMAKE_OPTIONS = dejagnu -Wno-portability
 
 abs_builddir=$(shell cd $(top_builddir)/testsuite/misc-ming.all; pwd)
 

Index: misc-swfmill.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-swfmill.all/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- misc-swfmill.all/Makefile.am	1 Jul 2007 10:55:09 -0000	1.2
+++ misc-swfmill.all/Makefile.am	15 Jul 2007 20:24:39 -0000	1.3
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-AUTOMAKE_OPTIONS = dejagnu
+AUTOMAKE_OPTIONS = dejagnu -Wno-portability
 
 abs_topbuilddir=$(shell cd $(top_builddir); pwd)
 

Index: swfdec/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/swfdec/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- swfdec/Makefile.am	1 Jul 2007 10:55:15 -0000	1.2
+++ swfdec/Makefile.am	15 Jul 2007 20:24:39 -0000	1.3
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-AUTOMAKE_OPTIONS = dejagnu
+AUTOMAKE_OPTIONS = dejagnu -Wno-portability
 
 abs_topbuilddir=$(shell cd $(top_builddir); pwd)
 



From MAILER-DAEMON Sun Jul 15 16:25:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAAeZ-0007cu-0d
	for mharc-gnash-commit@gnu.org; Sun, 15 Jul 2007 16:25:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAAeW-0007cp-TG
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 16:25:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAAeV-0007cd-I5
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 16:25:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAAeV-0007ca-Dn
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 16:25:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@welcomehome.org>) id 1IAAeV-0007wT-49
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 16:25:11 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <rob@welcomehome.org>) id 1IAAeU-0007RZ-M1
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 20:25:10 +0000
Received: from rsavoye by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <rsavoye@savannah.gnu.org>) id 1IAAeU-0007RV-Ca
	for gnash-commit@gnu.org; Sun, 15 Jul 2007 20:25:10 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAAeU-0007RV-Ca@cvs.savannah.gnu.org>
From: Rob Savoye <rob@welcomehome.org>
Date: Sun, 15 Jul 2007 20:25:10 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/po Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Jul 2007 20:25:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Rob Savoye <rsavoye>	07/07/15 20:25:10

Modified files:
	po             : Makefile.am 

Log message:
		* po/Makefile.am: Add -Wno-portability to AUTOMAKE_OPTIONS to
		stop complaints we don't care about. 

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/po/Makefile.am?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/po/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- Makefile.am	28 Jun 2007 01:31:26 -0000	1.11
+++ Makefile.am	15 Jul 2007 20:25:10 -0000	1.12
@@ -1,3 +1,22 @@
+## Process this file with automake to generate Makefile.in
+# 
+#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+AUTOMAKE_OPTIONS = -Wno-portability
+
 POFILES = AUTO
 
 



From MAILER-DAEMON Mon Jul 16 05:21:56 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAMmC-0005MN-Lo
	for mharc-gnash-commit@gnu.org; Mon, 16 Jul 2007 05:21:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAMm9-0005Gm-B7
	for gnash-commit@gnu.org; Mon, 16 Jul 2007 05:21:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAMm6-0005E4-Ex
	for gnash-commit@gnu.org; Mon, 16 Jul 2007 05:21:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAMm5-0005Dd-Vw
	for gnash-commit@gnu.org; Mon, 16 Jul 2007 05:21:50 -0400
Received: from nz-out-0506.google.com ([64.233.162.239])
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <zoulunkai@gmail.com>) id 1IAMm5-0006pc-LK
	for gnash-commit@gnu.org; Mon, 16 Jul 2007 05:21:49 -0400
Received: by nz-out-0506.google.com with SMTP id f1so729424nzc
	for <gnash-commit@gnu.org>; Mon, 16 Jul 2007 02:21:48 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta;
	h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=J2HbrxJr+L2FeyKRQmREeDdxpV2XS5vAu2AP11rfNqci40UfSCqGdVWkiHVrAXmyBXByYoSy/0EeCt0W/2WXvKlQ7hpWBZmvEtuNEjxduVwNpC+wfXAD8HzYwpPjGUcpGZFZCdWSXaaQdeyDpbk1butH6p5840MwoBaOakxmpI0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
	h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=rxnLEHBPeGYCnzYpUrRzBLvIx2FYtJK2lZ+tq1CNR0mM/qq5ER/ynShW2nXPfkYSyz8zUVihLEWtsYJwa8thok2fhv3xzgr3Q3ncws/F9JWMaX/tH2GEUUJrDeVvtvWbGfSntbexW/moPeeSXjJOmoSlZofr1iO4lWxPa9Wie/Y=
Received: by 10.115.54.1 with SMTP id g1mr3944981wak.1184577707751;
	Mon, 16 Jul 2007 02:21:47 -0700 (PDT)
Received: by 10.114.12.7 with HTTP; Mon, 16 Jul 2007 02:21:47 -0700 (PDT)
Message-ID: <ca4b43ff0707160221j22727333ga448ddbbc98a4762@mail.gmail.com>
Date: Mon, 16 Jul 2007 17:21:47 +0800
From: "zou lunkai" <zoulunkai@gmail.com>
To: "Sandro Santilli" <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/asobj/Key.cpp server/mov...
In-Reply-To: <20070710140147.GC55032@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <E1I8Eji-0000gh-JD@cvs.savannah.gnu.org>
	<20070710140147.GC55032@keybit.net>
X-detected-kernel: Linux 2.6 (newer, 2)
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jul 2007 09:21:53 -0000

On 7/10/07, strk <strk@keybit.net> wrote:
> On Tue, Jul 10, 2007 at 12:22:34PM +0000, Zou Lunkai wrote:
>
> > +     std::vector<KeyListener> & listeners = _vm.getRoot().getKeyListeners();
>
> Zou, just a minor thing.
> I was using a std::set in the old design.
> std::set is an ordered container, using a binary tree for seeks.
> This helps by making the removeListener() faster.
> In general try always using typedefs for the containers. I think
> I already provided a KeyListeners typedef in this case.
> Using a typedef helps changing the underlying container without
> requiring a lot of changes around.
> In the KeyListener class case, the std::set should be defined with
> a custom comparator, using the wrapped intrusive_ptr for comparison.
>

I followed your suggestion and did some code cleanups today, but found
difficulties with using std::set.

Background:
(1)KeyListener  is defined in movie_root.h;
(2)To simplify the question,  KeyListener class is just something like this:
KeyListener {
   boost::intrusive_ptr<as_object>  _listener;
   int  flag;
   bool operator < ();  // custom comparator,  compares different  _listeners,
                                    // using the wrapped intrusive_ptr
for comparison.
}
(3) why should I use std::set as a container, see the above quote from strk:)


The problem is the std::set container just support read-only
structure,  then the following code cann't even compile :

std::set<KeyListener >  listeners;
std::set<KeyListener > ::iterator it = listeners.begin();
it ->flag = 0;  // error, gcc does't compiler this,  KeyListener is
supposed to be read-only.
                      // but vc8 compiles well and works without a warning

I think you have seen the problem now, I can not modify anything of an
object stored in a std::set container, even it is not the key. Of
course, the comiler does not know what is the key.

Before asking the question, I'v done some test. Testing results show
that vc8 seems more tolerant on this.  And there are some links
discussing about the related problem.

http://gcc.gnu.org/ml/gcc/2001-07/msg01260.html
http://www.velocityreviews.com/forums/t287950-which-type-should-quotstdsetbegin-constquot-return.html

any comments and help?

zou



From MAILER-DAEMON Tue Jul 17 02:04:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAgAc-0007gY-SJ
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 02:04:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAgAb-0007gT-Dn
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 02:04:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAgAa-0007gH-K6
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 02:04:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAgAa-0007gE-H0
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 02:04:24 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IAgAZ-0004Ot-G5
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 02:04:23 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IAgAZ-0006wf-2l
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 06:04:23 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IAgAY-0006wb-UM
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 06:04:23 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAgAY-0006wb-UM@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 17 Jul 2007 06:04:22 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/Key.cpp server/aso...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 06:04:25 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/17 06:04:22

Modified files:
	.              : ChangeLog 
	server/asobj   : Key.cpp Key.h 
	server         : button_character_instance.cpp 
	                 edit_text_character.cpp movie_root.cpp 
	                 movie_root.h sprite_instance.cpp 

Log message:
	* server/asobj/Key.h, server/asobj/Key.cpp, 
	  server/button_character_instance.cpp
	  server/edit_text_character.cpp, server/movie_root.h, 
	  sever/movie_root.cpp, server/sprite_instance.cpp: key listener
	  handling cleanups, for better management of key listeners. change
	  key listeners container from std::vector to std::set. Correct indent.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3741&r2=1.3742
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.cpp?cvsroot=gnash&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.h?cvsroot=gnash&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/gnash/server/button_character_instance.cpp?cvsroot=gnash&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.77&r2=1.78
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.67&r2=1.68
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.298&r2=1.299

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3741
retrieving revision 1.3742
diff -u -b -r1.3741 -r1.3742
--- ChangeLog	14 Jul 2007 19:32:27 -0000	1.3741
+++ ChangeLog	17 Jul 2007 06:04:21 -0000	1.3742
@@ -1,3 +1,12 @@
+2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
+
+	* server/asobj/Key.h, server/asobj/Key.cpp, 
+	  server/button_character_instance.cpp
+	  server/edit_text_character.cpp, server/movie_root.h, 
+	  sever/movie_root.cpp, server/sprite_instance.cpp: key listener
+	  handling cleanups, for better management of key listeners. change
+	  key listeners container from std::vector to std::set. Correct indent.
+	
 2007-07-14  Rob Savoye  <rob@bertha.welcomehome.org>
 
 	* configure.ac: Add new Cygnal directories.

Index: server/asobj/Key.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- server/asobj/Key.cpp	10 Jul 2007 12:22:34 -0000	1.28
+++ server/asobj/Key.cpp	17 Jul 2007 06:04:22 -0000	1.29
@@ -187,26 +187,26 @@
 }
 
 void
-key_as_object::remove_listener(const KeyListener&	listener)
+key_as_object::remove_listener(boost::intrusive_ptr<as_object> listener)
 {
-	std::vector<KeyListener> & listeners = _vm.getRoot().getKeyListeners();
+    // Should keep consistent with definiton in movie_root.h
+    typedef std::set<KeyListener> KeyListeners;
+
+    KeyListeners & listeners = _vm.getRoot().getKeyListeners();
+    
+    KeyListeners::iterator target = listeners.find(KeyListener(listener));
+
+	KeyListeners::iterator it_end = listeners.end();
 
-	std::vector<KeyListener>::iterator end = listeners.end();
-	for	(std::vector<KeyListener>::iterator	iter = listeners.begin();
-				 iter	!= end;	++iter)	
+    if(target != it_end)
 	{
-			if ((*iter)	== listener) {
-				// Found it
-				iter->unregisterUserHandler();
-				return;
-			}
+        target->unregisterUserHandler();
 	}
 }
 #else
 void
 key_as_object::add_listener(boost::intrusive_ptr<as_object> listener)
 {
-
     // Should we bother doing this every time someone calls add_listener(),
     // or should we perhaps skip this check and use unique later?
     std::vector<boost::intrusive_ptr<as_object> >::const_iterator end = m_listeners.end();
@@ -261,7 +261,7 @@
 
     boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
 
-    ko->add_listener(KeyListener(toadd, true));
+    ko->add_listener(KeyListener(toadd, KeyListener::USER_DEF));
     return as_value();
 }
 #else
@@ -307,7 +307,7 @@
 }
 
 as_value	key_get_code(const fn_call& fn)
-    // Returns the keycode of the last key pressed.
+// Returns the keycode of the last key pressed.
 {
     boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
 
@@ -315,7 +315,7 @@
 }
 
 as_value	key_is_down(const fn_call& fn)
-    // Return true if the specified (first arg keycode) key is pressed.
+// Return true if the specified (first arg keycode) key is pressed.
 {
     if (fn.nargs < 1)
 	{
@@ -331,8 +331,8 @@
 }
 
 as_value	key_is_toggled(const fn_call& /* fn */)
-    // Given the keycode of NUM_LOCK or CAPSLOCK, returns true if
-    // the associated state is on.
+// Given the keycode of NUM_LOCK or CAPSLOCK, returns true if
+// the associated state is on.
 {
     // @@ TODO
     return as_value(false);
@@ -357,12 +357,12 @@
 
     boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr); 
 
-    ko->remove_listener(KeyListener(toremove));
+    ko->remove_listener(toremove);
     return as_value();
 }
 #else
 as_value	key_remove_listener(const fn_call& fn)
-    // Remove a previously-added listener.
+// Remove a previously-added listener.
 {
     if (fn.nargs < 1)
 	{

Index: server/asobj/Key.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- server/asobj/Key.h	10 Jul 2007 04:59:24 -0000	1.22
+++ server/asobj/Key.h	17 Jul 2007 06:04:22 -0000	1.23
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: Key.h,v 1.22 2007/07/10 04:59:24 strk Exp $ */
+/* $Id: Key.h,v 1.23 2007/07/17 06:04:22 zoulunkai Exp $ */
 
 #ifndef __KEY_H__
 #define __KEY_H__
@@ -141,7 +141,7 @@
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
 	void add_listener(const KeyListener& listener);
 
-	void remove_listener(const KeyListener& listener);
+	void remove_listener(boost::intrusive_ptr<as_object> listener);
 #else  
 	void add_listener(boost::intrusive_ptr<as_object> listener);
 

Index: server/button_character_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/button_character_instance.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- server/button_character_instance.cpp	10 Jul 2007 16:18:38 -0000	1.52
+++ server/button_character_instance.cpp	17 Jul 2007 06:04:22 -0000	1.53
@@ -269,7 +269,7 @@
 		if (m_def->m_button_actions[i].m_conditions & 0xFE00)	// check up on CondKeyPress: UB[7]
 		{
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
-			_vm.getRoot().add_key_listener(KeyListener(this));
+			_vm.getRoot().add_key_listener(KeyListener(this, KeyListener::ON_CLIP_DEF));
 #else
 			_vm.getRoot().add_key_listener(this);
 #endif
@@ -281,11 +281,7 @@
 
 button_character_instance::~button_character_instance()
 {
-#ifdef NEW_KEY_LISTENER_LIST_DESIGN
-	_vm.getRoot().remove_key_listener(KeyListener(this));
-#else
 	_vm.getRoot().remove_key_listener(this);
-#endif
 }
 
 

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- server/edit_text_character.cpp	11 Jul 2007 16:52:47 -0000	1.74
+++ server/edit_text_character.cpp	17 Jul 2007 06:04:22 -0000	1.75
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.74 2007/07/11 16:52:47 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.75 2007/07/17 06:04:22 zoulunkai Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -511,7 +511,7 @@
 			if (m_has_focus == false)
 			{
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
-				_vm.getRoot().add_key_listener(KeyListener(this));
+				_vm.getRoot().add_key_listener(KeyListener(this, KeyListener::ON_CLIP_DEF));
 #else
 				_vm.getRoot().add_key_listener(this);
 #endif
@@ -528,11 +528,7 @@
 			{
 				movie_root& root = _vm.getRoot();
 				root.set_active_entity(NULL);
-#ifdef NEW_KEY_LISTENER_LIST_DESIGN
-				root.remove_key_listener(KeyListener(this));
-#else
 				root.remove_key_listener(this);
-#endif
 				m_has_focus = false;
 				format_text();
 			}

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- server/movie_root.cpp	11 Jul 2007 00:41:07 -0000	1.77
+++ server/movie_root.cpp	17 Jul 2007 06:04:22 -0000	1.78
@@ -743,25 +743,28 @@
 	log_msg("Cleaning up %u key listeners", _keyListeners.size());
 #endif
 
-	for (std::vector<KeyListener>::iterator iter = _keyListeners.begin();
+    for (KeyListeners::iterator iter = _keyListeners.begin();
 		 iter != _keyListeners.end(); )
 	{
-		
-		character* ch = dynamic_cast<character*>(iter->get());
-		// remove character listener
-		if ( ch && ch->isUnloaded() ) 
+        // The listener object has no registered key event handlers, remove it.
+        if( !iter->hasUserRegistered() && !iter->hasOnClipRegistered() )
 		{
-			iter = _keyListeners.erase(iter);
+            _keyListeners.erase(iter++);
 		}
-		// remove non-character listener
-		else if(!ch && !iter->isRegistered())
+        else 
+        {
+            boost::intrusive_ptr<as_object> obj = iter->get();
+			character* ch = dynamic_cast<character*>(obj.get());
+            // The listener object is unloaded, remove it.
+            // TODO: Don't do this again in the character destructors. should we?
+            if ( ch && ch->isUnloaded() ) 
 		{
-			iter = _keyListeners.erase(iter);
+                _keyListeners.erase(iter++);
 		}
 		else
 			++iter;
 	}
-
+    }
 
 #ifdef KEY_LISTENERS_DEBUG
 	size_t currsize = _keyListeners.size();
@@ -775,10 +778,11 @@
 
 	as_environment env;
 
-	for (std::vector<KeyListener>::iterator iter = _keyListeners.begin();
+    for (KeyListeners::iterator iter = _keyListeners.begin();
 		iter != _keyListeners.end(); ++iter)
 	{
-		character* ch = dynamic_cast<character*>(iter->get());
+		boost::intrusive_ptr<as_object> obj = iter->get();
+        character* ch = dynamic_cast<character*>(obj.get());
 		// notify character listeners
 		if ( ch && ! ch->isUnloaded() ) 
 		{
@@ -787,7 +791,7 @@
 				// invoke onClipKeyDown handler
 				ch->on_event(event_id(event_id::KEY_DOWN, key::INVALID));
 				
-				if(iter->isRegistered())
+                if(iter->hasUserRegistered())
 				// invoke onKeyDown handler
 				{
 					boost::intrusive_ptr<as_function> 
@@ -805,7 +809,7 @@
 				//invoke onClipKeyUp handler
 				ch->on_event(event_id(event_id::KEY_UP, key::INVALID));   
 
-				if(iter->isRegistered())
+                if(iter->hasUserRegistered())
 				// invoke onKeyUp handler
 				{
 					boost::intrusive_ptr<as_function> 
@@ -830,40 +834,37 @@
 			}
 		}
 	}
-
 	assert(testInvariant());
 }
 
 void movie_root::add_key_listener(const KeyListener & listener)
 {
-	std::vector<KeyListener>::iterator end = _keyListeners.end();
-    for (std::vector<KeyListener>::iterator iter = _keyListeners.begin();
-         iter != end; ++iter) 
+    KeyListeners::iterator target = _keyListeners.find(listener);
+    if(target == _keyListeners.end())
+    // The key listener is not in the container, then add it.
+    {
+        _keyListeners.insert(listener);
+    }
+    else
+    // The key listener is already in the container, then register it(again).
+    {
+        if(listener.hasUserRegistered())
 	{
-      if ((*iter) == listener) {
-        // Already in the list.
-		iter->registerUserHandler();
-        return;
+            target->registerUserHandler();
+        }
+        if(listener.hasOnClipRegistered())
+        {
+            target->registerOnClipHandler();
       }
     }
-
-    _keyListeners.push_back(listener);
 
 	assert(testInvariant());
 }
 
-void movie_root::remove_key_listener(const KeyListener&	listener)
+void movie_root::remove_key_listener(as_object* listener)
 {
-	std::vector<KeyListener>::iterator end = _keyListeners.end();
-		for	(std::vector<KeyListener>::iterator	iter = _keyListeners.begin();
-				 iter	!= end;	++iter)	
-	{
-			if ((*iter)	== listener) {
-				// If found, then remove it from the container
-				_keyListeners.erase(iter);
-				return;
-			}
-		}
+    _keyListeners.erase(KeyListener(listener));
+
 	assert(testInvariant());
 }
 

Index: server/movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- server/movie_root.h	10 Jul 2007 23:48:42 -0000	1.67
+++ server/movie_root.h	17 Jul 2007 06:04:22 -0000	1.68
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.67 2007/07/10 23:48:42 strk Exp $ */
+/* $Id: movie_root.h,v 1.68 2007/07/17 06:04:22 zoulunkai Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -106,27 +106,45 @@
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
 class KeyListener{
 	public:
-		/// all constructed key listeners are not registered to the global Key object by default.
-		KeyListener(boost::intrusive_ptr<as_object> obj, bool flag=false)
-		: _listener(obj), _user_defined_handler_added(flag)
+        
+        KeyListener(boost::intrusive_ptr<as_object> obj, int flag=0)
+        : _listener(obj), _registered_type(flag)
 		{}
 
-		as_object * get() const { return _listener.get(); }
+        boost::intrusive_ptr<as_object> get() const { return _listener; }
 
-		bool operator == (const KeyListener & rhs ) const { return _listener.get() == rhs.get(); }
-		bool operator != (const KeyListener & rhs ) const { return _listener.get() != rhs.get(); }
+        bool operator == (const KeyListener & rhs ) const { return _listener == rhs.get(); }
+        bool operator != (const KeyListener & rhs ) const { return _listener != rhs.get(); }
+        bool operator < (const KeyListener & rhs ) const { return _listener < rhs.get(); }
+        
+        enum
+        {
+            ON_CLIP_DEF = 1 << 0,
+            USER_DEF    = 1 << 1
+        };
 	
 		/// \brief
-		/// Return true if the _listener has been registered by Key.addListener(),
-		/// false if the _listener has not been registered or unregistered by Key.removeListener().
-		/// The return value is used to decide if we should invoke the user defined handler.
-		bool isRegistered() const { return _user_defined_handler_added; }
+        /// true if the _listener has OnClip defined key event handlers,
+        /// false if the _listener has no OnClip defined key event handlers.
+        ///
+        /// OnClip defined key event handlers are registered automatically and can not
+        /// be unregistered when they are defined.
+        bool hasOnClipRegistered() const { return _registered_type & ON_CLIP_DEF; }
 		
-		/// unregister the key listener
-		void unregisterUserHandler() { _user_defined_handler_added = false; }
+        /// \brief
+        /// true if the _listener has been registered by Key.addListener(),
+        /// false if the _listener has not been registered by Key.addListener()
+        /// or unregistered by Key.removeListener().
+        bool hasUserRegistered() const { return _registered_type & USER_DEF; }      
+
+        /// register user defined key handler
+        void registerUserHandler() const { _registered_type |= USER_DEF; }
 		
-		/// register the key listener
-		void registerUserHandler() { _user_defined_handler_added = true; }
+        /// register OnClip defined key handler
+        void registerOnClipHandler() const { _registered_type |= ON_CLIP_DEF; }
+
+        /// unregister user defined key handler
+        void unregisterUserHandler() const { _registered_type ^= USER_DEF; }
 
 #ifdef GNASH_USE_GC
 		/// Mark the wrapped object as reachable
@@ -141,8 +159,17 @@
 		/// the listener object, could be a character or a general as_object
 		boost::intrusive_ptr<as_object> _listener;
 
-		/// mark if the object has been registered by Key.addListener()
-		bool _user_defined_handler_added;
+        /// 0: the listener has no registered event handlers, to be removed;
+        /// ON_CLIP_DEF: the listener has registered onClip event handlers;
+        /// USER_DEF: the listener has registered user defined handlers;
+        //
+        // (1) onClip handlers get registered as soon as they are defined, and 
+        //     will never get unregistered;
+        // (2) user defined handlers get registered by Key.addListener(obj),
+        //     and unregistered by Key.removedListener(obj);
+        // mutable here is a hack for using std::set<>, we might drop this class 
+        // or change to another container later.
+        mutable int _registered_type;
 	};
 #endif 
 
@@ -505,9 +532,10 @@
 	void add_key_listener(const KeyListener& listener);
 	
 	// remove the specified listener from the container if found
-	void remove_key_listener(const KeyListener& listener);
+    void remove_key_listener(as_object* listener);
 	
-	std::vector<KeyListener> & getKeyListeners() { return _keyListeners; }
+    typedef std::set<KeyListener> KeyListeners;
+    KeyListeners & getKeyListeners() { return _keyListeners; }
 #else
 	void add_key_listener(as_object* listener);
 	void remove_key_listener(as_object* listener);
@@ -628,7 +656,6 @@
 
 	/// Objects listening for key events
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
-	typedef std::vector<KeyListener> KeyListeners;
 	KeyListeners _keyListeners;
 #else
 	ListenerSet m_key_listeners;

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.298
retrieving revision 1.299
diff -u -b -r1.298 -r1.299
--- server/sprite_instance.cpp	13 Jul 2007 20:40:32 -0000	1.298
+++ server/sprite_instance.cpp	17 Jul 2007 06:04:22 -0000	1.299
@@ -1782,11 +1782,7 @@
 
 	if (m_has_key_event)
 	{
-#ifdef NEW_KEY_LISTENER_LIST_DESIGN
-		_vm.getRoot().remove_key_listener(KeyListener(this));
-#else
 		_vm.getRoot().remove_key_listener(this);
-#endif
 	}
 
 	if (m_has_mouse_event)
@@ -2452,7 +2448,7 @@
 		if (m_has_key_event)
 		{
 #ifdef NEW_KEY_LISTENER_LIST_DESIGN
-			_vm.getRoot().add_key_listener(KeyListener(this));
+			_vm.getRoot().add_key_listener(KeyListener(this, KeyListener::ON_CLIP_DEF));
 #else
 			_vm.getRoot().add_key_listener(this);
 #endif



From MAILER-DAEMON Tue Jul 17 03:42:28 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAhhU-0000WX-HW
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 03:42:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAhhS-0000WA-Qh
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 03:42:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAhhR-0000Vh-Vq
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 03:42:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAhhR-0000Vb-PD
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 03:42:25 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IAhhR-0001W2-D1
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 03:42:25 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IAhhQ-0006bd-CC
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 07:42:24 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IAhhQ-0006bU-5p
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 07:42:24 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAhhQ-0006bU-5p@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 17 Jul 2007 07:42:24 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/key_eve...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 07:42:27 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/17 07:42:24

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: key_event_test5.c 

Log message:
	* testsuite/misc-ming.all/key_event_test5.c: make tests not dependent
	  on the time of a key press, better self-contained.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3742&r2=1.3743
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/key_event_test5.c?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3742
retrieving revision 1.3743
diff -u -b -r1.3742 -r1.3743
--- ChangeLog	17 Jul 2007 06:04:21 -0000	1.3742
+++ ChangeLog	17 Jul 2007 07:42:23 -0000	1.3743
@@ -1,5 +1,10 @@
 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
 
+	* testsuite/misc-ming.all/key_event_test5.c: make tests not dependent
+	  on the time of a key press, better self-contained.
+	
+2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
+
 	* server/asobj/Key.h, server/asobj/Key.cpp, 
 	  server/button_character_instance.cpp
 	  server/edit_text_character.cpp, server/movie_root.h, 

Index: testsuite/misc-ming.all/key_event_test5.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/key_event_test5.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/key_event_test5.c	11 Jul 2007 06:43:08 -0000	1.4
+++ testsuite/misc-ming.all/key_event_test5.c	17 Jul 2007 07:42:23 -0000	1.5
@@ -35,8 +35,6 @@
 {
   SWFMovie mo;
   SWFMovieClip dejagnuclip;
-  SWFShape sh1, sh2;
-  SWFDisplayItem it1, it2;
   int i;
 
 
@@ -57,7 +55,7 @@
   // frame1
   dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10, 0, 0, 800, 600);
   SWFMovie_add(mo, (SWFBlock)dejagnuclip);
-  add_actions(mo, " hasKeyPressed = false; " );
+  add_actions(mo, " hasKeyPressed = false; _root.frmNum = 0;" );
 
   add_actions(mo, " obj = new Object(); "
                   " obj.x = 1; "
@@ -66,6 +64,7 @@
                   "   _root.note('key listener invoked'); "
                   "   hasKeyPressed = true; "
                   "   _root.objRef = this; "
+                  "   _root.frmNum = _root._currentframe; "
                   " };" 
                   " Key.addListener(obj); "
                   // After deleting obj, we still have a key listener kept alive!
@@ -85,10 +84,6 @@
                    "{"
                    "  check_equals(typeof(objRef), 'object');"
                    "  check_equals(objRef.x, 1);"
-                   // reset testing variables
-                   "  hasKeyPressed = false;"
-                   "  _root.x1 = 0; "
-                   "  objRef.x = 0; "
                    // remove the key listener from the global key
                    "  Key.removeListener(objRef); "
                    // check that objRef is still alive
@@ -99,16 +94,27 @@
                    "else"
                    "{"
                    "  check_equals(typeof(objRef), 'undefined');"
-                   "}");
+                   "}"
+                   // reset testing variables
+                   "hasKeyPressed = false;");
   
   for(i=5; i<10; i++)
   {
     SWFMovie_nextFrame(mo); 
   }          
   
-  check_equals(mo, "hasKeyPressed", "false");   
   check_equals(mo, "typeof(obj)", "'undefined'"); 
-  check_equals(mo, "typeof(objRef)", "'undefined'"); 
+  
+  add_actions(mo, "if(_root.frmNum < 6)"
+                  "{"
+                  "   check_equals(hasKeyPressed, false); "
+                  "   check_equals(typeof(objRef), 'undefined'); "
+                  "} else"
+                  "{"
+                  "   check_equals(hasKeyPressed, true); "
+                  "   check_equals(typeof(objRef), 'object'); "
+                  "}");
+
   
   add_actions(mo, "stop(); totals();");
   SWFMovie_nextFrame(mo);  
@@ -119,3 +125,5 @@
 
   return 0;
 }
+
+



From MAILER-DAEMON Tue Jul 17 04:00:34 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAhyz-0007le-U0
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 04:00:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAhyy-0007lZ-Il
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 04:00:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAhyy-0007lN-81
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 04:00:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAhyy-0007lK-0j
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 04:00:32 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IAhyx-0005x8-J6
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 04:00:31 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IAhyw-0008W7-Pg
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 08:00:30 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IAhyw-0008W4-If
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 08:00:30 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAhyw-0008W4-If@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 17 Jul 2007 08:00:30 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 08:00:32 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/17 08:00:30

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: MovieClip.as 

Log message:
	* testsuite/actionscript.all/MovieClip.as: fix unsafe floating number
	  comparison, better self-contained.(I got failures with the original  check_equals)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3743&r2=1.3744
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.74&r2=1.75

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3743
retrieving revision 1.3744
diff -u -b -r1.3743 -r1.3744
--- ChangeLog	17 Jul 2007 07:42:23 -0000	1.3743
+++ ChangeLog	17 Jul 2007 08:00:29 -0000	1.3744
@@ -2,6 +2,8 @@
 
 	* testsuite/misc-ming.all/key_event_test5.c: make tests not dependent
 	  on the time of a key press, better self-contained.
+	* testsuite/actionscript.all/MovieClip.as: fix unsafe floating number
+	  comparison, better self-contained.
 	
 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
 

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- testsuite/actionscript.all/MovieClip.as	13 Jul 2007 20:40:32 -0000	1.74
+++ testsuite/actionscript.all/MovieClip.as	17 Jul 2007 08:00:30 -0000	1.75
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.74 2007/07/13 20:40:32 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.75 2007/07/17 08:00:30 zoulunkai Exp $";
 
 #include "check.as"
 
@@ -614,10 +614,14 @@
 check_equals(typeof(b.yMin), 'number');
 check_equals(typeof(b.yMax), 'number');
 // Returned number is (2^28/2)-1 twips : any ringing bell ?
-check_equals(b.xMin, 6710886.35);
-check_equals(b.xMax, 6710886.35);
-check_equals(b.yMin, 6710886.35);
-check_equals(b.yMax, 6710886.35);
+//check_equals(b.xMin, 6710886.35);
+//check_equals(b.xMax, 6710886.35);
+//check_equals(b.yMin, 6710886.35);
+//check_equals(b.yMax, 6710886.35);
+checks(b.xMin-6710886.35 < 0.001);
+checks(b.xMax-6710886.35 < 0.001);
+checks(b.yMin-6710886.35 < 0.001);
+checks(b.yMax-6710886.35 < 0.001);
 
 with (draw)
 {



From MAILER-DAEMON Tue Jul 17 05:34:03 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAjRT-0005Oq-8n
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 05:34:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAjRR-0005Od-Rt
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 05:34:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAjRQ-0005OR-Cn
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 05:34:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAjRQ-0005OO-6J
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 05:34:00 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IAjRP-0006l0-Pu
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 05:33:59 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IAjRO-00070R-So
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 09:33:58 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IAjRO-00070O-MV
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 09:33:58 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAjRO-00070O-MV@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 17 Jul 2007 09:33:58 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 09:34:02 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/17 09:33:58

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: MovieClip.as 

Log message:
	* testsuite/actionscript.all/MovieClip.as: more tests, all passed.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3744&r2=1.3745
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.75&r2=1.76

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3744
retrieving revision 1.3745
diff -u -b -r1.3744 -r1.3745
--- ChangeLog	17 Jul 2007 08:00:29 -0000	1.3744
+++ ChangeLog	17 Jul 2007 09:33:57 -0000	1.3745
@@ -1,5 +1,9 @@
 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
 
+	* testsuite/actionscript.all/MovieClip.as: more tests, all passed.
+	  
+2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
+
 	* testsuite/misc-ming.all/key_event_test5.c: make tests not dependent
 	  on the time of a key press, better self-contained.
 	* testsuite/actionscript.all/MovieClip.as: fix unsafe floating number

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- testsuite/actionscript.all/MovieClip.as	17 Jul 2007 08:00:30 -0000	1.75
+++ testsuite/actionscript.all/MovieClip.as	17 Jul 2007 09:33:57 -0000	1.76
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.75 2007/07/17 08:00:30 zoulunkai Exp $";
+rcsid="$Id: MovieClip.as,v 1.76 2007/07/17 09:33:57 zoulunkai Exp $";
 
 #include "check.as"
 
@@ -254,6 +254,69 @@
 check(mc._xmouse != undefined);
 check(mc._xscale != undefined);
 
+#if OUTPUT_VERSION >= 6
+
+// focused test on _* properties
+check_equals(typeof(mc._x), 'number');
+checks(!mc.hasOwnProperty("_x"));
+checks(!mc.__proto__.hasOwnProperty("_x"));
+checks(!MovieClip.prototype.hasOwnProperty("_x"));
+
+check_equals(typeof(mc._y), 'number');
+checks(!mc.hasOwnProperty("_y"));
+checks(!mc.__proto__.hasOwnProperty("_y"));
+checks(!MovieClip.prototype.hasOwnProperty("_y"));
+
+check_equals(typeof(mc._height), 'number');
+checks(!mc.hasOwnProperty("_height"));
+checks(!mc.__proto__.hasOwnProperty("_height"));
+checks(!MovieClip.prototype.hasOwnProperty("_height"));
+
+check_equals(typeof(mc._width), 'number');
+checks(!mc.hasOwnProperty("_width"));
+checks(!mc.__proto__.hasOwnProperty("_width"));
+checks(!MovieClip.prototype.hasOwnProperty("_width"));
+
+check_equals(typeof(mc._xscale), 'number');
+checks(!mc.hasOwnProperty("_xscale"));
+checks(!mc.__proto__.hasOwnProperty("_xscale"));
+checks(!MovieClip.prototype.hasOwnProperty("_xscale"));
+
+check_equals(typeof(mc._yscale), 'number');
+checks(!mc.hasOwnProperty("_yscale"));
+checks(!mc.__proto__.hasOwnProperty("_yscale"));
+checks(!MovieClip.prototype.hasOwnProperty("_yscale"));
+
+check_equals(typeof(mc._xmouse), 'number');
+checks(!mc.hasOwnProperty("_xmouse"));
+checks(!mc.__proto__.hasOwnProperty("_xmouse"));
+checks(!MovieClip.prototype.hasOwnProperty("_xmouse"));
+
+check_equals(typeof(mc._ymouse), 'number');
+checks(!mc.hasOwnProperty("_ymouse"));
+checks(!mc.__proto__.hasOwnProperty("_ymouse"));
+checks(!MovieClip.prototype.hasOwnProperty("_ymouse"));
+
+check_equals(typeof(mc._rotation), 'number');
+checks(!mc.hasOwnProperty("_rotation"));
+checks(!mc.__proto__.hasOwnProperty("_rotation"));
+checks(!MovieClip.prototype.hasOwnProperty("_rotation"));
+
+check_equals(typeof(mc._totalframes), 'number');
+checks(!mc.hasOwnProperty("_totalframes"));
+checks(!mc.__proto__.hasOwnProperty("_totalframes"));
+checks(!MovieClip.prototype.hasOwnProperty("_totalframes"));
+
+checks(!mc.hasOwnProperty("_target"));
+checks(!mc.hasOwnProperty("_url"));
+checks(!mc.hasOwnProperty("_target"));
+checks(!mc.hasOwnProperty("_soundbuftime"));
+checks(!mc.hasOwnProperty("_focusrect"));
+checks(!mc.hasOwnProperty("_framesloaded"));
+checks(!mc.hasOwnProperty("_lockroot"));
+checks(!mc.hasOwnProperty("_highquality"));
+#endif //if OUTPUT_VERSION >= 6
+
 //----------------------------------------------
 // Test createEmptyMovieClip
 //----------------------------------------------



From MAILER-DAEMON Tue Jul 17 12:15:28 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAphw-0001Cb-3d
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 12:15:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAphu-0001CB-Ds
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 12:15:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IApht-0001Bz-KL
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 12:15:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IApht-0001Bw-G7
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 12:15:25 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IAphs-0007Zx-Ps
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 12:15:25 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6HGF4o32314;
	Tue, 17 Jul 2007 18:15:04 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Tue, 17 Jul 2007 18:15:04 +0200
From: Sandro Santilli <strk@keybit.net>
To: zou lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog server/asobj/Key.cpp server/mov...
Message-ID: <20070717161504.GE66664@keybit.net>
Mail-Followup-To: zou lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1I8Eji-0000gh-JD@cvs.savannah.gnu.org>
	<20070710140147.GC55032@keybit.net>
	<ca4b43ff0707160221j22727333ga448ddbbc98a4762@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <ca4b43ff0707160221j22727333ga448ddbbc98a4762@mail.gmail.com>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 16:15:26 -0000

On Mon, Jul 16, 2007 at 05:21:47PM +0800, zou lunkai wrote:

> The problem is the std::set container just support read-only
> structure,  then the following code cann't even compile :

Argh, this is annoying.
I see these possible solutions:

1) Use a std::list (but you'd have to maintain order yourself in this case)
2) Use a std::map (but it'd take more space)
3) Keep using a std::set and const_cast the elementd pointed-to by the iterator

Option 3 seems the quicker. A comment above the const_cast use might warn
the developers about what would be dangerous and what not.
I think we index by pointer so hardly any operation would be dangerous.

--strk;



From MAILER-DAEMON Tue Jul 17 15:19:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAsZf-0007Zu-NC
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 15:19:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAsZf-0007ZE-15
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 15:19:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAsZd-0007Y9-Ir
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 15:19:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAsZd-0007Y6-Cc
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 15:19:05 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IAsZc-0003r4-NH
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 15:19:04 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IAsZb-0005Rf-Hz
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:19:03 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IAsZa-0005Rc-V7
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:19:03 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAsZa-0005Rc-V7@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 17 Jul 2007 19:19:02 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal ACT/.cvsignore HTTP/.cvsignore IO/...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 19:19:07 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/17 19:19:02

Added files:
	cygnal/ACT     : .cvsignore 
	cygnal/HTTP    : .cvsignore 
	cygnal/IO      : .cvsignore 
	cygnal/Net     : .cvsignore 
	cygnal/unit_tests: .cvsignore 

Log message:
	ignores

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/.cvsignore?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/.cvsignore?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/.cvsignore?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/.cvsignore?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/.cvsignore?cvsroot=gnash&rev=1.1

Patches:
Index: ACT/.cvsignore
===================================================================
RCS file: ACT/.cvsignore
diff -N ACT/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/.cvsignore	17 Jul 2007 19:19:00 -0000	1.1
@@ -0,0 +1,9 @@
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp

Index: HTTP/.cvsignore
===================================================================
RCS file: HTTP/.cvsignore
diff -N HTTP/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ HTTP/.cvsignore	17 Jul 2007 19:19:01 -0000	1.1
@@ -0,0 +1,9 @@
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp

Index: IO/.cvsignore
===================================================================
RCS file: IO/.cvsignore
diff -N IO/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ IO/.cvsignore	17 Jul 2007 19:19:01 -0000	1.1
@@ -0,0 +1,9 @@
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp

Index: Net/.cvsignore
===================================================================
RCS file: Net/.cvsignore
diff -N Net/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Net/.cvsignore	17 Jul 2007 19:19:02 -0000	1.1
@@ -0,0 +1,9 @@
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp

Index: unit_tests/.cvsignore
===================================================================
RCS file: unit_tests/.cvsignore
diff -N unit_tests/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ unit_tests/.cvsignore	17 Jul 2007 19:19:02 -0000	1.1
@@ -0,0 +1,9 @@
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp



From MAILER-DAEMON Tue Jul 17 18:05:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAvAR-0005xb-0h
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 18:05:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAvAP-0005ww-D5
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 18:05:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAvAO-0005wV-Mc
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 18:05:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAvAO-0005wO-DG
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 18:05:12 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IAvAN-00084O-UG
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 18:05:12 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IAvAG-0007oA-5l
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:05:04 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IAvAG-0007o7-0d
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:05:04 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAvAG-0007o7-0d@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 17 Jul 2007 22:05:04 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/sound_handler_sdl.h gui...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 22:05:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/17 22:05:03

Modified files:
	.              : ChangeLog 
	backend        : sound_handler_sdl.h 
	gui            : gnash.cpp 
	libbase        : embedVideoDecoderFfmpeg.cpp 
	                 embedVideoDecoderFfmpeg.h 
	server/asobj   : NetStreamFfmpeg.h SoundFfmpeg.h 

Log message:
	Nick Warne, linking fix.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3745&r2=1.3746
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.h?cvsroot=gnash&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.83&r2=1.84
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/embedVideoDecoderFfmpeg.cpp?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/embedVideoDecoderFfmpeg.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamFfmpeg.h?cvsroot=gnash&r1=1.47&r2=1.48
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundFfmpeg.h?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3745
retrieving revision 1.3746
diff -u -b -r1.3745 -r1.3746
--- ChangeLog	17 Jul 2007 09:33:57 -0000	1.3745
+++ ChangeLog	17 Jul 2007 22:05:02 -0000	1.3746
@@ -1,3 +1,9 @@
+2007-07-17 Nick Warne <nickw>
+
+	* backend/sound_handler_sdl.h, libbase/embedVideoDecoderFfmpeg.{cpp,h},
+	  server/asobj/{Sound, Netstream}Ffmpeg.h, gui/gnash.cpp: Fix for
+	 linking.
+
 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
 
 	* testsuite/actionscript.all/MovieClip.as: more tests, all passed.

Index: backend/sound_handler_sdl.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- backend/sound_handler_sdl.h	3 Jul 2007 04:31:59 -0000	1.28
+++ backend/sound_handler_sdl.h	17 Jul 2007 22:05:03 -0000	1.29
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: sound_handler_sdl.h,v 1.28 2007/07/03 04:31:59 strk Exp $
+// $Id: sound_handler_sdl.h,v 1.29 2007/07/17 22:05:03 nihilus Exp $
 
 #ifndef SOUND_HANDLER_SDL_H
 #define SOUND_HANDLER_SDL_H
@@ -26,7 +26,9 @@
 #include "log.h"
 
 #ifdef USE_FFMPEG
+extern "C" {
 #include <ffmpeg/avcodec.h>
+}
 #elif defined(USE_MAD)
 #include <mad.h>
 #endif

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -b -r1.83 -r1.84
--- gui/gnash.cpp	6 Jul 2007 15:10:43 -0000	1.83
+++ gui/gnash.cpp	17 Jul 2007 22:05:03 -0000	1.84
@@ -27,7 +27,9 @@
 #include "debugger.h"
 
 #ifdef HAVE_FFMPEG_AVCODEC_H
+extern "C" {
 # include "ffmpeg/avcodec.h"
+}
 #endif
 
 #ifdef HAVE_GST_GST_H

Index: libbase/embedVideoDecoderFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/embedVideoDecoderFfmpeg.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- libbase/embedVideoDecoderFfmpeg.cpp	1 Jul 2007 10:54:08 -0000	1.20
+++ libbase/embedVideoDecoderFfmpeg.cpp	17 Jul 2007 22:05:03 -0000	1.21
@@ -26,7 +26,9 @@
 #include "embedVideoDecoderFfmpeg.h"
 
 #ifdef HAVE_SWSCALE_H
+extern "C" {
 #include <ffmpeg/swscale.h>
+}
 #endif
 
 #include <boost/scoped_array.hpp>

Index: libbase/embedVideoDecoderFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/embedVideoDecoderFfmpeg.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- libbase/embedVideoDecoderFfmpeg.h	1 Jul 2007 10:54:08 -0000	1.7
+++ libbase/embedVideoDecoderFfmpeg.h	17 Jul 2007 22:05:03 -0000	1.8
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: embedVideoDecoderFfmpeg.h,v 1.7 2007/07/01 10:54:08 bjacques Exp $
+// $Id: embedVideoDecoderFfmpeg.h,v 1.8 2007/07/17 22:05:03 nihilus Exp $
 
 #ifndef __EMBEDVIDEODECODERFFMPEG_H__
 #define __EMBEDVIDEODECODERFFMPEG_H__
@@ -28,7 +28,9 @@
 
 #include <vector>
 #include "embedVideoDecoder.h"
+extern "C" {
 #include <ffmpeg/avcodec.h>
+}
 #include "image.h"
 
 namespace gnash {

Index: server/asobj/NetStreamFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamFfmpeg.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- server/asobj/NetStreamFfmpeg.h	1 Jul 2007 10:54:29 -0000	1.47
+++ server/asobj/NetStreamFfmpeg.h	17 Jul 2007 22:05:03 -0000	1.48
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: NetStreamFfmpeg.h,v 1.47 2007/07/01 10:54:29 bjacques Exp $ */
+/* $Id: NetStreamFfmpeg.h,v 1.48 2007/07/17 22:05:03 nihilus Exp $ */
 
 #ifndef __NETSTREAMFFMPEG_H__
 #define __NETSTREAMFFMPEG_H__
@@ -39,7 +39,9 @@
 #include "impl.h"
 #include "video_stream_instance.h"
 
+extern "C" {
 #include <ffmpeg/avformat.h>
+}
 
 #include "image.h"
 #include "StreamProvider.h"	

Index: server/asobj/SoundFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundFfmpeg.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- server/asobj/SoundFfmpeg.h	1 Jul 2007 10:54:31 -0000	1.7
+++ server/asobj/SoundFfmpeg.h	17 Jul 2007 22:05:03 -0000	1.8
@@ -32,7 +32,9 @@
 #include <boost/bind.hpp> 
 #include <boost/thread/mutex.hpp>
 
+extern "C" {
 #include <ffmpeg/avformat.h>
+}
 
 namespace gnash {
 



From MAILER-DAEMON Tue Jul 17 19:07:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAw8l-0001hJ-K5
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 19:07:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAw8k-0001fA-BA
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:07:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAw8i-0001ek-Tk
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:07:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAw8i-0001eh-O5
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:07:32 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IAw8i-0001ez-9O
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:07:32 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IAw8h-0003W0-7B
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:07:31 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IAw8h-0003Vx-2a
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:07:31 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAw8h-0003Vx-2a@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 17 Jul 2007 23:07:31 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog macros/opengl.m4
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 23:07:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/17 23:07:31

Modified files:
	.              : ChangeLog 
	macros         : opengl.m4 

Log message:
	Fixes typo on Darwin

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3746&r2=1.3747
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/opengl.m4?cvsroot=gnash&r1=1.34&r2=1.35

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3746
retrieving revision 1.3747
diff -u -b -r1.3746 -r1.3747
--- ChangeLog	17 Jul 2007 22:05:02 -0000	1.3746
+++ ChangeLog	17 Jul 2007 23:07:30 -0000	1.3747
@@ -1,3 +1,7 @@
+2007-07-18 Markus Gothe <nietzsche@lysator.liu.se>
+
+	* macros/opengl.m4: Typo fix on Darwin.
+
 2007-07-17 Nick Warne <nickw>
 
 	* backend/sound_handler_sdl.h, libbase/embedVideoDecoderFfmpeg.{cpp,h},

Index: macros/opengl.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/opengl.m4,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- macros/opengl.m4	1 Jul 2007 10:54:13 -0000	1.34
+++ macros/opengl.m4	17 Jul 2007 23:07:30 -0000	1.35
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: opengl.m4,v 1.34 2007/07/01 10:54:13 bjacques Exp $
+dnl $Id: opengl.m4,v 1.35 2007/07/17 23:07:30 nihilus Exp $
 
 AC_DEFUN([GNASH_PATH_OPENGL],
 [
@@ -89,7 +89,7 @@
     ])
 
     if test x"${darwin}" = xyes; then
-      ac_cv_path_opengl_lib="framework Carbon -framework ApplicationServices -framework OpenGL -framework AGL"
+      ac_cv_path_opengl_lib="-framework Carbon -framework ApplicationServices -framework OpenGL -framework AGL"
     else
       if test x"${ac_cv_path_opengl_lib}" = x; then
         newlist="/System/Library/Frameworks/OpenGL.framework/Libraries ${libslist}"



From MAILER-DAEMON Tue Jul 17 19:16:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAwH5-0004Hd-Bl
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 19:16:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAwH4-0004HX-7R
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:16:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAwH3-0004HK-SD
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:16:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAwH3-0004HH-OO
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:16:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IAwH3-00032h-3K
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:16:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IAwH1-0004x6-K7
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:16:08 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IAwH1-0004wx-0k
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:16:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAwH1-0004wx-0k@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 17 Jul 2007 23:16:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 23:16:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/17 23:16:06

Modified files:
	.              : ChangeLog 
	gui            : Makefile.am 

Log message:
	* gui/Makefile.am: add gtk_cairo_create.h in GTK_CAIRO_SRCS.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3747&r2=1.3748
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.81&r2=1.82

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3747
retrieving revision 1.3748
diff -u -b -r1.3747 -r1.3748
--- ChangeLog	17 Jul 2007 23:07:30 -0000	1.3747
+++ ChangeLog	17 Jul 2007 23:16:06 -0000	1.3748
@@ -1,3 +1,7 @@
+2007-07-17 Sandro Santilli <strk@keybit.net>
+
+	* gui/Makefile.am: add gtk_cairo_create.h in GTK_CAIRO_SRCS.
+
 2007-07-18 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* macros/opengl.m4: Typo fix on Darwin.

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- gui/Makefile.am	1 Jul 2007 10:53:59 -0000	1.81
+++ gui/Makefile.am	17 Jul 2007 23:16:06 -0000	1.82
@@ -17,7 +17,7 @@
 
 # 
 
-# $Id: Makefile.am,v 1.81 2007/07/01 10:53:59 bjacques Exp $
+# $Id: Makefile.am,v 1.82 2007/07/17 23:16:06 strk Exp $
 
 AUTOMAKE_OPTIONS = 
 localedir = $(datadir)/locale
@@ -102,7 +102,7 @@
 
 if USE_RENDERER_CAIRO
  AM_LDFLAGS += $(CAIRO_LIBS) 
- GTK_CAIRO_SRCS = gtk_glue_cairo.cpp gtk_glue_cairo.h
+ GTK_CAIRO_SRCS = gtk_glue_cairo.cpp gtk_glue_cairo.h gtk_cairo_create.h
  KDE_CAIRO_SRCS = #kde_glue_cairo.cpp kde_glue_cairo.h
  SDL_CAIRO_SRCS = sdl_cairo_glue.cpp sdl_cairo_glue.h
  FLTK_CAIRO_SRCS = fltk_glue_cairo.cpp fltk_glue_cairo.h



From MAILER-DAEMON Tue Jul 17 19:32:40 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAwX2-0001Qr-If
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 19:32:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAwWz-0001MS-Td
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:32:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAwWy-0001KD-W0
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:32:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAwWy-0001Je-OI
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:32:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IAwWy-0005oM-2g
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 19:32:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IAwWx-0005Km-1J
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:32:35 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IAwWw-0005Kj-N2
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:32:34 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAwWw-0005Kj-N2@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 17 Jul 2007 23:32:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jul 2007 23:32:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/17 23:32:34

Modified files:
	gui            : Makefile.am 

Log message:
	Fixed typo.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.82&r2=1.83

Patches:
Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- Makefile.am	17 Jul 2007 23:16:06 -0000	1.82
+++ Makefile.am	17 Jul 2007 23:32:34 -0000	1.83
@@ -17,7 +17,7 @@
 
 # 
 
-# $Id: Makefile.am,v 1.82 2007/07/17 23:16:06 strk Exp $
+# $Id: Makefile.am,v 1.83 2007/07/17 23:32:34 nihilus Exp $
 
 AUTOMAKE_OPTIONS = 
 localedir = $(datadir)/locale
@@ -143,7 +143,7 @@
  RISCOS_SRCS = riscos.cpp riscossup.h riscos_glue.h $(RISCOS_AGG_SRCS)
  AM_LDFLAGS += -lOSLib32
 else
- RISCS_SRCS =
+ RISCOS_SRCS =
 endif
 
 if USE_GUI_AQUA



From MAILER-DAEMON Tue Jul 17 20:07:37 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAx4r-0001rm-Bc
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 20:07:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAx4p-0001rg-7A
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 20:07:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAx4n-0001rL-JO
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 20:07:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAx4n-0001rI-EP
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 20:07:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IAx4n-0003UB-1I
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 20:07:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IAx4l-0007R5-Ju
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 00:07:31 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IAx4l-0007R2-Fo
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 00:07:31 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAx4l-0007R2-Fo@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 00:07:31 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_object.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 00:07:35 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 00:07:31

Modified files:
	.              : ChangeLog 
	server         : as_object.h 

Log message:
	        * server/as_object.h: fix comments about case sensitiveness of
	          get_member* and set_member*.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3748&r2=1.3749
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_object.h?cvsroot=gnash&r1=1.60&r2=1.61

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3748
retrieving revision 1.3749
diff -u -b -r1.3748 -r1.3749
--- ChangeLog	17 Jul 2007 23:16:06 -0000	1.3748
+++ ChangeLog	18 Jul 2007 00:07:30 -0000	1.3749
@@ -1,5 +1,7 @@
 2007-07-17 Sandro Santilli <strk@keybit.net>
 
+	* server/as_object.h: fix comments about case sensitiveness of
+	  get_member* and set_member*.
 	* gui/Makefile.am: add gtk_cairo_create.h in GTK_CAIRO_SRCS.
 
 2007-07-18 Markus Gothe <nietzsche@lysator.liu.se>

Index: server/as_object.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_object.h,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- server/as_object.h	1 Jul 2007 10:54:20 -0000	1.60
+++ server/as_object.h	18 Jul 2007 00:07:31 -0000	1.61
@@ -166,6 +166,14 @@
 	/// NOTE: This might change in the near future trough use of
 	///       getter/setter properties instead..
 	///
+	/// @param name
+	///	Name of the property. Must be all lowercase
+	///	if the current VM is initialized for a  target
+	///	up to SWF6.
+	///
+	/// @param val
+	///	Value to assign to the named property.
+	///
 	virtual void set_member(const std::string& name, const as_value& val)
 	{
 		return set_member_default(name, val);
@@ -243,14 +251,24 @@
 	/// The default behaviour is to call set_member_default,
 	/// but this function is kept virtual to allow special
 	/// handling of property fetching in derivate class.
-	/// NOTE: This might change in the near future trough use of
-	///       getter/setter properties instead..
 	///
 	/// NOTE that this method is non-const becase a property
 	///      could also be a getter/setter and we can't promise
 	///      that the 'getter' won't change this object trough
 	///	 use of the 'this' reference.
 	///
+	/// @param name
+	///	Name of the property. Must be all lowercase
+	///	if the current VM is initialized for a  target
+	///	up to SWF6.
+	///
+	/// @param val
+	///	Variable to assign an existing value to.
+	///	Will be untouched if no property with the given name
+	///	was found.
+	///
+	/// @return true of the named property was found, false otherwise.
+	///
 	virtual bool get_member(const std::string& name, as_value* val)
 	{
 		return get_member_default(name, val);
@@ -292,10 +310,10 @@
 
 	/// Set member flags (probably used by ASSetPropFlags)
 	//
-	/// @parame name
-	///     Name of the property.
-	///	Case insensitive up to SWF6,
-	///	case *sensitive* from SWF7 up.
+	/// @param name
+	///	Name of the property. Must be all lowercase
+	///	if the current VM is initialized for a  target
+	///	up to SWF6.
 	///
 	/// @param setTrue
 	///	the set of flags to set
@@ -453,11 +471,9 @@
 	///	 use of the 'this' reference.
 	///
 	/// @param name
-	///     Name of the property.
-	///	Case insensitive up to SWF6,
-	///	case *sensitive* from SWF7 up.
-	///	TODO: be *always* case-sensitive, and delegate
-	///	      convertion to lowercase to callers
+	///	Name of the property. Must be all lowercase
+	///	if the current VM is initialized for a  target
+	///	up to SWF6.
 	///
 	/// @param val
 	///     The as_value to store a found variable's value in.
@@ -472,10 +488,13 @@
         /// The derived class should not override this method,
         /// but instead implement its own gettersetter properties.
 	///
-	/// @parame name
-	///     Name of the property.
-	///	Case insensitive up to SWF6,
-	///	case *sensitive* from SWF7 up.
+	/// @param name
+	///	Name of the property. Must be all lowercase
+	///	if the current VM is initialized for a  target
+	///	up to SWF6.
+	///
+	/// @param val
+	///	Value to assign to the named property.
 	///
 	void set_member_default(const std::string& name, const as_value& val);
 



From MAILER-DAEMON Tue Jul 17 21:47:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAyd9-00026A-4S
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 21:47:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAyd7-00021N-1Q
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 21:47:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAyd6-0001yz-6U
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 21:47:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAyd5-0001ym-U1
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 21:47:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IAyd5-00018L-Hf
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 21:47:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IAyd4-0006KL-8m
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 01:47:02 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IAyd3-0006KI-Qz
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 01:47:01 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAyd3-0006KI-Qz@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 01:47:01 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/types.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 01:47:05 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 01:47:01

Modified files:
	.              : ChangeLog 
	server         : types.h 

Log message:
	        * server/types.h: Add rgba::parseRGB() for converting an integer
	          to an rgb value.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3749&r2=1.3750
http://cvs.savannah.gnu.org/viewcvs/gnash/server/types.h?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3749
retrieving revision 1.3750
diff -u -b -r1.3749 -r1.3750
--- ChangeLog	18 Jul 2007 00:07:30 -0000	1.3749
+++ ChangeLog	18 Jul 2007 01:47:01 -0000	1.3750
@@ -1,5 +1,7 @@
 2007-07-17 Sandro Santilli <strk@keybit.net>
 
+	* server/types.h: Add rgba::parseRGB() for converting an integer
+	  to an rgb value.
 	* server/as_object.h: fix comments about case sensitiveness of
 	  get_member* and set_member*.
 	* gui/Makefile.am: add gtk_cairo_create.h in GTK_CAIRO_SRCS.

Index: server/types.h
===================================================================
RCS file: /sources/gnash/gnash/server/types.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- server/types.h	20 Apr 2007 13:46:20 -0000	1.12
+++ server/types.h	18 Jul 2007 01:47:01 -0000	1.13
@@ -54,6 +54,19 @@
 		{
 		}
 
+		/// \brief
+		/// Parse a 32-bit unsigned integer
+		/// as three packed R,G,B bytes.
+		//
+		/// Alpha will be untouched
+		///
+		void parseRGB(uint32_t rgbCol)
+		{
+			m_r = (uint8_t)(rgbCol>>16);
+			m_g = (uint8_t)(rgbCol>>8);
+			m_b = (uint8_t)(rgbCol);
+		}
+
 		/// Initialize from intput stream.
 		//
 		///



From MAILER-DAEMON Tue Jul 17 22:26:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAzFj-0001Aa-9z
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 22:26:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAzFh-0001AN-A4
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:26:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAzFf-0001AB-GG
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:26:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAzFf-0001A8-AT
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:26:55 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IAzFf-0001ha-0v
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:26:55 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IAzFd-0000Ag-VV
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 02:26:54 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IAzFd-0000Ad-Ph
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 02:26:53 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAzFd-0000Ad-Ph@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 02:26:53 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 02:26:57 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 02:26:53

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp edit_text_character.h 

Log message:
	        * server/edit_text_character.{cpp,h}: Initial support for background,
	          backgroundColor, border and borderColor. Lacks proper management
	          of invalidated bounds and class properties.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3750&r2=1.3751
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.75&r2=1.76
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.35&r2=1.36

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3750
retrieving revision 1.3751
diff -u -b -r1.3750 -r1.3751
--- ChangeLog	18 Jul 2007 01:47:01 -0000	1.3750
+++ ChangeLog	18 Jul 2007 02:26:53 -0000	1.3751
@@ -1,5 +1,8 @@
 2007-07-17 Sandro Santilli <strk@keybit.net>
 
+	* server/edit_text_character.{cpp,h}: Initial support for background,
+	  backgroundColor, border and borderColor. Lacks proper management
+	  of invalidated bounds and class properties. 
 	* server/types.h: Add rgba::parseRGB() for converting an integer
 	  to an rgb value.
 	* server/as_object.h: fix comments about case sensitiveness of

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- server/edit_text_character.cpp	17 Jul 2007 06:04:22 -0000	1.75
+++ server/edit_text_character.cpp	18 Jul 2007 02:26:53 -0000	1.76
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.75 2007/07/17 06:04:22 zoulunkai Exp $ */
+/* $Id: edit_text_character.cpp,v 1.76 2007/07/18 02:26:53 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -36,7 +36,6 @@
 #include "VM.h"
 #include "builtin_function.h" // for getter/setter properties
 #include "font.h" // for using the _font member
-#include "VM.h"
 
 #include <algorithm>
 #include <string>
@@ -45,7 +44,6 @@
 // Text fields have a fixed 2 pixel padding for each side (regardless of border)
 #define PADDING_TWIPS 40.0f
 
-
 namespace gnash {
 
 // Forward declarations
@@ -65,6 +63,20 @@
 static as_value textfield_replaceText(const fn_call& fn);
 static as_object* getTextFieldInterface();
 
+	namespace
+	{
+
+		void
+		lowercase_if_needed(std::string& str)
+		{
+			VM& vm = VM::get();
+			if ( vm.getSWFVersion() >= 7 ) return;
+			boost::to_lower(str, vm.getLocale());
+		}
+
+	}
+
+
 
 //
 // TextField interface functions
@@ -364,6 +376,7 @@
 	registerTextVariable();
 
 	reset_bounding_box(0, 0);
+
 }
 
 edit_text_character::~edit_text_character()
@@ -402,7 +415,9 @@
 
 	rect def_bounds = m_def->get_bounds();
 
-	if (m_def->has_border())
+	bool drawBorder = hasBorder();
+	bool drawBackground = hasBackground();
+	if ( drawBorder || drawBackground )
 	{
 		matrix	mat = get_world_matrix();
 		
@@ -420,38 +435,11 @@
 		coords[2] = def_bounds.get_corner(2);
 		coords[3] = def_bounds.get_corner(3);
 		
-		render::draw_poly(&coords[0], 4, rgba(255,255,255,255), rgba(0,0,0,255));
+		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
+		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(255,255,255,0);
 		
+		render::draw_poly( &coords[0], 4, backgroundColor, borderColor );
 		
-		// removed by Udo:
-		/*
-		coords[0] = def_bounds.get_corner(0);
-		coords[1] = def_bounds.get_corner(1);
-		coords[2] = def_bounds.get_corner(3);
-		coords[3] = def_bounds.get_corner(2);
-
-		int16_t	icoords[18] = 
-		{
-			// strip (fill in)
-			(int16_t) coords[0].m_x, (int16_t) coords[0].m_y,
-			(int16_t) coords[1].m_x, (int16_t) coords[1].m_y,
-			(int16_t) coords[2].m_x, (int16_t) coords[2].m_y,
-			(int16_t) coords[3].m_x, (int16_t) coords[3].m_y,
-
-			// outline
-			(int16_t) coords[0].m_x, (int16_t) coords[0].m_y,
-			(int16_t) coords[1].m_x, (int16_t) coords[1].m_y,
-			(int16_t) coords[3].m_x, (int16_t) coords[3].m_y,
-			(int16_t) coords[2].m_x, (int16_t) coords[2].m_y,
-			(int16_t) coords[0].m_x, (int16_t) coords[0].m_y,
-		};
-		
-		render::fill_style_color(0, rgba(255, 255, 255, 255));
-		render::draw_mesh_strip(&icoords[0], 4);
-
-		render::line_style_color(rgba(0,0,0,255));
-		render::draw_line_strip(&icoords[8], 5);
-		*/
 	}
 
 	// Draw our actual text.
@@ -755,6 +743,12 @@
 	// @@ TODO see TextField members in Flash MX docs
 	}	// end switch
 
+
+	// TODO: iff background, backgroundColor, border, borderColor or textColor 
+	//       members are changed we should call set_invalidated !
+	//       Note that *deleting* these members might need to have
+	//       the same effect too (to be tested)
+
 	set_member_default(name, val);
 }
 
@@ -1349,6 +1343,68 @@
 	return def_bounds.point_test(lp.m_x, lp.m_y);
 }
 
+bool
+edit_text_character::hasBorder() const
+{
+	// TODO: check the 'border' member too !
+	return m_def->has_border();
+}
+
+rgba
+edit_text_character::getBorderColor() const
+{
+	// Background color is white by default
+	rgba col(0,0,0,255);
+
+	// TODO: define a caching strategy
+	as_value tmp;
+	std::string pname = "borderColor";
+	lowercase_if_needed(pname); // convert to lowercase if SWF < 7
+	if ( ! const_cast<edit_text_character*>(this)->get_member(pname, &tmp) ) return col;
+
+	// Parse color
+	uint32_t rgbCol = tmp.to_number<uint32_t>(); // TODO: pass to_number an as_environment !
+	col.parseRGB(rgbCol);
+	//uint8_t r = (uint8_t)(rgbCol>>16);
+	//uint8_t g = (uint8_t)(rgbCol>>8);
+	//uint8_t b = (uint8_t)(rgbCol);
+	//col.set(r,g,b,255);
+	return col;
+}
+
+bool
+edit_text_character::hasBackground() const
+{
+	// TODO: define a caching strategy
+	as_value tmp;
+	static const char* pname = "background";
+	if ( ! const_cast<edit_text_character*>(this)->get_member(pname, &tmp) ) return false;
+	return tmp.to_bool();
+}
+
+rgba
+edit_text_character::getBackgroundColor() const
+{
+	// Background color is white by default
+	rgba col(255,255,255,255);
+
+	// TODO: define a caching strategy
+	as_value tmp;
+	std::string pname = "backgroundColor";
+	lowercase_if_needed(pname); // convert to lowercase if SWF < 7
+	if ( ! const_cast<edit_text_character*>(this)->get_member(pname, &tmp) ) return col;
+
+	// Parse color
+	uint32_t rgbCol = tmp.to_number<uint32_t>(); // TODO: pass to_number an as_environment !
+	col.parseRGB(rgbCol);
+	//uint8_t r = (uint8_t)(rgbCol>>16);
+	//uint8_t g = (uint8_t)(rgbCol>>8);
+	//uint8_t b = (uint8_t)(rgbCol);
+	//col.set(r,g,b,255);
+
+	return col;
+}
+
 } // namespace gnash
 
 

Index: server/edit_text_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- server/edit_text_character.h	3 Jul 2007 01:12:45 -0000	1.35
+++ server/edit_text_character.h	18 Jul 2007 02:26:53 -0000	1.36
@@ -110,6 +110,18 @@
 	/// Return true if HTML was allowed by definition
 	bool htmlAllowed() const { return m_def->htmlAllowed(); }
 
+	/// Return true if the 'background' member is set to true
+	bool hasBackground() const;
+
+	/// Return the value of 'backgroundColor', or solid white if undefined.
+	rgba getBackgroundColor() const;
+
+	/// Return true if this TextField should have it's border visible
+	bool hasBorder() const;
+
+	/// Return the value of 'borderColor', or solid black if undefined.
+	rgba getBorderColor() const;
+
 	/// The actual text
 	std::string _text;
 



From MAILER-DAEMON Tue Jul 17 22:44:22 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IAzWY-0003Rt-9A
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 22:44:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IAzWW-0003Ro-V3
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:44:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IAzWW-0003Rc-FV
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:44:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IAzWW-0003RZ-AZ
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:44:20 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IAzWV-0006OG-SJ
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 22:44:19 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IAzWV-00018R-9L
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 02:44:19 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IAzWV-00018N-1G
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 02:44:19 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IAzWV-00018N-1G@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Wed, 18 Jul 2007 02:44:19 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 02:44:21 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/18 02:44:18

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	* testsuite/misc-ming.all/DefineEditTextTest.c: xchecks to checks, more passed.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3751&r2=1.3752
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.15&r2=1.16

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3751
retrieving revision 1.3752
diff -u -b -r1.3751 -r1.3752
--- ChangeLog	18 Jul 2007 02:26:53 -0000	1.3751
+++ ChangeLog	18 Jul 2007 02:44:18 -0000	1.3752
@@ -1,3 +1,8 @@
+2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
+
+	* testsuite/misc-ming.all/DefineEditTextTest.c: xchecks to checks, more
+	  passed.
+	
 2007-07-17 Sandro Santilli <strk@keybit.net>
 
 	* server/edit_text_character.{cpp,h}: Initial support for background,

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- testsuite/misc-ming.all/DefineEditTextTest.c	13 Jul 2007 14:50:08 -0000	1.15
+++ testsuite/misc-ming.all/DefineEditTextTest.c	18 Jul 2007 02:44:18 -0000	1.16
@@ -148,7 +148,7 @@
   }
   SWFMovie_nextFrame(mo); 
 
-  xcheck_equals(mo, "dtext1.__proto__", "TextField.prototype");
+  check_equals(mo, "dtext1.__proto__", "TextField.prototype");
   xcheck(mo, "TextField.prototype.hasOwnProperty('background')");
   
   check_equals(mo, "typeof(dtext1)", "'object'");
@@ -164,18 +164,18 @@
   check_equals(mo, "typeof(dtext1.__proto__.textColor)", "'undefined'");
   check_equals(mo, "typeof(dtext1.__proto__.alpha)", "'undefined'");
 
-  xcheck_equals(mo, "dtext1.hasOwnProperty('text')", "false");
-  xcheck_equals(mo, "dtext1.hasOwnProperty('background')", "false");
-  xcheck_equals(mo, "dtext1.hasOwnProperty('backgroundColor')", "false");
-  xcheck_equals(mo, "dtext1.hasOwnProperty('textColor')", "false");
-  xcheck_equals(mo, "dtext1.hasOwnProperty('_alpha')", "false");
+  check_equals(mo, "dtext1.hasOwnProperty('text')", "false");
+  check_equals(mo, "dtext1.hasOwnProperty('background')", "false");
+  check_equals(mo, "dtext1.hasOwnProperty('backgroundColor')", "false");
+  check_equals(mo, "dtext1.hasOwnProperty('textColor')", "false");
+  check_equals(mo, "dtext1.hasOwnProperty('_alpha')", "false");
   
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('text')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('textColor')", "true");
   // Why _alpha is special???
-  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");
+  check_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");
   
   check_equals(mo, "dtext1.text", "'Hello'");
   check_equals(mo, "etext1.text", "'Hello'");
@@ -189,9 +189,9 @@
   xcheck_equals(mo, "dtext1.textColor", "0x000000");
   xcheck_equals(mo, "etext1.textColor", "0x000000");
   xcheck_equals(mo, "dtext2.textColor", "0x000000");
-  xcheck_equals(mo, "dtext1._alpha", "100");
-  xcheck_equals(mo, "etext1._alpha", "100");
-  xcheck_equals(mo, "dtext2._alpha", "100");
+  check_equals(mo, "dtext1._alpha", "100");
+  check_equals(mo, "etext1._alpha", "100");
+  check_equals(mo, "dtext2._alpha", "100");
   
   add_actions(mo, "dtext1.background = true;"
                   "etext1.background = true;"



From MAILER-DAEMON Tue Jul 17 23:35:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB0KF-0007sR-EH
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 23:35:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB0KE-0007sF-0w
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:35:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB0KC-0007rx-Gz
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:35:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB0KC-0007ru-9D
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:35:40 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IB0KB-0001sl-RD
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:35:40 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IB0KA-00048j-QU
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:35:38 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IB0KA-00048g-M7
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:35:38 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB0KA-00048g-M7@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 03:35:38 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 03:35:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 03:35:38

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp edit_text_character.h 
	                 types.h 

Log message:
	        * server/types.h: Add rgba::toRGB for serializing back to a number.
	        * server/edit_text_character.{cpp,h}: use instance members and
	          getter-setters to keep info about background and border.
	          This should fix invalidated bounds computation.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3752&r2=1.3753
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.76&r2=1.77
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/gnash/server/types.h?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3752
retrieving revision 1.3753
diff -u -b -r1.3752 -r1.3753
--- ChangeLog	18 Jul 2007 02:44:18 -0000	1.3752
+++ ChangeLog	18 Jul 2007 03:35:37 -0000	1.3753
@@ -1,3 +1,10 @@
+2007-07-18 Sandro Santilli <strk@keybit.net>
+
+	* server/types.h: Add rgba::toRGB for serializing back to a number.
+	* server/edit_text_character.{cpp,h}: use instance members and
+	  getter-setters to keep info about background and border.
+	  This should fix invalidated bounds computation.
+
 2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
 
 	* testsuite/misc-ming.all/DefineEditTextTest.c: xchecks to checks, more

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- server/edit_text_character.cpp	18 Jul 2007 02:26:53 -0000	1.76
+++ server/edit_text_character.cpp	18 Jul 2007 03:35:38 -0000	1.77
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.76 2007/07/18 02:26:53 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.77 2007/07/18 03:35:38 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -63,6 +63,11 @@
 static as_value textfield_replaceText(const fn_call& fn);
 static as_object* getTextFieldInterface();
 
+static as_value textfield_background_getset(const fn_call& fn);
+static as_value textfield_border_getset(const fn_call& fn);
+static as_value textfield_backgroundColor_getset(const fn_call& fn);
+static as_value textfield_borderColor_getset(const fn_call& fn);
+
 	namespace
 	{
 
@@ -290,6 +295,7 @@
 	if ( target_version  < 6 ) return;
 
 	// SWF6 or higher
+
 	boost::intrusive_ptr<builtin_function> variable_getter(new builtin_function(&textfield_get_variable, NULL));
 	boost::intrusive_ptr<builtin_function> variable_setter(new builtin_function(&textfield_set_variable, NULL));
 	o.init_property("variable", *variable_getter, *variable_setter);
@@ -303,6 +309,20 @@
 	o.init_member("getDepth", new builtin_function(textfield_getDepth));
 	o.init_member("removeTextField", new builtin_function(textfield_removeTextField));
 	o.init_member("replaceSel", new builtin_function(textfield_replaceSel));
+
+	// The following properties should only be attached to the prototype
+	// on first textfield creation. We won't get to that detail of compatibility,
+	// seeming not important
+	boost::intrusive_ptr<builtin_function> getset;
+	getset = new builtin_function(textfield_background_getset);
+	o.init_property("background", *getset, *getset);
+	getset = new builtin_function(textfield_backgroundColor_getset);
+	o.init_property("backgroundColor", *getset, *getset);
+	getset = new builtin_function(textfield_borderColor_getset);
+	o.init_property("border", *getset, *getset);
+	getset = new builtin_function(textfield_border_getset);
+	o.init_property("borderColor", *getset, *getset);
+
 	if ( target_version  < 7 ) return;
 
 	// SWF7 or higher
@@ -356,7 +376,11 @@
 	m_xcursor(0.0f),
 	m_ycursor(0.0f),
 	_text_variable_registered(false),
-	_variable_name(m_def->get_variable_name())
+	_variable_name(m_def->get_variable_name()),
+	_drawBackground(false),
+	_backgroundColor(255,255,255,255),
+	_drawBorder(m_def->has_border()),
+	_borderColor(0,0,0,255)
 {
 	assert(parent);
 	assert(m_def);
@@ -415,8 +439,8 @@
 
 	rect def_bounds = m_def->get_bounds();
 
-	bool drawBorder = hasBorder();
-	bool drawBackground = hasBackground();
+	bool drawBorder = getDrawBorder();
+	bool drawBackground = getDrawBackground();
 	if ( drawBorder || drawBackground )
 	{
 		matrix	mat = get_world_matrix();
@@ -438,6 +462,8 @@
 		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
 		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(255,255,255,0);
 
+		//log_debug("Border color : %s, Background color : %s", borderColor.toString().c_str(), backgroundColor.toString().c_str());
+
 		render::draw_poly( &coords[0], 4, backgroundColor, borderColor );
 		
 	}
@@ -748,6 +774,8 @@
 	//       members are changed we should call set_invalidated !
 	//       Note that *deleting* these members might need to have
 	//       the same effect too (to be tested)
+	//
+	log_debug("Calling set_member_default(%s, xxx)", name.c_str());
 
 	set_member_default(name, val);
 }
@@ -1344,65 +1372,144 @@
 }
 
 bool
-edit_text_character::hasBorder() const
+edit_text_character::getDrawBorder() const
 {
-	// TODO: check the 'border' member too !
-	return m_def->has_border();
+	return _drawBorder;
+}
+
+void
+edit_text_character::setDrawBorder(bool val) 
+{
+	if ( _drawBorder != val )
+	{
+		set_invalidated();
+		_drawBorder = val;
+	}
 }
 
 rgba
 edit_text_character::getBorderColor() const
 {
-	// Background color is white by default
-	rgba col(0,0,0,255);
+	return _borderColor;
+}
 
-	// TODO: define a caching strategy
-	as_value tmp;
-	std::string pname = "borderColor";
-	lowercase_if_needed(pname); // convert to lowercase if SWF < 7
-	if ( ! const_cast<edit_text_character*>(this)->get_member(pname, &tmp) ) return col;
-
-	// Parse color
-	uint32_t rgbCol = tmp.to_number<uint32_t>(); // TODO: pass to_number an as_environment !
-	col.parseRGB(rgbCol);
-	//uint8_t r = (uint8_t)(rgbCol>>16);
-	//uint8_t g = (uint8_t)(rgbCol>>8);
-	//uint8_t b = (uint8_t)(rgbCol);
-	//col.set(r,g,b,255);
-	return col;
+void
+edit_text_character::setBorderColor(const rgba& col)
+{
+	if ( _borderColor != col )
+	{
+		set_invalidated();
+		_borderColor = col;
+	}
 }
 
 bool
-edit_text_character::hasBackground() const
+edit_text_character::getDrawBackground() const
 {
-	// TODO: define a caching strategy
-	as_value tmp;
-	static const char* pname = "background";
-	if ( ! const_cast<edit_text_character*>(this)->get_member(pname, &tmp) ) return false;
-	return tmp.to_bool();
+	return _drawBackground;
+}
+
+void
+edit_text_character::setDrawBackground(bool val) 
+{
+	if ( _drawBackground != val )
+	{
+		log_debug("Setting draw background to %d", val);
+		set_invalidated();
+		_drawBackground = val;
+	}
 }
 
 rgba
 edit_text_character::getBackgroundColor() const
 {
-	// Background color is white by default
-	rgba col(255,255,255,255);
+	return _backgroundColor;
+}
+
+void
+edit_text_character::setBackgroundColor(const rgba& col)
+{
+	if ( _backgroundColor != col )
+	{
+		log_debug("Setting background color to %s", col.toString().c_str());
+		set_invalidated();
+		_backgroundColor = col;
+	}
+}
+
+static as_value
+textfield_background_getset(const fn_call& fn)
+{
+	GNASH_REPORT_FUNCTION;
+	boost::intrusive_ptr<edit_text_character> ptr = ensureType<edit_text_character>(fn.this_ptr);
+
+	if ( fn.nargs == 0 ) // getter
+	{
+		return as_value(ptr->getDrawBackground());
+	}
+	else // setter
+	{
+		ptr->setDrawBackground(fn.arg(0).to_bool());
+	}
+
+	return as_value();
+}
+
+static as_value
+textfield_border_getset(const fn_call& fn)
+{
+	boost::intrusive_ptr<edit_text_character> ptr = ensureType<edit_text_character>(fn.this_ptr);
+
+	if ( fn.nargs == 0 ) // getter
+	{
+		return as_value(ptr->getDrawBorder());
+	}
+	else // setter
+	{
+		ptr->setDrawBorder(fn.arg(0).to_bool());
+	}
+
+	return as_value();
+}
+
+static as_value
+textfield_backgroundColor_getset(const fn_call& fn)
+{
+	GNASH_REPORT_FUNCTION;
+
+	boost::intrusive_ptr<edit_text_character> ptr = ensureType<edit_text_character>(fn.this_ptr);
+
+	if ( fn.nargs == 0 ) // getter
+	{
+		return as_value(ptr->getBackgroundColor().toRGB());
+	}
+	else // setter
+	{
+		rgba newColor;
+		newColor.parseRGB( fn.arg(0).to_number<uint32_t>(&fn.env()) );
+		ptr->setBackgroundColor(newColor);
+	}
 
-	// TODO: define a caching strategy
-	as_value tmp;
-	std::string pname = "backgroundColor";
-	lowercase_if_needed(pname); // convert to lowercase if SWF < 7
-	if ( ! const_cast<edit_text_character*>(this)->get_member(pname, &tmp) ) return col;
-
-	// Parse color
-	uint32_t rgbCol = tmp.to_number<uint32_t>(); // TODO: pass to_number an as_environment !
-	col.parseRGB(rgbCol);
-	//uint8_t r = (uint8_t)(rgbCol>>16);
-	//uint8_t g = (uint8_t)(rgbCol>>8);
-	//uint8_t b = (uint8_t)(rgbCol);
-	//col.set(r,g,b,255);
+	return as_value();
+}
 
-	return col;
+static as_value
+textfield_borderColor_getset(const fn_call& fn)
+{
+	boost::intrusive_ptr<edit_text_character> ptr = ensureType<edit_text_character>(fn.this_ptr);
+
+	if ( fn.nargs == 0 ) // getter
+	{
+		return as_value(ptr->getBorderColor().toRGB());
+	}
+	else // setter
+	{
+		rgba newColor;
+		newColor.parseRGB( fn.arg(0).to_number<uint32_t>(&fn.env()) );
+		ptr->setBorderColor(newColor);
+	}
+
+	return as_value();
 }
 
 } // namespace gnash

Index: server/edit_text_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- server/edit_text_character.h	18 Jul 2007 02:26:53 -0000	1.36
+++ server/edit_text_character.h	18 Jul 2007 03:35:38 -0000	1.37
@@ -105,23 +105,46 @@
 	// See dox in character.h
 	void unload();
 
-private:
-
-	/// Return true if HTML was allowed by definition
-	bool htmlAllowed() const { return m_def->htmlAllowed(); }
+	/// Return true if the 'background' should be drawn
+	bool getDrawBackground() const;
 
-	/// Return true if the 'background' member is set to true
-	bool hasBackground() const;
+	/// Specify wheter to draw the background
+	void setDrawBackground(bool draw);
 
-	/// Return the value of 'backgroundColor', or solid white if undefined.
+	/// Return color of the background
 	rgba getBackgroundColor() const;
 
+	/// Set color of the background
+	//
+	/// Use setDrawBackground to actually use this value.
+	///
+	void setBackgroundColor(const rgba& col);
+
 	/// Return true if this TextField should have it's border visible
-	bool hasBorder() const;
+	bool getDrawBorder() const;
+
+	/// Specify wheter to draw the border
+	void setDrawBorder(bool draw);
 
-	/// Return the value of 'borderColor', or solid black if undefined.
+	/// Return color of the border
 	rgba getBorderColor() const;
 
+	/// Set color of the border
+	//
+	/// Use setDrawBorder to actually use this value.
+	///
+	void setBorderColor(const rgba& col);
+
+private:
+
+	/// Return true if HTML text is allowed 
+	//
+	/// TODO: use own flag for this, don't query the definition
+	///       everytime. This will allow support for the
+	///	  ActionScript settable 'html' property.
+	///       
+	bool htmlAllowed() const { return m_def->htmlAllowed(); }
+
 	/// The actual text
 	std::string _text;
 
@@ -203,6 +226,14 @@
 	/// 'TextFields.variable'
 	std::string _variable_name;
 
+	bool _drawBackground;
+
+	rgba _backgroundColor;
+
+	bool _drawBorder;
+
+	rgba _borderColor;
+
 protected:
 
 #ifdef GNASH_USE_GC

Index: server/types.h
===================================================================
RCS file: /sources/gnash/gnash/server/types.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/types.h	18 Jul 2007 01:47:01 -0000	1.13
+++ server/types.h	18 Jul 2007 03:35:38 -0000	1.14
@@ -58,7 +58,8 @@
 		/// Parse a 32-bit unsigned integer
 		/// as three packed R,G,B bytes.
 		//
-		/// Alpha will be untouched
+		/// Alpha will be untouched.
+		/// Blue is the least significant byte.
 		///
 		void parseRGB(uint32_t rgbCol)
 		{
@@ -67,6 +68,17 @@
 			m_b = (uint8_t)(rgbCol);
 		}
 
+		/// \brief
+		/// Return a 32-bit unsigned integer
+		/// as four packed R,G,B bytes.
+		//
+		/// Blue is the least significant byte.
+		///
+		uint32_t toRGB()
+		{
+			return (m_r<<16) + (m_g<<8) + m_b;
+		}
+
 		/// Initialize from intput stream.
 		//
 		///
@@ -105,6 +117,16 @@
 
 		// neater string output (example: "0,0,0,255")
 		std::string toShortString() const;
+
+		bool operator== (const rgba& o) const
+		{
+			return m_r == o.m_r && m_g == o.m_g && m_b == o.m_b && m_a == o.m_a;
+		}
+
+		bool operator!= (const rgba& o) const
+		{
+			return ! ( *this == o );
+		}
 	};
 
 	std::ostream& operator<< (std::ostream& os, const rgba& r);



From MAILER-DAEMON Tue Jul 17 23:39:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB0Nh-0000Ut-Vp
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 23:39:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB0Nf-0000UL-W5
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:39:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB0Nf-0000U1-9U
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:39:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB0Nf-0000Tx-4S
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:39:15 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IB0Ne-00032n-Mn
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:39:14 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IB0Ne-0004C4-5y
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:39:14 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IB0Ne-0004C1-1r
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:39:14 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB0Ne-0004C1-1r@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 03:39:14 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 03:39:16 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 03:39:13

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: TextField.as 
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	        * testsuite/actionscript.all/TextField.as: Updated test results.
	        * testsuite/misc-ming.all/DefineEditTextTest.c: Updated test results.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3753&r2=1.3754
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3753
retrieving revision 1.3754
diff -u -b -r1.3753 -r1.3754
--- ChangeLog	18 Jul 2007 03:35:37 -0000	1.3753
+++ ChangeLog	18 Jul 2007 03:39:13 -0000	1.3754
@@ -1,5 +1,7 @@
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/TextField.as: Updated test results.
+	* testsuite/misc-ming.all/DefineEditTextTest.c: Updated test results.
 	* server/types.h: Add rgba::toRGB for serializing back to a number.
 	* server/edit_text_character.{cpp,h}: use instance members and
 	  getter-setters to keep info about background and border.

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/actionscript.all/TextField.as	13 Jul 2007 20:32:07 -0000	1.6
+++ testsuite/actionscript.all/TextField.as	18 Jul 2007 03:39:13 -0000	1.7
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.6 2007/07/13 20:32:07 strk Exp $";
+rcsid="$Id: TextField.as,v 1.7 2007/07/18 03:39:13 strk Exp $";
 
 #include "check.as"
 
@@ -39,11 +39,11 @@
 check_equals(typeof(TextField.prototype.replaceSel), 'function');
 
 // NOTE: the following will be true after a call to createTextField ! Seek forward to see..
-check( !TextField.prototype.hasOwnProperty('background'));
-check( !TextField.prototype.hasOwnProperty('backgroundColor'));
+xcheck( !TextField.prototype.hasOwnProperty('background'));
+xcheck( !TextField.prototype.hasOwnProperty('backgroundColor'));
 check( !TextField.prototype.hasOwnProperty('autoSize') );
-check( !TextField.prototype.hasOwnProperty('border') );
-check( !TextField.prototype.hasOwnProperty('borderColor') );
+xcheck( !TextField.prototype.hasOwnProperty('border') );
+xcheck( !TextField.prototype.hasOwnProperty('borderColor') );
 check( !TextField.prototype.hasOwnProperty('bottomScroll') );
 check( !TextField.prototype.hasOwnProperty('embedFonts') );
 check( !TextField.prototype.hasOwnProperty('hscroll') );
@@ -108,11 +108,11 @@
 check_equals(typeof(tf), 'object');
 
 // NOTE: the following were false before the call to createTextField ! Seek backward to see..
-xcheck( TextField.prototype.hasOwnProperty('background'));
-xcheck( TextField.prototype.hasOwnProperty('backgroundColor'));
+check( TextField.prototype.hasOwnProperty('background'));
+check( TextField.prototype.hasOwnProperty('backgroundColor'));
 xcheck( TextField.prototype.hasOwnProperty('autoSize') );
-xcheck( TextField.prototype.hasOwnProperty('border') );
-xcheck( TextField.prototype.hasOwnProperty('borderColor') );
+check( TextField.prototype.hasOwnProperty('border') );
+check( TextField.prototype.hasOwnProperty('borderColor') );
 xcheck( TextField.prototype.hasOwnProperty('bottomScroll') );
 xcheck( TextField.prototype.hasOwnProperty('embedFonts') );
 xcheck( TextField.prototype.hasOwnProperty('hscroll') );
@@ -149,12 +149,12 @@
 
 // Check TextField.background
 
-xcheck_equals(typeof(tf.background), 'boolean');
+check_equals(typeof(tf.background), 'boolean');
 check(!tf.hasOwnProperty('background'));
 
 // Check TextField.backgroundColor
 
-xcheck_equals(typeof(tf.backgroundColor), 'number');
+check_equals(typeof(tf.backgroundColor), 'number');
 check(!tf.hasOwnProperty('backgroundColor'));
 
 // Check TextField.border

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- testsuite/misc-ming.all/DefineEditTextTest.c	18 Jul 2007 02:44:18 -0000	1.16
+++ testsuite/misc-ming.all/DefineEditTextTest.c	18 Jul 2007 03:39:13 -0000	1.17
@@ -149,12 +149,12 @@
   SWFMovie_nextFrame(mo); 
 
   check_equals(mo, "dtext1.__proto__", "TextField.prototype");
-  xcheck(mo, "TextField.prototype.hasOwnProperty('background')");
+  check(mo, "TextField.prototype.hasOwnProperty('background')");
   
   check_equals(mo, "typeof(dtext1)", "'object'");
   check_equals(mo, "typeof(dtext1.text)", "'string'");
-  xcheck_equals(mo, "typeof(dtext1.background)", "'boolean'");
-  xcheck_equals(mo, "typeof(dtext1.backgroundColor)", "'number'");
+  check_equals(mo, "typeof(dtext1.background)", "'boolean'");
+  check_equals(mo, "typeof(dtext1.backgroundColor)", "'number'");
   check_equals(mo, "typeof(dtext1.textColor)", "'number'");
   check_equals(mo, "typeof(dtext1._alpha)", "'number'");
   
@@ -171,8 +171,8 @@
   check_equals(mo, "dtext1.hasOwnProperty('_alpha')", "false");
   
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('text')", "true");
-  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
-  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')", "true");
+  check_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
+  check_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')", "true");
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('textColor')", "true");
   // Why _alpha is special???
   check_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");
@@ -180,12 +180,12 @@
   check_equals(mo, "dtext1.text", "'Hello'");
   check_equals(mo, "etext1.text", "'Hello'");
   check_equals(mo, "dtext2.text", "'Hello'");
-  xcheck_equals(mo, "dtext1.background", "false");
-  xcheck_equals(mo, "etext1.background", "false");
-  xcheck_equals(mo, "dtext2.background", "false");
-  xcheck_equals(mo, "dtext1.backgroundColor", "0xffffff");
-  xcheck_equals(mo, "etext1.backgroundColor", "0xffffff");
-  xcheck_equals(mo, "dtext2.backgroundColor", "0xffffff");
+  check_equals(mo, "dtext1.background", "false");
+  check_equals(mo, "etext1.background", "false");
+  check_equals(mo, "dtext2.background", "false");
+  check_equals(mo, "dtext1.backgroundColor", "0xffffff");
+  check_equals(mo, "etext1.backgroundColor", "0xffffff");
+  check_equals(mo, "dtext2.backgroundColor", "0xffffff");
   xcheck_equals(mo, "dtext1.textColor", "0x000000");
   xcheck_equals(mo, "etext1.textColor", "0x000000");
   xcheck_equals(mo, "dtext2.textColor", "0x000000");



From MAILER-DAEMON Tue Jul 17 23:47:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB0Vk-0006Xd-1f
	for mharc-gnash-commit@gnu.org; Tue, 17 Jul 2007 23:47:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB0Vi-0006WD-Fi
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:47:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB0Vh-0006VY-Qz
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:47:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB0Vh-0006VQ-LE
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:47:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IB0Vh-0005Ht-7n
	for gnash-commit@gnu.org; Tue, 17 Jul 2007 23:47:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IB0Vg-0005d7-4q
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:47:32 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IB0Vf-0005cz-Tl
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:47:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB0Vf-0005cz-Tl@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 03:47:31 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 03:47:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 03:47:31

Modified files:
	server         : edit_text_character.cpp 

Log message:
	reduced debugging prints

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.77&r2=1.78

Patches:
Index: edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- edit_text_character.cpp	18 Jul 2007 03:35:38 -0000	1.77
+++ edit_text_character.cpp	18 Jul 2007 03:47:31 -0000	1.78
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.77 2007/07/18 03:35:38 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.78 2007/07/18 03:47:31 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -770,13 +770,6 @@
 	}	// end switch
 
 
-	// TODO: iff background, backgroundColor, border, borderColor or textColor 
-	//       members are changed we should call set_invalidated !
-	//       Note that *deleting* these members might need to have
-	//       the same effect too (to be tested)
-	//
-	log_debug("Calling set_member_default(%s, xxx)", name.c_str());
-
 	set_member_default(name, val);
 }
 
@@ -1414,7 +1407,6 @@
 {
 	if ( _drawBackground != val )
 	{
-		log_debug("Setting draw background to %d", val);
 		set_invalidated();
 		_drawBackground = val;
 	}
@@ -1431,7 +1423,6 @@
 {
 	if ( _backgroundColor != col )
 	{
-		log_debug("Setting background color to %s", col.toString().c_str());
 		set_invalidated();
 		_backgroundColor = col;
 	}



From MAILER-DAEMON Wed Jul 18 00:01:56 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB0jc-0004oL-NA
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 00:01:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB0jb-0004oG-Rb
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 00:01:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB0jb-0004o4-Gg
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 00:01:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB0jb-0004o0-6j
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 00:01:55 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IB0ja-0000sh-Me
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 00:01:54 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IB0jZ-0007IL-LQ
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 04:01:53 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IB0jZ-0007II-7l
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 04:01:53 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB0jZ-0007II-7l@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Wed, 18 Jul 2007 04:01:53 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 04:01:56 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/18 04:01:53

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: Makefile.am 
Added files:
	testsuite/misc-ming.all: unload_movieclip_test1.c 

Log message:
	* testsuite/misc-ming.all/Makefile.am, unload_movieclip_test1.c: add 
	  a testcase for unloaded movieclips, Gnash fails.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3754&r2=1.3755
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.142&r2=1.143
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/unload_movieclip_test1.c?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3754
retrieving revision 1.3755
diff -u -b -r1.3754 -r1.3755
--- ChangeLog	18 Jul 2007 03:39:13 -0000	1.3754
+++ ChangeLog	18 Jul 2007 04:01:51 -0000	1.3755
@@ -1,3 +1,8 @@
+2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
+	
+	* testsuite/misc-ming.all/Makefile.am, unload_movieclip_test1.c: add
+	  a testcase for unloaded movieclips, Gnash fails.
+	
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
 	* testsuite/actionscript.all/TextField.as: Updated test results.

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -b -r1.142 -r1.143
--- testsuite/misc-ming.all/Makefile.am	15 Jul 2007 20:24:39 -0000	1.142
+++ testsuite/misc-ming.all/Makefile.am	18 Jul 2007 04:01:52 -0000	1.143
@@ -86,6 +86,7 @@
 	move_object_test \
 	place_and_remove_object_test \
 	place_and_remove_object_insane_test \
+	unload_movieclip_test1 \
 	displaylist_depths_test \
 	displaylist_depths_test2 \
 	displaylist_depths_test3 \
@@ -182,6 +183,7 @@
 	move_object_testrunner \
 	place_and_remove_object_testrunner \
 	place_and_remove_object_insane_testrunner \
+	unload_movieclip_test1runner \
 	goto_frame_testrunner \
 	consecutive_goto_frame_testrunner \
 	multi_doactions_and_goto_frame_testrunner \
@@ -650,6 +652,18 @@
 	sh $< -r5 $(top_builddir) place_and_remove_object_insane_test.swf > $@
 	chmod 755 $@
 
+unload_movieclip_test1_SOURCES =	\
+	unload_movieclip_test1.c	\
+	$(NULL)
+unload_movieclip_test1_LDADD = libgnashmingutils.la
+
+unload_movieclip_test1.swf: unload_movieclip_test1
+	./unload_movieclip_test1 $(top_srcdir)/testsuite/media
+
+unload_movieclip_test1runner: $(srcdir)/../generic-testrunner.sh unload_movieclip_test1.swf
+	sh $< -f10 $(top_builddir) unload_movieclip_test1.swf > $@
+	chmod 755 $@
+
 displaylist_depths_test_SOURCES =	\
 	displaylist_depths_test.c	\
 	$(NULL)
@@ -1546,6 +1560,7 @@
 	move_object_testrunner \
 	place_and_remove_object_testrunner \
 	place_and_remove_object_insane_testrunner \
+	unload_movieclip_test1runner \
 	attachMovieTestRunner \
 	attachMovieLoopingTestRunner \
 	goto_frame_testrunner \

Index: testsuite/misc-ming.all/unload_movieclip_test1.c
===================================================================
RCS file: testsuite/misc-ming.all/unload_movieclip_test1.c
diff -N testsuite/misc-ming.all/unload_movieclip_test1.c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-ming.all/unload_movieclip_test1.c	18 Jul 2007 04:01:52 -0000	1.1
@@ -0,0 +1,106 @@
+/* 
+ *   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ */ 
+
+/*
+ * zou lunkai  zoulunkai@gmail.com
+ *
+ * run as ./unload_movieclip_test1
+ */
+
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <ming.h>
+
+#include "ming_utils.h"
+
+#define OUTPUT_VERSION 6
+#define OUTPUT_FILENAME "unload_movieclip_test1.swf"
+
+
+SWFDisplayItem
+add_static_mc(SWFMovie mo, const char* name, int depth)
+{
+  SWFShape sh;
+  SWFMovieClip mc;
+  SWFDisplayItem it;
+   
+  mc = newSWFMovieClip();
+  SWFMovieClip_nextFrame(mc);
+
+  it = SWFMovie_add(mo, (SWFBlock)mc);
+  SWFDisplayItem_setDepth(it, depth); 
+  SWFDisplayItem_setName(it, name);
+
+  return it;
+}
+
+int
+main(int argc, char** argv)
+{
+  SWFMovie mo;
+  SWFMovieClip dejagnuclip;
+  SWFDisplayItem it;
+
+  const char *srcdir=".";
+  if ( argc>1 ) 
+    srcdir=argv[1];
+  else
+  {
+      fprintf(stderr, "Usage: %s <mediadir>\n", argv[0]);
+      return 1;
+  }
+
+  Ming_init();
+  Ming_useSWFVersion (OUTPUT_VERSION);
+  
+  mo = newSWFMovie();
+  SWFMovie_setDimension(mo, 800, 600);
+  SWFMovie_setRate(mo, 2);
+
+  // Frame 1: Place dejagnu clip and init testing variables
+
+  dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(srcdir), 10, 0, 0, 800, 600);
+  SWFMovie_add(mo, (SWFBlock)dejagnuclip);
+  add_actions(mo, "_root.x = 0;");
+  SWFMovie_nextFrame(mo); 
+  
+  // Frame 2: Place a static mc and define onUnload for it
+  
+  it = add_static_mc(mo, "mc", 3);
+  add_actions(mo, "mc.onUnload = function () { _root.x = this._currentframe; };");
+  SWFMovie_nextFrame(mo);
+  
+  // Frame 3: Remove the mc to trigger onUnload
+  
+  SWFDisplayItem_remove(it);
+  SWFMovie_nextFrame(mo);
+  
+  // Frame 4: checks
+  
+  xcheck_equals(mo, "_root.x", "1");
+  
+  add_actions(mo, "_root.totals(); stop(); ");
+  SWFMovie_nextFrame(mo);
+
+  //Output movie
+  puts("Saving " OUTPUT_FILENAME );
+  SWFMovie_save(mo, OUTPUT_FILENAME);
+
+  return 0;
+}



From MAILER-DAEMON Wed Jul 18 01:20:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB1xw-0005om-DT
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 01:20:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB1xu-0005oL-LS
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 01:20:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB1xt-0005nO-Ax
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 01:20:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB1xt-0005n6-4Y
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 01:20:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IB1xs-0003zQ-PR
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 01:20:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IB1xs-0001oL-4z
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:20:44 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IB1xr-0001oH-TP
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:20:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB1xr-0001oH-TP@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Wed, 18 Jul 2007 05:20:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 05:20:47 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/18 05:20:43

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: DefineEditTextTest.c 
	                         unload_movieclip_test1.c 

Log message:
	* testsuite/misc-ming.all/unload_movieclip_test1.c, DefineEditTextTest.c: more tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3755&r2=1.3756
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/unload_movieclip_test1.c?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3755
retrieving revision 1.3756
diff -u -b -r1.3755 -r1.3756
--- ChangeLog	18 Jul 2007 04:01:51 -0000	1.3755
+++ ChangeLog	18 Jul 2007 05:20:43 -0000	1.3756
@@ -1,5 +1,10 @@
 2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
 	
+	* testsuite/misc-ming.all/unload_movieclip_test1.c, DefineEditTextTest.c:
+	  more tests.
+	  
+2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
+	
 	* testsuite/misc-ming.all/Makefile.am, unload_movieclip_test1.c: add
 	  a testcase for unloaded movieclips, Gnash fails.
 	

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- testsuite/misc-ming.all/DefineEditTextTest.c	18 Jul 2007 03:39:13 -0000	1.17
+++ testsuite/misc-ming.all/DefineEditTextTest.c	18 Jul 2007 05:20:43 -0000	1.18
@@ -118,6 +118,13 @@
   SWFMovie_add(mo, (SWFBlock)dejagnuclip);
   SWFMovie_nextFrame(mo); // 1st frame 
 
+  // checks before placing any swf defined TextField
+  check(mo, "!TextField.prototype.hasOwnProperty('background')");
+  check(mo, "!TextField.prototype.hasOwnProperty('backgroundColor')");
+  check(mo, "!TextField.prototype.hasOwnProperty('text')");
+  check(mo, "!TextField.prototype.hasOwnProperty('textColor')");
+  check(mo, "!TextField.prototype.hasOwnProperty('_alpha')");
+
   /*********************************************
    *
    * Add some textfields
@@ -149,7 +156,12 @@
   SWFMovie_nextFrame(mo); 
 
   check_equals(mo, "dtext1.__proto__", "TextField.prototype");
+  // checks after placing some swf defined TextField
   check(mo, "TextField.prototype.hasOwnProperty('background')");
+  check(mo, "TextField.prototype.hasOwnProperty('backgroundColor')");
+  check(mo, "TextField.prototype.hasOwnProperty('text')");
+  check(mo, "TextField.prototype.hasOwnProperty('textColor')");
+  check(mo, "TextField.prototype.hasOwnProperty('_alpha')");
   
   check_equals(mo, "typeof(dtext1)", "'object'");
   check_equals(mo, "typeof(dtext1.text)", "'string'");
@@ -162,7 +174,7 @@
   check_equals(mo, "typeof(dtext1.__proto__.background)", "'undefined'");
   check_equals(mo, "typeof(dtext1.__proto__.backgroundColor)", "'undefined'");
   check_equals(mo, "typeof(dtext1.__proto__.textColor)", "'undefined'");
-  check_equals(mo, "typeof(dtext1.__proto__.alpha)", "'undefined'");
+  check_equals(mo, "typeof(dtext1.__proto__._alpha)", "'undefined'");
 
   check_equals(mo, "dtext1.hasOwnProperty('text')", "false");
   check_equals(mo, "dtext1.hasOwnProperty('background')", "false");

Index: testsuite/misc-ming.all/unload_movieclip_test1.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/unload_movieclip_test1.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/unload_movieclip_test1.c	18 Jul 2007 04:01:52 -0000	1.1
+++ testsuite/misc-ming.all/unload_movieclip_test1.c	18 Jul 2007 05:20:43 -0000	1.2
@@ -83,7 +83,11 @@
   // Frame 2: Place a static mc and define onUnload for it
   
   it = add_static_mc(mo, "mc", 3);
-  add_actions(mo, "mc.onUnload = function () { _root.x = this._currentframe; };");
+  add_actions(mo, "mc.onUnload = function () { "
+                  "    _root.x = this._currentframe; "
+                  "    _root.check_equals(typeof(this),  'movieclip'); "
+                  "    _root.xcheck_equals(this, _root.mc); "
+                  "};");
   SWFMovie_nextFrame(mo);
   
   // Frame 3: Remove the mc to trigger onUnload
@@ -104,3 +108,4 @@
 
   return 0;
 }
+



From MAILER-DAEMON Wed Jul 18 03:30:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB3z5-0003Iu-GP
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 03:30:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB3z2-0003H2-Ug
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:30:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB3z0-0003FX-5I
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:30:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB3yz-0003FO-PI
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:30:01 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IB3yz-0001e2-A9
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 03:30:01 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6I7TtU4029727;
	Wed, 18 Jul 2007 09:29:57 +0200
Date: Wed, 18 Jul 2007 09:29:53 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <402872815.20070718092953@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/types.h
In-Reply-To: <E1IAyd3-0006KI-Qz@cvs.savannah.gnu.org>
References: <E1IAyd3-0006KI-Qz@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 07:30:05 -0000

Hello Sandro,

Wednesday, July 18, 2007, 3:47:01 AM, you wrote:
SS>                 * server/types.h: Add rgba::parseRGB() for converting an integer
SS>                   to an rgb value.

What's the use for this function? If it's for converting
ActionScript-defined colors (like the one in lineStyle() ) then maybe
add a comment about it.

I mean it's important to make clear it has nothing to do with
rendering, where there are lots of different pixel formats.

Udo




From MAILER-DAEMON Wed Jul 18 05:08:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB5WO-0000ED-Lk
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 05:08:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB5WL-0000AG-Ov
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:08:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB5WK-00008Y-QJ
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:08:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB5WK-00008B-Lo
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:08:32 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IB5WK-0003EX-CV
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:08:32 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IB5WJ-0008As-Ex
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 09:08:31 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IB5WJ-0008Ap-Al
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 09:08:31 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB5WJ-0008Ap-Al@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Wed, 18 Jul 2007 09:08:31 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gtk.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 09:08:34 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/18 09:08:31

Modified files:
	.              : ChangeLog 
	gui            : gtk.cpp 

Log message:
	Make the drawing area resize also vertically with the window, fixes bug #18871

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3756&r2=1.3757
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&r1=1.97&r2=1.98

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3756
retrieving revision 1.3757
diff -u -b -r1.3756 -r1.3757
--- ChangeLog	18 Jul 2007 05:20:43 -0000	1.3756
+++ ChangeLog	18 Jul 2007 09:08:30 -0000	1.3757
@@ -1,3 +1,8 @@
+2007-07-18 Udo Giacomozzi <udo.gnu@nova-sys.net>
+	
+	* gui/gtk.cpp: Make the drawing area resize also vertically with the window,
+	  fixes bug #18871
+
 2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
 	
 	* testsuite/misc-ming.all/unload_movieclip_test1.c, DefineEditTextTest.c:

Index: gui/gtk.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gtk.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -b -r1.97 -r1.98
--- gui/gtk.cpp	1 Jul 2007 10:54:02 -0000	1.97
+++ gui/gtk.cpp	18 Jul 2007 09:08:31 -0000	1.98
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: gtk.cpp,v 1.97 2007/07/01 10:54:02 bjacques Exp $ */
+/* $Id: gtk.cpp,v 1.98 2007/07/18 09:08:31 udog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -103,13 +103,16 @@
     if (_xid) {
      	gtk_container_add(GTK_CONTAINER(_window), _drawing_area);
     } else {
+
+        // A vertical box is used to allow display of the menu bar
+    
         _vbox = gtk_vbox_new(FALSE, 0);
         gtk_widget_show(_vbox);
         gtk_container_add(GTK_CONTAINER(_window), _vbox);
 #ifdef USE_MENUS
         createMenuBar();
 #endif
-        gtk_box_pack_start(GTK_BOX(_vbox), _drawing_area, FALSE, FALSE, 0);
+        gtk_box_pack_start(GTK_BOX(_vbox), _drawing_area, TRUE, TRUE, 0);
     }
 
     gtk_widget_realize(_window);
@@ -149,7 +152,6 @@
 {
 //First call the old createWindow function and then set the title.
 //In case there's some need to not setting the title.
-
     bool ret = createWindow(width, height);
     gtk_window_set_title(GTK_WINDOW(_window), title);
 
@@ -232,7 +234,6 @@
 	_height = height;
 
 	_validbounds.setTo(0, 0, _width-1, _height-1);
-    
 	glue.setRenderHandlerSize(_width, _height);
 
 	return true;



From MAILER-DAEMON Wed Jul 18 05:18:55 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB5gM-0006w7-Tf
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 05:18:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB5gI-0006v6-B8
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:18:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB5gG-0006u7-Ia
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:18:49 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB5gF-0006tj-4m
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:18:47 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IB5gE-00067V-Jt
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 05:18:46 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IB5gC-0001LW-5i
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 09:18:44 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IB5gB-0001LN-Gh
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 09:18:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB5gB-0001LN-Gh@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Wed, 18 Jul 2007 09:18:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui gtk.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 09:18:50 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/18 09:18:43

Modified files:
	gui            : gtk.cpp 

Log message:
	Add a comment about gtk_widget_set_size_request

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&r1=1.98&r2=1.99

Patches:
Index: gtk.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gtk.cpp,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -b -r1.98 -r1.99
--- gtk.cpp	18 Jul 2007 09:08:31 -0000	1.98
+++ gtk.cpp	18 Jul 2007 09:18:42 -0000	1.99
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: gtk.cpp,v 1.98 2007/07/18 09:08:31 udog Exp $ */
+/* $Id: gtk.cpp,v 1.99 2007/07/18 09:18:42 udog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -156,6 +156,13 @@
     gtk_window_set_title(GTK_WINDOW(_window), title);
 
     if (!_xid) {
+    
+      // This sets the *minimum* size for the drawing area and thus will
+      // also resize the window. 
+      // Advantage: The window is sized correctly, no matter what other
+      // widgets are visible
+      // Disadvantage: The window cannot be shrinked, which is bad.   
+    
       gtk_widget_set_size_request(_drawing_area, width, height);
     }
 



From MAILER-DAEMON Wed Jul 18 06:03:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB6ND-0007WF-Mh
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 06:03:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB6NB-0007Um-3w
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:03:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB6N9-0007Sv-8N
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:03:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB6N9-0007Sf-3i
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:03:07 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IB6N8-00026n-Bq
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:03:06 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IB6N7-0003jI-B3
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:03:05 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IB6N7-0003jF-5P
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:03:05 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB6N7-0003jF-5P@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Wed, 18 Jul 2007 10:03:05 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler.h backen...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 10:03:09 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/18 10:03:05

Modified files:
	.              : ChangeLog 
	backend        : render_handler.h render_handler_agg.cpp 
	                 render_handler_tri.cpp render_handler_tri.h 
	gui            : gtk.cpp gtksup.h 

Log message:
	* backend/render_handler.h, backend/render_handler_agg.cpp,   backend/render_handler_tri.{cpp,h}: new methods pixel_to_world * gui/gtk.cpp, gui/gtksup.h: Fix re-rendering on expose for scaled movies

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3757&r2=1.3758
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler.h?cvsroot=gnash&r1=1.43&r2=1.44
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&r1=1.91&r2=1.92
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.cpp?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.h?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&r1=1.99&r2=1.100
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtksup.h?cvsroot=gnash&r1=1.44&r2=1.45

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3757
retrieving revision 1.3758
diff -u -b -r1.3757 -r1.3758
--- ChangeLog	18 Jul 2007 09:08:30 -0000	1.3757
+++ ChangeLog	18 Jul 2007 10:03:04 -0000	1.3758
@@ -2,6 +2,9 @@
 	
 	* gui/gtk.cpp: Make the drawing area resize also vertically with the window,
 	  fixes bug #18871
+	* backend/render_handler.h, backend/render_handler_agg.cpp, 
+	  backend/render_handler_tri.{cpp,h}: new methods "pixel_to_world"
+	* gui/gtk.cpp, gui/gtksup.h: Fix re-rendering on expose for scaled movies
 
 2007-07-18 Zou Lunkai <zoulunkai@gmail.com>
 	

Index: backend/render_handler.h
===================================================================
RCS file: /cvsroot/gnash/gnash/backend/render_handler.h,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- backend/render_handler.h	13 Jul 2007 16:05:08 -0000	1.43
+++ backend/render_handler.h	18 Jul 2007 10:03:04 -0000	1.44
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler.h,v 1.43 2007/07/13 16:05:08 strk Exp $ */
+/* $Id: render_handler.h,v 1.44 2007/07/18 10:03:04 udog Exp $ */
 
 #ifndef RENDER_HANDLER_H
 #define RENDER_HANDLER_H
@@ -308,6 +308,18 @@
 	/// Converts world coordinates to pixel coordinates
 	virtual geometry::Range2d<int> world_to_pixel(const rect& worldbounds) = 0;
   
+	/// Converts pixel coordinates to world coordinates (TWIPS)
+	virtual point pixel_to_world(int x, int y) = 0;
+	
+	virtual geometry::Range2d<float> pixel_to_world(const geometry::Range2d<int>& pixelbounds)
+  {
+    point topleft     = pixel_to_world(pixelbounds.getMinX(), pixelbounds.getMinY());
+    point bottomright = pixel_to_world(pixelbounds.getMaxX(), pixelbounds.getMaxY());
+    
+    return geometry::Range2d<float> (topleft.m_x, topleft.m_y, 
+      bottomright.m_x, bottomright.m_y);
+  }
+  
 	virtual geometry::Range2d<int> world_to_pixel(const geometry::Range2d<float>& worldbounds)
 	{
   		if ((worldbounds.isNull() || worldbounds.isWorld())) 	
@@ -317,6 +329,7 @@
 		                           worldbounds.getMaxX(), worldbounds.getMaxY()));  
 	}
 		
+		
 	/// Bracket the displaying of a frame from a movie.
 	//
 	/// Set up to render a full frame from a movie and fills the

Index: backend/render_handler_agg.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -b -r1.91 -r1.92
--- backend/render_handler_agg.cpp	13 Jul 2007 16:05:08 -0000	1.91
+++ backend/render_handler_agg.cpp	18 Jul 2007 10:03:04 -0000	1.92
@@ -17,7 +17,7 @@
 
  
 
-/* $Id: render_handler_agg.cpp,v 1.91 2007/07/13 16:05:08 strk Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.92 2007/07/18 10:03:04 udog Exp $ */
 
 // Original version by Udo Giacomozzi and Hannes Mayr, 
 // INDUNET GmbH (www.indunet.it)
@@ -1913,8 +1913,8 @@
 		// and Intersect() against valid range instead.
 		point p(world_x, world_y);
 		stage_matrix.transform(p);
-		x = p.m_x;
-		y = p.m_y;
+		x = (int)p.m_x;
+		y = (int)p.m_y;
 	}
 
   geometry::Range2d<int> world_to_pixel(const rect& wb)
@@ -1944,6 +1944,14 @@
     return geometry::Range2d<int>(xmin, ymin, xmax, ymax);
   }
   
+  point 
+  pixel_to_world(int x, int y)
+  {
+    point p(x, y);
+    stage_matrix.transform_by_inverse(p);
+    return p;    
+  };
+  
   void set_invalidated_region_world() {
     InvalidatedRanges ranges;
     ranges.setWorld();

Index: backend/render_handler_tri.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/backend/render_handler_tri.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- backend/render_handler_tri.cpp	13 Jul 2007 16:05:08 -0000	1.16
+++ backend/render_handler_tri.cpp	18 Jul 2007 10:03:04 -0000	1.17
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.cpp,v 1.16 2007/07/13 16:05:08 strk Exp $ */
+/* $Id: render_handler_tri.cpp,v 1.17 2007/07/18 10:03:04 udog Exp $ */
 
 #include "render_handler_tri.h"
 
@@ -346,6 +346,12 @@
   assert(0); // not implemented (and currently not required for tri. renderers)
 }
 
+point 
+triangulating_render_handler::pixel_to_world(int /*x*/, int /*y*/)
+{
+  assert(0); // not implemented (and currently not required for tri. renderers)
+}
+
 tri_cache_manager::~tri_cache_manager()
 {
 	for (MeshSetList::iterator i=m_cached_meshes.begin(), e=m_cached_meshes.end();

Index: backend/render_handler_tri.h
===================================================================
RCS file: /cvsroot/gnash/gnash/backend/render_handler_tri.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- backend/render_handler_tri.h	13 Jul 2007 16:05:08 -0000	1.13
+++ backend/render_handler_tri.h	18 Jul 2007 10:03:04 -0000	1.14
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.h,v 1.13 2007/07/13 16:05:08 strk Exp $ */
+/* $Id: render_handler_tri.h,v 1.14 2007/07/18 10:03:04 udog Exp $ */
 
 #ifndef GNASH_RENDER_HANDLER_TRI_H
 #define GNASH_RENDER_HANDLER_TRI_H
@@ -140,6 +140,8 @@
   /// Translates world coordinates to pixel coordinates
   geometry::Range2d<int> world_to_pixel(const rect& worldbounds);
     
+  point pixel_to_world(int x, int y);
+    
   // --- helper methods --------------------------------------------------------
   // These methods are called by draw_shape_character() and normally don't need
   // to be accessed by other classes. They are here to make the class more

Index: gui/gtk.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gtk.cpp,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -b -r1.99 -r1.100
--- gui/gtk.cpp	18 Jul 2007 09:18:42 -0000	1.99
+++ gui/gtk.cpp	18 Jul 2007 10:03:04 -0000	1.100
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: gtk.cpp,v 1.99 2007/07/18 09:18:42 udog Exp $ */
+/* $Id: gtk.cpp,v 1.100 2007/07/18 10:03:04 udog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -267,6 +267,31 @@
 #endif
 }
 
+void
+GtkGui::rerenderPixels(int xmin, int ymin, int xmax, int ymax) 
+{
+
+  // This function is called in expose events to force partly re-rendering
+  // of the window. The coordinates are PIXELS.
+   
+  // The macro PIXELS_TO_TWIPS can't be used since the renderer might do 
+  // scaling.
+   
+#ifdef RENDERER_AGG
+	InvalidatedRanges ranges;
+	
+	geometry::Range2d<int> exposed_pixels(xmin, ymin, xmax, ymax);
+	
+	geometry::Range2d<float> exposed_twips = 
+    _renderer->pixel_to_world(exposed_pixels);	
+	
+	ranges.add(exposed_twips);
+	setInvalidatedRegions(ranges);
+#endif
+  renderBuffer();   
+
+}
+
 #ifdef RENDERER_AGG
 void
 GtkGui::setInvalidatedRegions(const InvalidatedRanges& ranges)
@@ -1024,17 +1049,11 @@
 
 	GtkGui* gui = static_cast<GtkGui*>(data);
 
-	InvalidatedRanges ranges;
 
 	int xmin = event->area.x, xmax = event->area.x + event->area.width,
 	    ymin = event->area.y, ymax = event->area.y + event->area.height;
 
-	geometry::Range2d<float> exposed(PIXELS_TO_TWIPS(xmin),
-          PIXELS_TO_TWIPS(ymin), PIXELS_TO_TWIPS(xmax), PIXELS_TO_TWIPS(ymax));
-
-	ranges.add(exposed);
-	gui->setInvalidatedRegions(ranges);
-	gui->renderBuffer();
+  gui->rerenderPixels(xmin, ymin, xmax, ymax);
 
 	return TRUE;
 }

Index: gui/gtksup.h
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gtksup.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- gui/gtksup.h	1 Jul 2007 10:54:03 -0000	1.44
+++ gui/gtksup.h	18 Jul 2007 10:03:04 -0000	1.45
@@ -136,6 +136,8 @@
 
     GdkPixbuf* create_pixbuf(const gchar *filename);
     
+    void GtkGui::rerenderPixels(int xmin, int ymin, int xmax, int ymax);
+    
 #ifdef RENDERER_AGG    
     void setInvalidatedRegions(const InvalidatedRanges& ranges);
     bool want_multiple_regions() { return true; }



From MAILER-DAEMON Wed Jul 18 06:04:37 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB6Ob-0007zg-Sg
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 06:04:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB6OZ-0007zB-Rf
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:04:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB6OZ-0007yx-Ew
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:04:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB6OZ-0007yu-CU
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:04:35 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IB6OY-0002bV-NL
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:04:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IB6OY-0003kd-0B
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:04:34 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IB6OX-0003ka-T3
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:04:33 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB6OX-0003ka-T3@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Wed, 18 Jul 2007 10:04:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/backend render_handler_agg.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 10:04:36 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/18 10:04:33

Modified files:
	backend        : render_handler_agg.cpp 

Log message:
	tabs...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&r1=1.92&r2=1.93

Patches:
Index: render_handler_agg.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -b -r1.92 -r1.93
--- render_handler_agg.cpp	18 Jul 2007 10:03:04 -0000	1.92
+++ render_handler_agg.cpp	18 Jul 2007 10:04:33 -0000	1.93
@@ -17,7 +17,7 @@
 
  
 
-/* $Id: render_handler_agg.cpp,v 1.92 2007/07/18 10:03:04 udog Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.93 2007/07/18 10:04:33 udog Exp $ */
 
 // Original version by Udo Giacomozzi and Hannes Mayr, 
 // INDUNET GmbH (www.indunet.it)



From MAILER-DAEMON Wed Jul 18 06:06:17 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB6QD-0008PS-D6
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 06:06:17 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB6QB-0008PB-Gg
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:06:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB6QA-0008Or-Vr
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:06:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB6QA-0008Ol-Tw
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:06:14 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IB6QA-00030v-I9
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 06:06:14 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IB6QA-0003nM-1s
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:06:14 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IB6Q9-0003nJ-Tc
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:06:13 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB6Q9-0003nJ-Tc@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Wed, 18 Jul 2007 10:06:13 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/backend render_handler.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 10:06:15 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/18 10:06:13

Modified files:
	backend        : render_handler.h 

Log message:
	tabs...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler.h?cvsroot=gnash&r1=1.44&r2=1.45

Patches:
Index: render_handler.h
===================================================================
RCS file: /cvsroot/gnash/gnash/backend/render_handler.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- render_handler.h	18 Jul 2007 10:03:04 -0000	1.44
+++ render_handler.h	18 Jul 2007 10:06:13 -0000	1.45
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler.h,v 1.44 2007/07/18 10:03:04 udog Exp $ */
+/* $Id: render_handler.h,v 1.45 2007/07/18 10:06:13 udog Exp $ */
 
 #ifndef RENDER_HANDLER_H
 #define RENDER_HANDLER_H



From MAILER-DAEMON Wed Jul 18 07:11:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB7Qs-0006Bp-4q
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 07:11:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB7Qq-0006B8-Nt
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:11:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB7Qo-0006A7-6X
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:11:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB7Qo-00069y-0y
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:10:58 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IB7Qn-0005do-OJ
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:10:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IB7Ql-0008J7-3z
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 11:10:55 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IB7Qk-0008J1-V5
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 11:10:55 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB7Qk-0008J1-V5@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 11:10:54 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server types.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 11:11:01 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 11:10:54

Modified files:
	server         : types.h 

Log message:
	Add comment about intended use for rgba::{parse,to}RGB

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/types.h?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: types.h
===================================================================
RCS file: /sources/gnash/gnash/server/types.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- types.h	18 Jul 2007 03:35:38 -0000	1.14
+++ types.h	18 Jul 2007 11:10:54 -0000	1.15
@@ -61,6 +61,9 @@
 		/// Alpha will be untouched.
 		/// Blue is the least significant byte.
 		///
+		/// This function is meant to be used to
+		/// parse ActionScript colors in numeric format.
+		///
 		void parseRGB(uint32_t rgbCol)
 		{
 			m_r = (uint8_t)(rgbCol>>16);
@@ -74,6 +77,9 @@
 		//
 		/// Blue is the least significant byte.
 		///
+		/// This function is meant to be used to
+		/// output ActionScript colors in numeric format.
+		///
 		uint32_t toRGB()
 		{
 			return (m_r<<16) + (m_g<<8) + m_b;



From MAILER-DAEMON Wed Jul 18 07:12:28 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB7SG-0006dx-DA
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 07:12:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB7SE-0006dC-Al
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:12:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB7SC-0006cP-DE
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:12:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB7SC-0006cM-6W
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:12:24 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IB7SA-00068J-4X
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:12:24 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6IBC7356040;
	Wed, 18 Jul 2007 13:12:07 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Wed, 18 Jul 2007 13:12:07 +0200
To: Zou Lunkai <zoulunkai@gmail.com>
Subject: Re: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
Message-ID: <20070718111207.GA40021@keybit.net>
Mail-Followup-To: Zou Lunkai <zoulunkai@gmail.com>, gnash-commit@gnu.org
References: <E1IB0jZ-0007II-7l@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1IB0jZ-0007II-7l@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 11:12:27 -0000

On Wed, Jul 18, 2007 at 04:01:53AM +0000, Zou Lunkai wrote:

> Added files:
> 	testsuite/misc-ming.all: unload_movieclip_test1.c 
...
> +/*
> + * zou lunkai  zoulunkai@gmail.com
> + *
> + * run as ./unload_movieclip_test1
> + */
> +

A description of what the testcase does would be helpful.

--strk;



From MAILER-DAEMON Wed Jul 18 07:23:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB7cs-0004u4-Ma
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 07:23:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB7cq-0004qv-Vg
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:23:25 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB7cp-0004nk-Al
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:23:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB7co-0004nL-T3
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:23:23 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IB7co-0001ZX-IK
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 07:23:22 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IB7cn-0001Ux-RV
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 11:23:21 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IB7cn-0001Uu-JH
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 11:23:21 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB7cn-0001Uu-JH@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 11:23:21 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gtksup.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 11:23:25 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 11:23:21

Modified files:
	.              : ChangeLog 
	gui            : gtksup.h 

Log message:
	        * gui/gtksup.h: Fix extra qualification 'gnash::GtkGui::' on member 'rerenderPixels'

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3758&r2=1.3759
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtksup.h?cvsroot=gnash&r1=1.45&r2=1.46

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3758
retrieving revision 1.3759
diff -u -b -r1.3758 -r1.3759
--- ChangeLog	18 Jul 2007 10:03:04 -0000	1.3758
+++ ChangeLog	18 Jul 2007 11:23:20 -0000	1.3759
@@ -1,3 +1,7 @@
+2007-07-18 Sandro Santilli <strk@keybit.net>
+
+	* gui/gtksup.h: Fix extra qualification 'gnash::GtkGui::' on member 'rerenderPixels'
+
 2007-07-18 Udo Giacomozzi <udo.gnu@nova-sys.net>
 	
 	* gui/gtk.cpp: Make the drawing area resize also vertically with the window,

Index: gui/gtksup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtksup.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- gui/gtksup.h	18 Jul 2007 10:03:04 -0000	1.45
+++ gui/gtksup.h	18 Jul 2007 11:23:21 -0000	1.46
@@ -136,7 +136,7 @@
 
     GdkPixbuf* create_pixbuf(const gchar *filename);
     
-    void GtkGui::rerenderPixels(int xmin, int ymin, int xmax, int ymax);
+    void rerenderPixels(int xmin, int ymin, int xmax, int ymax);
     
 #ifdef RENDERER_AGG    
     void setInvalidatedRegions(const InvalidatedRanges& ranges);



From MAILER-DAEMON Wed Jul 18 09:47:06 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IB9ru-00010b-7X
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 09:47:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IB9rs-0000zr-7D
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 09:47:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IB9rr-0000zP-Fz
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 09:47:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IB9rr-0000zF-4O
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 09:47:03 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IB9rq-00011s-Q7
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 09:47:02 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IB9rp-0003gq-7C
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 13:47:01 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IB9ro-0003gn-VC
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 13:47:01 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IB9ro-0003gn-VC@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 13:47:00 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog cygnal/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 13:47:04 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 13:47:00

Modified files:
	.              : ChangeLog 
	cygnal         : Makefile.am 

Log message:
	* cygnal/Makefile.am: Add all subdirs to SUBDIRS. Fixes bug #20509.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3759&r2=1.3760
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Makefile.am?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3759
retrieving revision 1.3760
diff -u -b -r1.3759 -r1.3760
--- ChangeLog	18 Jul 2007 11:23:20 -0000	1.3759
+++ ChangeLog	18 Jul 2007 13:47:00 -0000	1.3760
@@ -1,5 +1,9 @@
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
+	* cygnal/Makefile.am: Add all subdirs to SUBDIRS. Fixes bug #20509.
+
+2007-07-18 Sandro Santilli <strk@keybit.net>
+
 	* gui/gtksup.h: Fix extra qualification 'gnash::GtkGui::' on member 'rerenderPixels'
 
 2007-07-18 Udo Giacomozzi <udo.gnu@nova-sys.net>

Index: cygnal/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Makefile.am,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- cygnal/Makefile.am	1 Jul 2007 10:53:49 -0000	1.6
+++ cygnal/Makefile.am	18 Jul 2007 13:47:00 -0000	1.7
@@ -16,12 +16,14 @@
 #   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #
 
-# $Id: Makefile.am,v 1.6 2007/07/01 10:53:49 bjacques Exp $
+# $Id: Makefile.am,v 1.7 2007/07/18 13:47:00 strk Exp $
 
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = dejagnu
 
+SUBDIRS  = ACT IO HTTP Net unit_tests 
+
 AM_CPPFLAGS = # -Wall
 
 ## WARNING: make sure GLIB_LIBS appears first



From MAILER-DAEMON Wed Jul 18 10:14:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBAIE-0006a7-Nj
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 10:14:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBAID-0006Zu-BH
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:14:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBAIA-0006Zi-VK
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:14:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBAIA-0006Zf-SS
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:14:14 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBAIA-0007Sk-Lf
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:14:14 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBAI9-0005Og-FW
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 14:14:13 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBAI8-0005ON-Mg
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 14:14:13 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBAI8-0005ON-Mg@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 14:14:12 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog cygnal/ACT/ACT.cpp cygnal/ACT/A...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 14:14:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 14:14:12

Modified files:
	.              : ChangeLog 
	cygnal/ACT     : ACT.cpp ACT.hpp Handle.hpp 

Log message:
	        * cygnal/ACT/ACT.{cpp,hpp}: throw runtime_error if in need for a
	          message string (std::exception ctor doesn't accept a string arg)
	        * cygnal/ACT/Handle.hpp: fix *a few* build errors, more available.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3760&r2=1.3761
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/ACT.cpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/ACT.hpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Handle.hpp?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3760
retrieving revision 1.3761
diff -u -b -r1.3760 -r1.3761
--- ChangeLog	18 Jul 2007 13:47:00 -0000	1.3760
+++ ChangeLog	18 Jul 2007 14:14:08 -0000	1.3761
@@ -1,5 +1,8 @@
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
+	* cygnal/ACT/ACT.{cpp,hpp}: throw runtime_error if in need for a
+	  message string (std::exception ctor doesn't accept a string arg)
+	* cygnal/ACT/Handle.hpp: fix *a few* build errors, more available.
 	* cygnal/Makefile.am: Add all subdirs to SUBDIRS. Fixes bug #20509.
 
 2007-07-18 Sandro Santilli <strk@keybit.net>

Index: cygnal/ACT/ACT.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/ACT.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cygnal/ACT/ACT.cpp	1 Jul 2007 10:53:50 -0000	1.2
+++ cygnal/ACT/ACT.cpp	18 Jul 2007 14:14:10 -0000	1.3
@@ -22,6 +22,9 @@
 
 #include "ACT.hpp"
 
+#include <stdexcept>
+#include <string>
+
 namespace ACT {
 	act::
 	act( basic_act * x )
@@ -30,7 +33,7 @@
 		if ( x == 0 ) {
 			// The recommended expression for our input parameter is 'new X',
 			//		which motivates the text of the exception
-			throw std::exception( "Probable memory allocation error" ) ;
+			throw std::runtime_error( "Probable memory allocation error" ) ;
 		}
 	}
 

Index: cygnal/ACT/ACT.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/ACT.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5

Index: cygnal/ACT/Handle.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Handle.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- cygnal/ACT/Handle.hpp	10 Jul 2007 14:09:08 -0000	1.1
+++ cygnal/ACT/Handle.hpp	18 Jul 2007 14:14:12 -0000	1.2
@@ -46,7 +46,7 @@
 	class Handle
 	{
 		// friend classes
-		template< class T, class Marker > friend class Vector_with_Handle_Index ;
+		template< class nT, class nMarker > friend class Vector_with_Handle_Index ;
 
 		/// A handle is an encapsulated integral type
 		T the_index ;
@@ -81,6 +81,12 @@
 		: public std::vector< T >
 	{
 		typedef std::vector< T > Base ;		/// Our base class, defined for legibility.
+
+		// These might not be needed using private inheritance, but didn't try
+		typedef typename Base::reference reference ;
+		typedef typename Base::const_reference const_reference ;
+		typedef typename Base::size_type size_type ;
+
 		inline reference operator[]( size_type n ) { throw std::exception() ; }				/// Prohibit offset operation with unwrapped index
 		inline const_reference operator[]( size_type n ) const { throw std::exception() ; }	/// Prohibit offset operation with unwrapped index
 		inline reference at( size_type n ) { throw std::exception() ; }						/// Prohibit offset operation with unwrapped index



From MAILER-DAEMON Wed Jul 18 10:26:40 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBAUC-0004SI-7i
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 10:26:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBAUA-0004SC-0i
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:26:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBAU8-0004S0-5s
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:26:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBAU8-0004Rx-3m
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:26:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBAU7-00026f-Qq
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 10:26:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBAU7-00067W-1Y
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 14:26:35 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBAU6-00067T-R4
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 14:26:34 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBAU6-00067T-R4@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 14:26:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog cygnal/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 14:26:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 14:26:34

Modified files:
	.              : ChangeLog 
	cygnal         : Makefile.am 

Log message:
	        * cygnal/Makefile.am : Don't build the cygnal stuff,
	          it's alpha after all... But still include in distribution.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3761&r2=1.3762
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Makefile.am?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3761
retrieving revision 1.3762
diff -u -b -r1.3761 -r1.3762
--- ChangeLog	18 Jul 2007 14:14:08 -0000	1.3761
+++ ChangeLog	18 Jul 2007 14:26:34 -0000	1.3762
@@ -1,5 +1,10 @@
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
+	* cygnal/Makefile.am : Don't build the cygnal stuff,
+	  it's alpha after all... But still include in distribution.
+
+2007-07-18 Sandro Santilli <strk@keybit.net>
+
 	* cygnal/ACT/ACT.{cpp,hpp}: throw runtime_error if in need for a
 	  message string (std::exception ctor doesn't accept a string arg)
 	* cygnal/ACT/Handle.hpp: fix *a few* build errors, more available.

Index: cygnal/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- cygnal/Makefile.am	18 Jul 2007 13:47:00 -0000	1.7
+++ cygnal/Makefile.am	18 Jul 2007 14:26:34 -0000	1.8
@@ -16,13 +16,13 @@
 #   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #
 
-# $Id: Makefile.am,v 1.7 2007/07/18 13:47:00 strk Exp $
+# $Id: Makefile.am,v 1.8 2007/07/18 14:26:34 strk Exp $
 
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = dejagnu
 
-SUBDIRS  = ACT IO HTTP Net unit_tests 
+DIST_SUBDIRS  = ACT IO HTTP Net unit_tests 
 
 AM_CPPFLAGS = # -Wall
 



From MAILER-DAEMON Wed Jul 18 16:26:14 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBG6A-0001P5-KF
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 16:26:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBG69-0001Op-QV
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:26:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBG68-0001O6-4z
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:26:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBG68-0001O3-1K
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:26:12 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBG67-00077t-JB
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:26:11 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBG66-0005XX-Jn
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:26:10 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBG66-0005XU-DA
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:26:10 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBG66-0005XU-DA@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Wed, 18 Jul 2007 20:26:10 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/win32/old win32
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 20:26:14 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/18 20:26:10

New directory:
	win32/old win32

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/old%32win32/?cvsroot=gnash



From MAILER-DAEMON Wed Jul 18 16:29:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBG91-0001sm-5F
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 16:29:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBG8z-0001sC-CJ
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:29:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBG8y-0001ry-KC
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:29:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBG8y-0001rv-Eg
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:29:08 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBG8y-0007nF-0U
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:29:08 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBG8x-0005aU-C2
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:29:07 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBG8x-0005aQ-3v
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:29:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBG8x-0005aQ-3v@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Wed, 18 Jul 2007 20:29:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/win32/old win32/VC8
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 20:29:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/18 20:29:07

New directory:
	win32/old win32/VC8

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/old%32win32/VC8/?cvsroot=gnash



From MAILER-DAEMON Wed Jul 18 16:30:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBGAK-0002HY-Bl
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 16:30:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBGAH-0002Fp-9f
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:30:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBGAD-0002D2-6g
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:30:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBGAC-0002Ca-VI
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:30:25 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBGAB-000890-7P
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 16:30:24 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBGAA-0005d4-64
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:30:22 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBGA9-0005cx-Tq
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:30:22 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBGA9-0005cx-Tq@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Wed, 18 Jul 2007 20:30:21 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/win32 `old win32/VC8/gnash.sln' `old win3...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 20:30:30 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/18 20:30:21

Added files:
	win32/old win32/VC8: gnash.sln gnash.vcproj npgnash.def 
	                     npgnash.vcproj 
Removed files:
	win32/VC8      : gnash.sln gnash.vcproj npgnash.def 
	                 npgnash.vcproj 

Log message:
	Moved old win32 build files into legacy directory, for interim access awaiting new VC8 build files.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/old%32win32/VC8/gnash.sln?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/old%32win32/VC8/gnash.vcproj?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/old%32win32/VC8/npgnash.def?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/old%32win32/VC8/npgnash.vcproj?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/VC8/gnash.sln?cvsroot=gnash&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/VC8/gnash.vcproj?cvsroot=gnash&r1=1.5&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/VC8/npgnash.def?cvsroot=gnash&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/win32/VC8/npgnash.vcproj?cvsroot=gnash&r1=1.3&r2=0

Patches:
Index: old win32/VC8/gnash.sln
===================================================================
RCS file: old win32/VC8/gnash.sln
diff -N old win32/VC8/gnash.sln
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ old win32/VC8/gnash.sln	18 Jul 2007 20:30:20 -0000	1.1
@@ -0,0 +1,26 @@
+﻿
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gnash", "gnash.vcproj", "{E5A44530-7782-42A2-A41D-238670499C44}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "npgnash", "npgnash.vcproj", "{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Win32 = Debug|Win32
+		Release|Win32 = Release|Win32
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{E5A44530-7782-42A2-A41D-238670499C44}.Debug|Win32.ActiveCfg = Debug|Win32
+		{E5A44530-7782-42A2-A41D-238670499C44}.Debug|Win32.Build.0 = Debug|Win32
+		{E5A44530-7782-42A2-A41D-238670499C44}.Release|Win32.ActiveCfg = Release|Win32
+		{E5A44530-7782-42A2-A41D-238670499C44}.Release|Win32.Build.0 = Release|Win32
+		{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}.Debug|Win32.ActiveCfg = Debug|Win32
+		{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}.Debug|Win32.Build.0 = Debug|Win32
+		{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}.Release|Win32.ActiveCfg = Release|Win32
+		{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}.Release|Win32.Build.0 = Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal

Index: old win32/VC8/gnash.vcproj
===================================================================
RCS file: old win32/VC8/gnash.vcproj
diff -N old win32/VC8/gnash.vcproj
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ old win32/VC8/gnash.vcproj	18 Jul 2007 20:30:20 -0000	1.1
@@ -0,0 +1,1437 @@
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="8,00"
+	Name="gnash"
+	ProjectGUID="{E5A44530-7782-42A2-A41D-238670499C44}"
+	RootNamespace="gnash"
+	Keyword="Win32Proj"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="1"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="../../libbase;../../server;../../server/asobj;../../server/parser;../../server/swf;../../server/vm;../../libltdl;../../extensions/mysql;../../libamf;../../backend;$(NOINHERIT)"
+				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;WIN32_HASH_MAP;HAVE_ISFINITE;HAVE_SDL_H;SOUND_SDL;RENDERER_OPENGL;HAVE_WINSOCK_H;USE_CURL;HAVE_LIBCURL;HAVE_EXTENSIONS;VERSION=&quot;&quot;&quot;0.7.2&quot;&quot;&quot;;USE_SDL_THREADS;GUI_SDL;NETWORK_CONN;USE_FFMPEG;EMULATE_INTTYPES;TARGET_CONFIG=&quot;&quot;&quot;win32&quot;&quot;&quot;;RENDERER_CONFIG=&quot;&quot;&quot;opengl&quot;&quot;&quot;;GUI_CONFIG=&quot;&quot;&quot;sdl&quot;&quot;&quot;;SOUND_CONFIG=&quot;&quot;&quot;sdl&quot;&quot;&quot;;DECODER_CONFIG=&quot;&quot;&quot;ffmpeg&quot;&quot;&quot;"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				UsePrecompiledHeader="0"
+				WarningLevel="2"
+				Detect64BitPortabilityProblems="true"
+				DebugInformationFormat="4"
+				ShowIncludes="false"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="sdl.lib zlib.lib jpeg.lib sdlmain.lib opengl32.lib pthreadVC2.lib ws2_32.lib libcurl.lib WinMM.lib libmysql.lib avutil-49.lib avcodec-51.lib avformat-50.lib glew32.lib"
+				LinkIncremental="2"
+				IgnoreDefaultLibraryNames="LIBCMT.lib"
+				GenerateDebugInformation="true"
+				SubSystem="1"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="1"
+			CharacterSet="1"
+			WholeProgramOptimization="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;WIN32_HASH_MAP&quot; /D &quot;HAVE_ISFINITE&quot; /D &quot;HAVE_SDL_H&quot; /D SOUND_SDL /D &quot;RENDERER_OPENGL&quot; /D &quot;NETWORK_CONN&quot; /D HAVE_WINSOCK_H /D &quot;NETWORK_CONN&quot; /D &quot;USE_CURL&quot; /D &quot;HAVE_LIBCURL&quot; /D HAVE_EXTENSIONS /D VERSION=&quot;&quot;&quot;0.7.1&quot;&quot;&quot; /D USE_SDL_THREADS /D GUI_SDL"
+				AdditionalIncludeDirectories="../../libbase;../../server;../../extensions/mysql;../libbase;../../libamf;$(NOINHERIT)"
+				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+				RuntimeLibrary="2"
+				UsePrecompiledHeader="0"
+				WarningLevel="2"
+				Detect64BitPortabilityProblems="true"
+				DebugInformationFormat="3"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="sdl.lib zlib.lib jpeg.lib sdlmain.lib opengl32.lib ws2_32.lib libcurl.lib WinMM.lib libmysql.lib pthreadVC.lib"
+				LinkIncremental="1"
+				IgnoreDefaultLibraryNames="LIBCMT.lib"
+				GenerateDebugInformation="true"
+				SubSystem="1"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+			>
+			<File
+				RelativePath="..\..\server\vm\action.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\action_buffer.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\ActionExec.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\amf.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\array.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_environment.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_function.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_object.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_value.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\ASHandlers.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Sound.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\bitmap_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Boolean.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\button_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\button_character_instance.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Camera.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\character.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\character_def.cpp"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Color.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\container.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\ContextMenu.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\curl_adapter.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\CustomActions.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Date.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\dlist.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\edit_text_character.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\edit_text_character_def.cpp"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Error.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\extension.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\font.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\fontlib.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\generic_character.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\getopt_win32.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\GetterSetter.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Global.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\gnash.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\gui.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\image.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\image_filters.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\impl.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\jpeg.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Key.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\LoadVars.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\LocalConnection.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\log.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libltdl\ltdl.c"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Math.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\matrix.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\membuf.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Microphone.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\morph2_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Mouse.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\movie_def_impl.cpp"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_instance.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_root.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\MovieClip.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\MovieClipLoader.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\extensions\mysql\mysql_db.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\extensions\mysql\mysql_table.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\NetConnection.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\NetStream.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\network.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\noseek_fd_adapter.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\NullGui.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Number.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Object.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\Player.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\postscript.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\PropertyList.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\rc.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\rect.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\render.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\render_handler_ogl.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\render_handler_tri.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\rtmp.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\sdl.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\sdl_ogl_glue.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Selection.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\shape.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\shape_character_def.cpp"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\libbase\sharedlib.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\SharedObject.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\sound.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\sound_handler_sdl.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\sprite_definition.cpp"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\server\sprite_instance.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Stage.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\stream.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\StreamProvider.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\string.cpp"
+				>
+				<FileConfiguration
+					Name="Debug|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32"
+					>
+					<Tool
+						Name="VCCLCompilerTool"
+						ObjectFile="$(IntDir)\$(InputName)1.obj"
+						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
+					/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\server\styles.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf_function.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\System.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\tag_loaders.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\TagLoadersTable.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\tesselate.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\text.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\text_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\textformat.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\TextSnapshot.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\timers.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\triangulate_float.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\triangulate_sint32.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_file.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_file_SDL.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_random.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_timer.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_types.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\types.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\URL.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\URLAccessManager.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\utf8.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\utility.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Video.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\video_stream_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\video_stream_instance.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\video_yuv.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\VM.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\xml.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\xmlattrs.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\xmlnode.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\xmlsocket.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\zlib_adapter.cpp"
+				>
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc;xsd"
+			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+			>
+			<File
+				RelativePath="..\..\server\action.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\action.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\action_buffer.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\action_buffer.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\ActionExec.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\ActionExec.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\amf.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\amfutf8.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\array.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_environment.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_function.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_member.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_object.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_prop_flags.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_value.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\ASHandlers.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\ASHandlers.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Sound.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\bitmap_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Boolean.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\builtin_function.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\button_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\button_character_instance.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Camera.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\character.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Color.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\container.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\ContextMenu.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\curl_adapter.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\CustomActions.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Date.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\dlist.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\edit_text_character.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\edit_text_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Error.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\execute_tag.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\extension.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\fn_call.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\fn_call.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\font.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\fontlib.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\generic_character.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\getopt_win32.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\GetterSetter.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\Global.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\GMath.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\gnash.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\GnashException.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\grid_index.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\gstring.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\gstring.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\gui.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\image.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\impl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\jpeg.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Key.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\LoadVars.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\LocalConnection.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\log.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libltdl\ltdl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Math.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\matrix.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\membuf.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Microphone.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\morph2_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Mouse.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\movie_def_impl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\movie_definition.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_instance.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_interface.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_root.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\MovieClip.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\MovieClip.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\MovieClipLoader.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\extensions\mysql\mysql_db.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\extensions\mysql\mysql_table.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\NetConnection.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\NetStream.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\network.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\noseek_fd_adapter.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\NullGui.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Number.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Object.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\Object.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\ogl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\Player.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\postscript.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\Property.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\PropertyList.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\protocol.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\rc.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\rect.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\ref_counted.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\render.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\render_handler.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\render_handler_tri.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\resource.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\rtmp.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\sdl_ogl_glue.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\gui\sdlsup.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Selection.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\shape.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\shape_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\sharedlib.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\SharedObject.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\smart_ptr.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\sound.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\Sprite.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\sprite_definition.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\sprite_instance.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Stage.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\stream.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\StreamProvider.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\styles.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf_function.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\System.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\tag_loaders.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\TagLoadersTable.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\tesselate.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\text.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\text_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\textformat.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\TextSnapshot.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\thread.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\timers.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\triangulate.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\triangulate_impl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_config.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_file.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_math.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_opengl_includes.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_random.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_swap.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_timer.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_types.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\types.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\URL.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\URLAccessManager.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\utf8.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\utility.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Video.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\video_stream_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\video_stream_instance.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\VM.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\with_stack_entry.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\vm\with_stack_entry.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\xml.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xml.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\xmlattrs.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlattrs.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlnode.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\xmlnode.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlsocket.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\xmlsocket.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\zlib_adapter.h"
+				>
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+			>
+		</Filter>
+		<File
+			RelativePath=".\ReadMe.txt"
+			>
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Index: old win32/VC8/npgnash.def
===================================================================
RCS file: old win32/VC8/npgnash.def
diff -N old win32/VC8/npgnash.def
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ old win32/VC8/npgnash.def	18 Jul 2007 20:30:20 -0000	1.1
@@ -0,0 +1,5 @@
+LIBRARY	"npgnash"
+EXPORTS
+        NP_GetEntryPoints   @1
+        NP_Initialize       @2
+        NP_Shutdown         @3
\ No newline at end of file

Index: old win32/VC8/npgnash.vcproj
===================================================================
RCS file: old win32/VC8/npgnash.vcproj
diff -N old win32/VC8/npgnash.vcproj
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ old win32/VC8/npgnash.vcproj	18 Jul 2007 20:30:20 -0000	1.1
@@ -0,0 +1,1227 @@
+<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="8,00"
+	Name="npgnash"
+	ProjectGUID="{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}"
+	RootNamespace="npgnash"
+	Keyword="Win32Proj"
+	>
+	<Platforms>
+		<Platform
+			Name="Win32"
+		/>
+	</Platforms>
+	<ToolFiles>
+	</ToolFiles>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;WIN32_HASH_MAP&quot; /D &quot;HAVE_ISFINITE&quot; /D &quot;HAVE_SDL_H&quot; /D SOUND_SDL /D &quot;RENDERER_OPENGL&quot; /D &quot;NETWORK_CONN&quot; /D HAVE_WINSOCK_H /D &quot;NETWORK_CONN&quot; /D &quot;USE_CURL&quot; /D &quot;HAVE_LIBCURL&quot; /D HAVE_EXTENSIONS /D VERSION=&quot;&quot;&quot;0.7.1&quot;&quot;&quot; /D USE_SDL_THREADS"
+				Optimization="0"
+				AdditionalIncludeDirectories="../../libbase;../../server;../../server/asobj;../../server/parser;../../server/swf;../../extensions/mysql;../../libamf;../../backend;&quot;../../plugin/mozilla-sdk&quot;;$(NOINHERIT)"
+				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;NPGNASH_EXPORTS"
+				MinimalRebuild="true"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				UsePrecompiledHeader="0"
+				WarningLevel="2"
+				Detect64BitPortabilityProblems="true"
+				DebugInformationFormat="4"
+				ForcedIncludeFiles="mozilla-config.h"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="sdl.lib zlib.lib jpeg.lib sdlmain.lib opengl32.lib pthreadVC2.lib ws2_32.lib libcurl.lib WinMM.lib libmysql.lib avutil-49.lib avcodec-51.lib avformat-50.lib glew32.lib nspr4.lib plds4.lib plc4.lib"
+				OutputFile="C:\Program Files\Mozilla Firefox\plugins\$(ProjectName).dll"
+				LinkIncremental="2"
+				IgnoreDefaultLibraryNames="LIBCMT.lib"
+				ModuleDefinitionFile="npgnash.def"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+			IntermediateDirectory="$(ConfigurationName)"
+			ConfigurationType="2"
+			CharacterSet="1"
+			WholeProgramOptimization="1"
+			>
+			<Tool
+				Name="VCPreBuildEventTool"
+			/>
+			<Tool
+				Name="VCCustomBuildTool"
+			/>
+			<Tool
+				Name="VCXMLDataGeneratorTool"
+			/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"
+			/>
+			<Tool
+				Name="VCMIDLTool"
+			/>
+			<Tool
+				Name="VCCLCompilerTool"
+				AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;WIN32_HASH_MAP&quot; /D &quot;HAVE_ISFINITE&quot; /D &quot;HAVE_SDL_H&quot; /D SOUND_SDL /D &quot;RENDERER_OPENGL&quot; /D &quot;NETWORK_CONN&quot; /D HAVE_WINSOCK_H /D &quot;NETWORK_CONN&quot; /D &quot;USE_CURL&quot; /D &quot;HAVE_LIBCURL&quot; /D HAVE_EXTENSIONS /D VERSION=&quot;&quot;&quot;0.7.1&quot;&quot;&quot; /D USE_SDL_THREADS"
+				AdditionalIncludeDirectories="../../libbase;../../server;../../extensions/mysql;../libbase;../../libamf;&quot;../../plugin\mozilla-sdk&quot;;$(NOINHERIT)"
+				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;NPGNASH_EXPORTS"
+				RuntimeLibrary="2"
+				UsePrecompiledHeader="0"
+				WarningLevel="2"
+				Detect64BitPortabilityProblems="true"
+				DebugInformationFormat="3"
+				ForcedIncludeFiles="mozilla-config.h"
+			/>
+			<Tool
+				Name="VCManagedResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCResourceCompilerTool"
+			/>
+			<Tool
+				Name="VCPreLinkEventTool"
+			/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="sdl.lib zlib.lib jpeg.lib sdlmain.lib opengl32.lib ws2_32.lib libcurl.lib WinMM.lib libmysql.lib nspr4.lib plds4.lib plc4.lib"
+				OutputFile="C:\Program Files\Mozilla Firefox\plugins\$(ProjectName).dll"
+				LinkIncremental="1"
+				IgnoreDefaultLibraryNames="LIBCMT.lib"
+				ModuleDefinitionFile="npgnash.def"
+				GenerateDebugInformation="true"
+				SubSystem="2"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"
+			/>
+			<Tool
+				Name="VCALinkTool"
+			/>
+			<Tool
+				Name="VCManifestTool"
+			/>
+			<Tool
+				Name="VCXDCMakeTool"
+			/>
+			<Tool
+				Name="VCBscMakeTool"
+			/>
+			<Tool
+				Name="VCFxCopTool"
+			/>
+			<Tool
+				Name="VCAppVerifierTool"
+			/>
+			<Tool
+				Name="VCWebDeploymentTool"
+			/>
+			<Tool
+				Name="VCPostBuildEventTool"
+			/>
+		</Configuration>
+	</Configurations>
+	<References>
+	</References>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+			>
+			<File
+				RelativePath="..\..\server\action.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\action_buffer.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\ActionExec.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\amf.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\amftest.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\array.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_environment.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_function.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_object.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_value.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\ASHandlers.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Sound.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\bitmap_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Boolean.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\button_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\button_character_instance.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Camera.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\character.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Color.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\config.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\container.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\ContextMenu.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\curl_adapter.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\CustomActions.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Date.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\dlist.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\edit_text_character.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\edit_text_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Error.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\font.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\fontlib.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\generic_character.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\GetterSetter.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Global.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\image.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\image_filters.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\impl.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\jpeg.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Key.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\LoadVars.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\LocalConnection.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\log.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Math.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\matrix.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\membuf.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Microphone.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\morph2_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Mouse.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\movie_def_impl.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_instance.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_root.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\MovieClip.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\MovieClipLoader.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\NetConnection.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\NetStream.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\network.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\mozilla-sdk\np_entry.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\win32\npgnash.cpp"
+				>
+			</File>
+			<File
+				RelativePath=".\npgnash.def"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\mozilla-sdk\npn_gate.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\mozilla-sdk\npp_gate.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Number.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Object.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\win32\plugin.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\postscript.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\PropertyList.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\rc.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\rect.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\render.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\render_handler_ogl.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\render_handler_tri.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\rtmp.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Selection.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\shape.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\shape_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\SharedObject.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\sound.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\sound_handler_sdl.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\sprite_definition.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\sprite_instance.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Stage.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\stream.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\StreamProvider.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\string.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\styles.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf_function.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\System.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\tag_loaders.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\TagLoadersTable.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\tesselate.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\text.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\text_character_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\textformat.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\TextSnapshot.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\timers.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\triangulate_float.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\triangulate_sint32.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_file.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_file_SDL.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_random.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_timer.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_types.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\types.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\URL.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\URLAccessManager.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\utf8.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\utility.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Video.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\video_stream_def.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\video_stream_instance.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\video_yuv.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xml.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlattrs.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlnode.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlsocket.cpp"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\zlib_adapter.cpp"
+				>
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc;xsd"
+			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+			>
+			<File
+				RelativePath="..\..\server\action.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\action_buffer.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\ActionExec.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\amf.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\amfutf8.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\array.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_environment.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_function.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_member.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_object.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_prop_flags.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\as_value.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\ASHandlers.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Sound.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\bitmap_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Boolean.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\builtin_function.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\button_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\button_character_instance.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Camera.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\character.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Color.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\container.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\ContextMenu.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\curl_adapter.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\CustomActions.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Date.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\demo.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\dlist.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\edit_text_character.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\edit_text_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Error.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\execute_tag.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\fn_call.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\font.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\fontlib.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\generic_character.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\GetterSetter.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\Global.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\GMath.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\gnash.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\GnashException.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\grid_index.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\gstring.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\image.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\impl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\jpeg.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Key.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\LoadVars.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\LocalConnection.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\log.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\matrix.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\membuf.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Microphone.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\morph2_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Mouse.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\mouse_button_state.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\movie_def_impl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\movie_definition.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_instance.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_interface.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\movie_root.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\MovieClip.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\MovieClipLoader.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\NetConnection.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\NetStream.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\network.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\win32\npgnash_resource.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\mozilla-sdk\npplat.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Number.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Object.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\ogl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\win32\plugin.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\plugin\mozilla-sdk\pluginbase.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\postscript.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\Property.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\PropertyList.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\protocol.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\rc.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\rect.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\ref_counted.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\render.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\backend\render_handler_tri.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\resource.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libamf\rtmp.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Selection.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\shape.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\shape_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\SharedObject.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\smart_ptr.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\sound.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\Sprite.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\sprite_definition.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\sprite_instance.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Stage.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\stream.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\StreamProvider.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\styles.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf_event.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf_function.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\System.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\tag_loaders.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\swf\TagLoadersTable.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\tesselate.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\text.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\text_character_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\textformat.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\TextSnapshot.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\timers.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\triangulate.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\triangulate_impl.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_config.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_file.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_math.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_opengl_includes.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_random.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_swap.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_timer.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\tu_types.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\types.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\URL.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\URLAccessManager.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\utf8.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\utility.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\asobj\Video.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\parser\video_stream_def.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\video_stream_instance.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\with_stack_entry.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xml.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlattrs.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlnode.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\server\xmlsocket.h"
+				>
+			</File>
+			<File
+				RelativePath="..\..\libbase\zlib_adapter.h"
+				>
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+			>
+			<File
+				RelativePath="..\..\plugin\win32\npgnash.rc"
+				>
+			</File>
+		</Filter>
+		<File
+			RelativePath=".\ReadMe.txt"
+			>
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Index: VC8/gnash.sln
===================================================================
RCS file: VC8/gnash.sln
diff -N VC8/gnash.sln
--- VC8/gnash.sln	20 Nov 2006 15:11:16 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,26 +0,0 @@
-﻿
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gnash", "gnash.vcproj", "{E5A44530-7782-42A2-A41D-238670499C44}"
-EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "npgnash", "npgnash.vcproj", "{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}"
-EndProject
-Global
-	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|Win32 = Debug|Win32
-		Release|Win32 = Release|Win32
-	EndGlobalSection
-	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{E5A44530-7782-42A2-A41D-238670499C44}.Debug|Win32.ActiveCfg = Debug|Win32
-		{E5A44530-7782-42A2-A41D-238670499C44}.Debug|Win32.Build.0 = Debug|Win32
-		{E5A44530-7782-42A2-A41D-238670499C44}.Release|Win32.ActiveCfg = Release|Win32
-		{E5A44530-7782-42A2-A41D-238670499C44}.Release|Win32.Build.0 = Release|Win32
-		{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}.Debug|Win32.ActiveCfg = Debug|Win32
-		{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}.Debug|Win32.Build.0 = Debug|Win32
-		{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}.Release|Win32.ActiveCfg = Release|Win32
-		{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}.Release|Win32.Build.0 = Release|Win32
-	EndGlobalSection
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal

Index: VC8/gnash.vcproj
===================================================================
RCS file: VC8/gnash.vcproj
diff -N VC8/gnash.vcproj
--- VC8/gnash.vcproj	14 Feb 2007 09:41:38 -0000	1.5
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,1437 +0,0 @@
-<?xml version="1.0" encoding="windows-1251"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="8,00"
-	Name="gnash"
-	ProjectGUID="{E5A44530-7782-42A2-A41D-238670499C44}"
-	RootNamespace="gnash"
-	Keyword="Win32Proj"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="1"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				AdditionalIncludeDirectories="../../libbase;../../server;../../server/asobj;../../server/parser;../../server/swf;../../server/vm;../../libltdl;../../extensions/mysql;../../libamf;../../backend;$(NOINHERIT)"
-				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;WIN32_HASH_MAP;HAVE_ISFINITE;HAVE_SDL_H;SOUND_SDL;RENDERER_OPENGL;HAVE_WINSOCK_H;USE_CURL;HAVE_LIBCURL;HAVE_EXTENSIONS;VERSION=&quot;&quot;&quot;0.7.2&quot;&quot;&quot;;USE_SDL_THREADS;GUI_SDL;NETWORK_CONN;USE_FFMPEG;EMULATE_INTTYPES;TARGET_CONFIG=&quot;&quot;&quot;win32&quot;&quot;&quot;;RENDERER_CONFIG=&quot;&quot;&quot;opengl&quot;&quot;&quot;;GUI_CONFIG=&quot;&quot;&quot;sdl&quot;&quot;&quot;;SOUND_CONFIG=&quot;&quot;&quot;sdl&quot;&quot;&quot;;DECODER_CONFIG=&quot;&quot;&quot;ffmpeg&quot;&quot;&quot;"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="3"
-				UsePrecompiledHeader="0"
-				WarningLevel="2"
-				Detect64BitPortabilityProblems="true"
-				DebugInformationFormat="4"
-				ShowIncludes="false"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="sdl.lib zlib.lib jpeg.lib sdlmain.lib opengl32.lib pthreadVC2.lib ws2_32.lib libcurl.lib WinMM.lib libmysql.lib avutil-49.lib avcodec-51.lib avformat-50.lib glew32.lib"
-				LinkIncremental="2"
-				IgnoreDefaultLibraryNames="LIBCMT.lib"
-				GenerateDebugInformation="true"
-				SubSystem="1"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCWebDeploymentTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="1"
-			CharacterSet="1"
-			WholeProgramOptimization="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;WIN32_HASH_MAP&quot; /D &quot;HAVE_ISFINITE&quot; /D &quot;HAVE_SDL_H&quot; /D SOUND_SDL /D &quot;RENDERER_OPENGL&quot; /D &quot;NETWORK_CONN&quot; /D HAVE_WINSOCK_H /D &quot;NETWORK_CONN&quot; /D &quot;USE_CURL&quot; /D &quot;HAVE_LIBCURL&quot; /D HAVE_EXTENSIONS /D VERSION=&quot;&quot;&quot;0.7.1&quot;&quot;&quot; /D USE_SDL_THREADS /D GUI_SDL"
-				AdditionalIncludeDirectories="../../libbase;../../server;../../extensions/mysql;../libbase;../../libamf;$(NOINHERIT)"
-				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
-				RuntimeLibrary="2"
-				UsePrecompiledHeader="0"
-				WarningLevel="2"
-				Detect64BitPortabilityProblems="true"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="sdl.lib zlib.lib jpeg.lib sdlmain.lib opengl32.lib ws2_32.lib libcurl.lib WinMM.lib libmysql.lib pthreadVC.lib"
-				LinkIncremental="1"
-				IgnoreDefaultLibraryNames="LIBCMT.lib"
-				GenerateDebugInformation="true"
-				SubSystem="1"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCWebDeploymentTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="Source Files"
-			Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
-			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
-			>
-			<File
-				RelativePath="..\..\server\vm\action.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\action_buffer.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\ActionExec.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\amf.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\array.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_environment.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_function.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_object.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_value.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\ASHandlers.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Sound.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\bitmap_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Boolean.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\button_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\button_character_instance.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Camera.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\character.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\character_def.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Release|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Color.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\container.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\ContextMenu.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\curl_adapter.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\CustomActions.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Date.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\dlist.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\edit_text_character.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\edit_text_character_def.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Release|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Error.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\extension.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\font.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\fontlib.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\generic_character.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\getopt_win32.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\GetterSetter.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Global.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\gnash.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\gui.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\image.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\image_filters.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\impl.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\jpeg.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Key.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\LoadVars.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\LocalConnection.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\log.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libltdl\ltdl.c"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Math.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\matrix.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\membuf.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Microphone.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\morph2_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Mouse.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\movie_def_impl.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Release|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_instance.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_root.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\MovieClip.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\MovieClipLoader.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\extensions\mysql\mysql_db.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\extensions\mysql\mysql_table.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\NetConnection.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\NetStream.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\network.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\noseek_fd_adapter.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\NullGui.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Number.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Object.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\Player.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\postscript.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\PropertyList.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\rc.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\rect.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\render.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\render_handler_ogl.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\render_handler_tri.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\rtmp.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\sdl.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\sdl_ogl_glue.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Selection.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\shape.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\shape_character_def.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Release|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\libbase\sharedlib.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\SharedObject.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\sound.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\sound_handler_sdl.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\sprite_definition.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Release|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\server\sprite_instance.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Stage.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\stream.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\StreamProvider.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\string.cpp"
-				>
-				<FileConfiguration
-					Name="Debug|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-				<FileConfiguration
-					Name="Release|Win32"
-					>
-					<Tool
-						Name="VCCLCompilerTool"
-						ObjectFile="$(IntDir)\$(InputName)1.obj"
-						XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
-					/>
-				</FileConfiguration>
-			</File>
-			<File
-				RelativePath="..\..\server\styles.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf_function.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\System.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\tag_loaders.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\TagLoadersTable.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\tesselate.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\text.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\text_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\textformat.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\TextSnapshot.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\timers.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\triangulate_float.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\triangulate_sint32.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_file.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_file_SDL.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_random.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_timer.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_types.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\types.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\URL.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\URLAccessManager.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\utf8.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\utility.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Video.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\video_stream_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\video_stream_instance.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\video_yuv.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\VM.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\xml.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\xmlattrs.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\xmlnode.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\xmlsocket.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\zlib_adapter.cpp"
-				>
-			</File>
-		</Filter>
-		<Filter
-			Name="Header Files"
-			Filter="h;hpp;hxx;hm;inl;inc;xsd"
-			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
-			>
-			<File
-				RelativePath="..\..\server\action.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\action.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\action_buffer.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\action_buffer.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\ActionExec.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\ActionExec.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\amf.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\amfutf8.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\array.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_environment.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_function.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_member.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_object.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_prop_flags.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_value.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\ASHandlers.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\ASHandlers.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Sound.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\bitmap_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Boolean.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\builtin_function.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\button_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\button_character_instance.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Camera.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\character.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Color.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\container.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\ContextMenu.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\curl_adapter.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\CustomActions.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Date.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\dlist.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\edit_text_character.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\edit_text_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Error.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\execute_tag.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\extension.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\fn_call.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\fn_call.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\font.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\fontlib.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\generic_character.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\getopt_win32.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\GetterSetter.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\Global.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\GMath.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\gnash.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\GnashException.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\grid_index.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\gstring.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\gstring.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\gui.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\image.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\impl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\jpeg.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Key.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\LoadVars.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\LocalConnection.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\log.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libltdl\ltdl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Math.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\matrix.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\membuf.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Microphone.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\morph2_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Mouse.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\movie_def_impl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\movie_definition.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_instance.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_interface.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_root.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\MovieClip.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\MovieClip.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\MovieClipLoader.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\extensions\mysql\mysql_db.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\extensions\mysql\mysql_table.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\NetConnection.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\NetStream.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\network.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\noseek_fd_adapter.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\NullGui.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Number.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Object.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\Object.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\ogl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\Player.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\postscript.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\Property.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\PropertyList.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\protocol.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\rc.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\rect.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\ref_counted.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\render.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\render_handler.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\render_handler_tri.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\resource.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\rtmp.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\sdl_ogl_glue.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\gui\sdlsup.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Selection.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\shape.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\shape_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\sharedlib.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\SharedObject.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\smart_ptr.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\sound.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\Sprite.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\sprite_definition.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\sprite_instance.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Stage.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\stream.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\StreamProvider.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\styles.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf_function.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\System.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\tag_loaders.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\TagLoadersTable.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\tesselate.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\text.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\text_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\textformat.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\TextSnapshot.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\thread.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\timers.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\triangulate.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\triangulate_impl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_config.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_file.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_math.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_opengl_includes.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_random.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_swap.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_timer.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_types.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\types.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\URL.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\URLAccessManager.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\utf8.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\utility.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Video.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\video_stream_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\video_stream_instance.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\VM.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\with_stack_entry.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\vm\with_stack_entry.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\xml.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xml.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\xmlattrs.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlattrs.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlnode.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\xmlnode.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlsocket.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\xmlsocket.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\zlib_adapter.h"
-				>
-			</File>
-		</Filter>
-		<Filter
-			Name="Resource Files"
-			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
-			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
-			>
-		</Filter>
-		<File
-			RelativePath=".\ReadMe.txt"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

Index: VC8/npgnash.def
===================================================================
RCS file: VC8/npgnash.def
diff -N VC8/npgnash.def
--- VC8/npgnash.def	20 Nov 2006 15:11:16 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,5 +0,0 @@
-LIBRARY	"npgnash"
-EXPORTS
-        NP_GetEntryPoints   @1
-        NP_Initialize       @2
-        NP_Shutdown         @3
\ No newline at end of file

Index: VC8/npgnash.vcproj
===================================================================
RCS file: VC8/npgnash.vcproj
diff -N VC8/npgnash.vcproj
--- VC8/npgnash.vcproj	14 Feb 2007 09:41:38 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,1227 +0,0 @@
-<?xml version="1.0" encoding="windows-1251"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="8,00"
-	Name="npgnash"
-	ProjectGUID="{DDC708C5-495F-4FDC-9AC9-BD9C518E7533}"
-	RootNamespace="npgnash"
-	Keyword="Win32Proj"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;WIN32_HASH_MAP&quot; /D &quot;HAVE_ISFINITE&quot; /D &quot;HAVE_SDL_H&quot; /D SOUND_SDL /D &quot;RENDERER_OPENGL&quot; /D &quot;NETWORK_CONN&quot; /D HAVE_WINSOCK_H /D &quot;NETWORK_CONN&quot; /D &quot;USE_CURL&quot; /D &quot;HAVE_LIBCURL&quot; /D HAVE_EXTENSIONS /D VERSION=&quot;&quot;&quot;0.7.1&quot;&quot;&quot; /D USE_SDL_THREADS"
-				Optimization="0"
-				AdditionalIncludeDirectories="../../libbase;../../server;../../server/asobj;../../server/parser;../../server/swf;../../extensions/mysql;../../libamf;../../backend;&quot;../../plugin/mozilla-sdk&quot;;$(NOINHERIT)"
-				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;NPGNASH_EXPORTS"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="3"
-				UsePrecompiledHeader="0"
-				WarningLevel="2"
-				Detect64BitPortabilityProblems="true"
-				DebugInformationFormat="4"
-				ForcedIncludeFiles="mozilla-config.h"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="sdl.lib zlib.lib jpeg.lib sdlmain.lib opengl32.lib pthreadVC2.lib ws2_32.lib libcurl.lib WinMM.lib libmysql.lib avutil-49.lib avcodec-51.lib avformat-50.lib glew32.lib nspr4.lib plds4.lib plc4.lib"
-				OutputFile="C:\Program Files\Mozilla Firefox\plugins\$(ProjectName).dll"
-				LinkIncremental="2"
-				IgnoreDefaultLibraryNames="LIBCMT.lib"
-				ModuleDefinitionFile="npgnash.def"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCWebDeploymentTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="2"
-			CharacterSet="1"
-			WholeProgramOptimization="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				AdditionalOptions="/D &quot;_CRT_SECURE_NO_DEPRECATE&quot; /D &quot;WIN32_HASH_MAP&quot; /D &quot;HAVE_ISFINITE&quot; /D &quot;HAVE_SDL_H&quot; /D SOUND_SDL /D &quot;RENDERER_OPENGL&quot; /D &quot;NETWORK_CONN&quot; /D HAVE_WINSOCK_H /D &quot;NETWORK_CONN&quot; /D &quot;USE_CURL&quot; /D &quot;HAVE_LIBCURL&quot; /D HAVE_EXTENSIONS /D VERSION=&quot;&quot;&quot;0.7.1&quot;&quot;&quot; /D USE_SDL_THREADS"
-				AdditionalIncludeDirectories="../../libbase;../../server;../../extensions/mysql;../libbase;../../libamf;&quot;../../plugin\mozilla-sdk&quot;;$(NOINHERIT)"
-				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;NPGNASH_EXPORTS"
-				RuntimeLibrary="2"
-				UsePrecompiledHeader="0"
-				WarningLevel="2"
-				Detect64BitPortabilityProblems="true"
-				DebugInformationFormat="3"
-				ForcedIncludeFiles="mozilla-config.h"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				AdditionalDependencies="sdl.lib zlib.lib jpeg.lib sdlmain.lib opengl32.lib ws2_32.lib libcurl.lib WinMM.lib libmysql.lib nspr4.lib plds4.lib plc4.lib"
-				OutputFile="C:\Program Files\Mozilla Firefox\plugins\$(ProjectName).dll"
-				LinkIncremental="1"
-				IgnoreDefaultLibraryNames="LIBCMT.lib"
-				ModuleDefinitionFile="npgnash.def"
-				GenerateDebugInformation="true"
-				SubSystem="2"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCWebDeploymentTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<Filter
-			Name="Source Files"
-			Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
-			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
-			>
-			<File
-				RelativePath="..\..\server\action.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\action_buffer.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\ActionExec.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\amf.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\amftest.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\array.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_environment.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_function.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_object.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_value.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\ASHandlers.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Sound.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\bitmap_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Boolean.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\button_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\button_character_instance.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Camera.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\character.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Color.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\config.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\container.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\ContextMenu.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\curl_adapter.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\CustomActions.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Date.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\dlist.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\edit_text_character.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\edit_text_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Error.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\font.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\fontlib.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\generic_character.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\GetterSetter.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Global.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\image.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\image_filters.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\impl.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\jpeg.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Key.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\LoadVars.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\LocalConnection.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\log.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Math.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\matrix.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\membuf.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Microphone.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\morph2_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Mouse.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\movie_def_impl.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_instance.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_root.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\MovieClip.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\MovieClipLoader.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\NetConnection.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\NetStream.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\network.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\mozilla-sdk\np_entry.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\win32\npgnash.cpp"
-				>
-			</File>
-			<File
-				RelativePath=".\npgnash.def"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\mozilla-sdk\npn_gate.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\mozilla-sdk\npp_gate.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Number.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Object.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\win32\plugin.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\postscript.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\PropertyList.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\rc.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\rect.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\render.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\render_handler_ogl.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\render_handler_tri.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\rtmp.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Selection.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\shape.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\shape_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\SharedObject.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\sound.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\sound_handler_sdl.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\sprite_definition.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\sprite_instance.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Stage.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\stream.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\StreamProvider.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\string.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\styles.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf_function.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\System.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\tag_loaders.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\TagLoadersTable.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\tesselate.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\text.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\text_character_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\textformat.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\TextSnapshot.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\timers.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\triangulate_float.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\triangulate_sint32.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_file.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_file_SDL.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_random.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_timer.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_types.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\types.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\URL.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\URLAccessManager.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\utf8.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\utility.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Video.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\video_stream_def.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\video_stream_instance.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\video_yuv.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xml.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlattrs.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlnode.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlsocket.cpp"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\zlib_adapter.cpp"
-				>
-			</File>
-		</Filter>
-		<Filter
-			Name="Header Files"
-			Filter="h;hpp;hxx;hm;inl;inc;xsd"
-			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
-			>
-			<File
-				RelativePath="..\..\server\action.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\action_buffer.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\ActionExec.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\amf.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\amfutf8.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\array.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_environment.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_function.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_member.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_object.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_prop_flags.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\as_value.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\ASHandlers.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Sound.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\bitmap_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Boolean.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\builtin_function.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\button_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\button_character_instance.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Camera.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\character.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Color.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\container.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\ContextMenu.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\curl_adapter.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\CustomActions.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Date.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\demo.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\dlist.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\edit_text_character.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\edit_text_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Error.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\execute_tag.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\fn_call.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\font.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\fontlib.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\generic_character.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\GetterSetter.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\Global.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\GMath.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\gnash.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\GnashException.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\grid_index.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\gstring.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\image.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\impl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\jpeg.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Key.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\LoadVars.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\LocalConnection.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\log.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\matrix.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\membuf.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Microphone.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\morph2_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Mouse.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\mouse_button_state.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\movie_def_impl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\movie_definition.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_instance.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_interface.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\movie_root.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\MovieClip.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\MovieClipLoader.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\NetConnection.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\NetStream.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\network.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\win32\npgnash_resource.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\mozilla-sdk\npplat.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Number.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Object.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\ogl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\win32\plugin.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\plugin\mozilla-sdk\pluginbase.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\postscript.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\Property.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\PropertyList.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\protocol.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\rc.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\rect.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\ref_counted.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\render.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\backend\render_handler_tri.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\resource.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libamf\rtmp.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Selection.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\shape.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\shape_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\SharedObject.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\smart_ptr.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\sound.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\Sprite.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\sprite_definition.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\sprite_instance.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Stage.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\stream.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\StreamProvider.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\styles.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf_event.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf_function.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\System.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\tag_loaders.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\swf\TagLoadersTable.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\tesselate.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\text.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\text_character_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\textformat.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\TextSnapshot.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\timers.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\triangulate.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\triangulate_impl.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_config.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_file.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_math.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_opengl_includes.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_random.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_swap.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_timer.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\tu_types.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\types.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\URL.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\URLAccessManager.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\utf8.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\utility.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\asobj\Video.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\parser\video_stream_def.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\video_stream_instance.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\with_stack_entry.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xml.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlattrs.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlnode.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\server\xmlsocket.h"
-				>
-			</File>
-			<File
-				RelativePath="..\..\libbase\zlib_adapter.h"
-				>
-			</File>
-		</Filter>
-		<Filter
-			Name="Resource Files"
-			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
-			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
-			>
-			<File
-				RelativePath="..\..\plugin\win32\npgnash.rc"
-				>
-			</File>
-		</Filter>
-		<File
-			RelativePath=".\ReadMe.txt"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>



From MAILER-DAEMON Wed Jul 18 17:13:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBGpu-0007Iy-LN
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 17:13:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBGpt-0007IT-0J
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 17:13:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBGps-0007Hq-AW
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 17:13:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBGpr-0007Hl-Vx
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 17:13:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBGpr-00023P-OC
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 17:13:27 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBGpq-0000Au-OZ
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 21:13:26 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBGpq-0000An-HA
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 21:13:26 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBGpq-0000An-HA@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Wed, 18 Jul 2007 21:13:26 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal/ACT .cvsignore Handle.hpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 21:13:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/18 21:13:26

Modified files:
	cygnal/ACT     : .cvsignore Handle.hpp 

Log message:
	* Reverted an addition private typedefs for Vector_with_Handle_Index.  Since it inherits from std::vector, the added typedefs are were also inherited, but as private, not public.  This was interfering with use of such typedefs, which were inaccessible because private.
	* Added a namespace qualifier to default template parameter for null aspect.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/.cvsignore?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Handle.hpp?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: .cvsignore
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- .cvsignore	17 Jul 2007 19:19:00 -0000	1.1
+++ .cvsignore	18 Jul 2007 21:13:26 -0000	1.2
@@ -1,3 +1,4 @@
+.svn
 .deps
 .libs
 Makefile

Index: Handle.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Handle.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Handle.hpp	18 Jul 2007 14:14:12 -0000	1.2
+++ Handle.hpp	18 Jul 2007 21:13:26 -0000	1.3
@@ -82,11 +82,6 @@
 	{
 		typedef std::vector< T > Base ;		/// Our base class, defined for legibility.
 
-		// These might not be needed using private inheritance, but didn't try
-		typedef typename Base::reference reference ;
-		typedef typename Base::const_reference const_reference ;
-		typedef typename Base::size_type size_type ;
-
 		inline reference operator[]( size_type n ) { throw std::exception() ; }				/// Prohibit offset operation with unwrapped index
 		inline const_reference operator[]( size_type n ) const { throw std::exception() ; }	/// Prohibit offset operation with unwrapped index
 		inline reference at( size_type n ) { throw std::exception() ; }						/// Prohibit offset operation with unwrapped index
@@ -119,7 +114,7 @@
 	 *	Each instance of a class with a handle (that is, deriving from \c Handled) appears within this registry.
 	 *	In other words, this registry provides a mechanism for operationalizing the referent of a handle.
 	 */
-	template< class T, template< class, class > class Aspect = Null_Aspect_1 >
+	template< class T, template< class, class > class Aspect = aspect::Null_Aspect_1 >
 	class Handle_Registry_Leader
 	{
 		/// The aspect type as actually used.



From MAILER-DAEMON Wed Jul 18 17:45:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBHLB-0005wR-5O
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 17:45:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBHL9-0005wM-Kf
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 17:45:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBHL8-0005wA-2L
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 17:45:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBHL7-0005w7-Sf
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 17:45:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBHL7-0008SC-Hn
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 17:45:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBHL6-0002Hv-QO
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 21:45:44 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBHL6-0002Hm-Fv
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 21:45:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBHL6-0002Hm-Fv@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Wed, 18 Jul 2007 21:45:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal/ACT ACT.doxygen.txt
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 21:45:47 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/18 21:45:44

Modified files:
	cygnal/ACT     : ACT.doxygen.txt 

Log message:
	* Minor documention formatting.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/ACT.doxygen.txt?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ACT.doxygen.txt
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/ACT.doxygen.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ACT.doxygen.txt	10 Jul 2007 14:09:08 -0000	1.1
+++ ACT.doxygen.txt	18 Jul 2007 21:45:44 -0000	1.2
@@ -27,24 +27,27 @@
 	The implementation pattern that comes to the fore is the "state of a partial computation".
 	One element of a partial computation state is a record of what I/O operation has been set to operate asynchronously.
 
-\section s_Elements An Oveview of the Elements of the ACT Environment
+\section s_ACT_Elements Elements of the ACT Environment
 	The main elements of the ACT environment the following:
 	- \b Actions.  
 		These are ACT classes that do all the work; it's the equivalent of a thread body.
 		The ultimate purpose of the ACT environment is to provide an execution context for actions.
 		An action runs until it yields (typically because it would block).
 		At such a time it enters a waiting state, waiting to be awakened as a result of further activity.
+		
 	- \b Scheduler.
 		In preemptive multitasking environments, the scheduling function is provided transparently.
 		In the ACT environment, ordinary actions see scheduling as transparent,
 			but the scheduler is visible to certain primitives, particularly those involved with I/O.
 		A scheduler is single-threaded and is designed to be the body of a thread.
 		The scheduler, however, is not a singleton, as the preferred deployment configuration is one-scheduler-per-CPU.
+		
 	- \b Demons.
 		Demons are a category of actions that run persistently in the scheduler.
 		The scheduler views ordinary actions as tasks, which are expected to eventually terminate.
 		The scheduler has different execution policies for demons and tasks.
 		The two most significant kinds of demons are services and monitors.
+		
 	- \b Services.
 		A service is a demon that generates new tasks.
 		A service typically represents some kind of bound input device, activity at which needs some response.
@@ -52,12 +55,14 @@
 		For example, a socket listening at port 80 generates a new HTTP protocol task for each incoming connection. 
 		As a rule, services represent input response, but not as a requirement.
 		A service may generate new tasks based on purely internal considerations as well.
+		
 	- \b Monitors.
 		A monitor is a demon that wakes up tasks from their waiting state.
 		A task, once it yields to wait for new activity, won't be scheduled until something else rouses it.
 		For each waiting task, there is some monitor demon that has responsibility for waking it up.
 		Sensing the activity that triggers a wake-up is domain-specific,
 			so there's a separate monitor class for each kind of waiting, in particular each kind of I/O.
+			
 	- <b>Listener Actions</b>.
 		The code for actions is recursive, one action calling another as needed.
 		This is as for ordinary code, with the distinction that the action invariants must be preserved at each call.
@@ -152,7 +157,7 @@
 	As the proverbial angel-on-pinheads, the choice is between a definite and an indefinite bound.
 	If a definite execution bound is desired, it might be by execution count or by a time limit (or both).
 
-	summarizing, we have the following shutdown algorithm, with its main points of configuration:
+	Summarizing, we have the following shutdown algorithm, with its main points of configuration:
 	- Decide upon a cooperative shutdown.
 	- Construct a shutdown parameter and invoke the scheduler's shutdown function with it.
 	- If the scheduler is immediately suspending, do so now, deleting references if requested.



From MAILER-DAEMON Wed Jul 18 18:17:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBHpq-0000lx-UF
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 18:17:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBHpo-0000ls-EO
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 18:17:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBHpm-0000lg-RK
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 18:17:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBHpm-0000ld-LO
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 18:17:26 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBHpl-0007Mx-Q3
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 18:17:26 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBHpd-0004g7-2C
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:17:17 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBHpc-0004g4-LV
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:17:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBHpc-0004g4-LV@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 22:17:16 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/impl.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 22:17:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 22:17:16

Modified files:
	.              : ChangeLog 
	server         : impl.cpp 

Log message:
	        * server/impl.cpp (clear): don't attempt to cleanup the
	          GC if no GC is being used.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3762&r2=1.3763
http://cvs.savannah.gnu.org/viewcvs/gnash/server/impl.cpp?cvsroot=gnash&r1=1.112&r2=1.113

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3762
retrieving revision 1.3763
diff -u -b -r1.3762 -r1.3763
--- ChangeLog	18 Jul 2007 14:26:34 -0000	1.3762
+++ ChangeLog	18 Jul 2007 22:17:15 -0000	1.3763
@@ -1,5 +1,7 @@
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
+	* server/impl.cpp (clear): don't attempt to cleanup the
+	  GC if no GC is being used.
 	* cygnal/Makefile.am : Don't build the cygnal stuff,
 	  it's alpha after all... But still include in distribution.
 

Index: server/impl.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/impl.cpp,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -b -r1.112 -r1.113
--- server/impl.cpp	1 Jul 2007 10:54:23 -0000	1.112
+++ server/impl.cpp	18 Jul 2007 22:17:16 -0000	1.113
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: impl.cpp,v 1.112 2007/07/01 10:54:23 bjacques Exp $ */
+/* $Id: impl.cpp,v 1.113 2007/07/18 22:17:16 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -580,9 +580,11 @@
     // after it's been de-referenced
     set_sound_handler(NULL);
 
+#ifdef GNASH_USE_GC 
     GC::get().collect();
 
     GC::cleanup();
+#endif
 }
 
 //



From MAILER-DAEMON Wed Jul 18 19:05:56 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBIai-0000fX-3Q
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 19:05:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBIaf-0000fL-Pg
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:05:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBIae-0000f9-3b
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:05:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBIad-0000f6-Tw
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:05:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBIad-0007kJ-Ev
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:05:51 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBIac-0006os-2k
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 23:05:50 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBIab-0006op-UB
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 23:05:50 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBIab-0006op-UB@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 23:05:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler_agg.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 23:05:54 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 23:05:49

Modified files:
	.              : ChangeLog 
	backend        : render_handler_agg.cpp 

Log message:
	        * backend/render_handler_agg.cpp: signedness and initialization list
	          order warnings fix. This code is a jungle, would be *really* useful
	          to split class declarations and definition.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3763&r2=1.3764
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&r1=1.93&r2=1.94

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3763
retrieving revision 1.3764
diff -u -b -r1.3763 -r1.3764
--- ChangeLog	18 Jul 2007 22:17:15 -0000	1.3763
+++ ChangeLog	18 Jul 2007 23:05:49 -0000	1.3764
@@ -1,5 +1,11 @@
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
+	* backend/render_handler_agg.cpp: signedness and initialization list
+	  order warnings fix. This code is a jungle, would be *really* useful
+	  to split class declarations and definition.
+
+2007-07-18 Sandro Santilli <strk@keybit.net>
+
 	* server/impl.cpp (clear): don't attempt to cleanup the
 	  GC if no GC is being used.
 	* cygnal/Makefile.am : Don't build the cygnal stuff,

Index: backend/render_handler_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- backend/render_handler_agg.cpp	18 Jul 2007 10:04:33 -0000	1.93
+++ backend/render_handler_agg.cpp	18 Jul 2007 23:05:49 -0000	1.94
@@ -17,7 +17,7 @@
 
  
 
-/* $Id: render_handler_agg.cpp,v 1.93 2007/07/18 10:04:33 udog Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.94 2007/07/18 23:05:49 strk Exp $ */
 
 // Original version by Udo Giacomozzi and Hannes Mayr, 
 // INDUNET GmbH (www.indunet.it)
@@ -570,10 +570,19 @@
       bpp(bits_per_pixel),
       /*xscale(1.0/20.0),
       yscale(1.0/20.0),*/
+      stage_matrix(),
+      scale_set(false),
       m_enable_antialias(true),
-      m_pixf(NULL),
+      m_display_width(0.0),
+      m_display_height(0.0),
+      m_current_matrix(),
+      m_current_cxform(),
+      m_rbuf(),
+      m_pixf(NULL), // TODO: use an auto_ptr
+      _clipbounds(),
+      _clipbounds_selected(),
       m_drawing_mask(false),
-      scale_set(false)
+      m_alpha_mask()
   {
     // TODO: we really don't want to set the scale here as the core should
     // tell us the right values before rendering anything. However this is
@@ -1025,14 +1034,19 @@
       */
       
       // We need to separate sub-shapes during rendering. 
-      const int subshape_count=count_sub_shapes(paths);
+      const unsigned int subshape_count=count_sub_shapes(paths);
       
-      for (int subshape=0; subshape<subshape_count; subshape++) {
+      for (unsigned int subshape=0; subshape<subshape_count; subshape++)
+      {
         if (have_shape)
+	{
           draw_shape(subshape, paths, agg_paths, sh, true);    
+	}
         if (have_outline)      
+	{
           draw_outlines(subshape, paths, agg_paths_rounded, line_styles, cx, mat);
       }
+      }
       
     } // if not drawing mask
     
@@ -1126,13 +1140,15 @@
   /// layers of the same frame count. Flash combines them to one single shape.
   /// The problem with sub-shapes is, that outlines can be hidden by other
   /// layers so they must be rendered separately. 
-  unsigned int count_sub_shapes(const std::vector<path> &paths) {
+  unsigned int count_sub_shapes(const std::vector<path> &paths)
+  {
+      //return 3;
   
-    int sscount=1;
+    unsigned int sscount=1;
     
-    int pcount = paths.size();
+    size_t pcount = paths.size();
     
-    for (int pno=0; pno<pcount; pno++) {    // skip first path!
+    for (size_t pno=0; pno<pcount; pno++) {    // skip first path! (but we're not !?)
       const path &this_path = paths[pno];
       
       // Udo said we could comment this out 
@@ -1157,11 +1173,11 @@
     // a pixel is at .5 / .5, ie. it's subpixel center) 
     const float subpixel_offset = 0.5f;
     
-    int pcount = paths.size();
+    size_t pcount = paths.size();
 
     dest.resize(pcount);    
     
-    for (int pno=0; pno<pcount; pno++) {
+    for (size_t pno=0; pno<pcount; pno++) {
       
       const gnash::path& this_path = paths[pno];
       agg::path_storage& new_path = dest[pno];
@@ -1169,9 +1185,9 @@
       new_path.move_to(this_path.m_ax + subpixel_offset, 
         this_path.m_ay + subpixel_offset);
       
-      int ecount = this_path.m_edges.size();
+      size_t ecount = this_path.m_edges.size();
       
-      for (int eno=0; eno<ecount; eno++) {
+      for (size_t eno=0; eno<ecount; eno++) {
         
         const edge& this_edge = this_path.m_edges[eno];
         
@@ -1209,11 +1225,11 @@
     // a pixel is at .5 / .5, ie. it's subpixel center) 
     const float subpixel_offset = 0.5f;
     
-    int pcount = paths.size();
+    size_t pcount = paths.size();
 
     dest.resize(pcount);    
     
-    for (int pno=0; pno<pcount; pno++) {
+    for (size_t pno=0; pno<pcount; pno++) {
       
       const gnash::path& this_path = paths[pno];
       agg::path_storage& new_path = dest[pno];
@@ -1223,9 +1239,9 @@
       bool prev_align_x = true;
       bool prev_align_y = true;
       
-      int ecount = this_path.m_edges.size();
+      size_t ecount = this_path.m_edges.size();
       
-      for (int eno=0; eno<ecount; eno++) {
+      for (size_t eno=0; eno<ecount; eno++) {
         
         const edge& this_edge = this_path.m_edges[eno];
         
@@ -1330,7 +1346,7 @@
     
     assert(0); // should not be used currently
     
-    int pcount=paths.size(); 
+    size_t pcount=paths.size(); 
     dest.resize(pcount);
     
     // use avg between x and y scale
@@ -1340,7 +1356,7 @@
        / 2.0f
       * get_stroke_scale();   
     
-    for (int pno=0; pno<pcount; pno++) {
+    for (size_t pno=0; pno<pcount; pno++) {
           
       agg::conv_curve<agg::path_storage> curve(agg_paths[pno]);
       stroke_type* this_stroke = new stroke_type(curve);
@@ -1374,8 +1390,8 @@
     matrix inv_stage_matrix;
     inv_stage_matrix.set_inverse(stage_matrix);
     
-    int fcount = fill_styles.size();
-    for (int fno=0; fno<fcount; fno++) {
+    size_t fcount = fill_styles.size();
+    for (size_t fno=0; fno<fcount; fno++) {
     
       bool smooth=false;
       int fill_type = fill_styles[fno].get_type();
@@ -1443,14 +1459,20 @@
   
 
   /// Draws the given path using the given fill style and color transform.
+  //
   /// Normally, Flash shapes are drawn using even-odd filling rule. However,
   /// for glyphs non-zero filling rule should be used (even_odd=0).
   /// Note the paths have already been transformed by the matrix and 
   /// 'subshape_id' defines which sub-shape should be drawn (-1 means all 
   /// subshapes).
+  ///
   /// Note the *coordinates* in "paths" are not used because they are 
   /// already prepared in agg_paths. The (nearly ambiguous) "path" parameter
   /// is used to access other properties like fill styles and subshapes.   
+  ///
+  /// @param subshape_id
+  ///    Defines which subshape to draw. -1 means all subshapes.
+  ///
   void draw_shape(int subshape_id, const std::vector<path> &paths,
     const std::vector<agg::path_storage>& agg_paths,  
     agg_style_handler& sh, int even_odd) {
@@ -1503,10 +1525,6 @@
     
     if ( _clipbounds.size()==0 ) return;
 
-    // Gnash stuff 
-    int pno;
-    int pcount;
-    
     // AGG stuff
     typedef agg::rasterizer_compound_aa<agg::rasterizer_sl_clip_dbl> ras_type;
     renderer_base rbase(*m_pixf);
@@ -1532,9 +1550,9 @@
       int current_subshape=0;
         
       // push paths to AGG
-      pcount = paths.size();
+      size_t pcount = paths.size();
   
-      for (pno=0; pno<pcount; pno++) {
+      for (size_t pno=0; pno<pcount; pno++) {
       
         const gnash::path &this_path_gnash = paths[pno];
         agg::path_storage &this_path_agg = 
@@ -1649,11 +1667,10 @@
       
     
     // push paths to AGG
-    unsigned int pcount = paths.size();
     agg::path_storage path;
     agg::conv_curve< agg::path_storage > curve(path);
 
-    for (unsigned int pno=0; pno < pcount; pno++) {
+    for (size_t pno=0, pcount=paths.size(); pno < pcount; pno++) {
     
       const gnash::path& this_path = paths[pno];
       path.remove_all();
@@ -1744,10 +1761,6 @@
     // has a line style associated, so that we avoid walking the paths again
     // when there really are no outlines to draw...
     
-    // Gnash stuff    
-    int pno;
-    int pcount;
-    
     // use avg between x and y scale
     const float stroke_scale =
       (fabsf(linestyle_matrix.get_x_scale()) + 
@@ -1772,8 +1785,7 @@
       
       int current_subshape=0;
 
-      pcount = paths.size();   
-      for (pno=0; pno<pcount; pno++) {
+      for (size_t pno=0, pcount=paths.size(); pno<pcount; pno++) {
         
         const gnash::path& this_path_gnash = paths[pno];
         agg::path_storage &this_path_agg = 
@@ -1978,9 +1990,10 @@
 
     // TODO: cache 'visiblerect' and maintain in sync with
     //       xres/yres.
-    Range2d<int> visiblerect(0, 0, xres-1, yres-1);
+    Range2d<int> visiblerect;
+    if ( xres && yres ) visiblerect = Range2d<int>(0, 0, xres-1, yres-1);
     
-    for (int rno=0; rno<ranges.size(); rno++) {
+    for (size_t rno=0; rno<ranges.size(); rno++) {
     
       const Range2d<float>& range = ranges.getRange(rno);
 
@@ -2065,6 +2078,8 @@
 private:  // private variables
 
   agg::rendering_buffer m_rbuf;  
+
+  // TODO: use an auto_ptr, since we're deleting in the destructor...
   PixelFormat *m_pixf;
   
   /// clipping rectangle



From MAILER-DAEMON Wed Jul 18 19:09:08 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBIdo-0001p5-5b
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 19:09:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBIdm-0001ow-Qu
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:09:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBIdm-0001od-DY
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:09:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBIdm-0001oZ-6l
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:09:06 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBIdl-0008Lt-Sg
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:09:05 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBIdl-0006rj-FN
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 23:09:05 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBIdl-0006rg-Ag
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 23:09:05 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBIdl-0006rg-Ag@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 23:09:05 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler_agg_style.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 23:09:07 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 23:09:05

Modified files:
	.              : ChangeLog 
	backend        : render_handler_agg_style.h 

Log message:
	        * backend/render_handler_agg_style.h: fixed initialization order
	          warnings.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3764&r2=1.3765
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg_style.h?cvsroot=gnash&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3764
retrieving revision 1.3765
diff -u -b -r1.3764 -r1.3765
--- ChangeLog	18 Jul 2007 23:05:49 -0000	1.3764
+++ ChangeLog	18 Jul 2007 23:09:04 -0000	1.3765
@@ -1,5 +1,7 @@
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
+	* backend/render_handler_agg_style.h: fixed initialization order
+	  warnings.
 	* backend/render_handler_agg.cpp: signedness and initialization list
 	  order warnings fix. This code is a jungle, would be *really* useful
 	  to split class declarations and definition.

Index: backend/render_handler_agg_style.h
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg_style.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- backend/render_handler_agg_style.h	1 Jul 2007 10:53:48 -0000	1.20
+++ backend/render_handler_agg_style.h	18 Jul 2007 23:09:05 -0000	1.21
@@ -119,13 +119,13 @@
   agg_style_bitmap(int width, int height, int rowlen, uint8_t* data, 
     gnash::matrix mat, gnash::cxform cx) :
     
+    m_force_premultiply(false),
     m_rbuf(data, width, height, rowlen),  
     m_pixf(m_rbuf),
     m_img_src(m_pixf),
     m_tr(),       // initialize later
     m_interpolator(m_tr),
-    m_sg(m_img_src, m_interpolator),
-    m_force_premultiply(false)
+    m_sg(m_img_src, m_interpolator)
   {
   
     m_is_solid = false;



From MAILER-DAEMON Wed Jul 18 19:18:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBImQ-0003Q2-Kj
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 19:18:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBImO-0003Px-C5
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:18:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBImM-0003Pk-Pw
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:17:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBImM-0003Ph-LS
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:17:58 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBImM-0001Xe-EV
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:17:58 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBImJ-0008NN-G7
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 23:17:55 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBImJ-0008NJ-5h
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 23:17:55 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBImJ-0008NJ-5h@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 23:17:55 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/backend render_handler_agg.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 23:18:00 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 23:17:55

Modified files:
	backend        : render_handler_agg.cpp 

Log message:
	comments cleanup

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&r1=1.94&r2=1.95

Patches:
Index: render_handler_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -b -r1.94 -r1.95
--- render_handler_agg.cpp	18 Jul 2007 23:05:49 -0000	1.94
+++ render_handler_agg.cpp	18 Jul 2007 23:17:54 -0000	1.95
@@ -17,7 +17,7 @@
 
  
 
-/* $Id: render_handler_agg.cpp,v 1.94 2007/07/18 23:05:49 strk Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.95 2007/07/18 23:17:54 strk Exp $ */
 
 // Original version by Udo Giacomozzi and Hannes Mayr, 
 // INDUNET GmbH (www.indunet.it)
@@ -1142,20 +1142,13 @@
   /// layers so they must be rendered separately. 
   unsigned int count_sub_shapes(const std::vector<path> &paths)
   {
-      //return 3;
-  
     unsigned int sscount=1;
     
     size_t pcount = paths.size();
     
-    for (size_t pno=0; pno<pcount; pno++) {    // skip first path! (but we're not !?)
+    for (size_t pno=0; pno<pcount; pno++) {
       const path &this_path = paths[pno];
       
-      // Udo said we could comment this out 
-      // https://savannah.gnu.org/bugs/?18119#comment2
-      //if (pno==0) 
-      //  assert(!this_path.m_new_shape); // this would break draw_XXX
-      
       if (this_path.m_new_shape)
         sscount++;
     }



From MAILER-DAEMON Wed Jul 18 19:32:05 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBJ01-0000sY-8I
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 19:32:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBIzy-0000sG-V7
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:32:02 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBIzx-0000s4-B9
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:32:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBIzx-0000s1-59
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:32:01 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBIzw-0003wd-TI
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 19:32:00 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBIzv-00007R-RS
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 23:31:59 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBIzv-00007O-H0
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 23:31:59 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBIzv-00007O-H0@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 18 Jul 2007 23:31:59 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server movie_root.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jul 2007 23:32:03 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/18 23:31:59

Modified files:
	server         : movie_root.h 

Log message:
	delete unused code

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.h?cvsroot=gnash&r1=1.68&r2=1.69

Patches:
Index: movie_root.h
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.h,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -b -r1.68 -r1.69
--- movie_root.h	17 Jul 2007 06:04:22 -0000	1.68
+++ movie_root.h	18 Jul 2007 23:31:59 -0000	1.69
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: movie_root.h,v 1.68 2007/07/17 06:04:22 zoulunkai Exp $ */
+/* $Id: movie_root.h,v 1.69 2007/07/18 23:31:59 strk Exp $ */
 
 /// \page events_handling Handling of user events
 ///
@@ -448,51 +448,14 @@
         getLevel(0)->goto_frame(target_frame_number);
     }
 
-#if 0
-    /// delegates to _level0
-    bool has_looped() const
-    {
-        return getLevel(0)->has_looped();
-    }
-#endif
-
     void display();
 
-#if 0
-    /// Delegate to _level0
-    bool goto_labeled_frame(const char* label) {
-        return _movie->goto_labeled_frame(label);
-    }
-#endif
-
     /// Delegate to _level0
     void set_play_state(sprite_instance::play_state s)
     {
         getLevel(0)->set_play_state(s);
     }
 
-#if 0
-    /// Delegate to _level0
-    sprite_instance::play_state get_play_state() const
-    {
-        return _movie->get_play_state();
-    }
-
-    /// Delegate to wrapped movie_instance
-    void set_variable(const char* path_to_var,
-            const char* new_value)
-    {
-        _movie->set_variable(path_to_var, new_value);
-    }
-
-    /// Delegate to wrapped movie_instance
-    void set_variable(const char* path_to_var,
-            const wchar_t* new_value)
-    {
-        _movie->set_variable(path_to_var, new_value);
-    }
-#endif
-
     /// For ActionScript interfacing convenience.
     //
     /// TODO: check if we really  need this. I guess we might
@@ -511,17 +474,6 @@
     const char* call_method_args(const char* method_name,
             const char* method_arg_fmt, va_list args);
 
-#if 0
-    /// Delegate to wrapped movie_instance
-    void set_visible(bool visible) {
-        _movie->set_visible(visible);
-    }
-    /// Delegate to wrapped movie_instance
-    bool get_visible() const {
-        return _movie->get_visible();
-    }
-#endif
-
     void * get_userdata() { return m_userdata; }
     void set_userdata(void * ud ) { m_userdata = ud;  }
 



From MAILER-DAEMON Wed Jul 18 20:19:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBJjQ-0000KS-1M
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 20:19:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBJjP-0000KN-A4
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:18:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBJjN-0000KB-S9
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:18:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBJjN-0000K8-Mj
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:18:57 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBJjN-0003I4-El
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 20:18:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBJjM-0003l6-0O
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 00:18:56 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBJjL-0003l2-Cw
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 00:18:55 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBJjL-0003l2-Cw@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 19 Jul 2007 00:18:55 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 00:18:59 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/19 00:18:55

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: quote `backticked commands` when assigning to
	          variables. Should fix bug #20525.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3765&r2=1.3766
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.356&r2=1.357

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3765
retrieving revision 1.3766
diff -u -b -r1.3765 -r1.3766
--- ChangeLog	18 Jul 2007 23:09:04 -0000	1.3765
+++ ChangeLog	19 Jul 2007 00:18:53 -0000	1.3766
@@ -1,5 +1,10 @@
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: quote `backticked commands` when assigning to
+	  variables. Should fix bug #20525.
+
+2007-07-18 Sandro Santilli <strk@keybit.net>
+
 	* backend/render_handler_agg_style.h: fixed initialization order
 	  warnings.
 	* backend/render_handler_agg.cpp: signedness and initialization list

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -b -r1.356 -r1.357
--- configure.ac	14 Jul 2007 19:25:03 -0000	1.356
+++ configure.ac	19 Jul 2007 00:18:54 -0000	1.357
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.356 2007/07/14 19:25:03 rsavoye Exp $
+dnl $Id: configure.ac,v 1.357 2007/07/19 00:18:54 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -476,15 +476,15 @@
 dnl options to configure.
 if test x$cross_compiling = xyes; then
   AC_MSG_NOTICE([Configuring Gnash for cross compilation])
-  export pkgroot=`$CXX -print-search-dirs | grep "install:" | sed -e 's/install: //' -e 's:/lib/gcc/.*::'`
-  export incllist=`eval echo ${with_top_level}/include ${pkgroot}/${host_alias}/include ${pkgroot}/include`
-  export libslist=`eval echo ${with_top_level}/lib ${pkgroot}/${host_alias}/lib ${pkgroot}/lib64 ${pkgroot}/lib32 ${pkgroot}/lib`
-  export pathlist=`eval echo ${pkgroot}/${host_alias}/bin:${pkgroot}/bin`
+  export pkgroot="`$CXX -print-search-dirs | grep "install:" | sed -e 's/install: //' -e 's:/lib/gcc/.*::'`"
+  export incllist="`eval echo ${with_top_level}/include ${pkgroot}/${host_alias}/include ${pkgroot}/include`"
+  export libslist="`eval echo ${with_top_level}/lib ${pkgroot}/${host_alias}/lib ${pkgroot}/lib64 ${pkgroot}/lib32 ${pkgroot}/lib`"
+  export pathlist="`eval echo ${pkgroot}/${host_alias}/bin:${pkgroot}/bin`"
   plugin=no
 else
   AC_MSG_NOTICE([Configuring Gnash for native compilation])
-  export incllist=`eval cat ${srcdir}/macros/incllist`
-  export libslist=`eval cat ${srcdir}/macros/libslist`
+  export incllist="`eval cat ${srcdir}/macros/incllist`"
+  export libslist="`eval cat ${srcdir}/macros/libslist`"
   export pathlist=$PATH
 fi
 



From MAILER-DAEMON Wed Jul 18 22:10:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBLTX-0003bL-9S
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 22:10:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBLTT-0003am-Uu
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:10:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBLTS-0003aa-Sz
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:10:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBLTS-0003aX-PQ
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:10:38 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBLTS-0000Q1-Cj
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:10:38 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBLTR-0001tC-Qr
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:10:37 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBLTR-0001t6-LE
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:10:37 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBLTR-0001t6-LE@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Thu, 19 Jul 2007 02:10:37 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal/HTTP Change_Log.txt URI.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 02:10:40 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/19 02:10:37

Modified files:
	cygnal/HTTP    : Change_Log.txt URI.cpp 

Log message:
	Fixed defect in URI scanning.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/Change_Log.txt?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/URI.cpp?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: Change_Log.txt
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/Change_Log.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Change_Log.txt	10 Jul 2007 14:09:10 -0000	1.1
+++ Change_Log.txt	19 Jul 2007 02:10:37 -0000	1.2
@@ -1,6 +1,9 @@
 Change Log for GNU Cygnal, Module HTTP
 ======================================
 
+2007-07-10 Eric Hughes <eh@narthex.us>
+	* URI.cpp: Fixed defect with URI scanner consuming an extra character at end.
+
 2007-07-09 Eric Hughes <eh@narthex.us>
 	* unit_tests/Test_HTTP.cpp: Duplicated Invalid_Version_Request test into ordinary URI and *-URI forms.
 	* HTTP_Parse.[hc]pp: Fixed defect in Request_Scanner, which wasn't looking explicitly for a space after the URI.  It was relying on the URI scanner to consume the next character, but since the URI scanner is used elsewhere, it should not silently consume anything other than the URI itself.  Fixing this defect allowed the Invalid_Version_Request, *-version, to pass, but unmasked the defect in URI scanning.

Index: URI.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/URI.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- URI.cpp	10 Jul 2007 14:09:09 -0000	1.3
+++ URI.cpp	19 Jul 2007 02:10:37 -0000	1.4
@@ -450,10 +450,9 @@
 				return source_state() ;
 			//----------
 			label_done_unget_last_character:
-				uri.r_URI.set_length( next_character - URI_begin - 1 ) ;
-				if ( uri.r_URI.size() == 0 ) return set_bad() ;
-				return set_completed() ;
-
+				++ n_left_to_process ;
+				-- next_character ;
+				// fall through
 			//----------
 			label_done:
 			case done:



From MAILER-DAEMON Wed Jul 18 22:23:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBLgC-0007vc-M0
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 22:23:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBLgA-0007vM-Jp
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:23:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBLg7-0007ut-LC
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:23:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBLg7-0007uq-ER
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:23:43 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBLg6-0002kL-U1
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:23:43 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBLg6-0003Rj-5S
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:23:42 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBLg5-0003Rg-VP
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:23:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBLg5-0003Rg-VP@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Thu, 19 Jul 2007 02:23:41 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal/IO .cvsignore Buffer.hpp IO_Device...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 02:23:46 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/19 02:23:41

Modified files:
	cygnal/IO      : .cvsignore Buffer.hpp IO_Device.hpp 
	                 IO_Generator.cpp IO_Generator.hpp 
	cygnal/IO/test_support: Null_Device.hpp Null_Filter.hpp 
	                        String_Generator.cpp 
	                        String_Generator.hpp 
	cygnal/IO/unit_tests: Test_Service.cpp 
Added files:
	cygnal/IO      : Change_Log.txt IO.doxygen.txt 
	cygnal/IO/test_support: .cvsignore 
	cygnal/IO/unit_tests: .cvsignore 

Log message:
	

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/.cvsignore?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Buffer.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Device.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Generator.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO_Generator.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/Change_Log.txt?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/IO.doxygen.txt?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Device.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/Null_Filter.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Generator.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/String_Generator.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/test_support/.cvsignore?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/unit_tests/Test_Service.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/IO/unit_tests/.cvsignore?cvsroot=gnash&rev=1.1

Patches:
Index: .cvsignore
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- .cvsignore	17 Jul 2007 19:19:01 -0000	1.1
+++ .cvsignore	19 Jul 2007 02:23:40 -0000	1.2
@@ -1,3 +1,4 @@
+.svn
 .deps
 .libs
 Makefile

Index: Buffer.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/Buffer.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Buffer.hpp	1 Jul 2007 10:53:53 -0000	1.2
+++ Buffer.hpp	19 Jul 2007 02:23:40 -0000	1.3
@@ -85,6 +85,7 @@
 
 	//-------------------------
 	/**	\class Segment
+	 *	\brief The unit of memory for a buffer, a single contiguous range of memory.
 	 */
 	template< class Ch >
 	struct Segment
@@ -248,6 +249,9 @@
 	//--------------------------------------------------
 	// Basic_Segment_Iterator_Base
 	//--------------------------------------------------
+	/** \class Basic_Segment_Iterator_Base
+	 *	\brief Base class for segment iterators, whose differences are const-vs.-non-const access.
+	 */
 	template< class Ch >
 	class Basic_Segment_Iterator_Base
 	{
@@ -393,7 +397,7 @@
 	// E_AV_Buffer
 	//--------------------------------------------------
 	/**	\class E_AV_Buffer_Base
-	 *	\brief 
+	 *	\brief Base class for E_AV_Buffer containing everything not dependent on template parameters, which is almost everything.
 	 */
 	template< class Ch = char >
 	class E_AV_Buffer_Base
@@ -474,6 +478,9 @@
 	//--------------------------------------------------
 	// Basic_Buffer
 	//--------------------------------------------------
+	/**	\class Basic_Buffer
+	 *	\brief A wrapper around an Abstract_Buffer.
+	 */
 	template< class Ch >
 	class Basic_Buffer
 	{

Index: IO_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Device.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- IO_Device.hpp	10 Jul 2007 14:09:10 -0000	1.3
+++ IO_Device.hpp	19 Jul 2007 02:23:40 -0000	1.4
@@ -80,6 +80,8 @@
 
 	//-------------------------
 	/** \class Source
+	 *	\brief A stream source with an asynchronous interface.
+	 *		Abstract base class of an asynchronous I/O device.
 	 */
 	class Source
 		: public ACT::autonomous_act
@@ -98,10 +100,10 @@
 
 	//-------------------------
 	/** \class Sink
-	 *	\brief Abstract base class of an asynchronous I/O device that acts as a sink.
-	 *	A sink is also an action, in this case a write action to the device it represents.
+	 *	\brief A stream sink with an asynchronous interface.
+	 *		Abstract base class of an asynchronous I/O device.
+	 *
 	 *
-	 *	The write action
 	 */
 	class Sink
 		: public ACT::autonomous_act
@@ -121,6 +123,9 @@
 	//-------------------------
 	// SSource
 	//-------------------------
+	/**	\class SSource
+	 *	\brief A renaming wrapper around Source to allow two actions within Device.
+	 */
 	class SSource 
 		: public Source 
 	{
@@ -155,7 +160,12 @@
 	//-------------------------
 	// SSink
 	//-------------------------
-	class SSink : public Sink {
+	/**	\class SSink
+	 *	\brief A renaming wrapper around Sink to allow two actions within Device.
+	 */
+	class SSink
+		: public Sink
+	{
 	protected:
 		virtual ACT::ACT_State sink_run( ACT::wakeup_listener * ) =0 ;
 		inline ACT::ACT_State run( ACT::wakeup_listener * w ) { return sink_run( w ) ; }
@@ -223,6 +233,8 @@
 	} ;
 
 	//-------------------------
+	/** \b Obsolescent. Adapter for old-style sources.
+	 */
 	template< class Oldsource, class Action >
 	class adapter_for_old_source
 		: public Source

Index: IO_Generator.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Generator.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- IO_Generator.cpp	10 Jul 2007 14:09:10 -0000	1.3
+++ IO_Generator.cpp	19 Jul 2007 02:23:40 -0000	1.4
@@ -21,33 +21,32 @@
 
 namespace IO {
 	//-------------------------
-	Device_Adapter::
-	Device_Adapter( Device_Generator & x, Behavior_Factory & y ) 
+	IO_Generator::
+	IO_Generator( Old_Device_Generator & x, Behavior_Factory & y ) 
 		: the_generator( x ),
-		the_behavior_factory( y )
+		the_behavior_factory( y ),
+		complete( false )
 	{}
 
 	//-------------------------
-	ACT::ACT_State
-	Device_Adapter::
-	run( ACT::wakeup_listener * w )
+	shared_ptr< ACT::basic_act >
+	IO_Generator::
+	next_action( ACT::wakeup_listener * w )
 	{
+		if ( ! complete ) {
 		the_generator( w ) ;
-		if ( the_generator.bad() ) return set_bad() ;
-		if ( the_generator.working() ) return set_ready() ;
+			if ( the_generator.completed() ) {
 		// Assert the_generator has a result ready for us.
-		
-		the_result = the_behavior_factory( the_generator.result() ) ;
-		return set_completed() ;
+				return the_behavior_factory( the_generator.result() ) ;
 	}
+			// Assert no result is ready; return must be null
 
-	//-------------------------
-	ACT::act 
-	Device_Adapter::
-	result()
-	{
-		return the_result ;
+			if ( the_generator.bad() ) {
+				// A good generator is required for continued operation.
+				set_completed() ;
+			}
+		}
+		return shared_ptr< ACT::basic_act >() ;
 	}
-
 
 } // end namespace IO

Index: IO_Generator.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/IO_Generator.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- IO_Generator.hpp	10 Jul 2007 14:09:10 -0000	1.3
+++ IO_Generator.hpp	19 Jul 2007 02:23:40 -0000	1.4
@@ -30,7 +30,8 @@
 namespace IO {
 	//-------------------------
 	/**	\class Behavior
-	 *	\brief 
+	 *	\brief A behavior is a task whose constructor parameter is a Device.
+	 *		When the Device is an internet socket, this task acts as a protocol handler.
 	 */
 	class Behavior 
 		: public ACT::autonomous_act
@@ -49,8 +50,25 @@
 	typedef shared_ptr< ACT::autonomous_act > Behavior_Factory( shared_ptr< Device > x ) ;
 
 	//-------------------------
+	/**	\class Old_Device_Generator
+	 *	\brief Legacy generator.  On its way out.
+	 *
+	 */
+	class Old_Device_Generator
+		: public ACT::autonomous_act
+	{
+	public:
+
+		///
+		virtual shared_ptr< IO::Device > result() =0 ;
+
+		void reset() {} ;
+	} ;
+
+	//-------------------------
 	/**	\class Device_Generator
-	 *	\brief A generator is an ACT whose result is a Device.
+	 *	\brief A device generator is an input stream of devices.
+	 *		Its interface is modeled after ACT::Generator.
 	 *
 	 *	The prototypical Generator is a bound listening socket.
 	 *	A successful call to accept(), yielding a new connection, triggers completion of the action.
@@ -60,42 +78,64 @@
 	 *	Subsequent devices will be made available after a reset and then another activation.
 	 */
 	class Device_Generator
-		: public ACT::autonomous_act
 	{
 	public:
 
-		///
-		virtual shared_ptr< IO::Device > result() =0 ;
-
-		void reset() {} ;
+		/// Next device in the generator stream.
+		/// \post
+		/// - return is a null shared pointer at the current end of the stream.
+		virtual shared_ptr< IO::Device > next_device() =0 ;
+
+		/// Query whether generator will ever return non-null again.
+		/// See also ACT::Generator::completed.
+		virtual bool completed() { return false ; }
+
+		/// Order a shutdown.
+		/// See also ACT::Generator::shutdown.
+		virtual void shutdown() =0 ;
 	} ;
 
 	//-------------------------
-	/**	\class Device_Adapter
+	/**	\class IO_Generator
+	 *	\brief A device adapter converts a device generator into an action generator.
+	 *		It does so by passing a device from our upstream generator to a behavior factory.
+	 *		The result is the downstream result of our activity as an action generator.
+	 *	
+	 *	To use this class, create an instance and pass it to the constructor of ACT::Service.
+	 *	The Service class provides for control under a scheduler.
+	 *	The wakeup_listener function provided to next_action is that of this Service instance.
+	 *
+	 *	\invariant
+	 *	- the_generator.bad() implies complete
 	 */
-	class Device_Adapter
-		: public ACT::Obsolete_Generator		// will rewrite as deriving from ACT::Generator
+	class IO_Generator
+		: public ACT::Generator
 	{
-		/// We use shared_ptr here
-		Device_Generator & the_generator ;
+		/// Our device generator provides us a stream of device.
+		Old_Device_Generator & the_generator ;
 
-		///
+		/// Our behavior factory provices bind-conversion of devices to actions.
 		Behavior_Factory & the_behavior_factory ;
 
-		shared_ptr< ACT::autonomous_act > the_result ;
+		/// Operation of this generator is complete, initially false except for null generators.
+		bool complete ;
 
-	public:
-		///
-		Device_Adapter( Device_Generator & x, Behavior_Factory & y ) ;
+		/// Since completion is one-way, perhaps this belongs in the base class.
+		inline void set_completed() { complete = true ; }
 
-		///
-		ACT::ACT_State run( ACT::wakeup_listener * w ) ;
+		/// Overrides ACT::Generator::completed
+		bool completed() { return complete ; }
 
-		///
-		ACT::act result() ;
+	public:
+		/// Ordinary constructor
+		IO_Generator( Old_Device_Generator & x, Behavior_Factory & y ) ;
 
-	} ;
+		/// Implements of ACT::Generator::next_action
+		virtual shared_ptr< ACT::basic_act > next_action( ACT::wakeup_listener * ) =0 ;
 
+		/// Implements of ACT::Generator::shutdown
+		void shutdown() ;
+	} ;
 
 } // end namespace IO
 

Index: test_support/Null_Device.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Device.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- test_support/Null_Device.hpp	10 Jul 2007 14:09:10 -0000	1.3
+++ test_support/Null_Device.hpp	19 Jul 2007 02:23:41 -0000	1.4
@@ -28,6 +28,9 @@
 namespace IO {
 
 	//-------------------------
+	/**	\class Null_Source
+	 *	\brief An eternal source of empty buffers.
+	 */
 	class Null_Source
 		: public Source
 	{
@@ -49,6 +52,9 @@
 	} ;
 
 	//-------------------------
+	/** \class Null_Sink
+	 *	\brief A sink which is also the bit bucket.
+	 */
 	class Null_Sink
 		: public Sink
 	{
@@ -74,6 +80,9 @@
 	} ;
 
 	//-------------------------
+	/**	\class Null_Device
+	 *	\brief A device that never has input and write all output to the bit bucket.
+	 */
 	class Null_Device
 		: public Device
 	{

Index: test_support/Null_Filter.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/Null_Filter.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- test_support/Null_Filter.hpp	10 Jul 2007 14:09:10 -0000	1.3
+++ test_support/Null_Filter.hpp	19 Jul 2007 02:23:41 -0000	1.4
@@ -30,6 +30,8 @@
 
 	//-------------------------
 	/** \class null_read_filter
+	 *	\brief Should probably be named identity_read_filter.
+	 *		A pass-through for read actions.
 	 */
 	class null_read_filter
 		: public Source

Index: test_support/String_Generator.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Generator.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- test_support/String_Generator.cpp	10 Jul 2007 14:09:10 -0000	1.3
+++ test_support/String_Generator.cpp	19 Jul 2007 02:23:41 -0000	1.4
@@ -21,15 +21,65 @@
 #include "String_Device.hpp"
 
 namespace IO {
-
 	String_Generator::
 	String_Generator()
-		: the_result( new String_Device( "" ) )
+		: complete( false )
 	{
 	}
 
 	String_Generator::
 	String_Generator( std::string initial )
+		: complete( false )
+	{
+		add_source( initial ) ;
+	}
+
+	void
+	String_Generator::
+	add_source( std::string x )
+	{
+		if ( complete ) {
+			throw std::runtime_error( "May not add sources after shutdown" ) ;
+		}
+		the_list.push_front( x ) ;
+	}
+
+	void 
+	String_Generator::
+	shutdown()
+	{
+		complete = true ;
+	}
+
+	bool
+	String_Generator::
+	completed()
+	{
+		return complete ;
+	}
+
+	shared_ptr< IO::Device >
+	String_Generator::
+	next_device()
+	{
+		if ( the_list.empty() ) return shared_ptr< IO::Device >() ;
+		shared_ptr< IO::Device > x( new String_Device( the_list.back() ) ) ;
+		the_list.pop_back() ;
+		return x ;
+	}
+
+} // end namespace IO
+
+namespace IO {
+
+	Old_String_Generator::
+	Old_String_Generator()
+		: the_result( new String_Device( "" ) )
+	{
+	}
+
+	Old_String_Generator::
+	Old_String_Generator( std::string initial )
 		: the_result( new String_Device( "" ) )
 	{
 		add_source( initial ) ;
@@ -37,7 +87,7 @@
 
 	///
 	ACT::ACT_State 
-	String_Generator::
+	Old_String_Generator::
 	run( ACT::wakeup_listener * )
 	{
 		if ( the_queue.empty() ) return ACT::ACT_State( ACT::ACT_State::Ready ) ;
@@ -47,21 +97,21 @@
 	}
 
 	void
-	String_Generator::
+	Old_String_Generator::
 	add_source( std::string x )
 	{
 		the_queue.push( x ) ;
 	}
 
 	shared_ptr< IO::Device >
-	String_Generator::
+	Old_String_Generator::
 	result()
 	{
 		return the_result ;
 	}
 
 	void
-	String_Generator::
+	Old_String_Generator::
 	reset()
 	{
 		if ( bad() ) return ;

Index: test_support/String_Generator.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/test_support/String_Generator.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- test_support/String_Generator.hpp	10 Jul 2007 14:09:10 -0000	1.3
+++ test_support/String_Generator.hpp	19 Jul 2007 02:23:41 -0000	1.4
@@ -26,18 +26,23 @@
 
 #include <string>
 #include <queue>
+#include <list>
 #include <boost/shared_ptr.hpp>
 
 namespace IO {
 
 	//-------------------------
+	/**	\class String_Generator
+	 *	\brief A generator of string devices.
+	 */
 	class String_Generator
 		: public Device_Generator
 	{
 		///
-		std::queue< std::string > the_queue ;
+		std::list< std::string > the_list ;
 
-		shared_ptr< IO::Device > the_result ;
+		/// Received shutdown?
+		bool complete ;
 
 	public:
 		///
@@ -49,6 +54,38 @@
 		///
 		void add_source( std::string x ) ;
 
+		/// Implements Device_Generator::next_device.
+		shared_ptr< IO::Device > next_device() ;
+
+		/// Implements Device_Generator::shutdown.
+		void shutdown() ;
+
+		/// Implements Device_Generator::completed.
+		bool completed() ;
+	} ;
+
+	//-------------------------
+	/**	\class Old_String_Generator
+	 *	\brief A legacy generator of string devices.
+	 */
+	class Old_String_Generator
+		: public Old_Device_Generator
+	{
+		///
+		std::queue< std::string > the_queue ;
+
+		shared_ptr< IO::Device > the_result ;
+
+	public:
+		///
+		Old_String_Generator() ;
+
+		///
+		Old_String_Generator( std::string initial ) ;
+
+		///
+		void add_source( std::string x ) ;
+
 		///
 		ACT::ACT_State run( ACT::wakeup_listener * ) ;
 

Index: unit_tests/Test_Service.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/IO/unit_tests/Test_Service.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- unit_tests/Test_Service.cpp	10 Jul 2007 14:09:11 -0000	1.3
+++ unit_tests/Test_Service.cpp	19 Jul 2007 02:23:41 -0000	1.4
@@ -22,6 +22,12 @@
 #include "../test_support/String_Generator.hpp"
 #include "ACT/Service.hpp"
 
+//-------------------------
+/**	\brief A behavior that does nothing.
+ *
+ *	This is different from ACT::no_action only in that it derives from IO::Behavior.
+ *	Well, it also has no tracker, but that's incidental.
+ */
 class Null_Behavior
 	: public IO::Behavior
 {
@@ -37,9 +43,51 @@
 	return shared_ptr< ACT::autonomous_act >( new Null_Behavior() ) ;
 }
 
+//-------------------------
 BOOST_AUTO_UNIT_TEST( Generator_Basic )
 {
 	IO::String_Generator generator( "a" ) ;
+
+	BOOST_CHECK( ! generator.completed() ) ;
+	shared_ptr< IO::Device > device( generator.next_device() ) ;
+	BOOST_CHECK_MESSAGE( ! ! device, "Device should not be null." ) ;
+	// Check contents of source here. Should be "a".
+
+	// Internal queue is empty.
+	BOOST_CHECK( ! generator.completed() ) ;
+	device = generator.next_device() ;
+	// Left negation operator is on shared_ptr, right negation operator is on bool.
+	BOOST_CHECK_MESSAGE( ! device, "Saw non-null device pointer where null expected." ) ;
+	BOOST_CHECK( ! generator.completed() ) ;
+
+	// Add two more sources.
+	generator.add_source( "b" ) ;
+	generator.add_source( "c" ) ;
+
+	BOOST_CHECK( ! generator.completed() ) ;
+	device = generator.next_device() ;
+	BOOST_CHECK_MESSAGE( ! ! device, "Device should not be null." ) ;
+	// Check contents of source here. Should be "b".
+
+	BOOST_CHECK( ! generator.completed() ) ;
+	device = generator.next_device() ;
+	BOOST_CHECK_MESSAGE( ! ! device, "Device should not be null." ) ;
+	// Check contents of source here. Should be "c".
+
+	// Internal queue is empty again.
+	BOOST_CHECK( ! generator.completed() ) ;
+	device = generator.next_device() ;
+	BOOST_CHECK_MESSAGE( ! device, "Saw non-null device pointer where null expected." ) ;
+	BOOST_CHECK( ! generator.completed() ) ;
+
+	// Shut down
+	generator.shutdown() ;
+	BOOST_CHECK( generator.completed() ) ;
+}
+
+BOOST_AUTO_UNIT_TEST( Generator_Basic_Legacy )
+{
+	IO::Old_String_Generator generator( "a" ) ;
 	generator.add_source( "b" ) ;
 	generator.add_source( "c" ) ;
 
@@ -72,7 +120,7 @@
 
 BOOST_AUTO_UNIT_TEST( Service_Basic )
 {
-	IO::String_Generator x( "" ) ;
+	IO::Old_String_Generator x( "" ) ;
 	x.add_source( "" ) ;
 	x.add_source( "" ) ;
 

Index: Change_Log.txt
===================================================================
RCS file: Change_Log.txt
diff -N Change_Log.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Change_Log.txt	19 Jul 2007 02:23:40 -0000	1.1
@@ -0,0 +1,16 @@
+Change Log for GNU Cygnal, Module IO
+====================================
+
+2007-07-18 Eric Hughes <eh@narthex.us>
+	* IO_Generator.hpp: New interface class Device_Generator.
+	* test_support/String_Generator.[hc]pp: New class String_Generator, deriving from Device_Generator.
+	* unit_tests/Test_Service.cpp: New test Generator_Basic, exercising new String_Generator.
+
+2007-07-17 Eric Hughes <eh@narthex.us>
+	* ../ACT/Service.hpp: Removed class Obsolete_Generator, only used here in IO.
+	* IO_Generator.[hc]pp: Renamed Device_Generator to Old_Device_Generator.  Device_Generator doesn't need to be an ACT.
+	* test_support/String_Generator.[hc]pp, unit_tests/Test_Service.cpp: Renamed String_Generator to Old_String_Generator.
+
+2007-07-12 Eric Hughes <eh@narthex.us>
+	* IO_Generator.[hc]pp: Renamed Device_Adapter to IO_Generator.  Rewrote it to derive from ACT::Generator.
+	* Buffer.hpp,IO_Device.hpp,test_support/{Null_Device.hpp,Null_Filter.hpp,String_Generator.hpp},unit_tests/Test_Service.cpp: New doxygen comments
\ No newline at end of file

Index: IO.doxygen.txt
===================================================================
RCS file: IO.doxygen.txt
diff -N IO.doxygen.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ IO.doxygen.txt	19 Jul 2007 02:23:41 -0000	1.1
@@ -0,0 +1,46 @@
+/**
+
+\page IO Module IO: Asynchronous I/O
+
+	The ACT environment has unique interface requirements for the control of asynchronous I/O.
+	The ordinary stream abstraction, for example, assumes full information about data availability,
+		which is either present or at end-of-file.
+	For an asynchronous stream, however, there's a third state of no current information,
+		frequently indicated by the return value "would block".
+	This distinction is at the core of the present module.
+
+\section s_IO_Elements Elements of the IO Module
+	- \b Devices. 
+		The central abstractions of this module are the unidirectional Source and Sink classes which combine to form a Device.
+		A Device instance, in this module, refers to a connection (which might be used as a stream),
+			rather than to any specific hardware device.
+		In other words, it's a view of a device ignoring multiplexing, 
+			as if its user had exclusive access to it and were using it for just one connection.
+		These are abstract interface classes, rather than simply model specifications, 
+			in order to allow a Device user to operate with multiple Devices.
+		The immediate motivation for this choice is to enable automatic test of Device users.
+		A string device is present for this purpose.
+
+	- \b Device Generators and \b Behaviors.
+		Writing an internet server entails requests and responses over a network connection.
+		This module splits these into two concerns: generators and behaviors.
+		A generator encapsulates a facility that makes new connections, such as a server socket listening on a well-known port.
+		A behavior is the request/response interaction independent of the kind of I/O present.
+		A generator is a producer of Device instances; a behavior is their consumer.
+		Combining a generator and a kind of behavior yields a task generator that can initialize a service (see ACT::Service).
+
+	- \b Buffers.
+		The essence of efficient network I/O uses two elements: block interface rather than character interface,
+			and a zero-copy discipline that necessitates scatter-gather primitives.
+		The present buffer combines a common way of interacting with memory chopped up into segments,
+			each of which is a single continguous block of memory.		
+		There are two ways of viewing this memory: either as a sequence of segments or as a sequence of characters.
+		Buffers provide iterators to both.
+
+	- \b Streams.
+		A stream, in the present model, is primarily a means of using buffered input.
+		The present stream abstraction does not hide the segment-sequence underpinnings,
+			but rather handles issues arising from asynchronous control,
+			particular obtaining new input for an incomplete scan or parse.
+	
+ */

Index: test_support/.cvsignore
===================================================================
RCS file: test_support/.cvsignore
diff -N test_support/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ test_support/.cvsignore	19 Jul 2007 02:23:41 -0000	1.1
@@ -0,0 +1,10 @@
+.svn
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp

Index: unit_tests/.cvsignore
===================================================================
RCS file: unit_tests/.cvsignore
diff -N unit_tests/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ unit_tests/.cvsignore	19 Jul 2007 02:23:41 -0000	1.1
@@ -0,0 +1,10 @@
+.svn
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp



From MAILER-DAEMON Wed Jul 18 22:29:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBLlr-0001qF-C2
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 22:29:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBLlq-0001qA-Kq
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:29:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBLlp-0001py-8r
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:29:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBLlp-0001pv-3j
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:29:37 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBLlo-0003jw-OW
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:29:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBLlo-0003XD-6w
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:29:36 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBLlo-0003X9-31
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:29:36 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBLlo-0003X9-31@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Thu, 19 Jul 2007 02:29:36 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal/Net .cvsignore test_support/.cvsig...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 02:29:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/19 02:29:36

Modified files:
	cygnal/Net     : .cvsignore 
Added files:
	cygnal/Net/test_support: .cvsignore 
	cygnal/Net/unit_tests: .cvsignore 

Log message:
	.cvsignore files for subdirectories.  Added .svn for each.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/.cvsignore?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/test_support/.cvsignore?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/Net/unit_tests/.cvsignore?cvsroot=gnash&rev=1.1

Patches:
Index: .cvsignore
===================================================================
RCS file: /sources/gnash/gnash/cygnal/Net/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- .cvsignore	17 Jul 2007 19:19:02 -0000	1.1
+++ .cvsignore	19 Jul 2007 02:29:35 -0000	1.2
@@ -1,3 +1,4 @@
+.svn
 .deps
 .libs
 Makefile

Index: test_support/.cvsignore
===================================================================
RCS file: test_support/.cvsignore
diff -N test_support/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ test_support/.cvsignore	19 Jul 2007 02:29:35 -0000	1.1
@@ -0,0 +1,10 @@
+.svn
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp

Index: unit_tests/.cvsignore
===================================================================
RCS file: unit_tests/.cvsignore
diff -N unit_tests/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ unit_tests/.cvsignore	19 Jul 2007 02:29:35 -0000	1.1
@@ -0,0 +1,10 @@
+.svn
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp



From MAILER-DAEMON Wed Jul 18 22:32:19 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBLoR-0002nK-TK
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 22:32:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBLoP-0002kq-Fp
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:32:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBLoP-0002kA-1H
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:32:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBLoO-0002k1-MF
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:32:16 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBLoO-00047Z-7d
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:32:16 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBLoN-0003aY-7m
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:32:15 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBLoN-0003aV-13
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:32:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBLoN-0003aV-13@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Thu, 19 Jul 2007 02:32:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal/HTTP .cvsignore unit_tests/.cvsignore
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 02:32:18 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/19 02:32:14

Modified files:
	cygnal/HTTP    : .cvsignore 
Added files:
	cygnal/HTTP/unit_tests: .cvsignore 

Log message:
	Added .cvsignore for subdirectories.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/.cvsignore?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/HTTP/unit_tests/.cvsignore?cvsroot=gnash&rev=1.1

Patches:
Index: .cvsignore
===================================================================
RCS file: /sources/gnash/gnash/cygnal/HTTP/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- .cvsignore	17 Jul 2007 19:19:01 -0000	1.1
+++ .cvsignore	19 Jul 2007 02:32:14 -0000	1.2
@@ -1,3 +1,4 @@
+.svn
 .deps
 .libs
 Makefile

Index: unit_tests/.cvsignore
===================================================================
RCS file: unit_tests/.cvsignore
diff -N unit_tests/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ unit_tests/.cvsignore	19 Jul 2007 02:32:14 -0000	1.1
@@ -0,0 +1,10 @@
+.svn
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp



From MAILER-DAEMON Wed Jul 18 22:37:55 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBLtr-0004lh-CJ
	for mharc-gnash-commit@gnu.org; Wed, 18 Jul 2007 22:37:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBLtp-0004lQ-SB
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:37:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBLto-0004lE-8a
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:37:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBLto-0004lB-3S
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:37:52 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBLtn-0005An-KA
	for gnash-commit@gnu.org; Wed, 18 Jul 2007 22:37:51 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBLtm-0003ec-MN
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:37:50 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBLtm-0003eZ-Fg
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 02:37:50 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBLtm-0003eZ-Fg@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Thu, 19 Jul 2007 02:37:50 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal ACT/Service.hpp unit_tests/.cvsign...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 02:37:54 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/19 02:37:50

Modified files:
	cygnal/ACT     : Service.hpp 
	cygnal/unit_tests: .cvsignore 
Added files:
	cygnal/ACT/test_support: .cvsignore 
	cygnal/ACT/unit_tests: .cvsignore 
	cygnal/doc     : .cvsignore 

Log message:
	Removed unused class in ACT/Service.hpp.
	Added .cvsignore files.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Service.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/.cvsignore?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/.cvsignore?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/.cvsignore?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/doc/.cvsignore?cvsroot=gnash&rev=1.1

Patches:
Index: ACT/Service.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Service.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/Service.hpp	10 Jul 2007 14:09:08 -0000	1.3
+++ ACT/Service.hpp	19 Jul 2007 02:37:49 -0000	1.4
@@ -30,18 +30,6 @@
 
 namespace ACT {
 	//-------------------------
-	/// \brief still used in IO, for now.
-	class Obsolete_Generator
-		: public ACT::autonomous_act
-	{
-	public:
-		///
-		virtual act result() =0 ;
-
-		void reset() {} ;
-	} ;
-
-	//-------------------------
 	/**	\class Generator
 	 *	\brief A generator of actions, in bursts, used to feed a Service.
 	 *		This class is a base for service implementations.
@@ -98,10 +86,6 @@
 	/**	\class Service
 	 *	\brief A service is a persistent action whose result to create new actions and to schedule them for execution.
 	 *
-	 *	NOTE: This class should be "IO_Service", and have a primitive notion of service use ACT::Generator (to be defined) 
-	 *	rather than a device generator.  It might also prove useful to define an ACT trait that means "generates actions".
-	 *	This would be a way of integrating user interface events, for example.
-	 *
 	 *	This generic base class has no result accessor, since services run primarily under the scheduler.
 	 *	The scheduler, which deals with a multiplicity of action types, has no way of dealing with specific results.
 	 *

Index: unit_tests/.cvsignore
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- unit_tests/.cvsignore	17 Jul 2007 19:19:02 -0000	1.1
+++ unit_tests/.cvsignore	19 Jul 2007 02:37:49 -0000	1.2
@@ -1,3 +1,4 @@
+.svn
 .deps
 .libs
 Makefile

Index: ACT/test_support/.cvsignore
===================================================================
RCS file: ACT/test_support/.cvsignore
diff -N ACT/test_support/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/test_support/.cvsignore	19 Jul 2007 02:37:49 -0000	1.1
@@ -0,0 +1,10 @@
+.svn
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp

Index: ACT/unit_tests/.cvsignore
===================================================================
RCS file: ACT/unit_tests/.cvsignore
diff -N ACT/unit_tests/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ ACT/unit_tests/.cvsignore	19 Jul 2007 02:37:49 -0000	1.1
@@ -0,0 +1,10 @@
+.svn
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+gnash.log
+gnash.sum
+site.exp

Index: doc/.cvsignore
===================================================================
RCS file: doc/.cvsignore
diff -N doc/.cvsignore
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ doc/.cvsignore	19 Jul 2007 02:37:50 -0000	1.1
@@ -0,0 +1,12 @@
+.svn
+http
+.deps
+.libs
+Makefile
+Makefile.in
+*.lo
+*.la
+cygnal
+gnash.log
+gnash.sum
+site.exp



From MAILER-DAEMON Thu Jul 19 10:44:41 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBXFB-0001TS-77
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 10:44:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBXF9-0001Sn-Cx
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 10:44:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBXF7-0001RE-07
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 10:44:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBXF6-0001R6-Le
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 10:44:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBXF6-0000aL-A0
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 10:44:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBXEz-0007EF-Hb
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 14:44:29 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBXEz-0007E8-By
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 14:44:29 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBXEz-0007E8-By@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 19 Jul 2007 14:44:29 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 14:44:39 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/19 14:44:29

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: test(1) string equality operator is "=",
	          not "==". Other attempt at fixing bug #20525.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3766&r2=1.3767
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.357&r2=1.358

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3766
retrieving revision 1.3767
diff -u -b -r1.3766 -r1.3767
--- ChangeLog	19 Jul 2007 00:18:53 -0000	1.3766
+++ ChangeLog	19 Jul 2007 14:44:28 -0000	1.3767
@@ -1,3 +1,8 @@
+2007-07-19 Sandro Santilli <strk@keybit.net>
+
+	* configure.ac: test(1) string equality operator is "=",
+	  not "==". Other attempt at fixing bug #20525.
+
 2007-07-18 Sandro Santilli <strk@keybit.net>
 
 	* configure.ac: quote `backticked commands` when assigning to

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -b -r1.357 -r1.358
--- configure.ac	19 Jul 2007 00:18:54 -0000	1.357
+++ configure.ac	19 Jul 2007 14:44:28 -0000	1.358
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.357 2007/07/19 00:18:54 strk Exp $
+dnl $Id: configure.ac,v 1.358 2007/07/19 14:44:28 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1016,7 +1016,7 @@
 
 dnl Define winsock if we're on windows. We could do something complicated,
 dnl but since AC_EXEEXT does it for us, we'll do this the easy way.
-if test x"$EXEEXT" == "exe"; then
+if test x"$EXEEXT" = "exe"; then
   AC_DEFINE(HAVE_WINSOCK,1,[This is defined is we are on Win32])
 fi
 
@@ -1718,7 +1718,7 @@
 if test x"$BOOST_LIBS" != x; then
     # Only cygnal requires date_time at present, so it's OK if either
     # you don't want cygnal or do have date_time installed.
-    if test x"$cygnal" == xno -o x"$boost_date_time" = xyes; then
+    if test x"$cygnal" = xno -o x"$boost_date_time" = xyes; then
 	echo "        BOOST flags are: $BOOST_CFLAGS"
 	echo "        BOOST libs are: $BOOST_LIBS"
     else
@@ -1733,7 +1733,7 @@
     echo "        ERROR: No BOOST development package installed!"
     echo "               Install it from http://www.boost.org"
     echo "               or .deb users: apt-get install libboost-thread-dev"
-    if test x"$cygnal" == xyes; then
+    if test x"$cygnal" = xyes; then
     echo "                              and libboost-date-time-dev"
     fi
     echo "               or .rpm users: yum install boost-devel"



From MAILER-DAEMON Thu Jul 19 11:01:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBXVL-0001OL-T8
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 11:01:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBXVL-0001N5-0k
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:01:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBXVI-0001LK-9x
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:01:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBXVI-0001L8-4l
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:01:20 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBXVH-0004u5-Hl
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:01:19 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBXVD-0008Ga-C0
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 15:01:15 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBXVD-0008GX-7o
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 15:01:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBXVD-0008GX-7o@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 19 Jul 2007 15:01:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 15:01:23 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/19 15:01:15

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	        * server/edit_text_character.cpp (attachTextFieldInterface):
	          fix a bug swapping .border and .borderColor semantic (!).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3767&r2=1.3768
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.78&r2=1.79

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3767
retrieving revision 1.3768
diff -u -b -r1.3767 -r1.3768
--- ChangeLog	19 Jul 2007 14:44:28 -0000	1.3767
+++ ChangeLog	19 Jul 2007 15:01:14 -0000	1.3768
@@ -1,5 +1,7 @@
 2007-07-19 Sandro Santilli <strk@keybit.net>
 
+	* server/edit_text_character.cpp (attachTextFieldInterface): 
+	  fix a bug swapping .border and .borderColor semantic (!).
 	* configure.ac: test(1) string equality operator is "=",
 	  not "==". Other attempt at fixing bug #20525.
 

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- server/edit_text_character.cpp	18 Jul 2007 03:47:31 -0000	1.78
+++ server/edit_text_character.cpp	19 Jul 2007 15:01:15 -0000	1.79
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.78 2007/07/18 03:47:31 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.79 2007/07/19 15:01:15 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -318,11 +318,12 @@
 	o.init_property("background", *getset, *getset);
 	getset = new builtin_function(textfield_backgroundColor_getset);
 	o.init_property("backgroundColor", *getset, *getset);
-	getset = new builtin_function(textfield_borderColor_getset);
-	o.init_property("border", *getset, *getset);
 	getset = new builtin_function(textfield_border_getset);
+	o.init_property("border", *getset, *getset);
+	getset = new builtin_function(textfield_borderColor_getset);
 	o.init_property("borderColor", *getset, *getset);
 
+
 	if ( target_version  < 7 ) return;
 
 	// SWF7 or higher
@@ -441,6 +442,7 @@
 
 	bool drawBorder = getDrawBorder();
 	bool drawBackground = getDrawBackground();
+
 	if ( drawBorder || drawBackground )
 	{
 		matrix	mat = get_world_matrix();
@@ -462,8 +464,6 @@
 		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
 		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(255,255,255,0);
 
-		//log_debug("Border color : %s, Background color : %s", borderColor.toString().c_str(), backgroundColor.toString().c_str());
-
 		render::draw_poly( &coords[0], 4, backgroundColor, borderColor );
 		
 	}
@@ -1431,7 +1431,6 @@
 static as_value
 textfield_background_getset(const fn_call& fn)
 {
-	GNASH_REPORT_FUNCTION;
 	boost::intrusive_ptr<edit_text_character> ptr = ensureType<edit_text_character>(fn.this_ptr);
 
 	if ( fn.nargs == 0 ) // getter
@@ -1466,8 +1465,6 @@
 static as_value
 textfield_backgroundColor_getset(const fn_call& fn)
 {
-	GNASH_REPORT_FUNCTION;
-
 	boost::intrusive_ptr<edit_text_character> ptr = ensureType<edit_text_character>(fn.this_ptr);
 
 	if ( fn.nargs == 0 ) // getter



From MAILER-DAEMON Thu Jul 19 11:08:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBXcR-0003RU-Cf
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 11:08:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBXcO-0003RK-WB
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:08:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBXcN-0003R8-JZ
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:08:39 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBXcN-0003R5-DL
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:08:39 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBXcN-0006da-1n
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:08:39 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBXcM-0008MQ-LH
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 15:08:38 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBXcM-0008ML-De
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 15:08:38 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBXcM-0008ML-De@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 19 Jul 2007 15:08:38 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server sprite_instance.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 15:08:41 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/19 15:08:38

Modified files:
	server         : sprite_instance.cpp 

Log message:
	commented out unused var

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.299&r2=1.300

Patches:
Index: sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.299
retrieving revision 1.300
diff -u -b -r1.299 -r1.300
--- sprite_instance.cpp	17 Jul 2007 06:04:22 -0000	1.299
+++ sprite_instance.cpp	19 Jul 2007 15:08:38 -0000	1.300
@@ -1369,7 +1369,7 @@
 		warned=true;
 	}
 
-	VM& vm = VM::get();
+	//VM& vm = VM::get();
 	// NOTE: _droptarget should be set after startDrag() and stopDrag() calls
 	return as_value("");
 }



From MAILER-DAEMON Thu Jul 19 11:57:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBYNZ-0006cx-TM
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 11:57:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBYNY-0006c4-JG
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:57:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBYNX-0006bS-AO
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:57:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBYNX-0006b9-6G
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:57:23 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBYNW-0000NN-An
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 11:57:22 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBYNS-0003Yd-T2
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 15:57:19 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBYNS-0003Ya-No
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 15:57:18 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBYNS-0003Ya-No@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 19 Jul 2007 15:57:18 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 15:57:24 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/19 15:57:18

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: TextField.as 

Log message:
	        * testsuite/actionscript.all/TextField.as: more successes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3768&r2=1.3769
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3768
retrieving revision 1.3769
diff -u -b -r1.3768 -r1.3769
--- ChangeLog	19 Jul 2007 15:01:14 -0000	1.3768
+++ ChangeLog	19 Jul 2007 15:57:18 -0000	1.3769
@@ -1,5 +1,6 @@
 2007-07-19 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/TextField.as: more successes.
 	* server/edit_text_character.cpp (attachTextFieldInterface): 
 	  fix a bug swapping .border and .borderColor semantic (!).
 	* configure.ac: test(1) string equality operator is "=",

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- testsuite/actionscript.all/TextField.as	18 Jul 2007 03:39:13 -0000	1.7
+++ testsuite/actionscript.all/TextField.as	19 Jul 2007 15:57:18 -0000	1.8
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.7 2007/07/18 03:39:13 strk Exp $";
+rcsid="$Id: TextField.as,v 1.8 2007/07/19 15:57:18 strk Exp $";
 
 #include "check.as"
 
@@ -159,12 +159,12 @@
 
 // Check TextField.border
 
-xcheck_equals(typeof(tf.border), 'boolean');
+check_equals(typeof(tf.border), 'boolean');
 check(!tf.hasOwnProperty('border'));
 
 // Check TextField.borderColor
 
-xcheck_equals(typeof(tf.borderColor), 'number');
+check_equals(typeof(tf.borderColor), 'number');
 check(!tf.hasOwnProperty('borderColor'));
 
 // Check TextField.bottomScroll



From MAILER-DAEMON Thu Jul 19 14:29:40 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBaku-0002h9-4o
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 14:29:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBaks-0002gp-3Z
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 14:29:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBakr-0002gM-8i
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 14:29:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBakr-0002gG-3F
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 14:29:37 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1IBakq-0000m5-Me
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 14:29:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1IBakp-0005EO-BD
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 18:29:35 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1IBakp-0005EK-2Y
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 18:29:35 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBakp-0005EK-2Y@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Thu, 19 Jul 2007 18:29:35 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal/ACT Change_Log.txt Handle.hpp List...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2007 18:29:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/19 18:29:34

Modified files:
	cygnal/ACT     : Change_Log.txt Handle.hpp Listen.T.cpp 
	                 Pause_Demon.cpp Pause_Demon.hpp Service.hpp 

Log message:
	With apologies to strk, I unreverted a typedef forwarding change, which it turns out is true only with Microsoft-specific extensions enabled.  Added needed public declarations on these forwards.
	Added MSVC-portability comment in Pause_Demon.cpp.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Change_Log.txt?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Handle.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Listen.T.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Pause_Demon.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Pause_Demon.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Service.hpp?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: Change_Log.txt
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Change_Log.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Change_Log.txt	10 Jul 2007 14:09:08 -0000	1.2
+++ Change_Log.txt	19 Jul 2007 18:29:34 -0000	1.3
@@ -1,10 +1,14 @@
 Change Log for GNU Cygnal, Module ACT
 =====================================
 
+2007-07-19 Eric Hughes <eh@narthex.us>
+	* Handle.hpp: Added forwarding typedefs in Vector_with_Handle_Index.
+	* Pause_Demon.cpp: Added important portability note.
+
 2007-07-10 Eric Hughes <eh@narthex.us>
 	* Pause_Demon.[hc]pp: Renamed from Pause_Service.[hc]pp.
-	* ACT/unit_tests/Test_Scheduler.cpp: Added finished_at_bound() to scheduler test aspect.  (Re-)Wrote a proper pause demon test.
-	* ACT/ACT.doxygen.txt: Added more environment documentation.
+	* unit_tests/Test_Scheduler.cpp: Added finished_at_bound() to scheduler test aspect.  (Re-)Wrote a proper pause demon test.
+	* ACT.doxygen.txt: Added more environment documentation.
 
 2007-07-09 Eric Hughes <eh@narthex.us>
 	* Scheduler.hpp, Scheduler.cpp, Scheduler.T.cpp: Renamed scheduler category Service to Demon to get rid of a name collision.

Index: Handle.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Handle.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Handle.hpp	18 Jul 2007 21:13:26 -0000	1.3
+++ Handle.hpp	19 Jul 2007 18:29:34 -0000	1.4
@@ -80,8 +80,15 @@
 	class Vector_with_Handle_Index
 		: public std::vector< T >
 	{
+	private:
 		typedef std::vector< T > Base ;		/// Our base class, defined for legibility.
 
+	public:
+		typedef typename Base::reference reference ;
+		typedef typename Base::const_reference const_reference ;
+		typedef typename Base::size_type size_type ;
+
+	private:
 		inline reference operator[]( size_type n ) { throw std::exception() ; }				/// Prohibit offset operation with unwrapped index
 		inline const_reference operator[]( size_type n ) const { throw std::exception() ; }	/// Prohibit offset operation with unwrapped index
 		inline reference at( size_type n ) { throw std::exception() ; }						/// Prohibit offset operation with unwrapped index

Index: Listen.T.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Listen.T.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2

Index: Pause_Demon.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Pause_Demon.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Pause_Demon.cpp	10 Jul 2007 14:09:08 -0000	1.1
+++ Pause_Demon.cpp	19 Jul 2007 18:29:34 -0000	1.2
@@ -18,9 +18,19 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/// \file Pause_Demon.cpp
-///	\brief The Pause service suspends itself (and its thread) for a number of milliseconds 
-///		if the scheduling queue has no high-priority items.
+/**	\file Pause_Demon.cpp
+	\brief The Pause service suspends itself (and its thread) for a number of milliseconds 
+		if the scheduling queue has no high-priority items.
+
+	\par Warning: MSVC portability note
+		The code within this unit should be portable, since in relies upon Boost::Thread.
+		As of this writing, however, there's a flaw when working under MSVC.
+		For some reason, the Boost thread library disables thread support unless language extensions are turned on.
+		[This behavior is true with Boost 1.33.1; perhaps a later version may fix this.]
+		Ordinarily, it's hazardous to portability to enable any kind of extension in a Microsoft product.
+		Unfortunately, it has to be there as of the present writing to get this unit to compile.
+ */
+
 
 #include "Pause_Demon.hpp"
 #include <boost/thread/thread.hpp>

Index: Pause_Demon.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Pause_Demon.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2

Index: Service.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Service.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5



From MAILER-DAEMON Thu Jul 19 20:06:41 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBg13-0007Y9-FA
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 20:06:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBg12-0007WG-Bb
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 20:06:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBg11-0007VQ-Fz
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 20:06:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBg11-0007VN-E7
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 20:06:39 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBg11-0001j5-2d
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 20:06:39 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBg0u-0004WJ-Fe
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 00:06:32 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBg0u-0004WG-9I
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 00:06:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 20 Jul 2007 00:06:32 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 00:06:40 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/20 00:06:32

Modified files:
	server         : edit_text_character.cpp 

Log message:
	prepared for applying color transform to border and background (but isn't working so the block is disabled (need help from Udo most likely

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.79&r2=1.80

Patches:
Index: edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -b -r1.79 -r1.80
--- edit_text_character.cpp	19 Jul 2007 15:01:15 -0000	1.79
+++ edit_text_character.cpp	20 Jul 2007 00:06:32 -0000	1.80
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.79 2007/07/19 15:01:15 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.80 2007/07/20 00:06:32 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -464,6 +464,16 @@
 		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
 		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(255,255,255,0);
 
+		if ( 0 ) // should be if ! isDynamic to be PP-compatible (or is it about device font? to be tested)
+		         // Currently disabled due to what looks like a bug in color transform
+		{
+			cxform	cx = get_world_cxform();
+			log_debug("world cxform for textfield %s: %s", getTargetPath().c_str(), cx.toString().c_str());
+			borderColor = cx.transform(borderColor);
+			backgroundColor = cx.transform(backgroundColor);
+		}
+
+
 		render::draw_poly( &coords[0], 4, backgroundColor, borderColor );
 		
 	}



From MAILER-DAEMON Thu Jul 19 21:50:40 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBhdg-0008J3-7w
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 21:50:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBhde-0008I9-5i
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 21:50:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBhdc-0008H8-4p
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 21:50:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBhdb-0008H1-P4
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 21:50:35 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@welcomehome.org>) id 1IBhda-0007hZ-Im
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 21:50:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <rob@welcomehome.org>) id 1IBhdZ-0003Un-9x
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 01:50:33 +0000
Received: from rsavoye by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <rsavoye@savannah.gnu.org>) id 1IBhdZ-0003Uk-3B
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 01:50:33 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBhdZ-0003Uk-3B@cvs.savannah.gnu.org>
From: Rob Savoye <rob@welcomehome.org>
Date: Fri, 20 Jul 2007 01:50:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash gui/Makefile.am backend/Makefile.am confi...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 01:50:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Rob Savoye <rsavoye>	07/07/20 01:50:32

Modified files:
	gui            : Makefile.am 
	backend        : Makefile.am 
	.              : configure.ac Makefile.am ChangeLog 
	libbase        : Makefile.am 
	extensions     : Makefile.am 
	macros         : x11.m4 libltdl.m4 
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
		* gui/Makefile.am: Use *_CONFIG variables instead of *_OPT
		ones. Use BUILD_* conditionals instead of USE_GUI.
		* backend/Makefile.am: Build seperate libraries for each backend.
		* configure.ac: Don't pass the data to AM_INIT_AUTOMAKE. Don't
		disable static libs. Add option for dynamically loading
		guis. (disabled by default for now). Don't build cygnal by
		default. Remove --enable-gui and --enable-renderer with new
		options, --with-gui and --with-renderer to list multiple options
		for guis and renderers. Don't configure cygnal sub directories yet.
		* Makefile.am: Use *_CONFIG variables instead of *_OPT ones.
		* extensions/Makefile.am: Use BUILD_* conditionals instead of
		USE_GUI.
		* libbase/Makefile.am: Use HAVE_SDL instead of HAS_SDL.
		* macros/gtkglext.m4: Use --libs-only-l insted of --libs.
		* testsuite/misc-ming.all/DefineEditTextTest.c: Include fontlib.h.
		* macros/libltdl.m4: Move the serial numbers to the top to keep
		automate 1.19 happy.  
		* macros/x11.m4: Don't put a conditional in an if block.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.83&r2=1.84
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/Makefile.am?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.358&r2=1.359
http://cvs.savannah.gnu.org/viewcvs/gnash/Makefile.am?cvsroot=gnash&r1=1.79&r2=1.80
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3769&r2=1.3770
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/Makefile.am?cvsroot=gnash&r1=1.76&r2=1.77
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/Makefile.am?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/x11.m4?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/libltdl.m4?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.18&r2=1.19

Patches:
Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -b -r1.83 -r1.84
--- gui/Makefile.am	17 Jul 2007 23:32:34 -0000	1.83
+++ gui/Makefile.am	20 Jul 2007 01:50:31 -0000	1.84
@@ -15,13 +15,16 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# 
-
-# $Id: Makefile.am,v 1.83 2007/07/17 23:32:34 nihilus Exp $
+AUTOMAKE_OPTIONS = -Wno-portability
 
-AUTOMAKE_OPTIONS = 
 localedir = $(datadir)/locale
 
+# this is where Gnash plugins get installed
+pluginsdir = $(libdir)/gnash/plugins
+
+lib_LTLIBRARIES = libgnashgui.la
+BUILT_SOURCES = klash.moc .configline
+
 AM_CPPFLAGS = -I.. \
         -I$(top_srcdir) \
         -I$(top_srcdir)/server \
@@ -32,8 +35,8 @@
         -I$(top_srcdir)/backend \
         -I$(top_srcdir)/libgeometry \
         -DLOCALEDIR=\"$(localedir)\" \
+	-DPLUGINSDIR=\"$(pluginsdir)\" \
         $(LIBXML_CFLAGS) \
-        $(SDL_CFLAGS) \
         $(DMALLOC_CFLAGS) \
 	$(BOOST_CFLAGS) \
         $(PTHREAD_CFLAGS) \
@@ -55,14 +58,11 @@
 	$(ATK_LIBS) \
 	$(GLIB_LIBS) \
 	$(EXPAT_LIBS)
-#        $(PNG_CFLAGS) \
-#        $(JPEG_CFLAGS) \
-#        $(MP3_CFLAGS) \
-#        $(OGG_CFLAGS)
 
 ## WARNING: make sure GLIB_LIBS appears first
 ## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
 AM_LDFLAGS =  \
+	$(GLIB_LIBS) \
 	$(LIBLTDL) \
 	$(FFMPEG_LIBS) \
 	$(CURL_LIBS) \
@@ -72,106 +72,250 @@
 	$(PTHREAD_LIBS) \
 	$(NULL)
 
+GNASH_LIBS = \
+	$(top_builddir)/libamf/libgnashamf.la \
+	$(top_builddir)/backend/libgnashbackend.la \
+	$(top_builddir)/server/libgnashserver.la \
+	$(top_builddir)/libgeometry/libgnashgeo.la \
+	$(top_builddir)/libbase/libgnashbase.la
 
-if USE_RENDERER_OPENGL
- AM_CPPFLAGS += $(OPENGL_CFLAGS) 
-if USE_GUI_GTK
-  AM_LDFLAGS += $(GLEXT_LIBS) $(OPENGL_LIBS)
-  AM_CPPFLAGS += $(GLEXT_CFLAGS)
-  GTK_OPENGL_SRCS = gtk_glue_gtkglext.cpp gtk_glue_gtkglext.h
-endif # USE_GUI_GTK
-if USE_GUI_AQUA
-  AQUA_OPENGL_SRCS = aqua_ogl_glue.cpp aqua_ogl_glue.h
-  AM_LDFLAGS += $(OPENGL_LIBS)
-endif # USE_GUI_AQUA
-if USE_GUI_SDL
-  SDL_OPENGL_SRCS = sdl_ogl_glue.cpp sdl_ogl_glue.h
-endif # USE_GUI_SDL
-if USE_GUI_KDE
-  KDE_OPENGL_SRCS = kde_glue_opengl.cpp kde_glue_opengl.h
-  AM_CPPFLAGS += $(KDE_CFLAGS) $(QT_CFLAGS)
-  AM_LDFLAGS +=  $(KDE_LIBS) $(QT_LIBS)
-  BUILT_SOURCES = klash.moc
-endif # USE_GUI_KDE
-else # ! USE_RENDERER_OPENGL
- GTK_OPENGL_SRCS =
- KDE_OPENGL_SRCS =
- SDL_OPENGL_SRCS =
- AQUA_OPENGL_SRCS =
-endif # ! USE_RENDERER_OPENGL
-
-if USE_RENDERER_CAIRO
- AM_LDFLAGS += $(CAIRO_LIBS) 
- GTK_CAIRO_SRCS = gtk_glue_cairo.cpp gtk_glue_cairo.h gtk_cairo_create.h
- KDE_CAIRO_SRCS = #kde_glue_cairo.cpp kde_glue_cairo.h
- SDL_CAIRO_SRCS = sdl_cairo_glue.cpp sdl_cairo_glue.h
- FLTK_CAIRO_SRCS = fltk_glue_cairo.cpp fltk_glue_cairo.h
- AM_CPPFLAGS += $(CAIRO_CFLAGS)
-else
- GTK_CAIRO_SRCS =
- KDE_CAIRO_SRCS =
- SDL_CAIRO_SRCS =
- FLTK_CAIRO_SRCS =
-endif
+# The player class has to be added to each GUI library because it
+# requires an ifdef to change between the various GUI toolkits.
+PLAYER_SRCS = Player.cpp Player.h
 
-if USE_RENDERER_AGG
-  AM_CPPFLAGS += $(AGG_CFLAGS)
-  AM_LDFLAGS += $(AGG_LIBS)
-  GTK_AGG_SRCS = gtk_glue_agg.cpp gtk_glue_agg.h
-  RISCOS_AGG_SRCS = riscos_glue_agg.cpp riscos_glue_agg.h
-  SDL_AGG_SRCS = sdl_agg_glue.cpp sdl_agg_glue.h
-  FLTK_AGG_SRCS = fltk_glue_agg.cpp fltk_glue_agg.h
-  KDE_AGG_SRCS = kde_glue_agg.cpp kde_glue_agg.h
-else
-  GTK_AGG_SRCS =
-  RISCOS_AGG_SRCS =
-  SDL_AGG_SRCS =
-  FLTK_AGG_SRCS =
-  KDE_AGG_SRCS =
-endif
+#
+# Build the libraries that hold the combined GUI toolkit and
+# renderer. These are built as static libraries if doing a static
+# build for debugging. Otherwise they are built as a loadable shared
+# library module so we can dlopen() them at runtime.
+#
 
-if USE_GUI_GTK
-  AM_LDFLAGS += $(CAIRO_LIBS)
-  GTK_SRCS = gtk.cpp gtksup.h gtk_glue.h $(GTK_CAIRO_SRCS) $(GTK_OPENGL_SRCS) $(GTK_AGG_SRCS) 
-  AM_LDFLAGS += $(GTK_LIBS) $(X11_LIBS)
-  AM_CPPFLAGS += $(GTK_CFLAGS)
-else
- GTK_SRCS = 
-endif
+plugins_LTLIBRARIES =		# set later on by conditionals
 
-if USE_GUI_RISCOS
- RISCOS_SRCS = riscos.cpp riscossup.h riscos_glue.h $(RISCOS_AGG_SRCS)
- AM_LDFLAGS += -lOSLib32
+# Only build loadable modules unless statically linking
+if DYNAMIC_GUI # make shared libraries suitable for dlopen().
+if  ENABLE_SHARED
+     LIB_FLAGS = -module -avoid-version -no-undefined
 else
- RISCOS_SRCS =
-endif
+     LIB_FLAGS = -release $(VERSION)
+endif # ENABLE_SHARED
+else # make shared libraries suitable for linking.
+     LIB_FLAGS = -release $(VERSION)
+endif # DYNAMIC_GUI
+
+# GTK2 Toolkit
+if BUILD_GTK_GUI
+if  HAVE_OPENGL
+     plugins_LTLIBRARIES += libgnashgtk_gl.la
+     libgnashgtk_gl_la_CPPFLAGS = -DGUI_GTK $(AM_CPPFLAGS) \
+	$(GTK_CFLAGS) $(OPENGL_CFLAGS)
+     libgnashgtk_gl_la_SOURCES = $(PLAYER_SRCS) \
+	gtk_glue_gtkglext.cpp gtk_glue_gtkglext.h \
+	gtk.cpp gtksup.h gtk_glue.h
+     libgnashgtk_gl_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashgtk_gl_la_LIBADD = \
+	$(top_builddir)/backend/libgnashogl.la libgnashgui.la $(GTK_LIBS)
+endif # HAVE_OPENGL
+if  HAVE_AGG
+     plugins_LTLIBRARIES += libgnashgtk_agg.la
+     libgnashgtk_agg_la_CPPFLAGS = -DGUI_GTK $(AM_CPPFLAGS) \
+	$(GTK_CFLAGS) $(AGG_CFLAGS)
+     libgnashgtk_agg_la_SOURCES = $(PLAYER_SRCS) \
+	gtk_glue_agg.cpp gtk_glue_agg.h \
+	gtk.cpp gtksup.h gtk_glue.h
+     libgnashgtk_agg_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashgtk_agg_la_LIBADD = \
+	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
+	$(GTK_LIBS) $(AGG_LIBS)
+endif # HAVE_AGG
+if  HAVE_CAIRO
+     plugins_LTLIBRARIES += libgnashgtk_cairo.la
+     libgnashgtk_cairo_la_CPPFLAGS = -DGUI_GTK $(AM_CPPFLAGS) \
+	$(GTK_CFLAGS) $(CAIRO_CFLAGS)
+     libgnashgtk_cairo_la_SOURCES = $(PLAYER_SRCS) \
+	gtk_glue_cairo.cpp gtk_glue_cairo.h \
+	gtk.cpp gtksup.h gtk_glue.h
+     libgnashgtk_cairo_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashgtk_cairo_la_LIBADD = \
+	$(top_builddir)/backend/libgnashcairo.la  libgnashgui.la \
+	$(GTK_LIBS) $(CAIRO_LIBS)
+endif # HAVE_CAIRO
+endif # BUILD_GTK_GUI
+
+# KDE/QT Toolkit
+if BUILD_KDE_GUI
+if  HAVE_OPENGL
+     plugins_LTLIBRARIES += libgnashkde_gl.la
+     libgnashkde_gl_la_CPPFLAGS = -DGUI_KDE $(AM_CPPFLAGS) \
+	$(OPENGL_FLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
+     libgnashkde_gl_la_SOURCES = $(PLAYER_SRCS) \
+	kde_glue_opengl.cpp kde_glue_.h \
+	kde.cpp kdesup.h kde_glue.h
+     libgnashkde_gl_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashkde_gl_la_LIBADD = libgnashgui.la \
+	$(top_builddir)/backend/libgnashogl.la \
+	$(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
+endif # HAVE_OPENGL
+if  HAVE_AGG
+     plugins_LTLIBRARIES += libgnashkde_agg.la
+     libgnashkde_agg_la_CPPFLAGS = -DGUI_KDE $(AM_CPPFLAGS) \
+	$(AGG_CFLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
+     libgnashkde_agg_la_SOURCES = $(PLAYER_SRCS) \
+	kde_glue_agg.cpp kde_glue_agg.h \
+	kde.cpp kdesup.h kde_glue.h
+     libgnashkde_agg_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashkde_agg_la_LIBADD = libgnashgui.la \
+	$(top_builddir)/backend/libgnashagg.la \
+	$(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
+endif # HAVE_AGG
+endif # BUILD_KDE_GUI
+
+# SDL Toolkit
+if BUILD_SDL_GUI
+if  HAVE_OPENGL
+     plugins_LTLIBRARIES += libgnashsdl_gl.la
+     libgnashsdl_gl_la_CPPFLAGS = -DGUI_SDL $(AM_CPPFLAGS) \
+	$(SDL_CFLAGS) $(OPENGL_CFLAGS)
+     libgnashsdl_gl_la_SOURCES = $(PLAYER_SRCS) \
+	sdl_ogl_glue.cpp sdl_ogl_glue.h \
+	sdl.cpp sdlsup.h sdl_glue.h
+     libgnashsdl_gl_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashsdl_gl_la_LIBADD = \
+	$(top_builddir)/backend/libgnashogl.la libgnashgui.la \
+	$(SDL_LIBS) $(OPENGL_LIBS)
+endif # HAVE_OPENGL
+if  HAVE_AGG
+     plugins_LTLIBRARIES += libgnashsdl_agg.la
+     libgnashsdl_agg_la_CPPFLAGS = -DGUI_SDL $(AM_CPPFLAGS) \
+	$(SDL_CFLAGS) $(AGG_CFLAGS)
+     libgnashsdl_agg_la_SOURCES = $(PLAYER_SRCS) \
+	sdl_glue_agg.cpp sdl_glue_agg.h \
+	sdl.cpp sdlsup.h sdl_glue.h
+     libgnashsdl_agg_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashsdl_agg_la_LIBADD = \
+	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
+	$(SDL_LIBS) $(AGG_LIBS) 
+endif # HAVE_AGG
+if  HAVE_CAIRO
+     plugins_LTLIBRARIES += libgnashsdl_cairo.la
+     libgnashsdl_cairo_la_CPPFLAGS = -DGUI_SDL $(AM_CPPFLAGS) \
+	$(SDL_CFLAGS) $(CAIRO_CFLAGS)
+     libgnashsdl_cairo_la_SOURCES = $(PLAYER_SRCS) \
+	sdl_cairo_glue.cpp sdl_cairo_glue.h \
+	sdl.cpp sdlsup.h sdl_glue.h
+     libgnashsdl_cairo_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashsdl_cairo_la_LIBADD = \
+	$(top_builddir)/backend/libgnashcairo.la libgnashgui.la \
+	$(SDL_LIBS) $(CAIRO_LIBS)
+endif # HAVE_CAIRO
+endif # BUILD_SDL_GUI
+
+# FLTK2 Toolkit
+if BUILD_FLTK_GUI
+if  HAVE_AGG
+     plugins_LTLIBRARIES += libgnashfltk_agg.la
+     libgnashfltk_agg_la_CPPFLAGS = -DGUI_FLTK $(AM_CPPFLAGS) \
+	$(FLTK2_CFLAGS) $(AGG_CFLAGS)
+     libgnashfltk_agg_la_SOURCES = $(PLAYER_SRCS) \
+	fltk_glue_agg.cpp fltk_glue_agg.h \
+	fltk.cpp fltksup.h fltk_glue.h
+     libgnashfltk_agg_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashfltk_agg_la_LIBADD = \
+	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
+	$(FLTK2_LIBS) $(AGG_LIBS) $(XFT_LIBS) $(X11_LIBS)
+endif # HAVE_AGG
+if  HAVE_CAIRO
+     plugins_LTLIBRARIES += libgnashfltk_cairo.la
+     libgnashfltk_agg_la_CPPFLAGS = -DGUI_FLTK $(AM_CPPFLAGS) \
+	$(FLTK2_CFLAGS) $(CAIRO_CFLAGS)
+     libgnashfltk_cairo_la_SOURCES = $(PLAYER_SRCS) \
+	fltk_glue_cairo.cpp fltk_glue_cairo.h \
+	fltk.cpp fltksup.h fltk_glue.h
+     libgnashfltk_cairo_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashfltk_cairo_la_LIBADD = \
+	$(top_builddir)/backend/libgnashcairo.la libgnashgui.la \
+	$(FLTK2_LIBS) $(CAIRO_LIBS) $(XFT_LIBS) $(X11_LIBS)
+endif # HAVE_CAIRO
+endif # BUILD_FLTK_GUI
+
+# Framebuffer, no toolkit
+if BUILD_FB_GUI
+if  HAVE_AGG
+     libgnashsdl_agg_la_CPPFLAGS = -DGUI_FB $(AM_CPPFLAGS) $(SDL_CFLAGS)
+     plugins_LTLIBRARIES += libgnashfb_agg.la
+     libgnashsdl_agg_la_SOURCES = $(PLAYER_SRCS) \
+	fb.cpp fbsup.h
+     libgnashsdl_agg_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashsdl_agg_la_LIBADD = \
+	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
+	$(SDL_LIBS) $(AGG_LIBS)
+endif # HAVE_AGG
+endif # BUILD_FB_GUI
 
-if USE_GUI_AQUA
- AQUA_SRCS = aqua.cpp aquasup.h aqua_glue.h $(AQUA_OPENGL_SRCS)
-else
- AQUA_SRCS =
-endif
+#
+# When static linking, we have to link in the correct library. These
+# are built as static libraries by the above section,
+#
 
-if USE_GUI_SDL
- SDL_SRCS = sdl.cpp sdlsup.h sdl_glue.h $(SDL_CAIRO_SRCS) $(SDL_OPENGL_SRCS) $(SDL_AGG_SRCS)
-else
- SDL_SRCS =
-endif
+#
+# Setup the GUIs that have OpenGL support
+#
+if STATIC_GUI
+if  BUILD_OGL_RENDERER
+if   BUILD_GTK_GUI
+      GNASH_LIBS += libgnashgtk_gl.la $(GTK_LIBS) $(OPENGL_LIBS)
+endif # BUILD_GTK_GUI
+if   BUILD_AQUA_GUI
+      GNASH_LIBS += libgnashaqua_gl.la $(AQUA_LIBS) $(OPENGL_LIBS)
+endif # BUILD_AQUA_GUI
+if   BUILD_SDL_GUI
+      GNASH_LIBS += libgnashsdl_gl.la $(SDL_LIBS) $(OPENGL_LIBS)
+endif # BUILD_SDL_GUI
+if BUILD_KDE_GUI
+     GNASH_LIBS += libgnashkde_gl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
+endif # BUILD_KDE_GUI
+endif # BUILD_OPENGL_RENDERER
 
-if USE_GUI_KDE
- KDE_SRCS = kde.cpp kdesup.h kde_glue.h klash.moc $(KDE_CAIRO_SRCS) $(KDE_OPENGL_SRCS) $(KDE_AGG_SRCS)
- AM_CPPFLAGS += $(KDE_CFLAGS) $(QT_CFLAGS)
- AM_LDFLAGS += $(KDE_LIBS) $(QT_LIBS)
-else
- KDE_SRCS = 
-endif
+#
+# Setup the GUIs that have Cairo support
+#
+if  BUILD_CAIRO_RENDERER
+if   BUILD_GTK_GUI
+      GNASH_LIBS += libgnashgtk_cairo.la $(GTK_LIBS) $(CAIRO_LIBS)
+endif # BUILD_GTK_GUI
+if   BUILD_SDL_GUI
+      GNASH_LIBS += libgnashsdl_cairo.la $(SDL_LIBS) $(CAIRO_LIBS)
+endif # BUILD_SDL
+if   BUILD_FLTK_GUI
+      GNASH_LIBS += libgnashfltk_cairo.la $(FLTK2_LIBS) $(CAIRO_LIBS) $(XFT_LIBS) $(X11_LIBS)
+endif # BUILD_FLTK_GUI
+endif # BUILD_CAIRO_RENDERER
 
-if USE_GUI_FB
- FB_SRCS = fb.cpp fbsup.h 
- AM_CPPFLAGS += $(AGG_CFLAGS)
-else
- FB_SRCS = 
-endif
+#
+# Setup the GUIs that have AntiGrain (AGG) support
+#
+if  BUILD_AGG_RENDERER
+if   BUILD_GTK_GUI
+      GNASH_LIBS += libgnashgtk_agg.la $(AGG_LIBS) $(GTK_LIBS)
+endif # BUILD_GTK_GUI
+if  BUILD_AQUA_GUI
+     GNASH_LIBS += libgnashaqua_agg.la $(AQUA_LIBS) $(AGG_LIBS)
+endif # BUILD_AQUA_GUI
+if  BUILD_SDL_GUI
+     GNASH_LIBS += libgnashsdl_agg.la $(SDL_LIBS) $(AGG_LIBS)
+endif # BUILD_SDL_GUI
+if  BUILD_FLTK_GUI
+     GNASH_LIBS += libgnashfltk_agg.la $(FLTK2_LIBS) $(AGG_LIBS) $(XFT_LIBS) $(X11_LIBS)
+endif # BUILD_FLTK_GUI
+if  BUILD_KDE_GUI
+     GNASH_LIBS += libgnashkde_agg.la $(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
+endif # BUILD_KDE_GUI
+if  BUILD_RISCOS_GUI
+     GNASH_LIBS += libgnashriscos_agg.la $(RISCOS_LIBS) $(AGG_LIBS)
+     AM_LDFLAGS += -lOSLib32
+endif # BUILD_RISCOS_GUI
+endif # BUILD_AGG_RENDERER
+endif # STATIC_GUI
 
 if USE_SOUND_SDL
 if USE_FFMPEG_ENGINE
@@ -188,13 +332,13 @@
 AM_CPPFLAGS += $(GSTREAMER_CFLAGS)
 endif
 
-if USE_GUI_FLTK
- FLTK_SRCS = fltk.cpp fltksup.h $(FLTK_AGG_SRCS) $(FLTK_CAIRO_SRCS)
- AM_CPPFLAGS += $(FLTK2_CFLAGS) $(X11_CFLAGS)
- AM_LDFLAGS += $(FLTK2_LIBS) $(XFT_LIBS) $(X11_LIBS)
-else
- FLTK_SRCS = 
-endif
+# if USE_GUI_FLTK
+#  FLTK_SRCS = fltk.cpp fltksup.h $(FLTK_AGG_SRCS) $(FLTK_CAIRO_SRCS)
+#  AM_CPPFLAGS += $(FLTK2_CFLAGS) $(X11_CFLAGS)
+#  AM_LDFLAGS += $(FLTK2_LIBS) $(XFT_LIBS) $(X11_LIBS)
+# else
+#  FLTK_SRCS = 
+# endif
 
 
 AM_CPPFLAGS += -DPKGDATADIR=\"$(pkgdatadir)\"
@@ -208,16 +352,7 @@
 #dist_images_DATA = images/gnash_G_v3.ico
 imagesdir = $(pkgdatadir)
 
-lib_LTLIBRARIES = libgnashgui.la libgnashplayer.la
 libgnashgui_la_SOURCES = \
-	$(SDL_SRCS) \
-	$(FLTK_SRCS) \
-	$(GTK_SRCS) \
-	$(GTK2_SRCS) \
-	$(KDE_SRCS) \
-	$(FB_SRCS) \
-	$(AQUA_SRCS) \
-	$(RISCOS_SRCS) \
 	gui.cpp gui.h \
 	NullGui.cpp \
 	NullGui.h
@@ -230,63 +365,19 @@
 # is LDFLAGS still needed when AM_LDFLAGS is defined already ?
 libgnashgui_la_LDFLAGS = \
 	-release $(VERSION) \
-	-no-undefined \
-	-export-dynamic \
 	$(AM_LDFLAGS)
 
-if USE_GUI_KDE
-bin_PROGRAMS = gnash # klash
-else
 bin_PROGRAMS = gnash
-endif
-
-GNASH_LIBS = \
-        libgnashgui.la \
-	$(top_builddir)/libamf/libgnashamf.la \
-	$(top_builddir)/backend/libgnashbackend.la \
-	$(top_builddir)/server/libgnashserver.la \
-	$(top_builddir)/libgeometry/libgnashgeo.la \
-	$(top_builddir)/libbase/libgnashbase.la \
-	libgnashplayer.la \
-	libgnashgui.la
-
-libgnashplayer_la_SOURCES = \
-	Player.cpp Player.h
-
-libgnashplayer_la_LIBADD = \
-	$(top_builddir)/server/libgnashserver.la \
-	$(top_builddir)/backend/libgnashbackend.la \
-	libgnashgui.la 
-
-libgnashplayer_la_LDFLAGS = \
-	-release $(VERSION) \
-	-no-undefined \
-	-export-dynamic \
-	$(AM_LDFLAGS) 
 
 gnash_SOURCES = gnash.cpp
 # export our symbols so they can be used by Gnash plugins
 gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 
-gnash_DEPENDENCIES = $(GNASH_LIBS)  .configline
+gnash_DEPENDENCIES = libgnashgui.la .configline
 gnash_LDADD = \
+	libgnashgui.la \
 	$(MYSQL_LIBS) \
-	$(GNASH_LIBS)
-#	$(LIBLTDL) "-dlopen" self "-dlopen"
-
-#klash_SOURCES = gnash.cpp
-#klash_CPPFLAGS =	\
-#	$(KDE_INCLS)	\
-#	-DUSE_KDE \
-#	$(AM_CPPFLAGS)
-# export our symbols so they can be used by Gnash plugins
-#klash_LDFLAGS = -export-dynamic
-#klash_LDADD = \
-#	$(LIB_KDECORE) \
-#	$(LIB_KDEUI) \
-#	$(GNASH_LIBS)
-
-#klash_DEPENDENCIES = \
-#	$(GNASH_LIBS)  .configline
+	$(GNASH_LIBS) \
+	$(AM_LDFLAGS)
 #	 $(LIBLTDL) "-dlopen" self "-dlopen"
 
 CLEANFILES = klash.moc .configline
@@ -316,3 +407,10 @@
 clean-hook:
 	-rm -f core.* $(CLEANFILES)
 
+if DYNAMIC_GUI
+install-pluginsLTLIBRARIES: $(plugins_LTLIBRARIES)
+	test -d "$(DESTDIR)$(plugindir)" || $(mkinstalldirs) "$(DESTDIR)$(plugindir)"
+	for i in $(plugins_LTLIBRARIES); do \
+	  $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$i "$(DESTDIR)$(plugindir)/$$i" ; \
+	done
+endif

Index: backend/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/backend/Makefile.am,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- backend/Makefile.am	6 Jul 2007 08:27:19 -0000	1.56
+++ backend/Makefile.am	20 Jul 2007 01:50:31 -0000	1.57
@@ -22,6 +22,9 @@
 
 #AM_CPPFLAGS = # -Wall
 
+# this is where Gnash plugins get installed
+pluginsdir = $(libdir)/gnash/plugins
+
 ## WARNING: make sure GLIB_LIBS appears first
 ## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
 libgnashbackend_LIBS =  \
@@ -56,6 +59,9 @@
 	$(JPEG_CFLAGS) \
 	$(OGG_CFLAGS) \
 	$(BOOST_CFLAGS) \
+	$(OPENGL_CFLAGS) \
+	$(AGG_CFLAGS) \
+	$(CAIRO_CFLAGS) \
 	$(NULL)
 
 noinst_HEADERS = \
@@ -72,30 +78,11 @@
 
 # bin_PROGRAMS = gnash
 
-#noinst_LTLIBRARIES = libgbackend.la
 lib_LTLIBRARIES = libgnashbackend.la
 
-RENDER_SOURCES = render_handler_tri.cpp
+# RENDER_SOURCES = render_handler_tri.cpp
 SOUND_SOURCES = sound_handler.cpp
 
-if USE_RENDERER_AGG
-RENDER_SOURCES += render_handler_agg.cpp
-libgnashbackend_LIBS += $(AGG_LIBS)
-AM_CPPFLAGS += $(AGG_CFLAGS)
-endif
-
-if USE_RENDERER_CAIRO
-RENDER_SOURCES += render_handler_cairo.cpp
-libgnashbackend_LIBS += $(CAIRO_LIBS)
-AM_CPPFLAGS += $(CAIRO_CFLAGS)
-endif
-
-if USE_RENDERER_OPENGL
-RENDER_SOURCES += render_handler_ogl.cpp
-libgnashbackend_LIBS += $(OPENGL_LIBS) # $(GLEXT_LIBS)		
-AM_CPPFLAGS += $(OPENGL_CFLAGS) # $(GLEXT_CFLAGS)	
-endif
-
 if USE_SOUND_GST
 SOUND_SOURCES += sound_handler_gst.cpp sound_handler_gst.h 
 libgnashbackend_LIBS += $(GSTREAMER_LIBS) 
@@ -121,12 +108,36 @@
 	$(top_builddir)/server/libgnashserver.la  \
 	$(libgnashbackend_LIBS)
 
-libgnashbackend_la_SOURCES = \
-	$(RENDER_SOURCES) \
-	$(SOUND_SOURCES)
+libgnashbackend_la_SOURCES = $(SOUND_SOURCES)
 
 libgnashbackend_la_LDFLAGS = -release $(VERSION)
 
+noinst_LTLIBRARIES =		# set later on by conditionals
+if HAVE_OPENGL
+noinst_LTLIBRARIES += libgnashogl.la
+#plugins_LTLIBRARIES += libgnashogl.la
+libgnashogl_la_SOURCES = render_handler_tri.cpp render_handler_ogl.cpp 
+#libgnashogl_la_LDFLAGS = -module -avoid-version -no-undefined
+libgnashogl_la_LDFLAGS =
+endif
+
+if HAVE_AGG
+noinst_LTLIBRARIES += libgnashagg.la
+#plugins_LTLIBRARIES += libgnashagg.la
+libgnashagg_la_SOURCES = render_handler_tri.cpp render_handler_agg.cpp 
+#libgnashagg_la_LDFLAGS = -module -avoid-version -no-undefined
+libgnashagg_la_LDFLAGS = 
+libgnashagg_la_LIBADD = $(AGG_LIBS)
+endif
+
+if HAVE_CAIRO
+noinst_LTLIBRARIES += libgnashcairo.la
+# plugins_LTLIBRARIES += libgnashcairo.la
+libgnashcairo_la_SOURCES = render_handler_tri.cpp  render_handler_cairo.cpp
+#libgnashcairo_la_LDFLAGS = -module -avoid-version -no-undefined
+libgnashcairo_la_LDFLAGS =
+endif
+
 # Rebuild with GCC 4.x Mudflap support
 mudflap:
 	@echo "Rebuilding with GCC Mudflap support"
@@ -134,3 +145,9 @@
 
 clean-hook:
 	-rm -f core.*
+
+# install-pluginsLTLIBRARIES: $(plugins_LTLIBRARIES)
+# 	test -d "$(DESTDIR)$(pluginsdir)" || $(mkinstalldirs) "$(DESTDIR)$(pluginsdir)"
+# 	for i in $(plugins_LTLIBRARIES); do \
+# 	  $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$i "$(DESTDIR)$(pluginsdir)/$$i" ; \
+# 	done

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.358
retrieving revision 1.359
diff -u -b -r1.358 -r1.359
--- configure.ac	19 Jul 2007 14:44:28 -0000	1.358
+++ configure.ac	20 Jul 2007 01:50:31 -0000	1.359
@@ -1,5 +1,5 @@
 dnl  
-dnl    Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+dnl    Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 dnl  
 dnl  This program is free software; you can redistribute it and/or modify
 dnl  it under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.358 2007/07/19 14:44:28 strk Exp $
+dnl $Id: configure.ac,v 1.359 2007/07/20 01:50:31 rsavoye Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -49,11 +49,12 @@
 BUILDDATE="`date +%Y%m%d`"
 
 dnl These are required by automake
-AM_INIT_AUTOMAKE(gnash, "cvs$BUILDDATE")
+dnl AM_INIT_AUTOMAKE(gnash, "cvs$BUILDDATE")
+AM_INIT_AUTOMAKE
 AM_MAINTAINER_MODE
 AC_PROG_MAKE_SET
 
-AC_DISABLE_STATIC dnl Disable building static libs.
+dnl AC_DISABLE_STATIC dnl Disable building static libs.
 
 AM_GNU_GETTEXT([external])
 AM_CONDITIONAL(HAS_GETTEXT, test x$ac_cv_path_XGETTEXT != x)
@@ -141,6 +142,8 @@
    cross_compiling=yes
 fi
 
+dnl Don't add the GUI menu. Some educational systems think this adds
+dnl clutter and confusion, like on the OLPC.
 AC_ARG_ENABLE(menus,
   AC_HELP_STRING([--disable-menus],[Disable the GUI menus]),
 [case "${enableval}" in
@@ -154,6 +157,21 @@
 fi
 AM_CONDITIONAL(MENUS, test x$menus = xyes)
 
+dnl Enable building the gui support even when statically
+dnl linking. Normally this is only disabled when building a statically
+dnl linked gnash executable.
+AC_ARG_ENABLE(dynamic-gui,
+  AC_HELP_STRING([--enable-dynamic-gui],[Enable building dynamically loadable GUIs and renderers ]),
+[case "${enableval}" in
+  yes) dynamic_gui=yes ;;
+  no)  dynamic_gui=no ;;
+  *)   AC_MSG_ERROR([bad value ${enableval} for --enable-dynamic-gui option]) ;;
+esac],dynamic_gui=no)
+if test x"${dynamic_gui}" = x"yes"; then
+  AC_DEFINE([USE_DYNAMIC_GUI], [], [Dynamically loadable GUI and renderer support])
+fi
+AM_CONDITIONAL(DYNAMIC_GUI, test x${dynamic_gui} = xyes)
+
 dnl Write the file to disk in the plugin, if specified.
 AC_ARG_ENABLE(write,
   AC_HELP_STRING([--enable-write], [Makes the Mozilla plugin write the currently playing SWF movie to /tmp.]),
@@ -174,7 +192,7 @@
   yes) cygnal=yes ;;
   no)  cygnal=no ;;
   *)   AC_MSG_ERROR([bad value ${enableval} for disable-cygnal option]) ;;
-esac],cygnal=yes)
+esac],cygnal=no)
 
 AM_CONDITIONAL(CYGNAL, test x$cygnal = xyes)
 
@@ -211,59 +229,124 @@
   *)   AC_MSG_ERROR([bad value ${enableval} for --disable-klash option]) ;;
 esac],klash=yes)
 
-AC_ARG_ENABLE(gui,
-  AC_HELP_STRING([--enable-gui=TOOLKIT], [Specify GUI toolkit: GTK, FLTK, RISCOS, AQUA (OS X), FB (framebuffer), KDE or SDL[[GTK]] ]),
- [case "${enableval}" in
-   gtk|GTK) gui=gtk ;;
-   sdl|SDL) gui=sdl  ;;
-   aqua|AQUA) gui=aqua  ;;
-   kde|KDE) gui=kde  ;;
-   fb|FB) gui=fb  ;;
-   fltk|FLTK) gui=fltk  ;;
-   riscos|RISCOS) gui=riscos ;;
-   *)      AC_MSG_ERROR([invalid gui ${enableval} given]) ;;
-  esac],
- [gui=gtk]
+addgui=none
+build_fb=no
+build_fltk=no
+build_kde=no
+build_gtk=no
+build_sdl=no
+build_riscos=no
+build_aqua=no
+AC_ARG_WITH(gui,
+  AC_HELP_STRING([--with-gui=], [Use the specified GUI toolkit (default=gtk,kde)]),
+  if test -n ${withval}; then
+    addgui="${withval}"
+    withval=`echo ${withval} | tr '\054' ' ' `
+  fi
+  while test -n "${withval}" ; do
+    val=`echo ${withval} | cut -d ' ' -f 1`
+    [case "${val}" in
+      gtk|GTK|gtk2|GTK2)
+        build_gtk=yes
+        ;;
+      kde|KDE)
+        build_kde=yes
+        ;;
+      qt|QT)
+        build_qt=yes
+        ;;
+      sdl|SDL)
+        build_sdl=yes
+        ;;
+      aqua|AQUA|Aqua)
+        build_aqua=yes
+        ;;
+      riscos|RISCOS|RiscOS)
+        build_riscos=yes
+        ;;
+      fltk|FLTK|fltk2|FLTK2)
+        build_fltk=yes
+        ;;
+      fb|FB)
+        build_fb=yes
+        ;;
+      all|ALL)
+        build_fb=yes
+        build_fltk=yes
+        build_kde=yes
+        build_gtk=yes
+        build_sdl=yes
+dnl        build_riscos=yes
+        ;;
+      *) AC_MSG_ERROR([invalid gui ${withval} given (accept: gtk|kde|fltk|sdl|riscos|aqua|fb)])
+         ;;
+      esac]
+    withval=`echo ${withval} | cut -d ' ' -f 2-6`
+    if test x$val = x$withval; then
+      break;
+    fi
+  done
 )
 
-dnl if test x"$klash" = xyes -a x"$gui" != xkde; then
-dnl   AC_MSG_ERROR([You must use the kde GUI ( --enable-gui=KDE ) if you enable klash.])
-dnl fi
+if test x$addgui = xnone; then
+   build_gtk=yes
+   build_kde=yes
+dnl   addgui="gtk,kde"
+fi
 
-AC_ARG_ENABLE(renderer,
-  AC_HELP_STRING([--enable-renderer=engine], [Specify rendering engine: OpenGL, Agg or Cairo (experimental) [[OpenGL]] ]),
- [case "${enableval}" in
-   opengl|OpenGL) renderer=opengl ;;
-   cairo|Cairo)  renderer=cairo  ;;
-   agg|Agg|AGG)  renderer=agg  ;;
-   *)      AC_MSG_ERROR([invalid renderer ${enableval} given]) ;;
-  esac],
- [renderer=opengl]
+add_renderer=none
+build_ogl=no
+build_agg=no
+build_cairo=no
+AC_ARG_WITH(renderer,
+  AC_HELP_STRING([--with-renderer=], [Use the specified GUI toolkit (default=ogl,agg)]),
+  if test -n ${withval}; then
+    add_renderer="${withval}"
+    withval=`echo ${withval} | tr '\054' ' ' `
+  fi
+  while test -n "${withval}" ; do
+    val=`echo ${withval} | cut -d ' ' -f 1`
+    [case "${val}" in
+      ogl|OGL|gl|GL|opengl|OPENGL|OpenGL)
+        build_ogl=yes
+        ;;
+      agg|AGG|Agg)
+        build_agg=yes
+        ;;
+      cairo|CAIRO|Cairo)
+        build_cairo=yes
+        ;;
+      all|ALL|All)
+        build_ogl=yes
+        build_agg=yes
+        build_cairo=yes
+        ;;
+      *) AC_MSG_ERROR([invalid renderer ${withval} given (accept: ogl,agg,cairo)])
+         ;;
+      esac]
+    withval=`echo ${withval} | cut -d ' ' -f 2-6`
+    if test x$val = x$withval; then
+      break;
+    fi
+  done
 )
 
-if test x$renderer = xopengl; then
-  if test x"$gui" = xfb -o x"$gui" = xfltk; then
-    AC_MSG_ERROR([OpenGL renderer is not supported by the $gui gui. Try using AGG ( --enable-renderer=AGG ).]);
-  fi
-  AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
+if test x$add_renderer = xnone; then
+   build_ogl=yes
+   build_agg=yes
+dnl   add_renderer="ogl,agg"
 fi
-AM_CONDITIONAL(USE_RENDERER_OPENGL, test x$renderer = xopengl)
 
-if test x$renderer = xcairo; then
-  if test x"$gui" = xfb; then
-    AC_MSG_ERROR([cairo renderer is not supported by fb gui]);
+if test x$build_ogl = xyes; then
+  if test x$build_fb = xyes -o x$build_fltk = xyes; then
+    AC_MSG_ERROR([OpenGL renderer is not supported by the this gui. Try using AGG ( --enable-renderer=AGG ).]);
   fi
-  AC_DEFINE([RENDERER_CAIRO], [], [Use cairo renderer])
+  AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
 fi
-AM_CONDITIONAL(USE_RENDERER_CAIRO, test x$renderer = xcairo)
 
-if test x$renderer = xagg; then
-  if test x"$gui" != xfb -a x"$gui" != xgtk -a x"$gui" != xsdl -a x"$gui" != xriscos -a x"$gui" != xfltk -a x"$gui" != xkde; then
-    AC_MSG_ERROR([agg renderer is only supported by fb, gtk, riscos, sdl, fltk and kde GUIs]);
-  fi
+if test x$build_agg = xyes; then
   AC_DEFINE([RENDERER_AGG], [], [Use AntiGrain renderer])
 fi
-AM_CONDITIONAL(USE_RENDERER_AGG, test x$renderer = xagg)
 
 dnl 16 bit: RGB555, RGB565
 dnl 24 bit: RGB24, BGR24
@@ -308,8 +391,8 @@
 )
 
 if test x$pixelformat = xall; then
-  if test x$renderer = xagg; then
-    if test x"$gui" = x"gtk"; then
+  if test x$build_agg = xyes; then
+    if test x$build_gtk = xyes; then
       AC_DEFINE(PIXELFORMAT_RGB24, [1], [RGB24 pixel format])
       pixelformat="RGB24"
     else
@@ -443,6 +526,99 @@
 AC_PROG_INSTALL
 AM_COMPILER_LIB
 
+AC_LIBLTDL_INSTALLABLE
+AC_LIBTOOL_DLOPEN
+AC_LIBTOOL_WIN32_DLL
+AC_PROG_LIBTOOL
+AC_C_CONST
+AC_C_INLINE
+AC_SUBST([LIBTOOL_DEPS])
+AC_LIB_LTDL
+
+AM_CONDITIONAL(ENABLE_SHARED, [test x"${enable_shared}" = xyes])
+AM_CONDITIONAL(ENABLE_STATIC, [test x"${enable_shared}" = xno])
+AM_CONDITIONAL(STATIC_GUI, test x"${dynamic_gui}" = xno -o x"${enable_shared}" = xno)
+dnl build a statically linked executable
+if test x"${enable_shared}" = xno; then
+   g=`echo  $addgui | grep -c '\,'`
+   r=`echo  $add_renderer | grep -c '\,'`
+  if test $g -gt 0 -o $r -gt 0 ; then
+     AC_MSG_ERROR([When statically linking, you must pick only one GUI toolkit and one renderer])
+  fi
+  dnl If statically linking, and no gui is specified, force gtk
+  if test x$addgui = xnone; then
+     build_gtk=yes
+     build_kde=no
+     addgui=gtk
+     AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --with-gui= to change])
+  fi
+  dnl If statically linking, and no renderer is specified, force opengl
+  if test x$add_renderer = xnone; then
+     build_agg=no
+     build_ogl=yes
+     add_renderer=ogl
+     AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --with-renderer= to change])
+  fi
+else dnl building a dynamically linked executable without loadable GUI plugins
+  dnl If not dynamic loading, and no gui is specified, force gtk
+  if test x"${dynamic_gui}" = xno; then
+    if test x$addgui = xnone; then
+      build_gtk=yes
+      build_kde=no
+      addgui=gtk
+      AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --with-gui= to change])
+    fi
+    dnl If not dynamic loading, and no renderer is specified, force opengl
+    if test x$add_renderer = xnone; then
+      build_agg=no
+      build_ogl=yes
+      add_renderer=ogl
+      AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --with-renderer= to change])
+    fi
+  else
+    dnl If dynamically loading and no gui is specified, force gtk and kde
+    if test x$addgui = xnone; then
+      build_gtk=yes
+      build_kde=yes
+      addgui="gtk,kde"
+      AC_MSG_NOTICE([Defaulting to GTK and KDE as the GUIs, use --with-gui= to change])
+    fi
+    dnl If dynamically loading and no renderer is specified, force opengl and agg
+    if test x$add_renderer = xnone; then
+      build_ogl=yes
+      build_agg=yes
+      add_renderer="ogl,agg"
+      AC_MSG_NOTICE([Defaulting to OpenGL and AGG as the renderers, use --with-renderer= to change])
+    fi
+  fi
+fi
+
+AM_CONDITIONAL(BUILD_GTK_GUI, [ test x$build_gtk = xyes ])
+AM_CONDITIONAL(BUILD_KDE_GUI, [ test x$build_kde = xyes ])
+dnl AM_CONDITIONAL(BUILD_QT_GUI, [ test x$build_qt = xyes ])
+AM_CONDITIONAL(BUILD_FLTK_GUI, [ test x$build_fltk = xyes ])
+AM_CONDITIONAL(BUILD_SDL_GUI, [ test x$build_sdl = xyes ])
+AM_CONDITIONAL(BUILD_FB_GUI, [ test x$build_fb = xyes ])
+AM_CONDITIONAL(BUILD_AQUA_GUI, [ test x$build_aqua = xyes ])
+AM_CONDITIONAL(BUILD_RISCOS_GUI, [ test x$build_riscos = xyes ])
+
+AM_CONDITIONAL(BUILD_OGL_RENDERER, [ test x$build_ogl = xyes ])
+AM_CONDITIONAL(BUILD_AGG_RENDERER, [ test x$build_agg = xyes ])
+AM_CONDITIONAL(BUILD_CAIRO_RENDERER, [ test x$build_cairo = xyes ])
+
+dnl AC_CHECK_LIB(ltdl, lt_dlmutex_register, AC_DEFINE(LT_DLMUTEX, 1, [Has lt_dlmutex_register]),
+dnl                                         AC_DEFINE(LT_DLMUTEX, 0, [doesn't have lt_dlmutex_register]) )
+
+DLOPEN="-dlopen"
+DLPREOPEN="-dlpreopen"
+AC_SUBST(DLOPEN)
+AC_SUBST(DLPREOPEN)
+
+dnl dnl Substitute INCLTDL and LIBLTDL in the Makefiles
+AC_SUBST(INCLTDL)
+AC_SUBST(LIBLTDL)
+AC_SUBST(LIBTOOL_DEPS)
+
 dnl Darwin uses libtool instead of ar to produce libraries. We determine which one
 dnl we have here now. For some reason on Darwin, we don't get the
 dnl count from grep via stdin correctly. Writing a temp file does the
@@ -506,7 +682,6 @@
 
 AC_CHECK_FUNCS(mallinfo)
 PKG_PROG_PKG_CONFIG
-dnl LIBS+="-L/usr/lib64"
 AC_PATH_TOOL([AUTOTRACE], [autotrace])
 AC_HEADER_DIRENT
 
@@ -546,19 +721,23 @@
   LIBS=$save_LIBS
   ;;
 esac
-dnl AC_PATH_XTRA
-GNASH_PATH_X11
 
 AC_CHECK_HEADERS(malloc.h)
 AC_CHECK_HEADERS(getopt.h)
 AC_CHECK_HEADERS(libgen.h)
+AC_CHECK_LIB(m, sqrt)
 
-dnl seems unused
+dnl don't look for X11 when using a raw framebuffer for the GUI
+if test x$build_gtk = xyes -o x$build_kde = xyes -o x$build_fltk = xyes -o x$build_sdl = xyes; then
+dnl AC_PATH_XTRA
 dnl AC_CHECK_LIB(Xmu, XmuCvtStringToOrientation)
 dnl AC_CHECK_LIB(gmp, _gmp_get_memory_functions)
-AC_CHECK_LIB(m, sqrt)
-AC_CHECK_LIB(Xi, XInput_find_display)
-AC_CHECK_LIB(X11, XDisableAccessControl)
+  GNASH_PATH_X11
+  AC_CHECK_LIB(Xi, XInput_find_display)
+  AC_CHECK_LIB(X11, XDisableAccessControl)
+fi
+AM_CONDITIONAL(HAVE_X11, [test x$x11 = xyes])
+
 AC_CHECK_LIB(rt, shm_unlink)
 AC_CHECK_FUNCS(shm_open shm_unlink)
 AC_TRY_COMPILE([#include <strings.h>], [
@@ -594,8 +773,7 @@
 
 AC_LANG_PUSH(C++)
 AC_CACHE_CHECK([whether $CXX implements __PRETTY_FUNCTION__], ac_cv_implements___PRETTY_FUNCTION__, [
-        AC_TRY_LINK([
-#include <cstdio>
+  AC_TRY_LINK([#include <cstdio>
 ], 
                 [ std::printf("%s", __PRETTY_FUNCTION__); ], 
                 [ ac_cv_implements___PRETTY_FUNCTION__="yes" ],
@@ -607,8 +785,7 @@
 fi
 
 AC_CACHE_CHECK([whether $CXX implements __FUNCTION__], ac_cv_implements___FUNCTION__, [
-        AC_TRY_LINK([
-#include <cstdio>
+  AC_TRY_LINK([#include <cstdio>
 ], 
                 [ std::printf("%s", __FUNCTION__); ], 
                 [ ac_cv_implements___FUNCTION__="yes" ],
@@ -620,8 +797,7 @@
 fi
 
 AC_CACHE_CHECK([whether $CXX implements __func__], ac_cv_implements___func__, [
-        AC_TRY_LINK([
-#include <cstdio>
+  AC_TRY_LINK([#include <cstdio>
 ], 
                 [ std::printf("%s", __func__); ], 
                 [ ac_cv_implements___func__="yes" ],
@@ -671,7 +847,7 @@
 #include <stdio.h>
 #include <time.h>
 extern long timezone;
-], 
+  ], 
                 [ printf("%ld", timezone); ], 
                 [ ac_cv_long_timezone="yes" ],
                 [ ac_cv_long_timezone="no" ]
@@ -681,7 +857,6 @@
         AC_DEFINE(HAVE_LONG_TIMEZONE, [1], [extern timezone is a long integer, not a function])
 fi
 
-
 AC_CHECK_FUNCS(sysconf)
 AC_CHECK_FUNCS(shmget shmat shmdt mmap)
 AC_CHECK_FUNCS(memmove)
@@ -717,7 +892,9 @@
 GNASH_PKG_FIND(freetype2, [freetype/freetype.h], [freetype2 font library], FT_Load_Char)
 GNASH_PKG_FIND(fontconfig, [fontconfig/fontconfig.h], [fontconfig library], FcFontMatch)
 
-AC_PATH_MING
+if test x$cross_compiling = xno; then
+  AC_PATH_MING
+fi
 AM_CONDITIONAL(ENABLE_MING, [ test x"$MAKESWF" != x ])
 AM_CONDITIONAL(MAKESWF_SUPPORTS_PREBUILT_CLIPS,
         [ test x"$MAKESWF" != x && test $MING_VERSION_CODE -ge 00040002  ])
@@ -726,33 +903,36 @@
 AM_CONDITIONAL(MING_SUPPORTS_REPLACE_TAG,
         [ test x"$MAKESWF" != x && test $MING_VERSION_CODE -ge 00040005 ])
 
-AC_ARG_WITH([swfdec_testsuite],
+if test x$cross_compiling = xno; then
+  AC_ARG_WITH([swfdec_testsuite],
 	AC_HELP_STRING([--with-swfdec-testsuite],
 		[directory where swfdec testsuite (the 'test' dir) is]),
 	SWFDEC_TESTSUITE=${withval})
-AC_SUBST(SWFDEC_TESTSUITE)
+  AC_SUBST(SWFDEC_TESTSUITE)
+fi
 AM_CONDITIONAL(ENABLE_SWFDEC_TESTSUITE, [ test x"$SWFDEC_TESTSUITE" != x ])
 
 dnl
-dnl See if we can use the swfmill based testsuite
+dnl See if we can use the swfmill and mtasc based testsuites 
 dnl
-AC_PATH_PROG(SWFMILL, swfmill)
+if test x$cross_compiling = xno; then
+  AC_PATH_PROG(SWFMILL, swfmill)
+  AC_PATH_MTASC
+fi
 AM_CONDITIONAL(ENABLE_SWFMILL, [ test x"$SWFMILL" != x ])
+AM_CONDITIONAL(ENABLE_MTASC, [ test x"$MTASC" != x ])
 
 AC_PATH_PROG(DOXYGEN, doxygen)
 AM_CONDITIONAL(ENABLE_DOXYGEN, [ test x"$DOXYGEN" != x ])
 
-AC_PATH_MTASC
-AM_CONDITIONAL(ENABLE_MTASC, [ test x"$MTASC" != x ])
-
 dnl currently unused
 dnl GNASH_PKG_FIND(ogg, [ogg.h], [decode ogg streams], ogg_stream_init)
 
-if test x"$gui" = xsdl -o x"$media_handler" = xffmpeg -o x"$media_handler" = xmad; then
+if test x$build_sdl = xyes -o x"$media_handler" = xffmpeg -o x"$media_handler" = xmad; then
   GNASH_PATH_SDL
 fi
 
-AM_CONDITIONAL(HAS_SDL, [ test x$has_SDL = xyes ])
+AM_CONDITIONAL(HAVE_SDL, [ test x$has_SDL = xyes ])
 
 GNASH_PATH_BOOST
 GNASH_PATH_LIBXML
@@ -774,7 +954,7 @@
 fi
 
 dnl # Check KDE if kde gui or klash were requested
-if test x"$gui" = xkde -o x$klash = xyes; then
+if test x$build_kde = xyes -o x$klash = xyes -o x$plugin = xno; then
   kde=yes
   qt=yes
   GNASH_PATH_KDE
@@ -801,27 +981,27 @@
 
 AC_SUBST(KDE_CFLAGS)
 AC_SUBST(KDE_LIBS)
-if test x$renderer = xopengl; then
+if test x$build_ogl = xyes; then
   GNASH_PATH_OPENGL
 fi
 
-AM_CONDITIONAL(opengl, [test x$opengl = xyes])
-
 dnl Need GLIB for both GTK and GST
-if test x${gui} = "xgtk" -o x${media_handler} = "xgst"; then
+if test x$build_gtk = xyes -o x${media_handler} = "xgst"; then
   GNASH_PATH_GLIB
 fi
 
 AM_CONDITIONAL(HAVE_GLIB, [ test x$has_glib = xyes ])
 
-if test x$gui = xgtk; then
-  if test x$renderer = xopengl; then
+if test x$build_ogl = xyes -a x$build_gtk = xyes; then
     GNASH_PATH_GLEXT
-  fi
+fi
+if test x$build_gtk = xyes; then
   GNASH_PATH_GTK2
   GNASH_PATH_PANGO
   GNASH_PKG_FIND(atk, [atk/atk.h], [atk library], atk_focus_tracker_init, [1.0])
+fi
 
+if test x$build_gtk = xyes; then
   AC_ARG_ENABLE(ghelp,
     AC_HELP_STRING([--enable-ghelp], [Enable support for the GNOME help system]),
     [case "${enableval}" in
@@ -843,9 +1023,8 @@
   fi
 fi
 AM_CONDITIONAL(GHELP, [test x$ghelp = xyes])
-AM_CONDITIONAL(HAVE_AGG, [test x${ac_cv_path_agg_lib} != x])
 
-if test x"$gui" = x"fltk"; then
+if test x$build_fltk = xyes; then
   GNASH_PKG_FIND(Xft, [Xft.h], [xft library], XftGlyphRender)
 fi
 
@@ -865,34 +1044,15 @@
 AM_CONDITIONAL(HAVE_GLEXT, [test x$glext = xyes])
 
 dnl We don't have GTKGLExt, so default to SDL, and don't build the Firefox plugin
-if test x$glext = xno -a x$renderer = xopengl; then
-  if test x$gtk2 = xyes -a x$gui = xgtk; then
+if test x$glext = xno -a x$build_ogl = xyes; then
+  if test x$gtk2 = xyes -a x$build_gtk = xyes; then
     AC_ERROR([You have GTK installed, but not GtkGLExt. You need GtkGLExt to use the OpenGL renderer. Attempting to build SDL version])
   fi
   gui=sdl
   plugin=no
   AC_MSG_WARN([GTK2 specified for the GUI, but GtkGlExt is not present. Trying SDL instead.])
 fi
-
 AM_CONDITIONAL(PLUGIN, [test x$plugin = xyes])
-AM_CONDITIONAL(USE_GUI_GTK, test x$gui = xgtk)
-AM_CONDITIONAL(USE_GUI_SDL, test x$gui = xsdl)
-AM_CONDITIONAL(USE_GUI_AQUA, test x$gui = xaqua)
-AM_CONDITIONAL(USE_GUI_KDE, test x$gui = xkde)
-AM_CONDITIONAL(USE_GUI_FLTK, test x$gui = xfltk)
-AM_CONDITIONAL(USE_GUI_FB, test x$gui = xfb)
-AM_CONDITIONAL(USE_GUI_RISCOS, test x$gui = xriscos)
-
-case "${gui}" in
-  gtk)  AC_DEFINE([GUI_GTK],  [1], [Use GTK gui toolkit]) ;;
-  sdl)  AC_DEFINE([GUI_SDL],  [1], [Use SDL gui toolkit]) ;;
-  aqua)  AC_DEFINE([GUI_AQUA],[1], [Use AQUA (OS X) gui toolkit]) ;;
-  kde)  AC_DEFINE([GUI_KDE],  [1], [Use KDE gui toolkit]) ;;
-  fltk) AC_DEFINE([GUI_FLTK], [1], [Use FLTK gui toolkit]) ;;
-  fb) AC_DEFINE([GUI_FB], [1], [Use Framebuffer, no gui toolkit]) ;;
-  riscos) AC_DEFINE([GUI_RISCOS], [1], [Use RISC OS gui toolkit]) ;;
-  *)
-esac
 
 if test x"$media_handler" = x"ffmpeg"; then
   GNASH_PATH_FFMPEG
@@ -930,7 +1090,6 @@
   fi
 fi
 
-
 if test x"$media_handler" = x"mad"; then
   dnl Will set MAD_LIBS and MAD_CFLAGS.
   dnl Handles --with-mad-incl and --with-mad-lib
@@ -944,6 +1103,20 @@
   fi
 fi
 
+if test x$build_cairo = xyes; then
+  GNASH_PKG_FIND(cairo, [cairo.h], [cairo render library], cairo_status)
+dnl   if test x"${CAIRO_CFLAGS}" != x; then
+dnl      CAIRO_CFLAGS=`echo ${CAIRO_CFLAGS} | sed -e 's/ *//'`
+dnl      CAIRO_CFLAGS="${CAIRO_CFLAGS} ${CAIRO_CFLAGS}/cairo"
+dnl   fi
+  if test x$build_fb = xyes; then
+    AC_MSG_ERROR([cairo renderer is not supported by fb gui]);
+  fi
+  AC_DEFINE([RENDERER_CAIRO], [], [Use cairo renderer])
+fi
+
+AM_CONDITIONAL(HAVE_CAIRO, [test x"${CAIRO_LIBS}" != x])
+
 dnl I'm kinda lazy, get rid of this later... //Markus
 AM_CONDITIONAL(HAVE_MAD, test x"$media_handler" = xmad)
 
@@ -951,6 +1124,7 @@
 AM_CONDITIONAL(USE_SOUND_SDL, test x"$media_handler" = xmad -o x"$media_handler" = xffmpeg)
 AM_CONDITIONAL(USE_FFMPEG_ENGINE, test x"$media_handler" = xffmpeg)
 AM_CONDITIONAL(USE_MAD_ENGINE, test x"$media_handler" = xmad)
+AM_CONDITIONAL(HAVE_OPENGL, test x"${OPENGL_LIBS}" != x)
 
 dnl AM_CONDITIONAL(HAVE_FFMPEG, [test x"${FFMPEG_LIBS}" != x])
 
@@ -970,50 +1144,23 @@
 dnl I'm kinda lazy, get rid of this later... //Markus
 AM_CONDITIONAL(HAVE_GST, test x$media_handler = xgst)
 
-if test x$gui = xfltk; then
+if test x$build_fltk = xyes; then
   GNASH_PKG_FIND(fltk2, [fltk/FL_API.h], [Fast Light Toolkit], fl_window_flush)
 fi
 
-AM_CONDITIONAL(HAS_FLTK2, [ test x$has_fltk2 = xyes ])
+AM_CONDITIONAL(HAVE_FLTK2, [ test x$has_fltk2 = xyes ])
 AM_CONDITIONAL(HAS_XFT, [ test x$has_xft = xyes ])
 
-
-if test x$renderer = xagg; then
+if test x$build_agg = xyes; then
   GNASH_PATH_AGG
 fi
 
-if test x$renderer = xcairo -o x$gui = xgtk; then
-  dnl Cairo renderer and GTK gui always need Cairo
-  GNASH_PKG_FIND(cairo, [cairo.h], [cairo render library], cairo_status)
-fi
-
 GNASH_DOCBOOK
 AM_CONDITIONAL(DOCBOOK, test x$docbook = xyes)
+AM_CONDITIONAL(HAVE_AGG, [test x"${AGG_LIBS}" != x])
 
 GNASH_PATH_CURL
 
-AC_LIBLTDL_INSTALLABLE
-AC_LIBTOOL_DLOPEN
-AC_LIBTOOL_WIN32_DLL
-AC_PROG_LIBTOOL
-AC_C_CONST
-AC_C_INLINE
-AC_SUBST([LIBTOOL_DEPS])
-AC_LIB_LTDL
-
-dnl AC_CHECK_LIB(ltdl, lt_dlmutex_register, AC_DEFINE(LT_DLMUTEX, 1, [Has lt_dlmutex_register]),
-dnl                                         AC_DEFINE(LT_DLMUTEX, 0, [doesn't have lt_dlmutex_register]) )
-
-DLOPEN="-dlopen"
-DLPREOPEN="-dlpreopen"
-AC_SUBST(DLOPEN)
-AC_SUBST(DLPREOPEN)
-
-dnl dnl Substitute INCLTDL and LIBLTDL in the Makefiles
-AC_SUBST(INCLTDL)
-AC_SUBST(LIBLTDL)
-AC_SUBST(LIBTOOL_DEPS)
-
 dnl Define winsock if we're on windows. We could do something complicated,
 dnl but since AC_EXEEXT does it for us, we'll do this the easy way.
 if test x"$EXEEXT" = "exe"; then
@@ -1077,7 +1224,7 @@
   [strict=no]
 )
 
-if test x"$strict" = x"yes" -a x"$renderer" = x"agg"; then
+if test x"$strict" = x"yes" -a x$build_agg = xyes; then
   AC_MSG_ERROR([agg renderer will fail with --enable-strict.]);	
 fi
 
@@ -1131,11 +1278,11 @@
 
 dnl Define convienience constants so Gnash can print out the
 dnl default configuration of the build.
-RENDERER_CONFIG=$renderer
+RENDERER_CONFIG=${add_renderer}
 AC_SUBST(RENDERER_CONFIG)
-GUI_CONFIG=$gui
+GUI_CONFIG=${addgui}
 AC_SUBST(GUI_CONFIG)
-MEDIA_CONFIG=$media_handler
+MEDIA_CONFIG=${media_handler}
 AC_SUBST(MEDIA_CONFIG)
 
 dnl AC_CONFIG_LINKS(doc/C/images)
@@ -1177,11 +1324,11 @@
 plugin/Makefile
 plugin/klash/Makefile
 cygnal/Makefile
-cygnal/ACT/Makefile
-cygnal/IO/Makefile
-cygnal/HTTP/Makefile
-cygnal/Net/Makefile
-cygnal/unit_tests/Makefile
+dnl cygnal/ACT/Makefile
+dnl cygnal/IO/Makefile
+dnl cygnal/HTTP/Makefile
+dnl cygnal/Net/Makefile
+dnl cygnal/unit_tests/Makefile
 )
 
 ###
@@ -1222,6 +1369,12 @@
   echo "        Konqueror plugin disabled."
 fi
 
+if test x"${dynamic_gui}" = x"yes"; then
+  echo "        Loadable GUI & renderer enabled (default). Use --disable-dynamic-gui to disable"
+else
+  echo "        Loadable GUI & renderer disabled."
+fi
+
 if test x"$ghelp" = x"yes"; then
   echo "        GNOME help enabled"
 else
@@ -1250,7 +1403,7 @@
   echo "        Top level for cross compiling support files is: $with_top_level"
 fi
 
-if test x"$gui" = xgtk -a x"$pixelformat" = xrgb565; then
+if test x$build_gtk = xyes -a x$pixelformat = xrgb565; then
   echo "        WARNING: Pixel format RGB565 selected in combination with the"
   echo "                 GTK GUI. Only a hacked GTK will work (e.g. on the OLPC)."
 fi
@@ -1258,9 +1411,8 @@
 if test x"$extensions_list" != x; then
   echo "        Building extensions: ${extensions_list}"
 fi
-
-echo "        Renderer engine: "$renderer
-echo "        GUI: "$gui
+echo "        GUI toolkits supported: ${addgui}"
+echo "        Renderers supported: ${add_renderer}"
 echo "        Media handler: "$media_handler
 if test x"$media_handler" = xffmpeg -o x"$media_handler" = xmad; then
 echo "        Using SDL for sound handling"
@@ -1301,7 +1453,7 @@
     echo "        KDE flags are: $KDE_CFLAGS"
     echo "        KDE libs are: $KDE_LIBS"
   else
-    if test x$gui = xkde -o x$klash = xyes ; then
+    if test x$build_kde = xyes -o x$klash = xyes ; then
       echo "        ERROR: No KDE development package installed!"
       echo "               Reconfigure with --disable-klash and/or"
       echo "               change to a different gui with --enable-gui=..."
@@ -1315,7 +1467,7 @@
     echo "        QT flags are: $QT_CFLAGS"
     echo "        QT libs are: $QT_LIBS"
   else
-    if test x$gui = xkde -o x$klash = xyes ; then
+    if test x$build_kde = xyes -o x$klash = xyes ; then
       if test x"$has_kde" != xyes; then
 	# We have already moaned about KDE absence, so presumably they'll get
 	# QT-dev when they install KDE-dev
@@ -1328,8 +1480,8 @@
 	if test x$klash = xyes; then
           echo "               or reconfigure with --disable-klash"
 	fi
-	if test x$gui = xkde; then
-          echo "               or change to a different gui with --enable-gui=..."
+	if test x$build_kde = xyes; then
+          echo "               or change to a different gui with --with-gui=..."
 	fi
       fi
       nogo=true
@@ -1395,7 +1547,7 @@
 fi
 
 dnl GLEXT is only needed for GTK/OpenGL
-if test x"$gui" = x"gtk" -a x"$renderer" = xopengl ; then
+if test x$build_gtk = xyes -a x$build_ogl = xyes ; then
   if test x"$GLEXT_LIBS" != x; then
     if test x"$GLEXT_CFLAGS" != x; then
       echo "        GtkGLExt flags are: $GLEXT_CFLAGS"
@@ -1404,8 +1556,8 @@
     fi
       echo "        GtkGLExt libs are: $GLEXT_LIBS"
   else
-    if test x"$gui" = x"gtk"; then
-      if test x"$renderer" = x"opengl"; then
+    if test x$build_gtk = xyes; then
+      if test x$build_ogl = xyes; then
         echo "        ERROR: No GtkGLExt development package installed!"
 	echo "               It is needed to build the GTK/OpenGL GUI/renderer combination."
 	echo "               Either install it from http://gtkglext.sourceforge.net"
@@ -1418,8 +1570,7 @@
   fi
 fi
 
-if test x"$gui" = x"gtk"; then
-
+if test x$build_gtk = xyes; then #{
   if test x"$GTK2_LIBS" != x; then
     if test x"$GTK2_CFLAGS" != x; then
       echo "        GTK2 flags are: $GTK2_CFLAGS"
@@ -1554,7 +1705,7 @@
     fi
   fi
 
-if test "$renderer" = "cairo"; then
+if test x$build_cairo = xyes; then
   if test x"$CAIRO_LIBS" != x; then
     if test x"$CAIRO_CFLAGS" != x; then
       echo "        Cairo flags are: $CAIRO_CFLAGS"
@@ -1573,7 +1724,7 @@
   fi
 fi
 
-if test x$gui = xfltk; then
+if test x$build_fltk = xyes; then
   if test x"$FLTK2_LIBS" != x; then
     if test x"$FLTK2_CFLAGS" != x; then
       echo "        FLTK flags are: $FLTK2_CFLAGS"
@@ -1592,7 +1743,7 @@
   fi
 fi
 
-if test x"$gui" = x"fltk"; then
+if test x$build_fltk = xyes; then
   if test x"$XFT_LIBS" != x; then
     if test x"$XFT_CFLAGS" != x; then
       echo "        Xft flags are: $XFT_CFLAGS"
@@ -1611,7 +1762,7 @@
 
 # See whether SDL is required
 need_sdl=false
-test x"$gui" = x"sdl"			&& need_sdl=true
+test x$build_sdl = xyes			&& need_sdl=true
 test x"$media_handler" = x"ffmpeg"	&& need_sdl=true
 test x"$media_handler" = x"mad"		&& need_sdl=true
 
@@ -1624,7 +1775,7 @@
     echo "               Install it from http://www.libsdl.org/download-1.2.php"
     echo "               or .deb users: apt-get install libsdl1.2-dev"
     echo "               or .rpm users: yum install SDL-devel"
-    [ x"$gui" == x"sdl" ] &&
+    [ x$build_sdl == xyes ] &&
 	echo "               or select a different GUI with --enable-gui= "
     [ x"$media_handler" = x"ffmpeg" -o x"$media_handler" = x"mad" ] &&
 	echo "               or use --enable-media=gst"
@@ -1689,7 +1840,7 @@
   echo "                 or .rpm users: yum install curl-devel"
 fi
 
-if test x$renderer = xagg; then
+if test x$build_agg = xyes; then
   echo "        AGG Pixel format is: $pixelformat"
   if test x"${agg25}" = xyes; then
     if test x"$AGG_LIBS" != x; then
@@ -1740,7 +1891,9 @@
  nogo=true
 fi
 
-if test x"$MING_LIBS" != x; then
+dnl don't look for the flash compilers when cross compiling.
+if test x$cross_compiling = xno; then
+  if test x"$MING_LIBS" != x; then
     echo "        MING version code is $MING_VERSION_CODE"
     echo "        MING flags are $MING_CFLAGS"
     echo "        MING libs are $MING_LIBS"
@@ -1750,28 +1903,29 @@
     echo "                 installed to run most of the tests in Gnash testsuite."
     echo "                 Install it from http://ming.sourceforge.net"
     echo "                 or .deb users: apt-get install libming-dev"
-fi
+  fi
 
-if test x"$SWFDEC_TESTSUITE" != x; then
+  if test x"$SWFDEC_TESTSUITE" != x; then
     echo "        SWFDEC testsuite dir is $SWFDEC_TESTSUITE"
-fi
+  fi
 
-if test x"$MTASC" != x; then
+  if test x"$MTASC" != x; then
     echo "        MTASC is $MTASC"
     echo "        MTASC CLASSPATH is $MTASC_CLASSPATH"
-else
+  else
     echo "        WARNING: You need to have the MTASC compiler packages installed"
     echo "                 to run some of the tests in Gnash testsuite."
     echo "                 You can install it from http://mtasc.org"
     echo "                 or .deb users: apt-get install mtasc"
-fi
+  fi
 
-if test x"$SWFMILL" != x; then
+  if test x"$SWFMILL" != x; then
     echo "        SWFMILL is $SWFMILL"
-else
+  else
     echo "        WARNING: You need to have the 'swfmill' tool installed"
     echo "                 to run some of the tests in Gnash testsuite."
     echo "                 You can install it from http://iterative.org/swfmill/"
+  fi
 fi
 
 if test x"$Z_LIBS" != x; then

Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/Makefile.am,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -b -r1.79 -r1.80
--- Makefile.am	1 Jul 2007 10:53:46 -0000	1.79
+++ Makefile.am	20 Jul 2007 01:50:31 -0000	1.80
@@ -15,7 +15,7 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 # 
 
-# $Id: Makefile.am,v 1.79 2007/07/01 10:53:46 bjacques Exp $
+# $Id: Makefile.am,v 1.80 2007/07/20 01:50:31 rsavoye Exp $
 
 ## Process this file with automake to produce Makefile.in
 AUTOMAKE_OPTIONS = 1.6.0
@@ -100,38 +100,6 @@
 
 # Set a few variables to what features we selected so we can dump it with the
 # test of the config
-if USE_SOUND_GST
-  MEDIA_OPT=gst
-endif
-
-if USE_MAD_ENGINE
-  MEDIA_OPT=mad
-endif
-if USE_FFMPEG_ENGINE
-  MEDIA_OPT=ffmpeg
-endif
-
-if USE_GUI_GTK
-  GUI_OPT=gtk2
-endif
-if USE_GUI_SDL
-  GUI_OPT=sdl
-endif
-if USE_GUI_KDE
-  GUI_OPT=kde
-endif
-if USE_GUI_FLTK
-  GUI_OPT=fltk2
-endif
-if USE_RENDERER_OPENGL
-  RENDER_OPT=opengl
-endif
-if USE_RENDERER_CAIRO
-  RENDER_OPT=cairo
-endif
-if USE_RENDERER_AGG
-  RENDER_OPT=agg
-endif
 
 dumpconfig:
 	@echo ""
@@ -168,13 +136,13 @@
 	@echo "	QT_CFLAGS is $(QT_CFLAGS)"
 	@echo "	QT_LIBS is $(QT_LIBS)"
 endif
-if USE_GUI_FLTK
+if BUILD_FLTK_GUI
 	@echo "	FLTK2_CFLAGS is $(FLTK2_CFLAGS)"
 	@echo "	FLTK2_LIBS is $(FLTK2_LIBS)"
 	@echo "	XFT_CFLAGS is $(XFT_CFLAGS)"
 	@echo "	XFT_LIBS is $(XFT_LIBS)"
 endif
-if USE_GUI_GTK
+if BUILD_GTK_GUI
 	@echo "	GTK2_CFLAGS is $(GTK2_CFLAGS)"
 	@echo "	GTK2_LIBS is $(GTK2_LIBS)"
 	@echo "	PANGO_CFLAGS is $(PANGO_CFLAGS)"
@@ -234,13 +202,13 @@
 	@echo "Graphics support..."	
 	@echo "	CAIRO_CFLAGS is $(CAIRO_CFLAGS)"
 	@echo "	CAIRO_LIBS is $(CAIRO_LIBS)"
-if USE_RENDERER_OPENGL
+if BUILD_OGL_RENDERER
 	@echo "	GLEXT_CFLAGS is $(GLEXT_CFLAGS)"
 	@echo "	GLEXT_LIBS is $(GLEXT_LIBS)"
 	@echo "	OPENGL_CFLAGS is $(OPENGL_CFLAGS)"
 	@echo "	OPENGL_LIBS is $(OPENGL_LIBS)"
 endif
-if USE_RENDERER_AGG
+if BUILD_AGG_RENDERER
 	@echo "	AGG_CFLAGS is $(AGG_CFLAGS)"
 	@echo "	AGG_LIBS is $(AGG_LIBS)"
 endif
@@ -249,10 +217,10 @@
 	@echo "legit value"
 	@echo ""
 	@echo "Configurable options are:"
-	@echo "Media handler: $(MEDIA_OPT)"
-	@echo "Renderer engine: $(RENDER_OPT)"
-	@echo "GUI: $(GUI_OPT)"
-	@echo "Extensions: $(EXTENSIONS_LIST)"
+	@echo "Media handler: $(MEDIA_CONFIG)"
+	@echo "Renderer engine: $(RENDERER_CONFIG)"
+	@echo "GUI: $(GUI_CONFIG)"
+#	@echo "Extensions: "
 
 check: check-recursive anal
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3769
retrieving revision 1.3770
diff -u -b -r1.3769 -r1.3770
--- ChangeLog	19 Jul 2007 15:57:18 -0000	1.3769
+++ ChangeLog	20 Jul 2007 01:50:31 -0000	1.3770
@@ -1,3 +1,41 @@
+2007-07-19  Rob Savoye  <rob@deal.welcomehome.org>
+
+	* gui/Makefile.am: Use *_CONFIG variables instead of *_OPT
+	ones. Use BUILD_* conditionals instead of USE_GUI.
+	* backend/Makefile.am: Build seperate libraries for each backend.
+	* configure.ac: Don't pass the data to AM_INIT_AUTOMAKE. Don't
+	disable static libs. Add option for dynamically loading
+	guis. (disabled by default for now). Don't build cygnal by
+	default. Remove --enable-gui and --enable-renderer with new
+	options, --with-gui and --with-renderer to list multiple options
+	for guis and renderers. Don't configure cygnal sub directories yet.
+	* Makefile.am: Use *_CONFIG variables instead of *_OPT ones.
+	* extensions/Makefile.am: Use BUILD_* conditionals instead of
+	USE_GUI.
+	* libbase/Makefile.am: Use HAVE_SDL instead of HAS_SDL.
+	* macros/gtkglext.m4: Use --libs-only-l insted of --libs.
+	* testsuite/misc-ming.all/DefineEditTextTest.c: Include fontlib.h.
+	* macros/libltdl.m4: Move the serial numbers to the top to keep
+	automate 1.19 happy.  
+	* macros/x11.m4: Don't put a conditional in an if block.
+
+2007-07-15  Rob Savoye  <rob@deal.welcomehome.org>
+
+	* po/Makefile.am: Add -Wno-portability to AUTOMAKE_OPTIONS to
+	stop complaints we don't care about. 
+	* gui/Makefile.am: Add -Wno-portability to AUTOMAKE_OPTIONS to
+	stop complaints we don't care about. 
+	* testsuite/misc-ming.all/Makefile.am: Add -Wno-portability to
+	AUTOMAKE_OPTIONS to stop complaints we don't care about.
+	* testsuite/misc-swfmill.all/Makefile.am: Add -Wno-portability to
+	AUTOMAKE_OPTIONS to stop complaints we don't care about.
+	* testsuite/swfdec/Makefile.am: Add -Wno-portability to
+	AUTOMAKE_OPTIONS to stop complaints we don't care about.
+
+2007-07-14  Rob Savoye  <rob@bertha.welcomehome.org>
+
+	* configure.ac: Add new Cygnal directories.
+
 2007-07-19 Sandro Santilli <strk@keybit.net>
 
 	* testsuite/actionscript.all/TextField.as: more successes.
@@ -90,6 +128,7 @@
 	  server/asobj/{Sound, Netstream}Ffmpeg.h, gui/gnash.cpp: Fix for
 	 linking.
 
+>>>>>>> 1.3749
 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
 
 	* testsuite/actionscript.all/MovieClip.as: more tests, all passed.
@@ -110,6 +149,7 @@
 	  handling cleanups, for better management of key listeners. change
 	  key listeners container from std::vector to std::set. Correct indent.
 	
+>>>>>>> 1.3745
 2007-07-14  Rob Savoye  <rob@bertha.welcomehome.org>
 
 	* configure.ac: Add new Cygnal directories.
@@ -240,6 +280,7 @@
 	* testsuite/actionscript.all/Makefile.am: activate enumerate.as and
 	  case.as.
 
+>>>>>>> 1.3741
 2007-07-11 Sandro Santilli <strk@keybit.net>
 
 	* server/edit_text_character.cpp (remove the "default" font logic,

Index: libbase/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/libbase/Makefile.am,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- libbase/Makefile.am	1 Jul 2007 10:54:07 -0000	1.76
+++ libbase/Makefile.am	20 Jul 2007 01:50:32 -0000	1.77
@@ -70,7 +70,7 @@
 	$(PTHREAD_LIBS) \
 	$(NULL)
 
-if HAS_SDL
+if HAVE_SDL
 SDL_FILE = tu_file_SDL.cpp
 libgnashbase_la_LIBADD += $(SDL_LIBS)
 else

Index: extensions/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/extensions/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- extensions/Makefile.am	1 Jul 2007 10:53:58 -0000	1.8
+++ extensions/Makefile.am	20 Jul 2007 01:50:32 -0000	1.9
@@ -32,7 +32,7 @@
 endif
 
 if BUILD_GTK_EXT
-if USE_GUI_GTK
+if BUILD_GTK_GUI
 OTHER_DIRS += gtk2
 endif
 endif

Index: macros/x11.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/x11.m4,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- macros/x11.m4	1 Jul 2007 10:54:14 -0000	1.12
+++ macros/x11.m4	20 Jul 2007 01:50:32 -0000	1.13
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
-dnl $Id: x11.m4,v 1.12 2007/07/01 10:54:14 bjacques Exp $
+dnl $Id: x11.m4,v 1.13 2007/07/20 01:50:32 rsavoye Exp $
 
 AC_DEFUN([GNASH_PATH_X11],
 [
@@ -121,8 +121,6 @@
     x11=yes
   fi
 
-  AM_CONDITIONAL(HAVE_X11, [test x$x11 = xyes])
-
   if test "x$x11" = xyes; then
     AC_DEFINE(HAVE_X11, [1], [X11 headers and libraries])
   fi

Index: macros/libltdl.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/libltdl.m4,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- macros/libltdl.m4	1 Jul 2007 10:54:13 -0000	1.3
+++ macros/libltdl.m4	20 Jul 2007 01:50:32 -0000	1.4
@@ -9,6 +9,7 @@
 
 # serial 48 AC_PROG_LIBTOOL
 
+# serial 7 AC_LIB_LTDL
 
 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
 # -----------------------------------------------------------
@@ -6419,8 +6420,6 @@
 ## unlimited permission to copy and/or distribute it, with or without
 ## modifications, as long as this notice is preserved.
 
-# serial 7 AC_LIB_LTDL
-
 # AC_WITH_LTDL
 # ------------
 # Clients of libltdl can use this macro to allow the installer to

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- testsuite/misc-ming.all/DefineEditTextTest.c	18 Jul 2007 05:20:43 -0000	1.18
+++ testsuite/misc-ming.all/DefineEditTextTest.c	20 Jul 2007 01:50:32 -0000	1.19
@@ -33,6 +33,7 @@
 #include <ming.h>
 
 #include "ming_utils.h"
+#include "fontlib.h"
 
 #define OUTPUT_VERSION 7
 #define OUTPUT_FILENAME "DefineEditTextTest.swf"



From MAILER-DAEMON Thu Jul 19 22:02:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBhor-0004Iq-Ox
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 22:02:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBhoq-0004Ii-57
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 22:02:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBhop-0004IR-0Z
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 22:02:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBhoo-0004IJ-T4
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 22:02:10 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IBhoo-0001pG-5H
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 22:02:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IBhon-0003fF-3U
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 02:02:09 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IBhom-0003fC-Vm
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 02:02:09 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBhom-0003fC-Vm@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Fri, 20 Jul 2007 02:02:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 02:02:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/20 02:02:08

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: DefineEditTextTest.c 
	                         unload_movieclip_test1.c 

Log message:
	* testsuite/misc-ming.all/unload_movieclip_test1.c: comments
	* testsuite/misc-ming.all/DefineEditTextTest.c: removed some incorrect
	  tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3770&r2=1.3771
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/unload_movieclip_test1.c?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3770
retrieving revision 1.3771
diff -u -b -r1.3770 -r1.3771
--- ChangeLog	20 Jul 2007 01:50:31 -0000	1.3770
+++ ChangeLog	20 Jul 2007 02:02:08 -0000	1.3771
@@ -1,3 +1,9 @@
+2007-07-20 Zou Lunkai <zoulunkai@gmail.com>
+	
+	* testsuite/misc-ming.all/unload_movieclip_test1.c: comments
+	* testsuite/misc-ming.all/DefineEditTextTest.c: removed some incorrect
+	  tests.
+	  
 2007-07-19  Rob Savoye  <rob@deal.welcomehome.org>
 
 	* gui/Makefile.am: Use *_CONFIG variables instead of *_OPT

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- testsuite/misc-ming.all/DefineEditTextTest.c	20 Jul 2007 01:50:32 -0000	1.19
+++ testsuite/misc-ming.all/DefineEditTextTest.c	20 Jul 2007 02:02:08 -0000	1.20
@@ -120,11 +120,13 @@
   SWFMovie_nextFrame(mo); // 1st frame 
 
   // checks before placing any swf defined TextField
-  check(mo, "!TextField.prototype.hasOwnProperty('background')");
-  check(mo, "!TextField.prototype.hasOwnProperty('backgroundColor')");
-  check(mo, "!TextField.prototype.hasOwnProperty('text')");
-  check(mo, "!TextField.prototype.hasOwnProperty('textColor')");
-  check(mo, "!TextField.prototype.hasOwnProperty('_alpha')");
+  // Note: the dejagnuclip already placed some texts, so the following 
+  // does not work.
+  //check(mo, "!TextField.prototype.hasOwnProperty('background')");
+  //check(mo, "!TextField.prototype.hasOwnProperty('backgroundColor')");
+  //check(mo, "!TextField.prototype.hasOwnProperty('text')");
+  //check(mo, "!TextField.prototype.hasOwnProperty('textColor')");
+  //check(mo, "!TextField.prototype.hasOwnProperty('_alpha')");
 
   /*********************************************
    *

Index: testsuite/misc-ming.all/unload_movieclip_test1.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/unload_movieclip_test1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/unload_movieclip_test1.c	18 Jul 2007 05:20:43 -0000	1.2
+++ testsuite/misc-ming.all/unload_movieclip_test1.c	20 Jul 2007 02:02:08 -0000	1.3
@@ -19,6 +19,8 @@
 /*
  * zou lunkai  zoulunkai@gmail.com
  *
+ * Test "this" context in the UNLOAD event handler.
+ *
  * run as ./unload_movieclip_test1
  */
 



From MAILER-DAEMON Thu Jul 19 22:48:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBiY5-0004BZ-L4
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 22:48:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBiY4-0004B8-GX
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 22:48:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBiY3-0004Ak-Mk
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 22:48:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBiY3-0004Ae-Hb
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 22:48:55 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IBiY2-0003SR-Oa
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 22:48:55 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6K2mkJ99105;
	Fri, 20 Jul 2007 04:48:46 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Fri, 20 Jul 2007 04:48:46 +0200
To: Rob Savoye <rob@welcomehome.org>
Subject: Re: [Gnash-commit] gnash gui/Makefile.am backend/Makefile.am confi...
Message-ID: <20070720024846.GC87615@keybit.net>
Mail-Followup-To: Rob Savoye <rob@welcomehome.org>, gnash-commit@gnu.org
References: <E1IBhdZ-0003Uk-3B@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1IBhdZ-0003Uk-3B@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 02:48:56 -0000

On Fri, Jul 20, 2007 at 01:50:33AM +0000, Rob Savoye wrote:

> 		default. Remove --enable-gui and --enable-renderer with new
> 		options, --with-gui and --with-renderer to list multiple options
> 		for guis and renderers. 

I think --enable-gui and --enable-renderer would still make sense for a list.
Also, keeping that syntax doesn't force you to change your configure line,
for example  I have:

	./configure --enable-gui=gtk --enable-renderer=agg

With the new layout it would still work, as it would adding new libs:

	./configure --enable-gui=gtk,kde --enable-renderer=agg,cairo,ogl

Even better, if --enable-XXX can be specified multiple times, as in :

	./configure --enable-gui=gtk --enable-gui=kde --enable-renderer=agg,cairo

(more flexible)

--strk;



From MAILER-DAEMON Thu Jul 19 23:15:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBixc-0006i8-Dl
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 23:15:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBixb-0006i3-FA
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 23:15:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBixZ-0006hr-SY
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 23:15:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBixZ-0006ho-MV
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 23:15:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBixZ-0008NI-Ds
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 23:15:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBixY-0000Hi-2g
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 03:15:16 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBixX-0000Hf-L1
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 03:15:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBixX-0000Hf-L1@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 20 Jul 2007 03:15:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 03:15:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/20 03:15:15

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: rename the gui/renderer selection switch
	          back to --enable-{gui,renderer} so we don't need to update
	          our existing configuration wrapper scripts.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3771&r2=1.3772
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.359&r2=1.360

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3771
retrieving revision 1.3772
diff -u -b -r1.3771 -r1.3772
--- ChangeLog	20 Jul 2007 02:02:08 -0000	1.3771
+++ ChangeLog	20 Jul 2007 03:15:14 -0000	1.3772
@@ -1,3 +1,9 @@
+2007-07-20 Sandro Santilli <strk@keybit.net>
+
+	* configure.ac: rename the gui/renderer selection switch
+	  back to --enable-{gui,renderer} so we don't need to update
+	  our existing configuration wrapper scripts.
+
 2007-07-20 Zou Lunkai <zoulunkai@gmail.com>
 	
 	* testsuite/misc-ming.all/unload_movieclip_test1.c: comments

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.359
retrieving revision 1.360
diff -u -b -r1.359 -r1.360
--- configure.ac	20 Jul 2007 01:50:31 -0000	1.359
+++ configure.ac	20 Jul 2007 03:15:15 -0000	1.360
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.359 2007/07/20 01:50:31 rsavoye Exp $
+dnl $Id: configure.ac,v 1.360 2007/07/20 03:15:15 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -237,14 +237,14 @@
 build_sdl=no
 build_riscos=no
 build_aqua=no
-AC_ARG_WITH(gui,
-  AC_HELP_STRING([--with-gui=], [Use the specified GUI toolkit (default=gtk,kde)]),
-  if test -n ${withval}; then
-    addgui="${withval}"
-    withval=`echo ${withval} | tr '\054' ' ' `
+AC_ARG_ENABLE(gui,
+  AC_HELP_STRING([--enable-gui=], [Use the specified GUI toolkit (default=gtk,kde)]),
+  if test -n ${enableval}; then
+    addgui="${enableval}"
+    enableval=`echo ${enableval} | tr '\054' ' ' `
   fi
-  while test -n "${withval}" ; do
-    val=`echo ${withval} | cut -d ' ' -f 1`
+  while test -n "${enableval}" ; do
+    val=`echo ${enableval} | cut -d ' ' -f 1`
     [case "${val}" in
       gtk|GTK|gtk2|GTK2)
         build_gtk=yes
@@ -278,11 +278,11 @@
         build_sdl=yes
 dnl        build_riscos=yes
         ;;
-      *) AC_MSG_ERROR([invalid gui ${withval} given (accept: gtk|kde|fltk|sdl|riscos|aqua|fb)])
+      *) AC_MSG_ERROR([invalid gui ${enableval} given (accept: gtk|kde|fltk|sdl|riscos|aqua|fb)])
          ;;
       esac]
-    withval=`echo ${withval} | cut -d ' ' -f 2-6`
-    if test x$val = x$withval; then
+    enableval=`echo ${enableval} | cut -d ' ' -f 2-6`
+    if test x$val = x$enableval; then
       break;
     fi
   done
@@ -298,14 +298,14 @@
 build_ogl=no
 build_agg=no
 build_cairo=no
-AC_ARG_WITH(renderer,
-  AC_HELP_STRING([--with-renderer=], [Use the specified GUI toolkit (default=ogl,agg)]),
-  if test -n ${withval}; then
-    add_renderer="${withval}"
-    withval=`echo ${withval} | tr '\054' ' ' `
+AC_ARG_ENABLE(renderer,
+  AC_HELP_STRING([--enable-renderer=], [Use the specified GUI toolkit (default=ogl,agg)]),
+  if test -n ${enableval}; then
+    add_renderer="${enableval}"
+    enableval=`echo ${enableval} | tr '\054' ' ' `
   fi
-  while test -n "${withval}" ; do
-    val=`echo ${withval} | cut -d ' ' -f 1`
+  while test -n "${enableval}" ; do
+    val=`echo ${enableval} | cut -d ' ' -f 1`
     [case "${val}" in
       ogl|OGL|gl|GL|opengl|OPENGL|OpenGL)
         build_ogl=yes
@@ -321,11 +321,11 @@
         build_agg=yes
         build_cairo=yes
         ;;
-      *) AC_MSG_ERROR([invalid renderer ${withval} given (accept: ogl,agg,cairo)])
+      *) AC_MSG_ERROR([invalid renderer ${enableval} given (accept: ogl,agg,cairo)])
          ;;
       esac]
-    withval=`echo ${withval} | cut -d ' ' -f 2-6`
-    if test x$val = x$withval; then
+    enableval=`echo ${enableval} | cut -d ' ' -f 2-6`
+    if test x$val = x$enableval; then
       break;
     fi
   done



From MAILER-DAEMON Thu Jul 19 23:19:52 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBj20-0007IW-C3
	for mharc-gnash-commit@gnu.org; Thu, 19 Jul 2007 23:19:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBj1y-0007IQ-M7
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 23:19:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBj1y-0007IE-8p
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 23:19:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBj1y-0007IB-3t
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 23:19:50 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBj1x-0000kD-RZ
	for gnash-commit@gnu.org; Thu, 19 Jul 2007 23:19:49 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBj1x-0000Z2-44
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 03:19:49 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBj1w-0000Yz-ML
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 03:19:48 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBj1w-0000Yz-ML@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 20 Jul 2007 03:19:48 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 03:19:50 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/20 03:19:48

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	dynamic loading of gui/renderer is disabled by default, so advertise the switch to enable.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3772&r2=1.3773
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.360&r2=1.361

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3772
retrieving revision 1.3773
diff -u -b -r1.3772 -r1.3773
--- ChangeLog	20 Jul 2007 03:15:14 -0000	1.3772
+++ ChangeLog	20 Jul 2007 03:19:47 -0000	1.3773
@@ -2,7 +2,9 @@
 
 	* configure.ac: rename the gui/renderer selection switch
 	  back to --enable-{gui,renderer} so we don't need to update
-	  our existing configuration wrapper scripts.
+	  our existing configuration wrapper scripts; dynamic loading
+	  of gui/renderer is disabled by default, so advertise the switch
+	  to enable.
 
 2007-07-20 Zou Lunkai <zoulunkai@gmail.com>
 	

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.360
retrieving revision 1.361
diff -u -b -r1.360 -r1.361
--- configure.ac	20 Jul 2007 03:15:15 -0000	1.360
+++ configure.ac	20 Jul 2007 03:19:48 -0000	1.361
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.360 2007/07/20 03:15:15 strk Exp $
+dnl $Id: configure.ac,v 1.361 2007/07/20 03:19:48 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1370,9 +1370,9 @@
 fi
 
 if test x"${dynamic_gui}" = x"yes"; then
-  echo "        Loadable GUI & renderer enabled (default). Use --disable-dynamic-gui to disable"
+  echo "        Loadable GUI & renderer enabled."
 else
-  echo "        Loadable GUI & renderer disabled."
+  echo "        Loadable GUI & renderer disabled (default). Use --enable-dynamic-gui to enable."
 fi
 
 if test x"$ghelp" = x"yes"; then



From MAILER-DAEMON Fri Jul 20 09:04:04 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBs9M-0005SQ-3h
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 09:04:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBs9J-0005P4-Mi
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 09:04:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBs9G-0005Lg-W0
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 09:04:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBs9G-0005LL-Kk
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 09:03:58 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBs9F-0007VT-RE
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 09:03:58 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6KD3qU4021815;
	Fri, 20 Jul 2007 15:03:55 +0200
Date: Fri, 20 Jul 2007 15:03:48 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <776175204.20070720150348@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash/server edit_text_character.cpp
In-Reply-To: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
References: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 13:04:02 -0000

Hello Sandro,

Friday, July 20, 2007, 2:06:32 AM, you wrote:
SS>         prepared for applying color transform to border and
SS> background (but isn't working so the block is
SS> disabled (need help from Udo most likely

How can I help?


SS> +               if ( 0 ) // should be if ! isDynamic to be
SS> PP-compatible (or is it about device font? to be
SS> tested)

Why (!isDynamic) ? Should not make any difference, ie. you can always
apply cxform to a dynamically created (createTextField) text field.

SS> +                        // Currently disabled due to what looks like a bug in color transform

Can you explain?

Udo




From MAILER-DAEMON Fri Jul 20 10:12:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBtDx-0000sX-G2
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 10:12:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBtDw-0000sS-Kq
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:12:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBtDu-0000s4-O0
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:12:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBtDu-0000s1-Kg
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:12:50 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IBtDt-0005sD-TQ
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:12:50 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6KECjC10206;
	Fri, 20 Jul 2007 16:12:45 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Fri, 20 Jul 2007 16:12:44 +0200
From: Sandro Santilli <strk@keybit.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash/server edit_text_character.cpp
Message-ID: <20070720141244.GH87615@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
	<776175204.20070720150348@nova-sys.net>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="sm4nu43k4a2Rpi4c"
Content-Disposition: inline
In-Reply-To: <776175204.20070720150348@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 14:12:52 -0000


--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Jul 20, 2007 at 03:03:48PM +0200, Udo Giacomozzi wrote:
> Hello Sandro,
> 
> Friday, July 20, 2007, 2:06:32 AM, you wrote:
> SS>         prepared for applying color transform to border and
> SS> background (but isn't working so the block is
> SS> disabled (need help from Udo most likely
> 
> How can I help?

Set if (0) to if (1) and see what happens with the attached movie.
It seems that the color transform (for which we have no specific
testcases) results in a gray color always (r,g,b flattened).

> 
> SS> +               if ( 0 ) // should be if ! isDynamic to be
> SS> PP-compatible (or is it about device font? to be
> SS> tested)
> 
> Why (!isDynamic) ? Should not make any difference, ie. you can always
> apply cxform to a dynamically created (createTextField) text field.

This is a dumb pp compatibility thing. I think flash coders are happy to
have this feature implemented, but the pp seems immune to color transforms+FSF
applied to dynamic textfield (or device font) colors (including background and
border).

> 
> SS> +                        // Currently disabled due to what looks like a bug in color transform
> 
> Can you explain?

See the attached file and try it out.
(build with makeswf)

--strk;

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 


--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="TextFieldColor.as"

createEmptyMovieClip("mc", 1, 0, 0, 0);

with (mc)
{

createTextField("tf1", 1, 10, 10, 400, 20);
tf1.text = "Hello world";
tf1.textColor = 0x000000;
tf1.border = true;
tf1.borderColor = 0x00FF00;
tf1.background = true;
tf1.backgroundColor = 0xFF0000;

createTextField("tf2", 2, 10, 40, 400, 20);
tf2.text = "Hello world";
tf2.textColor = 0x00FF00;
tf2.borderColor = 0x00FFFF;
tf2.background = true;
tf2.backgroundColor = 0xFF00FF;

createTextField("tf3", 3, 10, 70, 400, 20);
tf3.text = "Hello world";
tf3.textColor = 0xFF0000;
tf3.borderColor = 0xFF00FF;
tf3.background = true;
tf3.backgroundColor = 0x00FFFF;

createTextField("tf4", 4, 10, 100, 400, 20);
tf4.border = true;
tf4.background = true;
tf4.text = "Hello world";

createEmptyMovieClip("mc5", 5);
with (mc5)
{
        lineStyle(35, 0xFF0000, 100);
        moveTo(50, 150);
        lineTo(200, 150);
}

};

onEnterFrame = function()
{
	_root.mc._alpha -= 1;
	_root.mc.tf1._alpha -= 1;
};


--sm4nu43k4a2Rpi4c--



From MAILER-DAEMON Fri Jul 20 10:28:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBtTD-0007Oc-HF
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 10:28:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBtTB-0007OI-J3
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:28:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBtTA-0007Nf-Ov
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:28:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBtTA-0007NU-Ly
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:28:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBtTA-0001Xg-9a
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:28:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBtT9-0001zw-5h
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 14:28:35 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBtT8-0001zt-V5
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 14:28:35 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBtT8-0001zt-V5@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 20 Jul 2007 14:28:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac testsuite/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 14:28:37 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/20 14:28:34

Modified files:
	.              : ChangeLog configure.ac 
	testsuite      : Makefile.am 

Log message:
	        * configure.ac: provide a RENDERER_LIBS listing all built renderer
	          libraries
	        * testsuite/Makefile.am: link libgnashtestsuite against all built
	          renderer libraries.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3773&r2=1.3774
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.361&r2=1.362
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/Makefile.am?cvsroot=gnash&r1=1.39&r2=1.40

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3773
retrieving revision 1.3774
diff -u -b -r1.3773 -r1.3774
--- ChangeLog	20 Jul 2007 03:19:47 -0000	1.3773
+++ ChangeLog	20 Jul 2007 14:28:33 -0000	1.3774
@@ -1,5 +1,12 @@
 2007-07-20 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: provide a RENDERER_LIBS listing all built renderer
+	  libraries
+	* testsuite/Makefile.am: link libgnashtestsuite against all built 
+	  renderer libraries.
+
+2007-07-20 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: rename the gui/renderer selection switch
 	  back to --enable-{gui,renderer} so we don't need to update
 	  our existing configuration wrapper scripts; dynamic loading

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.361
retrieving revision 1.362
diff -u -b -r1.361 -r1.362
--- configure.ac	20 Jul 2007 03:19:48 -0000	1.361
+++ configure.ac	20 Jul 2007 14:28:34 -0000	1.362
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.361 2007/07/20 03:19:48 strk Exp $
+dnl $Id: configure.ac,v 1.362 2007/07/20 14:28:34 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1279,6 +1279,11 @@
 dnl Define convienience constants so Gnash can print out the
 dnl default configuration of the build.
 RENDERER_CONFIG=${add_renderer}
+RENDERER_LIBS=
+for rend in `echo "${add_renderer}" | tr ',' ' '`; do
+	RENDERER_LIBS="${RENDERER_LIBS} \$(top_builddir)/backend/libgnash${rend}.la"
+done
+AC_SUBST(RENDERER_LIBS)
 AC_SUBST(RENDERER_CONFIG)
 GUI_CONFIG=${addgui}
 AC_SUBST(GUI_CONFIG)

Index: testsuite/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/Makefile.am,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- testsuite/Makefile.am	29 May 2007 17:15:14 -0000	1.39
+++ testsuite/Makefile.am	20 Jul 2007 14:28:34 -0000	1.40
@@ -30,6 +30,7 @@
 	FuzzyPixel.h \
 	$(NULL)
 libtestsuite_la_LIBADD = \
+	$(RENDERER_LIBS) \
 	$(top_builddir)/backend/libgnashbackend.la \
 	$(top_builddir)/server/libgnashserver.la \
 	$(top_builddir)/libbase/libgnashbase.la \



From MAILER-DAEMON Fri Jul 20 10:37:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBtbo-0002C7-Ho
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 10:37:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBtbn-0002Bf-0K
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:37:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBtbm-0002B0-2r
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:37:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBtbl-0002Aw-TI
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:37:29 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBtbl-0003fY-Aw
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:37:29 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6KEbPU4031728;
	Fri, 20 Jul 2007 16:37:27 +0200
Date: Fri, 20 Jul 2007 16:37:21 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1510087950.20070720163721@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash/server edit_text_character.cpp
In-Reply-To: <20070720141244.GH87615@keybit.net>
References: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
	<776175204.20070720150348@nova-sys.net>
	<20070720141244.GH87615@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 14:37:31 -0000

Hello Sandro,

Friday, July 20, 2007, 4:12:44 PM, you wrote:
SS> Set if (0) to if (1) and see what happens with the attached movie.
SS> It seems that the color transform (for which we have no specific
SS> testcases) results in a gray color always (r,g,b flattened).

Will do once build completes...


SS> This is a dumb pp compatibility thing. I think flash coders are
SS> happy to have this feature implemented, but the pp seems immune to
SS> color transforms+FSF applied to dynamic textfield (or device font)
SS> colors (including background and  border).

Not exactly. PP ignores _alpha for text fields, i.e. *any* text field
will always be fully opaque. However, color transformations still
apply:

var c:Color = new Color(mc);

var myColorTransform:Object = new Object();
myColorTransform.ra = 50;
myColorTransform.rb = 244;
myColorTransform.ga = 40;
myColorTransform.gb = 112;
myColorTransform.ba = 12;
myColorTransform.bb = 90;
myColorTransform.aa = 40;
myColorTransform.ab = 70;


c.setTransform(myColorTransform);

Udo




From MAILER-DAEMON Fri Jul 20 10:40:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBteP-0003kA-IJ
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 10:40:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBteO-0003jY-FV
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:40:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBteN-0003is-Jn
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:40:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBteM-0003if-Vm
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:40:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBteM-0004S8-HG
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:40:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBteL-0002B2-6J
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 14:40:09 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBteK-0002Ax-Vz
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 14:40:09 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBteK-0002Ax-Vz@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 20 Jul 2007 14:40:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 14:40:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/20 14:40:08

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	        * testsuite/misc-ming.all/DefineEditTextTest.c: don't include gnash
	          headers from SWF *generators* !

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3774&r2=1.3775
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3774
retrieving revision 1.3775
diff -u -b -r1.3774 -r1.3775
--- ChangeLog	20 Jul 2007 14:28:33 -0000	1.3774
+++ ChangeLog	20 Jul 2007 14:40:08 -0000	1.3775
@@ -1,5 +1,7 @@
 2007-07-20 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/misc-ming.all/DefineEditTextTest.c: don't include gnash
+	  headers from SWF *generators* !
 	* configure.ac: provide a RENDERER_LIBS listing all built renderer
 	  libraries
 	* testsuite/Makefile.am: link libgnashtestsuite against all built 

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- testsuite/misc-ming.all/DefineEditTextTest.c	20 Jul 2007 02:02:08 -0000	1.20
+++ testsuite/misc-ming.all/DefineEditTextTest.c	20 Jul 2007 14:40:08 -0000	1.21
@@ -33,7 +33,6 @@
 #include <ming.h>
 
 #include "ming_utils.h"
-#include "fontlib.h"
 
 #define OUTPUT_VERSION 7
 #define OUTPUT_FILENAME "DefineEditTextTest.swf"



From MAILER-DAEMON Fri Jul 20 10:45:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBtjz-0005dk-0T
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 10:45:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBtjx-0005db-RS
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:45:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBtjw-0005cf-0F
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:45:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBtjv-0005cc-Rp
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:45:55 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IBtjv-0005yP-0m
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 10:45:55 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6KEjpD10902;
	Fri, 20 Jul 2007 16:45:51 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Fri, 20 Jul 2007 16:45:51 +0200
From: Sandro Santilli <strk@keybit.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash/server edit_text_character.cpp
Message-ID: <20070720144551.GA10265@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
	<776175204.20070720150348@nova-sys.net>
	<20070720141244.GH87615@keybit.net>
	<1510087950.20070720163721@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1510087950.20070720163721@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 14:45:58 -0000

On Fri, Jul 20, 2007 at 04:37:21PM +0200, Udo Giacomozzi wrote:
> Hello Sandro,
> 
> Friday, July 20, 2007, 4:12:44 PM, you wrote:
> SS> Set if (0) to if (1) and see what happens with the attached movie.
> SS> It seems that the color transform (for which we have no specific
> SS> testcases) results in a gray color always (r,g,b flattened).
> 
> Will do once build completes...
> 
> 
> SS> This is a dumb pp compatibility thing. I think flash coders are
> SS> happy to have this feature implemented, but the pp seems immune to
> SS> color transforms+FSF applied to dynamic textfield (or device font)
> SS> colors (including background and  border).
> 
> Not exactly. PP ignores _alpha for text fields, i.e. *any* text field
> will always be fully opaque. However, color transformations still
> apply:

Yes, sorry, just alpha. But I tought cxform was used for alpha too,
am I right ?
( I don't think we support color transforms as you report them, btw )

--strk;



From MAILER-DAEMON Fri Jul 20 11:03:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBu1F-0004MA-Hy
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 11:03:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBu1E-0004KZ-QQ
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:03:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBu1E-0004IB-1q
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:03:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBu1D-0004HR-Sc
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:03:47 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBu1C-0002ao-K2
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:03:47 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6KF3eU4002163;
	Fri, 20 Jul 2007 17:03:42 +0200
Date: Fri, 20 Jul 2007 17:03:36 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1566544542.20070720170336@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash/server edit_text_character.cpp
In-Reply-To: <20070720144551.GA10265@keybit.net>
References: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
	<776175204.20070720150348@nova-sys.net>
	<20070720141244.GH87615@keybit.net>
	<1510087950.20070720163721@nova-sys.net>
	<20070720144551.GA10265@keybit.net>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="----------9FC1442DDBC393"
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 15:03:48 -0000

------------9FC1442DDBC393
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello Sandro,

Friday, July 20, 2007, 4:45:51 PM, you wrote:
SS> Yes, sorry, just alpha.

Just to avoid confusion: input fields with device fonts ignore the
alpha value (no matter if dynamic or static). Alpha still works for
embedded fonts.


SS> But I tought cxform was used for alpha too, am I right ?

Yes, but still we can't say cxform is ignored *completely*.


SS> ( I don't think we support color transforms as you report them, btw )


Don't know, but a static will do as well. I attached one that shows
it. Sorry for not being Ming-code...



Udo
------------9FC1442DDBC393
Content-Type: application/x-shockwave-flash;
 name="input-fields.swf"
Content-transfer-encoding: base64
Content-Disposition: attachment;
 filename="input-fields.swf"

Q1dTBrMwAAB4nN16d1RTzdb3nBN6l9BrKKH3FkHRKAqhSpcuIIlCKNJBLFFBBQUpITQLSkdA
egcBQSliAalBwQKCFAEBFR71S/Te+97nedf6/v3W+jgLhrP37N/s2TN7z545EwWYXwAgeAoA
DggYwb9+/XrIuAgBAIHzO5gXuUDwJAkgIPCLTvn9JysrC0YvfgHcP+/nQ6G7Pbm3K5IZnzWA
/Z+asYJ3Rf+U+U/+lMVhf8oy1J9SRQ38Kl0AbmnWCLq4XzeWThZo3vj9eryaROc6rmDphcVx
Oi3m48xvXgwm+U8Z8kc0ppyHXkqy0HT6rRSE/rU0dvKHpO8+nv+ijLKc/QflVdE/67yc+ydl
2OSfUi8u/50yPdGasXE2/xv2P5SHNYHqL7fS3oL/qnOX8+91picKb/yTUrbrn5SqtH9SGvj/
Tjk36Pl3le8QKo+ZTB6JBf+lzkHJv6vzsMZJ/u8UAU9Jk0ksuMzEhKQNLHgIrAAAMAjYTHZo
lN5PJ4FfEB8gEAi7dK+dz3FXjC0CiCoc2CNwpsjuRH/YPcDXj4JObKbrnXcGHDY40MN6xdk2
MzzNA/DVzYBMs1NgP0cmIwAIwAAxHQjx9fIHSKAAlMAsjXAVugd1QO5wM7wBayOsEG6IRwgE
gxdDL8M3BgwjnpEH8HB6ri/MgWr5vsw8tArsYw0PC1+zwArJAfdhrRxc/wZMfMFp8b1OmySv
gXXUUypr6PDbg8HNw/4dLO/eV1N2xzIUkwSfaDQIMd7sEDTcm/rpSRQTC5urVDvB+Jy/7Jdn
HEjvcf67gSUajPH77HuEFT2R0iRBoacu3qBTA15JIU8aH81FepD8TgyW3IT0L8J1J+oKWhE2
E80mWCQBGAuKk6teodDGoF4/rrFDZQ40ffqQYbVnRgNLUx3Hzf86Z8VKj4gRFq1JjHMfNX4v
ibcLCW3uG79PY0s3/fIby+9ijc23LTg0zvCgQ6VEk5DL+Feu1NEq1YRVLPGi8kmHpEimo1hB
7/QIFE8BZLDFGjRNgZ091e7mhF2ZYA/AxHbpPHEeFv+oTDJbRcjY1ugE+BRSSHgFxu/DA1l7
331BXUkVssB5gBsaCMYhsTGcbS7SGngeH7yQ+Nn8Ik2Hg0slE1njhIkT49mM7Lmi2q4cVBUq
kq48a4eEi0ll39OOfC7XC5Ut/Q0R8vofdy70J+spdPBwWnw9TwkpPVSQb+zEWgp0wgtfjoA2
MmOqExpNWumzCjCl+l0hD7YTbk3q9MNWZ7UD1zyAOQOT9NBb1b5nkzdMjU0wp+0yXAIyh+t4
YB8sXMXqwKNAsL3MgJ5kK6pe00DMa/LdtU4xrDqsrnJHdYZUktFW+JzvNhfVG41Gn7yZVYjg
JeFOdRc+1YGUsWxh/Xmme7RudMFq5as01S22zk5WC2IS5hTzxy+Ho5CmpGNuz9umSOqhwIFr
+qk+KbJTc3QbxdA/wzSbJkphLg4o4cq4WaaP76Rksj4AuhaEUU3gmwmV5T/2TmNAsbqQTC56
W67mTNHnIztKQui59xPCotd+x0O5aLZBBWpxeP8lu0pRBzjiexExY8VlBpOaEc3Doeu0pL2U
52+x2tTC10GTZCHRLVrXdenp+cAOSLmS7alZZZOuNisfSf5UqSjflG5sh+DNM7bvHykw1AN3
ZdWhm7bmPULMfykK9GjQxL14e7YIegL1LnqKFw6imFWXx11mD8b8Qcb+RqaNkSLpdzuu1Mq7
1RmKOUq1ZkVG1rwtIPNpyXVuZ80fogoMfTOM+DR+AaC6Wp7D95cuORcd+VJuw45Mfs/C2wsF
6FB9ctncFAt7MJxHFFiyq8zv883wTkKk/Ea24COYFA34CJt8lQX4dzN51VmaI0ZRDGVAAa10
Ec1lZj0TSz3guNs+ICFQZMuaNwaf5kzocmtZARQNtgXCqCwgvMXV09U8wP/5JuSvGEg43OMN
shohfmkfHxLzAkn4m9Vs1yct4SqcGkkuBbQ03YlsBB6VWPv9b74AbQHhpy4+lyEtISjQvycr
F4kEVp9OWBblnIZ055myyJOXPTnGUTTtZI1PUJKXFP3v9Ud0WaYWjL5g6CUxxYaK7EpEWeiR
QJYGfEOEbwqnLxvSe5iFobbDnao62By8mkszaHF6eyEgKGmmmwt6oqMgt4WEL1g0AeSMDlJq
5zvQSXCeb+0gVniV7iUsnn+MkKf4ba7BjBgCeMtB68obftOgpXYY13FXUdH8xOy7DsRtPlfv
THpIMPGaFLlTvyrtPKO1luqmezvI4xTbT9E93ju0CcUesVNHVA4PrayrTqyy7MrphzRsglOI
e+Ou54oM/+gEPBzFzPFxEUGF2AixiOL2RbPPLplUR896UcyQpJuFzwlvk3NWDQ/ELb86JnVn
AhRAA2WgDQxoMd0LHAcEcBL4An8QAAJBEDgFQkAYiALnWXVpMZ4BRO6waP+qZM2MU0CAVUAP
+zD4/aMAQORJrzB8BD4EpeCDj/A9jkcRggLDFMEvVlEan5G2SNCWD4i2aoB4JiaYhsXvx4bF
0lgJTEx8NL5Is9E9GpwKjcIEPKl6PHxMLwAj6w0EHT4fmqK1x6ZU12vN8ywq5S0DRsrT+jgq
VoMOJkgT4Mvdj0pm4hKiAYl5aR2a8QVYHsj6F6xME2YGnoP1xXwsuwHDv+CS/8DpKN49XMqg
d3B87EV1nI8STwddF1FafRExuUCQzsQlRodzlyn1nLfli5MF5dJdGjQV1WkILMDzRT3uf6vI
Ec9p5HjX2wji+BgvwWMUIsDIpMViRMeVpMmIsdEyJDITF4qGK6GRZSH0QcJLOR2wYOmG1KSB
sALP9oaT/Fd3/wf2zG9Yzv/A4jp4nsY5jczb37WIk+KgA8vQpCSYWaU69nPIyQHABmIhZqOg
EG+8P23w5sA8YIRQUBQkBnMhOBhEGcIYehiEGDGMJowOjMcZwxiZmNBMZ5j4mLHMhczOLMEs
XqwibDps1mxEtstsd9n42CM5ijjMOR9yorkOc3lxTXH9xcXGfYCbwH2au5V7mTue5z0PZdfX
XTm8NbxIpC7yDLIY2YucQ/5AcvGh+bB8VnzH+Db5zvJ/4g8VWBfYLTgvqCJkLHRW6K7QAyF5
YT/hbeGLImyiBqIvRPnFfMUSxAbENsWQ4trir8WXxDMk3kh8kzgkaSvpJRkieUkyTbJa8qXk
Z0lVFAU1hYKlfKRPSydLs8v4yPyOuEA860fsa4r4NQ1HVWVJyZePxx++3zZxZaf7ued21RYy
0mNHIKYy2dFAWaIrYnHaeyCCl8YyrrV8o3B7CR20pPEVKdqDfB1b/uOyxCOufoFuyi82O680
PLv3/vNecVUBrTb7pmpp1epVGxLkqcgdDJWT+mhrMH4wZ/kKj/3pYznxiW93CLN55+MUaLhq
R4rcJScXtseI3RnfG2Iwp4c5Rl85NnRqISPeV2BMZd+V5ReJLWRQkgV9YBmF5H7+9sNqkc5W
myZfHQldAvdVSy6ITCdPHKaef1tPnQ4XLR9fEBe/tFlgrvCugxeHyK6q2I5XMpZBd6uNuztS
BSdrLth+rVn4lIiZLnQPf/25+eLole4gqmaBsqwkVqMTslG2wiFM7yhq9hutTM9VsQF9WqDg
9MMo+5xhepaSZxtoS+hRJNuSOGfBdHVWjOJkoHlO5gTagAfdgcAoyj2bwL/OqIs+PQbJWfMe
Hic7hDj7WDnWkMdkAS2hyjvnU0zirdOg9DLGdggYUrVW6qIYGrCBlpjg3fCZDjb40HqqxXVa
QjXcc3S0b/9ejbzNwZqnG2M8jspKrTdIE9U6fpb9FuMFWgm2UGuu6JadOl7Usi80VFy2sIuh
ERA+yk64qrRUb1Wpu8zI9sO45vWECnOV+P7RkOw5Eg02YUDPHsvqnGnuAz/2ZOdaLol0boVd
czHyOY2Z0EFPhjXpaFN5YwQDrce+ebaEX6bzezKMWpTDix3K2VRVtEVsNf2tFupfh/uZG6pc
DOlVFGKoxjq/V03S/9JnKPJI3QJomMG9T20FRcIWnY+7mm8vT6YuhlZYlM1l7c5nxUP+Eaac
idfQ2lWC7iXnqDZd+IMKnfpCuI9oMX/YFCs3F2IxVX429BUx6ZqL/eSo6mjT5XoOvPaZOEWT
YQS31yF+1D6POsnw+4vlhGW/L8RbGLeJ7HmrMZf65rnNaUM53Gp+TjFCC1Sx4QyKpaTmNSwK
GVHQRbjK+Uw+pJmcbG9u5JwvMiQ72qJXO76Z3SSlB+mQ7Aa3iRkeXCKLMZSrHAWz/W5wK88/
3ID2eujwTibEoTFnE2j6gJyDMC3QypxYDrcndl5yL9mJqERPhCb6Ro18NvAYJuHIDMF2s8jd
Z51NRhQjffWYaoc3czvLXeJDbj277dZX/yCDyFVB2NAHRvR5dfjsTib8dVjCo2rrBbXkaIPa
F5cWkReo0aykIR/OfF+qsSCerxuRhd291O+x1Hif2nyrwRfhXmiwihpzfDzs2mcxKX/QNuzw
k0xtMfgrfdhwZVXdLeHjWx/kFhNdfXtuv6L6nw/I2qTa9NV6fPZrnBtJsyAGfMqZuDtuOnGM
+mogUfW+fo7Dd71r95aLxahagjfKS0pcrZDhjx0apJ8Hts7TIA+MNEw5BA7V72pwpCaUk1X7
6z+NeS9GZDQ5TrTTw8nQ2bifht5eVUbd9rX06rNPpgKX8gNxW4H/DjZxPyjiCXSzQurt3tuh
/ujQeQui9zg9tbwsT2b0+FqwHBMRr3bvLPr5c8AqBYf6ZA5kZgQnzRcsXYWbsMp8CTa4eKEU
/kk9OxlrkLIq8sw41CwLN89/2gZDcuiE7B7F90MP0ENr7ikcTbuc5FVDQrHmKoxnq8eolI0m
9fUCdREsuh922ra9kR/yV5G6AlXpVlmH2Ss4NaRYLpiviCfJXWG2Q2SGRI9Gqs8vP5w2F/Of
Cjr2OYLnm7Nlt0T/fkapmtDGXBpbZfAj0WTlXShe8uK5kZy60id+BU+LP/N1Kv6e+4WWWh+G
VZio1n0B16rNCdt2OSNhk00LdSgle+nryJTYwQibIoAmw2fnZ99c2/WjwWTH78aaNX3Y2gdH
n/pfF8gOkbsbaKYyzzBEcu/RaeV9h1GTcWBezuainlhTfbj729J0gIngZCxnHWbUZNNqAtmY
ICt9Si4T/nUsKSBwD4rTNAYzyb1stpWyTG4/rK6UxZrL6gNb3h9L3cjAm7jMRVOjdtWvuhJ2
/CKNX6mXl3ZWF4r4txZe5zqg8AEgiRv9Vpl9plqOtehXRuCmPU0vhbNf+QPMfo4HvK71lw8s
1BOqt66Xb3ByFXCtWWF/5LgfKeAxbv8+V5u+dFg+3CTDK6yzb+5AfafECw+6HJIB1OAvqtPC
UTS1jQVHN9RePXCWHHGVdRyaSy4hpVoLxpxIc15od9+zEkW1W6vPF7x6zH5VQVRRNHn5p7Fe
xv7JXnGlqqJEs7A+huobZtBlFrqlXlEnC0WVbIo4+v17N6pv4KDYXKEQO3W0sNUAeTZVa0Jq
N0MNODqmGhCtMpD0XBgZ9YHkThv7rKGrNw+W5SsJNSleO/HF7JLWOa2iD41Mr3jOEq/65y7e
HXAL0pqCzpxpuPJhv5od1cly/Nj6pasF+5vU3UskGlFKxnubRKGz+cfCAlJEEyg2+sCdzNg+
kT9JrBw7ZtXUHkG9POBPkLYlRan636Ok7ZEO0gtLvP1NiG4YbD51onHGW9cl9HV8kffDLPa6
MwL0qILDilKi2PcWVD2RiA458fa0B4bkRGascvqgduh+ish4v7EWscxddmeM0hLp0/VMLi2a
dNma/+o0OQmRXaBfQNPrXItt1yxOZSHaSkD6oq0CVimZeYvogZ9cykvNK5Lnx40/FS/3NjyR
2U+bUNUkm06+Vpvj2mpGeszLxVydkDNLjcE8c2rK6j4LrtemGHumWTAIsx7JDVM7amjtmc4E
kD6w+2JajEa/+dr9W2F7abtGlurNAWE0w+T1DKnSdf8O7l5EgbqUeX5sPKpPhMo6Sm29vkrh
RV+w73VAmaB4Fg/l2AXyup/ZWcwapscmFabzAWOPGye3gvBauiCxGLVeATLIJdFiPYqth05a
yNxjj4mvm5GqGB8M7yZWcLnMqG1QPu5tmh24k9gU5QodtOa74kQOv+Q0qxu/n9XuszfsOMPP
n25jlIA3yI1pupTUgUSD4QHWMw8+lHoo1eaNoT80cjiKq3oNdXiSSuCpWQsI42y7YdhszXN6
OKNctfFDvX5NhrryjO5zJBrtQc6UbwnZ0oP4cnnjdaVUpWOvojpFJpk7/x7E7F0HW1T28O3R
3mGf+Wfwg2yC9JYql6yXni+p0zZkVkXaExbvtQkGlVE1zpT+EyLzd3vc7L1jf4fUSxPtM4R6
60Y5T1uDVv/pU9quCm5I+rbUQnWtZ4roHkMYu6ZD8L8XnHV9MMdDyaOVxuL6r8TN83M+ybBG
ZENpLFqgxaRuBlNosrlsLs9Geuanp67zyz5Xna1PyjbPo3Z0s+hRQWntfau02VGBDZJD2zYh
wXyjqDx073I9G2Xm5vGIoAJM3/6zJbd3HC7OmqlMOIvYf8RLnIIt6AHbl5oZNjaabTCsnv35
J+UURwG+1x7uAxbHN/K7ieYD5Szuvmd7M04GF+zo1DgOOikfOcZuyWGaEsmP7n6l1gzVPVqW
zXH2p7iWDW0+hf/KVePsk0pV9y/YklqukxzzY9lXL7MmcD37h3VaafUT90GD91+pUdwVrIY5
P9SI5YJnfduINtuOgJcjXWhotkDNzZv1cC64E34FxcnjHytUybsb/oprmz+sKHbQ30yugy0U
HF1/a07hV1p/Wc7uNm54FCV6/NJstkFnib9Ib6qbL0Y5w69iCb3SgdAn8RnvkhM0UtPKbO3h
C/Tx6ungLD2fY9umlxu1iG/AI926XIOMtiYZlysYqIILKkmhG+Z7Dl9LHWtKiG0sPhWPOYdi
fNqBlOUP5R4Ve2cRnpD3UCsDgWIYILHmpclziYlYnDq5L0VjGwt3d7DcZhr6HJCo0zg0rqx6
kYwl1q2Y7wyf1ZsoMq2iDThHHzR3iJZn79dCFUUoYZbk/hI0/nFJ3jufn+ya8dD+/ditn+9j
PKK0iRbEg+886RNkxDJlzVnbpWZdOsXSTPYFg8FfVWMF5ExNreo5xZOB1JnlOlROuofLk8aC
0WKuWmxtsxzlcMq68z7jJFN3whjODrv/wdCPGPJie4LZ8+tl9mypBoIudyZfRKerazkXyJAZ
+7CurwvdJ1U2x+weNz6sV4x0FeUmFRfVNLjv4XC1Ph9esyj9191CSuFQmEvXsbH1lZvew6q8
x2p/LLZ9duem8tAjHoHwfDYJvqB4IrUxyfXqZl1O2QtIwJPBRlvfTNv4sv1Vp+T0FOYO3bxf
5Zg23zPEA9N4mYBxChX43seqbxM65l+NUAosrQsXOkFlJtzr/dPr2rvXwtd0rPULsXNHwGix
QO3b8Dzugup6W73pyOXG73Qn9X1+dBYspplG1TwudfPzk6Dcne/Wo14JKENM1YaMGnY/G7G2
LIGqW6Qrl0qfi9sojiCy+vWTmZ1Qyodc2j1Zf/ib1gWrRG+9iV6+/+NVXP/FOskAh78m4z9q
ndf34OtxQiG/0XumdPbhhaMTpjPp34mSCNXq9E6PwPrdvJzk2+yXwofo/FPM3i2UqlXNHUU3
AYnF4xeEaZWbvtnRZU+qR0eq7OhRkyr4kRaHF++pu6WIvLuUXQzv3COu3LJ09h0ZZgu8qcFu
SlK+HEQQaVN/mfnoAPK2jxWeh5MIEe0FXay33ZVpppo+R1XPOk7KNHOO9c+jdBmqEuZ1gEkm
JGTdb+s/JJUuLeCDJhiucgaeW8S/jwih55mG7DNHGwOW49Qc9lS5Pzpxyt5NkdITqXp83PYt
jhar2HIlXJ5UFvQXRSjT3o6HVG3xRVvL5vJt7JcLGiprNpvmr59SdwtyWQmfaBzNJ9R16pZ+
lT6bk3/lpGHqLs9dqx30Y7N/gXQVzOy1MxjzMk9MLlyzTedM+Kk7EnphtXiHn17J+3bVd9si
OLE6rVOHNixxvzOHDuhV3ROnm5ErJVnC3czY3faGCSs0qOXuWx5fbyAzr0Wt93Xfuhsh3mS/
0hPJGbMbIcbc5OND9d9ZaA2/vJeOEFD1JtrVW7+9qEOu0XfwTzcfb9/7+rbEieIZ3sFcwX+U
Pi5LCmsHxugJly/RmQDaPj/NCJvC4B+drlggBubCzjPKvJQqFYWCrhuh+i2JgGcOHOLVJqdp
z8/ui3dWdNhFW3IAf1C64/uvBfvDyBOxoVh12q6udJPcwXoLx7t43j2sbsxEV2/3SC/DaIfQ
1NDjQW9yvSLxEsYRMOZ3CFwcR7J78i2Y3Usr+yL2RRZYpIIQXeU8JUELWzelCxqlACaw/M8c
WlGrL4SXD/Ckv7X7NLuvDLGA1R6/7e67LELpK5GJ6Ly83PLj7aFOmyM2i4e4XVB7nNpm7aae
fRdpbEYL32RixTpTb7s3fQ4d21NB/fU6QXWs8u+9Pkrrdf3vXrsA5dR/9TrmH73eG29D67Xn
n15b0Xpt+D+9LtN1yxWKOKqOj0kdqJMLTbVYUnxXXvKGavur3jZ8cKeCeznkAJHM7VaZ/RHK
HkcI3nZqWrLLOXbkARxYxsOuT1JlXJUT6FAcSj8s7zxnMIcDWQpg3u+osX1F+sGh53P8+4Dp
7x2S4djbwxHKTUSJdy1+1nINcKExEq2WSa6FBKzZ9HMzsjnl0C+Oge9BNyol+YM1U5YTVvTT
x6r2svUYlr8+vaQQgP0x+qi1tCmjT/GMp6IZXFE2tDhILGxu15s5729L39vVKiYzX7cyQlpP
8Gve022UrNNwtH/ERSavHcThZUkIfazOZLZ7fEUmZSFBRu8pEzHjq9uz7YUvY5cog7XxvI3b
Y5yj3cZ1HVt3f+B+WeBlhMUP5dWCBtQuX/9sZ4/s+cUxmSSqVV9A2JNq3FKzcKQntM8aaTpF
vlWzjT5w96jlfYkWZ7jATVFfnNxW55Zz8qzeNEOflKAkumilNqcM4UR3EDMFaPzBbF1LKmdO
4CGZ6vQm1KwZfS0wexI/eWlNJuf+9YSZ8BBx6/VF7lAnZTFtrq4M9j0PFsXPCZm/VhteXz4Q
29p4bUS0/hTG/1d+3bb3mKyDq1hL8FaLPHJH7mH1boJhnITAeafD2z3K5GuM8nKKYkaAbnzT
h5pvrFLWUEqJcWpnWK2W3L7MONzwMo8HZUHyDcH0BOEE00Lk1qu90Zcx3g13tMti2NxM9OSj
2hxIywIFk8r4bvyter7G62WOa7ZFu4IERxqTQtu7buwj0OJM1Bftm1Op+76P089xTcNm37m9
2cN+JnhEOX6yZMl27bmam+WTvcZbCt9u8x8TO9c47vzOXerbVXqnBz++NYpQ/ha0b7fP28qa
7i6bYEkkW8u48/vLWoAeZi9XbTp/eX71yoV4Wuy9pEv4otFw6WLsRP1MNC22eR2s+irq8qBB
7Wbp+2Dh0q8hlgPaWB5O5ZrPdw7epLK69XwRGa+noajHNoRY3ucOFh2wxaidrmwQdSt7SiMb
od+P170jWFBZblo8JnqPJbW5vAs0WKfQWIDlJ/Mwnvsix0QbPc6tJ0feSKcK7mxuqsbRj7bN
ubO6J08ed19vXuQaw+o1GubfcFVNbdFJ8mgCbmTGziZZrcO0XVu3YX3e9vIh5tGZc9IjDx9s
vt4zKBdmGtv4zRqqX5V0443BbLuNuahtD58ezdvoA4yPtCp0bByrTm5ecui6vXRs8bMGv3LT
5aY2vZmz5nuZDlZ/UIJ8SCoGvFzxcQvhnCe7Fo99dAmYdKsx2730gmYOSzkZMsO5SPzHSI8+
5erb4S/XVDuEmAdI5y6JPrilqFxQ57M3nXm0eG8xSXRWxrlgb35ofJtCTocybTOw2TUHDq5o
ZoRynER3X3zxPYCnEuH2gNfusahvdrm+e3zdKrFEkELxlz+VP85RWH3vvZKaUgfRCenyTmTk
1mi6fz4nm7kCOVfIk77txrVqT8Zyl1dZksWDG4jpi27BWsYO5ub5D3RS13FQWS6SzUghn9EC
l8ctqrhWCojhn0yaQ2mVdfkLecNfc1aMK54E5Y9dWiu9M5hUawte4xiEsTb8fjZ6ve9ThAWr
Dy8R9YUHn23WbdK/0ikIPbZmO3SXbMZrLHs44jq59xVKt/yL9C2pesriUGJMZbTCPTF85+MZ
zrDYPn0BZbXqqVTzQRTzbpSikDEe2u1QcmhSKumQrMsEf9VZ2WPGe0Ybpko7UOJK0FyS5169
0a5IpVevrj2IbbUsrNfprWg5vvmMUzVZ4PsAkbI35P2TZvLrSZTg768qONmGVGtFNTOzNkV1
c0efkRs5U9G9DDdtHrj7ajW31b1YvAjnN/RNJm6W/1wmi58yC6hkph74qLovSnPgvMSkduRJ
0jEL6Bw6T1GJudIsBg7kLZopYygF0qJKmoVW/SdnNquTXKCffht2MxVoUBvCapyrYWvH8IJ1
MgFJtwP+XO3m9PdCybqX3BULzlp70mdX3WBx8q3uiH6J2YG4zPGat9l6ynpBEfx6gWhII3zC
+LVmoZ2I9dZk4mK5p6o6Z/Ufa9ZbczHlkUMOFsja6OFGG/eWANR7me+a+5YkLUd9s9siIxfv
z7l2aHOl2j3wdn8ccy+jGcVWibW/8MiAyjKae5tCGfLbfc2Z1SXp27FoLGaq0L0/KCcDajaK
GLy8XPaNMp14Vi9o865wOUviyS6iFRteA36ddU0Pq6J3SkM/VKx9n+ujUjB29E2zW/irPnSk
l0qr1tcmdaKnggV0Bn1HUfHjKbpttApncpnoy+uhjcGOsBa+q96FkyOnRh+N1nd+8A8fJjdJ
zePFYhFWfDvezy8/JzMEOM2OJEWxEkn1Hq746qK39hEqTb6Erki2MHqqAySEMrz2xFHHqxm9
DKhLr5bk/e8vOdMX71BHTwbVauf6eOUO3bGdQrWIoNrWfRld6SQ4B61cyxjoGl+Z059ywMmp
fkd3D2uL0o4APZKb/2U+jp8WCljTf8GZwLnWK8Hc/GO8erYgh3VKLRDR1qnyp1EX58pb/XV6
KvTtZRREG5+aD7CE31j9h6zZSJelaEoje89sq6vSOX4T74HL6FfRtYbsu3xDVE/W9N6+H15+
o8SFZEywJ8SXddvmFubtLQ2th8qLo8XEY2fVcBeFTe6C4bh9/wZNy67tt1hvKY/YO+DG+G79
tWr6frZ7v9fL590u7tdc9m6PfB4dGG245xOWbk8uOXAVLUSCf/7beqrC+JeUTFZ/UPsf6zV6
u5vkGP0OOgLyZEarhoLFmMB41Xvu6MFhwBl82VSTUqX2SDzFfISHMZXkpMp3L4VPU5pY7194
GQXJzGDyEwm3tNJeqG3c+wxKLsJFz5FkRBJ7wUyLiHCwVIWZS3chieLERi0obxH/Hjz91sxD
h34Ye5GvQAq3/N1q2qHZwTWLlF7MeKjAHvdJ2OquRLMtO2k3fZmz+ClOZjz3dXbtfEQW/RRy
8NkqZzii7+Q4f+Hh2snCxTlj5zML1tw4hMsvXs3muv6jToshiY3wPha2Oxx61hwtchnNgcw+
nf3k1PwFbXdeg4U4SjGHWMHDJ/ssLLsSllxChgdNTvfqdbvYNJhH4JLK1sqLEks6qwvETi0V
HdnlrhF/Chagz0z5eZonMcuQ/Wie5KDHMtpK8yTJ90pcxtornRuvCVnEschzzW/wzQiNBTmD
OfTUiWbFmHvgPgOj9PiHDsEu5/XU2zEMRafk3isFsgGiv/ThJ9g2lfv5G2sCVet14utlltes
RB8gzW/Ovl1/I27P1Ny+OfQebTB2Jv11bPXqwOSHtnLSXbpHm8X29ZaHXFy8aeR+XMvlXMKp
khgBN021vMG7C5nXnAeah31GWyLqb4cK3pKaMKNPCXHTZIZejFk/Lpj1WrnCLf/HvR2f7khf
EXqaZ0E6osBwM8k0LU1eLeQoY0A125jJSss5n4eDMcNBoph1g+N5y1jm0YGpaxGXJ53uHQyG
+0DN9Y0xt6zPkadXIsYwN9OCPUKOUsIGnuPYQ0j1GNkrZm1D6qHU5QNfJ1O5yxcMyarBkcS4
9+6oahe9OJNDC0MRJ1l+LylmGohhVpGPsdTzn2Vb3M9QplvXg7C7TlF3+FowLewxDcuxy68E
3u3Bc4fMdiX0wvAtYbG6XhscZ7mG+8nzxAMf8Qx/zuioMWuyZxyuk2cTU708NojLhCN+8DnR
UJr3y5DhC8b5mnND5Al+FNoJvJmwXBa8aKPf4fa2IQIZZWt5nrK4km050ekeYdNnuoasX5Wh
Y6q1ZUS1f+0+1q6HbFxIetNzRVwLPW71Tl1KtKfX7RA9GOgsUHvfP6kx3lKJWnqp1hW5y0th
Uq/tan2iRTCfmmrsG+lmw9rwvF0BIvfeqVBFWVsj5IO8W27gQ5bf3eimb7JM3JveXMhfUg4q
MfhaLiHKn7NSq2LZvtI+Xvam9kpQSc8Wf2Tu6O9kCnvGnNa0aUXjjXjNw0tyX6jmSO/n0dni
Tw5dozmqaexIz5Tgm8HP8MvSJ4mrNd4VDCfw7BfPj5T3cBb8PutvG/q17TZtRsEZY+1QvJ+t
2sJlhwY/pZ3uyMaqSpcwF5jjFask9W2++CMOiB+d4FdJFjY1Jycz8IIqVqJ0hjNai6eS5ldn
FOXZ/AKz7Yd9d98381lwt/R50XuQhEFxhRS2s9Yt28h9Aq25PDfRitWWJB+9+6/ZZ8nwZ/3A
LxP15ipzJbuL2fMR4MvQoW3zItPaRTThwCIcD/Kub0wQsjDD3JOVHTycihlHvKcpUkuy6y0v
6Nld47SFlC85c87fwIoTigeecT7iB9OG/LbNj5lyLHBOAPO4/FkiHy3E50UMX54/dp9bqsAf
zC1YrkDnsIpvBmP8iW/9rPxhU0C+Jivd9WWoLdtuWtC3IWoh+5ll6Lu+3ZWsPrC00qhZe7Xj
B4kZJTITR0vBQDOOI2EkLjdpJHnCJlHB9jBSPJrFieEDVD4yVu7YRpR9fUo0mbHXQEe3KPFK
VG071326qlb1gsPHJ/HeFma1ARFGxJJF90CD+YAxu9a0C9GpngS/xZyQA5+1DdVspLYL3tRJ
1FXtKr8g7nd10UrCGJiY7no6uVlD99HjLsmR2Q5UQdeAt8F61Mi2a+Vz2ZSuU/RvXbYTX4hl
6AVEa9lGnWOd4WbxrnIpzpMsuAtMkGhHQu++XIfir7rZP6WHc4b8wz+YXuCDKp5kqXzk/PDw
TNSwvJYnM7qvz1O5hIM+nRiHZ87qHls9kF2J/f32wc/lwXd0RNnvj2qnq7Z4MRSJHf49W6v0
A3Cv6qot/q+fJHYERfs06AS2qh9xAdtX2nuerVvI0iXu0SXSbtMkvmkkO+rcl+gyXn807Z13
7h3v/5J3NFmU6Hr818C09/toD95/ovFLiZ3rav9reNp7OtqbzvVxeRuxUf3e3O+OY9e5frme
pMk3ZdEBgvj3G3kiPGvbgYn3vkRtUV1Uq47XRFfeqbNwFaGeJmydjEBGHKXNJ2NLm0l1zI2A
untUgT2YHNYd+56q8obCIMIVLwz+fJC5mk59yaa//NI9f6fl8k9PKC8j3Pn1/jRnRWtOjd7c
TXpzE8fGaybu/gtrh4YVQ8dao2MZ0135oO4JMuPbLFktXWKKy+shuzYeUjoPIk+3yki6NHMp
jwscVmAw5OrLq7uP9uv1aXzsAamuCm2bSqSPocMXxNo0SQ8v/uMEuwaIau9wiKrs4QPlBiTO
//o89//8K/e39dpiICIuY1w4lZ94zU6hAIj2Qw/xWpt2jVOUBs3qOXESQ/IFPVvzW0MDDep+
61sVsEWubEKVQumH9V5y+UcZ53002GnJp+lCsGMh7wT9+PBJC8F9tIJEWeXsK1yRB0cyISzu
tq1pCuiEnMpK1/chCL0vSzCK2t7kfkUc0zopaMKijRyAQQ8+DUvNYeGdgXJupuH9q1cGJrvb
iKQ0BVbpxX6lJpVqeWXnfmI2EEIpKatM2AA0wUs1mV2YpLKnvuA1YZU1kDR1O/CdJyMrCdkd
Pyt7S4iDbmGZqDunBeIrUx6iWt+c8vB3C2p7ST/Y1/9x7exHEbm/ziK95E/vim7/Rj/uP9Cm
PG5Exqc2opVJP0uO+NoM+z0prEXVtstRHg9V7iicngsdk5mq7HDUVj2+RzRQLcK6QV7kvN2R
T76MP3okaBl8oa0af2ZmsRcfwvzOQuSg2mbB7QjrzX7xChbnAqymztyj4aWKV5dqYorHjnyd
o+J0FpjaTF0xvw/psgcjZOp8VmVFyrdkvtn8wJ3BsCibNp13osYYBzUkLcew31Sqz7ecnHsh
Wu7p7+3eXE79+snSrOXr5mBztVOGE1pUgVpqiWvVdex6szZ59GS/QFVJsBBAASkgDWSALEAD
OSAPFIAiUALKQAWoAjWgDjSAJtAC2kAH6AI9gAG7gT4wAHvAXmAI9oH9AAsOgIPACBwChwEt
uAEcMAVmwBxYAEtgBY4Aa2ADbIEdsAcOwBEcBU7AGbgAV+AG3IEHOAY8gRfwBseBD8ADAjjx
+wKXHyD+1yWuYBACQkEYCAcRIBJEgWhwGsSAM+AsOAcew1MwEsWHEkIJo0RQYihxlAQKhZJC
SaPkUBoofZQBqgwlLfUcgYTegUHADYVCd2BOeDeigpbSaEPakDztjQtygLghEYgLHoDY4RfQ
LngJEobrIW5YGOaGdkGcMP2pg9gZrsGesBv8ANaFGeEy2vMXIEH+MD9shuiDl2AcvAl70Hj6
tBqB8BWEI+wFO8FGNGQjGsYG5AFtQWi4k/b7EzKGULAUvAK+gi/QCrBBiMHSMAoWgo9CtyEf
iBeegCbgIWgRegLpQAtAhybvQZPfgGwRbwH9SYfozxTteQypIG4wqEAqtDr+CBbw//8DwHlW
DO0v+78u9O0ixSmy/V8u9OEDvPE+Pnifv13p4/jnlT72/77SJ0vjS9TM643T/pcHTEAiwYmD
lMzEpUCn160mrv65oUfjKgNmIHHd83hmOhOXyh+pj9b/deGOVkWdpjMNoPUbmYlL4zfAGu7F
/9ydo9XQpl+Cu+4lEUVv/v8AQg1wAg==
------------9FC1442DDBC393--




From MAILER-DAEMON Fri Jul 20 11:32:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBuSt-0001BD-Iy
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 11:32:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBuSr-0001B8-TL
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:32:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBuSq-0001Aw-Bh
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:32:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBuSq-0001At-78
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:32:20 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IBuSp-0001sK-R3
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:32:19 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IBuSo-0006ND-M2
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 15:32:18 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IBuSo-0006NA-FY
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 15:32:18 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBuSo-0006NA-FY@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 20 Jul 2007 15:32:18 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 15:32:22 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/20 15:32:18

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	        * server/edit_text_character.cpp (display): make the default
	          background color solid white (but still background is only drawn
	          if either 'background' or 'border' are set to true).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3775&r2=1.3776
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.80&r2=1.81

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3775
retrieving revision 1.3776
diff -u -b -r1.3775 -r1.3776
--- ChangeLog	20 Jul 2007 14:40:08 -0000	1.3775
+++ ChangeLog	20 Jul 2007 15:32:17 -0000	1.3776
@@ -1,5 +1,8 @@
 2007-07-20 Sandro Santilli <strk@keybit.net>
 
+	* server/edit_text_character.cpp (display): make the default
+	  background color solid white (but still background is only drawn
+	  if either 'background' or 'border' are set to true).
 	* testsuite/misc-ming.all/DefineEditTextTest.c: don't include gnash
 	  headers from SWF *generators* !
 	* configure.ac: provide a RENDERER_LIBS listing all built renderer

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- server/edit_text_character.cpp	20 Jul 2007 00:06:32 -0000	1.80
+++ server/edit_text_character.cpp	20 Jul 2007 15:32:18 -0000	1.81
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.80 2007/07/20 00:06:32 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.81 2007/07/20 15:32:18 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -462,7 +462,7 @@
 		coords[3] = def_bounds.get_corner(3);
 		
 		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
-		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(255,255,255,0);
+		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(255,255,255,255);
 
 		if ( 0 ) // should be if ! isDynamic to be PP-compatible (or is it about device font? to be tested)
 		         // Currently disabled due to what looks like a bug in color transform



From MAILER-DAEMON Fri Jul 20 11:34:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBuUc-0001gJ-6c
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 11:34:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBuUa-0001fu-77
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:34:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBuUX-0001fd-P0
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:34:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBuUX-0001fa-JP
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:34:05 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBuUW-0002IM-Sr
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 11:34:05 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6KFY0U4005217;
	Fri, 20 Jul 2007 17:34:02 +0200
Date: Fri, 20 Jul 2007 17:33:55 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <107440277.20070720173355@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash/server edit_text_character.cpp
In-Reply-To: <20070720144551.GA10265@keybit.net>
References: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
	<776175204.20070720150348@nova-sys.net>
	<20070720141244.GH87615@keybit.net>
	<1510087950.20070720163721@nova-sys.net>
	<20070720144551.GA10265@keybit.net>
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="----------821141D014045B5"
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 15:34:08 -0000

------------821141D014045B5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here you have an enhanced version including borderless input fields
------------821141D014045B5
Content-Type: application/x-shockwave-flash;
 name="input-fields.swf"
Content-transfer-encoding: base64
Content-Disposition: attachment;
 filename="input-fields.swf"

Q1dTBj0xAAB4nN26d1RTzdY/PufQOxJ6DSVA6B0B0SgKoUqXLiCJQCjSQSxRQQUFKSE0C0pH
QHoHAUEpYgGpQcECghQBARUe9Zvove+9z/Ou9f77W+vHWeScs2fvz+y9Z2bPnjkTDZheACBw
CgB2CBjBv379esiwBAEAgfO7ui/ygIAvEdBB4BeN8vsnOzsbRi19AVw/7xdAYXs9uXYqUxie
NYIDn1owAndF/twLnvy5l4T/uZcj/9yVVMCvskXglm5NRxP378HQyPwtm79fT9QQaaWOqxja
zeIEjRb7cfZ3Waxuyp976B/R2Apu2l2CmarTb6Ug1K/lcd8fEn77uf+LMsZ89h+UV8X/5Hk5
/0/KiMk/pV5c/jtlZrItc/NswTfM/1Ae1gapvtxOfwv+i+cux995ZiaLbvyTUr7nn5Tq9H9S
Gvn+Tjk35Pl3le/gq46bTB2NA/+lziGJv6vzsNZJ7u8Ufk8JkykMuMzIiKA2LHgIrAAAMAjc
SnFokjpAI4FfEC/A4/F7tK+dz3VHxxUDumosMOA/U2x3ciD8HuAdQEIntzJ0zjsDdhss6GW5
4mybFZHuAXjrZ0GW2SlwgD2LAQA6QA8xHgz18woACCAPFMAclXAVugd1Qu5wC7wJa9JZ0bnR
PaKjo/ei76P/Rq/LgGPgBtwcnhuL86BGrj8rH6UE+1jDI0LXLDCCssB9RCMXO7AJE15wWHyv
1yTKqWEcdRTKGzv9DXSxC3BAJ/O79zXkvXH0JUSBJ2qNggw3OwUM96V9ehLNyMzqKtmBNz4X
IPPlGTvCe4LvblCpGkPCfvteIbQnQoooIPjUxRt0qcGrqaQp42N5CA+i/8mh0puQ3kW4/mR9
YRudzWSLCQaBB8YCYqTqV0iUMWjQi2/qVJoHzZ8+ZFoZzKphqKpjufhe565a6RB0hURqk+Ld
x4zfS+DsQsNa+ifuU4ulmn/5jxd0s8QV2BYenqB/0KlUqo7PY/grT/JYtXLiGoZwUdHXITmK
8RhGwDsjEsldCOlvswTPkGFnT5W7ueFXJtkCdeO6tZ44j4h9VCSardFJ29ZqBfoUkYk4eYbv
I4PZ+959QV5JE7TAeoAbanQMw6LjWNs8hDXwPDF0Iemz+UWqDoeWSyezJ/CTJydyGNjyRDRd
2SlKFARNeZZOcReTqv6nnQWcrheqWgcaI+X0Pu5eGEjRke/k5rD4ep4cWna4sMDYiaUMaEUU
vRwF7SSGNCcUirjabxVoSvG/QhrqwN+a0hqArc5qBq17AHN6Rqnht8r9z6ZumBqb6J62y3QJ
zBqp54Z9MHA1iwO3PN72Mj1qirW4Zl2NbkGd9651qmH1EVWlO8qzxNLM9qLnvLc5Kd4oFMr3
ZnYRHQ8Re6qn6KkWpIhhDR/INzXQuNENq1SsUVW32D47VSOgmziPLpi4HIFEmBKPuz1vnyaq
hgEHzpmnesSoLvWxHST9wCzjXLoImakksJQz82a5Hq6LnMXyAGhb4MfUgV8WVF7w2DudHsni
QjS56G25ljtN649sSHHB595P8EteBxwP56FYh+QpJREDl+yqRBzgyO/FhMxVl1ndtMwYbnZt
p2XN5fwAi7XmVt5OqiQzkebR+u5LT88HdUKKVaxPzaqatTVZeIlyp8pEeKe14zoFbp6xff9I
nr4BuCsqD9+0Ne8VZPoLzd+rRhX34undxuvwN7jooC8cQjIpr0y4zB2K/YOM+Y1MbSM08Xc9
rpSquzWZ6FyFOrNiI2ueVpD1tPQ6l7P6DxF5+v5ZBlw6Hz9QXqvI5f1Lm5SHinopu2lHIr1n
5umDArUoPnmsbuiiXl2Oo/LMOdXm93lneaYgYkETa8hR3VQ1+CirXLUF+Hc1+TXZ6qNG0fTl
QB6lcBHFaWY9G0c56LjXPjAxSHjbmicWl+6M73ZrXQVkNdZF/JgMwL/FNtDUPMj3+SYUgA7C
H+n1BtlNEJ+Ujw+RaZEo9M1qrvuThlA1VoUomwpam+9ENQGPKoz9gTdfgCa/0FMXn8uQhiAU
FNCbnYdAAKtPJy2Lc09D2guM2aSpy57sE0iqdjLGJ8kpy+iAewOR3ZZphWMv6PuIjHFhwnuS
kBY6RJCtBt8Q5p3G6smE9h1hpq/rdKcoD7WErOVRHVqS0VEE8ArqGeYCnqhoyG0x8QsGhQe5
Y0PkuoVOVDKc71c3hBFao40SZs8/TshHf5tvNCOEAp4K0Lb6hs80eLkDxnbeRaPNT86966S7
zevqnUULCSZeU8J3GtaknGc11tPctG8He5xi/Sli4L1L7VBskbv1BMWIsKr6mqRqy+7cAUjN
JiSVsC/+ep7wyI8uwM1ewpQQHxlchIkUjSzpWDL77JJFcfRsENEdlnCz8DnpbXLOqvGBmOVX
x+SeLIAEKKAINIE+NaZ7gRMAD3yBHwgAgSAIBINTIBSEg2hwnkWbGuPpQdQus+avKpaseHk6
sAZoYR8Gv//kAYjy9QrHReJCkfI+uEi/EzgkPjgoHE0V1aKWM/xHFPl/iXoHh/rgQgNwYWFo
8ItFllrMSJ1eqBMPRJ1vQAIjI0zVQqBe2Zf6SEdF5Yv+C2CoXImMjLxUVuEWo3tUYCUqhQl4
UnS4eRlfAAaWG3S0igqgaWrNrAr1fdbcz6JT39LrSnpan0DGqdFwBakCvHkHkCmMnEJUIFEv
jcOzfgDDDVn/ghWpwszAc6ihhJd5L6D/F1zKHzgt9N0jZfQ6hybGX9TE+yhwd9J0EaPyC4vK
BoEMRk5xGpy7dJnngi1vvAyokOpWo6qoSkVgAZ4vGrD/W0X2BA4jx7veRhD7xwRxbqNQfgZG
DWYjGq4UVUaUlZpmkRg5pam44mrZFoIfxL0UMwAzhuZSdSoIK/DsaPTlu7r3f2DP/Ibl+B9Y
bCf303in0QX7uxbxkuw0YDmqlDgTi2TnAXZZqtfZQBzEZBQc6o0LoPaAebAAGCAkFA2Jwpx0
7PQi9OH0vfSCDLoMJgwODCcYwhkYGVGMZxh5mTBMRUzOzCHMXizCrFqs1qwE1susd1l52aLY
i9nNOR5yoDiPcHpxTnP+xcnKdZALz3Waq41rhSuB+z03ec/XPbk8tTwIhDbiDKIE0YeYR/xA
cPKieDG8VrzHebd4z/J94gvj3+DfK7AgoCRoLHhW8K7gA0E5IX+hHaGLwqwi+iIvRPhE/UQT
RQdFt0QRYppir8WWxTLF34h/Ez8sYSvhJREqcUkiXaJG4qXEZwllJBk5jYQlfaROS6VIsUn7
SP8O20As+0fca7LYNTVHZUUJiZePJx6+3zFxZaMFC8+d6m1ElMcuf2xViqO+onh35NKM92Ak
D7XIuM7yjfztZVTwstpXhEgv4nVcxY/L4o84B/h7yL9Y7bzScWzeB857xVcHttnsn66jsjUo
NybKURC7uhQOyqPtoYSh3JUr3Panj+cmJL3dxc/ln4+Xp+KqHC12l5ha3Bkn9GR+b4zVPT3C
PvbKsbFLAxH5vlLXVOZdeUGx6GImOUXAB5aWTxng6ziiEuVstWXy1RHfzX9fufSC8EzK5BHK
+bcNlJkIkYqJRTGxS1uF5vLvOnmwdDnVlTsJCsbSqB6VCXdHisBU7QXbr7WLn5J0Z4rcI15/
brk4dqUnmKJeqCgjgVHrgmwUrbB0pnfQ6gNGqzPz1axAjxptOPx1FX3OMD5LzbcNssX3okm2
RI45MFOTHYueCjLPzZpE6XOjOul00bLPJnGvM+tjTo9DstY8RyZIDqHOPlaOtaRxGUDNyvLP
+ZQQeerVyH0McZ38hhSN1fpo+kZMkKVuyF74TCcrfHgjzeI6NSsb6T021n9gn1r+1lDt081x
bkdFhbYbxMkaLX/LAYuJQo1EW6gtT2TbThUnYtkfFiYmU9RN3wTwH2UmXZVaa7arVV1mZQZg
bMtGYqW5UsLAWGjOPJEKmzioY49hcc4y94Efe7JxrpRGObfBrnm6crlNWdAhT/p1qRhTOWM6
eqrFfvm2+F+mCwaZRq2KESUOFazKSprCtuoBVosNryP8zQ2VLob2oQXpazDO75WT9b70Gwo/
UrUAamZw31NbAeHwJecTruY7K1NpS2GVFuXz2XsLWHBQQKQpR9I1lGa1gHvpOYpNN+6QfJee
IPYjSjQANsXIzodaTFecDXtFSL7mYj81pjzWfLmBHad5Jh5tMkLH5XWYD7nfo14i4v5SBX7F
/wvhlq7bZM6C1bhLQ8v81oyhLHatILeETgNUs2L1SyQlF9QsihiQ0EW42vlMAaSekmJvbuRc
IDwsM9aqUzexldMsqQNpEe2GdgiZHpzCS7Hkq+yFcwNucBv3P4YB9fXwkd0siF1t3ibI9AEp
l860UCNrciXCntB1yb10N7IKNRmW5Bc9+lnfY4SIJdGH2M0h9p51NhlFR/npMNaNbOV1Vbgk
hN56dtutv+FBJoGzEr+pB4xo/erI2d0s+OuIuEf19gtK6bFGlS8urcIvkGPZycM+HAV+FGMB
HG8PXTZm7/KAx3LTfUrLrUY/Ovci/TXkuOPjEdd+iym5Q7bhR55kaYrCX2nNhi2v7mmNmNj+
ILuU5OrXe/sVJeB8YPYWxaa/zuOzf9P8aLoFIfBT7uTdCdPJ45RXg0nK9/VyHb7rXLu3UiJK
0RC4UVFa6mqFiHjs0Cj1PKhtgQp5cLRx2iFouGFPoyMlsYKkPNDwadx7KTKz2XGygxZOhs/G
/zT09qo26rGvo7HPPZkOWi4Iwm4H/TvYxP8giyXS3AqpdnjvhAWgwhYsCN4TtPz0shyJweNr
4UpsZILKvbOo588BiyQc5pM1mJUZkrxQuHwVbsYo8ibaYBMEU/mmdOykrUHqmvAz4zCzbOwC
32kbXaJDF2T3KGEAeoAaXndPZW/e4ySnHBqGMVdiOFszTiFvNqtuFKoKY1ADsNOO7Y2C0L+K
VeUpCrfKO81ewWmhJbIhvMXcye7yc53Cs0RaNFJ+fvnhjLlowHTw8c+R3N+cLXvEBw4wSNaG
NeVRi5WGPhJMVt+F4SQunhvNrS974l/4tOQzbxf6d98vstT4MKLESLHuD7xWY47fscsdDZ9q
XqxHKthLXUekxg1F2hQDFAk+uzD35tqeH40mu/431q1pzdYxNPY04Dp/Tqjs3SAzpQX6YaJ7
r1YbzztdFWkHppUcTsrJdeWHe78tzwSaCEzFcdTrjplsWU0imhJlpE7JZsG/jicHBhkgOUxj
dae4Vsy2U1dIHUdUFbJZ8lh8YMv742mbmTgTl/kYSvSehjVX/K5/lPEr1Yqyrpoi4YC2ouuc
B+U/AARhc8Aqq99Uw7EO9coI3LSn6iV/9itfoNnPicDXdQFyQUU6gg3WDXKNTq78rrWrbI8c
DyD4PSbs3+dp0qYOy4dbJHiVZe7NHaj/lFjRIZfD0oAS8kV5RiiaqraxwNimyqsHzhKjrjKO
w/MppcQ0a4HYk+nOix3uBqvRFLv1hgKBq8ft1+RF0CIpKz+NdTIPTPWJKVQXJ5mF99PX3DCD
LjPTPPWKMlUkomBTzD4Q0LdZcwMLxeUJhtqpooSsBklzaRqTknvpa8GxceXAGKXB5OdCiOgP
RHdq22cPX715qLxAQbAZfe3kF7NLGuc0ij80Mb7iPku4GpC3dHfQLVhjGjpzpvHKhwMqdhQn
y4njG5euFh5oVnUvFW9CKhjvaxaBzhYcDw9MFUkk2+gBdxJDx2TBFKFq/LhVc0ck5fJgAF7K
lhitHHCPnG4gFawTnnT7myDNMZgCymTTrLe2S9jrhGLvh9ls9Wf4aVEFixEhR7PtK6x+Ih4T
evLtaQ9dohOJodrpg8rh+6nCEwPGGoRyd5ndcXJrlE/3M9n0GOJla76rM6RkupxCvUKqXuda
bbvnsEqLMVb8Uhdt5TEKKUzbBA/c1HJ+Wn6xHB924qlYhbfhyawBaoeqIdp08bbZnNBUMdJh
Winh7IKcmWv1F5jSUtf2W3C+NtW1Z5wDQzDL0bxwlWOG1p4ZjADhA7svpceqDZiv378Vvo+6
9GSu2RoUQtFPXc+ULNsI6OTqoytUlTQviEtA9gtTWMYobdfXyDyoC/Z9DkgTJPfS4Vy7IB73
M7tL2SO02KTEeD5w/HHT1HYwTkMbJJUgNypBJqk0RrQX3XbY10L6HltsQv2sZOXEUEQPoZLT
ZVZlk/xxX/Pc4J2k5mhX6JA17xUnUsQlpznthAMsdp+9YcdZPr4MG6NEnH5ebPOl5E4ECowM
spx58KHMQ6Eufxz1oYndUUzZa7jTk1gKT89ZQLrOtpuGLdbcp0cyK5SbPjTo1WaqKs5qP0eg
UB6kLLnW0G0diDePJ0FbUlkq7iqyS3iKqevvQczedahVyYDXQHOXbfafwQ+yCdZZrlq2Xn6+
rEpd1VkVa05avNfE61dF1zqTB04KL9ztdbP3jvsdUi9NdsziG6ybZD1t9dsCZk5pusq7IWhr
Wwvl9d5pgnssfvyaFj7gXkj29aFcDwWPNmoR538lbp6fC4iGtcKbCuMx/K0m9bO6RSZbK+Zy
rMRn/jqqWr/s81RZ+yVt8z3qxraKHxWW1d23Sp8b498kOrTv4BPNN4srwvatNLCSZ2+eiAwu
1O0/cLb09q7DxTkzpUlnYfuPOPFTsAUtYPtRssLHx3L0R1RzPv8kn2IvxPXZw/3A4sRmQQ/B
fLCC2d3vbF+mb0jhrlat45CT4tHjbJbspqlRfKieVyotUP2jFZlc5wCya/nw1lP4rzwVjn7J
NNWAwm3JlXqJcX/m/Q3S6/zXc35Yp5fVPHEf0n//lRLNVclimPtDhVAhcNavnWCz4wh42DME
h+cKVdy8WY7kgTsRV5Ac3AFxglU8e+Gv2PaFI2jRQwFmsp2sYeDYxltzMp/CxssKNrcJw2NI
kROX5nL0u0oDhPvS3Px0FTP9K5dRq510ekRe4z2yAkYqGlltvbxBPl69nRxl53Nt23Xyopdw
jTiEW7drsNH2FMNKJT1FYFEpOWzT3ODItbTx5sS4ppJTCbrnkAxPOxEyfGFcY6LvLCIS8x9q
ZNIh6QeJLPnpcpyiwhanfPenqu1g4J5O5tuMw58Dk7SahicUlS+SMIT6VfPdkbM6k8Wm1dQG
Z++H5g9T8+wDGsjiSAXdZdm/BIx/XJLzLuAjuWY+tH8/fuvn+1iPaE2CBeHQO09aBxm1TF13
1nSp3ZBKtTSTeUGv/1f1eCEpS12jZh7tG0SZXalH5mZ4uDxpKhwr4azD1LXIko+kbjjvN042
dcePY+0wBx4M/4glLXUkmj2/Xm7PmqYv4HJn6kVMhqqGc6E0iaEf4/q6yH1KaWvc7nHTwwZ0
lKsIF7GkuLbR3YDd1fp8RO2S1F93i8hFw+Eu3cfHN1Zveo8o8xyv+7HU/tmdi8JNi3h4/PO5
ZPgC+mRaU7Lr1a363PIXEL8nvY2mnpmm8WX7q04pGalMndr5vyp02/3OEA7O4KQDJ8gU4Hcf
o7qD71x4NUoutLQuWuwCVVlwn/dPr2vvXgtd07LWK8LMHwVjJfx1byPyuQprGmx1ZqJWmr7T
Bqnf82NzYCndNLr2cZmbv784+e5Cjw7lSmA53XRd6Jhhz7NRa8tSqKZVqmq57LmYDXqULntA
L4XJCal42KXDk+VHgGl9iFLM9puYlfs/XsUPXKyXCHT4ayrho8Z5PQ/eXick4hvNMoWzDy8c
mzSdzfhOkKBTrsno8ghq2MvDQbrNdilimFZ+ism7lVy9pr6LduMXXzpxQYjK3PzNjibrqxoT
pbSrQ0mu5ENYHFm6p+qWKvzuUk4JvHuPsHrL0tlvdIQ16KYamylR8XIwXrhd9WXWo4OI2z5W
OG4OAkSwF3Cx3nFXpLpq5hxFNfsEMcvMOS4gn9xtqIxf0AImWZCg9YBtwLBkhhS/DwpvuMYR
dG4J9z4ylJZnGrLNHmsKXIlXcTCodn908pS9G5rcG6V8YsL2LZYaq1jzxF2eVBUOFEcqUt9O
hFZv88ZYy+Txbh6QDR4ubzGb4WuYVnULdlmNmGwaK8DXd2mXfZU6m1twxdcwbY/nnrVO2t7b
v0C6C2f32emPe5knpRSt22ZwJP7UHg27sFayy0dj8r5d/d22GE6qSe/SojZL/O/MoRN6Vf/E
6WbUamm2UA8TZq+9YeIqFWql55bH1xuIrGvRG/09t+5GijXbr/ZGccTupRNlavbxoQTsLrZF
XN5HQwisfhPj6q3XUdwp2+Q39MfMxzv3vr4tdSJ7RnQyVfIdo7XLsvz6wXFawuVHcMaD9s9P
M8OndXGPTlcuEoLyYOdZRR5ytZJ8YfeNML3WJMA9Dw7zaJLSNRfm9ic4ox32UKccwBec4fj+
a+GBcNJkXBhGlbqqK9sidbLcwvIsnXcPrx830dbZO9pHP9YpOD38eMib1IAmXNJ1BAwFnfwX
JxBsnryLZvfSy7+IfpEBFmkgVFsxX0HAwtZN4YJaGYDxzP/pQ6sqDUXwykHujLd2n+b2l9Mt
YjQnbrv7rQiT+0ulI7sur7T+eHu4y+aozdJhLhekgVP7nN30s+/CTS0ooZuMLBhnym335s9h
4waVlF+vE5XHq/5u9TGq1Q2/rXYBimn/sjr2H1bvS7ChWu35x2orqtWG/7G6XNstTzDymCou
Nm2wXjYszWIZ/a6i9A3F9leDbcTQbiXXSuhBAonLrSrnI5QzQSdw26l52S73+NEHcFA5N5se
UZlhTZa/Ez2ccUTOeV5/Hguy5cGC/zFj+8qMQ8PP5/n2A9PfKyTD8bdHIhWbCeLvWv2tZRvh
ImMESiWLVAfxW7Pq5WXmcMiiXhwH34NvVEnwhainriSu6mWMV+9j7TWseH16WT4Q82PsUVtZ
c2Y/+own2gyuLB9eGiIUtXTozJ4PsKWt7erQKUzXrYwQ1pN86ve0myTq1RztH3GSSOuHsDgZ
Ip0eRmsqxz2hMou8mCit85SRkPnV7dnO4pfxS+ShugSepp1xjrEe4/rO7bs/sL8scNJCYofz
60Ajco9fQI6zR87C0rh0MsWqPzD8SQ12uUUoyhPab40wnSbdqt1BHbx7zPK+eKszXOiG1hMj
tde75fqe1Zmh75cUkEAVr9blltM50QaImTw08WCuvjWNIzfosHRNRjNyzow2F5g9SZi6tC6d
e/964mxEqJj1xhJXmJOiqCZndyabwYMlsXOC5q9VRjZWDsa1NV0bFWk4pRvwq6B+x3tcxsFV
tDVku1UOsSv7sGYv3jBenP+805GdXkXSNQY5WbSoEaA53/Sh+hur1HWkQlK8yhkWq2W3L7MO
N7zME0B5sFxjCC1BOMm4GLX9al/MZV3vxjua5bGsbiY6ctHtDsQV/sIpRVwP7lYDb9P1csd1
2+I9wQKjTclhHd039uOpcSb6i+bN6bT93ydom8Gm4XPv3N4YsJ0JGVVMmCpdtl1/ruJm+WSf
8bb8t9t8x0XPNU04v3OX/HaVZvTQx7dGkYrfgvfv9XlbVdvTbRMigWBtnXB+f1kD0MLs5eot
5y/Pr165kECNvZe08V/UGi9djJtsmI2hxjavQ9VfRVweNKrcLHsfIlT2NdRyUBPDzaFY+/nO
oZsUFrfeL8ITDVQU1bjGUMv7XCEig7a6KqerGkXcyp9SyUao9xP17/AWFOabFo8J3uPJ7S7v
gvQ3yNQiwPyTaQTHdZF9sp0W5zZSom5kUAR2t7aU42n74+Zc2T1TvifcN1qWOMcxOk2GBTdc
ldNatZI9moEbiaGrWUbjCHXV1mPYkL+zcphpbPac1OjDB1uvDYZkw03jmr5ZQw1rEm48sbo7
buMuKjsjp8fyN/sBwyONSi0bx2rfrUsO3beXjy99VuNTbL7c3K4ze9Z8H+Ohmg8KkA9RSZ+H
MyF+MYLDt3vp+EeXwCm3WrO9yy+o7rCUlSbRn4vCfYzy6FesuR3xcl25U5BpkHjuksiDW2jF
wnqffRlMYyX7Sogic9LOhfsKwhLa5XM7FamLga3ueXBoVT0zjN0X1XPxxfdA7io6twc8do9F
/HIq9NwT6tcIpQJkcoDcqYIJ9qKae+8VVBQ6CU4Il3fCo7fGMgIKOFjN5Ul5gp60ZTe2TXMq
jqui2pIkFtJIyFhyC9EwdjA3L3iglbaBhcrzEKxG8gUMFth8LhH0ehkgRHwyaQmjMmvzFfFE
vOaonED7gorHLm1V3pmMynWFr7H0QhgbPn8bnb73qUICNUeWCXpCQ8+26rdon/rkBR9bsx6+
SzLjMZY5Enmd1PcKqV3xReqWZAN5aTgptipG/p4oruvxLEd4XL8ev6JKzXSa+RCSaS8SLWiM
g/Y6lB6ekkw+LOMyyVd9Vua4scFY43RZJ1JMAZpP9tynM9YdpfDq1bUHcW2WRQ1afZWtJ7ae
cSin8H8fJJD3hb5/0kJ6PYUU+P1pBivTmGaNVjEza0ermjv6jN7InY7po79p88DdT6Olvf7F
0kW4oLF/Kmmr4ucKSeyUWWAVE+XgR+X90eqD58WnNKN8icctoHOofLQCU5VZLBzEUzxbTl8G
pEQU1IusBnxnt2qSXaCf/pt2s5UoUBfKYpynZmtH/4JlKhFB8wPuXN3WzPciifqXXJWLzhoG
GXNrbrAY6VZP5ID43GB81kTt2xwdRZ3gSD6dIBSkFjFp/Fq9yE7YensqaanCU1mVo+aPNxus
ORnzSaGHCmVsdLBjTftKAfK99Hf1/csSlmN+Oe1RUUv35107NTnT7B54uz+OvZfZgmStwthf
eKRPYR7Lu00mD/vvvebM4pL87XgMRne6yH0gODcTajGKHLq8Uv6NPJN0Vid4665QBXOSbzfB
ihWnBr/OvqaDUdI5paYXJtqx3/VRGRg/9qbFLeJVPyrKS6lN42uzKsFT3gI6g7qDRn88RfON
RtFsHiNtej28OdQZ3sp71btoavTU2KOxhq4PAREjpGbJBZxoHJ0V767388vPSfSBTnOjydEs
BGKDhyuupvitfaRSsx++O4o1nJbqAHHBTC+DeMpEDYOXPmX51bJcwP1lZ9rkHeboSa9c49yQ
oNipPb5bpBIZXNe2P7M7gwjnohTrGIJcE6pyB1IPOjk17GobsLQq7PLTIrn5X+YTuBnBwHW9
FxyJHOt94kwtPyZq5gpzWaZVgujau5T+VOriXHVroF5Hiba8jIao7VP7ARb3H2/4kD0X5bIc
Q25i651rc1U4x2fiPXgZ9SqmzpBtj1+osm9t3+37ERU3Sl2Ixnh7fEJ5j21eUf6+srAGqKIk
RlQsbk4Fe1HI5C4Yid//b9D0nLoBi43Wish9g24M7zZeK2ccYL33e7583uPifs1l387o57HB
scZ7PuEZ9qTSg1dRgkT457+9pyyEe0nOYgkAdf/jvSZvd5Nco99Bh1+OxGDVWLgUG5SgfM8d
NTQCOEIum6qTq1UeiaWaj3IzpBGdlHnvpfKqSxEaAoouIyHpWd2CJPwtjfQXKpv3PoPSi3Dx
cwSJLpmtcLZVWChEstLMpaeISHZipRRWtIp9D5l5a+ahRduMvchbKIld+W4149Di4JpNzChh
OFxoj/0kZHVXvMWWjbiXNs1Z/BQjMZz7Ord+PjKbtgs59GyNI4Ku33eCr+hI3VTR0ryx85lF
ay4sncsvHvWW+oFjTkuhSU3wfmbWO+w61uytspktQUw+XQOktIJFTXce/cV4cgm7aOHDJ/st
LLsTl11CR4ZMTvfp9LjYNJpHYpPL1yuKk0q7agpFTy0XH93jrpZwCuan9Uy5BepIYpIm+VNH
koMO81gbdSRJvFfgNNZc7dp8jc8mjEeda3mDa6FTW5TVn0dNn2xBx94D9+kZpCY+dAp0O2+k
3Y6lLz4l+14hiBUQAqSOPMG0K90v2Fznr96oF9sot7xmJfIAYX5z7u3GGzF7xpaOreH3KP3x
Mxmv42rWBqc+tFcQ79JGtFlcf19F6MWlm0buJzRcziWeKo3ld1NXyR+6u5h1zXmwZcRnrDWy
4XaYwC3JSTNalxAzTaHv0zUbwIawXKuQvxXwuK/z0x2pK4JP8y2IR+XpbyabpqfLqYQeYwis
YR03WW095/NwKHYkWER3Q/9E/gqGaWxw+lrk5Smne4dC4H5Qe31z3C37c9Tp1chx3ZvpIR6h
x8jhg8+xbKHEBl2ZK2btw6phlJWDX6fSuCoWDUnKIVGE+PfuyBoXnXiTw4vDkb7Mv6cUMzW6
ERbhj3GU859lWt3PkGfaNoIxe05RdnlbdVvZYhtX4lZe8b8zwHGFznUn9sHwLSHR+j4bLEeF
mrvvecLBjzj6P3t0lNh1mTMO10lzSWleHpuEFfxRf/icSBh19EuT4AvGBerzw6RJPiTKCbyZ
tFwRuGij1+n2tjESEW1reZ68tJpjOdnlHmnTb7qOaFiTpmGqtGdGd3ztOd6hg2haTH7Te0VM
AzVh9U5VUqS3z+0wLRhoLVL63j+pNd5Wil5+qdIdtcdLfkqn/WpDkkUIr4py3BupFsO6iPw9
gcL33ilRRFjaIuWCvVtv4EJX3t3ooS2yTNyb31woWFYMLtX/WiEuwpe7Wqdk2bHaMVH+pu5K
cGnvNl9U3tjvZApzxpxatWll040E9SPLsl8o5gjv5zE5Yk8OX6MOVNO40d5pgTdDn+GXZU+S
1mq9K+lP4tgunh+t6OUo/L3X3z78a8dtxoyMNcbYIXk+W7VHyAwPfUo/3ZmDUZYqZSo0x6Gr
JfRsvgTQHRQ7NsmnlCJkak5KoecB1SwEqUxnlAZ3FXVcnUHLsfoH5diP+O29b+az6G7p86Lv
EFEXyRla1MFSv2Ij+wm05XHfRKFrLIk+Ovdfs82R4M96QV8mG8yV5kv3lrAV0IEvw4d3zItN
65ZQ+INLcALIv745ic/WHeGaqurk5kBnHvWeIUsuy2y0vqBld00zFpJ+pKz5AH0rDigBeMb7
iB1KH/bfMT9uyr7IMQnM4wvmCLzUEJ8fOXJ54fh9LsnCADC/aLkKncOg3wzFBhDe+lsFwKaA
dE1GqvvLcHuO3YyAX2P0Ys4zy7B3/XurWHxgKYUxs44axw/iswokRvbWwsEWLHviaHxe8mjK
pE2SvO0RhFgMsxP9B6hidLzCsZ0g8/qUSApDn76WdnHSlei6Ds77NFWtGgRGTkzhvC3M6gIj
jQilS+5B+guB43Zt6Rdi0jzx/ku5oQc/axqq2EjuFL6pF6+v3lNxQcz/6pKVuDEwMd3zdGqr
ljZGT7ikROU4UARcA9+G6FCi2q9VzOeQu0/RvnXZTn4hlKMW6drKN+sd6w23SvZUSHL4MmMv
MEIinYl9+/McSr5q5/yUGskdDoj4YHqBF6p8kq30kePDwzPRI3Iankyo/n5PxVJ2WndiGJk9
q3187WBOFeb32wd/lwffUZHlvz+qna7e5tEli+/yGWyv0TbAvWqqt/m+fhLfFRDpV6MRWKt/
xAfuXOnofbZhIUOTuEeTSL9NlfimluKodV+823jj0Yx3/rl3PP9L3tFkSbz78V+DM97vYzx4
/onGJyl6rrvjr5EZ75kYb1qpj8vbyM2a9+b+dxy7zw3I9iZPvSmPCRTAvd/MF+Ze3wlKuvcl
epviolx9ojam6k69hasw5TR+2zcSEXmM2p+MLW2mVHVvBNbfo/Ab6Oay7Nr3Vlc0FgXjr3jp
4s4Hm6toNZRuBcgt3wtwWqn49IT8MtKdT+dPdVbU6lRo1d2kVTd5fKJ28u6/sHapWLE0rHUa
ljFtKB/SPklieJsto6FNSHV5PWzXzk3M4KbL1642kirLWs7nBEfk6Q05+/Pr76P8+3yaHntA
ymuCO6biGeOoiEXRdnXiw4v/2MGuBSKau+wiSga8oEKfyPFfn+f+P//K/W2jrgQIi0kbF00X
JF2zky8EIgPQQ5zGll3TNLlRvWZejEifckHH1vzW8GCjqv/GdiVskSeTWC1f9mGjj1TxUdp5
PxV2RuJphiDsWMQzSds+fNKKdx+rJJLXOPqLVuXA0SwIg71ta5oKuiCn8rKN/XT4vpelumhN
b9IAGsu4QQyetGgnBeqihp6Gp+Uy88xCuTfTcQE1q4NTPe0EYro8i9TSgEKzUo2covMAIQcI
IhUUlSZtAArvpZzCJkRUMmgofI1fYwkiTt8OeufJwEJE9CTMydwSZKd5WDr6zmn+hKrUh8i2
N6c8AtyC21/SNvb1flw7+1FY9q+zCC+503tiOr7RtvsPtitOGJFwaU0oReLP0qN+NiP+T4rq
kHUdsuTHw1W78qfnw8alp6s6HTWVTxiIBKlEWjfKCZ+3O/rJj+FHrzg1gy+yVeHLyirx4qUz
v7MYNaSyVXg70nprQKyS2bkQo641/2hkufLVpdrYkvGjX+cpWK1FxnZTV93fm3Q5Q5HS9T5r
MsIV29LfbH5gz+gyK5o2n3eixBoHNyavxLLdVGgosJyafyFS4Rng7d5SQfn6ydKs9evWUEuN
U6YTSkSeUmaJbdN27H6zPnXMd4C/ujREECCBJJAC0kAGoIAskAPyAA0UgCJQAspABagCNaAO
NIAm0ALaQAfogr1AD+gDA7APGIL94ADAgIPgEDACh8ERQA1uAAtMgRkwBxbAEliBo8Aa2ABb
YAfsgQNwBMeAE3AGLsAVuAF34AGOA0/gBbzBCeADcAAPTv4+BeYPCP91EiwEhIIwEA4iQCSI
AtEgBpwGseAMOAvOgcfwNIxA8iIFkUJIYaQoUgwpjkQiJZFSSFmkGlIPqY8sR0pJPqdDQO/A
EOCCwqA7MAe8l66SmtJoQpqQHPWNE3KAuCBhiBMehNjgF9AeeBkSghsgLlgI5oL2QBww7aqH
2OivwZ6wG/wA1oYZ4HLq9RcgQgEwH2xG1w8vw1h4C/aglulROYLgK3SOsBfsBBtRkY2oGJuQ
B7QNoeAu6v9PyBhCwpLwKvgKvkCrwIZOFJaCkbAgfAy6DflAPPAkNAkPQ0vQE0gLWgRaVHkP
qvwmZEv3FtCuDIh2TVOvx5AS3Q16JUiJyhNAxwz+/38BcJ5Fl/rLTjva536+itU3Hs32fxzt
wwV643x8cD5/OxfI8R9hyf9L+H+fC+T857lAdsCH6/H8fS6Qg/qYivzXuUB5Kqt47YLOBPVZ
CTAB8UQndmIKI6cyjV6/lrT255gftVSdapX4dc8TWRmMnBp/pD5a/9epPSqLDmChAbR9IzFy
6v4GWMe++M8BPCqHAe0k3XUv8Wha9f8PaEKUBw==
------------821141D014045B5--




From MAILER-DAEMON Fri Jul 20 12:11:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBv4Q-0001y3-0K
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 12:11:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBv4N-0001uC-8v
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:11:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBv4K-0001pc-Oj
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:11:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBv4K-0001oS-5e
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:11:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IBv4J-0002gK-Q5
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:11:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBv4I-0000GA-Vc
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 16:11:03 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IBv4I-0000G5-Rl
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 16:11:02 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBv4I-0000G5-Rl@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Fri, 20 Jul 2007 16:11:02 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 16:11:07 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/20 16:11:02

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	server/edit_text_character.cpp: fix background and cxform for text fields

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3776&r2=1.3777
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.81&r2=1.82

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3776
retrieving revision 1.3777
diff -u -b -r1.3776 -r1.3777
--- ChangeLog	20 Jul 2007 15:32:17 -0000	1.3776
+++ ChangeLog	20 Jul 2007 16:11:02 -0000	1.3777
@@ -1,3 +1,8 @@
+2007-07-20 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* server/edit_text_character.cpp: fix background and cxform for
+	  text fields
+
 2007-07-20 Sandro Santilli <strk@keybit.net>
 
 	* server/edit_text_character.cpp (display): make the default

Index: server/edit_text_character.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- server/edit_text_character.cpp	20 Jul 2007 15:32:18 -0000	1.81
+++ server/edit_text_character.cpp	20 Jul 2007 16:11:02 -0000	1.82
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.81 2007/07/20 15:32:18 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.82 2007/07/20 16:11:02 udog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -378,7 +378,7 @@
 	m_ycursor(0.0f),
 	_text_variable_registered(false),
 	_variable_name(m_def->get_variable_name()),
-	_drawBackground(false),
+	_drawBackground(m_def->has_border()),
 	_backgroundColor(255,255,255,255),
 	_drawBorder(m_def->has_border()),
 	_borderColor(0,0,0,255)
@@ -460,16 +460,22 @@
 		coords[1] = def_bounds.get_corner(1);
 		coords[2] = def_bounds.get_corner(2);
 		coords[3] = def_bounds.get_corner(3);
-		
+printf("\n\ndrawBorder = %d\n", drawBorder);		
 		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
-		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(255,255,255,255);
 
-		if ( 0 ) // should be if ! isDynamic to be PP-compatible (or is it about device font? to be tested)
+printf("drawBackground = %d\n", drawBackground);		
+		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(0,0,0,0);
+
+		if ( 1 ) // should be if ! isDynamic to be PP-compatible (or is it about device font? to be tested)
 		         // Currently disabled due to what looks like a bug in color transform
 		{
 			cxform	cx = get_world_cxform();
 			log_debug("world cxform for textfield %s: %s", getTargetPath().c_str(), cx.toString().c_str());
+			
+			if (drawBorder)
 			borderColor = cx.transform(borderColor);
+			 
+			if (drawBackground)
 			backgroundColor = cx.transform(backgroundColor);
 		}
 



From MAILER-DAEMON Fri Jul 20 12:12:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBv5Q-0002wO-IO
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 12:12:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBv5P-0002vu-HI
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:12:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBv5N-0002uz-Rb
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:12:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBv5N-0002uv-JU
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:12:09 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBv5N-0002zE-8M
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:12:09 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6KGC5U4009319;
	Fri, 20 Jul 2007 18:12:07 +0200
Date: Fri, 20 Jul 2007 18:12:01 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1853514570.20070720181201@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash/server edit_text_character.cpp
In-Reply-To: <20070720144551.GA10265@keybit.net>
References: <E1IBg0u-0004WG-9I@cvs.savannah.gnu.org>
	<776175204.20070720150348@nova-sys.net>
	<20070720141244.GH87615@keybit.net>
	<1510087950.20070720163721@nova-sys.net>
	<20070720144551.GA10265@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 16:12:11 -0000

Ok, should be fixed now

still TODO:

- draw text fields with device fonts opaque

- fix device font rendering problems






From MAILER-DAEMON Fri Jul 20 12:13:59 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBv79-0003f1-09
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 12:13:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBv77-0003dj-Oh
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:13:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBv77-0003dM-1w
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:13:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBv76-0003dH-Px
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:13:56 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IBv76-0003WL-H9
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:13:56 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBv75-00017B-R7
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 16:13:55 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IBv75-000174-Lv
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 16:13:55 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBv75-000174-Lv@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Fri, 20 Jul 2007 16:13:55 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 16:13:58 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/20 16:13:55

Modified files:
	server         : edit_text_character.cpp 

Log message:
	ooops, sorry for debug output (removed)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.82&r2=1.83

Patches:
Index: edit_text_character.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- edit_text_character.cpp	20 Jul 2007 16:11:02 -0000	1.82
+++ edit_text_character.cpp	20 Jul 2007 16:13:55 -0000	1.83
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.82 2007/07/20 16:11:02 udog Exp $ */
+/* $Id: edit_text_character.cpp,v 1.83 2007/07/20 16:13:55 udog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -460,10 +460,8 @@
 		coords[1] = def_bounds.get_corner(1);
 		coords[2] = def_bounds.get_corner(2);
 		coords[3] = def_bounds.get_corner(3);
-printf("\n\ndrawBorder = %d\n", drawBorder);		
-		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
 		
-printf("drawBackground = %d\n", drawBackground);		
+		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
 		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(0,0,0,0);
 
 		if ( 1 ) // should be if ! isDynamic to be PP-compatible (or is it about device font? to be tested)



From MAILER-DAEMON Fri Jul 20 12:42:41 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBvYv-0000FX-DI
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 12:42:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBvYt-0000ES-K4
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:42:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBvYs-0000DI-Ev
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:42:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBvYs-0000DA-4c
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:42:38 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IBvYr-00022C-F1
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:42:37 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBvYq-0002Ra-9N
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 16:42:36 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IBvYq-0002RT-2l
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 16:42:36 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Fri, 20 Jul 2007 16:42:36 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 16:42:40 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/20 16:42:36

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp edit_text_character.h 

Log message:
	server/edit_text_character.{h,cpp}: special get_world_cxform() handler to make input fields opaque for device fonts (currently no effect, since it can't be detected yet)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3777&r2=1.3778
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.83&r2=1.84
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.37&r2=1.38

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3777
retrieving revision 1.3778
diff -u -b -r1.3777 -r1.3778
--- ChangeLog	20 Jul 2007 16:11:02 -0000	1.3777
+++ ChangeLog	20 Jul 2007 16:42:35 -0000	1.3778
@@ -2,6 +2,9 @@
 
 	* server/edit_text_character.cpp: fix background and cxform for
 	  text fields
+	* server/edit_text_character.{h,cpp}: special get_world_cxform() 
+	  handler to make input fields opaque for device fonts (currently
+    no effect, since it can't be detected yet)
 
 2007-07-20 Sandro Santilli <strk@keybit.net>
 

Index: server/edit_text_character.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -b -r1.83 -r1.84
--- server/edit_text_character.cpp	20 Jul 2007 16:13:55 -0000	1.83
+++ server/edit_text_character.cpp	20 Jul 2007 16:42:35 -0000	1.84
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.83 2007/07/20 16:13:55 udog Exp $ */
+/* $Id: edit_text_character.cpp,v 1.84 2007/07/20 16:42:35 udog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -464,19 +464,13 @@
 		rgba borderColor = drawBorder ? getBorderColor() : rgba(0,0,0,0);
 		rgba backgroundColor = drawBackground ? getBackgroundColor() : rgba(0,0,0,0);
 
-		if ( 1 ) // should be if ! isDynamic to be PP-compatible (or is it about device font? to be tested)
-		         // Currently disabled due to what looks like a bug in color transform
-		{
 			cxform	cx = get_world_cxform();
-			log_debug("world cxform for textfield %s: %s", getTargetPath().c_str(), cx.toString().c_str());
 			
 			if (drawBorder)
 				borderColor = cx.transform(borderColor);
 			 
 			if (drawBackground)
 				backgroundColor = cx.transform(backgroundColor);
-		}
-
 
 		render::draw_poly( &coords[0], 4, backgroundColor, borderColor );
 		
@@ -1442,6 +1436,20 @@
 	}
 }
 
+cxform	
+edit_text_character::get_world_cxform() const
+{
+  cxform cf = character::get_world_cxform();
+  
+  if ( 0 /* if using a device font (PP compatibility, TODO) */ ) {
+    // set alpha to default values to make the text field opaque
+    cf.m_[3][0] = 1.0f;
+    cf.m_[3][1] = 0.0f;
+  }
+  
+  return cf;
+}
+
 static as_value
 textfield_background_getset(const fn_call& fn)
 {

Index: server/edit_text_character.h
===================================================================
RCS file: /cvsroot/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- server/edit_text_character.h	18 Jul 2007 03:35:38 -0000	1.37
+++ server/edit_text_character.h	20 Jul 2007 16:42:35 -0000	1.38
@@ -212,6 +212,9 @@
 	///
 	void registerTextVariable();
 
+	// Text fields need to handle cxform specially 
+	cxform	get_world_cxform() const;
+
 	/// The flag keeping status of TextVariable registration
 	//
 	/// It will be set to true if there's no need to register



From MAILER-DAEMON Fri Jul 20 12:47:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IBvde-0004av-K5
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 12:47:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IBvdc-0004ZS-LP
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:47:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IBvdb-0004Yf-8E
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:47:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IBvdb-0004Yc-0I
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:47:31 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IBvda-0003Ah-ID
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 12:47:30 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6KGlRU4013018;
	Fri, 20 Jul 2007 18:47:29 +0200
Date: Fri, 20 Jul 2007 18:47:23 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <12310247678.20070720184723@nova-sys.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
In-Reply-To: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2007 16:47:32 -0000

Hello Udo,

Friday, July 20, 2007, 6:42:36 PM, I wrote:
UG> +  cxform cf = character::get_world_cxform();

Is this the correct way? Guess not. Anyway, the ancestor should be
called...


UG> +  if ( 0 /* if using a device font (PP compatibility, TODO) */ ) {

Sandro, once you add that "is device font" flag to the font definition
(you said that in IRC), then change this so that the flag is checked
here.


UG> +    // set alpha to default values to make the text field opaque
UG> +    cf.m_[3][0] = 1.0f;
UG> +    cf.m_[3][1] = 0.0f;

Yes, I know, we should add a setAlpha() or similar function to the
cxform class...


Udo




From MAILER-DAEMON Fri Jul 20 21:08:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IC3Sd-0004LP-Mo
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 21:08:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IC3Sb-0004LF-GK
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 21:08:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IC3Sb-0004L1-1W
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 21:08:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IC3Sa-0004Ky-R3
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 21:08:40 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IC3Sa-00081V-HA
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 21:08:40 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IC3SY-00022y-PP
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 01:08:38 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IC3SY-00022v-LY
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 01:08:38 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IC3SY-00022v-LY@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 21 Jul 2007 01:08:38 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Jul 2007 01:08:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/21 01:08:38

Modified files:
	.              : ChangeLog 
	gui            : Makefile.am 

Log message:
	Added Aqua-GUI files...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3778&r2=1.3779
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.84&r2=1.85

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3778
retrieving revision 1.3779
diff -u -b -r1.3778 -r1.3779
--- ChangeLog	20 Jul 2007 16:42:35 -0000	1.3778
+++ ChangeLog	21 Jul 2007 01:08:38 -0000	1.3779
@@ -1,3 +1,7 @@
+2007-07-21 Markus Gothe <nietzsche@lysator.liu.se>
+
+	* gui/Makefile.am: Added BUILD_GUI_AQUA.
+
 2007-07-20 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* server/edit_text_character.cpp: fix background and cxform for

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- gui/Makefile.am	20 Jul 2007 01:50:31 -0000	1.84
+++ gui/Makefile.am	21 Jul 2007 01:08:38 -0000	1.85
@@ -15,6 +15,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+# $Id: Makefile.am,v 1.85 2007/07/21 01:08:38 nihilus Exp $
+
 AUTOMAKE_OPTIONS = -Wno-portability
 
 localedir = $(datadir)/locale
@@ -103,6 +105,21 @@
      LIB_FLAGS = -release $(VERSION)
 endif # DYNAMIC_GUI
 
+# AQUA Toolkit
+if BUILD_AQUA_GUI
+if  HAVE_OPENGL
+     plugins_LTLIBRARIES += libgnashaqua_gl.la
+     libgnashaqua_gl_la_CPPFLAGS = -DGUI_AQUA $(AM_CPPFLAGS) \
+	$(OPENGL_CFLAGS)
+     libgnashaqua_gl_la_SOURCES = $(PLAYER_SRCS) \
+	aqua_ogl_glue.cpp aqua_ogl_glue.h \
+	aqua.cpp aquasup.h aqua_glue.h
+     libgnashaqua_gl_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashaqua_gl_la_LIBADD = \
+	$(top_builddir)/backend/libgnashogl.la libgnashgui.la
+endif # HAVE_OPENGL
+endif # BUILD_AQUA_GUI
+
 # GTK2 Toolkit
 if BUILD_GTK_GUI
 if  HAVE_OPENGL



From MAILER-DAEMON Fri Jul 20 21:38:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IC3vf-0002i1-O1
	for mharc-gnash-commit@gnu.org; Fri, 20 Jul 2007 21:38:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IC3ve-0002g8-FH
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 21:38:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IC3vd-0002fK-Ph
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 21:38:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IC3vd-0002f1-Il
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 21:38:41 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IC3vd-0003Vb-6r
	for gnash-commit@gnu.org; Fri, 20 Jul 2007 21:38:41 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IC3vc-0004Ap-1r
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 01:38:40 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IC3vb-0004Am-R8
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 01:38:39 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IC3vb-0004Am-R8@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 21 Jul 2007 01:38:39 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/libbase Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Jul 2007 01:38:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/21 01:38:39

Modified files:
	testsuite/libbase: Makefile.am 

Log message:
	Added boost_cflags

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/libbase/Makefile.am?cvsroot=gnash&r1=1.30&r2=1.31

Patches:
Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/libbase/Makefile.am,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- Makefile.am	12 Jul 2007 23:22:45 -0000	1.30
+++ Makefile.am	21 Jul 2007 01:38:39 -0000	1.31
@@ -33,6 +33,7 @@
         -I$(top_srcdir)/testsuite \
         $(MING_CFLAGS) \
 	$(LIBXML_CFLAGS) \
+	$(BOOST_CFLAGS) \
 	$(NULL)
 
 abs_builddir=`(cd $(top_builddir)/testsuite/libbase; pwd)`



From MAILER-DAEMON Sat Jul 21 13:51:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICJ70-0007xS-5n
	for mharc-gnash-commit@gnu.org; Sat, 21 Jul 2007 13:51:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICJ6y-0007x0-Nw
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 13:51:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICJ6y-0007wb-0q
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 13:51:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICJ6x-0007wW-Oj
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 13:51:23 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <eh@narthex.us>) id 1ICJ6x-0003gP-8u
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 13:51:23 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <eh@narthex.us>)
	id 1ICJ6w-0008Hh-3m
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 17:51:22 +0000
Received: from eh9 by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <eh9@savannah.gnu.org>) id 1ICJ6v-0008He-Vu
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 17:51:22 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICJ6v-0008He-Vu@cvs.savannah.gnu.org>
From: Eric Hughes <eh@narthex.us>
Date: Sat, 21 Jul 2007 17:51:21 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/cygnal ACT/Change_Log.txt ACT/Handle.hpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Jul 2007 17:51:25 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Eric Hughes <eh9>	07/07/21 17:51:21

Modified files:
	cygnal/ACT     : Change_Log.txt Handle.hpp 
	cygnal/ACT/test_support: Action_Tracing.hpp Simple_Actions.hpp 
	                         Supplied_Service.hpp 
	cygnal/ACT/unit_tests: Test_ACT.cpp Test_Scheduler.cpp 
	                       Test_Scheduling_Queue.cpp 
	cygnal/unit_tests: Permutation.hpp Random_Permutation.hpp 
Added files:
	cygnal/unit_tests: Change_Log.txt cygnal_test.hpp 

Log message:
	

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Change_Log.txt?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/Handle.hpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Action_Tracing.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Simple_Actions.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/test_support/Supplied_Service.hpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_ACT.cpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_Scheduler.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Permutation.hpp?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Random_Permutation.hpp?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/Change_Log.txt?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/cygnal/unit_tests/cygnal_test.hpp?cvsroot=gnash&rev=1.1

Patches:
Index: ACT/Change_Log.txt
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Change_Log.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/Change_Log.txt	19 Jul 2007 18:29:34 -0000	1.3
+++ ACT/Change_Log.txt	21 Jul 2007 17:51:20 -0000	1.4
@@ -1,6 +1,12 @@
 Change Log for GNU Cygnal, Module ACT
 =====================================
 
+2007-07-21 Eric Hughes <eh@narthex.us>
+	* Handle.hpp: Changed operator declarations in Handled from references to values.
+	* test_support/Supplied_Service.hpp: Changed auto_ptr to shared_ptr to enable implicit copy constructor.
+	* unit_tests/Test_{Scheduler,ACT,Scheduling_Queue}.cpp: Changed test inclusions to use new header that suppresses spurious MSVC warnings.
+	* unit_tests/Test_Scheduler.cpp: Added typedef test aspect for Handled that refers to access-to-owner base class.  It required explicit namespace qualification.
+
 2007-07-19 Eric Hughes <eh@narthex.us>
 	* Handle.hpp: Added forwarding typedefs in Vector_with_Handle_Index.
 	* Pause_Demon.cpp: Added important portability note.

Index: ACT/Handle.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/Handle.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ACT/Handle.hpp	19 Jul 2007 18:29:34 -0000	1.4
+++ ACT/Handle.hpp	21 Jul 2007 17:51:21 -0000	1.5
@@ -61,12 +61,12 @@
 		explicit Handle( T x )
 			: the_index( x ) {}
 
-		inline bool operator<( Handle & x ) { return the_index < x.the_index ; }
-		inline bool operator<=( Handle & x ) { return the_index <= x.the_index ; }
-		inline bool operator==( Handle & x ) { return the_index == x.the_index ; }
-		inline bool operator>=( Handle & x ) { return the_index >= x.the_index ; }
-		inline bool operator>( Handle & x ) { return the_index > x.the_index ; }
-		inline bool operator!=( Handle & x ) { return the_index != x.the_index ; }
+		inline bool operator<( Handle x ) { return the_index < x.the_index ; }
+		inline bool operator<=( Handle x ) { return the_index <= x.the_index ; }
+		inline bool operator==( Handle x ) { return the_index == x.the_index ; }
+		inline bool operator>=( Handle x ) { return the_index >= x.the_index ; }
+		inline bool operator>( Handle x ) { return the_index > x.the_index ; }
+		inline bool operator!=( Handle x ) { return the_index != x.the_index ; }
 
 		/// Addition is not Handle-to-Handle, but Handle-to-integer, because Handle is ordinal.
 		inline Handle operator+( unsigned int n ) { return Handle( the_index + n ) ; }

Index: ACT/test_support/Action_Tracing.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Action_Tracing.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4

Index: ACT/test_support/Simple_Actions.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Simple_Actions.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4

Index: ACT/test_support/Supplied_Service.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/test_support/Supplied_Service.hpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- ACT/test_support/Supplied_Service.hpp	10 Jul 2007 14:09:09 -0000	1.1
+++ ACT/test_support/Supplied_Service.hpp	21 Jul 2007 17:51:21 -0000	1.2
@@ -79,7 +79,7 @@
 		public aspect::Aspect_Has_Access_To_Owner< Service< Supplied_Service_Aspect > >
 	{
 		/// Tracking
-		std::auto_ptr< tracking_function > tracker ;
+		shared_ptr< tracking_function > tracker ;
 
 	public:
 		Supplied_Service_Aspect( tracking_function * t )

Index: ACT/unit_tests/Test_ACT.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_ACT.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ACT/unit_tests/Test_ACT.cpp	10 Jul 2007 14:09:09 -0000	1.3
+++ ACT/unit_tests/Test_ACT.cpp	21 Jul 2007 17:51:21 -0000	1.4
@@ -21,8 +21,7 @@
 /// \file Test_ACT.cpp
 /// \brief Tests of the simple actions, exercising the basic ACT model.
 
-#include <boost/test/auto_unit_test.hpp>
-#include <boost/test/test_tools.hpp>
+#include "unit_tests/cygnal_test.hpp"
 
 #include "../ACT.hpp"
 #include "ACT/test_support/Simple_Actions.hpp"

Index: ACT/unit_tests/Test_Scheduler.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_Scheduler.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ACT/unit_tests/Test_Scheduler.cpp	10 Jul 2007 14:09:09 -0000	1.4
+++ ACT/unit_tests/Test_Scheduler.cpp	21 Jul 2007 17:51:21 -0000	1.5
@@ -21,8 +21,7 @@
 /// \file Test_Scheduler.cpp
 /// \brief Tests of the Scheduler
 
-#include <boost/test/auto_unit_test.hpp>
-#include <boost/test/test_tools.hpp>
+#include "unit_tests/cygnal_test.hpp"
 
 #include "ACT/Scheduler.hpp"
 #include "ACT/test_support/Simple_Actions.hpp"
@@ -94,11 +93,16 @@
 		: public Null_Aspect_Handled< T >,
 		public aspect::Aspect_Has_Access_To_Owner< Handled< T, test_aspect > >
 	{
-		// The explicit namespace qualification distinguishes the generic declaration from this specialization.
+		/// The explicit namespace qualification distinguishes the generic declaration from this specialization.
 		typedef Handled< test, ACT_Test::test_aspect > owner_type ;
 
+		///
+		typedef aspect::Aspect_Has_Access_To_Owner< Handled< T, ACT_Test::test_aspect > > access_base_type ;
+
 	public:
-		std::string result() const { return owner() -> our_registry.aspect.result() ; }
+		std::string result() const {
+			return access_base_type::owner() -> our_registry.aspect.result() ;
+		}
 	} ;
 
 	//---------------

Index: ACT/unit_tests/Test_Scheduling_Queue.cpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/ACT/unit_tests/Test_Scheduling_Queue.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- ACT/unit_tests/Test_Scheduling_Queue.cpp	10 Jul 2007 14:09:09 -0000	1.4
+++ ACT/unit_tests/Test_Scheduling_Queue.cpp	21 Jul 2007 17:51:21 -0000	1.5
@@ -21,8 +21,8 @@
 /// \file Test_Scheduling_Queue.cpp
 /// \brief Tests of the Scheduling Queue
 
-#include <boost/test/auto_unit_test.hpp>
-#include <boost/test/test_tools.hpp>
+#include "unit_tests/cygnal_test.hpp"
+
 #include "unit_tests/Test_Support.hpp"
 #include "unit_tests/Permutation.hpp"
 #include "unit_tests/Random_Permutation.hpp"

Index: unit_tests/Permutation.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Permutation.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4

Index: unit_tests/Random_Permutation.hpp
===================================================================
RCS file: /sources/gnash/gnash/cygnal/unit_tests/Random_Permutation.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- unit_tests/Random_Permutation.hpp	1 Jul 2007 10:53:56 -0000	1.2
+++ unit_tests/Random_Permutation.hpp	21 Jul 2007 17:51:21 -0000	1.3
@@ -130,3 +130,4 @@
 
 
 #endif	// end of inclusion protection
\ No newline at end of file
+

Index: unit_tests/Change_Log.txt
===================================================================
RCS file: unit_tests/Change_Log.txt
diff -N unit_tests/Change_Log.txt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ unit_tests/Change_Log.txt	21 Jul 2007 17:51:21 -0000	1.1
@@ -0,0 +1,5 @@
+Change Log for GNU Cygnal, Module ACT
+=====================================
+
+2007-07-21 Eric Hughes <eh@narthex.us>
+	* cygnal_test.hpp: New file with all ordinary inclusions.  Includes MSVC warning suppression.
\ No newline at end of file

Index: unit_tests/cygnal_test.hpp
===================================================================
RCS file: unit_tests/cygnal_test.hpp
diff -N unit_tests/cygnal_test.hpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ unit_tests/cygnal_test.hpp	21 Jul 2007 17:51:21 -0000	1.1
@@ -0,0 +1,42 @@
+// 
+// Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This file is part of GNU Cygnal.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/// \file cygnal_test.hpp
+/// \brief All the generic inclusions for unit test in one place, plus error suppression for MSVC.
+
+#pragma once
+#ifndef __cygnal_test_hpp__
+#define __cygnal_test_hpp__
+
+#ifdef _MSC_VER
+#pragma warning( push )
+#pragma warning( disable: 4180 4224 )
+#endif
+
+#include <boost/test/auto_unit_test.hpp>
+#include <boost/test/test_tools.hpp>
+#include <boost/function.hpp>
+
+#ifdef _MSC_VER
+#pragma warning( pop )
+#endif
+
+
+#endif	// end of inclusion protection



From MAILER-DAEMON Sat Jul 21 22:24:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICR7b-0005om-9W
	for mharc-gnash-commit@gnu.org; Sat, 21 Jul 2007 22:24:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICR7Y-0005oh-SP
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 22:24:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICR7Y-0005oV-26
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 22:24:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICR7X-0005oS-PN
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 22:24:31 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1ICR7X-0007qv-4w
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 22:24:31 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6M2OGh45041;
	Sun, 22 Jul 2007 04:24:16 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Sun, 22 Jul 2007 04:24:16 +0200
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
Message-ID: <20070722022416.GA12332@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <12310247678.20070720184723@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 02:24:33 -0000

On Fri, Jul 20, 2007 at 06:47:23PM +0200, Udo Giacomozzi wrote:
> Hello Udo,
> 
> Friday, July 20, 2007, 6:42:36 PM, I wrote:
> UG> +  cxform cf = character::get_world_cxform();
> 
> Is this the correct way? Guess not. Anyway, the ancestor should be
> called...

This is fine, I just don't like the whole thing :)
Trying to emulate the limitation by introducing such hacks in
primitive functions has to be discouraged IMHO.
I haven't seen a test showing that the r/g/b transformations should
work, btw.

> UG> +  if ( 0 /* if using a device font (PP compatibility, TODO) */ ) {
> 
> Sandro, once you add that "is device font" flag to the font definition
> (you said that in IRC), then change this so that the flag is checked
> here.

We have other problems it seems.
See http://foo.keybit.net/~strk/tmp/TextFieldColor.swf.
The color transform flattens the colors to a grayscale.


--strk;



From MAILER-DAEMON Sat Jul 21 22:38:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICRKz-0001Ie-Sg
	for mharc-gnash-commit@gnu.org; Sat, 21 Jul 2007 22:38:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICRKx-0001IZ-TD
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 22:38:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICRKw-0001IN-BI
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 22:38:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICRKw-0001IK-51
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 22:38:22 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1ICRKv-0000yq-GB
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 22:38:21 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6M2cIY45207;
	Sun, 22 Jul 2007 04:38:18 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Sun, 22 Jul 2007 04:38:18 +0200
From: strk <strk@keybit.net>
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
Message-ID: <20070722023818.GB12332@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org, Udo Giacomozzi <udo.gnu@nova-sys.net>
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
	<20070722022416.GA12332@keybit.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070722022416.GA12332@keybit.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: 
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 02:38:24 -0000

On Sun, Jul 22, 2007 at 04:24:16AM +0200, strk wrote:

> We have other problems it seems.
> See http://foo.keybit.net/~strk/tmp/TextFieldColor.swf.
> The color transform flattens the colors to a grayscale.

Finally tracked down the problem to be in the the code
handlign textColor setting ...
See line 769 of edit_text_character.cpp.

It messes directly with the cxform, I don't think it should,
as the cxform would apply to *all* colors (text, border, background).
Rather, the character should maintain a text color rgba member
and pass it to the draw_glyph_records..


--strk;



From MAILER-DAEMON Sat Jul 21 23:29:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICS8Q-00053h-5M
	for mharc-gnash-commit@gnu.org; Sat, 21 Jul 2007 23:29:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICS8P-00053c-6M
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 23:29:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICS8O-00053Q-2L
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 23:29:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICS8N-00053N-V1
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 23:29:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICS8N-000088-Lg
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 23:29:27 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICS8M-00039L-Fb
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 03:29:26 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICS8M-00039G-6M
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 03:29:26 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICS8M-00039G-6M@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 22 Jul 2007 03:29:26 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 03:29:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/22 03:29:26

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp edit_text_character.h 
	                 types.h 
	server/parser  : edit_text_character_def.h 

Log message:
	        * server/types.h (rgba::toRGB): const-corrected.
	        * server/edit_text_character.{cpp,h}: Add a member for text color,
	          make 'textColor' a proper property.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3779&r2=1.3780
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.84&r2=1.85
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/gnash/server/types.h?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.h?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3779
retrieving revision 1.3780
diff -u -b -r1.3779 -r1.3780
--- ChangeLog	21 Jul 2007 01:08:38 -0000	1.3779
+++ ChangeLog	22 Jul 2007 03:29:25 -0000	1.3780
@@ -1,3 +1,9 @@
+2007-07-21 Sandro Santilli <strk@keybit.net>
+
+	* server/types.h (rgba::toRGB): const-corrected.
+	* server/edit_text_character.{cpp,h}: Add a member for text color,
+	  make 'textColor' a proper property.
+
 2007-07-21 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* gui/Makefile.am: Added BUILD_GUI_AQUA.

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- server/edit_text_character.cpp	20 Jul 2007 16:42:35 -0000	1.84
+++ server/edit_text_character.cpp	22 Jul 2007 03:29:25 -0000	1.85
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.84 2007/07/20 16:42:35 udog Exp $ */
+/* $Id: edit_text_character.cpp,v 1.85 2007/07/22 03:29:25 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -67,6 +67,7 @@
 static as_value textfield_border_getset(const fn_call& fn);
 static as_value textfield_backgroundColor_getset(const fn_call& fn);
 static as_value textfield_borderColor_getset(const fn_call& fn);
+static as_value textfield_textColor_getset(const fn_call& fn);
 
 	namespace
 	{
@@ -322,6 +323,8 @@
 	o.init_property("border", *getset, *getset);
 	getset = new builtin_function(textfield_borderColor_getset);
 	o.init_property("borderColor", *getset, *getset);
+	getset = new builtin_function(textfield_textColor_getset);
+	o.init_property("textColor", *getset, *getset);
 
 
 	if ( target_version  < 7 ) return;
@@ -381,7 +384,8 @@
 	_drawBackground(m_def->has_border()),
 	_backgroundColor(255,255,255,255),
 	_drawBorder(m_def->has_border()),
-	_borderColor(0,0,0,255)
+	_borderColor(0,0,0,255),
+	_textColor(m_def->get_text_color())
 {
 	assert(parent);
 	assert(m_def);
@@ -446,16 +450,9 @@
 	if ( drawBorder || drawBackground )
 	{
 		matrix	mat = get_world_matrix();
-		
-		// @@ hm, should we apply the color xform?  It seems logical; need to test.
-		// cxform	cx = get_world_cxform();
-
-		// Show white background + black bounding box.
 		render::set_matrix(mat);
-		//mat.print();
 
 		point	coords[4];
-		
 		coords[0] = def_bounds.get_corner(0);
 		coords[1] = def_bounds.get_corner(1);
 		coords[2] = def_bounds.get_corner(2);
@@ -760,20 +757,6 @@
 		set_cxform(cx);
 		return;
 	}
-	case M_TEXTCOLOR:
-		//else if (name == "textColor")
-	{	
-		// The arg is 0xRRGGBB format.
-		uint32_t	rgb = (uint32_t) val.to_number();
-
-		cxform	cx = get_cxform();
-		cx.m_[0][0] = fclamp(((rgb >> 16) & 255) / 255.0f, 0, 1);
-		cx.m_[1][0] = fclamp(((rgb >>  8) & 255) / 255.0f, 0, 1);
-		cx.m_[2][0] = fclamp(((rgb      ) & 255) / 255.0f, 0, 1);
-		set_cxform(cx);
-
-		return;
-	}
 	// @@ TODO see TextField members in Flash MX docs
 	}	// end switch
 
@@ -815,17 +798,6 @@
 		val->set_double(cx.m_[3][0] * 100.f);
 		return true;
 	}
-	case M_TEXTCOLOR:
-		//else if (name == "textColor")
-	{
-		// Return color in 0xRRGGBB format
-		const cxform&	cx = get_cxform();
-		int	r = iclamp(int(cx.m_[0][0] * 255), 0, 255);
-		int	g = iclamp(int(cx.m_[0][0] * 255), 0, 255);
-		int	b = iclamp(int(cx.m_[0][0] * 255), 0, 255);
-		val->set_int((r << 16) + (g << 8) + b);
-		return true;
-	}
 	case M_X:
 		//else if (name == "_x")
 	{
@@ -950,7 +922,7 @@
 
 	text_glyph_record	rec;	// one to work on
 	rec.m_style.m_font = _font;
-	rec.m_style.m_color = m_def->get_text_color();
+	rec.m_style.m_color = getTextColor(); 
 	rec.m_style.m_x_offset = PADDING_TWIPS + std::max(0, m_def->get_left_margin() + m_def->get_indent());
 	rec.m_style.m_y_offset = PADDING_TWIPS + m_def->get_font_height()
 		+ (_font->get_leading() - _font->get_descent()) * scale;
@@ -1436,6 +1408,16 @@
 	}
 }
 
+void
+edit_text_character::setTextColor(const rgba& col)
+{
+	if ( _textColor != col )
+	{
+		set_invalidated();
+		_textColor = col;
+	}
+}
+
 cxform	
 edit_text_character::get_world_cxform() const
 {
@@ -1522,6 +1504,25 @@
 	return as_value();
 }
 
+static as_value
+textfield_textColor_getset(const fn_call& fn)
+{
+	boost::intrusive_ptr<edit_text_character> ptr = ensureType<edit_text_character>(fn.this_ptr);
+
+	if ( fn.nargs == 0 ) // getter
+	{
+		return as_value(ptr->getTextColor().toRGB());
+	}
+	else // setter
+	{
+		rgba newColor;
+		newColor.parseRGB( fn.arg(0).to_number<uint32_t>(&fn.env()) );
+		ptr->setTextColor(newColor);
+	}
+
+	return as_value();
+}
+
 } // namespace gnash
 
 

Index: server/edit_text_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- server/edit_text_character.h	20 Jul 2007 16:42:35 -0000	1.38
+++ server/edit_text_character.h	22 Jul 2007 03:29:25 -0000	1.39
@@ -135,6 +135,16 @@
 	///
 	void setBorderColor(const rgba& col);
 
+	/// Return color of the text
+	const rgba& getTextColor() const 
+	{
+		return _textColor;
+	}
+
+	/// Set color of the text
+	void setTextColor(const rgba& col);
+
+
 private:
 
 	/// Return true if HTML text is allowed 
@@ -237,6 +247,8 @@
 
 	rgba _borderColor;
 
+	rgba _textColor;
+
 protected:
 
 #ifdef GNASH_USE_GC

Index: server/types.h
===================================================================
RCS file: /sources/gnash/gnash/server/types.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- server/types.h	18 Jul 2007 11:10:54 -0000	1.15
+++ server/types.h	22 Jul 2007 03:29:25 -0000	1.16
@@ -80,7 +80,7 @@
 		/// This function is meant to be used to
 		/// output ActionScript colors in numeric format.
 		///
-		uint32_t toRGB()
+		uint32_t toRGB() const
 		{
 			return (m_r<<16) + (m_g<<8) + m_b;
 		}

Index: server/parser/edit_text_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- server/parser/edit_text_character_def.h	11 Jul 2007 16:52:47 -0000	1.16
+++ server/parser/edit_text_character_def.h	22 Jul 2007 03:29:25 -0000	1.17
@@ -184,6 +184,11 @@
 		return m_color;
 	}
 
+	/// Set color of the text
+	void set_text_color(const rgba& col) {
+		m_color = col;
+	}
+
 	/// \brief
 	/// Get extra space between lines (in twips).
 	//



From MAILER-DAEMON Sat Jul 21 23:38:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICSGe-0006xX-E8
	for mharc-gnash-commit@gnu.org; Sat, 21 Jul 2007 23:38:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICSGd-0006xA-8X
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 23:37:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICSGc-0006wd-98
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 23:37:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICSGc-0006wY-4J
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 23:37:58 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICSGb-0001Tn-RC
	for gnash-commit@gnu.org; Sat, 21 Jul 2007 23:37:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICSGb-0003VX-CJ
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 03:37:57 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICSGb-0003VU-7T
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 03:37:57 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICSGb-0003VU-7T@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 22 Jul 2007 03:37:57 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 03:37:59 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/22 03:37:57

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: TextField.as 

Log message:
	        * testsuite/actionscript.all/TextField.as: update expected
	          results for 'textColor' member.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3780&r2=1.3781
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3780
retrieving revision 1.3781
diff -u -b -r1.3780 -r1.3781
--- ChangeLog	22 Jul 2007 03:29:25 -0000	1.3780
+++ ChangeLog	22 Jul 2007 03:37:56 -0000	1.3781
@@ -1,5 +1,7 @@
 2007-07-21 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/TextField.as: update expected
+	  results for 'textColor' member.
 	* server/types.h (rgba::toRGB): const-corrected.
 	* server/edit_text_character.{cpp,h}: Add a member for text color,
 	  make 'textColor' a proper property.

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/TextField.as	19 Jul 2007 15:57:18 -0000	1.8
+++ testsuite/actionscript.all/TextField.as	22 Jul 2007 03:37:57 -0000	1.9
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.8 2007/07/19 15:57:18 strk Exp $";
+rcsid="$Id: TextField.as,v 1.9 2007/07/22 03:37:57 strk Exp $";
 
 #include "check.as"
 
@@ -59,7 +59,7 @@
 check( !TextField.prototype.hasOwnProperty('scroll') );
 check( !TextField.prototype.hasOwnProperty('selectable') );
 check( !TextField.prototype.hasOwnProperty('text') );
-check( !TextField.prototype.hasOwnProperty('textColor') );
+xcheck( !TextField.prototype.hasOwnProperty('textColor') );
 check( !TextField.prototype.hasOwnProperty('textHeight') );
 check( !TextField.prototype.hasOwnProperty('textWidth') );
 check( !TextField.prototype.hasOwnProperty('type') );
@@ -128,7 +128,7 @@
 xcheck( TextField.prototype.hasOwnProperty('scroll') );
 xcheck( TextField.prototype.hasOwnProperty('selectable') );
 xcheck( TextField.prototype.hasOwnProperty('text') );
-xcheck( TextField.prototype.hasOwnProperty('textColor') );
+check( TextField.prototype.hasOwnProperty('textColor') );
 xcheck( TextField.prototype.hasOwnProperty('textHeight') );
 xcheck( TextField.prototype.hasOwnProperty('textWidth') );
 xcheck( TextField.prototype.hasOwnProperty('type') );
@@ -412,9 +412,9 @@
 
 check_equals(typeof(tf.textColor), 'number');
 check( ! tf.hasOwnProperty('textColor') ); 
-xcheck_equals(tf.textColor, 0);
+check_equals(tf.textColor, 0);
 tf.textColor = 0xFF0000;
-xcheck_equals(tf.textColor, 0xFF0000);
+check_equals(tf.textColor, 0xFF0000);
 // TODO: check color (use misc-ming.all/DefineEditTextTest.swf and a test runner with check_pixel)
 
 // Check TextField.textHeight (height of the bounding box)



From MAILER-DAEMON Sun Jul 22 08:22:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICaRr-0001Hq-0V
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 08:22:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICaRo-0001Gw-L7
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:22:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICaRn-0001GQ-Gw
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:22:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICaRm-0001Fs-Uo
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:22:03 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICaRm-0002EI-C2
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:22:02 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICaRk-0001VO-SH
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:22:00 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICaRk-0001VL-NM
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:22:00 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICaRk-0001VL-NM@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 22 Jul 2007 12:22:00 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 12:22:05 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/22 12:22:00

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	        * server/edit_text_character.cpp (setTextColor):
	          update text glyph records color.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3781&r2=1.3782
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.85&r2=1.86

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3781
retrieving revision 1.3782
diff -u -b -r1.3781 -r1.3782
--- ChangeLog	22 Jul 2007 03:37:56 -0000	1.3781
+++ ChangeLog	22 Jul 2007 12:21:59 -0000	1.3782
@@ -1,3 +1,8 @@
+2007-07-22 Sandro Santilli <strk@keybit.net>
+
+	* server/edit_text_character.cpp (setTextColor): 
+	  update text glyph records color.
+
 2007-07-21 Sandro Santilli <strk@keybit.net>
 
 	* testsuite/actionscript.all/TextField.as: update expected

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -b -r1.85 -r1.86
--- server/edit_text_character.cpp	22 Jul 2007 03:29:25 -0000	1.85
+++ server/edit_text_character.cpp	22 Jul 2007 12:22:00 -0000	1.86
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.85 2007/07/22 03:29:25 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.86 2007/07/22 12:22:00 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1414,7 +1414,17 @@
 	if ( _textColor != col )
 	{
 		set_invalidated();
+
 		_textColor = col;
+
+		// Change color of all current glyph records
+		for (TextGlyphRecords::iterator i=m_text_glyph_records.begin(),
+			e=m_text_glyph_records.end(); i!=e; ++i)
+		{
+		 	text_glyph_record& rec=*i;
+			rec.m_style.m_color = _textColor;
+		}
+
 	}
 }
 



From MAILER-DAEMON Sun Jul 22 08:27:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICaXU-0003L7-UG
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 08:27:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICaXT-0003Kp-L7
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:27:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICaXT-0003KP-2r
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:27:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICaXS-0003KK-Rt
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:27:54 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICaXS-0003aW-H9
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:27:54 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICaXR-0001gr-Tc
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:27:54 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICaXR-0001go-Pi
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:27:53 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICaXR-0001go-Pi@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 22 Jul 2007 12:27:53 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 12:27:56 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/22 12:27:53

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.h 

Log message:
	Oops, forgot to commit the TextGlyphRecords typedef

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3782&r2=1.3783
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.39&r2=1.40

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3782
retrieving revision 1.3783
diff -u -b -r1.3782 -r1.3783
--- ChangeLog	22 Jul 2007 12:21:59 -0000	1.3782
+++ ChangeLog	22 Jul 2007 12:27:53 -0000	1.3783
@@ -1,6 +1,6 @@
 2007-07-22 Sandro Santilli <strk@keybit.net>
 
-	* server/edit_text_character.cpp (setTextColor): 
+	* server/edit_text_character.{cpp,h} (setTextColor): 
 	  update text glyph records color.
 
 2007-07-21 Sandro Santilli <strk@keybit.net>

Index: server/edit_text_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- server/edit_text_character.h	22 Jul 2007 03:29:25 -0000	1.39
+++ server/edit_text_character.h	22 Jul 2007 12:27:53 -0000	1.40
@@ -172,7 +172,8 @@
 		m_text_bounding_box.enclose_point(x,y);
 	}
 
-	std::vector<text_glyph_record>	m_text_glyph_records;
+	typedef std::vector<text_glyph_record> TextGlyphRecords;
+	TextGlyphRecords m_text_glyph_records;
 
 	/// used to pass a color on to shape_character::display()
 	std::vector<fill_style>	m_dummy_style;



From MAILER-DAEMON Sun Jul 22 08:37:08 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICagO-0007XA-80
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 08:37:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICagN-0007X4-1x
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:37:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICagK-0007Ws-SB
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:37:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICagK-0007Wp-Oz
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:37:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICagK-0005Wm-Eq
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:37:04 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICagJ-00021v-EC
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:37:03 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICagJ-00021s-Az
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:37:03 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICagJ-00021s-Az@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 22 Jul 2007 12:37:03 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/samples/input-fields.swf
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 12:37:07 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/22 12:37:03

Modified files:
	.              : ChangeLog 
Added files:
	testsuite/samples: input-fields.swf 

Log message:
	        * testsuite/samples/input-fields.swf: sample movie
	          for textfields.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3783&r2=1.3784
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/input-fields.swf?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3783
retrieving revision 1.3784
diff -u -b -r1.3783 -r1.3784
--- ChangeLog	22 Jul 2007 12:27:53 -0000	1.3783
+++ ChangeLog	22 Jul 2007 12:37:02 -0000	1.3784
@@ -1,3 +1,8 @@
+2007-07-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* testsuite/samples/input-fields.swf: sample movie
+	  for textfields.
+
 2007-07-22 Sandro Santilli <strk@keybit.net>
 
 	* server/edit_text_character.{cpp,h} (setTextColor): 

Index: testsuite/samples/input-fields.swf
===================================================================
RCS file: testsuite/samples/input-fields.swf
diff -N testsuite/samples/input-fields.swf
Binary files /dev/null and /tmp/cvs8K9Ufv differ



From MAILER-DAEMON Sun Jul 22 08:40:01 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICajB-0007u0-Lw
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 08:40:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICaj9-0007tj-ND
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:39:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICaj7-0007tX-6G
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:39:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICaj7-0007tU-3b
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:39:57 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1ICaj6-00066s-A8
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:39:56 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6MCdqX52457;
	Sun, 22 Jul 2007 14:39:52 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Sun, 22 Jul 2007 14:39:52 +0200
From: strk <strk@keybit.net>
To: gnash-commit@gnu.org, Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
Message-ID: <20070722123952.GA51920@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org, Udo Giacomozzi <udo.gnu@nova-sys.net>
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
	<20070722022416.GA12332@keybit.net>
	<20070722023818.GB12332@keybit.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070722023818.GB12332@keybit.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: 
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 12:40:00 -0000

On Sun, Jul 22, 2007 at 04:38:18AM +0200, strk wrote:

> Finally tracked down the problem to be in the the code
> handlign textColor setting ...
> See line 769 of edit_text_character.cpp.

I fixed that problem. Text color has now its own member.
I'm pretty happy with text coloring now. The only "problem"
is emulating what I belive most flash coders consider a *limitation*
of the proprietary player, which I'm not sure we should care
about (the thing Udo tried to obtain with that overridden get_world_cxform).

(yes, text layout for device fonts is also a problem in some cases)

--strk;



From MAILER-DAEMON Sun Jul 22 08:45:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICaoC-000067-Gq
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 08:45:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICaoB-00005s-Cu
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:45:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICaoA-00005f-2M
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:45:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICao9-00005c-Sv
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:45:09 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1ICao9-0006yW-59
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:45:09 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6MCj3552588;
	Sun, 22 Jul 2007 14:45:03 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Sun, 22 Jul 2007 14:45:03 +0200
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
Message-ID: <20070722124503.GB51920@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <12310247678.20070720184723@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 12:45:11 -0000

On Fri, Jul 20, 2007 at 06:47:23PM +0200, Udo Giacomozzi wrote:

> UG> +    // set alpha to default values to make the text field opaque
> UG> +    cf.m_[3][0] = 1.0f;
> UG> +    cf.m_[3][1] = 0.0f;
> 
> Yes, I know, we should add a setAlpha() or similar function to the
> cxform class...

Actually, it seems that to obtain full "dumb" compatibility would
be to return a default-constructed cxform here. See input-field.swf.
Your vesrion only handles _alpha, while the test shows also colors
do not have effect.

Now for the redesign part :)
If we avoid calling get_world_cxform in *two* places like we're doing 
now (once for border/background and one from inside display_glyph_records)
we could then move the "dumb compatibility" check inside ::display
and avoid the get_world_cxform override completely.

--strk;



From MAILER-DAEMON Sun Jul 22 08:47:42 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICaqc-0001ec-MY
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 08:47:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICaqb-0001e0-6c
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:47:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICaqa-0001do-H4
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:47:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICaqa-0001dl-E8
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:47:40 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICaqa-0007hH-1b
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 08:47:40 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICaqY-0003kF-RV
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:47:39 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICaqY-0003k8-Mo
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:47:38 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICaqY-0003k8-Mo@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 22 Jul 2007 12:47:38 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 12:47:41 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/22 12:47:38

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	        * server/edit_text_character.cpp: (get_world_cxform):
	          return the identity transform in the (disabled)
	          "device font" section.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3784&r2=1.3785
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.86&r2=1.87

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3784
retrieving revision 1.3785
diff -u -b -r1.3784 -r1.3785
--- ChangeLog	22 Jul 2007 12:37:02 -0000	1.3784
+++ ChangeLog	22 Jul 2007 12:47:37 -0000	1.3785
@@ -1,3 +1,9 @@
+2007-07-22 Sandro Santilli <strk@keybit.net>
+
+	* server/edit_text_character.cpp: (get_world_cxform):
+	  return the identity transform in the (disabled) 
+	  "device font" section.
+
 2007-07-22 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* testsuite/samples/input-fields.swf: sample movie

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- server/edit_text_character.cpp	22 Jul 2007 12:22:00 -0000	1.86
+++ server/edit_text_character.cpp	22 Jul 2007 12:47:38 -0000	1.87
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.86 2007/07/22 12:22:00 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.87 2007/07/22 12:47:38 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1431,15 +1431,14 @@
 cxform	
 edit_text_character::get_world_cxform() const
 {
-  cxform cf = character::get_world_cxform();
-  
-  if ( 0 /* if using a device font (PP compatibility, TODO) */ ) {
-    // set alpha to default values to make the text field opaque
-    cf.m_[3][0] = 1.0f;
-    cf.m_[3][1] = 0.0f;
+  if ( 0 /* if using a device font (PP compatibility, TODO) */ )
+  {
+	return cxform();
+  }
+  else
+  {
+     return character::get_world_cxform();
   }
-  
-  return cf;
 }
 
 static as_value



From MAILER-DAEMON Sun Jul 22 12:12:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICe2q-0001Qq-EG
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 12:12:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICe2p-0001Ql-Mh
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:12:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICe2p-0001QY-6M
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:12:31 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICe2o-0001QV-V4
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:12:31 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1ICe2o-0005IQ-IM
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:12:30 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6MGCMU4021527;
	Sun, 22 Jul 2007 18:12:27 +0200
Date: Sun, 22 Jul 2007 18:12:20 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <766746829.20070722181220@nova-sys.net>
To: strk <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
	...
In-Reply-To: <20070722124503.GB51920@keybit.net>
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
	<20070722124503.GB51920@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 16:12:32 -0000

Hello strk,

Sunday, July 22, 2007, 2:45:03 PM, you wrote:
s> Your vesrion only handles _alpha, while the test shows also colors
s> do not have effect.

Untrue. Have a look at my testcase (input-fields.swf), you can clearly
see the devicefont-textfields get colored borders/backgrounds. The
testcase uses cxform for that! The only difference to the embedded
fonts is that they are always opaque.

Why do you think color has no effect?

My patch fixed all problems with the testcase.

Either there is some special case left that we have to take care of or
there is some misunderstanding..


s> If we avoid calling get_world_cxform in *two* places like we're doing
s> now (once for border/background and one from inside display_glyph_records)
s> we could then move the "dumb compatibility" check inside ::display
s> and avoid the get_world_cxform override completely.

Why don't you like the get_world_cxform override? IMHO that's the only
correct way to do (since cxform is *limited*) and we don't need to
rewrite any rendering code..


Udo




From MAILER-DAEMON Sun Jul 22 12:20:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICeAr-0004CV-3C
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 12:20:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICeAp-0004CQ-N1
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:20:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICeAo-0004CE-33
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:20:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICeAn-0004CB-Tg
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:20:45 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1ICeAn-0006WB-FI
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:20:45 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6MGKcU4022380;
	Sun, 22 Jul 2007 18:20:43 +0200
Date: Sun, 22 Jul 2007 18:20:32 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <62197938.20070722182032@nova-sys.net>
To: strk <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
	...
In-Reply-To: <20070722023818.GB12332@keybit.net>
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
	<20070722022416.GA12332@keybit.net>
	<20070722023818.GB12332@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 16:20:48 -0000

Hello strk,

Sunday, July 22, 2007, 4:38:18 AM, you wrote:
>> We have other problems it seems.
>> See http://foo.keybit.net/~strk/tmp/TextFieldColor.swf.
>> The color transform flattens the colors to a grayscale.

I'll check this tomorrow. Probably only a implementation *detail*
problem (ie. the cxform fields access), not related with the whole
thing.


s> It messes directly with the cxform, I don't think it should,
s> as the cxform would apply to *all* colors (text, border, background).

Indeed, that's what we need! Place a text field (device font) into a
movieclip, then apply a cxform that changes tint of the MC *and* sets
alpha to 50% or similar. You'll see that the text field is opaque
(alpha=100%) instead but text and border and background have the
desired colors.


s> Rather, the character should maintain a text color rgba member
s> and pass it to the draw_glyph_records..

Contrary to the cxform hack this would mean:
- special handling for the border/background drawing
- special handling for the glyphs color (still the *same* cxform to
  apply)
- change draw_glyph_records to not use world cxform.

Much code change, no benefit and error prone in the future IMHO.

Udo




From MAILER-DAEMON Sun Jul 22 12:23:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICeD0-0004sl-M6
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 12:23:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICeCz-0004sg-Hz
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:23:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICeCy-0004sU-6R
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:23:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICeCy-0004sR-0u
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:23:00 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1ICeCx-0006n9-Ke
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 12:22:59 -0400
Received: from UDO-LAPTOP (host113-29.pool8290.interbusiness.it [82.90.29.113])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6MGMqU4022567;
	Sun, 22 Jul 2007 18:22:57 +0200
Date: Sun, 22 Jul 2007 18:22:52 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <1921208708.20070722182252@nova-sys.net>
To: strk <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
	...
In-Reply-To: <20070722123952.GA51920@keybit.net>
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
	<20070722022416.GA12332@keybit.net>
	<20070722023818.GB12332@keybit.net>
	<20070722123952.GA51920@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 16:23:02 -0000

Hello strk,

Sunday, July 22, 2007, 2:39:52 PM, you wrote:

s> The only "problem" is emulating what I belive most flash coders
s> consider a *limitation* of the proprietary player, which I'm not
s> sure we should care about

We discussed this a couple of times and AFAIK we want to emulate as
good as possible the PP, including limitations.

Again, if Gnash could do better, this should be an optional feature
that the *user* can activate.

Udo




From MAILER-DAEMON Sun Jul 22 19:28:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICkqQ-0003iZ-Bw
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 19:28:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICkqP-0003gq-BJ
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 19:28:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICkqO-0003fx-Ma
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 19:28:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICkqO-0003fq-Hr
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 19:28:08 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1ICkqO-00038H-6z
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 19:28:08 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1ICkqM-0003Ue-6n
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 23:28:06 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1ICkqM-0003Ub-1b
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 23:28:06 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICkqM-0003Ub-1b@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sun, 22 Jul 2007 23:28:06 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp aqua_ogl_glue.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 23:28:09 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/22 23:28:06

Modified files:
	gui            : aqua.cpp aqua_ogl_glue.cpp 

Log message:
	Tweaks

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.cpp?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- aqua.cpp	1 Jul 2007 10:54:00 -0000	1.10
+++ aqua.cpp	22 Jul 2007 23:28:05 -0000	1.11
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.10 2007/07/01 10:54:00 bjacques Exp $ */
+/* $Id: aqua.cpp,v 1.11 2007/07/22 23:28:05 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -42,6 +42,31 @@
 
 #include <Carbon/Carbon.h>
 
+struct GlobalAppInfo  
+{
+  CFBundleRef		mainBundle;
+  IBNibRef			mainNib;
+  WindowGroupRef	windowGroups[3];
+};
+typedef struct GlobalAppInfo GlobalAppInfo;
+
+GlobalAppInfo  g;
+
+static pascal OSStatus AppEventHandlerProc(EventHandlerCallRef inCallRef, EventRef inEvent, void* inUserData)
+{
+  #pragma unused (inCallRef)
+  HICommand        		command;
+  WindowGroupRef		windowGroup;
+  WindowGroupAttributes windowGroupAttributes;
+  UInt32	eventKind 	= GetEventKind(inEvent);
+  UInt32	eventClass	= GetEventClass(inEvent);
+  WindowRef	window 		= (WindowRef) inUserData;
+  OSStatus	err 		= eventNotHandledErr;
+ 
+  return err;	
+}
+static pascal OSStatus SimpleWindowEventHandlerProc(EventHandlerCallRef inCallRef, EventRef inEvent, void* inUserData);
+
 namespace gnash {
 	
 AquaGui::AquaGui()
@@ -68,19 +93,58 @@
 bool AquaGui::run()
 {
     GNASH_REPORT_FUNCTION;
-    return false;
+    
+    RunApplicationEventLoop();
+    return true;
 }
 
 void AquaGui::renderBuffer()
 {
-    //GNASH_REPORT_FUNCTION;
-
-    _glue.render();
+    GNASH_REPORT_FUNCTION;
 }
 
 bool AquaGui::init(int /*argc*/, char *** /*argv*/) /* Self-explainatory */
 {
-	return true;
+  OSErr 						err;
+  static const EventTypeSpec	sApplicationEvents[] =  {  {kEventClassCommand, kEventCommandProcess}  };
+
+  BlockZero(&g, sizeof(g));
+    
+  g.mainBundle = CFBundleGetMainBundle();
+  if (g.mainBundle == NULL) 
+  {
+  	 err = -1;  
+  	 goto Bail;
+  }
+  
+  err  = CreateNibReferenceWithCFBundle(g.mainBundle, CFSTR("aqua"), &g.mainNib);
+  if (err != noErr)goto Bail;
+  if (g.mainNib == NULL)
+  {
+  	err = -1;
+  	goto Bail;
+  }
+
+  err = SetMenuBarFromNib(g.mainNib, CFSTR("MenuBar"));
+  if (err != noErr)goto Bail;
+
+  InstallApplicationEventHandler(NewEventHandlerUPP(AppEventHandlerProc), GetEventTypeCount(sApplicationEvents), sApplicationEvents, 0, NULL);
+
+  //  Force the document group to be created first, so we can position our groups between the floating and document groups
+  (void) GetWindowGroupOfClass(kDocumentWindowClass);
+  
+  //  Create our default WindowGroups and set their z-order
+  err = CreateWindowGroup(0, &g.windowGroups[0]);
+  err = CreateWindowGroup(0, &g.windowGroups[1]);
+  err = CreateWindowGroup(0, &g.windowGroups[2]);
+
+  //  Position our groups behind the floating group and in front of the document group
+  SendWindowGroupBehind(g.windowGroups[2], GetWindowGroupOfClass(kDocumentWindowClass));
+  SendWindowGroupBehind(g.windowGroups[1], g.windowGroups[2]);
+  SendWindowGroupBehind(g.windowGroups[0], g.windowGroups[1]);
+
+Bail:  
+  return err;	
 }
 
 void AquaGui::setTimeout(unsigned int timeout)
@@ -92,9 +156,10 @@
 {
 }
 
-bool AquaGui::createWindow(const char* /*title*/, int /*width*/, int /*height*/)
+bool AquaGui::createWindow(const char* title, int width, int height)
 {
-	return true;
+
+    return false;
 }
 
 bool AquaGui::createMenu()

Index: aqua_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- aqua_ogl_glue.cpp	1 Jul 2007 10:54:00 -0000	1.9
+++ aqua_ogl_glue.cpp	22 Jul 2007 23:28:05 -0000	1.10
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.cpp,v 1.9 2007/07/01 10:54:00 bjacques Exp $ */
+/* $Id: aqua_ogl_glue.cpp,v 1.10 2007/07/22 23:28:05 nihilus Exp $ */
 
 
 #include "aqua_ogl_glue.h"
@@ -116,8 +116,9 @@
 void
 AquaOglGlue::render()
 {
-//    GNASH_REPORT_FUNCTION;
+    GNASH_REPORT_FUNCTION;
     //SDL_GL_SwapBuffers();
+    glFlush();
 }
 
 } // namespace gnash
\ No newline at end of file



From MAILER-DAEMON Sun Jul 22 19:40:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICl26-0007xq-S4
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 19:40:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICl25-0007vK-F9
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 19:40:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICl24-0007uZ-Rn
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 19:40:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICl24-0007uI-NU
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 19:40:12 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1ICl24-00050F-ET
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 19:40:12 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1ICl23-0003mD-Ck
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 23:40:11 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1ICl23-0003mA-2i
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 23:40:11 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICl23-0003mA-2i@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sun, 22 Jul 2007 23:40:11 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp aqua_glue.h aquasup.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 22 Jul 2007 23:40:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/22 23:40:10

Modified files:
	gui            : aqua.cpp aqua_glue.h aquasup.h 

Log message:
	More OSX-stuff

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_glue.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aquasup.h?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- aqua.cpp	22 Jul 2007 23:28:05 -0000	1.11
+++ aqua.cpp	22 Jul 2007 23:40:09 -0000	1.12
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.11 2007/07/22 23:28:05 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.12 2007/07/22 23:40:09 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -101,9 +101,16 @@
 void AquaGui::renderBuffer()
 {
     GNASH_REPORT_FUNCTION;
+    _glue.render();
 }
 
-bool AquaGui::init(int /*argc*/, char *** /*argv*/) /* Self-explainatory */
+void
+AquaGui::setInvalidatedRegions(const InvalidatedRanges& ranges)
+{
+    _glue.setInvalidatedRegions(ranges);
+}
+
+bool AquaGui::init(int argc, char ***argv) /* Self-explainatory */
 {
   OSErr 						err;
   static const EventTypeSpec	sApplicationEvents[] =  {  {kEventClassCommand, kEventCommandProcess}  };
@@ -143,6 +150,9 @@
   SendWindowGroupBehind(g.windowGroups[1], g.windowGroups[2]);
   SendWindowGroupBehind(g.windowGroups[0], g.windowGroups[1]);
 
+  _glue.init (argc, argv);
+
+
 Bail:  
   return err;	
 }

Index: aqua_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_glue.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- aqua_glue.h	1 Jul 2007 10:54:00 -0000	1.5
+++ aqua_glue.h	22 Jul 2007 23:40:09 -0000	1.6
@@ -18,12 +18,13 @@
 // 
 //
 
-/* $Id: aqua_glue.h,v 1.5 2007/07/01 10:54:00 bjacques Exp $ */
+/* $Id: aqua_glue.h,v 1.6 2007/07/22 23:40:09 nihilus Exp $ */
 
 #ifndef AQUA_GLUE_H
 #define AQUA_GLUE_H
 
 #include "gnash.h"
+#include "snappingrange.h"
 
 namespace gnash
 {
@@ -33,7 +34,7 @@
   public:
     virtual ~AquaGlue() { }
     virtual bool init(int argc, char **argv[]) = 0;
-
+    virtual void setInvalidatedRegions(const InvalidatedRanges& /* ranges */) {}
     virtual bool prepDrawingArea(int width, int height) = 0;
     virtual render_handler* createRenderHandler(int depth) = 0;
     virtual void render() = 0;

Index: aquasup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aquasup.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- aquasup.h	1 Jul 2007 10:54:00 -0000	1.7
+++ aquasup.h	22 Jul 2007 23:40:09 -0000	1.8
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aquasup.h,v 1.7 2007/07/01 10:54:00 bjacques Exp $ */
+/* $Id: aquasup.h,v 1.8 2007/07/22 23:40:09 nihilus Exp $ */
 
 #ifndef __AQUASUP_H__
 #define __AQUASUP_H__
@@ -65,6 +65,7 @@
     virtual bool createMenu();
     virtual bool setupEvents();
     virtual void renderBuffer();
+    virtual void setInvalidatedRegions(const InvalidatedRanges& ranges);
     virtual void setInterval(unsigned int interval);
     virtual void setTimeout(unsigned int timeout);
 };



From MAILER-DAEMON Sun Jul 22 20:00:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IClM8-0005PG-Vv
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 20:00:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IClM6-0005My-IF
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 20:00:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IClM5-0005MD-Gy
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 20:00:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IClM5-0005M7-Cp
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 20:00:53 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IClM4-0008A2-LE
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 20:00:52 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IClM3-0005s8-Pa
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:00:51 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IClM3-0005s5-LN
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:00:51 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IClM3-0005s5-LN@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 23 Jul 2007 00:00:51 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp aqua_glue.h aqua_ogl_glue.cp...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 00:00:54 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/23 00:00:51

Modified files:
	gui            : aqua.cpp aqua_glue.h aqua_ogl_glue.cpp 
	                 aqua_ogl_glue.h aquasup.h 

Log message:
	More OSX...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_glue.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.cpp?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.h?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aquasup.h?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- aqua.cpp	22 Jul 2007 23:40:09 -0000	1.12
+++ aqua.cpp	23 Jul 2007 00:00:51 -0000	1.13
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.12 2007/07/22 23:40:09 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.13 2007/07/23 00:00:51 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -69,12 +69,6 @@
 
 namespace gnash {
 	
-AquaGui::AquaGui()
-: Gui() 
-{
-
-}
-
 AquaGui::AquaGui(unsigned long xid, float scale, bool loop, unsigned int depth)
 	: Gui(xid, scale, loop, depth)
 {
@@ -107,6 +101,7 @@
 void
 AquaGui::setInvalidatedRegions(const InvalidatedRanges& ranges)
 {
+	GNASH_REPORT_FUNCTION;
     _glue.setInvalidatedRegions(ranges);
 }
 
@@ -115,6 +110,8 @@
   OSErr 						err;
   static const EventTypeSpec	sApplicationEvents[] =  {  {kEventClassCommand, kEventCommandProcess}  };
 
+  GNASH_REPORT_FUNCTION;
+  
   BlockZero(&g, sizeof(g));
     
   g.mainBundle = CFBundleGetMainBundle();
@@ -152,6 +149,10 @@
   
   _glue.init (argc, argv);
 
+    _renderer = _glue.createRenderHandler();
+    if(!_renderer)return false;    
+    return true;
+
 
 Bail:  
   return err;	
@@ -168,8 +169,9 @@
 
 bool AquaGui::createWindow(const char* title, int width, int height)
 {
-
-    return false;
+	_glue.prepDrawingArea(_width, _height);
+    set_render_handler(_renderer);
+    return true;
 }
 
 bool AquaGui::createMenu()

Index: aqua_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_glue.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- aqua_glue.h	22 Jul 2007 23:40:09 -0000	1.6
+++ aqua_glue.h	23 Jul 2007 00:00:51 -0000	1.7
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_glue.h,v 1.6 2007/07/22 23:40:09 nihilus Exp $ */
+/* $Id: aqua_glue.h,v 1.7 2007/07/23 00:00:51 nihilus Exp $ */
 
 #ifndef AQUA_GLUE_H
 #define AQUA_GLUE_H
@@ -36,7 +36,7 @@
     virtual bool init(int argc, char **argv[]) = 0;
     virtual void setInvalidatedRegions(const InvalidatedRanges& /* ranges */) {}
     virtual bool prepDrawingArea(int width, int height) = 0;
-    virtual render_handler* createRenderHandler(int depth) = 0;
+    virtual render_handler* createRenderHandler() = 0;
     virtual void render() = 0;
   protected:
     int _bpp;

Index: aqua_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- aqua_ogl_glue.cpp	22 Jul 2007 23:28:05 -0000	1.10
+++ aqua_ogl_glue.cpp	23 Jul 2007 00:00:51 -0000	1.11
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.cpp,v 1.10 2007/07/22 23:28:05 nihilus Exp $ */
+/* $Id: aqua_ogl_glue.cpp,v 1.11 2007/07/23 00:00:51 nihilus Exp $ */
 
 
 #include "aqua_ogl_glue.h"
@@ -48,47 +48,24 @@
 
 bool AquaOglGlue::init(int, char***)
 {
-//    GNASH_REPORT_FUNCTION;
+    GNASH_REPORT_FUNCTION;
 
     return true;
 }
 
 
-render_handler* AquaOglGlue::createRenderHandler(int depth)
+render_handler* AquaOglGlue::createRenderHandler()
 {
-//    GNASH_REPORT_FUNCTION;
-
-    _bpp = depth;
+    GNASH_REPORT_FUNCTION;
     render_handler* renderer = create_render_handler_ogl();
-
+#ifdef FIX_I810_LOD_BIAS
+    glTexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, _tex_lod_bias);
+#endif
     return renderer;
 }
 
 bool AquaOglGlue::prepDrawingArea(int width, int height)
 {
-    if (_bpp == 16) {
-      // 16-bit color, surface creation is likely to succeed.
-      /*SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 5);
-      SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 5);
-      SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 5);
-      SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 15);
-      SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
-      SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 1);*/
-    } else {
-      assert(_bpp == 32);
-
-      // 32-bit color etc, for getting dest alpha,
-      // for MULTIPASS_ANTIALIASING (see
-      // render_handler_ogl.cpp).
-      /*SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
-      SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
-      SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
-      SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8);
-      SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
-      SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
-      SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE, 1);*/
-    }
-
     //SDL_SetVideoMode(width, height, _bpp, sdl_flags | SDL_OPENGL);
 
      // Turn on alpha blending.

Index: aqua_ogl_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- aqua_ogl_glue.h	1 Jul 2007 10:54:00 -0000	1.5
+++ aqua_ogl_glue.h	23 Jul 2007 00:00:51 -0000	1.6
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.h,v 1.5 2007/07/01 10:54:00 bjacques Exp $ */
+/* $Id: aqua_ogl_glue.h,v 1.6 2007/07/23 00:00:51 nihilus Exp $ */
 
 #ifndef AQUA_OGL_GLUE_H
 #define AQUA_OGL_GLUE_H
@@ -37,7 +37,7 @@
     virtual ~AquaOglGlue();
 
     bool init(int argc, char ***argv);
-    render_handler* createRenderHandler( int depth);
+    render_handler* createRenderHandler();
     bool prepDrawingArea(int width, int height);
     void render();
   private:

Index: aquasup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aquasup.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- aquasup.h	22 Jul 2007 23:40:09 -0000	1.8
+++ aquasup.h	23 Jul 2007 00:00:51 -0000	1.9
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aquasup.h,v 1.8 2007/07/22 23:40:09 nihilus Exp $ */
+/* $Id: aquasup.h,v 1.9 2007/07/23 00:00:51 nihilus Exp $ */
 
 #ifndef __AQUASUP_H__
 #define __AQUASUP_H__
@@ -56,10 +56,10 @@
 #endif
 	  	
 	public:
-		AquaGui();
 		AquaGui(unsigned long xid, float scale, bool loop, unsigned int depth);
     virtual ~AquaGui();
     virtual bool init(int argc, char ***argv);
+    virtual void setCursor(gnash_cursor_type newcursor);
     virtual bool createWindow(const char* title, int width, int height);
     virtual bool run();
     virtual bool createMenu();



From MAILER-DAEMON Sun Jul 22 20:37:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IClvP-0000DA-4d
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 20:37:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IClvN-0000Cp-KG
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 20:37:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IClvN-0000Cd-0c
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 20:37:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IClvM-0000Ca-VB
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 20:37:20 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IClvM-0005aC-LF
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 20:37:20 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IClvL-0008KR-M7
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:37:19 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IClvL-0008KO-G3
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:37:19 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IClvL-0008KO-G3@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 23 Jul 2007 00:37:19 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp aqua_ogl_glue.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 00:37:22 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/23 00:37:19

Modified files:
	gui            : aqua.cpp aqua_ogl_glue.cpp 

Log message:
	Stub for Aqua cursors

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.cpp?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- aqua.cpp	23 Jul 2007 00:00:51 -0000	1.13
+++ aqua.cpp	23 Jul 2007 00:37:19 -0000	1.14
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.13 2007/07/23 00:00:51 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.14 2007/07/23 00:37:19 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -167,6 +167,23 @@
 {
 }
 
+void AquaGui::setCursor(gnash_cursor_type newcursor)
+{
+	  GNASH_REPORT_FUNCTION;
+#if 0	  
+	  switch(newcursor) {
+	  	case gnash::CURSOR_HAND:	  		
+			setCursor();
+        	break;
+      	case gnash::CURSOR_INPUT:
+      		setCursor()
+        	break;
+      	default:
+      	setCursor();
+        }
+#endif        
+}
+
 bool AquaGui::createWindow(const char* title, int width, int height)
 {
 	_glue.prepDrawingArea(_width, _height);

Index: aqua_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- aqua_ogl_glue.cpp	23 Jul 2007 00:00:51 -0000	1.11
+++ aqua_ogl_glue.cpp	23 Jul 2007 00:37:19 -0000	1.12
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.cpp,v 1.11 2007/07/23 00:00:51 nihilus Exp $ */
+/* $Id: aqua_ogl_glue.cpp,v 1.12 2007/07/23 00:37:19 nihilus Exp $ */
 
 
 #include "aqua_ogl_glue.h"
@@ -46,14 +46,26 @@
 
 }
 
-bool AquaOglGlue::init(int, char***)
-{
-    GNASH_REPORT_FUNCTION;
 
+bool
+#ifdef FIX_I810_LOD_BIAS
+AquaOglGlue::init(int argc, char** argv[])
+#else
+AquaOglGlue::init(int, char***)
+#endif
+{
+//    GNASH_REPORT_FUNCTION;
+#ifdef FIX_I810_LOD_BIAS
+    int c = getopt (argc, *argv, "m:");
+    if (c == 'm') {
+      _tex_lod_bias = (float) atof(optarg);
+    }
+#endif
     return true;
 }
 
 
+
 render_handler* AquaOglGlue::createRenderHandler()
 {
     GNASH_REPORT_FUNCTION;



From MAILER-DAEMON Sun Jul 22 21:01:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICmIq-0006PU-04
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 21:01:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICmIo-0006Oz-8T
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:01:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICmIn-0006On-L1
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:01:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICmIn-0006Ok-GO
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:01:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1ICmIn-00016H-0i
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:01:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1ICmIm-00021x-3o
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 01:01:32 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1ICmIl-00021u-VF
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 01:01:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICmIl-00021u-VF@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 23 Jul 2007 01:01:31 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp aqua_ogl_glue.cpp aqua_ogl_g...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 01:01:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/23 01:01:31

Modified files:
	gui            : aqua.cpp aqua_ogl_glue.cpp aqua_ogl_glue.h 
	                 aquasup.h 

Log message:
	Fixes etc...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.cpp?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.h?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aquasup.h?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- aqua.cpp	23 Jul 2007 00:37:19 -0000	1.14
+++ aqua.cpp	23 Jul 2007 01:01:31 -0000	1.15
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.14 2007/07/23 00:37:19 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.15 2007/07/23 01:01:31 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -63,6 +63,7 @@
   WindowRef	window 		= (WindowRef) inUserData;
   OSStatus	err 		= eventNotHandledErr;
  
+  GNASH_REPORT_FUNCTION;
   return err;	
 }
 static pascal OSStatus SimpleWindowEventHandlerProc(EventHandlerCallRef inCallRef, EventRef inEvent, void* inUserData);
@@ -86,38 +87,16 @@
 
 bool AquaGui::run()
 {
-    GNASH_REPORT_FUNCTION;
-    
-    RunApplicationEventLoop();
-    return true;
-}
-
-void AquaGui::renderBuffer()
-{
-    GNASH_REPORT_FUNCTION;
-    _glue.render();
-}
-
-void
-AquaGui::setInvalidatedRegions(const InvalidatedRanges& ranges)
-{
-	GNASH_REPORT_FUNCTION;
-    _glue.setInvalidatedRegions(ranges);
-}
-
-bool AquaGui::init(int argc, char ***argv) /* Self-explainatory */
-{
   OSErr 						err;
   static const EventTypeSpec	sApplicationEvents[] =  {  {kEventClassCommand, kEventCommandProcess}  };
   
   GNASH_REPORT_FUNCTION;
-  
   BlockZero(&g, sizeof(g));
     
   g.mainBundle = CFBundleGetMainBundle();
   if (g.mainBundle == NULL) 
   {
-  	 err = -1;  
+  		err = false;
   	 goto Bail;
   }
   
@@ -125,11 +104,11 @@
   if (err != noErr)goto Bail;
   if (g.mainNib == NULL)
   {
-  	err = -1;
+  		err = false;
   	goto Bail;
   }
 
-  err = SetMenuBarFromNib(g.mainNib, CFSTR("MenuBar"));
+  	err = SetMenuBarFromNib(g.mainNib, CFSTR("aqua"));
   if (err != noErr)goto Bail;
 
   InstallApplicationEventHandler(NewEventHandlerUPP(AppEventHandlerProc), GetEventTypeCount(sApplicationEvents), sApplicationEvents, 0, NULL);
@@ -147,15 +126,35 @@
   SendWindowGroupBehind(g.windowGroups[1], g.windowGroups[2]);
   SendWindowGroupBehind(g.windowGroups[0], g.windowGroups[1]);
   
+	RunApplicationEventLoop();
+    return true;
+
+Bail:
+	return err;    
+}
+
+void AquaGui::renderBuffer()
+{
+    GNASH_REPORT_FUNCTION;
+    _glue.render();
+}
+
+void
+AquaGui::setInvalidatedRegions(const InvalidatedRanges& ranges)
+{
+	GNASH_REPORT_FUNCTION;
+    _glue.setInvalidatedRegions(ranges);
+}
+
+bool AquaGui::init(int argc, char ***argv) /* Self-explainatory */
+{
+  GNASH_REPORT_FUNCTION;
+  
 	_glue.init (argc, argv);
 
     _renderer = _glue.createRenderHandler();
     if(!_renderer)return false;    
     return true;
-
-
-Bail:  
-  return err;	
 }
 
 void AquaGui::setTimeout(unsigned int timeout)

Index: aqua_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- aqua_ogl_glue.cpp	23 Jul 2007 00:37:19 -0000	1.12
+++ aqua_ogl_glue.cpp	23 Jul 2007 01:01:31 -0000	1.13
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.cpp,v 1.12 2007/07/23 00:37:19 nihilus Exp $ */
+/* $Id: aqua_ogl_glue.cpp,v 1.13 2007/07/23 01:01:31 nihilus Exp $ */
 
 
 #include "aqua_ogl_glue.h"
@@ -36,6 +36,9 @@
 {
 
 AquaOglGlue::AquaOglGlue()
+#ifdef FIX_I810_LOD_BIAS
+  : _tex_lod_bias(-1.2f)
+#endif
 {
 //    GNASH_REPORT_FUNCTION;
 }
@@ -64,8 +67,6 @@
     return true;
 }
 
-
-
 render_handler* AquaOglGlue::createRenderHandler()
 {
     GNASH_REPORT_FUNCTION;
@@ -99,11 +100,13 @@
     glDisable(GL_LIGHTING);
     glPushAttrib (GL_ALL_ATTRIB_BITS);         
 
+#ifdef FIX_I810_LOD_BIAS
+    glTexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, _tex_lod_bias);
+#endif
     return true;
 }
 
-void
-AquaOglGlue::render()
+void AquaOglGlue::render()
 {
     GNASH_REPORT_FUNCTION;
     //SDL_GL_SwapBuffers();

Index: aqua_ogl_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- aqua_ogl_glue.h	23 Jul 2007 00:00:51 -0000	1.6
+++ aqua_ogl_glue.h	23 Jul 2007 01:01:31 -0000	1.7
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.h,v 1.6 2007/07/23 00:00:51 nihilus Exp $ */
+/* $Id: aqua_ogl_glue.h,v 1.7 2007/07/23 01:01:31 nihilus Exp $ */
 
 #ifndef AQUA_OGL_GLUE_H
 #define AQUA_OGL_GLUE_H
@@ -41,8 +41,10 @@
     bool prepDrawingArea(int width, int height);
     void render();
   private:
+#ifdef FIX_I810_LOD_BIAS
+    float _tex_lod_bias;
+#endif
 };
-
 }
 
 #endif /* AQUA_OGL_GLUE_H */
\ No newline at end of file

Index: aquasup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aquasup.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- aquasup.h	23 Jul 2007 00:00:51 -0000	1.9
+++ aquasup.h	23 Jul 2007 01:01:31 -0000	1.10
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aquasup.h,v 1.9 2007/07/23 00:00:51 nihilus Exp $ */
+/* $Id: aquasup.h,v 1.10 2007/07/23 01:01:31 nihilus Exp $ */
 
 #ifndef __AQUASUP_H__
 #define __AQUASUP_H__
@@ -37,7 +37,7 @@
 
 namespace gnash {
 
-class AquaGui : public Gui
+class DSOEXPORT AquaGui : public Gui
 {
 	private:
 	
@@ -53,6 +53,9 @@
 
 #if defined(RENDERER_OPENGL)
     AquaOglGlue		_glue;
+#ifdef FIX_I810_LOD_BIAS
+    float			_tex_lod_bias;
+#endif
 #endif
   	
 	public:



From MAILER-DAEMON Sun Jul 22 21:04:21 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICmLV-0006i8-DS
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 21:04:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICmLU-0006hu-1F
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:04:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICmLT-0006hT-Ct
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:04:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICmLT-0006hP-8G
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:04:19 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1ICmLS-00021b-Ra
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:04:18 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1ICmLS-0002CQ-FL
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 01:04:18 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1ICmLS-0002CN-AY
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 01:04:18 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICmLS-0002CN-AY@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 23 Jul 2007 01:04:18 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua_ogl_glue.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 01:04:20 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/23 01:04:18

Modified files:
	gui            : aqua_ogl_glue.h 

Log message:
	More fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.h?cvsroot=gnash&r1=1.7&r2=1.8

Patches:
Index: aqua_ogl_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- aqua_ogl_glue.h	23 Jul 2007 01:01:31 -0000	1.7
+++ aqua_ogl_glue.h	23 Jul 2007 01:04:18 -0000	1.8
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.h,v 1.7 2007/07/23 01:01:31 nihilus Exp $ */
+/* $Id: aqua_ogl_glue.h,v 1.8 2007/07/23 01:04:18 nihilus Exp $ */
 
 #ifndef AQUA_OGL_GLUE_H
 #define AQUA_OGL_GLUE_H
@@ -39,6 +39,7 @@
     bool init(int argc, char ***argv);
     render_handler* createRenderHandler();
     bool prepDrawingArea(int width, int height);
+    void setInvalidatedRegions(const InvalidatedRanges& /* ranges */);
     void render();
    private:
 #ifdef FIX_I810_LOD_BIAS



From MAILER-DAEMON Sun Jul 22 21:13:16 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICmU8-0002TK-JY
	for mharc-gnash-commit@gnu.org; Sun, 22 Jul 2007 21:13:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICmU6-0002RJ-Ee
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:13:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICmU5-0002Pp-Hg
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:13:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICmU5-0002Pi-Eq
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:13:13 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1ICmU5-0003Ps-6r
	for gnash-commit@gnu.org; Sun, 22 Jul 2007 21:13:13 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1ICmU2-000379-RZ
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 01:13:11 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1ICmU2-000371-K5
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 01:13:10 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICmU2-000371-K5@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 23 Jul 2007 01:13:10 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp aqua_ogl_glue.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 01:13:14 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/23 01:13:10

Modified files:
	gui            : aqua.cpp aqua_ogl_glue.cpp 

Log message:
	This might work

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.cpp?cvsroot=gnash&r1=1.13&r2=1.14

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- aqua.cpp	23 Jul 2007 01:01:31 -0000	1.15
+++ aqua.cpp	23 Jul 2007 01:13:10 -0000	1.16
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.15 2007/07/23 01:01:31 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.16 2007/07/23 01:13:10 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

Index: aqua_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- aqua_ogl_glue.cpp	23 Jul 2007 01:01:31 -0000	1.13
+++ aqua_ogl_glue.cpp	23 Jul 2007 01:13:10 -0000	1.14
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.cpp,v 1.13 2007/07/23 01:01:31 nihilus Exp $ */
+/* $Id: aqua_ogl_glue.cpp,v 1.14 2007/07/23 01:13:10 nihilus Exp $ */
 
 
 #include "aqua_ogl_glue.h"
@@ -110,7 +110,7 @@
 {
     GNASH_REPORT_FUNCTION;
     //SDL_GL_SwapBuffers();
-    glFlush();
+    aglUpdateContext(aglGetCurrentContext());
 }
 
 } // namespace gnash
\ No newline at end of file



From MAILER-DAEMON Mon Jul 23 00:08:26 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICpDe-00030z-BM
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 00:08:26 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICpDc-00030q-Qg
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:08:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICpDa-00030J-Ca
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:08:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICpDa-00030G-7v
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:08:22 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICpDZ-0004TC-Ti
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:08:21 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICpDM-0000XC-KK
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:08:08 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICpDM-0000X9-Dv
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:08:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICpDM-0000X9-Dv@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 04:08:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog plugin/plugin.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 04:08:25 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 04:08:08

Modified files:
	.              : ChangeLog 
	plugin         : plugin.h 

Log message:
	        * plugin/plugin.h: remove unneeded include.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3785&r2=1.3786
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/plugin.h?cvsroot=gnash&r1=1.33&r2=1.34

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3785
retrieving revision 1.3786
diff -u -b -r1.3785 -r1.3786
--- ChangeLog	22 Jul 2007 12:47:37 -0000	1.3785
+++ ChangeLog	23 Jul 2007 04:08:07 -0000	1.3786
@@ -1,3 +1,7 @@
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
+	* plugin/plugin.h: remove unneeded include.
+
 2007-07-22 Sandro Santilli <strk@keybit.net>
 
 	* server/edit_text_character.cpp: (get_world_cxform):

Index: plugin/plugin.h
===================================================================
RCS file: /sources/gnash/gnash/plugin/plugin.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- plugin/plugin.h	1 Jul 2007 10:54:14 -0000	1.33
+++ plugin/plugin.h	23 Jul 2007 04:08:08 -0000	1.34
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: plugin.h,v 1.33 2007/07/01 10:54:14 bjacques Exp $ */
+/* $Id: plugin.h,v 1.34 2007/07/23 04:08:08 strk Exp $ */
 
 #ifndef __PLUGIN_H__
 #define __PLUGIN_H__
@@ -40,7 +40,7 @@
 
 /* Xlib/Xt stuff */
 #include <X11/Xlib.h>
-#include <X11/Intrinsic.h>
+//#include <X11/Intrinsic.h>
 #include <X11/cursorfont.h>
 #ifdef HAVE_GTK2
 #include <gtk/gtk.h>



From MAILER-DAEMON Mon Jul 23 00:09:14 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICpEQ-0003Xd-FR
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 00:09:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICpEP-0003XY-FT
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:09:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICpEO-0003XM-4H
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:09:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICpEN-0003XJ-WE
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:09:12 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICpEN-0004Zl-K8
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:09:11 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICpEN-0000Yb-B7
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:09:11 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICpEN-0000YY-6Z
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:09:11 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICpEN-0000YY-6Z@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 04:09:11 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog autogen.sh
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 04:09:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 04:09:11

Modified files:
	.              : ChangeLog autogen.sh 

Log message:
	* autogen.sh: libtoolize is in the 'libtool' package.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3786&r2=1.3787
http://cvs.savannah.gnu.org/viewcvs/gnash/autogen.sh?cvsroot=gnash&r1=1.27&r2=1.28

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3786
retrieving revision 1.3787
diff -u -b -r1.3786 -r1.3787
--- ChangeLog	23 Jul 2007 04:08:07 -0000	1.3786
+++ ChangeLog	23 Jul 2007 04:09:10 -0000	1.3787
@@ -1,5 +1,6 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* autogen.sh: libtoolize is in the 'libtool' package.
 	* plugin/plugin.h: remove unneeded include.
 
 2007-07-22 Sandro Santilli <strk@keybit.net>

Index: autogen.sh
===================================================================
RCS file: /sources/gnash/gnash/autogen.sh,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- autogen.sh	1 Jul 2007 10:53:46 -0000	1.27
+++ autogen.sh	23 Jul 2007 04:09:11 -0000	1.28
@@ -113,7 +113,7 @@
 	    chmod a+w libltdl/config-h.in # Darwin needs this
           else
             echo
-            echo "**Error**: libtoolize failed, do you have libltdl dev package installed?"
+            echo "**Error**: libtoolize failed, do you have libtool package installed?"
             exit 1
           fi
 	fi



From MAILER-DAEMON Mon Jul 23 00:34:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICpcs-0004CI-9m
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 00:34:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICpcq-00049b-JY
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:34:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICpcq-00048b-1X
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:34:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICpcp-00048U-Ql
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:34:27 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICpcp-0008Cd-IR
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:34:27 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICpcp-0002UY-5s
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:34:27 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICpcp-0002UV-24
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:34:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICpcp-0002UV-24@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 04:34:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 04:34:28 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 04:34:27

Modified files:
	server         : edit_text_character.cpp 

Log message:
	Removed the last two direct accesses to text color in definition

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.87&r2=1.88

Patches:
Index: edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- edit_text_character.cpp	22 Jul 2007 12:47:38 -0000	1.87
+++ edit_text_character.cpp	23 Jul 2007 04:34:26 -0000	1.88
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.87 2007/07/22 12:47:38 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.88 2007/07/23 04:34:26 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -992,7 +992,7 @@
 			// Start a new record on the next line.
 			rec.m_glyphs.resize(0);
 			rec.m_style.m_font = _font;
-			rec.m_style.m_color = m_def->get_text_color();
+			rec.m_style.m_color = getTextColor();
 			rec.m_style.m_x_offset = x;
 			rec.m_style.m_y_offset = y;
 			rec.m_style.m_text_height = m_def->get_font_height();
@@ -1153,7 +1153,7 @@
 			// Start a new record on the next line.
 			rec.m_glyphs.resize(0);
 			rec.m_style.m_font = _font;
-			rec.m_style.m_color = m_def->get_text_color();
+			rec.m_style.m_color = getTextColor();
 			rec.m_style.m_x_offset = x;
 			rec.m_style.m_y_offset = y;
 			rec.m_style.m_text_height = m_def->get_font_height();



From MAILER-DAEMON Mon Jul 23 00:36:24 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICpei-0005cw-KN
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 00:36:24 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICpeg-0005aH-Db
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:36:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICpef-0005a5-1N
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:36:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICpee-0005a2-TB
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:36:20 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICpee-0008Om-Jb
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:36:20 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICpee-0002Vm-68
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:36:20 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICpee-0002Vj-0G
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:36:20 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICpee-0002Vj-0G@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 04:36:20 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 04:36:23 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 04:36:19

Modified files:
	.              : ChangeLog 

Log message:
	removed spurious conflict markers

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3787&r2=1.3788

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3787
retrieving revision 1.3788
diff -u -b -r1.3787 -r1.3788
--- ChangeLog	23 Jul 2007 04:09:10 -0000	1.3787
+++ ChangeLog	23 Jul 2007 04:36:19 -0000	1.3788
@@ -195,7 +195,6 @@
 	  server/asobj/{Sound, Netstream}Ffmpeg.h, gui/gnash.cpp: Fix for
 	 linking.
 
->>>>>>> 1.3749
 2007-07-17 Zou Lunkai <zoulunkai@gmail.com>
 
 	* testsuite/actionscript.all/MovieClip.as: more tests, all passed.
@@ -216,7 +215,6 @@
 	  handling cleanups, for better management of key listeners. change
 	  key listeners container from std::vector to std::set. Correct indent.
 	
->>>>>>> 1.3745
 2007-07-14  Rob Savoye  <rob@bertha.welcomehome.org>
 
 	* configure.ac: Add new Cygnal directories.
@@ -347,7 +345,6 @@
 	* testsuite/actionscript.all/Makefile.am: activate enumerate.as and
 	  case.as.
 
->>>>>>> 1.3741
 2007-07-11 Sandro Santilli <strk@keybit.net>
 
 	* server/edit_text_character.cpp (remove the "default" font logic,



From MAILER-DAEMON Mon Jul 23 00:48:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICpqr-00010g-6H
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 00:48:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICpqo-000108-Jw
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:48:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICpql-0000zw-CW
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:48:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICpql-0000zt-6x
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:48:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICpqk-0001Vc-QL
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 00:48:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICpqj-0004A5-Qt
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:48:49 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICpqj-0004A1-LE
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:48:49 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICpqj-0004A1-LE@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 04:48:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 04:48:55 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 04:48:49

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: DefineEditTextTest.c Makefile.am 
Added files:
	testsuite/misc-ming.all: DefineEditTextTest-Runner.cpp 

Log message:
	        * testsuite/misc-ming.all/: DefineEditTextTest-Runner.cpp,
	          Makefile.am: skeleton for a MovieTester based runner.
	        * testsuite/misc-ming.all/DefineEditTextTest.c: fixed expected
	          results.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3788&r2=1.3789
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.143&r2=1.144
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3788
retrieving revision 1.3789
diff -u -b -r1.3788 -r1.3789
--- ChangeLog	23 Jul 2007 04:36:19 -0000	1.3788
+++ ChangeLog	23 Jul 2007 04:48:49 -0000	1.3789
@@ -1,5 +1,9 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/misc-ming.all/: DefineEditTextTest-Runner.cpp,
+	  Makefile.am: skeleton for a MovieTester based runner.
+	* testsuite/misc-ming.all/DefineEditTextTest.c: fixed expected
+	  results.
 	* autogen.sh: libtoolize is in the 'libtool' package.
 	* plugin/plugin.h: remove unneeded include.
 

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- testsuite/misc-ming.all/DefineEditTextTest.c	20 Jul 2007 14:40:08 -0000	1.21
+++ testsuite/misc-ming.all/DefineEditTextTest.c	23 Jul 2007 04:48:49 -0000	1.22
@@ -161,9 +161,9 @@
   // checks after placing some swf defined TextField
   check(mo, "TextField.prototype.hasOwnProperty('background')");
   check(mo, "TextField.prototype.hasOwnProperty('backgroundColor')");
-  check(mo, "TextField.prototype.hasOwnProperty('text')");
+  xcheck(mo, "TextField.prototype.hasOwnProperty('text')");
   check(mo, "TextField.prototype.hasOwnProperty('textColor')");
-  check(mo, "TextField.prototype.hasOwnProperty('_alpha')");
+  //check(mo, "TextField.prototype.hasOwnProperty('_alpha')");
   
   check_equals(mo, "typeof(dtext1)", "'object'");
   check_equals(mo, "typeof(dtext1.text)", "'string'");
@@ -187,7 +187,7 @@
   xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('text')", "true");
   check_equals(mo, "dtext1.__proto__.hasOwnProperty('background')", "true");
   check_equals(mo, "dtext1.__proto__.hasOwnProperty('backgroundColor')", "true");
-  xcheck_equals(mo, "dtext1.__proto__.hasOwnProperty('textColor')", "true");
+  check_equals(mo, "dtext1.__proto__.hasOwnProperty('textColor')", "true");
   // Why _alpha is special???
   check_equals(mo, "dtext1.__proto__.hasOwnProperty('_alpha')", "false");
   
@@ -200,9 +200,9 @@
   check_equals(mo, "dtext1.backgroundColor", "0xffffff");
   check_equals(mo, "etext1.backgroundColor", "0xffffff");
   check_equals(mo, "dtext2.backgroundColor", "0xffffff");
-  xcheck_equals(mo, "dtext1.textColor", "0x000000");
-  xcheck_equals(mo, "etext1.textColor", "0x000000");
-  xcheck_equals(mo, "dtext2.textColor", "0x000000");
+  check_equals(mo, "dtext1.textColor", "0x000000");
+  check_equals(mo, "etext1.textColor", "0x000000");
+  check_equals(mo, "dtext2.textColor", "0x000000");
   check_equals(mo, "dtext1._alpha", "100");
   check_equals(mo, "etext1._alpha", "100");
   check_equals(mo, "dtext2._alpha", "100");
@@ -229,9 +229,9 @@
   check_equals(mo, "dtext1.backgroundColor", "0xff0000");
   check_equals(mo, "etext1.backgroundColor", "0x00ff00");
   check_equals(mo, "dtext2.backgroundColor", "0x0000ff");
-  xcheck_equals(mo, "dtext1.textColor", "0x00ffff");
-  xcheck_equals(mo, "etext1.textColor", "0xff00ff");
-  xcheck_equals(mo, "dtext2.textColor", "0xffff00");
+  check_equals(mo, "dtext1.textColor", "0x00ffff");
+  check_equals(mo, "etext1.textColor", "0xff00ff");
+  check_equals(mo, "dtext2.textColor", "0xffff00");
   SWFMovie_nextFrame(mo); 
   
   add_actions(mo, "dtext1._alpha = 0;"

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -b -r1.143 -r1.144
--- testsuite/misc-ming.all/Makefile.am	18 Jul 2007 04:01:52 -0000	1.143
+++ testsuite/misc-ming.all/Makefile.am	23 Jul 2007 04:48:49 -0000	1.144
@@ -58,6 +58,7 @@
 	SpriteButtonEventsTest \
 	SpriteButtonEventsTest-Runner \
 	DefineEditTextTest \
+	DefineEditTextTest-Runner \
 	DefineEditTextVariableNameTest \
 	DefineEditTextVariableNameTest-Runner \
 	Dejagnu \
@@ -286,6 +287,20 @@
 DefineEditTextTest_SOURCES =  DefineEditTextTest.c
 DefineEditTextTest_LDADD = libgnashmingutils.la
 
+DefineEditTextTest_Runner_SOURCES = \
+	DefineEditTextTest-Runner.cpp \
+	$(NULL)
+DefineEditTextTest_Runner_CXXFLAGS = \
+	-DTGTDIR='"$(abs_builddir)"' \
+	$(NULL)
+DefineEditTextTest_Runner_LDADD = \
+	$(top_builddir)/testsuite/libtestsuite.la \
+	$(NULL)
+DefineEditTextTest_Runner_DEPENDENCIES = \
+	$(top_builddir)/testsuite/libtestsuite.la \
+	DefineEditTextTest.swf      \
+	$(NULL)
+
 DefineEditTextVariableNameTest_SOURCES =	\
 	DefineEditTextVariableNameTest.c	\
 	$(NULL)
@@ -1550,6 +1565,7 @@
 TEST_DRIVERS = ../simple.exp
 TEST_CASES = \
 	DefineEditTextVariableNameTest-Runner \
+	DefineEditTextTest-Runner \
 	RollOverOutTest-Runner \
 	ButtonEventsTest-Runner \
 	SpriteButtonEventsTest-Runner \

Index: testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp
===================================================================
RCS file: testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp
diff -N testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp	23 Jul 2007 04:48:49 -0000	1.1
@@ -0,0 +1,58 @@
+/* 
+ *   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ *
+ */ 
+
+#define INPUT_FILENAME "DefineEditTextTest.swf"
+
+#include "MovieTester.h"
+#include "sprite_instance.h"
+#include "character.h"
+#include "dlist.h"
+#include "container.h"
+#include "log.h"
+
+#include "check.h"
+#include <string>
+#include <cassert>
+
+using namespace gnash;
+using namespace std;
+
+int
+main(int /*argc*/, char** /*argv*/)
+{
+	string filename = string(TGTDIR) + string("/") + string(INPUT_FILENAME);
+	MovieTester tester(filename);
+
+	gnash::LogFile& dbglogfile = gnash::LogFile::getDefaultInstance();
+	dbglogfile.setVerbosity(1);
+
+	sprite_instance* root = tester.getRootMovie();
+	assert(root);
+
+	check_equals(root->get_frame_count(), 4);
+	check_equals(root->get_play_state(), sprite_instance::PLAY);
+	check_equals(root->get_current_frame(), 0);
+
+	for (int i=0; i<30; ++i)
+		tester.advance();
+
+	// TODO: use check_pixel for checking bacground colors
+}
+



From MAILER-DAEMON Mon Jul 23 04:33:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICtMR-0004nO-7k
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 04:33:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICtMO-0004mS-UY
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:33:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICtMO-0004mG-Bd
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:33:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICtMO-0004mD-5X
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:33:44 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1ICtMN-0005l1-OC
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 04:33:44 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6N8XdU4019964;
	Mon, 23 Jul 2007 10:33:41 +0200
Date: Mon, 23 Jul 2007 10:33:38 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <583458257.20070723103338@nova-sys.net>
To: strk <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
	...
In-Reply-To: <20070722022416.GA12332@keybit.net>
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
	<20070722022416.GA12332@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 08:33:45 -0000

Hello strk,

Sunday, July 22, 2007, 4:24:16 AM, you wrote:
s> See http://foo.keybit.net/~strk/tmp/TextFieldColor.swf.
s> The color transform flattens the colors to a grayscale.

Can you send me the source code please? The cxform shows weird values:

cxform = r: *1 +0, |g: *0 +0, |b: *0 +0, |a: *0.61 +0

See the green and blue channel is multiplied with zero...

This happens even if I directly call:

  cxform  cx = character::get_world_cxform();

in ::display()

This is with the CVS version last time I committed (ie. not current
HEAD).

Udo




From MAILER-DAEMON Mon Jul 23 09:11:28 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICxhA-0007VR-KR
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 09:11:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICxh8-0007V9-5N
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 09:11:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICxh7-0007Te-7y
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 09:11:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICxh7-0007Tb-1Q
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 09:11:25 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1ICxh6-0007qu-Aa
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 09:11:24 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6NDBHx74350;
	Mon, 23 Jul 2007 15:11:17 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Mon, 23 Jul 2007 15:11:17 +0200
From: strk <strk@keybit.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
Message-ID: <20070723131117.GC62115@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IBvYq-0002RT-2l@cvs.savannah.gnu.org>
	<12310247678.20070720184723@nova-sys.net>
	<20070722022416.GA12332@keybit.net>
	<583458257.20070723103338@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <583458257.20070723103338@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 13:11:26 -0000

On Mon, Jul 23, 2007 at 10:33:38AM +0200, Udo Giacomozzi wrote:
> Hello strk,
> 
> Sunday, July 22, 2007, 4:24:16 AM, you wrote:
> s> See http://foo.keybit.net/~strk/tmp/TextFieldColor.swf.
> s> The color transform flattens the colors to a grayscale.
> 
> Can you send me the source code please? The cxform shows weird values:
> 
> cxform = r: *1 +0, |g: *0 +0, |b: *0 +0, |a: *0.61 +0
> 
> See the green and blue channel is multiplied with zero...
> 
> This happens even if I directly call:
> 
>   cxform  cx = character::get_world_cxform();
> 
> in ::display()

I know that weird cxform was the effect of setting textColor.
Sources attached, comment out the textColor lines and see how things
change (not with current HEAD, where this is fixed by my commit).

--strk;



From MAILER-DAEMON Mon Jul 23 09:49:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICyIF-0005KX-Kn
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 09:49:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICyIE-0005IM-LH
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 09:49:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICyIE-0005HK-2A
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 09:49:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICyID-0005H6-QW
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 09:49:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICyID-00013x-9O
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 09:49:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICyIC-00066b-4u
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 13:49:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICyIC-00066Y-0Y
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 13:49:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICyIC-00066Y-0Y@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 13:49:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Makefile.am testsuite/misc-...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 13:49:46 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 13:49:43

Modified files:
	.              : ChangeLog 
	gui            : Makefile.am 
	testsuite/misc-mtasc.all: Makefile.am 

Log message:
	        * gui/Makefile.am, testsuite/misc-mtasc.all/Makefile.am:
	          Fix 'dist' rule.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3789&r2=1.3790
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.85&r2=1.86
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/Makefile.am?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3789
retrieving revision 1.3790
diff -u -b -r1.3789 -r1.3790
--- ChangeLog	23 Jul 2007 04:48:49 -0000	1.3789
+++ ChangeLog	23 Jul 2007 13:49:43 -0000	1.3790
@@ -1,5 +1,7 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* gui/Makefile.am, testsuite/misc-mtasc.all/Makefile.am:
+	  Fix 'dist' rule.
 	* testsuite/misc-ming.all/: DefineEditTextTest-Runner.cpp,
 	  Makefile.am: skeleton for a MovieTester based runner.
 	* testsuite/misc-ming.all/DefineEditTextTest.c: fixed expected

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -b -r1.85 -r1.86
--- gui/Makefile.am	21 Jul 2007 01:08:38 -0000	1.85
+++ gui/Makefile.am	23 Jul 2007 13:49:43 -0000	1.86
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.85 2007/07/21 01:08:38 nihilus Exp $
+# $Id: Makefile.am,v 1.86 2007/07/23 13:49:43 strk Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -166,7 +166,7 @@
      libgnashkde_gl_la_CPPFLAGS = -DGUI_KDE $(AM_CPPFLAGS) \
 	$(OPENGL_FLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
      libgnashkde_gl_la_SOURCES = $(PLAYER_SRCS) \
-	kde_glue_opengl.cpp kde_glue_.h \
+	kde_glue_opengl.cpp kde_glue.h \
 	kde.cpp kdesup.h kde_glue.h
      libgnashkde_gl_la_LDFLAGS = $(LIB_FLAGS)
      libgnashkde_gl_la_LIBADD = libgnashgui.la \
@@ -206,7 +206,7 @@
      libgnashsdl_agg_la_CPPFLAGS = -DGUI_SDL $(AM_CPPFLAGS) \
 	$(SDL_CFLAGS) $(AGG_CFLAGS)
      libgnashsdl_agg_la_SOURCES = $(PLAYER_SRCS) \
-	sdl_glue_agg.cpp sdl_glue_agg.h \
+	sdl_agg_glue.cpp sdl_agg_glue.h \
 	sdl.cpp sdlsup.h sdl_glue.h
      libgnashsdl_agg_la_LDFLAGS = $(LIB_FLAGS)
      libgnashsdl_agg_la_LIBADD = \
@@ -235,7 +235,7 @@
 	$(FLTK2_CFLAGS) $(AGG_CFLAGS)
      libgnashfltk_agg_la_SOURCES = $(PLAYER_SRCS) \
 	fltk_glue_agg.cpp fltk_glue_agg.h \
-	fltk.cpp fltksup.h fltk_glue.h
+	fltk.cpp fltksup.h 
      libgnashfltk_agg_la_LDFLAGS = $(LIB_FLAGS)
      libgnashfltk_agg_la_LIBADD = \
 	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
@@ -247,7 +247,7 @@
 	$(FLTK2_CFLAGS) $(CAIRO_CFLAGS)
      libgnashfltk_cairo_la_SOURCES = $(PLAYER_SRCS) \
 	fltk_glue_cairo.cpp fltk_glue_cairo.h \
-	fltk.cpp fltksup.h fltk_glue.h
+	fltk.cpp fltksup.h 
      libgnashfltk_cairo_la_LDFLAGS = $(LIB_FLAGS)
      libgnashfltk_cairo_la_LIBADD = \
 	$(top_builddir)/backend/libgnashcairo.la libgnashgui.la \
@@ -260,10 +260,10 @@
 if  HAVE_AGG
      libgnashsdl_agg_la_CPPFLAGS = -DGUI_FB $(AM_CPPFLAGS) $(SDL_CFLAGS)
      plugins_LTLIBRARIES += libgnashfb_agg.la
-     libgnashsdl_agg_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashfb_agg_la_SOURCES = $(PLAYER_SRCS) \
 	fb.cpp fbsup.h
-     libgnashsdl_agg_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashsdl_agg_la_LIBADD = \
+     libgnashfb_agg_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashfb_agg_la_LIBADD = \
 	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
 	$(SDL_LIBS) $(AGG_LIBS)
 endif # HAVE_AGG

Index: testsuite/misc-mtasc.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/misc-mtasc.all/Makefile.am	12 Jul 2007 22:03:37 -0000	1.11
+++ testsuite/misc-mtasc.all/Makefile.am	23 Jul 2007 13:49:43 -0000	1.12
@@ -39,7 +39,7 @@
 	    level99.as \
 	    $(NULL)
 
-EXTRA_DIST = $(ASTESTS) $(AUXMOVIES) TestClass.as check.h Dejagnu.as
+EXTRA_DIST = $(ASTESTS) $(AUXMOVIES) TestClass.as check.as Dejagnu.as
 
 ASTESTS_OUT = $(ASTESTS:.as=.swf)
 



From MAILER-DAEMON Mon Jul 23 10:03:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICyV2-0005nG-Ng
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 10:03:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICyV0-0005mg-FA
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 10:02:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICyUz-0005mU-Ki
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 10:02:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICyUz-0005mR-D0
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 10:02:57 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1ICyUy-0004pP-RE
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 10:02:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1ICyUy-0006Pb-4y
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 14:02:56 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1ICyUx-0006PY-UL
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 14:02:56 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICyUx-0006PY-UL@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Mon, 23 Jul 2007 14:02:55 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 14:02:58 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/23 14:02:55

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	server/edit_text_character.cpp: make get_world_cxform() again Windows-compatible (relevant code is still disabled, so no visible difference until we have finished discussing this)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3790&r2=1.3791
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.88&r2=1.89

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3790
retrieving revision 1.3791
diff -u -b -r1.3790 -r1.3791
--- ChangeLog	23 Jul 2007 13:49:43 -0000	1.3790
+++ ChangeLog	23 Jul 2007 14:02:55 -0000	1.3791
@@ -1,3 +1,9 @@
+2007-07-23 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* server/edit_text_character.cpp: make get_world_cxform() again
+	  Windows-compatible (relevant code is still disabled, so no
+	  visible difference until we have finished discussing this)
+
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
 	* gui/Makefile.am, testsuite/misc-mtasc.all/Makefile.am:

Index: server/edit_text_character.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -b -r1.88 -r1.89
--- server/edit_text_character.cpp	23 Jul 2007 04:34:26 -0000	1.88
+++ server/edit_text_character.cpp	23 Jul 2007 14:02:55 -0000	1.89
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.88 2007/07/23 04:34:26 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.89 2007/07/23 14:02:55 udog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1431,14 +1431,19 @@
 cxform	
 edit_text_character::get_world_cxform() const
 {
-  if ( 0 /* if using a device font (PP compatibility, TODO) */ )
-  {
-	return cxform();
-  }
-  else
-  {
-     return character::get_world_cxform();
+  cxform cf = character::get_world_cxform();
+  
+  if ( 0 /* if using a device font (PP compatibility, TODO) */ ) {
+    // set alpha to default values to make the text field opaque
+    cf.m_[3][0] = 1.0f;
+    cf.m_[3][1] = 0.0f;
+    
+    // NOTE: Linux version of Adobe's player also ignores tint
+    // transform, so we should (or not) return an identity cxform
+    // here. This has to be discussed...
   }
+  
+  return cf;
 }
 
 static as_value



From MAILER-DAEMON Mon Jul 23 10:03:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ICyVn-0005tR-Ru
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 10:03:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ICyVn-0005tD-0N
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 10:03:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ICyVm-0005sz-9S
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 10:03:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ICyVm-0005sw-5R
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 10:03:46 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ICyVl-00052Q-I9
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 10:03:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ICyVk-0006QR-Ij
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 14:03:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ICyVk-0006QO-En
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 14:03:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ICyVk-0006QO-En@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 14:03:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/samples README
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 14:03:47 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 14:03:44

Modified files:
	testsuite/samples: README 

Log message:
	Updated with info about input-fields.swf

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/README?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: README
===================================================================
RCS file: /sources/gnash/gnash/testsuite/samples/README,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- README	2 Apr 2007 09:50:43 -0000	1.6
+++ README	23 Jul 2007 14:03:44 -0000	1.7
@@ -405,4 +405,13 @@
 
 == Description ==
 
+= [input-fields.swf] =
 
+== Origin ==
+
+Self-made by Udo Giacomozzi, Gnash developer
+
+== Description ==
+
+Various tests to check correct rendering of text fields.
+Both dynamic and static textfields tested, using embedded and device fonts.



From MAILER-DAEMON Mon Jul 23 11:44:40 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID05Q-0005Tr-HL
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 11:44:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID05P-0005TZ-Ng
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 11:44:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID05O-0005Sl-7j
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 11:44:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID05O-0005Si-32
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 11:44:38 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID05N-00048b-N3
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 11:44:37 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID05N-0004ev-7Q
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 15:44:37 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID05N-0004ep-3C
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 15:44:37 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID05N-0004ep-3C@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 15:44:37 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog plugin/klash/klash_part.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 15:44:39 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 15:44:37

Modified files:
	.              : ChangeLog 
	plugin/klash   : klash_part.cpp 

Log message:
	        * plugin/klash/klash_part.cpp: invoke "klash", not "gnash".
	          Allow KLASH_PLAYER environment variable to change what's
	          invoked. The plan is that "klash" would be an alias for
	          "gnash --gui=kde".

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3791&r2=1.3792
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/klash_part.cpp?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3791
retrieving revision 1.3792
diff -u -b -r1.3791 -r1.3792
--- ChangeLog	23 Jul 2007 14:02:55 -0000	1.3791
+++ ChangeLog	23 Jul 2007 15:44:36 -0000	1.3792
@@ -1,3 +1,10 @@
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
+	* plugin/klash/klash_part.cpp: invoke "klash", not "gnash".
+	  Allow KLASH_PLAYER environment variable to change what's
+	  invoked. The plan is that "klash" would be an alias for
+	  "gnash --gui=kde".
+
 2007-07-23 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* server/edit_text_character.cpp: make get_world_cxform() again

Index: plugin/klash/klash_part.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/klash_part.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- plugin/klash/klash_part.cpp	1 Jul 2007 10:54:15 -0000	1.14
+++ plugin/klash/klash_part.cpp	23 Jul 2007 15:44:36 -0000	1.15
@@ -156,7 +156,18 @@
     return kapp->authorizeURLAction ("redirect", m_docbase, url);
 }
 
-KDE_NO_EXPORT void KlashPart::play () {
+KDE_NO_EXPORT void KlashPart::play ()
+{
+
+    QString procname;
+    char *gnash_env = getenv("KLASH_PLAYER");
+    if (!gnash_env) {
+      procname = GNASHBINDIR;
+      procname += "/klash";
+    } else {
+      procname = gnash_env;
+    }
+
     stop ();
     if (m_src_url.isEmpty ())
         return;
@@ -167,7 +178,7 @@
     if (m_width > 0 && m_height > 0)
         dim = QString ("-j ") + QString::number (m_width) +
             QString (" -k ") + QString::number (m_height);
-    QString cmd = QString ("gnash -x ") +
+    QString cmd = procname + QString (" -x ") +
         QString::number (static_cast <KlashView *> (widget ())->embedId()) +
         QChar (' ') + dim +
         QChar (' ') + KProcess::quote (m_src_url);



From MAILER-DAEMON Mon Jul 23 11:50:09 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID0Aj-0000p0-5w
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 11:50:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID0Ah-0000ou-MG
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 11:50:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID0Af-0000oi-Vn
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 11:50:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID0Af-0000of-RZ
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 11:50:05 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID0Af-0005Gk-66
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 11:50:05 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID0Ae-0005Pr-8H
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 15:50:04 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID0Ae-0005Pm-2j
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 15:50:04 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID0Ae-0005Pm-2j@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 15:50:04 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui DESIGN
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 15:50:08 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 15:50:04

Modified files:
	gui            : DESIGN 

Log message:
	updated

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/DESIGN?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: DESIGN
===================================================================
RCS file: /sources/gnash/gnash/gui/DESIGN,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- DESIGN	10 May 2006 14:34:37 -0000	1.1
+++ DESIGN	23 Jul 2007 15:50:03 -0000	1.2
@@ -1,28 +1,27 @@
-$Id: DESIGN,v 1.1 2006/05/10 14:34:37 strk Exp $
+$Id: DESIGN,v 1.2 2007/07/23 15:50:03 strk Exp $
 
 Overview
 ========
 
-Frontend is the window creation, borders, events, etc.
-Backend is what we use to draw graphics onto the drawing area
+GUI is the window creation, borders, events, etc.
+Renderer is what we use to draw graphics onto the drawing area
 
-Frontend
-========
+GUI
+===
 
 Frontends are modeled by the gnash::Gui class.
 
-They take care of initializing the Backend module for use
-in rendering.
+They take care of initializing the Backend module for use in rendering.
 
-For the frontend we have GTK or SDL (or future QT, FLTK, Xlib..)
+For the frontend we have GTK, SDL, KDE(QT), FLTK2, Aqua, Framebuffer.
 
 
-Backend
-=======
+Renderer
+========
 
 Backends modeled by the gnash::render_handler class.
 
 They are the actual renderers, drawing to a memory buffer.
 
-For the backend we have OpenGL or Cairo,
+For the renderers we have Antigrain (AGG), OpenGL or Cairo.
 



From MAILER-DAEMON Mon Jul 23 12:41:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID0yV-0006bA-TT
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 12:41:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID0yU-0006aq-0J
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 12:41:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID0yT-0006ae-EO
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 12:41:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID0yT-0006ab-Al
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 12:41:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID0yS-0001ZJ-EG
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 12:41:32 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID0yR-0007q1-O8
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 16:41:31 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID0yR-0007py-DZ
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 16:41:31 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID0yR-0007py-DZ@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 16:41:31 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 16:41:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 16:41:31

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: Fix help strings: --with-{gui,renderer} => --enable-{gui,renderer}

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3792&r2=1.3793
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.362&r2=1.363

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3792
retrieving revision 1.3793
diff -u -b -r1.3792 -r1.3793
--- ChangeLog	23 Jul 2007 15:44:36 -0000	1.3792
+++ ChangeLog	23 Jul 2007 16:41:30 -0000	1.3793
@@ -1,5 +1,6 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: Fix help strings: --with-{gui,renderer} => --enable-{gui,renderer}
 	* plugin/klash/klash_part.cpp: invoke "klash", not "gnash".
 	  Allow KLASH_PLAYER environment variable to change what's
 	  invoked. The plan is that "klash" would be an alias for

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.362
retrieving revision 1.363
diff -u -b -r1.362 -r1.363
--- configure.ac	20 Jul 2007 14:28:34 -0000	1.362
+++ configure.ac	23 Jul 2007 16:41:31 -0000	1.363
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.362 2007/07/20 14:28:34 strk Exp $
+dnl $Id: configure.ac,v 1.363 2007/07/23 16:41:31 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -550,14 +550,14 @@
      build_gtk=yes
      build_kde=no
      addgui=gtk
-     AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --with-gui= to change])
+     AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --enable-gui= to change])
   fi
   dnl If statically linking, and no renderer is specified, force opengl
   if test x$add_renderer = xnone; then
      build_agg=no
      build_ogl=yes
      add_renderer=ogl
-     AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --with-renderer= to change])
+     AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --enable-renderer= to change])
   fi
 else dnl building a dynamically linked executable without loadable GUI plugins
   dnl If not dynamic loading, and no gui is specified, force gtk
@@ -566,14 +566,14 @@
       build_gtk=yes
       build_kde=no
       addgui=gtk
-      AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --with-gui= to change])
+      AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --enable-gui= to change])
     fi
     dnl If not dynamic loading, and no renderer is specified, force opengl
     if test x$add_renderer = xnone; then
       build_agg=no
       build_ogl=yes
       add_renderer=ogl
-      AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --with-renderer= to change])
+      AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --enable-renderer= to change])
     fi
   else
     dnl If dynamically loading and no gui is specified, force gtk and kde
@@ -581,14 +581,14 @@
       build_gtk=yes
       build_kde=yes
       addgui="gtk,kde"
-      AC_MSG_NOTICE([Defaulting to GTK and KDE as the GUIs, use --with-gui= to change])
+      AC_MSG_NOTICE([Defaulting to GTK and KDE as the GUIs, use --enable-gui= to change])
     fi
     dnl If dynamically loading and no renderer is specified, force opengl and agg
     if test x$add_renderer = xnone; then
       build_ogl=yes
       build_agg=yes
       add_renderer="ogl,agg"
-      AC_MSG_NOTICE([Defaulting to OpenGL and AGG as the renderers, use --with-renderer= to change])
+      AC_MSG_NOTICE([Defaulting to OpenGL and AGG as the renderers, use --enable-renderer= to change])
     fi
   fi
 fi
@@ -1486,7 +1486,7 @@
           echo "               or reconfigure with --disable-klash"
 	fi
 	if test x$build_kde = xyes; then
-          echo "               or change to a different gui with --with-gui=..."
+          echo "               or change to a different gui with --enable-gui=..."
 	fi
       fi
       nogo=true



From MAILER-DAEMON Mon Jul 23 13:40:14 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID1tG-0002nN-3E
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 13:40:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID1tE-0002nA-Kw
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 13:40:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID1tD-0002my-TF
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 13:40:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID1tD-0002mv-MK
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 13:40:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID1tD-0005mr-Au
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 13:40:11 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID1tC-0003CY-0k
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 17:40:10 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID1tB-0003CV-Q9
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 17:40:09 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID1tB-0003CV-Q9@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 17:40:09 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 17:40:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 17:40:09

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: don't define RENDERER_AGG *before* the build_agg
	          variable it is based on has a chance to change value.
	          Fixes bug #20563

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3793&r2=1.3794
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.363&r2=1.364

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3793
retrieving revision 1.3794
diff -u -b -r1.3793 -r1.3794
--- ChangeLog	23 Jul 2007 16:41:30 -0000	1.3793
+++ ChangeLog	23 Jul 2007 17:40:07 -0000	1.3794
@@ -1,5 +1,11 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+        * configure.ac: don't define RENDERER_AGG *before* the build_agg
+	  variable it is based on has a chance to change value.
+	  Fixes bug #20563
+
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: Fix help strings: --with-{gui,renderer} => --enable-{gui,renderer}
 	* plugin/klash/klash_part.cpp: invoke "klash", not "gnash".
 	  Allow KLASH_PLAYER environment variable to change what's

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.363
retrieving revision 1.364
diff -u -b -r1.363 -r1.364
--- configure.ac	23 Jul 2007 16:41:31 -0000	1.363
+++ configure.ac	23 Jul 2007 17:40:09 -0000	1.364
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.363 2007/07/23 16:41:31 strk Exp $
+dnl $Id: configure.ac,v 1.364 2007/07/23 17:40:09 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -344,10 +344,6 @@
   AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
 fi
 
-if test x$build_agg = xyes; then
-  AC_DEFINE([RENDERER_AGG], [], [Use AntiGrain renderer])
-fi
-
 dnl 16 bit: RGB555, RGB565
 dnl 24 bit: RGB24, BGR24
 dnl 32 bit: RGBA32, BGRA32
@@ -609,6 +605,10 @@
 dnl AC_CHECK_LIB(ltdl, lt_dlmutex_register, AC_DEFINE(LT_DLMUTEX, 1, [Has lt_dlmutex_register]),
 dnl                                         AC_DEFINE(LT_DLMUTEX, 0, [doesn't have lt_dlmutex_register]) )
 
+if test x$build_agg = xyes; then
+  AC_DEFINE([RENDERER_AGG], [], [Use AntiGrain renderer])
+fi
+
 DLOPEN="-dlopen"
 DLPREOPEN="-dlpreopen"
 AC_SUBST(DLOPEN)



From MAILER-DAEMON Mon Jul 23 14:22:38 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID2YI-0007EW-CW
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 14:22:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID2YG-0007Dn-Bt
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 14:22:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID2YF-0007DN-I2
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 14:22:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID2YF-0007DI-BL
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 14:22:35 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID2YF-0007os-3R
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 14:22:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID2YE-0006qZ-40
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:22:34 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID2YD-0006qW-SJ
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:22:34 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID2YD-0006qW-SJ@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 18:22:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog plugin/klash/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 18:22:37 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 18:22:33

Modified files:
	.              : ChangeLog 
	plugin/klash   : Makefile.am 

Log message:
	* plugin/klash/Makefile.am: define GNASHBINDIR.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3794&r2=1.3795
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/Makefile.am?cvsroot=gnash&r1=1.30&r2=1.31

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3794
retrieving revision 1.3795
diff -u -b -r1.3794 -r1.3795
--- ChangeLog	23 Jul 2007 17:40:07 -0000	1.3794
+++ ChangeLog	23 Jul 2007 18:22:33 -0000	1.3795
@@ -1,5 +1,6 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* plugin/klash/Makefile.am: define GNASHBINDIR.
         * configure.ac: don't define RENDERER_AGG *before* the build_agg
 	  variable it is based on has a chance to change value.
 	  Fixes bug #20563

Index: plugin/klash/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/Makefile.am,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- plugin/klash/Makefile.am	1 Jul 2007 10:54:15 -0000	1.30
+++ plugin/klash/Makefile.am	23 Jul 2007 18:22:33 -0000	1.31
@@ -15,12 +15,12 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.30 2007/07/01 10:54:15 bjacques Exp $
+# $Id: Makefile.am,v 1.31 2007/07/23 18:22:33 strk Exp $
 
 AUTOMAKE_OPTIONS = 
 
 if KLASH
-AM_CPPFLAGS= $(KDE_CFLAGS) $(QT_CFLAGS)
+AM_CPPFLAGS= $(KDE_CFLAGS) $(QT_CFLAGS) -DGNASHBINDIR=\"$(GNASHEXE)\"
 
 plugindir   = $(libdir)/kde3
 kde_servicesdir = $(prefix)/share/services



From MAILER-DAEMON Mon Jul 23 15:52:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID3xg-0006Fb-F7
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 15:52:56 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID3xe-0006Ei-Li
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 15:52:54 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID3xU-0006AB-Lm
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 15:52:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID3xU-0006A7-Ge
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 15:52:44 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID3xR-0005ng-Gc
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 15:52:43 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID3w3-0004sp-6q
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 19:51:15 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID3w3-0004sm-1h
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 19:51:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID3w3-0004sm-1h@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 19:51:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 19:52:54 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 19:51:14

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: make sure $add_renderer contain
	          well-defined values (not arbitrary ones). This is
	          to make sure RENDERER_LIBS is always meaningful.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3795&r2=1.3796
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.364&r2=1.365

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3795
retrieving revision 1.3796
diff -u -b -r1.3795 -r1.3796
--- ChangeLog	23 Jul 2007 18:22:33 -0000	1.3795
+++ ChangeLog	23 Jul 2007 19:51:14 -0000	1.3796
@@ -1,5 +1,11 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: make sure $add_renderer contain
+	  well-defined values (not arbitrary ones). This is
+	  to make sure RENDERER_LIBS is always meaningful.
+
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
 	* plugin/klash/Makefile.am: define GNASHBINDIR.
         * configure.ac: don't define RENDERER_AGG *before* the build_agg
 	  variable it is based on has a chance to change value.

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.364
retrieving revision 1.365
diff -u -b -r1.364 -r1.365
--- configure.ac	23 Jul 2007 17:40:09 -0000	1.364
+++ configure.ac	23 Jul 2007 19:51:14 -0000	1.365
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.364 2007/07/23 17:40:09 strk Exp $
+dnl $Id: configure.ac,v 1.365 2007/07/23 19:51:14 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -294,7 +294,7 @@
 dnl   addgui="gtk,kde"
 fi
 
-add_renderer=none
+add_renderer=
 build_ogl=no
 build_agg=no
 build_cairo=no
@@ -309,17 +309,21 @@
     [case "${val}" in
       ogl|OGL|gl|GL|opengl|OPENGL|OpenGL)
         build_ogl=yes
+	add_renderer="ogl"
         ;;
       agg|AGG|Agg)
         build_agg=yes
+	add_renderer="agg"
         ;;
       cairo|CAIRO|Cairo)
         build_cairo=yes
+	add_renderer="cairo"
         ;;
       all|ALL|All)
         build_ogl=yes
         build_agg=yes
         build_cairo=yes
+	add_renderer="ogl,agg,cairo"
         ;;
       *) AC_MSG_ERROR([invalid renderer ${enableval} given (accept: ogl,agg,cairo)])
          ;;
@@ -331,7 +335,7 @@
   done
 )
 
-if test x$add_renderer = xnone; then
+if test x$add_renderer = x; then
    build_ogl=yes
    build_agg=yes
 dnl   add_renderer="ogl,agg"
@@ -549,7 +553,7 @@
      AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --enable-gui= to change])
   fi
   dnl If statically linking, and no renderer is specified, force opengl
-  if test x$add_renderer = xnone; then
+  if test x$add_renderer = x; then
      build_agg=no
      build_ogl=yes
      add_renderer=ogl
@@ -565,7 +569,7 @@
       AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --enable-gui= to change])
     fi
     dnl If not dynamic loading, and no renderer is specified, force opengl
-    if test x$add_renderer = xnone; then
+    if test x$add_renderer = x; then
       build_agg=no
       build_ogl=yes
       add_renderer=ogl
@@ -580,7 +584,7 @@
       AC_MSG_NOTICE([Defaulting to GTK and KDE as the GUIs, use --enable-gui= to change])
     fi
     dnl If dynamically loading and no renderer is specified, force opengl and agg
-    if test x$add_renderer = xnone; then
+    if test x$add_renderer = x; then
       build_ogl=yes
       build_agg=yes
       add_renderer="ogl,agg"



From MAILER-DAEMON Mon Jul 23 17:19:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID5Jf-0006Ny-LE
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 17:19:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID5Jd-0006Ns-UX
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 17:19:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID5Jb-0006Ng-7N
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 17:19:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID5Jb-0006Nd-1v
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 17:19:39 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID5Ja-0006yf-Ph
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 17:19:38 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID5JZ-0004ck-0r
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 21:19:37 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID5JY-0004ch-Ny
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 21:19:36 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID5JY-0004ch-Ny@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 21:19:36 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 21:19:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 21:19:36

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: still create Makefile under cygnal
	          subdirs, or 'dist' rule will fail.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3796&r2=1.3797
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.365&r2=1.366

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3796
retrieving revision 1.3797
diff -u -b -r1.3796 -r1.3797
--- ChangeLog	23 Jul 2007 19:51:14 -0000	1.3796
+++ ChangeLog	23 Jul 2007 21:19:35 -0000	1.3797
@@ -1,5 +1,10 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: still create Makefile under cygnal
+	  subdirs, or 'dist' rule will fail.
+
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: make sure $add_renderer contain
 	  well-defined values (not arbitrary ones). This is
 	  to make sure RENDERER_LIBS is always meaningful.

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.365
retrieving revision 1.366
diff -u -b -r1.365 -r1.366
--- configure.ac	23 Jul 2007 19:51:14 -0000	1.365
+++ configure.ac	23 Jul 2007 21:19:36 -0000	1.366
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.365 2007/07/23 19:51:14 strk Exp $
+dnl $Id: configure.ac,v 1.366 2007/07/23 21:19:36 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1333,11 +1333,11 @@
 plugin/Makefile
 plugin/klash/Makefile
 cygnal/Makefile
-dnl cygnal/ACT/Makefile
-dnl cygnal/IO/Makefile
-dnl cygnal/HTTP/Makefile
-dnl cygnal/Net/Makefile
-dnl cygnal/unit_tests/Makefile
+cygnal/ACT/Makefile
+cygnal/IO/Makefile
+cygnal/HTTP/Makefile
+cygnal/Net/Makefile
+cygnal/unit_tests/Makefile
 )
 
 ###



From MAILER-DAEMON Mon Jul 23 18:08:05 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID64T-00046L-JU
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 18:08:05 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID64R-00044r-Hh
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:08:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID64P-00044W-Gz
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:08:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID64P-00044T-C7
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:08:01 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID64O-0001xe-LG
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:08:00 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID64N-0007vP-HP
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:07:59 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID64N-0007vL-Aq
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:07:59 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID64N-0007vL-Aq@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 22:07:59 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/Makefile.am backend/sou...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 22:08:04 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 22:07:59

Modified files:
	.              : ChangeLog 
	backend        : Makefile.am sound_handler.h 
	                 sound_handler_gst.cpp sound_handler_sdl.cpp 
	libbase        : utility.cpp utility.h 
	server/asobj   : SoundMad.cpp 
Removed files:
	backend        : sound_handler.cpp 

Log message:
	        * backend/: sound_handler.{cpp,h}, Makefile.am,
	          sound_handler_gst.cpp, sound_handler_sdl.cpp,
	          libbase/: utility.{cpp,h}, server/asobj/SoundMad.cpp:
	          Moved convert_raw_data from libgnashbackend
	          to libgnashbase. Should fix bug #20110.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3797&r2=1.3798
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/Makefile.am?cvsroot=gnash&r1=1.57&r2=1.58
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.cpp?cvsroot=gnash&r1=1.51&r2=1.52
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.73&r2=1.74
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler.cpp?cvsroot=gnash&r1=1.9&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.cpp?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/utility.h?cvsroot=gnash&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundMad.cpp?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3797
retrieving revision 1.3798
diff -u -b -r1.3797 -r1.3798
--- ChangeLog	23 Jul 2007 21:19:35 -0000	1.3797
+++ ChangeLog	23 Jul 2007 22:07:58 -0000	1.3798
@@ -1,5 +1,13 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* backend/: sound_handler.{cpp,h}, Makefile.am,
+	  sound_handler_gst.cpp, sound_handler_sdl.cpp,
+	  libbase/: utility.{cpp,h}, server/asobj/SoundMad.cpp:
+	  Moved convert_raw_data from libgnashbackend
+	  to libgnashbase. Should fix bug #20110.
+
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: still create Makefile under cygnal
 	  subdirs, or 'dist' rule will fail.
 

Index: backend/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/backend/Makefile.am,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- backend/Makefile.am	20 Jul 2007 01:50:31 -0000	1.57
+++ backend/Makefile.am	23 Jul 2007 22:07:58 -0000	1.58
@@ -81,7 +81,7 @@
 lib_LTLIBRARIES = libgnashbackend.la
 
 # RENDER_SOURCES = render_handler_tri.cpp
-SOUND_SOURCES = sound_handler.cpp
+SOUND_SOURCES = 
 
 if USE_SOUND_GST
 SOUND_SOURCES += sound_handler_gst.cpp sound_handler_gst.h 

Index: backend/sound_handler.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- backend/sound_handler.h	8 Jul 2007 20:26:49 -0000	1.18
+++ backend/sound_handler.h	23 Jul 2007 22:07:58 -0000	1.19
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: sound_handler.h,v 1.18 2007/07/08 20:26:49 martinwguy Exp $ */
+/* $Id: sound_handler.h,v 1.19 2007/07/23 22:07:58 strk Exp $ */
 
 /// \page sound_handler_intro Sound handler introduction
 ///
@@ -254,41 +254,6 @@
 	///
 	virtual void	detach_aux_streamer(void* udata) = 0;
 
-	/// VERY crude sample-rate and steroe conversion. Converts input data to 
-	/// output format.
-	//
-	/// @param adjusted_data
-	/// Where the converted data is placed.
-	///
-	/// @param adjusted_size
-	/// The size of the converted data.
-	///
-	/// @param data
-	/// Data that needs to be converted.
-	///
-	/// @param sample_count
-	/// The datas current sample count.
-	/// 
-	/// @param sample_size
-	/// The datas current sample size.
-	///
-	/// @param sample_rate
-	/// The datas current sample rate.
-	///
-	/// @param stereo
-	/// Whether the current data is in stereo
-	///
-	/// @param m_sample_rate
-	/// The samplerate we which to convert to.
-	///
-	/// @param m_stereo
-	/// Do we want the output data to be in stereo?
-	///
-	static void	convert_raw_data(int16_t** adjusted_data,
-			  int* adjusted_size, void* data, int sample_count,
-			  int sample_size, int sample_rate, bool stereo,
-			  int m_sample_rate, bool m_stereo);
-
 	sound_handler()
 		:
 		_soundsStarted(0),

Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- backend/sound_handler_gst.cpp	2 Jul 2007 13:53:19 -0000	1.51
+++ backend/sound_handler_gst.cpp	23 Jul 2007 22:07:58 -0000	1.52
@@ -20,12 +20,14 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.51 2007/07/02 13:53:19 tgc Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.52 2007/07/23 22:07:58 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
+#include "utility.h" // for convert_raw_data
+
 // Assume people running --enable-media=gst know what they are doing
 // (HAVE_GST_GST_H seems broken atm, specifically when an older glib
 //  install is around)

Index: backend/sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- backend/sound_handler_sdl.cpp	3 Jul 2007 04:31:59 -0000	1.73
+++ backend/sound_handler_sdl.cpp	23 Jul 2007 22:07:58 -0000	1.74
@@ -18,13 +18,14 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-// $Id: sound_handler_sdl.cpp,v 1.73 2007/07/03 04:31:59 strk Exp $
+// $Id: sound_handler_sdl.cpp,v 1.74 2007/07/23 22:07:58 strk Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
 #include "sound_handler_sdl.h"
+#include "utility.h" // for convert_raw_data
 
 #include "log.h"
 #include <cmath>
@@ -884,7 +885,7 @@
 						int sample_count = outsize / ((sounddata->stereo == true) ? 4 : 2);
 
 						// Convert to needed samplerate
-						handler->convert_raw_data(&adjusted_data, &adjusted_size, tmp_raw_buffer, sample_count, 0, 
+						convert_raw_data(&adjusted_data, &adjusted_size, tmp_raw_buffer, sample_count, 0, 
 								sounddata->sample_rate, sounddata->stereo,
 								handler->audioSpec.freq, (handler->audioSpec.channels == 2 ? true : false));
 

Index: libbase/utility.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- libbase/utility.cpp	1 Jul 2007 10:54:10 -0000	1.15
+++ libbase/utility.cpp	23 Jul 2007 22:07:59 -0000	1.16
@@ -1,3 +1,4 @@
+// utility.cpp --	Various little utility functions, macros & typedefs.
 // 
 //   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 // 
@@ -21,6 +22,10 @@
 #include "config.h"
 #endif
 
+#include <stdint.h> // for int16_t
+#include <cstring> // for memcpy
+
+
 #ifdef HAVE_DMALLOC
 
 #ifdef HAVE_MALLINFO
@@ -98,6 +103,138 @@
 }
 #endif // CAN_DUMP_MEMORY_STATS
 
+namespace gnash {
+
+// VERY crude sample-rate conversion.
+// Converts input data to output format.
+// sample_size
+void convert_raw_data(
+    int16_t** adjusted_data,
+    int* adjusted_size,
+    void* data,
+    int sample_count,	// A stereo pair counts as one
+    int /*sample_size*/,	// Should now always == 2
+    // sample_rate and stereo are those of the incoming sample
+    int sample_rate, 
+    bool stereo,
+    // m_sample_rate, m_stereo are the format we must convert to.
+    int m_sample_rate,
+    bool m_stereo)
+{
+    // simple hack to handle dup'ing mono to stereo
+    if ( !stereo && m_stereo)
+    {
+	sample_rate >>= 1;
+    }
+
+    // simple hack to lose half the samples to get mono from stereo
+    if ( stereo && !m_stereo)
+    {
+	sample_rate <<= 1;
+    }
+
+    // Brain-dead sample-rate conversion: duplicate or
+    // skip input samples an integral number of times.
+    int	inc = 1;	// increment
+    int	dup = 1;	// duplicate
+    if (sample_rate > m_sample_rate)
+    {
+	inc = sample_rate / m_sample_rate;
+    }
+    else if (sample_rate < m_sample_rate)
+    {
+	dup = m_sample_rate / sample_rate;
+    }
+
+    int	output_sample_count = (sample_count * dup * (stereo ? 2 : 1)) / inc;
+    int16_t*	out_data = new int16_t[output_sample_count];
+    *adjusted_data = out_data;
+    *adjusted_size = output_sample_count * sizeof(int16_t); // in bytes
+
+    // Either inc > 1 (decimate the audio)
+    // or dup > 1 (repeat samples)
+    // or both == 1 (no transformation required)
+    if (inc == 1 && dup == 1)
+    {
+	    // No tranformation required
+	    memcpy(out_data, data, output_sample_count * sizeof(int16_t));
+    }
+    else if (inc > 1)
+    {
+	// Downsample by skipping samples from the input
+	int16_t*	in = (int16_t*) data;
+	for (int i = output_sample_count; i > 0; i--)
+	{
+	    *out_data++ = *in;
+	    in += inc;
+	}
+    }
+    else if (dup > 1)
+    {
+	// Upsample by duplicating input samples in the output.
+
+	// The straight sample-replication code handles mono-to-stereo (sort of)
+	// and upsampling of mono but would make a botch of stereo-to-stereo
+	// upsampling, giving the left sample in both channels
+	// then the right sample in both channels alternately.
+	// So for stereo-stereo transforms we have a stereo routine.
+
+	int16_t*	in = (int16_t*) data;
+
+	if (stereo && m_stereo) {
+	    // Stereo-to-stereo upsampling: Replicate pairs of samples
+	    for (int i = output_sample_count / dup / 2; i > 0; i--)
+	    {
+		for (int j = dup; j > 0; j--)
+		{
+			out_data[0] = in[0];
+			out_data[1] = in[1];
+			out_data += 2;
+		}
+		in += 2;
+	    }
+	} else {
+
+	    // Linear upsampling, either to increase a sample rate
+	    // or to convert a mono file to stereo or both:
+	    // replicate each sample several times.
+	    switch (dup)
+	    {
+	    case 2:
+		for (int i = output_sample_count / dup; i > 0; i--)
+		{
+		    *out_data++ = *in;
+		    *out_data++ = *in;
+		    in++;
+		}
+		break;
+	    case 4:
+		for (int i = output_sample_count / dup; i > 0; i--)
+		{
+		    *out_data++ = *in;
+		    *out_data++ = *in;
+		    *out_data++ = *in;
+		    *out_data++ = *in;
+		    in++;
+		}
+		break;
+	    default:
+		for (int i = output_sample_count / dup; i > 0; i--)
+		{
+		    for (int j = dup; j > 0; j--)
+		    {
+			    *out_data++ = *in;
+		    }
+		    in++;
+		}
+		break;
+	    }
+	}
+    }
+}
+
+} // namespace gnash 
+
 // Local Variables:
 // mode: C++
 // indent-tabs-mode: t

Index: libbase/utility.h
===================================================================
RCS file: /sources/gnash/gnash/libbase/utility.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- libbase/utility.h	10 Jul 2007 15:41:25 -0000	1.24
+++ libbase/utility.h	23 Jul 2007 22:07:59 -0000	1.25
@@ -1,9 +1,21 @@
-// utility.h	-- by Thatcher Ulrich <tu@tulrich.com>
-
-// This source code has been donated to the Public Domain.  Do
-// whatever you want with it.
+// utility.h --	Various little utility functions, macros & typedefs.
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+// 
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// Various little utility functions, macros & typedefs.
 
 
 #ifndef UTILITY_H
@@ -194,6 +206,44 @@
 	return typeName;
 }
 
+namespace gnash {
+
+/// VERY crude sample-rate and steroe conversion. Converts input data to 
+/// output format.
+//
+/// @param adjusted_data
+/// Where the converted data is placed.
+///
+/// @param adjusted_size
+/// The size of the converted data.
+///
+/// @param data
+/// Data that needs to be converted.
+///
+/// @param sample_count
+/// The datas current sample count.
+/// 
+/// @param sample_size
+/// The datas current sample size.
+///
+/// @param sample_rate
+/// The datas current sample rate.
+///
+/// @param stereo
+/// Whether the current data is in stereo
+///
+/// @param m_sample_rate
+/// The samplerate we which to convert to.
+///
+/// @param m_stereo
+/// Do we want the output data to be in stereo?
+///
+void	convert_raw_data(int16_t** adjusted_data,
+		  int* adjusted_size, void* data, int sample_count,
+		  int sample_size, int sample_rate, bool stereo,
+		  int m_sample_rate, bool m_stereo);
+} // namespace gnash 
+
 #endif // UTILITY_H
 
 

Index: server/asobj/SoundMad.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundMad.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/asobj/SoundMad.cpp	1 Jul 2007 10:54:31 -0000	1.10
+++ server/asobj/SoundMad.cpp	23 Jul 2007 22:07:59 -0000	1.11
@@ -29,6 +29,7 @@
 #include "fn_call.h"
 #include "GnashException.h"
 #include "builtin_function.h"
+#include "utility.h" // for convert_raw_data
 
 #include <string>
 
@@ -262,7 +263,7 @@
 					int sample_count = outsize / ((so->frame.header.mode) ? 4 : 2);
 
 					// Convert to needed samplerate
-					s->convert_raw_data(&adjusted_data, &adjusted_size, tmp_raw_buffer, sample_count, 2, 
+					convert_raw_data(&adjusted_data, &adjusted_size, tmp_raw_buffer, sample_count, 2, 
 							so->frame.header.samplerate, so->frame.header.mode,
 							44100, true/*stereo*/);
 

Index: backend/sound_handler.cpp
===================================================================
RCS file: backend/sound_handler.cpp
diff -N backend/sound_handler.cpp
--- backend/sound_handler.cpp	1 Jul 2007 10:53:48 -0000	1.9
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,163 +0,0 @@
-// 
-//   Copyright (C) 2007 Free Software Foundation, Inc.
-// 
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation; either version 3 of the License, or
-// (at your option) any later version.
-// 
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-// 
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
-
-#include "sound_handler.h"
-
-#include <cstring>
-
-namespace gnash {
-
-// VERY crude sample-rate conversion.
-// Converts input data to output format.
-// sample_size
-
-void sound_handler::convert_raw_data(
-    int16_t** adjusted_data,
-    int* adjusted_size,
-    void* data,
-    int sample_count,	// A stereo pair counts as one
-    int /*sample_size*/,	// Should now always == 2
-    // sample_rate and stereo are those of the incoming sample
-    int sample_rate, 
-    bool stereo,
-    // m_sample_rate, m_stereo are the format we must convert to.
-    int m_sample_rate,
-    bool m_stereo)
-{
-    // simple hack to handle dup'ing mono to stereo
-    if ( !stereo && m_stereo)
-    {
-	sample_rate >>= 1;
-    }
-
-    // simple hack to lose half the samples to get mono from stereo
-    if ( stereo && !m_stereo)
-    {
-	sample_rate <<= 1;
-    }
-
-    // Brain-dead sample-rate conversion: duplicate or
-    // skip input samples an integral number of times.
-    int	inc = 1;	// increment
-    int	dup = 1;	// duplicate
-    if (sample_rate > m_sample_rate)
-    {
-	inc = sample_rate / m_sample_rate;
-    }
-    else if (sample_rate < m_sample_rate)
-    {
-	dup = m_sample_rate / sample_rate;
-    }
-
-    int	output_sample_count = (sample_count * dup * (stereo ? 2 : 1)) / inc;
-    int16_t*	out_data = new int16_t[output_sample_count];
-    *adjusted_data = out_data;
-    *adjusted_size = output_sample_count * sizeof(int16_t); // in bytes
-
-    // Either inc > 1 (decimate the audio)
-    // or dup > 1 (repeat samples)
-    // or both == 1 (no transformation required)
-    if (inc == 1 && dup == 1)
-    {
-	    // No tranformation required
-	    memcpy(out_data, data, output_sample_count * sizeof(int16_t));
-    }
-    else if (inc > 1)
-    {
-	// Downsample by skipping samples from the input
-	int16_t*	in = (int16_t*) data;
-	for (int i = output_sample_count; i > 0; i--)
-	{
-	    *out_data++ = *in;
-	    in += inc;
-	}
-    }
-    else if (dup > 1)
-    {
-	// Upsample by duplicating input samples in the output.
-
-	// The straight sample-replication code handles mono-to-stereo (sort of)
-	// and upsampling of mono but would make a botch of stereo-to-stereo
-	// upsampling, giving the left sample in both channels
-	// then the right sample in both channels alternately.
-	// So for stereo-stereo transforms we have a stereo routine.
-
-	int16_t*	in = (int16_t*) data;
-
-	if (stereo && m_stereo) {
-	    // Stereo-to-stereo upsampling: Replicate pairs of samples
-	    for (int i = output_sample_count / dup / 2; i > 0; i--)
-	    {
-		for (int j = dup; j > 0; j--)
-		{
-			out_data[0] = in[0];
-			out_data[1] = in[1];
-			out_data += 2;
-		}
-		in += 2;
-	    }
-	} else {
-
-	    // Linear upsampling, either to increase a sample rate
-	    // or to convert a mono file to stereo or both:
-	    // replicate each sample several times.
-	    switch (dup)
-	    {
-	    case 2:
-		for (int i = output_sample_count / dup; i > 0; i--)
-		{
-		    *out_data++ = *in;
-		    *out_data++ = *in;
-		    in++;
-		}
-		break;
-	    case 4:
-		for (int i = output_sample_count / dup; i > 0; i--)
-		{
-		    *out_data++ = *in;
-		    *out_data++ = *in;
-		    *out_data++ = *in;
-		    *out_data++ = *in;
-		    in++;
-		}
-		break;
-	    default:
-		for (int i = output_sample_count / dup; i > 0; i--)
-		{
-		    for (int j = dup; j > 0; j--)
-		    {
-			    *out_data++ = *in;
-		    }
-		    in++;
-		}
-		break;
-	    }
-	}
-    }
-}
-
-
-} // namespace gnash
-
-
-// Local Variables:
-// mode: C++
-// c-basic-offset: 8 
-// tab-width: 8
-// indent-tabs-mode: t
-// End:



From MAILER-DAEMON Mon Jul 23 18:09:55 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID66F-0004XI-BJ
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 18:09:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID66D-0004Wk-M5
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:09:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID66B-0004WK-IN
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:09:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID66B-0004WE-BO
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:09:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID66A-0002Yf-GJ
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:09:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID66A-00080S-31
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:09:50 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID669-00080O-V9
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:09:50 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID669-00080O-V9@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 22:09:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libbase/embedVideoDecoderGst.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 22:09:54 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 22:09:49

Modified files:
	.              : ChangeLog 
	libbase        : embedVideoDecoderGst.cpp 

Log message:
	        * libbase/embedVideoDecoderGst.cpp (createDecoder): fix use of
	          possibly undefined variable warning, added a couple of assertions
	          and comments about the why.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3798&r2=1.3799
http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/embedVideoDecoderGst.cpp?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3798
retrieving revision 1.3799
diff -u -b -r1.3798 -r1.3799
--- ChangeLog	23 Jul 2007 22:07:58 -0000	1.3798
+++ ChangeLog	23 Jul 2007 22:09:49 -0000	1.3799
@@ -1,5 +1,11 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* libbase/embedVideoDecoderGst.cpp (createDecoder): fix use of
+	  possibly undefined variable warning, added a couple of assertions
+	  and comments about the why.
+
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
 	* backend/: sound_handler.{cpp,h}, Makefile.am,
 	  sound_handler_gst.cpp, sound_handler_sdl.cpp,
 	  libbase/: utility.{cpp,h}, server/asobj/SoundMad.cpp:

Index: libbase/embedVideoDecoderGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/libbase/embedVideoDecoderGst.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- libbase/embedVideoDecoderGst.cpp	1 Jul 2007 10:54:08 -0000	1.8
+++ libbase/embedVideoDecoderGst.cpp	23 Jul 2007 22:09:49 -0000	1.9
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: embedVideoDecoderGst.cpp,v 1.8 2007/07/01 10:54:08 bjacques Exp $
+// $Id: embedVideoDecoderGst.cpp,v 1.9 2007/07/23 22:09:49 strk Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -82,7 +82,7 @@
 
 	// Setup the input capsfilter
 	inputcaps = gst_element_factory_make ("capsfilter", NULL);
-	GstCaps* caps;
+	GstCaps* caps = NULL;
 	if (format == CODEC_H263) {
 		caps = gst_caps_new_simple ("video/x-flash-video",
 			"width", G_TYPE_INT, width,
@@ -103,16 +103,36 @@
 			"framerate", GST_TYPE_FRACTION, 25, 1,
 			NULL);
 	}
+
+	if ( caps ) 
+	{
 	g_object_set (G_OBJECT (inputcaps), "caps", caps, NULL);
 	gst_caps_unref (caps);
+#ifndef NDEBUG
+		caps = NULL; // to check it is not null on next use ...
+#endif
+	}
+	else
+	{
+		log_error("Unknown codec format %d", format);
+	}
 
 	// Setup the capsfilter which demands either YUV or RGB videoframe format
 	videocaps = gst_element_factory_make ("capsfilter", NULL);
 	if (outputFormat == YUV) {
 		caps = gst_caps_new_simple ("video/x-raw-yuv", NULL);
 	} else {
+		assert(outputFormat == RGB);
 		caps = gst_caps_new_simple ("video/x-raw-rgb", NULL);
 	}
+
+	assert(caps); // ok, this is a silly assertion *now*, but as long as 
+	              // the code is implemented with such long function bodies
+	              // a day will come in which someone will change something
+	              // a few screefulls above and the assertion would make
+	              // sense (maybe boost compile-time assertions could help
+	              // in this reguard).
+
 	g_object_set (G_OBJECT (videocaps), "caps", caps, NULL);
 	gst_caps_unref (caps);
 



From MAILER-DAEMON Mon Jul 23 18:20:54 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID6Gs-0001MM-OB
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 18:20:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID6Gq-0001MG-Nq
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:20:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID6Go-0001M4-VK
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:20:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID6Go-0001M1-R1
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:20:50 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID6Go-0004pB-Jg
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:20:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID6Gn-0001Oy-Bm
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:20:49 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID6Gn-0001Ov-54
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:20:49 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID6Gn-0001Ov-54@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 22:20:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog plugin/klash/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 22:20:52 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 22:20:49

Modified files:
	.              : ChangeLog 
	plugin/klash   : Makefile.am 

Log message:
	        * plugin/klash/Makefile.am: fix uninstall rule.
	          Make distcheck works fine on gnashdev now.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3799&r2=1.3800
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/Makefile.am?cvsroot=gnash&r1=1.31&r2=1.32

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3799
retrieving revision 1.3800
diff -u -b -r1.3799 -r1.3800
--- ChangeLog	23 Jul 2007 22:09:49 -0000	1.3799
+++ ChangeLog	23 Jul 2007 22:20:48 -0000	1.3800
@@ -1,5 +1,10 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* plugin/klash/Makefile.am: fix uninstall rule.
+	  Make distcheck works fine on gnashdev now.
+
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
 	* libbase/embedVideoDecoderGst.cpp (createDecoder): fix use of
 	  possibly undefined variable warning, added a couple of assertions
 	  and comments about the why.

Index: plugin/klash/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/Makefile.am,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- plugin/klash/Makefile.am	23 Jul 2007 18:22:33 -0000	1.31
+++ plugin/klash/Makefile.am	23 Jul 2007 22:20:48 -0000	1.32
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.31 2007/07/23 18:22:33 strk Exp $
+# $Id: Makefile.am,v 1.32 2007/07/23 22:20:48 strk Exp $
 
 AUTOMAKE_OPTIONS = 
 
@@ -65,6 +65,8 @@
 
 uninstall-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
 	$(RM) -f $(DESTDIR)$(plugindir)/libklashpart.so
+	$(RM) -f $(DESTDIR)$(plugindir)/libklashpart.la
+	$(RM) -f $(DESTDIR)$(plugindir)/libklashpart.a
 
 else
 all:



From MAILER-DAEMON Mon Jul 23 18:22:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID6IR-0001gq-6h
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 18:22:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID6IO-0001fo-5W
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:22:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID6IN-0001fK-2f
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:22:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID6IM-0001fG-Tj
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:22:26 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID6IM-00053e-IO
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:22:26 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID6IM-0001Ta-1A
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:22:26 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID6IL-0001TU-Rk
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:22:25 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID6IL-0001TU-Rk@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 22:22:25 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/sound_handler_gst.cpp b...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 22:22:28 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 22:22:25

Modified files:
	.              : ChangeLog 
	backend        : sound_handler_gst.cpp sound_handler_gst.h 
	                 sound_handler_sdl.cpp sound_handler_sdl.h 

Log message:
	        * backend/: sound_handler_gst.{cpp,h},
	          sound_handler_sdl.{cpp,h}:
	          Define sound handlers inside the gnash namespace.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3800&r2=1.3801
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.cpp?cvsroot=gnash&r1=1.52&r2=1.53
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.h?cvsroot=gnash&r1=1.29&r2=1.30

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3800
retrieving revision 1.3801
diff -u -b -r1.3800 -r1.3801
--- ChangeLog	23 Jul 2007 22:20:48 -0000	1.3800
+++ ChangeLog	23 Jul 2007 22:22:24 -0000	1.3801
@@ -1,5 +1,11 @@
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
+	* backend/: sound_handler_gst.{cpp,h},
+	  sound_handler_sdl.{cpp,h}:
+	  Define sound handlers inside the gnash namespace.
+
+2007-07-23 Sandro Santilli <strk@keybit.net>
+
 	* plugin/klash/Makefile.am: fix uninstall rule.
 	  Make distcheck works fine on gnashdev now.
 

Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -b -r1.52 -r1.53
--- backend/sound_handler_gst.cpp	23 Jul 2007 22:07:58 -0000	1.52
+++ backend/sound_handler_gst.cpp	23 Jul 2007 22:22:25 -0000	1.53
@@ -20,7 +20,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.52 2007/07/23 22:07:58 strk Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.53 2007/07/23 22:22:25 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -34,6 +34,7 @@
 //
 
 #ifdef SOUND_GST
+
 #include "sound_handler_gst.h"
 #include "gnash.h"
 #include "container.h"
@@ -48,6 +49,8 @@
 
 using namespace boost;
 
+namespace gnash {
+
 GST_sound_handler::GST_sound_handler()
 	: looping(false),
 	  muted(false)
@@ -617,8 +620,9 @@
 	return new GST_sound_handler;
 }
 
+} // namespace gnash
 
-#endif
+#endif // SOUND_GST
 
 // Local Variables:
 // mode: C++

Index: backend/sound_handler_gst.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- backend/sound_handler_gst.h	1 Jul 2007 10:53:48 -0000	1.11
+++ backend/sound_handler_gst.h	23 Jul 2007 22:22:25 -0000	1.12
@@ -29,6 +29,8 @@
 
 #define BUFFER_SIZE 5000
 
+namespace gnash {
+
 // forward declaration
 class GST_sound_handler;
 
@@ -179,5 +181,7 @@
 	virtual void	detach_aux_streamer(void* owner);	//vv
 };
 
+} // namespace gnash
+
 #endif // SOUND_HANDLER_GST_H
 

Index: backend/sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- backend/sound_handler_sdl.cpp	23 Jul 2007 22:07:58 -0000	1.74
+++ backend/sound_handler_sdl.cpp	23 Jul 2007 22:22:25 -0000	1.75
@@ -18,7 +18,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-// $Id: sound_handler_sdl.cpp,v 1.74 2007/07/23 22:07:58 strk Exp $
+// $Id: sound_handler_sdl.cpp,v 1.75 2007/07/23 22:22:25 strk Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -34,6 +34,8 @@
 
 using namespace boost;
 
+namespace gnash {
+
 SDL_sound_handler::SDL_sound_handler()
 	: soundOpened(false),
 		soundsPlaying(0),
@@ -72,7 +74,7 @@
 
 	sound_data *sounddata = new sound_data;
 	if (!sounddata) {
-		gnash::log_error(_("could not allocate memory for sound data"));
+		log_error(_("could not allocate memory for sound data"));
 		return -1;
 	}
 
@@ -96,7 +98,7 @@
 			convert_raw_data(&adjusted_data, &adjusted_size, data, sample_count, 2, sample_rate, stereo,
 					 audioSpec.freq, (audioSpec.channels == 2 ? true : false));
 			if (!adjusted_data) {
-				gnash::log_error(_("Some kind of error occurred with sound data"));
+				log_error(_("Some kind of error occurred with sound data"));
 				return -1;
 			}
 			sounddata->data_size = adjusted_size;
@@ -107,13 +109,13 @@
 	case FORMAT_MP3:
 #ifndef USE_FFMPEG
 #ifndef USE_MAD
-		gnash::log_error(_("gnash has not been compiled to handle mp3 audio"));
+		log_error(_("gnash has not been compiled to handle mp3 audio"));
 		return -1;
 #endif
 #endif
 		sounddata->data = new Uint8[data_bytes];
 		if (!sounddata->data) {
-			gnash::log_error(_("could not allocate space for data in sound handler"));
+			log_error(_("could not allocate space for data in sound handler"));
 			return -1;
 		}
 		memcpy(sounddata->data, data, data_bytes);
@@ -125,17 +127,17 @@
 	case FORMAT_ADPCM:
 	case FORMAT_UNCOMPRESSED:
 		// These should have been converted to FORMAT_NATIVE16
-		gnash::log_error(_("Sound data format not properly converted"));
+		log_error(_("Sound data format not properly converted"));
 		return -1;
 		break;
 
 	case FORMAT_NELLYMOSER:
-		gnash::log_unimpl("Nellymoser sound format requested, gnash does not handle it.");
+		log_unimpl("Nellymoser sound format requested, gnash does not handle it.");
 		return -1;
 
 	default:
 		// Unhandled format.
-		gnash::log_error(_("unknown sound format %d requested; gnash does not handle it"), (int)format);
+		log_error(_("unknown sound format %d requested; gnash does not handle it"), (int)format);
 		return -1; // Unhandled format, set to NULL.
 	}
 
@@ -171,7 +173,7 @@
 				 sounddata->sample_rate, sounddata->stereo,
 				 audioSpec.freq, (audioSpec.channels == 2));
 		if (!adjusted_data || adjusted_size < 1) {
-			gnash::log_error(_("Some kind of error with resampling sound data"));
+			log_error(_("Some kind of error with resampling sound data"));
 			return -1;
 		}
 
@@ -219,7 +221,7 @@
 	    break;
 
 	default:
-		gnash::log_error(_("Behavior for this audio codec %d is unknown.  Please send this SWF to the developers"), (int)(sounddata->format));
+		log_error(_("Behavior for this audio codec %d is unknown.  Please send this SWF to the developers"), (int)(sounddata->format));
 	}
 
 	return start_size;
@@ -250,7 +252,7 @@
 	// Make sure sound actually got some data
 	if (sounddata->data_size < 1) {
 		IF_VERBOSE_MALFORMED_SWF(
-			gnash::log_swferror(_("Trying to play sound with size 0"));
+			log_swferror(_("Trying to play sound with size 0"));
 		);
 		return;
 	}
@@ -288,7 +290,7 @@
 		sound->parser = av_parser_init(CODEC_ID_MP3);
 
 		if (!sound->codec) {
-			gnash::log_error(_("Your FFMPEG can't decode MP3?!"));
+			log_error(_("Your FFMPEG can't decode MP3?!"));
 			return;
 		}
 
@@ -317,7 +319,7 @@
 
 	if (!soundOpened) {
 		if (SDL_OpenAudio(&audioSpec, NULL) < 0 ) {
-			gnash::log_error(_("Unable to start SDL sound: %s"), SDL_GetError());
+			log_error(_("Unable to start SDL sound: %s"), SDL_GetError());
 			return;
 		}
 		soundOpened = true;
@@ -512,7 +514,7 @@
 
 	if (!soundOpened) {
 		if (SDL_OpenAudio(&audioSpec, NULL) < 0 ) {
-			gnash::log_error(_("Unable to start aux SDL sound: %s"), SDL_GetError());
+			log_error(_("Unable to start aux SDL sound: %s"), SDL_GetError());
 			return;
 		}
 		soundOpened = true;
@@ -534,7 +536,8 @@
 }
 
 
-gnash::sound_handler*	gnash::create_sound_handler_sdl()
+sound_handler*
+create_sound_handler_sdl()
 // Factory.
 {
 	return new SDL_sound_handler;
@@ -655,13 +658,13 @@
 {
 	if ( buffer_length_in < 0 )
 	{
-		gnash::log_error(_("Negative buffer length in sdl_audio_callback (%d)"), buffer_length_in);
+		log_error(_("Negative buffer length in sdl_audio_callback (%d)"), buffer_length_in);
 		return;
 	}
 
 	if ( buffer_length_in == 0 )
 	{
-		gnash::log_error(_("Zero buffer length in sdl_audio_callback"));
+		log_error(_("Zero buffer length in sdl_audio_callback"));
 		return;
 	}
 
@@ -689,8 +692,8 @@
 		uint8_t* buf = new uint8_t[buffer_length];
 
 		// Loop through the attached sounds
-		hash_wrapper< void*, gnash::sound_handler::aux_streamer_ptr >::iterator it = handler->m_aux_streamer.begin();
-		hash_wrapper< void*, gnash::sound_handler::aux_streamer_ptr >::iterator end = handler->m_aux_streamer.end();
+		hash_wrapper< void*, sound_handler::aux_streamer_ptr >::iterator it = handler->m_aux_streamer.begin();
+		hash_wrapper< void*, sound_handler::aux_streamer_ptr >::iterator end = handler->m_aux_streamer.end();
 		while (it != end) {
 			memset(buf, 0, buffer_length);
 
@@ -795,7 +798,7 @@
 #endif
 
 						if (bytes_decoded < 0 || tmp < 0 || outsize < 0) {
-							gnash::log_error(_("Error while decoding MP3-stream.  Upgrading ffmpeg/libavcodec might fix this issue."));
+							log_error(_("Error while decoding MP3-stream.  Upgrading ffmpeg/libavcodec might fix this issue."));
 							// Setting data position to data size will get the sound removed
 							// from the active sound list later on.
 							sound->position = sound->data_size;
@@ -825,7 +828,7 @@
 						// Error handling is done by relooping (max. 8 times) and just hooping that it will work...
 						if (loops > 8) break;
 						if (ret == -1 && sound->stream.error != MAD_ERROR_BUFLEN && MAD_RECOVERABLE(sound->stream.error)) {
-							gnash::log_error(_("Recoverable error while decoding MP3-stream, MAD error: %s"), mad_stream_errorstr (&sound->stream));
+							log_error(_("Recoverable error while decoding MP3-stream, MAD error: %s"), mad_stream_errorstr (&sound->stream));
 							continue;
 						}
 						
@@ -833,7 +836,7 @@
 					}
 
 					if (ret == -1 && sound->stream.error != MAD_ERROR_BUFLEN) {
-						gnash::log_error(_("Unrecoverable error while decoding MP3-stream, MAD error: %s"), mad_stream_errorstr (&sound->stream));
+						log_error(_("Unrecoverable error while decoding MP3-stream, MAD error: %s"), mad_stream_errorstr (&sound->stream));
 						sound->position = sound->data_size;
 						continue;
 					} else if (ret == -1 && sound->stream.error == MAD_ERROR_BUFLEN) {
@@ -891,7 +894,7 @@
 
 						// Hopefully this wont happen
 						if (!adjusted_data) {
-							gnash::log_error(_("Error in sound sample conversion"));
+							log_error(_("Error in sound sample conversion"));
 							continue;
 						}
 
@@ -982,6 +985,8 @@
 
 }
 
+} // namespace gnash
+
 // Local Variables:
 // mode: C++
 // End:

Index: backend/sound_handler_sdl.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- backend/sound_handler_sdl.h	17 Jul 2007 22:05:03 -0000	1.29
+++ backend/sound_handler_sdl.h	23 Jul 2007 22:22:25 -0000	1.30
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: sound_handler_sdl.h,v 1.29 2007/07/17 22:05:03 nihilus Exp $
+// $Id: sound_handler_sdl.h,v 1.30 2007/07/23 22:22:25 strk Exp $
 
 #ifndef SOUND_HANDLER_SDL_H
 #define SOUND_HANDLER_SDL_H
@@ -40,6 +40,8 @@
 #include <boost/bind.hpp>
 #include <boost/thread/mutex.hpp>
 
+namespace gnash {
+
 /// Used to hold the info about active sounds
 class active_sound
 {
@@ -256,5 +258,6 @@
 	static void sdl_audio_callback (void *udata, Uint8 *stream, int buffer_length_in);
 };
 
+} // namespace gnash
 
 #endif // SOUND_HANDLER_SDL_H



From MAILER-DAEMON Mon Jul 23 18:23:38 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID6JV-00028l-UV
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 18:23:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID6JT-00027r-L0
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:23:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID6JT-00027X-8a
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:23:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID6JS-00027O-S2
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:23:34 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1ID6JS-0005IJ-4p
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 18:23:34 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1ID6JR-0001WB-LS
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:23:33 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1ID6JR-0001W8-GF
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 22:23:33 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID6JR-0001W8-GF@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 23 Jul 2007 22:23:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/backend sound_handler_gst.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 22:23:35 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/23 22:23:33

Modified files:
	backend        : sound_handler_gst.cpp 

Log message:
	fix extra-qualification

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.cpp?cvsroot=gnash&r1=1.53&r2=1.54

Patches:
Index: sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- sound_handler_gst.cpp	23 Jul 2007 22:22:25 -0000	1.53
+++ sound_handler_gst.cpp	23 Jul 2007 22:23:33 -0000	1.54
@@ -20,7 +20,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.53 2007/07/23 22:22:25 strk Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.54 2007/07/23 22:23:33 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -84,7 +84,7 @@
 
 	sound_data *sounddata = new sound_data;
 	if (!sounddata) {
-		gnash::log_error(_("Could not allocate memory for sound data"));
+		log_error(_("Could not allocate memory for sound data"));
 		return -1;
 	}
 
@@ -100,7 +100,7 @@
 	case FORMAT_NATIVE16:
 		sounddata->data = new guint8[data_bytes];
 		if (!sounddata->data) { 
-			gnash::log_error(_("Could not allocate space for data in sound handler"));
+			log_error(_("Could not allocate space for data in sound handler"));
 			return -1;
 		}
 		memcpy(sounddata->data, data, data_bytes);
@@ -110,7 +110,7 @@
 	//case FORMAT_VORBIS:
 		sounddata->data = new guint8[data_bytes];
 		if (!sounddata->data) { 
-			gnash::log_error(_("Could not allocate space for data in sound handler"));
+			log_error(_("Could not allocate space for data in sound handler"));
 			return -1;
 		}
 		memcpy(sounddata->data, data, data_bytes);
@@ -121,17 +121,17 @@
 	case FORMAT_ADPCM:
 	case FORMAT_UNCOMPRESSED:
 		// These should have been converted to FORMAT_NATIVE16
-		gnash::log_error(_("Sound data format not properly converted"));
+		log_error(_("Sound data format not properly converted"));
 		assert(0);
 		break;
 
 	case FORMAT_NELLYMOSER:
-		gnash::log_unimpl(_("Nellymoser sound format requested; gnash does not handle it"));
+		log_unimpl(_("Nellymoser sound format requested; gnash does not handle it"));
 		return -1;
 
 	default:
 		// Unhandled format.
-		gnash::log_error(_("Unknown sound format %d requested; gnash does not handle it"), (int)format);
+		log_error(_("Unknown sound format %d requested; gnash does not handle it"), (int)format);
 		return -1; // Unhandled format, set to NULL.
 	}
 
@@ -273,7 +273,7 @@
 	// Make sure sound actually got some data
 	if (sounddata->data_size < 1) {
 		IF_VERBOSE_MALFORMED_SWF(
-			gnash::log_swferror(_("Trying to play sound with size 0"));
+			log_swferror(_("Trying to play sound with size 0"));
 		);
 		return;
 	}
@@ -281,7 +281,7 @@
 	// Make a "gst_elements" for this sound which is latter placed on the vector of instances of this sound being played
 	gst_elements* gst_element = new gst_elements;
 	if (gst_element == NULL) {
-		gnash::log_error (_("Could not allocate memory for gst_element"));
+		log_error (_("Could not allocate memory for gst_element"));
 		return;
 	}
 
@@ -310,10 +310,10 @@
 
 	// Check if the creation of the gstreamer pipeline, adder and audiosink was a succes
 	if (!gst_element->pipeline) {
-		gnash::log_error(_("The gstreamer pipeline element could not be created"));
+		log_error(_("The gstreamer pipeline element could not be created"));
 	}
 	if (!gst_element->audiosink) {
-		gnash::log_error(_("The gstreamer audiosink element could not be created"));
+		log_error(_("The gstreamer audiosink element could not be created"));
 	}
 
 	// link adder and output to bin
@@ -339,7 +339,7 @@
 		|| !gst_element->audioconvert
 		|| !gst_element->audioresample) {
 
-		gnash::log_error(_("Gstreamer element for audio handling could not be created"));
+		log_error(_("Gstreamer element for audio handling could not be created"));
 		return;
 	}
 
@@ -356,14 +356,14 @@
 				if ( ! warned ) 
 				{
 					// I keep getting these messages even if I hear sound... too much paranoia ?
-					gnash::log_debug(_("This version of fluendos mp3 plugin does not support flash streaming sounds, please upgrade to version 0.10.4 or higher"));
+					log_debug(_("This version of fluendos mp3 plugin does not support flash streaming sounds, please upgrade to version 0.10.4 or higher"));
 					warned=true;
 				}
 			}
 		}
 		// Check if the element was correctly created
 		if (!gst_element->decoder) {
-			gnash::log_error(_("A gstreamer mp3-decoder element could not be created.  You probably need to install a mp3-decoder plugin like gstreamer0.10-mad or gstreamer0.10-fluendo-mp3."));
+			log_error(_("A gstreamer mp3-decoder element could not be created.  You probably need to install a mp3-decoder plugin like gstreamer0.10-mad or gstreamer0.10-fluendo-mp3."));
 			return;
 		}
 		gst_bin_add (GST_BIN (gst_element->bin), gst_element->decoder);
@@ -596,12 +596,12 @@
 
 void GST_sound_handler::attach_aux_streamer(aux_streamer_ptr /*ptr*/, void* /*owner*/)
 {
-	gnash::log_unimpl(__PRETTY_FUNCTION__);
+	log_unimpl(__PRETTY_FUNCTION__);
 }
 
 void GST_sound_handler::detach_aux_streamer(void* /*owner*/)
 {
-	gnash::log_unimpl(__PRETTY_FUNCTION__);
+	log_unimpl(__PRETTY_FUNCTION__);
 }
 
 // Pointer handling and checking functions
@@ -614,7 +614,7 @@
 	data = idata;
 }
 
-gnash::sound_handler*	gnash::create_sound_handler_gst()
+sound_handler*	create_sound_handler_gst()
 // Factory.
 {
 	return new GST_sound_handler;



From MAILER-DAEMON Mon Jul 23 19:36:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID7S2-0005xU-OO
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 19:36:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID7S1-0005xP-H5
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 19:36:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID7S0-0005xC-Kh
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 19:36:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID7S0-0005x9-Et
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 19:36:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1ID7Rz-0002ee-VG
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 19:36:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1ID7Ry-00077z-7t
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 23:36:26 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1ID7Ry-00077v-0F
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 23:36:26 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID7Ry-00077v-0F@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 23 Jul 2007 23:36:26 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui/aqua.nib classes.nib info.nib objects...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2007 23:36:30 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/23 23:36:25

Removed files:
	gui/aqua.nib   : classes.nib info.nib objects.xib 

Log message:
	Removed

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.nib/classes.nib?cvsroot=gnash&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.nib/info.nib?cvsroot=gnash&r1=1.3&r2=0
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.nib/objects.xib?cvsroot=gnash&r1=1.3&r2=0

Patches:
Index: classes.nib
===================================================================
RCS file: classes.nib
diff -N classes.nib
--- classes.nib	15 May 2007 01:05:29 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,4 +0,0 @@
-{
-IBClasses = ();
-IBVersion = 1;
-}

Index: info.nib
===================================================================
RCS file: info.nib
diff -N info.nib
--- info.nib	15 May 2007 22:04:18 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>IBDocumentLocation</key>
-	<string>383 545 356 240 0 0 1680 1028 </string>
-	<key>IBEditorPositions</key>
-	<dict>
-		<key>29</key>
-		<string>151 836 142 44 0 0 1680 1028 </string>
-	</dict>
-	<key>IBFramework Version</key>
-	<string>446.1</string>
-	<key>IBOldestOS</key>
-	<integer>4</integer>
-	<key>IBOpenObjects</key>
-	<array>
-		<integer>29</integer>
-		<integer>198</integer>
-	</array>
-	<key>IBSystem Version</key>
-	<string>8P2137</string>
-	<key>targetFramework</key>
-	<string>IBCarbonFramework</string>
-</dict>
-</plist>

Index: objects.xib
===================================================================
RCS file: objects.xib
diff -N objects.xib
--- objects.xib	15 May 2007 22:04:18 -0000	1.3
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,134 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<object class="NSIBObjectData">
-  <string name="targetFramework">IBCarbonFramework</string>
-  <object name="rootObject" class="NSCustomObject" id="1">
-    <string name="customClass">NSApplication</string>
-  </object>
-  <array count="15" name="allObjects">
-    <object class="IBCarbonMenu" id="29">
-      <string name="title">aqua</string>
-      <array count="2" name="items">
-        <object class="IBCarbonMenuItem" id="185">
-          <string name="title">Gnash</string>
-          <object name="submenu" class="IBCarbonMenu" id="184">
-            <string name="title">Gnash</string>
-            <array count="1" name="items">
-              <object class="IBCarbonMenuItem" id="187">
-                <boolean name="updateSingleItem">TRUE</boolean>
-                <string name="title">About Gnash</string>
-                <int name="keyEquivalentModifier">0</int>
-                <ostype name="command">abou</ostype>
-              </object>
-            </array>
-            <string name="name">_NSAppleMenu</string>
-          </object>
-        </object>
-        <object class="IBCarbonMenuItem" id="153">
-          <string name="title">Window</string>
-          <object name="submenu" class="IBCarbonMenu" id="154">
-            <string name="title">Window</string>
-            <array count="6" name="items">
-              <object class="IBCarbonMenuItem" id="155">
-                <boolean name="dynamic">TRUE</boolean>
-                <boolean name="updateSingleItem">TRUE</boolean>
-                <string name="title">Minimize</string>
-                <string name="keyEquivalent">m</string>
-                <ostype name="command">mini</ostype>
-              </object>
-              <object class="IBCarbonMenuItem" id="188">
-                <boolean name="dynamic">TRUE</boolean>
-                <boolean name="updateSingleItem">TRUE</boolean>
-                <string name="title">Minimize All</string>
-                <string name="keyEquivalent">m</string>
-                <int name="keyEquivalentModifier">1572864</int>
-                <ostype name="command">mina</ostype>
-              </object>
-              <object class="IBCarbonMenuItem" id="190">
-                <boolean name="updateSingleItem">TRUE</boolean>
-                <string name="title">Zoom</string>
-                <ostype name="command">zoom</ostype>
-              </object>
-              <object class="IBCarbonMenuItem" id="156">
-                <boolean name="separator">TRUE</boolean>
-              </object>
-              <object class="IBCarbonMenuItem" id="157">
-                <boolean name="dynamic">TRUE</boolean>
-                <boolean name="updateSingleItem">TRUE</boolean>
-                <string name="title">Bring All to Front</string>
-                <ostype name="command">bfrt</ostype>
-              </object>
-              <object class="IBCarbonMenuItem" id="189">
-                <boolean name="dynamic">TRUE</boolean>
-                <boolean name="updateSingleItem">TRUE</boolean>
-                <string name="title">Arrange in Front</string>
-                <int name="keyEquivalentModifier">1572864</int>
-                <ostype name="command">frnt</ostype>
-              </object>
-            </array>
-            <string name="name">_NSWindowsMenu</string>
-          </object>
-        </object>
-      </array>
-      <string name="name">_NSMainMenu</string>
-    </object>
-    <reference idRef="153"/>
-    <reference idRef="154"/>
-    <reference idRef="155"/>
-    <reference idRef="156"/>
-    <reference idRef="157"/>
-    <reference idRef="184"/>
-    <reference idRef="185"/>
-    <reference idRef="187"/>
-    <reference idRef="188"/>
-    <reference idRef="189"/>
-    <reference idRef="190"/>
-    <object class="IBCarbonWindow" id="198">
-      <string name="windowRect">134 719 494 1199 </string>
-      <string name="title">Gnash</string>
-      <object name="rootControl" class="IBCarbonRootControl" id="199">
-        <string name="bounds">0 0 360 480 </string>
-        <string name="viewFrame">0 0 480 360 </string>
-        <array count="1" name="subviews">
-          <object class="IBCarbonHIMovieView" id="204">
-            <string name="bounds">-11 0 360 480 </string>
-            <string name="viewFrame">0 -11 480 371 </string>
-          </object>
-        </array>
-      </object>
-      <boolean name="receiveUpdates">FALSE</boolean>
-      <boolean name="liveResize">TRUE</boolean>
-      <boolean name="compositing">TRUE</boolean>
-      <boolean name="isConstrained">FALSE</boolean>
-    </object>
-    <reference idRef="199"/>
-    <reference idRef="204"/>
-  </array>
-  <array count="15" name="allParents">
-    <reference idRef="1"/>
-    <reference idRef="29"/>
-    <reference idRef="153"/>
-    <reference idRef="154"/>
-    <reference idRef="154"/>
-    <reference idRef="154"/>
-    <reference idRef="185"/>
-    <reference idRef="29"/>
-    <reference idRef="184"/>
-    <reference idRef="154"/>
-    <reference idRef="154"/>
-    <reference idRef="154"/>
-    <reference idRef="1"/>
-    <reference idRef="198"/>
-    <reference idRef="199"/>
-  </array>
-  <dictionary count="4" name="nameTable">
-    <string>Files Owner</string>
-    <reference idRef="1"/>
-    <string>MainWindow</string>
-    <reference idRef="198"/>
-    <string>MenuBar</string>
-    <reference idRef="29"/>
-    <string>View31</string>
-    <reference idRef="204"/>
-  </dictionary>
-  <unsigned_int name="nextObjectID">214</unsigned_int>
-</object>



From MAILER-DAEMON Mon Jul 23 20:04:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID7tM-0001E2-4E
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 20:04:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID7tK-0001Dv-CG
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 20:04:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID7tJ-0001Dj-Qa
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 20:04:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID7tJ-0001Dg-Nh
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 20:04:41 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1ID7tJ-0000kb-6x
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 20:04:41 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1ID7tI-0001HY-Bd
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 00:04:40 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1ID7tI-0001HV-5z
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 00:04:40 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID7tI-0001HV-5z@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 24 Jul 2007 00:04:40 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp aqua_glue.h aqua_ogl_glue.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 00:04:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/24 00:04:40

Modified files:
	gui            : aqua.cpp aqua_glue.h aqua_ogl_glue.cpp 

Log message:
	More Carbon stuff

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_glue.h?cvsroot=gnash&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua_ogl_glue.cpp?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- aqua.cpp	23 Jul 2007 01:13:10 -0000	1.16
+++ aqua.cpp	24 Jul 2007 00:04:39 -0000	1.17
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.16 2007/07/23 01:13:10 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.17 2007/07/24 00:04:39 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -42,31 +42,70 @@
 
 #include <Carbon/Carbon.h>
 
-struct GlobalAppInfo  
+ToolboxObjectClassRef customWindow;
+WindowRef myWindow;
+WindowDefSpec myCustomWindowSpec;
+EventHandlerUPP myCustomWindowUPP;
+Rect theBounds = {200,200,400,400};
+ 
+EventTypeSpec eventList[] = {{kEventClassWindow, kEventWindowDrawFrame},
+                            {kEventClassWindow, kEventWindowHitTest}};
+
+static pascal OSStatus MyCustomWindowEventHandler (
+                                EventHandlerCallRef myHandler,
+                                EventRef theEvent, void* userData)
 {
-  CFBundleRef		mainBundle;
-  IBNibRef			mainNib;
-  WindowGroupRef	windowGroups[3];
-};
-typedef struct GlobalAppInfo GlobalAppInfo;
-
-GlobalAppInfo  g;
-
-static pascal OSStatus AppEventHandlerProc(EventHandlerCallRef inCallRef, EventRef inEvent, void* inUserData)
-{
-  #pragma unused (inCallRef)
-  HICommand        		command;
-  WindowGroupRef		windowGroup;
-  WindowGroupAttributes windowGroupAttributes;
-  UInt32	eventKind 	= GetEventKind(inEvent);
-  UInt32	eventClass	= GetEventClass(inEvent);
-  WindowRef	window 		= (WindowRef) inUserData;
-  OSStatus	err 		= eventNotHandledErr;
 
-  GNASH_REPORT_FUNCTION;
-  return err;	
+    #pragma unused (myHandler,userData)
+ 
+    OSStatus result = eventNotHandledErr;
+ 
+    UInt32 whatHappened;
+    WindowDefPartCode where;
+ 
+    GrafPtr thePort;
+    Rect windBounds;
+ 
+    whatHappened = GetEventKind (theEvent);
+ 
+    switch (whatHappened)
+    {
+        case kEventWindowInit:
+ 
+            GetEventParameter (theEvent, kEventParamDirectObject,
+            					typeWindowRef, NULL, sizeof(WindowRef),
+           						NULL, &myWindow);
+           						
+            SetThemeWindowBackground (myWindow, kThemeBrushMovableModalBackground, true);	// 1
+            result = noErr;
+            break;
+ 
+        case kEventWindowDrawFrame:	// 2
+ 
+            GetPort(&thePort);		// 3
+            GetPortBounds(thePort, &windBounds);
+
+            PenNormal();			// 4
+            PenSize (10,10);
+            FrameRect(&windBounds);	// 5
+ 
+            result = noErr;
+            break;
+ 
+        case kEventWindowHitTest:	// 6
+ 
+            /* determine what part of the window the user hit */
+            where = wInDrag;
+            SetEventParameter (theEvent, kEventParamWindowDefPart,	// 7
+                                typeWindowDefPartCode,
+                                sizeof(WindowDefPartCode), &where);
+ 
+            result = noErr;
+            break;
+    }
+ 
+    return (result);
 }
-static pascal OSStatus SimpleWindowEventHandlerProc(EventHandlerCallRef inCallRef, EventRef inEvent, void* inUserData);
 
 namespace gnash {
 	
@@ -87,50 +126,9 @@
 
 bool AquaGui::run()
 {
-	OSErr 						err;
-  	static const EventTypeSpec	sApplicationEvents[] =  {  {kEventClassCommand, kEventCommandProcess}  };
-  
 	GNASH_REPORT_FUNCTION;
-	BlockZero(&g, sizeof(g));
-
-  	g.mainBundle = CFBundleGetMainBundle();
-  	if (g.mainBundle == NULL) 
-  	{
-  		err = false;
-  	 	goto Bail;
-  	}
-  
-	err = CreateNibReferenceWithCFBundle(g.mainBundle, CFSTR("aqua"), &g.mainNib);
-	if (err != noErr)goto Bail;
-	if (g.mainNib == NULL)
-	{
-  		err = false;
-  		goto Bail;
-  	}
-  		
-  	err = SetMenuBarFromNib(g.mainNib, CFSTR("aqua"));
-  	if (err != noErr)goto Bail;
-
-  	InstallApplicationEventHandler(NewEventHandlerUPP(AppEventHandlerProc), GetEventTypeCount(sApplicationEvents), sApplicationEvents, 0, NULL);
-
-  	//  Force the document group to be created first, so we can position our groups between the floating and document groups
-  	(void) GetWindowGroupOfClass(kDocumentWindowClass);
-  
-  	//  Create our default WindowGroups and set their z-order
-  	err = CreateWindowGroup(0, &g.windowGroups[0]);
-  	err = CreateWindowGroup(0, &g.windowGroups[1]);
-  	err = CreateWindowGroup(0, &g.windowGroups[2]);
-
-  	//  Position our groups behind the floating group and in front of the document group
-  	SendWindowGroupBehind(g.windowGroups[2], GetWindowGroupOfClass(kDocumentWindowClass));
-  	SendWindowGroupBehind(g.windowGroups[1], g.windowGroups[2]);
-  	SendWindowGroupBehind(g.windowGroups[0], g.windowGroups[1]);
-    
-	RunApplicationEventLoop();
+    ShowWindow(myWindow);
     return true;
-
-Bail:
-	return err;    
 }
 
 void AquaGui::renderBuffer()
@@ -143,18 +141,36 @@
 AquaGui::setInvalidatedRegions(const InvalidatedRanges& ranges)
 {
 	GNASH_REPORT_FUNCTION;
+#if 0	
     _glue.setInvalidatedRegions(ranges);
+#endif
 }
 
 bool AquaGui::init(int argc, char ***argv) /* Self-explainatory */
 {
+  
   	GNASH_REPORT_FUNCTION;
   
-  	_glue.init (argc, argv);
+ 	myCustomWindowUPP = NewEventHandlerUPP(MyCustomWindowEventHandler);
+ 
+	RegisterToolboxObjectClass(CFSTR("com.myCompany.myApp.customWindow"),	// 2
+								NULL, GetEventTypeCount(eventList), eventList,
+                        		myCustomWindowUPP, NULL, &customWindow);
+ 
+	myCustomWindowSpec.defType = kWindowDefObjectClass; // 3
+	myCustomWindowSpec.u.classRef = customWindow; // 4
+ 
+	CreateCustomWindow (&myCustomWindowSpec,kMovableModalWindowClass,	// 5
+                    	kWindowStandardHandlerAttribute,
+                    	&theBounds,
+                    	&myWindow);
+                    
+  	_glue.init(argc, argv);
 
     _renderer = _glue.createRenderHandler();
     if(!_renderer)return false;    
     return true;	
+
 }
 
 void AquaGui::setTimeout(unsigned int timeout)
@@ -183,6 +199,7 @@
 #endif        
 }
 
+
 bool AquaGui::createWindow(const char* title, int width, int height)
 {
 	_glue.prepDrawingArea(_width, _height);

Index: aqua_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_glue.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- aqua_glue.h	23 Jul 2007 00:00:51 -0000	1.7
+++ aqua_glue.h	24 Jul 2007 00:04:39 -0000	1.8
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_glue.h,v 1.7 2007/07/23 00:00:51 nihilus Exp $ */
+/* $Id: aqua_glue.h,v 1.8 2007/07/24 00:04:39 nihilus Exp $ */
 
 #ifndef AQUA_GLUE_H
 #define AQUA_GLUE_H
@@ -34,7 +34,6 @@
   public:
     virtual ~AquaGlue() { }
     virtual bool init(int argc, char **argv[]) = 0;
-    virtual void setInvalidatedRegions(const InvalidatedRanges& /* ranges */) {}
     virtual bool prepDrawingArea(int width, int height) = 0;
     virtual render_handler* createRenderHandler() = 0;
     virtual void render() = 0;

Index: aqua_ogl_glue.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua_ogl_glue.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- aqua_ogl_glue.cpp	23 Jul 2007 01:13:10 -0000	1.14
+++ aqua_ogl_glue.cpp	24 Jul 2007 00:04:39 -0000	1.15
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua_ogl_glue.cpp,v 1.14 2007/07/23 01:13:10 nihilus Exp $ */
+/* $Id: aqua_ogl_glue.cpp,v 1.15 2007/07/24 00:04:39 nihilus Exp $ */
 
 
 #include "aqua_ogl_glue.h"
@@ -79,8 +79,9 @@
 
 bool AquaOglGlue::prepDrawingArea(int width, int height)
 {
+	GNASH_REPORT_FUNCTION;
     //SDL_SetVideoMode(width, height, _bpp, sdl_flags | SDL_OPENGL);
-
+#if 0
      // Turn on alpha blending.
     glEnable(GL_BLEND);
     glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
@@ -99,7 +100,7 @@
     // We don't need lighting effects
     glDisable(GL_LIGHTING);
     glPushAttrib (GL_ALL_ATTRIB_BITS);         
-
+#endif
 #ifdef FIX_I810_LOD_BIAS
     glTexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT, GL_TEXTURE_LOD_BIAS_EXT, _tex_lod_bias);
 #endif



From MAILER-DAEMON Mon Jul 23 20:08:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1ID7wo-0001aC-OT
	for mharc-gnash-commit@gnu.org; Mon, 23 Jul 2007 20:08:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1ID7wm-0001Zs-Vp
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 20:08:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1ID7wm-0001Zg-MH
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 20:08:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1ID7wm-0001Zd-7I
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 20:08:16 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1ID7wl-0001MB-UK
	for gnash-commit@gnu.org; Mon, 23 Jul 2007 20:08:16 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1ID7wl-0001RF-JF
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 00:08:15 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1ID7wl-0001RB-Dx
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 00:08:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1ID7wl-0001RB-Dx@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 24 Jul 2007 00:08:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 00:08:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/24 00:08:15

Modified files:
	gui            : aqua.cpp 

Log message:
	We, now we get a native OS X window... :D

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.17&r2=1.18

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- aqua.cpp	24 Jul 2007 00:04:39 -0000	1.17
+++ aqua.cpp	24 Jul 2007 00:08:15 -0000	1.18
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.17 2007/07/24 00:04:39 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.18 2007/07/24 00:08:15 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -128,6 +128,7 @@
 {
   	GNASH_REPORT_FUNCTION;
     ShowWindow(myWindow);
+    while(1);
     return true;
 }
 
@@ -164,11 +165,12 @@
                     	kWindowStandardHandlerAttribute,
                     	&theBounds,
                     	&myWindow);
-                    
+#if 0                    
   	_glue.init(argc, argv);
 
     _renderer = _glue.createRenderHandler();
     if(!_renderer)return false;    
+#endif    
     return true;
 
 }



From MAILER-DAEMON Tue Jul 24 07:09:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDIGN-0004tU-0d
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 07:09:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDIGL-0004tK-Bu
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 07:09:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDIGK-0004t8-70
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 07:09:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDIGK-0004t5-3I
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 07:09:08 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <tomasgroth@yahoo.dk>) id 1IDIGJ-0007m2-Ok
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 07:09:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <tomasgroth@yahoo.dk>) id 1IDIGJ-0005rX-1R
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:09:07 +0000
Received: from tgc by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <tgc@savannah.gnu.org>) id 1IDIGI-0005rU-Sd
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:09:06 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDIGI-0005rU-Sd@cvs.savannah.gnu.org>
From: Tomas Groth <tomasgroth@yahoo.dk>
Date: Tue, 24 Jul 2007 11:09:06 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/parser/video_stream_def.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 11:09:09 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Tomas Groth <tgc>	07/07/24 11:09:06

Modified files:
	.              : ChangeLog 
	server/parser  : video_stream_def.cpp 

Log message:
		* server/parser/video_stream_def.cpp: Convert width and height to
		  the correct format before using them. Fixes bug #20526 and #20440.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3801&r2=1.3802
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/video_stream_def.cpp?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3801
retrieving revision 1.3802
diff -u -b -r1.3801 -r1.3802
--- ChangeLog	23 Jul 2007 22:22:24 -0000	1.3801
+++ ChangeLog	24 Jul 2007 11:09:06 -0000	1.3802
@@ -1,3 +1,8 @@
+2007-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
+
+	* server/parser/video_stream_def.cpp: Convert width and height to
+	  the correct format before using them. Fixes bug #20526 and #20440.
+
 2007-07-23 Sandro Santilli <strk@keybit.net>
 
 	* backend/: sound_handler_gst.{cpp,h},

Index: server/parser/video_stream_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/video_stream_def.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/parser/video_stream_def.cpp	9 Jul 2007 13:33:30 -0000	1.9
+++ server/parser/video_stream_def.cpp	24 Jul 2007 11:09:06 -0000	1.10
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_def.cpp,v 1.9 2007/07/09 13:33:30 strk Exp $
+// $Id: video_stream_def.cpp,v 1.10 2007/07/24 11:09:06 tgc Exp $
 
 #include "video_stream_def.h"
 #include "video_stream_instance.h"
@@ -110,8 +110,8 @@
 #endif
 
 	decoder->createDecoder(
-				m_bound.width(), // m_width,
-				m_bound.height(), // m_height,
+				static_cast<int>(TWIPS_TO_PIXELS(m_bound.width())),// m_width,
+				static_cast<int>(TWIPS_TO_PIXELS(m_bound.height())), // m_height,
 				m_deblocking_flags,
 				m_smoothing_flags,
 				m_codec_id,



From MAILER-DAEMON Tue Jul 24 09:04:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDK4F-0000LA-B3
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 09:04:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDK4D-0000JC-JD
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:04:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDK4C-0000Hv-JM
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:04:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDK4C-0000Hg-Fc
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:04:44 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IDK4C-0000kp-5b
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:04:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IDK4A-0000Dr-U3
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:04:43 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IDK4A-0000Do-LC
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:04:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDK4A-0000Do-LC@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 24 Jul 2007 13:04:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 13:04:46 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/24 13:04:42

Modified files:
	gui            : aqua.cpp 

Log message:
	Added RunApplicationEventLoop()

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.18&r2=1.19

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- aqua.cpp	24 Jul 2007 00:08:15 -0000	1.18
+++ aqua.cpp	24 Jul 2007 13:04:42 -0000	1.19
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.18 2007/07/24 00:08:15 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.19 2007/07/24 13:04:42 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -128,7 +128,7 @@
 {
   	GNASH_REPORT_FUNCTION;
     ShowWindow(myWindow);
-    while(1);
+    RunApplicationEventLoop();
     return true;
 }
 
@@ -204,6 +204,9 @@
 
 bool AquaGui::createWindow(const char* title, int width, int height)
 {
+	GNASH_REPORT_FUNCTION;
+	theBounds.top = height;
+	theBounds.right = width;
 	_glue.prepDrawingArea(_width, _height);
     set_render_handler(_renderer);
     return true;



From MAILER-DAEMON Tue Jul 24 09:09:09 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDK8T-0002wr-Gg
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 09:09:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDK8S-0002wN-3U
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:09:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDK8Q-0002w3-PD
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:09:07 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDK8Q-0002w0-Il
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:09:06 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDK8Q-0001jn-6T
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:09:06 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDK8G-0000Iv-O0
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:08:56 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDK8G-0000Is-JA
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:08:56 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDK8G-0000Is-JA@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 13:08:56 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_object.cpp server/as_...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 13:09:08 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 13:08:56

Modified files:
	.              : ChangeLog 
	server         : as_object.cpp as_object.h sprite_instance.cpp 
	                 sprite_instance.h 
	testsuite/actionscript.all: enumerate.as 

Log message:
	        * server/as_object.{cpp,h}: Add a virtual enumerateNonProperties,
	          called by enumerateProperties, to allow for enumeration of non-proper
	          properties (in particular sprite childs).
	        * server/sprite_instance.{cpp,h}: Implement enumerateNonProperties to
	          enumerate child characters.
	        * testsuite/actionscript.all/enumerate.as: don't expect failures while
	          enumerating childs.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3802&r2=1.3803
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_object.cpp?cvsroot=gnash&r1=1.55&r2=1.56
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_object.h?cvsroot=gnash&r1=1.61&r2=1.62
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.300&r2=1.301
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.h?cvsroot=gnash&r1=1.126&r2=1.127
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/enumerate.as?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3802
retrieving revision 1.3803
diff -u -b -r1.3802 -r1.3803
--- ChangeLog	24 Jul 2007 11:09:06 -0000	1.3802
+++ ChangeLog	24 Jul 2007 13:08:55 -0000	1.3803
@@ -1,5 +1,15 @@
 2007-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
 
+	* server/as_object.{cpp,h}: Add a virtual enumerateNonProperties,
+	  called by enumerateProperties, to allow for enumeration of non-proper
+	  properties (in particular sprite childs).
+	* server/sprite_instance.{cpp,h}: Implement enumerateNonProperties to
+	  enumerate child characters.
+	* testsuite/actionscript.all/enumerate.as: don't expect failures while
+	  enumerating childs.
+
+2007-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
+
 	* server/parser/video_stream_def.cpp: Convert width and height to
 	  the correct format before using them. Fixes bug #20526 and #20440.
 

Index: server/as_object.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_object.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- server/as_object.cpp	1 Jul 2007 10:54:20 -0000	1.55
+++ server/as_object.cpp	24 Jul 2007 13:08:55 -0000	1.56
@@ -490,6 +490,8 @@
 {
 	assert( env.top(0).is_null() );
 
+	enumerateNonProperties(env);
+
 	// this set will keep track of visited objects,
 	// to avoid infinite loops
 	std::set<const as_object*> visited;

Index: server/as_object.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_object.h,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- server/as_object.h	18 Jul 2007 00:07:31 -0000	1.61
+++ server/as_object.h	24 Jul 2007 13:08:56 -0000	1.62
@@ -389,6 +389,18 @@
 	///
 	void enumerateProperties(as_environment& env) const;
 
+	/// Enumerate any non-proper properties
+	//
+	/// This function is called by enumerateProperties(as_environment&) 
+	/// to allow for enumeration of properties that are not "proper"
+	/// (not contained in the as_object PropertyList).
+	///
+	/// The default implementation adds nothing
+	///
+	virtual void enumerateNonProperties(as_environment&) const
+	{
+	}
+
 	/// \brief
 	/// Enumerate all non-hidden properties inserting
 	/// their name/value pair to the given map.

Index: server/sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.300
retrieving revision 1.301
diff -u -b -r1.300 -r1.301
--- server/sprite_instance.cpp	19 Jul 2007 15:08:38 -0000	1.300
+++ server/sprite_instance.cpp	24 Jul 2007 13:08:56 -0000	1.301
@@ -3984,6 +3984,29 @@
 	return enabled.to_bool();
 }
 
+class EnumerateVisitor {
+
+	as_environment& _env;
+
+public:
+	EnumerateVisitor(as_environment& env)
+		:
+		_env(env)
+	{}
+
+	void operator() (character* ch)
+	{
+		_env.push(ch->get_name());
+	}
+};
+
+void
+sprite_instance::enumerateNonProperties(as_environment& env) const
+{
+	EnumerateVisitor visitor(env);
+	m_display_list.visitAll(visitor);
+}
+
 #ifdef GNASH_USE_GC
 struct ReachableMarker {
 	void operator() (character *ch)

Index: server/sprite_instance.h
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.h,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -b -r1.126 -r1.127
--- server/sprite_instance.h	1 Jul 2007 10:54:24 -0000	1.126
+++ server/sprite_instance.h	24 Jul 2007 13:08:56 -0000	1.127
@@ -762,6 +762,12 @@
 	/// Set all variables in the given map with their corresponding values
 	DSOEXPORT void setVariables(VariableMap& vars);
 
+	/// Enumerate child characters
+	//
+	/// See as_object::enumerateNonProperties(as_environment&) for more info.
+	///
+	virtual void enumerateNonProperties(as_environment&) const;
+
 private:
 
 	/// \brief

Index: testsuite/actionscript.all/enumerate.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/enumerate.as,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/actionscript.all/enumerate.as	1 Jul 2007 10:54:42 -0000	1.5
+++ testsuite/actionscript.all/enumerate.as	24 Jul 2007 13:08:56 -0000	1.6
@@ -49,12 +49,12 @@
   } 
 
   // Test what we got in the above step. Tests show that characters were also got enumerated!
-  xcheck_equals(typeof(recorder['mc0']), 'movieclip');
-  xcheck_equals(typeof(recorder['mc1']), 'movieclip');
-  xcheck_equals(typeof(recorder['mc2']), 'movieclip');
-  xcheck_equals(typeof(recorder['mc3']), 'movieclip');  
-  xcheck_equals(typeof(recorder['mc4']), 'movieclip');
-  xcheck_equals(typeof(recorder['mc5']), 'movieclip');
+  check_equals(typeof(recorder['mc0']), 'movieclip');
+  check_equals(typeof(recorder['mc1']), 'movieclip');
+  check_equals(typeof(recorder['mc2']), 'movieclip');
+  check_equals(typeof(recorder['mc3']), 'movieclip');  
+  check_equals(typeof(recorder['mc4']), 'movieclip');
+  check_equals(typeof(recorder['mc5']), 'movieclip');
   check_equals(_root.hasOwnProperty('mc0'), false);
   check_equals(_root.hasOwnProperty('mc1'), false);
   check_equals(_root.hasOwnProperty('mc2'), false);



From MAILER-DAEMON Tue Jul 24 09:13:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDKCh-0004sJ-Ue
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 09:13:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDKCg-0004rl-83
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:13:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDKCf-0004rR-NA
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:13:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDKCf-0004rM-Cu
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:13:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDKCf-0002qw-0k
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:13:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDKCd-00012y-T2
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:13:28 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDKCd-00012p-Jl
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:13:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDKCd-00012p-Jl@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 13:13:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/case...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 13:13:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 13:13:27

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: case.as enumerate.as 

Log message:
	        * testsuite/actionscript.all/: case.as, enumerate.as: add rcsid.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3803&r2=1.3804
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/case.as?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/enumerate.as?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3803
retrieving revision 1.3804
diff -u -b -r1.3803 -r1.3804
--- ChangeLog	24 Jul 2007 13:08:55 -0000	1.3803
+++ ChangeLog	24 Jul 2007 13:13:26 -0000	1.3804
@@ -1,5 +1,6 @@
-2007-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
+2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/: case.as, enumerate.as: add rcsid.
 	* server/as_object.{cpp,h}: Add a virtual enumerateNonProperties,
 	  called by enumerateProperties, to allow for enumeration of non-proper
 	  properties (in particular sprite childs).

Index: testsuite/actionscript.all/case.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/case.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/actionscript.all/case.as	12 Jul 2007 02:33:27 -0000	1.4
+++ testsuite/actionscript.all/case.as	24 Jul 2007 13:13:27 -0000	1.5
@@ -22,6 +22,8 @@
  *  Test case sensitivity 
  */
 
+rcsid="$Id: case.as,v 1.5 2007/07/24 13:13:27 strk Exp $";
+
 #include "check.as"
 
 #if OUTPUT_VERSION <= 6
@@ -53,6 +55,7 @@
 };
 // check setproperty
 xcheck_equals(mC0._X, 100);
+xcheck_equals(mC0._x, 100);
 
 //
 // check _name and _target, they still keep the case

Index: testsuite/actionscript.all/enumerate.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/enumerate.as,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/actionscript.all/enumerate.as	24 Jul 2007 13:08:56 -0000	1.6
+++ testsuite/actionscript.all/enumerate.as	24 Jul 2007 13:13:27 -0000	1.7
@@ -22,6 +22,8 @@
  *  Test ActionEnumerate/2
  */
 
+rcsid="$Id: enumerate.as,v 1.7 2007/07/24 13:13:27 strk Exp $";
+
 #include "check.as"
 
 #if OUTPUT_VERSION > 5



From MAILER-DAEMON Tue Jul 24 09:25:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDKO3-0000rR-Ly
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 09:25:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDKO2-0000p1-Pz
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:25:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDKO1-0000l3-OB
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:25:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDKO1-0000kf-HV
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:25:13 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IDKO1-0005Zo-A5
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:25:13 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IDKNy-0002De-T1
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:25:11 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IDKNy-0002DZ-EU
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:25:10 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDKNy-0002DZ-EU@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 24 Jul 2007 13:25:10 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/dlist.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 13:25:15 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/24 13:25:10

Modified files:
	.              : ChangeLog 
	server         : dlist.cpp 

Log message:
	server/dlist.cpp: handle masks of certain malformed(?) movies correctly (see bug #20527)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3804&r2=1.3805
http://cvs.savannah.gnu.org/viewcvs/gnash/server/dlist.cpp?cvsroot=gnash&r1=1.73&r2=1.74

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3804
retrieving revision 1.3805
diff -u -b -r1.3804 -r1.3805
--- ChangeLog	24 Jul 2007 13:13:26 -0000	1.3804
+++ ChangeLog	24 Jul 2007 13:25:09 -0000	1.3805
@@ -1,3 +1,8 @@
+2007-07-24 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* server/dlist.cpp: handle masks of certain malformed(?) movies correctly
+	  (see bug #20527)	
+
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
 	* testsuite/actionscript.all/: case.as, enumerate.as: add rcsid.

Index: server/dlist.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/server/dlist.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -b -r1.73 -r1.74
--- server/dlist.cpp	1 Jul 2007 10:54:21 -0000	1.73
+++ server/dlist.cpp	24 Jul 2007 13:25:10 -0000	1.74
@@ -804,7 +804,8 @@
 		}
 
 		// check whether this object should become mask
-		if (ch->isMask())
+		// (see bug #20527 for the "&& !masked" condition)
+		if (ch->isMask() && !masked)
 		{
 			//log_msg(_("begin submit mask"));
 			render::begin_submit_mask();
@@ -815,7 +816,7 @@
 		// if this object should have become a mask,
 		// inform the renderer that it now has all
 		// information about it
-		if (ch->isMask())
+		if (ch->isMask() && !masked)
 		{
 			//log_msg(_("end submit mask"));
 			render::end_submit_mask();



From MAILER-DAEMON Tue Jul 24 09:41:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDKdu-0000tD-TO
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 09:41:38 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDKdt-0000sZ-BT
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:41:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDKds-0000s5-MK
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:41:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDKds-0000ru-HT
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:41:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IDKds-0001vC-75
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 09:41:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IDKdr-0002tz-1d
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:41:35 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IDKdq-0002tw-SV
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:41:34 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDKdq-0002tw-SV@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 24 Jul 2007 13:41:34 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 13:41:37 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/24 13:41:34

Modified files:
	gui            : aqua.cpp 

Log message:
	Fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- aqua.cpp	24 Jul 2007 13:04:42 -0000	1.19
+++ aqua.cpp	24 Jul 2007 13:41:34 -0000	1.20
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.19 2007/07/24 13:04:42 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.20 2007/07/24 13:41:34 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -42,11 +42,9 @@
 
 #include <Carbon/Carbon.h>
 
-ToolboxObjectClassRef customWindow;
 WindowRef myWindow;
-WindowDefSpec myCustomWindowSpec;
 EventHandlerUPP myCustomWindowUPP;
-Rect theBounds = {200,200,400,400};
+Rect theBounds;
  
 EventTypeSpec eventList[] = {{kEventClassWindow, kEventWindowDrawFrame},
                             {kEventClassWindow, kEventWindowHitTest}};
@@ -67,7 +65,7 @@
     Rect windBounds;
  
     whatHappened = GetEventKind (theEvent);
- 
+  	GNASH_REPORT_FUNCTION; 
     switch (whatHappened)
     {
         case kEventWindowInit:
@@ -127,6 +125,12 @@
 bool AquaGui::run()
 {
   	GNASH_REPORT_FUNCTION;
+  	CreateNewWindow (kDocumentWindowClass,
+                    	 kWindowStandardDocumentAttributes 
+                       | kWindowStandardHandlerAttribute
+                       | kWindowInWindowMenuAttribute,
+                    	&theBounds,
+                    	&myWindow);
     ShowWindow(myWindow);
     RunApplicationEventLoop();
     return true;
@@ -152,19 +156,6 @@
   
 	GNASH_REPORT_FUNCTION;
  	
- 	myCustomWindowUPP = NewEventHandlerUPP(MyCustomWindowEventHandler);
- 
-	RegisterToolboxObjectClass(CFSTR("com.myCompany.myApp.customWindow"),	// 2
-								NULL, GetEventTypeCount(eventList), eventList,
-                        		myCustomWindowUPP, NULL, &customWindow);
- 
-	myCustomWindowSpec.defType = kWindowDefObjectClass; // 3
-	myCustomWindowSpec.u.classRef = customWindow; // 4
- 
-	CreateCustomWindow (&myCustomWindowSpec,kMovableModalWindowClass,	// 5
-                    	kWindowStandardHandlerAttribute,
-                    	&theBounds,
-                    	&myWindow);
 #if 0                    
   	_glue.init(argc, argv);
 
@@ -205,8 +196,8 @@
 bool AquaGui::createWindow(const char* title, int width, int height)
 {
 	GNASH_REPORT_FUNCTION;
-	theBounds.top = height;
-	theBounds.right = width;
+
+	SetRect(&theBounds, 0, 0, width, height);
 	_glue.prepDrawingArea(_width, _height);
     set_render_handler(_renderer);
     return true;



From MAILER-DAEMON Tue Jul 24 10:02:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDKy8-0001u3-M0
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 10:02:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDKy6-0001sZ-Ma
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:02:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDKy5-0001rC-RA
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:02:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDKy5-0001qz-Fl
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:02:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IDKy5-0006Xi-0k
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:02:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IDKy4-0004hK-5A
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 14:02:28 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IDKy3-0004hH-Vz
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 14:02:28 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDKy3-0004hH-Vz@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 24 Jul 2007 14:02:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 14:02:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/24 14:02:27

Modified files:
	gui            : aqua.cpp 

Log message:
	Fixed title...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.20&r2=1.21

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- aqua.cpp	24 Jul 2007 13:41:34 -0000	1.20
+++ aqua.cpp	24 Jul 2007 14:02:27 -0000	1.21
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.20 2007/07/24 13:41:34 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.21 2007/07/24 14:02:27 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -125,12 +125,8 @@
 bool AquaGui::run()
 {
   	GNASH_REPORT_FUNCTION;
-  	CreateNewWindow (kDocumentWindowClass,
-                    	 kWindowStandardDocumentAttributes 
-                       | kWindowStandardHandlerAttribute
-                       | kWindowInWindowMenuAttribute,
-                    	&theBounds,
-                    	&myWindow);
+  	
+	RepositionWindow (myWindow, NULL, kWindowCascadeOnMainScreen);
     ShowWindow(myWindow);
     RunApplicationEventLoop();
     return true;
@@ -195,9 +191,23 @@
 
 bool AquaGui::createWindow(const char* title, int width, int height)
 {
+	CFStringRef	windowTitle;
+	OSStatus	result;
+	
 	GNASH_REPORT_FUNCTION;
 
 	SetRect(&theBounds, 0, 0, width, height);
+	CreateNewWindow (kDocumentWindowClass,
+                    	 kWindowStandardDocumentAttributes 
+                       | kWindowStandardHandlerAttribute
+                       | kWindowInWindowMenuAttribute,
+                    	&theBounds,
+                    	&myWindow);
+                    	
+	windowTitle = CFStringCreateWithCString(NULL, title, NULL);
+	result = SetWindowTitleWithCFString(myWindow, windowTitle);
+	CFRelease (windowTitle);                    	
+	
 	_glue.prepDrawingArea(_width, _height);
     set_render_handler(_renderer);
     return true;



From MAILER-DAEMON Tue Jul 24 10:18:14 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDLDK-0000ct-HL
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 10:18:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDLDI-0000af-J0
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:18:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDLDH-0000a4-KE
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:18:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDLDH-0000Zy-0Z
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:18:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IDLDG-0000rK-MW
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:18:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IDLDF-0006P8-GC
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 14:18:09 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IDLDF-0006P4-79
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 14:18:09 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDLDF-0006P4-79@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Tue, 24 Jul 2007 14:18:09 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 14:18:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/24 14:18:09

Modified files:
	gui            : aqua.cpp 

Log message:
	Clean-up

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.21&r2=1.22

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- aqua.cpp	24 Jul 2007 14:02:27 -0000	1.21
+++ aqua.cpp	24 Jul 2007 14:18:08 -0000	1.22
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.21 2007/07/24 14:02:27 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.22 2007/07/24 14:18:08 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -43,67 +43,6 @@
 #include <Carbon/Carbon.h>
 
 WindowRef myWindow;
-EventHandlerUPP myCustomWindowUPP;
-Rect theBounds;
- 
-EventTypeSpec eventList[] = {{kEventClassWindow, kEventWindowDrawFrame},
-                            {kEventClassWindow, kEventWindowHitTest}};
-
-static pascal OSStatus MyCustomWindowEventHandler (
-                                EventHandlerCallRef myHandler,
-                                EventRef theEvent, void* userData)
-{
- 
-    #pragma unused (myHandler,userData)
- 
-    OSStatus result = eventNotHandledErr;
- 
-    UInt32 whatHappened;
-    WindowDefPartCode where;
- 
-    GrafPtr thePort;
-    Rect windBounds;
- 
-    whatHappened = GetEventKind (theEvent);
-  	GNASH_REPORT_FUNCTION; 
-    switch (whatHappened)
-    {
-        case kEventWindowInit:
- 
-            GetEventParameter (theEvent, kEventParamDirectObject,
-            					typeWindowRef, NULL, sizeof(WindowRef),
-           						NULL, &myWindow);
-           						
-            SetThemeWindowBackground (myWindow, kThemeBrushMovableModalBackground, true);	// 1
-            result = noErr;
-            break;
- 
-        case kEventWindowDrawFrame:	// 2
- 
-            GetPort(&thePort);		// 3
-            GetPortBounds(thePort, &windBounds);
-
-            PenNormal();			// 4
-            PenSize (10,10);
-            FrameRect(&windBounds);	// 5
- 
-            result = noErr;
-            break;
- 
-        case kEventWindowHitTest:	// 6
- 
-            /* determine what part of the window the user hit */
-            where = wInDrag;
-            SetEventParameter (theEvent, kEventParamWindowDefPart,	// 7
-                                typeWindowDefPartCode,
-                                sizeof(WindowDefPartCode), &where);
- 
-            result = noErr;
-            break;
-    }
- 
-    return (result);
-}
 
 namespace gnash {
 	
@@ -126,7 +65,7 @@
 {
   	GNASH_REPORT_FUNCTION;
   	
-	RepositionWindow (myWindow, NULL, kWindowCascadeOnMainScreen);
+	RepositionWindow(myWindow, NULL, kWindowCascadeOnMainScreen);
     ShowWindow(myWindow);
     RunApplicationEventLoop();
     return true;
@@ -193,6 +132,7 @@
 {
 	CFStringRef	windowTitle;
 	OSStatus	result;
+	Rect		theBounds;
 	
 	GNASH_REPORT_FUNCTION;
 



From MAILER-DAEMON Tue Jul 24 10:19:40 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDLEi-0001Xy-0X
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 10:19:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDLEf-0001Ww-OA
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:19:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDLEc-0001Vf-Ux
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:19:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDLEc-0001VR-KH
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:19:34 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDLEb-000166-K4
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:19:34 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDLEa-0006RE-JT
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 14:19:32 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDLEa-0006RB-E1
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 14:19:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDLEa-0006RB-E1@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 14:19:32 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/gnash.h server/asobj/Glo...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 14:19:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 14:19:32

Modified files:
	.              : ChangeLog 
	server         : gnash.h 
	server/asobj   : Global.cpp Key.cpp Key.h 
	testsuite/actionscript.all: Makefile.am 
Added files:
	testsuite/actionscript.all: Key.as 

Log message:
	        * server/gnash.h: fix PGDN and PGUP key constants
	        * server/asobj/Global.cpp: initialize the "Key" class
	          even in SWF5.
	        * server/asobj/Key.cpp: use init_member rather then set_member
	          when initializing constants, reduce complexity of compile-time
	          switches for NEW_KEY_LISTENER_LIST_DESIGN, general cleanups.
	        * testsuite/actionscript.all/: Makefile.am, Key.as: new testcase
	          for Key object

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3805&r2=1.3806
http://cvs.savannah.gnu.org/viewcvs/gnash/server/gnash.h?cvsroot=gnash&r1=1.100&r2=1.101
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Global.cpp?cvsroot=gnash&r1=1.65&r2=1.66
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.cpp?cvsroot=gnash&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/Key.h?cvsroot=gnash&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Makefile.am?cvsroot=gnash&r1=1.74&r2=1.75
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Key.as?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3805
retrieving revision 1.3806
diff -u -b -r1.3805 -r1.3806
--- ChangeLog	24 Jul 2007 13:25:09 -0000	1.3805
+++ ChangeLog	24 Jul 2007 14:19:31 -0000	1.3806
@@ -1,3 +1,14 @@
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
+	* server/gnash.h: fix PGDN and PGUP key constants
+	* server/asobj/Global.cpp: initialize the "Key" class
+	  even in SWF5.
+	* server/asobj/Key.cpp: use init_member rather then set_member
+	  when initializing constants, reduce complexity of compile-time
+	  switches for NEW_KEY_LISTENER_LIST_DESIGN, general cleanups.
+	* testsuite/actionscript.all/: Makefile.am, Key.as: new testcase
+	  for Key object
+
 2007-07-24 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* server/dlist.cpp: handle masks of certain malformed(?) movies correctly

Index: server/gnash.h
===================================================================
RCS file: /sources/gnash/gnash/server/gnash.h,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -b -r1.100 -r1.101
--- server/gnash.h	11 Jul 2007 02:58:00 -0000	1.100
+++ server/gnash.h	24 Jul 2007 14:19:31 -0000	1.101
@@ -465,8 +465,8 @@
 	CAPSLOCK = 20,
 	ESCAPE = 27,
 	SPACE = 32,
-	PGDN,
-	PGUP,
+	PGUP = 33,
+	PGDN = 34,
 	END = 35,
 	HOME,
 	LEFT,

Index: server/asobj/Global.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Global.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- server/asobj/Global.cpp	3 Jul 2007 16:56:19 -0000	1.65
+++ server/asobj/Global.cpp	24 Jul 2007 14:19:31 -0000	1.66
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: Global.cpp,v 1.65 2007/07/03 16:56:19 strk Exp $ */
+/* $Id: Global.cpp,v 1.66 2007/07/24 14:19:31 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -424,6 +424,7 @@
 	number_class_init(*this); 
 	string_class_init(*this); 
 	array_class_init(*this);
+	key_class_init(*this); // Key
 	init_member("escape", new builtin_function(as_global_escape));
 	init_member("unescape", new builtin_function(as_global_unescape));
 	init_member("parseFloat", new builtin_function(as_global_parsefloat));
@@ -446,7 +447,6 @@
 	textsnapshot_class_init(*this);
 	init_member("LocalConnection", new builtin_function(localconnection_new));
 	init_member("TextFormat", new builtin_function(textformat_new));
-	key_class_init(*this); // Key
 	video_class_init(*this); // Video
 	camera_class_init(*this); // Camera
 	microphone_class_init(*this); // Microphone

Index: server/asobj/Key.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- server/asobj/Key.cpp	17 Jul 2007 06:04:22 -0000	1.29
+++ server/asobj/Key.cpp	24 Jul 2007 14:19:31 -0000	1.30
@@ -34,55 +34,6 @@
 
 namespace gnash {
 
-Key::Key() {
-}
-
-Key::~Key() {
-}
-
-
-void
-Key::addListener()
-{
-    log_unimpl (__FUNCTION__);
-}
-
-void
-Key::getAscii()
-{
-    log_unimpl (__FUNCTION__);
-}
-
-void
-Key::getCode()
-{
-    log_unimpl (__FUNCTION__);
-}
-
-void
-Key::isDown()
-{
-    log_unimpl (__FUNCTION__);
-}
-
-void
-Key::isToggled()
-{
-    log_unimpl (__FUNCTION__);
-}
-
-void
-Key::removeListener()
-{
-    log_unimpl (__FUNCTION__);
-}
-as_value
-key_new(const fn_call& /* fn */)
-{
-    key_as_object *key_obj = new key_as_object;
-    return as_value(key_obj);
-}
-
 /************************************************************************
  *
  * This has been moved from action.cpp, when things are clean
@@ -203,7 +154,9 @@
         target->unregisterUserHandler();
     }
 }
-#else
+
+#else // ndef NEW_KEY_LISTENER_LIST_DESIGN
+
 void
 key_as_object::add_listener(boost::intrusive_ptr<as_object> listener)
 {
@@ -235,61 +188,56 @@
         iter++;
     }
 }
-#endif
+#endif // ndef NEW_KEY_LISTENER_LIST_DESIGN
+
 int
 key_as_object::get_last_key_pressed() const
 {
     return m_last_key_pressed;
 }
 
-#ifdef NEW_KEY_LISTENER_LIST_DESIGN
+
 as_value
 key_add_listener(const fn_call& fn)
 {
+
+    boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
+
     if (fn.nargs < 1)
     {
-        log_error(_("key_add_listener needs one argument (the listener object)"));
+        IF_VERBOSE_ASCODING_ERRORS(
+        log_aserror(_("Key.addListener needs one argument (the listener object)"));
+        );
         return as_value();
     }
 
     boost::intrusive_ptr<as_object> toadd = fn.arg(0).to_object();
     if (toadd == NULL)
     {
-        log_error(_("key_add_listener passed a NULL object; ignored"));
+        IF_VERBOSE_ASCODING_ERRORS(
+        log_aserror(_("Key.addListener passed a NULL object; ignored"));
+        );
         return as_value();
     }
 
-    boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
+#ifdef NEW_KEY_LISTENER_LIST_DESIGN
 
     ko->add_listener(KeyListener(toadd, KeyListener::USER_DEF));
-    return as_value();
-}
-#else
-as_value
-key_add_listener(const fn_call& fn)
-{
-    if (fn.nargs < 1)
-    {
-        log_error(_("key_add_listener needs one argument (the listener object)"));
-        return as_value();
-    }
 
-    boost::intrusive_ptr<as_object> listener = fn.arg(0).to_object();
-    if (listener == NULL)
-    {
-        log_error(_("key_add_listener passed a NULL object; ignored"));
-        return as_value();
-    }
+#else // ndef NEW_KEY_LISTENER_LIST_DESIGN
 
-    boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
+    ko->add_listener(toadd);
+
+#endif // ndef NEW_KEY_LISTENER_LIST_DESIGN
 
-    ko->add_listener(listener);
     return as_value();
 }
-#endif
-as_value    key_get_ascii(const fn_call& fn)
+
+
 // Return the ascii value of the last key pressed.
 /// FIXME: return the ascii number(not string) of the last pressed key!
+static as_value   
+key_get_ascii(const fn_call& fn)
 {
     boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
 
@@ -303,97 +251,93 @@
     buf[0] = (char) code;
     buf[1] = 0;
 
+    log_unimpl("Key.getAscii partially implemented");
+
     return as_value(buf);
 }
 
-as_value    key_get_code(const fn_call& fn)
 // Returns the keycode of the last key pressed.
+static as_value   
+key_get_code(const fn_call& fn)
 {
     boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
 
     return as_value(ko->get_last_key_pressed());
 }
 
-as_value    key_is_down(const fn_call& fn)
-// Return true if the specified (first arg keycode) key is pressed.
+/// Return true if the specified (first arg keycode) key is pressed.
+static as_value   
+key_is_down(const fn_call& fn)
 {
+    boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
+
     if (fn.nargs < 1)
     {
-        log_error(_("key_is_down needs one argument (the key code)"));
+        IF_VERBOSE_ASCODING_ERRORS(
+        log_aserror(_("Key.isDown needs one argument (the key code)"));
+        );
         return as_value();
     }
 
-    int code = (int) fn.arg(0).to_number();
-
-    boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr);
+    int code = fn.arg(0).to_number<int>();
 
     return as_value(ko->is_key_down(code));
 }
 
-as_value    key_is_toggled(const fn_call& /* fn */)
-// Given the keycode of NUM_LOCK or CAPSLOCK, returns true if
-// the associated state is on.
+/// \brief
+/// Given the keycode of NUM_LOCK or CAPSLOCK, returns true if
+/// the associated state is on.
+///
+static as_value   
+key_is_toggled(const fn_call& /* fn */)
 {
+    log_unimpl("Key.isToggled");
     // @@ TODO
     return as_value(false);
 }
-#ifdef NEW_KEY_LISTENER_LIST_DESIGN
-as_value    
+
+/// Remove a previously-added listener.
+static as_value    
 key_remove_listener(const fn_call& fn)
-// Remove a previously-added listener.
 {
+
     if (fn.nargs < 1)
     {
-        log_error(_("key_remove_listener needs one argument (the listener object)"));
+        IF_VERBOSE_ASCODING_ERRORS(
+        log_aserror(_("Key.removeListener needs one argument (the listener object)"));
+        );
         return as_value();
     }
 
     boost::intrusive_ptr<as_object> toremove = fn.arg(0).to_object();
     if (toremove == NULL)
     {
-        log_error(_("key_remove_listener passed a NULL object; ignored"));
+        IF_VERBOSE_ASCODING_ERRORS(
+        log_aserror(_("Key.removeListener passed a NULL object; ignored"));
+        );
         return as_value();
     }
 
     boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr); 
 
     ko->remove_listener(toremove);
-    return as_value();
-}
-#else
-as_value    key_remove_listener(const fn_call& fn)
-// Remove a previously-added listener.
-{
-    if (fn.nargs < 1)
-    {
-        log_error(_("key_remove_listener needs one argument (the listener object)"));
-        return as_value();
-    }
-
-    boost::intrusive_ptr<as_object> listener = fn.arg(0).to_object();
-    if (listener == NULL)
-    {
-        log_error(_("key_remove_listener passed a NULL object; ignored"));
-        return as_value();
-    }
-
-    boost::intrusive_ptr<key_as_object> ko = ensureType<key_as_object>(fn.this_ptr); 
 
-    ko->remove_listener(listener);
     return as_value();
 }
-#endif
+
 void key_class_init(as_object& global)
 {
 
 //  GNASH_REPORT_FUNCTION;
+//
+    int swfversion = VM::get().getSWFVersion();
 
     // Create built-in key object.
     // NOTE: _global.Key *is* an object, not a constructor
     as_object*  key_obj = new key_as_object;
 
     // constants
-#define KEY_CONST(k) key_obj->set_member(#k, key::k)
+#define KEY_CONST(k) key_obj->init_member(#k, key::k)
     KEY_CONST(BACKSPACE);
     KEY_CONST(CAPSLOCK);
     KEY_CONST(CONTROL);
@@ -414,13 +358,17 @@
     KEY_CONST(UP);
 
     // methods
-    key_obj->init_member("addListener", new builtin_function(key_add_listener));
     key_obj->init_member("getAscii", new builtin_function(key_get_ascii));
     key_obj->init_member("getCode", new builtin_function(key_get_code));
     key_obj->init_member("isDown", new builtin_function(key_is_down));
     key_obj->init_member("isToggled", new builtin_function(key_is_toggled));
-    key_obj->init_member("removeListener", new builtin_function(key_remove_listener));
 
+    // These are only for SWF6 and up
+    if ( swfversion > 5 )
+    {
+        key_obj->init_member("addListener", new builtin_function(key_add_listener));
+        key_obj->init_member("removeListener", new builtin_function(key_remove_listener));
+    }
 
     global.init_member("Key", key_obj);
 }

Index: server/asobj/Key.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/Key.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- server/asobj/Key.h	17 Jul 2007 06:04:22 -0000	1.23
+++ server/asobj/Key.h	24 Jul 2007 14:19:32 -0000	1.24
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 // 
 
-/* $Id: Key.h,v 1.23 2007/07/17 06:04:22 zoulunkai Exp $ */
+/* $Id: Key.h,v 1.24 2007/07/24 14:19:32 strk Exp $ */
 
 #ifndef __KEY_H__
 #define __KEY_H__
@@ -43,53 +43,6 @@
 class KeyListener; //forward declaration
 #endif
 
-// TODO: drop this, probably unused
-class DSOEXPORT Key {
-public:
-    Key();
-    ~Key();
-   void addListener();
-   void getAscii();
-   void getCode();
-   void isDown();
-   void isToggled();
-   void removeListener();
-private:
-    bool _BACKSPACE;
-    bool _CAPSLOCK;
-    bool _CONTROL;
-    bool _DELETEKEY;
-    bool _DOWN;
-    bool _END;
-    bool _ENTER;
-    bool _ESCAPE;
-    bool _HOME;
-    bool _INSERT;
-    bool _LEFT;
-    bool _onKeyDown;
-    bool _onKeyUp;
-    bool _PGDN;
-    bool _PGUP;
-    bool _RIGHT;
-    bool _SHIFT;
-    bool _SPACE;
-    bool _TAB;
-    bool _UP;
-};
-
-//class key_as_object : public as_object
-//{
-//public:
-    //Key obj;
-//};
-
-as_value key_addlistener(const fn_call& fn);
-as_value key_getascii(const fn_call& fn);
-as_value key_getcode(const fn_call& fn);
-as_value key_isdown(const fn_call& fn);
-as_value key_istoggled(const fn_call& fn);
-as_value key_removelistener(const fn_call& fn);
-
 /************************************************************************
  *
  * This has been moved from action.cpp, when things are clean

Index: testsuite/actionscript.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Makefile.am,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -b -r1.74 -r1.75
--- testsuite/actionscript.all/Makefile.am	12 Jul 2007 01:51:06 -0000	1.74
+++ testsuite/actionscript.all/Makefile.am	24 Jul 2007 14:19:32 -0000	1.75
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.74 2007/07/12 01:51:06 zoulunkai Exp $
+# $Id: Makefile.am,v 1.75 2007/07/24 14:19:32 strk Exp $
 
 AUTOMAKE_OPTIONS = dejagnu
 
@@ -81,6 +81,7 @@
 	Date.as			\
 	Error.as		\
 	Global.as		\
+	Key.as			\
 	LoadVars.as		\
 	Math.as			\
 	Microphone.as		\

Index: testsuite/actionscript.all/Key.as
===================================================================
RCS file: testsuite/actionscript.all/Key.as
diff -N testsuite/actionscript.all/Key.as
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/actionscript.all/Key.as	24 Jul 2007 14:19:32 -0000	1.1
@@ -0,0 +1,87 @@
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+// Test case for Stage ActionScript class
+// compile this test case with Ming makeswf, and then
+// execute it like this gnash -1 -r 0 -v out.swf
+
+rcsid="$Id: Key.as,v 1.1 2007/07/24 14:19:32 strk Exp $";
+
+#include "check.as"
+
+check_equals (typeof(Key), 'object');
+
+var keyObj = new Key;
+check_equals (typeof(keyObj), 'undefined');
+
+check_equals(Key.__proto__, Object.prototype);
+
+// Methods
+#if OUTPUT_VERSION > 5
+check_equals(typeof(Key.addListener), 'function');
+check_equals(typeof(Key.removeListener), 'function');
+#else // OUTPUT_VERSION <= 5
+check_equals(typeof(Key.addListener), 'undefined');
+check_equals(typeof(Key.removeListener), 'undefined');
+#endif // OUTPUT_VERSION <= 5
+check_equals(typeof(Key.getAscii), 'function');
+check_equals(typeof(Key.getCode), 'function');
+check_equals(typeof(Key.isDown), 'function');
+check_equals(typeof(Key.isToggled), 'function');
+
+// Properties
+check_equals(typeof(Key.CAPSLOCK), 'number');
+check_equals(Key.CAPSLOCK, 20);
+check_equals(typeof(Key.TAB), 'number');
+check_equals(Key.TAB, 9);
+check_equals(typeof(Key.CONTROL), 'number');
+check_equals(Key.CONTROL, 17);
+check_equals(typeof(Key.SHIFT), 'number');
+check_equals(Key.SHIFT, 16);
+check_equals(typeof(Key.DELETEKEY), 'number');
+check_equals(Key.DELETEKEY, 46);
+check_equals(typeof(Key.INSERT), 'number');
+check_equals(Key.INSERT, 45);
+check_equals(typeof(Key.BACKSPACE), 'number');
+check_equals(Key.BACKSPACE, 8);
+check_equals(typeof(Key.LEFT), 'number');
+check_equals(Key.LEFT, 37);
+check_equals(typeof(Key.UP), 'number');
+check_equals(Key.UP, 38);
+check_equals(typeof(Key.RIGHT), 'number');
+check_equals(Key.RIGHT, 39);
+check_equals(typeof(Key.DOWN), 'number');
+check_equals(Key.DOWN, 40);
+check_equals(typeof(Key.HOME), 'number');
+check_equals(Key.HOME, 36);
+check_equals(typeof(Key.END), 'number');
+check_equals(Key.END, 35);
+check_equals(typeof(Key.ENTER), 'number');
+check_equals(Key.ENTER, 13);
+check_equals(typeof(Key.ESCAPE), 'number');
+check_equals(Key.ESCAPE, 27);
+check_equals(typeof(Key.PGDN), 'number');
+check_equals(Key.PGDN, 34);
+check_equals(typeof(Key.PGUP), 'number');
+check_equals(Key.PGUP, 33);
+check_equals(typeof(Key.SPACE), 'number');
+check_equals(Key.SPACE, 32);
+
+// Event handlers are:
+// onKeyUp
+// onKeyDown



From MAILER-DAEMON Tue Jul 24 10:31:54 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDLQY-0003yv-NI
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 10:31:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDLQX-0003yn-7a
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:31:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDLQW-0003yZ-F9
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:31:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDLQW-0003yW-AI
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:31:52 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IDLQV-0003jS-Ku
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:31:52 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6OEVkc00982;
	Tue, 24 Jul 2007 16:31:46 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Tue, 24 Jul 2007 16:31:46 +0200
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/dlist.cpp
Message-ID: <20070724143146.GB97908@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IDKNy-0002DZ-EU@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1IDKNy-0002DZ-EU@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 14:31:53 -0000

On Tue, Jul 24, 2007 at 01:25:10PM +0000, Udo Giacomozzi wrote:
> CVSROOT:	/cvsroot/gnash
> Module name:	gnash
> Changes by:	Udo Giacomozzi <udog>	07/07/24 13:25:10
> 
> Modified files:
> 	.              : ChangeLog 
> 	server         : dlist.cpp 
> 
> Log message:
> 	server/dlist.cpp: handle masks of certain malformed(?) movies correctly (see bug #20527)

  bool isMask() const { return m_clip_depth!=noClipDepthValue; }

Could it be we "forget" to set the clip depth to noClipDepthValue ?
We want to log_swferror on actually malformed SWF, or fix other bugs if the SWF is sane.
"hushing" the warning like this doesn't seem safe to me.

--strk;



From MAILER-DAEMON Tue Jul 24 10:44:16 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDLcW-0002d5-Gv
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 10:44:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDLcV-0002av-8H
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:44:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDLcU-0002Zj-C0
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:44:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDLcT-0002ZV-TX
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:44:13 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDLcT-0006PQ-Hx
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 10:44:13 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDLcS-0001rD-E4
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 14:44:12 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDLcS-0001r7-82
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 14:44:12 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDLcS-0001r7-82@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 14:44:12 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/movie_root.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 14:44:15 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 14:44:12

Modified files:
	.              : ChangeLog 
	server         : movie_root.cpp 

Log message:
	        * server/movie_root.cpp (notify_global_key): Key object
	          existed since SWF5, not SWF6. Partially fixes pacman-flash.swf.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3806&r2=1.3807
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.78&r2=1.79

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3806
retrieving revision 1.3807
diff -u -b -r1.3806 -r1.3807
--- ChangeLog	24 Jul 2007 14:19:31 -0000	1.3806
+++ ChangeLog	24 Jul 2007 14:44:11 -0000	1.3807
@@ -1,5 +1,7 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/movie_root.cpp (notify_global_key): Key object
+	  existed since SWF5, not SWF6. Fixes pacman-flash.swf.
 	* server/gnash.h: fix PGDN and PGUP key constants
 	* server/asobj/Global.cpp: initialize the "Key" class
 	  even in SWF5.

Index: server/movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- server/movie_root.cpp	17 Jul 2007 06:04:22 -0000	1.78
+++ server/movie_root.cpp	24 Jul 2007 14:44:12 -0000	1.79
@@ -253,9 +253,9 @@
 movie_root::notify_global_key(key::code k, bool down)
 {
 	VM& vm = VM::get();
-	if ( vm.getSWFVersion() < 6 )
+	if ( vm.getSWFVersion() < 5 )
 	{
-		// _global.Key was added in SWF6
+		// Key was added in SWF5
 		return NULL; 
 	}
 



From MAILER-DAEMON Tue Jul 24 11:01:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDLtD-0003m8-D3
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 11:01:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDLtB-0003lL-MU
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:01:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDLtA-0003l7-UY
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:01:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDLtA-0003l2-Ry
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:01:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDLtA-0001uy-D0
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:01:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDLt9-00057r-Ph
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:01:27 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDLt9-00057m-I4
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:01:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDLt9-00057m-I4@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 15:01:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server FreetypeGlyphsProvider.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 15:01:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 15:01:27

Modified files:
	server         : FreetypeGlyphsProvider.cpp 

Log message:
	Add debugging output for advance values

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/FreetypeGlyphsProvider.cpp?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: FreetypeGlyphsProvider.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/FreetypeGlyphsProvider.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- FreetypeGlyphsProvider.cpp	2 Jul 2007 23:20:14 -0000	1.6
+++ FreetypeGlyphsProvider.cpp	24 Jul 2007 15:01:27 -0000	1.7
@@ -404,6 +404,9 @@
 
 	// Scale advance by current scale, to match expected output coordinate space
 	advance = m_face->glyph->metrics.horiAdvance * scale;
+#ifdef GNASH_DEBUG_DEVICEFONTS 
+	log_debug("Advance value for glyph '%c' is %g (horiAdvance:%ld, scale:%g)", code, advance, m_face->glyph->metrics.horiAdvance, scale);
+#endif
 
 	assert(m_face->glyph->format == FT_GLYPH_FORMAT_OUTLINE);
 



From MAILER-DAEMON Tue Jul 24 11:40:58 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDMVN-0008Pn-Tx
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 11:40:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDMVM-0008O0-A4
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:40:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDMVL-0008M2-6h
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:40:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDMVL-0008Lu-3h
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:40:55 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDMVK-0002Uk-Ow
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 11:40:54 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDMVK-00085m-8K
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:40:54 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDMVK-00085d-2F
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:40:54 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDMVK-00085d-2F@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 15:40:54 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/font.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 15:40:56 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 15:40:54

Modified files:
	.              : ChangeLog 
	server         : font.cpp 

Log message:
	* server/font.cpp: more parser verbosity.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3807&r2=1.3808
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.cpp?cvsroot=gnash&r1=1.43&r2=1.44

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3807
retrieving revision 1.3808
diff -u -b -r1.3807 -r1.3808
--- ChangeLog	24 Jul 2007 14:44:11 -0000	1.3807
+++ ChangeLog	24 Jul 2007 15:40:53 -0000	1.3808
@@ -1,5 +1,6 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/font.cpp: more parser verbosity.
 	* server/movie_root.cpp (notify_global_key): Key object
 	  existed since SWF5, not SWF6. Fixes pacman-flash.swf.
 	* server/gnash.h: fix PGDN and PGUP key constants

Index: server/font.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/font.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- server/font.cpp	12 Jul 2007 23:05:56 -0000	1.43
+++ server/font.cpp	24 Jul 2007 15:40:53 -0000	1.44
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: font.cpp,v 1.43 2007/07/12 23:05:56 strk Exp $ */
+/* $Id: font.cpp,v 1.44 2007/07/24 15:40:53 strk Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -230,6 +230,17 @@
 		m_is_bold = (in->read_uint(1) != 0);
 		uint8_t	reserved = in->read_u8();
 
+		IF_VERBOSE_PARSE (
+		log_parse(" has_layout = %d", has_layout);
+		log_parse(" shift_jis_chars = %d", m_shift_jis_chars);
+		log_parse(" m_unicode_chars = %d", m_unicode_chars);
+		log_parse(" m_ansi_chars = %d", m_ansi_chars);
+		log_parse(" wide_offsets = %d", wide_offsets);
+		log_parse(" wide_codes = %d", m_wide_codes);
+		log_parse(" is_italic = %d", m_is_italic);
+		log_parse(" is_bold = %d", m_is_bold);
+		);
+
 		// Inhibit compiler warning.
 		reserved = reserved;
 



From MAILER-DAEMON Tue Jul 24 12:14:19 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDN1e-0007uQ-Vc
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 12:14:19 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDN1d-0007t4-Io
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:14:17 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDN1c-0007rD-17
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:14:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDN1b-0007r6-SQ
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:14:15 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDN1b-00021H-JN
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:14:15 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDN1Z-0004Zy-Ta
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 16:14:14 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDN1Z-0004Zs-Kc
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 16:14:13 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDN1Z-0004Zs-Kc@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 16:14:13 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Text...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 16:14:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 16:14:13

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: TextField.as 

Log message:
	        * testsuite/actionscript.all/TextField.as: more tests
	          for embedFont member.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3808&r2=1.3809
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.9&r2=1.10

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3808
retrieving revision 1.3809
diff -u -b -r1.3808 -r1.3809
--- ChangeLog	24 Jul 2007 15:40:53 -0000	1.3808
+++ ChangeLog	24 Jul 2007 16:14:12 -0000	1.3809
@@ -1,5 +1,10 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/TextField.as: more tests
+	  for embedFont member.
+
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
 	* server/font.cpp: more parser verbosity.
 	* server/movie_root.cpp (notify_global_key): Key object
 	  existed since SWF5, not SWF6. Fixes pacman-flash.swf.

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/TextField.as	22 Jul 2007 03:37:57 -0000	1.9
+++ testsuite/actionscript.all/TextField.as	24 Jul 2007 16:14:13 -0000	1.10
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.9 2007/07/22 03:37:57 strk Exp $";
+rcsid="$Id: TextField.as,v 1.10 2007/07/24 16:14:13 strk Exp $";
 
 #include "check.as"
 
@@ -180,6 +180,14 @@
 xcheck_equals(typeof(tf.embedFonts), 'boolean');
 check(!tf.hasOwnProperty('embedFonts'));
 xcheck_equals(tf.embedFonts, false);
+tf.embedFonts = true;
+check_equals(tf.embedFonts, true);
+tf.embedFonts = new Number(0); // will be converted to bool (true)
+xcheck_equals(typeof(tf.embedFonts), 'boolean');
+xcheck_equals(tf.embedFonts, true);
+tf.embedFonts = ""; // will be converted to bool (false);
+xcheck_equals(typeof(tf.embedFonts), 'boolean');
+xcheck_equals(tf.embedFonts, false);
 // TODO: do this test with really embedded fonts, in misc-ming.all/DefineEditTextTest.c
 
 // Check TextField._highquality



From MAILER-DAEMON Tue Jul 24 12:22:06 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDN9C-0008FY-7F
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 12:22:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDN9A-0008Dr-6J
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:22:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDN99-0008DN-Nq
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:22:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDN99-0008DB-Jq
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:22:03 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDN99-0003hC-9g
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:22:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDN98-0005Uk-Kz
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 16:22:02 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDN98-0005Uh-DH
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 16:22:02 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDN98-0005Uh-DH@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 16:22:02 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/DefineE...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 16:22:04 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 16:22:02

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: DefineEditTextTest-Runner.cpp 
	                         DefineEditTextTest.c 

Log message:
	        * testsuite/misc-ming.all/: DefineEditTextTest.c,
	          DefineEditTextTest-Runner.cpp: a small additional
	          test for runtime-changing the .embedFont member of a TextField.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3809&r2=1.3810
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.22&r2=1.23

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3809
retrieving revision 1.3810
diff -u -b -r1.3809 -r1.3810
--- ChangeLog	24 Jul 2007 16:14:12 -0000	1.3809
+++ ChangeLog	24 Jul 2007 16:22:01 -0000	1.3810
@@ -1,5 +1,8 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/misc-ming.all/: DefineEditTextTest.c,
+	  DefineEditTextTest-Runner.cpp: a small additional
+	  test for runtime-changing the .embedFont member of a TextField.
 	* testsuite/actionscript.all/TextField.as: more tests
 	  for embedFont member.
 

Index: testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp	23 Jul 2007 04:48:49 -0000	1.1
+++ testsuite/misc-ming.all/DefineEditTextTest-Runner.cpp	24 Jul 2007 16:22:02 -0000	1.2
@@ -46,7 +46,7 @@
 	sprite_instance* root = tester.getRootMovie();
 	assert(root);
 
-	check_equals(root->get_frame_count(), 4);
+	check_equals(root->get_frame_count(), 5);
 	check_equals(root->get_play_state(), sprite_instance::PLAY);
 	check_equals(root->get_current_frame(), 0);
 

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- testsuite/misc-ming.all/DefineEditTextTest.c	23 Jul 2007 04:48:49 -0000	1.22
+++ testsuite/misc-ming.all/DefineEditTextTest.c	24 Jul 2007 16:22:02 -0000	1.23
@@ -157,6 +157,9 @@
   }
   SWFMovie_nextFrame(mo); 
 
+  xcheck_equals(mo, "dtext1.embedFonts", "false");
+  xcheck_equals(mo, "etext1.embedFonts", "true");
+
   check_equals(mo, "dtext1.__proto__", "TextField.prototype");
   // checks after placing some swf defined TextField
   check(mo, "TextField.prototype.hasOwnProperty('background')");
@@ -240,8 +243,18 @@
   check_equals(mo, "dtext1._alpha", "0");
   check_equals(mo, "etext1._alpha", "0");
   check_equals(mo, "dtext2._alpha", "0");
+  SWFMovie_nextFrame(mo); 
+
+  add_actions(mo, "dtext1._alpha = 100; dtext1.embedFonts=true; dtext1.text = 'embedFonts';"
+                  "etext1._alpha = 100; etext1.embedFonts=false; etext1.text = '!embedFonts';"
+                  "dtext2._alpha = 100;" );
+
+  check_equals(mo, "dtext1.embedFonts", "true");
+  check_equals(mo, "etext1.embedFonts", "false");
+
   add_actions(mo, "totals(); stop();");
   SWFMovie_nextFrame(mo); 
+
   /*****************************************************
    *
    * Output movie



From MAILER-DAEMON Tue Jul 24 12:28:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDNFD-0004al-Vl
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 12:28:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDNFC-0004a2-El
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:28:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDNFA-0004Zi-To
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:28:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDNFA-0004Zc-N7
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:28:16 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IDNFA-0005bp-8X
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:28:16 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6OGSBU4007510;
	Tue, 24 Jul 2007 18:28:14 +0200
Date: Tue, 24 Jul 2007 18:28:10 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <9521550.20070724182810@nova-sys.net>
To: strk <strk@keybit.net>
Subject: Re[2]: [Gnash-commit] gnash ChangeLog server/dlist.cpp
In-Reply-To: <20070724143146.GB97908@keybit.net>
References: <E1IDKNy-0002DZ-EU@cvs.savannah.gnu.org>
	<20070724143146.GB97908@keybit.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 16:28:18 -0000

Hello strk,

Tuesday, July 24, 2007, 4:31:46 PM, you wrote:
s>   bool isMask() const { return m_clip_depth!=noClipDepthValue; }

noClipDepthValue still exists!? ;)


s> Could it be we "forget" to set the clip depth to noClipDepthValue ?

It's initialized in the constructor of "character".


s> We want to log_swferror on actually malformed SWF, or fix other
s> bugs if the SWF is sane. 
s> "hushing" the warning like this doesn't seem safe to me.

In first place this patch is used to make Gnash *stable*. A single
character can never be a double mask.

It's not certain if this is a Gnash bug (ie. we don't handle masks
correctly) or if the SWF is malformed. I get headache whenever I
try to analyze the masks code..

Udo




From MAILER-DAEMON Tue Jul 24 12:56:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDNgv-00065s-3Z
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 12:56:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDNgu-00065J-15
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:56:56 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDNgt-00064m-6d
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:56:55 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDNgt-00064e-17
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:56:55 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IDNgs-0003l1-AC
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 12:56:54 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6OGunX03756;
	Tue, 24 Jul 2007 18:56:49 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Tue, 24 Jul 2007 18:56:49 +0200
From: strk <strk@keybit.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/dlist.cpp
Message-ID: <20070724165649.GC97908@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IDKNy-0002DZ-EU@cvs.savannah.gnu.org>
	<20070724143146.GB97908@keybit.net>
	<9521550.20070724182810@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9521550.20070724182810@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 16:56:56 -0000

On Tue, Jul 24, 2007 at 06:28:10PM +0200, Udo Giacomozzi wrote:

> It's not certain if this is a Gnash bug (ie. we don't handle masks
> correctly) or if the SWF is malformed. I get headache whenever I
> try to analyze the masks code..

If I understand correctly, it seems that the SWF contains this layout:

	1 - mask layer up to depth 4
	2 - mask layer up to depth 4
	3 - ...

Basically, one mask seems to be inside the "masked" range (mask layer at depth 2
is masked by mask layer at depth 1).

We should try to reproduce this layout and analyze what the expected bahviour is.
IE: would second mask disable first one ?

--strk;



From MAILER-DAEMON Tue Jul 24 13:41:40 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDOOC-0000bQ-4M
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 13:41:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDOOA-0000aS-2B
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:41:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDOO9-0000Zv-5L
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:41:37 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDOO9-0000Zr-2g
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:41:37 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDOO8-00052c-M1
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:41:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDOO7-0001kT-Dp
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 17:41:35 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDOO7-0001kQ-59
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 17:41:35 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDOO7-0001kQ-59@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 17:41:35 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 17:41:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 17:41:34

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp edit_text_character.h 
	server/parser  : edit_text_character_def.h 
	testsuite/actionscript.all: TextField.as 
	testsuite/misc-ming.all: DefineEditTextTest.c 

Log message:
	        * server/parser/edit_text_character_def.h:
	          initialize m_use_outlines to true (so dynamically-created
	          textfields will use device fonts by default), provide
	          a getUseEmbeddedGlyphs() public method.
	        * server/edit_text_character.{cpp,h}: add an _embedFonts member
	          initialized using edit_text_character_def::getUseEmbeddedGlyphs(),
	          provide the "embedFonts" getter-setter for it.
	        * testsuite/: actionscript.all/TextField.as,
	          misc-ming.all/DefineEditTextTest.c: less failures.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3810&r2=1.3811
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.89&r2=1.90
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.40&r2=1.41
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/DefineEditTextTest.c?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3810
retrieving revision 1.3811
diff -u -b -r1.3810 -r1.3811
--- ChangeLog	24 Jul 2007 16:22:01 -0000	1.3810
+++ ChangeLog	24 Jul 2007 17:41:33 -0000	1.3811
@@ -1,5 +1,17 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/parser/edit_text_character_def.h:
+	  initialize m_use_outlines to true (so dynamically-created
+	  textfields will use device fonts by default), provide
+	  a getUseEmbeddedGlyphs() public method.
+	* server/edit_text_character.{cpp,h}: add an _embedFonts member
+	  initialized using edit_text_character_def::getUseEmbeddedGlyphs(),
+	  provide the "embedFonts" getter-setter for it.
+	* testsuite/: actionscript.all/TextField.as,
+	  misc-ming.all/DefineEditTextTest.c: less failures.
+
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/misc-ming.all/: DefineEditTextTest.c,
 	  DefineEditTextTest-Runner.cpp: a small additional
 	  test for runtime-changing the .embedFont member of a TextField.

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- server/edit_text_character.cpp	23 Jul 2007 14:02:55 -0000	1.89
+++ server/edit_text_character.cpp	24 Jul 2007 17:41:34 -0000	1.90
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.89 2007/07/23 14:02:55 udog Exp $ */
+/* $Id: edit_text_character.cpp,v 1.90 2007/07/24 17:41:34 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -68,6 +68,7 @@
 static as_value textfield_backgroundColor_getset(const fn_call& fn);
 static as_value textfield_borderColor_getset(const fn_call& fn);
 static as_value textfield_textColor_getset(const fn_call& fn);
+static as_value textfield_embedFonts_getset(const fn_call& fn);
 
 	namespace
 	{
@@ -325,6 +326,8 @@
 	o.init_property("borderColor", *getset, *getset);
 	getset = new builtin_function(textfield_textColor_getset);
 	o.init_property("textColor", *getset, *getset);
+	getset = new builtin_function(textfield_embedFonts_getset);
+	o.init_property("embedFonts", *getset, *getset);
 
 
 	if ( target_version  < 7 ) return;
@@ -385,7 +388,8 @@
 	_backgroundColor(255,255,255,255),
 	_drawBorder(m_def->has_border()),
 	_borderColor(0,0,0,255),
-	_textColor(m_def->get_text_color())
+	_textColor(m_def->get_text_color()),
+	_embedFont(m_def->getUseEmbeddedGlyphs())
 {
 	assert(parent);
 	assert(m_def);
@@ -1428,6 +1432,17 @@
 	}
 }
 
+void
+edit_text_character::setEmbedFonts(bool use)
+{
+	if ( _embedFont != use )
+	{
+		set_invalidated();
+		format_text();
+		_embedFont=use;
+	}
+}
+
 cxform	
 edit_text_character::get_world_cxform() const
 {
@@ -1537,6 +1552,23 @@
 	return as_value();
 }
 
+static as_value
+textfield_embedFonts_getset(const fn_call& fn)
+{
+	boost::intrusive_ptr<edit_text_character> ptr = ensureType<edit_text_character>(fn.this_ptr);
+
+	if ( fn.nargs == 0 ) // getter
+	{
+		return as_value(ptr->getEmbedFonts());
+	}
+	else // setter
+	{
+		ptr->setEmbedFonts( fn.arg(0).to_bool() );
+	}
+
+	return as_value();
+}
+
 } // namespace gnash
 
 

Index: server/edit_text_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -b -r1.40 -r1.41
--- server/edit_text_character.h	22 Jul 2007 12:27:53 -0000	1.40
+++ server/edit_text_character.h	24 Jul 2007 17:41:34 -0000	1.41
@@ -144,6 +144,19 @@
 	/// Set color of the text
 	void setTextColor(const rgba& col);
 
+	/// \brief
+	/// Return true if this TextField should use embedded font glyphs,
+	/// false if it should use device font glyphs
+	bool getEmbedFonts() const {
+		return _embedFont;
+	}
+
+	/// \brief
+	/// Set whether this TextField should use embedded font glyphs,
+	/// or use device font glyphs
+	//
+	/// @param use
+	void setEmbedFonts(bool use);
 
 private:
 
@@ -250,6 +263,8 @@
 
 	rgba _textColor;
 
+	bool _embedFont;
+
 protected:
 
 #ifdef GNASH_USE_GC

Index: server/parser/edit_text_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- server/parser/edit_text_character_def.h	22 Jul 2007 03:29:25 -0000	1.17
+++ server/parser/edit_text_character_def.h	24 Jul 2007 17:41:34 -0000	1.18
@@ -62,10 +62,14 @@
 		m_no_select(false),
 		m_border(false),
 		m_html(false),
-		m_use_outlines(false),
+		m_use_outlines(true), // For an SWF-defined textfield we'll read
+		                      // this from the tag. Dynamic textfields should
+		                      // use device fonts by default.
 		m_font_id(-1),
 		m_font(NULL),
-		m_text_height(1),
+		m_text_height(1), // TODO: initialize to a meaningful value (see sprite_instance::add_textfield)
+		                  //       and make sure get_font_height is not called for rendering purposes
+		                  //       (instead call a method of edit_text_character_def)
 		m_max_length(0),
 		m_alignment(ALIGN_LEFT),
 		m_left_margin(0),
@@ -237,6 +241,15 @@
 	/// Return true if HTML was allowed by definition
 	bool htmlAllowed() const { return m_html; }
 	
+	/// Return true if this character definition requested use of device fonts
+	// 
+	/// Used by edit_text_character constructor to set it's default.
+	///
+	bool getUseEmbeddedGlyphs() const 
+	{
+		return m_use_outlines;
+	}
+	
 protected:
 
 #ifdef GNASH_USE_GC
@@ -299,8 +312,11 @@
 
 
 	/// \brief
-	/// When true, use specified SWF internal font. 
-	/// Otherwise, renderer picks a default font
+	/// When true, use specified SWF internal font (embed fonts)
+	/// Otherwise, use specified device font (or a default one if m_font_id is -1)
+	///
+	/// Also known as USE_GLYPH (from Ming)
+	///
 	bool	m_use_outlines;
 
 	int	m_font_id;

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/TextField.as	24 Jul 2007 16:14:13 -0000	1.10
+++ testsuite/actionscript.all/TextField.as	24 Jul 2007 17:41:34 -0000	1.11
@@ -20,7 +20,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.10 2007/07/24 16:14:13 strk Exp $";
+rcsid="$Id: TextField.as,v 1.11 2007/07/24 17:41:34 strk Exp $";
 
 #include "check.as"
 
@@ -45,7 +45,7 @@
 xcheck( !TextField.prototype.hasOwnProperty('border') );
 xcheck( !TextField.prototype.hasOwnProperty('borderColor') );
 check( !TextField.prototype.hasOwnProperty('bottomScroll') );
-check( !TextField.prototype.hasOwnProperty('embedFonts') );
+xcheck( !TextField.prototype.hasOwnProperty('embedFonts') );
 check( !TextField.prototype.hasOwnProperty('hscroll') );
 check( !TextField.prototype.hasOwnProperty('html') );
 check( !TextField.prototype.hasOwnProperty('htmlText') );
@@ -114,7 +114,7 @@
 check( TextField.prototype.hasOwnProperty('border') );
 check( TextField.prototype.hasOwnProperty('borderColor') );
 xcheck( TextField.prototype.hasOwnProperty('bottomScroll') );
-xcheck( TextField.prototype.hasOwnProperty('embedFonts') );
+check( TextField.prototype.hasOwnProperty('embedFonts') );
 xcheck( TextField.prototype.hasOwnProperty('hscroll') );
 xcheck( TextField.prototype.hasOwnProperty('html') );
 xcheck( TextField.prototype.hasOwnProperty('htmlText') );
@@ -177,17 +177,17 @@
 
 // Check TextField.embedFonts
 
-xcheck_equals(typeof(tf.embedFonts), 'boolean');
+check_equals(typeof(tf.embedFonts), 'boolean');
 check(!tf.hasOwnProperty('embedFonts'));
 xcheck_equals(tf.embedFonts, false);
 tf.embedFonts = true;
 check_equals(tf.embedFonts, true);
 tf.embedFonts = new Number(0); // will be converted to bool (true)
-xcheck_equals(typeof(tf.embedFonts), 'boolean');
-xcheck_equals(tf.embedFonts, true);
+check_equals(typeof(tf.embedFonts), 'boolean');
+check_equals(tf.embedFonts, true);
 tf.embedFonts = ""; // will be converted to bool (false);
-xcheck_equals(typeof(tf.embedFonts), 'boolean');
-xcheck_equals(tf.embedFonts, false);
+check_equals(typeof(tf.embedFonts), 'boolean');
+check_equals(tf.embedFonts, false);
 // TODO: do this test with really embedded fonts, in misc-ming.all/DefineEditTextTest.c
 
 // Check TextField._highquality

Index: testsuite/misc-ming.all/DefineEditTextTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/DefineEditTextTest.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- testsuite/misc-ming.all/DefineEditTextTest.c	24 Jul 2007 16:22:02 -0000	1.23
+++ testsuite/misc-ming.all/DefineEditTextTest.c	24 Jul 2007 17:41:34 -0000	1.24
@@ -157,8 +157,8 @@
   }
   SWFMovie_nextFrame(mo); 
 
-  xcheck_equals(mo, "dtext1.embedFonts", "false");
-  xcheck_equals(mo, "etext1.embedFonts", "true");
+  check_equals(mo, "dtext1.embedFonts", "false");
+  check_equals(mo, "etext1.embedFonts", "true");
 
   check_equals(mo, "dtext1.__proto__", "TextField.prototype");
   // checks after placing some swf defined TextField



From MAILER-DAEMON Tue Jul 24 13:45:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDORW-0002Ib-U3
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 13:45:06 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDORU-0002IW-U3
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:45:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDORU-0002IK-Dh
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:45:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDORU-0002IG-9m
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:45:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDORT-0005ut-UV
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 13:45:04 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDORT-0002TC-Cv
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 17:45:03 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDORT-0002T5-6k
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 17:45:03 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDORT-0002T5-6k@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 17:45:03 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server font.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 17:45:05 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 17:45:03

Modified files:
	server         : font.h 

Log message:
	style: chop a tab, update copyright info

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.h?cvsroot=gnash&r1=1.26&r2=1.27

Patches:
Index: font.h
===================================================================
RCS file: /sources/gnash/gnash/server/font.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- font.h	11 Jul 2007 16:16:51 -0000	1.26
+++ font.h	24 Jul 2007 17:45:03 -0000	1.27
@@ -1,9 +1,23 @@
-// font.h	-- Thatcher Ulrich <tu@tulrich.com> 2003
+// font.h -- font class, for Gnash
+//
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
-// This source code has been donated to the Public Domain.  Do
-// whatever you want with it.
-
-// A font type for gnash.
+// Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
 
 #ifndef GNASH_FONT_H
@@ -25,19 +39,21 @@
 
 #include <map>
 
+// Forward declarations
 class tu_file;
 
 namespace gnash {
-	class movie;
-	class shape_character_def;
-	class stream;
 
+class movie;
+class shape_character_def;
+class stream;
 	
-	/// class for holding (cached) textured glyph info.
-	class texture_glyph // : public ref_counted
-	{
 
-	public:
+/// class for holding (cached) textured glyph info.
+class texture_glyph // : public ref_counted
+{
+
+public:
 
 		texture_glyph() : m_bitmap_info(NULL) {}
 
@@ -66,9 +82,9 @@
 #endif
 
 
-	// too early to make these private, fontlib directly accesses
-	// them, postponed.
-	//private:
+// too early to make these private, fontlib directly accesses
+// them, postponed.
+//private:
 
 		boost::intrusive_ptr<bitmap_info>	m_bitmap_info;
 
@@ -77,13 +93,13 @@
 		// the origin of the glyph box, in uv coords
 		point	m_uv_origin;
 
-	};
+};
 
-	// @@ replace this with a flat hash, or else a sorted array
-	//    (binary search)
-	class kerning_pair
-	{
-	public:
+// @@ replace this with a flat hash, or else a sorted array
+//    (binary search)
+class kerning_pair
+{
+public:
 		uint16_t	m_char0, m_char1;
 
 		bool	operator==(const kerning_pair& k) const
@@ -92,11 +108,11 @@
 		}
 
 
-	};
+};
 
-	// for use in standard algorithms
-	inline bool operator < (const kerning_pair& p1, const kerning_pair& p2)
-	{
+// for use in standard algorithms
+inline bool operator < (const kerning_pair& p1, const kerning_pair& p2)
+{
 		if ( p1.m_char0 < p2.m_char0 )
 		{
 			return true;
@@ -110,16 +126,16 @@
 		{
 			return false;
 		}
-	}
+}
 
-	/// \brief
-	/// A 'font' definition as read from SWF::DefineFont,
-	/// SWF::DefineFont2 or SWF::DefineFont3 tags.
-	/// Includes definitions from SWF::DefineFontInfo tags
-	///
-	class font : public resource
-	{
-	public:
+/// \brief
+/// A 'font' definition as read from SWF::DefineFont,
+/// SWF::DefineFont2 or SWF::DefineFont3 tags.
+/// Includes definitions from SWF::DefineFontInfo tags
+///
+class font : public resource
+{
+public:
 		font();
 
 		// Create a device-font only font, using the given name to find it
@@ -235,7 +251,7 @@
 		float	get_leading() const { return m_leading; }
 		float	get_descent() const { return m_descent; }
 
-	private:
+private:
 		void	read_code_table(stream* in);
 
 		/// Read a DefineFont2 or DefineFont3 tag
@@ -293,7 +309,7 @@
 
 		std::auto_ptr<FreetypeGlyphsProvider> _ftProvider;
 
-	protected:
+protected:
 
 #ifdef GNASH_USE_GC
 		/// Mark reachable resources (for the GC)
@@ -304,7 +320,7 @@
 		///
 		void markReachableResources() const;
 #endif // GNASH_USE_GC
-	};
+};
 
 
 }	// end namespace gnash



From MAILER-DAEMON Tue Jul 24 15:43:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDQIF-0001Qm-7d
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 15:43:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDQIB-0001P5-Ll
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:43:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDQI9-0001O3-OG
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:43:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDQI9-0001Nz-Ja
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:43:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDQI8-0007kE-Bg
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:43:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDQI7-0001jX-9m
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 19:43:31 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDQI7-0001jU-4H
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 19:43:31 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDQI7-0001jU-4H@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 19:43:31 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 19:43:35 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 19:43:31

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp edit_text_character.h 
	                 font.cpp font.h fontlib.cpp text.cpp text.h 
	server/parser  : text_character_def.cpp 

Log message:
	        * server/font.{cpp,h}: Refactor class definition
	          to maintain two separate glyph information sets:
	          one for device and one for embedded glyphs. Added
	          a parameter to glyph-related accessors and mutators
	          to specify which set to use.
	        * server/edit_text_character.{cpp,h}: update gnash::font
	          services call to select embedded or device fonts.
	        * server/fontlib.cpp: updated calls to gnash::font so
	          to always use embedded ones (mostly caching stuff, which
	          is currently disabled)
	        * server/text.{cpp,h}: add a boolean parameter to
	          display_glyph_records to specify wheter to use embedded
	          or device glyphs when fetching them from the font.
	        * server/parser/text_character_def.cpp: use embedded glyphs.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3811&r2=1.3812
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.90&r2=1.91
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.h?cvsroot=gnash&r1=1.41&r2=1.42
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.cpp?cvsroot=gnash&r1=1.44&r2=1.45
http://cvs.savannah.gnu.org/viewcvs/gnash/server/font.h?cvsroot=gnash&r1=1.27&r2=1.28
http://cvs.savannah.gnu.org/viewcvs/gnash/server/fontlib.cpp?cvsroot=gnash&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/gnash/server/text.cpp?cvsroot=gnash&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/gnash/server/text.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/text_character_def.cpp?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3811
retrieving revision 1.3812
diff -u -b -r1.3811 -r1.3812
--- ChangeLog	24 Jul 2007 17:41:33 -0000	1.3811
+++ ChangeLog	24 Jul 2007 19:43:29 -0000	1.3812
@@ -1,5 +1,22 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/font.{cpp,h}: Refactor class definition
+	  to maintain two separate glyph information sets:
+	  one for device and one for embedded glyphs. Added
+	  a parameter to glyph-related accessors and mutators
+	  to specify which set to use.
+	* server/edit_text_character.{cpp,h}: update gnash::font
+	  services call to select embedded or device fonts.
+	* server/fontlib.cpp: updated calls to gnash::font so
+	  to always use embedded ones (mostly caching stuff, which
+	  is currently disabled)
+	* server/text.{cpp,h}: add a boolean parameter to
+	  display_glyph_records to specify wheter to use embedded
+	  or device glyphs when fetching them from the font.
+	* server/parser/text_character_def.cpp: use embedded glyphs.
+
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
 	* server/parser/edit_text_character_def.h:
 	  initialize m_use_outlines to true (so dynamically-created
 	  textfields will use device fonts by default), provide

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -b -r1.90 -r1.91
--- server/edit_text_character.cpp	24 Jul 2007 17:41:34 -0000	1.90
+++ server/edit_text_character.cpp	24 Jul 2007 19:43:30 -0000	1.91
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.90 2007/07/24 17:41:34 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.91 2007/07/24 19:43:30 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -389,7 +389,7 @@
 	_drawBorder(m_def->has_border()),
 	_borderColor(0,0,0,255),
 	_textColor(m_def->get_text_color()),
-	_embedFont(m_def->getUseEmbeddedGlyphs())
+	_embedFonts(m_def->getUseEmbeddedGlyphs())
 {
 	assert(parent);
 	assert(m_def);
@@ -491,7 +491,7 @@
 	
 	
 	display_glyph_records(m, this, m_text_glyph_records,
-			      m_def->get_root_def());
+			      m_def->get_root_def(), _embedFonts);
 
 	if (m_has_focus)
 	{
@@ -944,7 +944,7 @@
 	float	leading = m_def->get_leading();
 	leading += _font->get_leading() * scale;
 
-	int	last_code = -1;
+	int	last_code = -1; // only used if _embedFonts
 	int	last_space_glyph = -1;
 	int	last_line_start_record = 0;
 
@@ -968,8 +968,11 @@
 
 		//uint16_t	code = m_text[j];
 
+		if ( _embedFonts )
+		{
 		x += _font->get_kerning_adjustment(last_code, (int) code) * scale;
 		last_code = static_cast<int>(code);
+		}
 
 		// Expand the bounding-box to the lower-right corner of each glyph as
 		// we generate it.
@@ -1060,7 +1063,7 @@
 
 		if (code == 9) // tab (ASCII HT)
 		{
-			int index = _font->get_glyph_index(32); // ascii SPACE
+			int index = _font->get_glyph_index(32, _embedFonts); // ascii SPACE
 			if ( index == -1 )
 			{
 				IF_VERBOSE_MALFORMED_SWF (
@@ -1075,7 +1078,7 @@
 			{
 				text_glyph_record::glyph_entry	ge;
 				ge.m_glyph_index = index;
-				ge.m_glyph_advance = scale * _font->get_advance(index);
+				ge.m_glyph_advance = scale * _font->get_advance(index, _embedFonts);
 
 				const int tabstop=8;
 				rec.m_glyphs.insert(rec.m_glyphs.end(), tabstop, ge);
@@ -1092,7 +1095,8 @@
 
 		{ // need a sub-scope to avoid the 'goto' in TAB handling to cross
 		  // initialization of the 'index' variable
-		int index = _font->get_glyph_index((uint16_t) code);
+		int index = _font->get_glyph_index((uint16_t) code, _embedFonts);
+
 		IF_VERBOSE_MALFORMED_SWF (
 		    if (index == -1)
 		    {
@@ -1103,22 +1107,34 @@
 			    if (s_log_count < 10)
 			    {
 				    s_log_count++;
-				    log_swferror(_("%s -- missing glyph for char %d. "
+		
+					if ( _embedFonts )
+					{
+				    log_swferror(_("%s -- missing embedded glyph for char %d. "
 						" Make sure character shapes for font %s are being exported "
 						"into your SWF file"),
 						__PRETTY_FUNCTION__,
 						code,
-						_font->get_name().c_str()
-				    );
+						_font->get_name().c_str());
+					}
+					else
+					{
+				    log_swferror(_("%s -- missing device glyph for char %d. "
+						" Maybe you don't have font '%s' installed in your system?"),
+						__PRETTY_FUNCTION__,
+						code,
+						_font->get_name().c_str());
+					}
 			    }
 
 			    // Drop through and use index == -1; this will display
 			    // using the empty-box glyph
 		    }
-		);
+		); // IF_VERBOSE_MALFORMED_SWF
+
 		text_glyph_record::glyph_entry	ge;
 		ge.m_glyph_index = index;
-		ge.m_glyph_advance = scale * _font->get_advance(index);
+		ge.m_glyph_advance = scale * _font->get_advance(index, _embedFonts);
 
 		rec.m_glyphs.push_back(ge);
 
@@ -1435,11 +1451,11 @@
 void
 edit_text_character::setEmbedFonts(bool use)
 {
-	if ( _embedFont != use )
+	if ( _embedFonts != use )
 	{
 		set_invalidated();
 		format_text();
-		_embedFont=use;
+		_embedFonts=use;
 	}
 }
 

Index: server/edit_text_character.h
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- server/edit_text_character.h	24 Jul 2007 17:41:34 -0000	1.41
+++ server/edit_text_character.h	24 Jul 2007 19:43:30 -0000	1.42
@@ -148,7 +148,7 @@
 	/// Return true if this TextField should use embedded font glyphs,
 	/// false if it should use device font glyphs
 	bool getEmbedFonts() const {
-		return _embedFont;
+		return _embedFonts;
 	}
 
 	/// \brief
@@ -263,7 +263,7 @@
 
 	rgba _textColor;
 
-	bool _embedFont;
+	bool _embedFonts;
 
 protected:
 

Index: server/font.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/font.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- server/font.cpp	24 Jul 2007 15:40:53 -0000	1.44
+++ server/font.cpp	24 Jul 2007 19:43:30 -0000	1.45
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: font.cpp,v 1.44 2007/07/24 15:40:53 strk Exp $ */
+/* $Id: font.cpp,v 1.45 2007/07/24 19:43:30 strk Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -33,6 +33,37 @@
 #include <utility> // for std::make_pair
 
 namespace gnash {
+
+GlyphInfo::GlyphInfo()
+	:
+	glyph(),
+	textureGlyph(),
+	advance(0)
+{}
+
+GlyphInfo::GlyphInfo(boost::intrusive_ptr<shape_character_def> nGlyph, float nAdvance)
+	:
+	glyph(nGlyph.get()),
+	textureGlyph(),
+	advance(nAdvance)
+{}
+
+GlyphInfo::GlyphInfo(const GlyphInfo& o)
+	:
+	glyph(o.glyph.get()),
+	textureGlyph(o.textureGlyph),
+	advance(o.advance)
+{}
+
+#ifdef GNASH_USE_GC
+void
+GlyphInfo::markReachableResources() const
+{
+	textureGlyph.markReachableResources();
+	if ( glyph ) glyph->setReachable();
+}
+#endif
+
 	font::font()
 		:
 		m_texture_glyph_nominal_size(96),	// Default is not important; gets overridden during glyph generation
@@ -75,62 +106,65 @@
 
 	font::~font()
 	{
-		m_glyphs.resize(0); // there's no need for this !
+		//m_glyphs.resize(0); // there's no need for this !
 	}
 
-	shape_character_def*	font::get_glyph(int index) const
+	shape_character_def*	font::get_glyph(int index, bool embedded) const
 	{
-		if (index >= 0 && index < (int) m_glyphs.size())
+		const GlyphInfoVect& lookup = embedded ? _embedGlyphTable : _deviceGlyphTable;
+
+		if (index >= 0 && (size_t)index < lookup.size())
 		{
-			return m_glyphs[index].get();
+			return lookup[index].glyph.get();
 		}
 		else
 		{
+			// TODO: should we log an error here ?
 			return NULL;
 		}
 	}
 
 
-	const texture_glyph&	font::get_texture_glyph(int glyph_index) const
-	// Return a pointer to a texture_glyph struct corresponding to
-	// the given glyph_index, if we have one.  
-	// Otherwise return a "dummy" texture_glyph.
+	const texture_glyph&	font::get_texture_glyph(int glyph_index, bool embedded) const
 	{
-		if (glyph_index < 0 || glyph_index >= (int) m_texture_glyphs.size())
+		const GlyphInfoVect& lookup = embedded ? _embedGlyphTable : _deviceGlyphTable;
+
+		if (glyph_index < 0 || (size_t)glyph_index >= lookup.size())
 		{
+			// TODO: should we log an error here ?
 			static const texture_glyph	s_dummy_texture_glyph;
 			return s_dummy_texture_glyph;
 		}
 
-		return m_texture_glyphs[glyph_index];
+		return lookup[glyph_index].textureGlyph;
 	}
 
 
-	void	font::add_texture_glyph(int glyph_index, const texture_glyph& glyph)
-	// Register some texture info for the glyph at the specified
-	// index.  The texture_glyph can be used later to render the
-	// glyph.
+	void	font::add_texture_glyph(int glyph_index, const texture_glyph& glyph, bool embedded)
 	{
-		assert(glyph_index >= 0 && glyph_index < (int) m_glyphs.size());
-		assert(m_texture_glyphs.size() == m_glyphs.size());
+		GlyphInfoVect& lookup = embedded ? _embedGlyphTable : _deviceGlyphTable;
+
+		assert(glyph_index >= 0 && (size_t)glyph_index < lookup.size());
 		assert(glyph.is_renderable());
 
-		assert(m_texture_glyphs[glyph_index].is_renderable() == false);
+		assert(lookup[glyph_index].textureGlyph.is_renderable() == false);
 
-		m_texture_glyphs[glyph_index] = glyph;
+		lookup[glyph_index].textureGlyph = glyph;
 	}
 
 
 	void	font::wipe_texture_glyphs()
-	// Delete all our texture glyph info.
 	{
-		assert(m_texture_glyphs.size() == m_glyphs.size());
 
 		// Replace with default (empty) glyph info.
 		texture_glyph	default_tg;
-		for (int i = 0, n = m_texture_glyphs.size(); i < n; i++)
+		for (size_t i = 0, n = _embedGlyphTable.size(); i < n; i++)
 		{
-			m_texture_glyphs[i] = default_tg;
+			_embedGlyphTable[i].textureGlyph = default_tg;
+		}
+		for (size_t i = 0, n = _deviceGlyphTable.size(); i < n; i++)
+		{
+			_deviceGlyphTable[i].textureGlyph = default_tg;
 		}
 	}
 
@@ -186,10 +220,7 @@
 			);
 		}
 
-		// TODO: use a structure to hold all of these ?
-		m_glyphs.resize(count);
-		m_texture_glyphs.resize(count);
-		m_advance_table.resize(count);
+		_embedGlyphTable.resize(count);
 
 		if (m->get_create_font_shapes() == DO_LOAD_FONT_SHAPES)
 		{
@@ -208,7 +239,7 @@
 				shape_character_def* s = new shape_character_def;
 				s->read(in, SWF::DEFINEFONT, false, m); 
 
-				m_glyphs[i] = s;
+				_embedGlyphTable[i].glyph = s;
 			}}
 		}
 	}
@@ -291,10 +322,7 @@
 			font_code_offset = in->read_u16();
 		}
 
-		// TODO: use a structure to hold all of these ?
-		m_glyphs.resize(glyph_count);
-		m_texture_glyphs.resize(glyph_count);
-		m_advance_table.resize(glyph_count);
+		_embedGlyphTable.resize(glyph_count);
 
 		if (m->get_create_font_shapes() == DO_LOAD_FONT_SHAPES)
 		{
@@ -317,7 +345,7 @@
 				shape_character_def* s = new shape_character_def;
 				s->read(in, SWF::DEFINEFONT2, false, m); // .. or DEFINEFONT3 actually..
 
-				m_glyphs[i] = s;
+				_embedGlyphTable[i].glyph = s;
 			}}
 
 			unsigned long current_position = in->get_position();
@@ -353,15 +381,15 @@
 			m_leading = (float) in->read_s16();
 			
 			// Advance table; i.e. how wide each character is.
-			for (int i = 0, n = m_advance_table.size(); i < n; i++)
+			for (int i = 0, n = _embedGlyphTable.size(); i < n; i++)
 			{
-				m_advance_table[i] = (float) in->read_s16();
+				_embedGlyphTable[i].advance = (float) in->read_s16();
 			}
 
 			// Bounds table.
 			//m_bounds_table.resize(m_glyphs.size());	// kill
 			rect	dummy_rect;
-			{for (int i = 0, n = m_glyphs.size(); i < n; i++)
+			{for (size_t i = 0, n = _embedGlyphTable.size(); i < n; i++)
 			{
 				//m_bounds_table[i].read(in);	// kill
 				dummy_rect.read(in);
@@ -450,42 +478,40 @@
 	}
 
 	void	font::read_code_table(stream* in)
-	// Read the table that maps from glyph indices to character
-	// codes.
 	{
 		IF_VERBOSE_PARSE (
 		log_parse(_("reading code table at offset %lu"), in->get_position());
 		);
 
-		assert(m_code_table.empty());
+		assert(_embedded_code_table.empty());
 
 		if (m_wide_codes)
 		{
 			// Code table is made of uint16_t's.
-			for (int i=0, n=m_glyphs.size(); i<n; ++i)
+			for (size_t i=0, n=_embedGlyphTable.size(); i<n; ++i)
 			{
 				uint16_t code = in->read_u16();
-				//m_code_table.add(code, i);
-				m_code_table.insert(std::make_pair(code, i));
+				_embedded_code_table.insert(std::make_pair(code, i));
 			}
 		}
 		else
 		{
 			// Code table is made of bytes.
-			for (int i=0, n=m_glyphs.size(); i<n; ++i)
+			for (int i=0, n=_embedGlyphTable.size(); i<n; ++i)
 			{
 				uint8_t code = in->read_u8();
-				//m_code_table.add(code, i);
-				m_code_table.insert(std::make_pair(code, i));
+				_embedded_code_table.insert(std::make_pair(code, i));
 			}
 		}
 	}
 
-	int	font::get_glyph_index(uint16_t code) const
+	int	font::get_glyph_index(uint16_t code, bool embedded) const
 	{
+		const code_table& ctable = embedded ? _embedded_code_table : _device_code_table;
+
 		int glyph_index = -1;
-		code_table::const_iterator it = m_code_table.find(code);
-		if ( it != m_code_table.end() )
+		code_table::const_iterator it = ctable.find(code);
+		if ( it != ctable.end() )
 		{
 			glyph_index = it->second;
 #if 0
@@ -496,7 +522,7 @@
 		}
 
 		// Try adding an os font, of possible
-		if ( _ftProvider.get() )
+		if ( ! embedded && _ftProvider.get() )
 		{
 			glyph_index = const_cast<font*>(this)->add_os_glyph(code);
 		}
@@ -506,32 +532,20 @@
 		return glyph_index;
 	}
 
-	float	font::get_advance(int glyph_index) const
+	float	font::get_advance(int glyph_index, bool embedded) const
 	{
-		if (glyph_index == -1)
+		const GlyphInfoVect& lookup = embedded ? _embedGlyphTable : _deviceGlyphTable;
+
+		if (glyph_index <= -1)
 		{
 			// Default advance.
 			return 512.0f;
 		}
 
-		if (m_advance_table.size() == 0)
-		{
-			// No layout info for this font!!!
-			static bool	s_logged = false;
-			if (s_logged == false)
-			{
-				s_logged = true;
-				IF_VERBOSE_MALFORMED_SWF(
-				log_swferror(_("empty advance table in font %s"), get_name().c_str());
-				);
-			}
-			return 0;
-		}
-
-		if (glyph_index < (int) m_advance_table.size())
+		if ((size_t)glyph_index < lookup.size())
 		{
 			assert(glyph_index >= 0);
-			return m_advance_table[glyph_index];
+			return lookup[glyph_index].advance;
 		}
 		else
 		{
@@ -607,7 +621,7 @@
 	font::add_os_glyph(uint16_t code)
 	{
 		assert ( _ftProvider.get() );
-		assert(m_code_table.find(code) == m_code_table.end());
+		assert(_device_code_table.find(code) == _device_code_table.end());
 
 		float advance;
 
@@ -624,19 +638,12 @@
 		}
 
 		// Find new glyph offset
-		int newOffset = m_texture_glyphs.size();
+		int newOffset = _deviceGlyphTable.size();
 
 		// Add the new glyph id
-		m_code_table[code] = newOffset;
+		_device_code_table[code] = newOffset;
 
-		// Add advance info
-		m_advance_table.push_back(advance);
-
-		// Add dummy textured glyph
-		m_texture_glyphs.push_back(texture_glyph());
-
-		// Add vector glyph
-		m_glyphs.push_back(sh);
+		_deviceGlyphTable.push_back(GlyphInfo(sh, advance));
 
 		testInvariant();
 
@@ -670,16 +677,16 @@
 void
 font::markReachableResources() const
 {
-	// Mark textured glyphs
-	for (TextureGlyphVect::const_iterator i=m_texture_glyphs.begin(), e=m_texture_glyphs.end(); i!=e; ++i)
+	// Mark embed glyphs (textured and vector)
+	for (GlyphInfoVect::const_iterator i=_embedGlyphTable.begin(), e=_embedGlyphTable.end(); i!=e; ++i)
 	{
 		i->markReachableResources();
 	}
 
-	// Mark vector glyphs
-	for (GlyphVect::const_iterator i=m_glyphs.begin(), e=m_glyphs.end(); i!=e; ++i)
+	// Mark device glyphs (textured and vector)
+	for (GlyphInfoVect::const_iterator i=_deviceGlyphTable.begin(), e=_deviceGlyphTable.end(); i!=e; ++i)
 	{
-		(*i)->setReachable();
+		i->markReachableResources();
 	}
 
 }

Index: server/font.h
===================================================================
RCS file: /sources/gnash/gnash/server/font.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- server/font.h	24 Jul 2007 17:45:03 -0000	1.27
+++ server/font.h	24 Jul 2007 19:43:30 -0000	1.28
@@ -128,6 +128,29 @@
 	}
 }
 
+/// Glyph info structure
+struct GlyphInfo
+{
+	// no glyph, default textured glyph, 0 advance
+	GlyphInfo();
+
+	// given glyph and advance, default textured glyph
+	GlyphInfo(boost::intrusive_ptr<shape_character_def> nGlyph, float nAdvance);
+
+	GlyphInfo(const GlyphInfo&);
+
+#ifdef GNASH_USE_GC
+	/// Mark any glyph and texture glyph resources as reachable
+	void markReachableResources() const;
+#endif
+
+	boost::intrusive_ptr<shape_character_def> glyph;
+
+	texture_glyph textureGlyph;
+
+	float advance;
+};
+
 /// \brief
 /// A 'font' definition as read from SWF::DefineFont,
 /// SWF::DefineFont2 or SWF::DefineFont3 tags.
@@ -148,6 +171,7 @@
 
 	void testInvariant()
 	{
+#if 0
 		assert(m_texture_glyphs.size() == m_glyphs.size());
 #ifndef NDEBUG
 		if (m_texture_glyphs.size() != m_advance_table.size())
@@ -159,28 +183,36 @@
 			abort();
 		}
 #endif
+#endif
 	}
 
-	/// Get number of glyphs defined for this font
+	/// Get number of embedded glyphs defined for this font
 	//
-	/// NOTE: for device fonts, this method will returns whatever
-	///       number of glyphs the cache happens to have at time of
-	///	  calls. Anyway, the cache will grow if any font user
-	///	  requests more glyphs... 
-	///	  
 	/// Callers of this function are:
 	///
 	///	- fontlib, for writing cache data (known to be not working anyway).
 	///	- edit_text_character, for validating the font (obsoleted too).
 	///
-	int	get_glyph_count() const
+	int	getEmbedGlyphCount() const
 	{
-		log_error("FIXME: font::get_glyph_count() is a deprecated method");
-		return m_glyphs.size();
+		return _embedGlyphTable.size();
 	}
 
-	/// Get glyph by index. Return NULL if out of range
-	shape_character_def*	get_glyph(int glyph_index) const;
+	/// Get glyph by index.
+	//
+	/// @param glyph_index
+	///	Index of the glyph. See get_glyph_index() to obtain by character code.
+	///
+	/// @param embedded
+	///	If true, queries the 'embedded' glyphs table, 
+	///	otherwise, looks in the 'device' font table.
+	///
+	/// @return
+	///	The glyph outline, or NULL if out of range.
+	///	(would be a programming error most likely)
+	///
+	///
+	shape_character_def*	get_glyph(int glyph_index, bool embedded) const;
 
 	/// Read a DefineFont or DefineFont2 tag from an SWF stream 
 	//
@@ -207,7 +239,7 @@
 	/// Read our cached data from the given stream.
 	void	input_cached_data(tu_file* in);
 
-	/// Delete all our texture glyph info.
+	/// Delete all our texture glyph info (both embedded and device)
 	void	wipe_texture_glyphs();
 
 	/// Get name of this font. Warning: can be NULL.
@@ -221,37 +253,88 @@
 	/// corresponding to the given glyph_index, if we
 	/// have one.  Otherwise return a "dummy" texture_glyph.
 	//
+	/// @param glyph_index
+	///	Index of the glyph. See get_glyph_index() to obtain by character code.
+	///
+	/// @param embedded
+	///	If true, queries the 'embedded' glyphs table, 
+	///	otherwise, looks in the 'device' font table.
+	///
 	/// Note: the "dummy" texture_glyph is a default-constructed
 	/// texture_glyph.
 	///
-	const texture_glyph&	get_texture_glyph(int glyph_index) const;
+	const texture_glyph& get_texture_glyph(int glyph_index, bool embedded) const;
 
 	/// \brief
 	/// Register some texture info for the glyph at the specified
 	/// index.  The texture_glyph can be used later to render the
 	/// glyph.
 	//
+	/// @param glyph_index
+	///	Index of the glyph. See get_glyph_index() to obtain by character code.
+	///
+	/// @param glyph
+	///	The textured glyph.
+	///
+	/// @param embedded
+	///	If true, queries the 'embedded' glyphs table, 
+	///	otherwise, looks in the 'device' font table.
+	///
 	/// TODO: deprecate this, probably only used by the caching mechanism
 	///
-	void	add_texture_glyph(int glyph_index, const texture_glyph& glyph);
+	void	add_texture_glyph(int glyph_index, const texture_glyph& glyph, bool embedded);
 
 	void	set_texture_glyph_nominal_size(int size) { m_texture_glyph_nominal_size = imax(1, size); }
 	int	get_texture_glyph_nominal_size() const { return m_texture_glyph_nominal_size; }
 
-	int	get_glyph_index(uint16_t code) const;
-	float	get_advance(int glyph_index) const;
+	/// Return the glyph index for a given character code
+	//
+	/// @param code
+	///	Character code to fetch the corresponding glyph index of.
+	///
+	/// @param embedded
+	///	If true, queries the 'embedded' glyphs table, 
+	///	otherwise, looks in the 'device' font table.
+	///
+	/// Note, when querying device fonts, glyphs are created on demand,
+	/// this never happens for embedded fonts, in which case an unexistent
+	/// glyph results in a return of -1
+	///
+	/// @return -1 if there is no glyph for the specified code or a valid
+	///         positive index to use in subsequent calls to other glyph-index-based
+	///	    methods.
+	///
+	int	get_glyph_index(uint16_t code, bool embedded) const;
+
+	/// Return the advance value for the given glyph index
+	//
+	/// @param glyph_index
+	///	Index of the glyph. See get_glyph_index() to obtain by character code.
+	///
+	/// @param embedded
+	///	If true, queries the 'embedded' glyphs table, 
+	///	otherwise, looks in the 'device' font table.
+	///
+	float	get_advance(int glyph_index, bool embedded) const;
 
 	/// \brief
 	/// Return the adjustment in advance between the given two
-	/// characters. 
+	/// characters (makes sense for embedded glyphs only)
 	//
 	/// Normally this will be 0
 	///
+	/// NOTE: don't call this method when willing to work with device
+	///       fonts, or you'll end up mixing information from device fonts
+	///	  with information from embedded fonts.
+	///
 	float	get_kerning_adjustment(int last_code, int this_code) const;
+
 	float	get_leading() const { return m_leading; }
 	float	get_descent() const { return m_descent; }
 
 private:
+
+	/// Read the table that maps from glyph indices to character codes.
 	void	read_code_table(stream* in);
 
 	/// Read a DefineFont2 or DefineFont3 tag
@@ -260,7 +343,7 @@
 	/// Read a DefineFont tag
 	void readDefineFont(stream* in, movie_definition* m);
 
-	/// Add a glyph from the os font.
+	/// Add a glyph from the os font into the device glyphs table
 	//
 	/// It is assumed that the glyph tables do NOT contain
 	/// an entry for the given code.
@@ -275,11 +358,13 @@
 	/// Return true on success, false on error
 	bool initDeviceFontProvider();
 
-	typedef std::vector< boost::intrusive_ptr<shape_character_def> > GlyphVect;
-	GlyphVect m_glyphs;
+	typedef std::vector< GlyphInfo > GlyphInfoVect;
+
+	// Embedded glyphs
+	GlyphInfoVect _embedGlyphTable;
 
-	typedef std::vector< texture_glyph > TextureGlyphVect;
-	TextureGlyphVect m_texture_glyphs;	// cached info, built by gnash_fontlib.
+	// Device glyphs
+	GlyphInfoVect _deviceGlyphTable;
 
 	int	m_texture_glyph_nominal_size;
 
@@ -296,13 +381,18 @@
 
 	// This table maps from Unicode character number to glyph index.
 	typedef std::map<uint16_t, int> code_table;
-	code_table m_code_table; 
+
+	/// Code to index table for embedded glyphs
+	code_table _embedded_code_table; 
+
+	/// Code to index table for device glyphs
+	code_table _device_code_table; 
 
 	// Layout stuff.
 	float	m_ascent;
 	float	m_descent;
 	float	m_leading;
-	std::vector<float>	m_advance_table;
+	//std::vector<float>	m_advance_table;
 
 	typedef std::map<kerning_pair, float> kernings_table;
 	kernings_table m_kerning_pairs;

Index: server/fontlib.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/fontlib.cpp,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- server/fontlib.cpp	13 Jul 2007 16:05:08 -0000	1.32
+++ server/fontlib.cpp	24 Jul 2007 19:43:30 -0000	1.33
@@ -5,7 +5,7 @@
 
 // A module to take care of all of gnash's loaded fonts.
 
-/* $Id: fontlib.cpp,v 1.32 2007/07/13 16:05:08 strk Exp $ */
+/* $Id: fontlib.cpp,v 1.33 2007/07/24 19:43:30 strk Exp $ */
 
 #include "container.h"
 #include "tu_file.h"
@@ -231,6 +231,9 @@
 
 	void	finish_current_texture(movie_definition* owner)
 	{
+
+		bool embed=true; // use embedded fonts
+
 		if (s_pending_glyphs.size() == 0)
 		{
 			return;
@@ -297,7 +300,7 @@
 			assert(pgi->m_source_font != NULL);
 
 			pgi->m_texture_glyph.set_bitmap_info(bi.get());
-			pgi->m_source_font->add_texture_glyph(pgi->m_glyph_index, pgi->m_texture_glyph);
+			pgi->m_source_font->add_texture_glyph(pgi->m_glyph_index, pgi->m_texture_glyph, embed);
 			//s_pending_glyphs[i]->set_bitmap_info(bi.get());
 			}
 		}
@@ -658,6 +661,8 @@
 	// fonts that use the same dummy glyph for many undefined
 	// characters.
 	{
+		bool embed=true; // use embedded fonts
+
 		const map<unsigned int, const rendered_glyph_info*>::const_iterator image =
 			image_hash.find(rgi.m_image_hash);
 
@@ -678,7 +683,7 @@
 				texture_glyph	identical_tg =
 					identical_image->
 					m_source_font->
-					get_texture_glyph(identical_image->m_glyph_index);
+					get_texture_glyph(identical_image->m_glyph_index, embed); 
 
 				if (identical_tg.is_renderable() == false)
 				{
@@ -720,7 +725,7 @@
 				{
 					// This image is already packed and has a valid bitmap_info.
 					// Push straight into our font.
-					rgi.m_source_font->add_texture_glyph(rgi.m_glyph_index, tg);
+					rgi.m_source_font->add_texture_glyph(rgi.m_glyph_index, tg, embed); // embed font only
 				}
 				else
 				{
@@ -904,13 +909,15 @@
 	{
 		assert(f);
 
+		bool embed=true; // use embedded fonts
+
 		f->set_texture_glyph_nominal_size(s_glyph_nominal_size);
 
-		for (int i = 0, n = f->get_glyph_count(); i < n; i++)
+		for (int i = 0, n = f->getEmbedGlyphCount(); i < n; i++)
 		{
-			if (f->get_texture_glyph(i).is_renderable() == false)
+			if (f->get_texture_glyph(i, embed).is_renderable() == false) 
 			{
-				shape_character_def*	sh = f->get_glyph(i);
+				shape_character_def*	sh = f->get_glyph(i, embed); 
 				if (sh)
 				{
 					rect	glyph_bounds;
@@ -1014,6 +1021,8 @@
 	{
 		assert(out);
 
+		bool embed=true; // use embedded glyphs
+
 		// skip number of bitmaps.
 		int	bitmaps_used_base = owner->get_bitmap_info_count();
 		int	size_pos = out->get_position();
@@ -1050,7 +1059,7 @@
 			out->write_le16(nominal_glyph_size);
 
 			// skip number of glyphs.
-			int ng = fonts[f]->get_glyph_count();
+			int ng = fonts[f]->getEmbedGlyphCount();
 			int ng_position = out->get_position();
 			out->write_le32(0);
 			
@@ -1059,7 +1068,7 @@
 			// save texture glyphs:
 			for (int g = 0; g < ng; g++)
 			{
-				const texture_glyph& tg = fonts[f]->get_texture_glyph(g);
+				const texture_glyph& tg = fonts[f]->get_texture_glyph(g, embed);
 				if (tg.is_renderable())
 				{
 					// save glyph index.
@@ -1113,6 +1122,8 @@
 	void	input_cached_data(tu_file* in, const std::vector<font*>& fonts, movie_definition* owner)
 	// Load a stream containing previously-saved font glyph textures.
 	{
+		bool embed=true; // use embedded glyphs
+
 		// load number of bitmaps.
 		int nb = in->read_le16();
 
@@ -1220,17 +1231,17 @@
 				tg.m_uv_origin.m_x = in->read_float32();
 				tg.m_uv_origin.m_y = in->read_float32();
 
-				if (glyph_index < 0 || glyph_index >= fnt->get_glyph_count())
+				if (glyph_index < 0 || glyph_index >= fnt->getEmbedGlyphCount())
 				{
 					// Cached data doesn't match this font!
 					log_error("invalid glyph index %d in cached font data, limit is %d, font is '%s'\n",
 						  glyph_index,
-						  fnt->get_glyph_count(),
+						  fnt->getEmbedGlyphCount(),
 						  fnt->get_name().c_str());
 				}
 				else
 				{
-					fnt->add_texture_glyph(glyph_index, tg);
+					fnt->add_texture_glyph(glyph_index, tg, embed);
 				}
 			}
 

Index: server/text.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/text.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- server/text.cpp	11 Jul 2007 16:52:47 -0000	1.33
+++ server/text.cpp	24 Jul 2007 19:43:30 -0000	1.34
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: text.cpp,v 1.33 2007/07/11 16:52:47 strk Exp $ */
+/* $Id: text.cpp,v 1.34 2007/07/24 19:43:30 strk Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -74,7 +74,7 @@
 		character* inst,
 		const std::vector<text_glyph_record>& records,
 		// root_def was used to resove fonts, now done at parse time
-		movie_definition* /*root_def*/)
+		movie_definition* /*root_def*/, bool useEmbeddedGlyphs)
 	{
 		//GNASH_REPORT_FUNCTION;
 		
@@ -181,8 +181,8 @@
 				}
 				else
 				{
-					const texture_glyph&	tg = fnt->get_texture_glyph(index);
-					shape_character_def*	glyph = fnt->get_glyph(index);
+					const texture_glyph&	tg = fnt->get_texture_glyph(index, useEmbeddedGlyphs);
+					shape_character_def*	glyph = fnt->get_glyph(index, useEmbeddedGlyphs);
 
 					if (tg.is_renderable()
 					    && (use_glyph_textures || glyph == NULL))

Index: server/text.h
===================================================================
RCS file: /sources/gnash/gnash/server/text.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- server/text.h	1 Jul 2007 10:54:25 -0000	1.17
+++ server/text.h	24 Jul 2007 19:43:30 -0000	1.18
@@ -84,11 +84,16 @@
 	};
 
 	/// Render the given glyph records.
+	//
+	/// @param useEmbeddedGlyphs
+	///	If true, the font will be queried for embedded glyphs.
+	///	Otherwise, the font will be queried for device fonts.
+	///
 	void display_glyph_records(
 		const matrix& this_mat,
 		character* inst,
 		const std::vector<text_glyph_record>& records,
-		movie_definition* root_def);
+		movie_definition* root_def, bool useEmbeddedGlyphs);
 
 } // namespace gnash
 

Index: server/parser/text_character_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/text_character_def.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- server/parser/text_character_def.cpp	18 Apr 2007 14:07:32 -0000	1.3
+++ server/parser/text_character_def.cpp	24 Jul 2007 19:43:30 -0000	1.4
@@ -148,8 +148,11 @@
 void text_character_def::display(character* inst)
 {
 //	GNASH_REPORT_FUNCTION;
+
+	bool useEmbeddedGlyphs = true;
+
 	display_glyph_records(m_matrix, inst,
-		m_text_glyph_records, m_root_def);
+		m_text_glyph_records, m_root_def, useEmbeddedGlyphs); 
 }
 
 }	// end namespace gnash



From MAILER-DAEMON Tue Jul 24 15:51:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDQPr-00066K-6F
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 15:51:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDQPp-000668-En
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:51:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDQPp-00065b-3v
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:51:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDQPo-00065F-Rw
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:51:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDQPo-0000Lg-FG
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:51:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDQPn-0002mz-Vt
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 19:51:28 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDQPn-0002mv-RY
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 19:51:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDQPn-0002mv-RY@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 19:51:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 19:51:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 19:51:27

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	        * server/edit_text_character.cpp (setEmbedFonts):
	          Set _embedFonts *before* calling format_text, or
	          glyph indexes will be messed up.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3812&r2=1.3813
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.91&r2=1.92

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3812
retrieving revision 1.3813
diff -u -b -r1.3812 -r1.3813
--- ChangeLog	24 Jul 2007 19:43:29 -0000	1.3812
+++ ChangeLog	24 Jul 2007 19:51:27 -0000	1.3813
@@ -1,5 +1,11 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/edit_text_character.cpp (setEmbedFonts):
+	  Set _embedFonts *before* calling format_text, or
+	  glyph indexes will be messed up.
+
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
 	* server/font.{cpp,h}: Refactor class definition
 	  to maintain two separate glyph information sets:
 	  one for device and one for embedded glyphs. Added

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -b -r1.91 -r1.92
--- server/edit_text_character.cpp	24 Jul 2007 19:43:30 -0000	1.91
+++ server/edit_text_character.cpp	24 Jul 2007 19:51:27 -0000	1.92
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.91 2007/07/24 19:43:30 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.92 2007/07/24 19:51:27 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1454,8 +1454,8 @@
 	if ( _embedFonts != use )
 	{
 		set_invalidated();
-		format_text();
 		_embedFonts=use;
+		format_text();
 	}
 }
 



From MAILER-DAEMON Tue Jul 24 15:57:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDQVP-0008Dd-9o
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 15:57:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDQVO-0008D5-3x
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:57:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDQVN-0008Cc-0O
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:57:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDQVM-0008CX-Sj
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:57:12 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDQVM-0001QV-F1
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 15:57:12 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDQVL-0002sF-9Q
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 19:57:11 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDQVL-0002sC-5V
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 19:57:11 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDQVL-0002sC-5V@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 19:57:11 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/text.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 19:57:14 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 19:57:11

Modified files:
	.              : ChangeLog 
	server         : text.cpp 

Log message:
	        * server/text.cpp (display_glyph_records): don't render invalid glyphs
	          as empty boxes, unless a DRAW_INVALID_GLYPHS_AS_EMPTY_BOXES macro
	          is defined.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3813&r2=1.3814
http://cvs.savannah.gnu.org/viewcvs/gnash/server/text.cpp?cvsroot=gnash&r1=1.34&r2=1.35

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3813
retrieving revision 1.3814
diff -u -b -r1.3813 -r1.3814
--- ChangeLog	24 Jul 2007 19:51:27 -0000	1.3813
+++ ChangeLog	24 Jul 2007 19:57:10 -0000	1.3814
@@ -1,5 +1,8 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/text.cpp (display_glyph_records): don't render invalid glyphs
+	  as empty boxes, unless a DRAW_INVALID_GLYPHS_AS_EMPTY_BOXES macro
+	  is defined.
 	* server/edit_text_character.cpp (setEmbedFonts):
 	  Set _embedFonts *before* calling format_text, or
 	  glyph indexes will be messed up.

Index: server/text.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/text.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- server/text.cpp	24 Jul 2007 19:43:30 -0000	1.34
+++ server/text.cpp	24 Jul 2007 19:57:10 -0000	1.35
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: text.cpp,v 1.34 2007/07/24 19:43:30 strk Exp $ */
+/* $Id: text.cpp,v 1.35 2007/07/24 19:57:10 strk Exp $ */
 
 // Based on the public domain work of Thatcher Ulrich <tu@tulrich.com> 2003
 
@@ -38,6 +38,11 @@
 // for text rendering
 //#define GNASH_DEBUG_TEXT_RENDERING 1
 
+// Define the following macro to have invalid glyphs drawn as
+// empty boxes
+//#define DRAW_INVALID_GLYPHS_AS_EMPTY_BOXES 1
+
+
 namespace gnash {
 
 	void text_style::resolve_font(movie_definition* root_def) const
@@ -161,8 +166,10 @@
 				if (index == -1)
 				{
 #ifdef GNASH_DEBUG_TEXT_RENDERING
-log_error(_("invalid glyph, render as an empty box"));
+log_error(_("invalid glyph (-1)"));
 #endif
+
+#ifdef DRAW_INVALID_GLYPHS_AS_EMPTY_BOXES
 					render::set_matrix(mat);
 
 					// The EM square is 1024x1024, but usually isn't filled up.
@@ -178,6 +185,8 @@
 						 32,   32
 					};
 					render::draw_line_strip(s_empty_char_box, 5, transformed_color);  
+#endif
+
 				}
 				else
 				{



From MAILER-DAEMON Tue Jul 24 16:53:16 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDRNc-0007RW-4U
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 16:53:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDRNa-0007RR-36
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 16:53:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDRNW-0007RE-Pb
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 16:53:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDRNW-0007R9-JI
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 16:53:10 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDRNV-0002yt-AY
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 16:53:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDRNO-0007sQ-Dn
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 20:53:02 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDRNO-0007sN-AW
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 20:53:02 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDRNO-0007sN-AW@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 20:53:02 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/SoundFfmpeg.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 20:53:14 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 20:53:02

Modified files:
	.              : ChangeLog 
	server/asobj   : SoundFfmpeg.h 

Log message:
	        * server/asobj/SoundFfmpeg.h: Provide a constructor
	          for proper initialization of members.
	          YOU CAN NOT ASSUME POINTERS WILL BE INITIALIZED TO NULL.
	          Fixes bug #20578.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3814&r2=1.3815
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundFfmpeg.h?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3814
retrieving revision 1.3815
diff -u -b -r1.3814 -r1.3815
--- ChangeLog	24 Jul 2007 19:57:10 -0000	1.3814
+++ ChangeLog	24 Jul 2007 20:53:01 -0000	1.3815
@@ -1,5 +1,12 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/asobj/SoundFfmpeg.h: Provide a constructor
+	  for proper initialization of members.
+	  YOU CAN NOT ASSUME POINTERS WILL BE INITIALIZED TO NULL.
+	  Fixes bug #20578.
+
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
 	* server/text.cpp (display_glyph_records): don't render invalid glyphs
 	  as empty boxes, unless a DRAW_INVALID_GLYPHS_AS_EMPTY_BOXES macro
 	  is defined.

Index: server/asobj/SoundFfmpeg.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundFfmpeg.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- server/asobj/SoundFfmpeg.h	17 Jul 2007 22:05:03 -0000	1.8
+++ server/asobj/SoundFfmpeg.h	24 Jul 2007 20:53:02 -0000	1.9
@@ -44,6 +44,24 @@
 class SoundFfmpeg : public Sound {
 public:
 
+	SoundFfmpeg()
+		: // REMEMBER TO ALWAYS INITIALIZE ALL MEMBERS !
+		audioCodecCtx(NULL),
+		audioStream(NULL),
+		formatCtx(NULL),
+		audioFrame(NULL),
+		resampleCtx(NULL),
+		setupThread(NULL),
+		lock(NULL), 
+		inputPos(0),
+		ByteIOCxt(), // ?
+		audioIndex(-1),
+		leftOverData(NULL),
+		leftOverSize(0),
+		isAttached(false),
+		remainingLoops(0)
+	{}
+
 	~SoundFfmpeg();
 
 	void loadSound(std::string file, bool streaming);
@@ -72,6 +90,8 @@
 
 	boost::thread *setupThread;
 	boost::mutex setupMutex;
+
+	// TODO: it makes NO SENSE for a scoped_lock to be allocated on the heap !
 	boost::mutex::scoped_lock *lock;
 
 	long inputPos;



From MAILER-DAEMON Tue Jul 24 17:58:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDSP7-0005AH-QA
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 17:58:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDSP7-0005AC-AG
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 17:58:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDSP5-0005A0-Bz
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 17:58:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDSP5-00059x-6K
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 17:58:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDSP4-0006rL-Q4
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 17:58:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDSOy-0003MN-0k
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:58:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDSOx-0003MK-Si
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:58:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDSOx-0003MK-Si@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 21:58:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 21:58:53 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 21:58:43

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	        * server/edit_text_character.cpp: add a
	          PP_COMPATIBLE_DEVICE_FONT_HANDLING macro to mimic
	          limitation of proprietary player in handling textfields
	          using device fonts. See DeviceFonts wiki page for more
	          information. (The macro defaults to being defined)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3815&r2=1.3816
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.92&r2=1.93

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3815
retrieving revision 1.3816
diff -u -b -r1.3815 -r1.3816
--- ChangeLog	24 Jul 2007 20:53:01 -0000	1.3815
+++ ChangeLog	24 Jul 2007 21:58:43 -0000	1.3816
@@ -1,5 +1,13 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/edit_text_character.cpp: add a
+	  PP_COMPATIBLE_DEVICE_FONT_HANDLING macro to mimic
+	  limitation of proprietary player in handling textfields
+	  using device fonts. See DeviceFonts wiki page for more
+	  information. (The macro defaults to being defined)
+
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
 	* server/asobj/SoundFfmpeg.h: Provide a constructor
 	  for proper initialization of members.
 	  YOU CAN NOT ASSUME POINTERS WILL BE INITIALIZED TO NULL.

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -b -r1.92 -r1.93
--- server/edit_text_character.cpp	24 Jul 2007 19:51:27 -0000	1.92
+++ server/edit_text_character.cpp	24 Jul 2007 21:58:43 -0000	1.93
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.92 2007/07/24 19:51:27 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.93 2007/07/24 21:58:43 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -44,6 +44,11 @@
 // Text fields have a fixed 2 pixel padding for each side (regardless of border)
 #define PADDING_TWIPS 40.0f
 
+// Define the following macro to maintain compatibility with the proprietary
+// player when it comes to opacity of textfields using device fonts.
+// See http://gnashdev.org/wiki/index.php/DeviceFonts#Differences_with_proprietary_player_implementation
+#define PP_COMPATIBLE_DEVICE_FONT_HANDLING 1
+
 namespace gnash {
 
 // Forward declarations
@@ -1464,7 +1469,9 @@
 {
   cxform cf = character::get_world_cxform();
   
-  if ( 0 /* if using a device font (PP compatibility, TODO) */ ) {
+#ifdef PP_COMPATIBLE_DEVICE_FONT_HANDLING
+  if ( ! getEmbedFonts() ) /* if using a device font (PP compatibility) */ 
+  {
     // set alpha to default values to make the text field opaque
     cf.m_[3][0] = 1.0f;
     cf.m_[3][1] = 0.0f;
@@ -1473,6 +1480,7 @@
     // transform, so we should (or not) return an identity cxform
     // here. This has to be discussed...
   }
+#endif
   
   return cf;
 }



From MAILER-DAEMON Tue Jul 24 18:32:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDSvk-0001LE-KT
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 18:32:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDSvj-0001L9-LD
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:32:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDSvi-0001Kw-V3
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:32:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDSvi-0001Kt-Om
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:32:34 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDSvi-0006Iq-G2
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:32:34 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDSvh-0005QW-BO
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 22:32:33 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDSvh-0005QT-6d
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 22:32:33 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDSvh-0005QT-6d@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 22:32:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 22:32:35 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 22:32:33

Modified files:
	.              : ChangeLog Makefile.am 

Log message:
	        * Makefile.am: define PHONY rules.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3816&r2=1.3817
http://cvs.savannah.gnu.org/viewcvs/gnash/Makefile.am?cvsroot=gnash&r1=1.80&r2=1.81

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3816
retrieving revision 1.3817
diff -u -b -r1.3816 -r1.3817
--- ChangeLog	24 Jul 2007 21:58:43 -0000	1.3816
+++ ChangeLog	24 Jul 2007 22:32:32 -0000	1.3817
@@ -1,5 +1,9 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* Makefile.am: define PHONY rules.
+
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
 	* server/edit_text_character.cpp: add a
 	  PP_COMPATIBLE_DEVICE_FONT_HANDLING macro to mimic
 	  limitation of proprietary player in handling textfields

Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/Makefile.am,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- Makefile.am	20 Jul 2007 01:50:31 -0000	1.80
+++ Makefile.am	24 Jul 2007 22:32:33 -0000	1.81
@@ -15,7 +15,7 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 # 
 
-# $Id: Makefile.am,v 1.80 2007/07/20 01:50:31 rsavoye Exp $
+# $Id: Makefile.am,v 1.81 2007/07/24 22:32:33 strk Exp $
 
 ## Process this file with automake to produce Makefile.in
 AUTOMAKE_OPTIONS = 1.6.0
@@ -227,3 +227,4 @@
 anal testreport checksum:
 	$(srcdir)/testsuite/anaylse-results.sh
 
+.PHONY : dumpconfig anal testreport checksum check mudflap mudflap-check snapshot deb debian rmp redhat



From MAILER-DAEMON Tue Jul 24 18:48:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDTAw-0000F7-6W
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 18:48:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDTAu-0000CY-Cj
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:48:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDTAs-0000B9-3O
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:48:15 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDTAs-0000B6-0z
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:48:14 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <tomasgroth@yahoo.dk>) id 1IDTAr-00006A-My
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:48:13 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <tomasgroth@yahoo.dk>) id 1IDTAq-00071g-W3
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 22:48:13 +0000
Received: from tgc by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <tgc@savannah.gnu.org>) id 1IDTAq-00071c-Qz
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 22:48:12 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDTAq-00071c-Qz@cvs.savannah.gnu.org>
From: Tomas Groth <tomasgroth@yahoo.dk>
Date: Tue, 24 Jul 2007 22:48:12 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/parser/video_stream_def.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 22:48:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Tomas Groth <tgc>	07/07/24 22:48:12

Modified files:
	.              : ChangeLog 
	server/parser  : video_stream_def.cpp 

Log message:
		* server/parser/video_stream_def.cpp: Free the video frames
		  when deleting the video_stream_def object. Make the buffer
		  containing the video data 4 bytes bigger than needed to avoid
		  illegal reads from ffmpeg. Fixes bug #20440.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3817&r2=1.3818
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/video_stream_def.cpp?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3817
retrieving revision 1.3818
diff -u -b -r1.3817 -r1.3818
--- ChangeLog	24 Jul 2007 22:32:32 -0000	1.3817
+++ ChangeLog	24 Jul 2007 22:48:12 -0000	1.3818
@@ -1,3 +1,10 @@
+2007-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
+
+	* server/parser/video_stream_def.cpp: Free the video frames
+	  when deleting the video_stream_def object. Make the buffer
+	  containing the video data 4 bytes bigger than needed to avoid
+	  illegal reads from ffmpeg. Fixes bug #20440.
+
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
 	* Makefile.am: define PHONY rules.

Index: server/parser/video_stream_def.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/parser/video_stream_def.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/parser/video_stream_def.cpp	24 Jul 2007 11:09:06 -0000	1.10
+++ server/parser/video_stream_def.cpp	24 Jul 2007 22:48:12 -0000	1.11
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 // 
-// $Id: video_stream_def.cpp,v 1.10 2007/07/24 11:09:06 tgc Exp $
+// $Id: video_stream_def.cpp,v 1.11 2007/07/24 22:48:12 tgc Exp $
 
 #include "video_stream_def.h"
 #include "video_stream_instance.h"
@@ -39,6 +39,10 @@
 
 video_stream_definition::~video_stream_definition()
 {
+	for (int32_t size = m_video_frames.size()-1; size >= 0; size--) {
+		delete m_video_frames[size];
+	}
+	m_video_frames.clear();
 }
 
 
@@ -71,9 +75,21 @@
 	else if (tag == SWF::VIDEOFRAME)
 	{
 		in->skip_bytes(2); //int frameNum = in->read_u16();
-		int size = in->get_tag_end_position() - in->get_position();
+
+		// We need to make the buffer a bit bigger than the data
+		// to avoid libavcodec (ffmpeg) making illegal reads.
+		// The reason is a bit sketchy, but it seems that the h263
+		// decoder (perhaps other decoders as well) assumes that the
+		// buffer with the data is bigger than the data it contains.
+		// We make the buffer 4 bytes bigger than the data, and set
+		// them to 0.
+
+		// The data size is 4 bytes smaller than this, but because of 
+		// what is mentioned above we don't subtract the 4 bytes.
+		int size = in->get_tag_length();
 		uint8_t* data = new uint8_t[size];
-		for (int i = 0; i < size; i++)
+		memset(data, 0, size);
+		for (int i = 0; i < size-4; i++) // The size-variable 4 bytes bigger than the data
 		{
 			data[i] = in->read_u8();
 		}



From MAILER-DAEMON Tue Jul 24 18:55:32 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDTHw-0005m9-6l
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 18:55:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDTHu-0005lr-Fq
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:55:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDTHt-0005lN-0s
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:55:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDTHs-0005lK-RU
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:55:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDTHs-00019G-Ep
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 18:55:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDTHr-00077Q-56
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 22:55:27 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDTHr-00077N-0d
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 22:55:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDTHr-00077N-0d@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 24 Jul 2007 22:55:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jul 2007 22:55:30 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/24 22:55:26

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: don't take absence of libAGG as if an
	          old version was found. Fixes bug #20011.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3818&r2=1.3819
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.366&r2=1.367

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3818
retrieving revision 1.3819
diff -u -b -r1.3818 -r1.3819
--- ChangeLog	24 Jul 2007 22:48:12 -0000	1.3818
+++ ChangeLog	24 Jul 2007 22:55:26 -0000	1.3819
@@ -1,3 +1,8 @@
+2007-07-24 Sandro Santilli <strk@keybit.net>
+
+	* configure.ac: don't take absence of libAGG as if an
+	  old version was found. Fixes bug #20011.
+
 2007-07-24 Tomas Groth Christensen <tomasgroth@yahoo.dk>
 
 	* server/parser/video_stream_def.cpp: Free the video frames

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.366
retrieving revision 1.367
diff -u -b -r1.366 -r1.367
--- configure.ac	23 Jul 2007 21:19:36 -0000	1.366
+++ configure.ac	24 Jul 2007 22:55:26 -0000	1.367
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.366 2007/07/23 21:19:36 strk Exp $
+dnl $Id: configure.ac,v 1.367 2007/07/24 22:55:26 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1849,31 +1849,31 @@
   echo "                 or .rpm users: yum install curl-devel"
 fi
 
-if test x$build_agg = xyes; then
+if test x$build_agg = xyes; then # {
   echo "        AGG Pixel format is: $pixelformat"
-  if test x"${agg25}" = xyes; then
-    if test x"$AGG_LIBS" != x; then
-      if test x"$AGG_CFLAGS" != x; then
+    if test x"$AGG_LIBS" != x; then # {
+      if test x"${agg25}" != xyes; then # {
+        echo "        WARNING: Your installation of AGG appears to be version 2.4 or older."
+        echo "                 Please upgrade to AGG 2.5 or greater"
+        echo "                 or .deb users: apt-get install libagg-dev"
+        echo "                 or .rpm users: yum install agg-devel"
+        nogo=true
+      else # }{
+        if test x"$AGG_CFLAGS" != x; then # {
         echo "        AGG flags are: $AGG_CFLAGS"
-      else
+        else # }{
         echo "        AGG flags are: default include path"
-      fi
+        fi # }
       echo "        AGG libs are: $AGG_LIBS"
-dnl      echo "          needs compatibility layer: $agg_need_compatibility_layer"
-    else
+      fi # }
+    else # }{
       echo "        ERROR: No AGG development package installed!"
       echo "               Install it from http://www.antigrain.com"
       echo "               or .deb users: apt-get install libagg-dev"
       echo "               or .rpm users: yum install agg-devel"
       nogo=true
-    fi
-  else
-    echo "        WARNING: Your installation of AGG appears to be version 2.4 or older."
-    echo "                 Please upgrade to AGG 2.5 or greater"
-    echo "                 or .deb users: apt-get install libagg-dev"
-    echo "                 or .rpm users: yum install agg-devel"
-  fi
-fi
+    fi # }
+fi # }
 
 if test x"$BOOST_LIBS" != x; then
     # Only cygnal requires date_time at present, so it's OK if either



From MAILER-DAEMON Tue Jul 24 20:32:09 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDUnR-00023A-0d
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 20:32:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDUnP-00022s-4g
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 20:32:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDUnN-00022g-FN
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 20:32:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDUnN-00022d-A9
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 20:32:05 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IDUnN-00033d-16
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 20:32:05 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IDUnL-0004Ht-Ay
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 00:32:03 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IDUnL-0004Hp-38
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 00:32:03 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDUnL-0004Hp-38@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Wed, 25 Jul 2007 00:32:03 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 00:32:07 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/25 00:32:03

Modified files:
	gui            : aqua.cpp 

Log message:
	Fixes

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.22&r2=1.23

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- aqua.cpp	24 Jul 2007 14:18:08 -0000	1.22
+++ aqua.cpp	25 Jul 2007 00:32:02 -0000	1.23
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.22 2007/07/24 14:18:08 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.23 2007/07/25 00:32:02 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -44,6 +44,12 @@
 
 WindowRef myWindow;
  
+pascal OSStatus DoWindowClose (EventHandlerCallRef  nextHandler,
+                               EventRef             theEvent,
+                               void*                userData){
+	exit(0);
+}
+
 namespace gnash {
 	
 AquaGui::AquaGui(unsigned long xid, float scale, bool loop, unsigned int depth)
@@ -65,7 +71,7 @@
 {
   	GNASH_REPORT_FUNCTION;
   	
-	RepositionWindow(myWindow, NULL, kWindowCascadeOnMainScreen);
+	RepositionWindow(myWindow, NULL, kWindowCenterOnMainScreen);
     ShowWindow(myWindow);
     RunApplicationEventLoop();
     return true;
@@ -90,7 +96,7 @@
 {
   
 	GNASH_REPORT_FUNCTION;
- 
+	InitCursor();
 #if 0                    
   	_glue.init(argc, argv);
 
@@ -133,6 +139,8 @@
 	CFStringRef	windowTitle;
 	OSStatus	result;
 	Rect		theBounds;
+	EventTypeSpec     eventType;                 // Specifier for event type
+	EventHandlerUPP   handlerUPP;                // Pointer to event handler routine
 	
 	GNASH_REPORT_FUNCTION;
 
@@ -140,6 +148,8 @@
 	CreateNewWindow (kDocumentWindowClass,
                     	 kWindowStandardDocumentAttributes 
                        | kWindowStandardHandlerAttribute
+                       | kWindowMetalAttribute
+                       | kWindowCompositingAttribute
                        | kWindowInWindowMenuAttribute,
                     	&theBounds,
                     	&myWindow);
@@ -148,6 +158,14 @@
 	result = SetWindowTitleWithCFString(myWindow, windowTitle);
 	CFRelease (windowTitle);                    	
 	
+	createMenu();
+	
+	eventType.eventClass = kEventClassWindow;          // Set event class
+	eventType.eventKind  = kEventWindowClose;          // Set event kind
+	handlerUPP = NewEventHandlerUPP(DoWindowClose);    // Point to handler
+	InstallWindowEventHandler (myWindow, handlerUPP,  // Install handler
+                                 1, &eventType,
+                                 NULL, NULL);
 	_glue.prepDrawingArea(_width, _height);
     set_render_handler(_renderer);
     return true;
@@ -155,11 +173,21 @@
 
 bool AquaGui::createMenu()
 { 
+	MenuRef	specialmenuRef;
+
+	GNASH_REPORT_FUNCTION;
+	
+	CreateNewMenu(202, 0, &specialmenuRef); // 202 is an arbitrary ID
+	SetMenuTitleWithCFString(specialmenuRef, CFSTR("Special"));	
+	InsertMenu(specialmenuRef, 0);
+	
 	return true;
 }
 
 bool AquaGui::setupEvents()
 {
+	GNASH_REPORT_FUNCTION;
+
 	return true;
 }
 



From MAILER-DAEMON Tue Jul 24 21:28:49 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDVgH-0003Qk-Te
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 21:28:49 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDVgH-0003Qf-37
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:28:49 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDVgF-0003QP-4Q
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:28:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDVgF-0003QM-0V
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:28:47 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDVgE-00027o-QE
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:28:46 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDVgC-00081O-7x
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 01:28:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDVgB-00081L-St
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 01:28:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDVgB-00081L-St@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 01:28:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 01:28:49 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 01:28:43

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	        * server/edit_text_character.cpp: make the
	          PP_COMPATIBLE_DEVICE_FONT_HANDLING back to undefined
	          by default. It's incomplete and premature to attempt
	          limitation-level compatibility.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3819&r2=1.3820
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.93&r2=1.94

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3819
retrieving revision 1.3820
diff -u -b -r1.3819 -r1.3820
--- ChangeLog	24 Jul 2007 22:55:26 -0000	1.3819
+++ ChangeLog	25 Jul 2007 01:28:42 -0000	1.3820
@@ -1,5 +1,9 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* server/edit_text_character.cpp: make the
+	  PP_COMPATIBLE_DEVICE_FONT_HANDLING back to undefined
+	  by default. It's incomplete and premature to attempt
+	  limitation-level compatibility.
 	* configure.ac: don't take absence of libAGG as if an
 	  old version was found. Fixes bug #20011.
 

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- server/edit_text_character.cpp	24 Jul 2007 21:58:43 -0000	1.93
+++ server/edit_text_character.cpp	25 Jul 2007 01:28:43 -0000	1.94
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.93 2007/07/24 21:58:43 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.94 2007/07/25 01:28:43 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -47,7 +47,14 @@
 // Define the following macro to maintain compatibility with the proprietary
 // player when it comes to opacity of textfields using device fonts.
 // See http://gnashdev.org/wiki/index.php/DeviceFonts#Differences_with_proprietary_player_implementation
-#define PP_COMPATIBLE_DEVICE_FONT_HANDLING 1
+//
+// This is now disabled by default because INCOMPLETE and unclean
+// A clean implementation (IMHO) would warn user about the fact
+// it is doing a stupid thing for compatibilty reason.
+// Also, for good compatibility, we should skip rendering
+// of rotated or skewed text.
+//
+//#define PP_COMPATIBLE_DEVICE_FONT_HANDLING 1
 
 namespace gnash {
 



From MAILER-DAEMON Tue Jul 24 21:41:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDVsu-0007MH-U5
	for mharc-gnash-commit@gnu.org; Tue, 24 Jul 2007 21:41:52 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDVst-0007M9-JG
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:41:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDVss-0007Lw-Ji
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:41:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDVss-0007Lt-FO
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:41:50 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDVss-00044X-7K
	for gnash-commit@gnu.org; Tue, 24 Jul 2007 21:41:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDVsr-0008KJ-Id
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 01:41:49 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDVsr-0008KG-Dn
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 01:41:49 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDVsr-0008KG-Dn@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 01:41:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Movi...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 01:41:52 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 01:41:49

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: MovieClip.as 

Log message:
	        * testsuite/actionscript.all/MovieClip.as: minor test for
	          proper properties 'loadMovie' and 'loadMovieNum'.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3820&r2=1.3821
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.76&r2=1.77

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3820
retrieving revision 1.3821
diff -u -b -r1.3820 -r1.3821
--- ChangeLog	25 Jul 2007 01:28:42 -0000	1.3820
+++ ChangeLog	25 Jul 2007 01:41:48 -0000	1.3821
@@ -1,5 +1,7 @@
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/MovieClip.as: minor test for
+	  proper properties 'loadMovie' and 'loadMovieNum'.
 	* server/edit_text_character.cpp: make the
 	  PP_COMPATIBLE_DEVICE_FONT_HANDLING back to undefined
 	  by default. It's incomplete and premature to attempt

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -b -r1.76 -r1.77
--- testsuite/actionscript.all/MovieClip.as	17 Jul 2007 09:33:57 -0000	1.76
+++ testsuite/actionscript.all/MovieClip.as	25 Jul 2007 01:41:49 -0000	1.77
@@ -22,7 +22,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.76 2007/07/17 09:33:57 zoulunkai Exp $";
+rcsid="$Id: MovieClip.as,v 1.77 2007/07/25 01:41:49 strk Exp $";
 
 #include "check.as"
 
@@ -63,6 +63,11 @@
 check_equals(typeof(mc.getSWFVersion), 'function');
 check_equals(mc.getSWFVersion(), OUTPUT_VERSION);
 
+#if OUTPUT_VERSION >= 6
+check(MovieClip.prototype.hasOwnProperty('loadMovie'));
+check(!MovieClip.prototype.hasOwnProperty('loadMovieNum'));
+#endif
+
 check_equals(typeof(mc.enabled), 'boolean');
 #if OUTPUT_VERSION >= 6
 check(!mc.hasOwnProperty('enabled'));



From MAILER-DAEMON Wed Jul 25 04:33:22 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDcJ8-0007CE-87
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 04:33:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDcJ6-0007C1-Kq
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 04:33:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDcJ5-0007Bp-Vt
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 04:33:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDcJ5-0007Bm-QZ
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 04:33:19 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IDcJ5-0000NW-8h
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 04:33:19 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6P8XDU4011372;
	Wed, 25 Jul 2007 10:33:17 +0200
Date: Wed, 25 Jul 2007 10:33:11 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <752733962.20070725103311@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
In-Reply-To: <E1IDVgB-00081L-St@cvs.savannah.gnu.org>
References: <E1IDVgB-00081L-St@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 08:33:20 -0000

Hello Sandro,

Wednesday, July 25, 2007, 3:28:43 AM, you wrote:
SS> +// This is now disabled by default because INCOMPLETE and unclean
SS> +// A clean implementation (IMHO) would warn user about the fact
SS> +// it is doing a stupid thing for compatibilty reason.

Agree. A general one-time warning for any self-limitation should be
printed.


SS> +// Also, for good compatibility, we should skip rendering
SS> +// of rotated or skewed text.

display() could handle this. Note also that device fonts cannot be
scaled differently for their x/y axis. IIRC the *glyphs* (not the
bounding box) ignore the X scaling and do *proportional* scaling
according to the Y scaling for device fonts.

BTW, this is maybe even a better example for the compatibility
discussion. One might take advantage of this for resizing (not
scaling) word-wrapped text fields.


Uhm, maybe we should consider using system-specific font rendering for
device fonts (which might be faster)? Just asking, don't know how much
work would be involved..


Udo




From MAILER-DAEMON Wed Jul 25 08:12:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDfjG-0002tq-QD
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 08:12:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDfjF-0002td-1f
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 08:12:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDfjD-0002tI-GJ
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 08:12:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDfjD-0002tF-Be
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 08:12:31 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IDfjC-0003Be-Mz
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 08:12:31 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6PCCPR23419;
	Wed, 25 Jul 2007 14:12:25 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Wed, 25 Jul 2007 14:12:25 +0200
From: Sandro Santilli <strk@keybit.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
Message-ID: <20070725121225.GI6376@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IDVgB-00081L-St@cvs.savannah.gnu.org>
	<752733962.20070725103311@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <752733962.20070725103311@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 12:12:33 -0000

On Wed, Jul 25, 2007 at 10:33:11AM +0200, Udo Giacomozzi wrote:

> Uhm, maybe we should consider using system-specific font rendering for
> device fonts (which might be faster)? Just asking, don't know how much
> work would be involved..

It would involve more system dependency, so possibly mltiple implementation
of the same thing. When I started implemnting support for device fonts I was
wondering whtere the GUI would provide such service. But then we'd have
GTK, KDE, FB?, FLTK versions of the same code ?

--strk;



From MAILER-DAEMON Wed Jul 25 08:38:33 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDg8O-0002iT-Tk
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 08:38:32 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDg8N-0002gD-6R
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 08:38:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDg8M-0002ec-31
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 08:38:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDg8L-0002eR-Sz
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 08:38:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDg8L-0000jm-Kh
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 08:38:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDg8L-0004Os-8m
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:38:29 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDg8L-0004Op-2z
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:38:29 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDg8L-0004Op-2z@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 12:38:29 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gnash.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 12:38:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 12:38:29

Modified files:
	.              : ChangeLog 
	gui            : gnash.cpp 

Log message:
	        * gui/gnash.cpp: add missing newline after Gstreamer version
	          (--version).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3821&r2=1.3822
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.84&r2=1.85

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3821
retrieving revision 1.3822
diff -u -b -r1.3821 -r1.3822
--- ChangeLog	25 Jul 2007 01:41:48 -0000	1.3821
+++ ChangeLog	25 Jul 2007 12:38:28 -0000	1.3822
@@ -1,3 +1,8 @@
+2007-07-25 Sandro Santilli <strk@keybit.net>
+
+	* gui/gnash.cpp: add missing newline after Gstreamer version
+	  (--version).
+
 2007-07-24 Sandro Santilli <strk@keybit.net>
 
 	* testsuite/actionscript.all/MovieClip.as: minor test for

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- gui/gnash.cpp	17 Jul 2007 22:05:03 -0000	1.84
+++ gui/gnash.cpp	25 Jul 2007 12:38:28 -0000	1.85
@@ -176,7 +176,7 @@
     printf(_("Ffmpeg version is: %s\n"), LIBAVCODEC_IDENT);
 #endif
 #ifdef HAVE_GST_GST_H
-    printf(_("Gstreamer version is: %d.%d.%d."), GST_VERSION_MAJOR,
+    printf(_("Gstreamer version is: %d.%d.%d.\n"), GST_VERSION_MAJOR,
            GST_VERSION_MINOR, GST_VERSION_MICRO);
 #endif
 }



From MAILER-DAEMON Wed Jul 25 09:38:34 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDh4U-0000pA-CL
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 09:38:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDh4S-0000k3-HF
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 09:38:32 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDh4R-0000hH-1l
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 09:38:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDh4Q-0000gu-FI
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 09:38:30 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDh4Q-0008Vr-3V
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 09:38:30 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDh4P-0008FE-Ln
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 13:38:29 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDh4P-0008FB-I0
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 13:38:29 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDh4P-0008FB-I0@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 13:38:29 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 13:38:32 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 13:38:29

Modified files:
	.              : ChangeLog 
	gui            : Makefile.am 

Log message:
	        * gui/Makefile.am: build klash when conditinally enabled

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3822&r2=1.3823
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.86&r2=1.87

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3822
retrieving revision 1.3823
diff -u -b -r1.3822 -r1.3823
--- ChangeLog	25 Jul 2007 12:38:28 -0000	1.3822
+++ ChangeLog	25 Jul 2007 13:38:28 -0000	1.3823
@@ -1,5 +1,6 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* gui/Makefile.am: build klash when conditinally enabled
 	* gui/gnash.cpp: add missing newline after Gstreamer version
 	  (--version).
 

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- gui/Makefile.am	23 Jul 2007 13:49:43 -0000	1.86
+++ gui/Makefile.am	25 Jul 2007 13:38:29 -0000	1.87
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.86 2007/07/23 13:49:43 strk Exp $
+# $Id: Makefile.am,v 1.87 2007/07/25 13:38:29 strk Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -81,6 +81,13 @@
 	$(top_builddir)/libgeometry/libgnashgeo.la \
 	$(top_builddir)/libbase/libgnashbase.la
 
+KLASH_LIBS = \
+	$(top_builddir)/libamf/libgnashamf.la \
+	$(top_builddir)/backend/libgnashbackend.la \
+	$(top_builddir)/server/libgnashserver.la \
+	$(top_builddir)/libgeometry/libgnashgeo.la \
+	$(top_builddir)/libbase/libgnashbase.la
+
 # The player class has to be added to each GUI library because it
 # requires an ifdef to change between the various GUI toolkits.
 PLAYER_SRCS = Player.cpp Player.h
@@ -290,6 +297,7 @@
 endif # BUILD_SDL_GUI
 if BUILD_KDE_GUI
      GNASH_LIBS += libgnashkde_gl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
+     KLASH_LIBS += libgnashkde_gl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
 endif # BUILD_KDE_GUI
 endif # BUILD_OPENGL_RENDERER
 
@@ -326,6 +334,7 @@
 endif # BUILD_FLTK_GUI
 if  BUILD_KDE_GUI
      GNASH_LIBS += libgnashkde_agg.la $(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
+     KLASH_LIBS += libgnashkde_agg.la $(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
 endif # BUILD_KDE_GUI
 if  BUILD_RISCOS_GUI
      GNASH_LIBS += libgnashriscos_agg.la $(RISCOS_LIBS) $(AGG_LIBS)
@@ -386,6 +395,20 @@
 
 bin_PROGRAMS = gnash
 
+if KLASH
+ bin_PROGRAMS += klash
+
+ klash_SOURCES = gnash.cpp
+ # export our symbols so they can be used by Gnash plugins
+ klash_LDFLAGS = $(LIBLTDL) -export-dynamic 
+ klash_DEPENDENCIES = libgnashgui.la .configline
+ klash_LDADD = \
+	libgnashgui.la \
+	$(MYSQL_LIBS) \
+	$(KLASH_LIBS) \
+	$(AM_LDFLAGS)
+endif # KLASH
+
 gnash_SOURCES = gnash.cpp
 # export our symbols so they can be used by Gnash plugins
 gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 



From MAILER-DAEMON Wed Jul 25 10:20:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDhis-0005sO-Rd
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 10:20:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDhiq-0005s6-Ri
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 10:20:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDhiq-0005ru-D6
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 10:20:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDhiq-0005rr-8U
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 10:20:16 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDhip-0004pv-Pq
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 10:20:15 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDhip-0003RP-7z
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 14:20:15 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDhip-0003RL-2c
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 14:20:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDhip-0003RL-2c@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 14:20:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/edit_text_character.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 14:20:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 14:20:14

Modified files:
	.              : ChangeLog 
	server         : edit_text_character.cpp 

Log message:
	        * server/edit_text_character.cpp: removed unused lowercase_if_needed
	          function.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3823&r2=1.3824
http://cvs.savannah.gnu.org/viewcvs/gnash/server/edit_text_character.cpp?cvsroot=gnash&r1=1.94&r2=1.95

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3823
retrieving revision 1.3824
diff -u -b -r1.3823 -r1.3824
--- ChangeLog	25 Jul 2007 13:38:28 -0000	1.3823
+++ ChangeLog	25 Jul 2007 14:20:14 -0000	1.3824
@@ -1,5 +1,7 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* server/edit_text_character.cpp: removed unused lowercase_if_needed
+	  function.
 	* gui/Makefile.am: build klash when conditinally enabled
 	* gui/gnash.cpp: add missing newline after Gstreamer version
 	  (--version).

Index: server/edit_text_character.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/edit_text_character.cpp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -b -r1.94 -r1.95
--- server/edit_text_character.cpp	25 Jul 2007 01:28:43 -0000	1.94
+++ server/edit_text_character.cpp	25 Jul 2007 14:20:14 -0000	1.95
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: edit_text_character.cpp,v 1.94 2007/07/25 01:28:43 strk Exp $ */
+/* $Id: edit_text_character.cpp,v 1.95 2007/07/25 14:20:14 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -82,20 +82,6 @@
 static as_value textfield_textColor_getset(const fn_call& fn);
 static as_value textfield_embedFonts_getset(const fn_call& fn);
 
-	namespace
-	{
-
-		void
-		lowercase_if_needed(std::string& str)
-		{
-			VM& vm = VM::get();
-			if ( vm.getSWFVersion() >= 7 ) return;
-			boost::to_lower(str, vm.getLocale());
-		}
-
-	}
-
-
 
 //
 // TextField interface functions



From MAILER-DAEMON Wed Jul 25 11:40:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDiyI-0005qi-5A
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 11:40:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDiyE-0005nu-8N
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 11:40:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDiyD-0005ng-Bn
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 11:40:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDiyD-0005nd-7Z
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 11:40:13 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDiyC-0000x4-R5
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 11:40:12 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDiyB-0007zk-Ix
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 15:40:11 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDiyB-0007zh-Cu
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 15:40:11 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDiyB-0007zh-Cu@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 15:40:11 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_environment.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 15:40:15 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 15:40:11

Modified files:
	.              : ChangeLog 
	server         : as_environment.h 

Log message:
	        * server/as_environment.h: added some notes about variable name
	          case conversion.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3824&r2=1.3825
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_environment.h?cvsroot=gnash&r1=1.53&r2=1.54

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3824
retrieving revision 1.3825
diff -u -b -r1.3824 -r1.3825
--- ChangeLog	25 Jul 2007 14:20:14 -0000	1.3824
+++ ChangeLog	25 Jul 2007 15:40:10 -0000	1.3825
@@ -1,5 +1,7 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* server/as_environment.h: added some notes about variable name
+	  case conversion.
 	* server/edit_text_character.cpp: removed unused lowercase_if_needed
 	  function.
 	* gui/Makefile.am: build klash when conditinally enabled

Index: server/as_environment.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_environment.h,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- server/as_environment.h	1 Jul 2007 10:54:20 -0000	1.53
+++ server/as_environment.h	25 Jul 2007 15:40:11 -0000	1.54
@@ -130,6 +130,10 @@
 	/// @param varname 
 	///	Variable name. Can contain path elements.
 	///	TODO: should be case-insensitive up to SWF6.
+	///	NOTE: no case conversion is performed currently,
+	///	      so make sure you do it yourself. Note that
+	///	      ActionExec performs the conversion
+	///	      before calling this method.
 	///
 	as_value get_variable(const std::string& varname) const;
 
@@ -140,6 +144,10 @@
 	/// @param varname 
 	///	Variable name. Can not contain path elements.
 	///	TODO: should be case-insensitive up to SWF6.
+	///	NOTE: no case conversion is performed currently,
+	///	      so make sure you do it yourself. Note that
+	///	      ActionExec performs the conversion
+	///	      before calling this method.
 	///
 	/// @param scopeStack
 	///	The Scope stack to use for lookups.
@@ -152,6 +160,10 @@
 	/// @param varname 
 	///	Variable name. Can contain path elements.
 	///	TODO: should be case-insensitive up to SWF6.
+	///	NOTE: no case conversion is performed currently,
+	///	      so make sure you do it yourself. Note that
+	///	      ActionExec performs the conversion
+	///	      before calling this method.
 	///
 	/// @param scopeStack
 	///	The Scope stack to use for lookups.
@@ -170,6 +182,10 @@
 	/// @param path 
 	///	Variable path.
 	///	TODO: should be case-insensitive up to SWF6.
+	///	NOTE: no case conversion is performed currently,
+	///	      so make sure you do it yourself. Note that
+	///	      ActionExec performs the conversion
+	///	      before calling this method.
 	///
 	/// @param val
 	///	The value to assign to the variable, if found.
@@ -514,7 +530,8 @@
 	//
 	/// @param varname 
 	///	Variable name. Can not contain path elements.
-	///	TODO: should be case-insensitive up to SWF6.
+	///	NOTE: no case conversion is performed currently,
+	///	      so make sure you do it yourself. 
 	///
 	as_value get_variable_raw(const std::string& varname) const;
 



From MAILER-DAEMON Wed Jul 25 11:42:54 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDj0o-0007F5-LV
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 11:42:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDj0m-0007EP-V8
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 11:42:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDj0l-0007Dc-9M
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 11:42:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDj0k-0007DC-SS
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 11:42:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDj0j-0001oI-MO
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 11:42:49 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDj0j-0008M1-5d
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 15:42:49 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDj0j-0008Lk-0T
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 15:42:49 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDj0j-0008Lk-0T@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 15:42:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_value.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 15:42:53 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 15:42:48

Modified files:
	.              : ChangeLog 
	server         : as_value.h 

Log message:
	        * server/as_value.h: add a PROPNAME macro to perform the lowercase
	          conversion of property names when needed (copies arg)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3825&r2=1.3826
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.h?cvsroot=gnash&r1=1.57&r2=1.58

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3825
retrieving revision 1.3826
diff -u -b -r1.3825 -r1.3826
--- ChangeLog	25 Jul 2007 15:40:10 -0000	1.3825
+++ ChangeLog	25 Jul 2007 15:42:47 -0000	1.3826
@@ -1,5 +1,7 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* server/as_value.h: add a PROPNAME macro to perform the lowercase
+	  conversion of property names when needed (copies arg)
 	* server/as_environment.h: added some notes about variable name
 	  case conversion.
 	* server/edit_text_character.cpp: removed unused lowercase_if_needed

Index: server/as_value.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.h,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- server/as_value.h	9 Jul 2007 03:30:50 -0000	1.57
+++ server/as_value.h	25 Jul 2007 15:42:48 -0000	1.58
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: as_value.h,v 1.57 2007/07/09 03:30:50 strk Exp $ */
+/* $Id: as_value.h,v 1.58 2007/07/25 15:42:48 strk Exp $ */
 
 #ifndef GNASH_AS_VALUE_H
 #define GNASH_AS_VALUE_H
@@ -76,6 +76,13 @@
 	static inline int isinf_ld (long double x) { return isnan (x - x); }
 #endif
  
+/// Use this macro to obtain a properly-formatted property name
+/// The macro will convert the name to lowercase if the current VM target
+/// is SWF6 or lower
+///
+#define PROPNAME(x) ( VM::get().getSWFVersion() < 7 ? boost::to_lower_copy(x) : (x) )
+
+ 
 
 /// ActionScript value type.
 //



From MAILER-DAEMON Wed Jul 25 12:08:34 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDjPe-0004xD-JJ
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 12:08:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDjPZ-0004v7-U4
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:08:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDjPX-0004tA-6d
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:08:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDjPW-0004sw-Pt
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:08:26 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDjPV-0005Ef-8a
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:08:25 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDjPT-0001bW-WF
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 16:08:24 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDjPT-0001bT-RV
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 16:08:23 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDjPT-0001bT-RV@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 16:08:23 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server as_value.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 16:08:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 16:08:23

Modified files:
	server         : as_value.h 

Log message:
	cast PROPNAME arg to a std::string to allow calling it with a const C string in input

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.h?cvsroot=gnash&r1=1.58&r2=1.59

Patches:
Index: as_value.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- as_value.h	25 Jul 2007 15:42:48 -0000	1.58
+++ as_value.h	25 Jul 2007 16:08:23 -0000	1.59
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: as_value.h,v 1.58 2007/07/25 15:42:48 strk Exp $ */
+/* $Id: as_value.h,v 1.59 2007/07/25 16:08:23 strk Exp $ */
 
 #ifndef GNASH_AS_VALUE_H
 #define GNASH_AS_VALUE_H
@@ -76,12 +76,11 @@
 	static inline int isinf_ld (long double x) { return isnan (x - x); }
 #endif
 
-/// Use this macro to obtain a properly-formatted property name
-/// The macro will convert the name to lowercase if the current VM target
+/// Use this methods to obtain a properly-formatted property name
+/// The methods will convert the name to lowercase if the current VM target
 /// is SWF6 or lower
 ///
-#define PROPNAME(x) ( VM::get().getSWFVersion() < 7 ? boost::to_lower_copy(x) : (x) )
-
+#define PROPNAME(x) ( VM::get().getSWFVersion() < 7 ? boost::to_lower_copy(std::string(x)) : (x) )
  
 
 /// ActionScript value type.



From MAILER-DAEMON Wed Jul 25 12:16:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDjXK-0006wO-Ul
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 12:16:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDjXH-0006tz-VY
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:16:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDjXG-0006t4-3O
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:16:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDjXF-0006t1-Ts
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:16:25 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDjXF-00085q-MV
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:16:25 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDjXE-00036Z-6k
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 16:16:24 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDjXD-00036M-Jp
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 16:16:23 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDjXD-00036M-Jp@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 16:16:23 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_value.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 16:16:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 16:16:23

Modified files:
	.              : ChangeLog 
	server         : as_value.cpp 

Log message:
	        * server/as_value.cpp: drop lowercase_if_needed, substitute with
	          the PROPNAME macro.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3826&r2=1.3827
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.58&r2=1.59

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3826
retrieving revision 1.3827
diff -u -b -r1.3826 -r1.3827
--- ChangeLog	25 Jul 2007 15:42:47 -0000	1.3826
+++ ChangeLog	25 Jul 2007 16:16:22 -0000	1.3827
@@ -1,5 +1,7 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* server/as_value.cpp: drop lowercase_if_needed, substitute with
+	  the PROPNAME macro.
 	* server/as_value.h: add a PROPNAME macro to perform the lowercase
 	  conversion of property names when needed (copies arg)
 	* server/as_environment.h: added some notes about variable name

Index: server/as_value.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- server/as_value.cpp	9 Jul 2007 13:00:04 -0000	1.58
+++ server/as_value.cpp	25 Jul 2007 16:16:23 -0000	1.59
@@ -52,14 +52,6 @@
 // as_value -- ActionScript value type
 //
 
-static void
-lowercase_if_needed(std::string& str)
-{
-	VM& vm = VM::get();
-	if ( vm.getSWFVersion() >= 7 ) return;
-	boost::to_lower(str, vm.getLocale());
-}
-
 as_value::as_value(as_function* func)
     :
     m_type(AS_FUNCTION),
@@ -135,8 +127,7 @@
 			bool gotValidToStringResult = false;
 			if ( env )
 			{
-				std::string methodname = "toString";
-				lowercase_if_needed(methodname);
+				std::string methodname = PROPNAME("toString"); 
 				as_value method;
 				if ( obj->get_member(methodname, &method) )
 				{
@@ -212,8 +203,7 @@
 	if ( m_type == OBJECT || m_type == AS_FUNCTION )
 	{
 		as_object* obj = m_object_value;
-		std::string methodname = "valueOf";
-		lowercase_if_needed(methodname);
+		std::string methodname = PROPNAME("valueOf"); 
 		as_value method;
 		if ( obj->get_member(methodname, &method) )
 		{
@@ -292,8 +282,7 @@
 			as_object* obj = m_object_value; 
 			if ( env )
 			{
-				std::string methodname = "valueOf";
-				lowercase_if_needed(methodname);
+				std::string methodname = PROPNAME("valueOf"); 
 				as_value method;
 				if ( obj->get_member(methodname, &method) )
 				{



From MAILER-DAEMON Wed Jul 25 12:28:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDjiS-0001EO-9I
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 12:28:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDjiQ-0001Dy-PE
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:27:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDjiP-0001Dd-V8
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:27:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDjiP-0001Da-Pc
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:27:57 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDjiP-0002V9-Gn
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:27:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDjiO-0003Q7-FR
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 16:27:56 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDjiO-0003Q3-9L
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 16:27:56 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDjiO-0003Q3-9L@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 16:27:56 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/as_value.cpp server/as_v...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 16:27:59 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 16:27:56

Modified files:
	.              : ChangeLog 
	server         : as_value.cpp as_value.h 
	testsuite/actionscript.all: Number.as 

Log message:
	        * server/as_value.h: remove unneeded "container.h" include.
	        * server/as_value.cpp (equalsSameType): fixed nan comparison.
	        * testsuite/actionscript.all/Number.as: fixed NaN != NaN test
	          (should return false). Add NaN == NaN test (should return true)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3827&r2=1.3828
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.cpp?cvsroot=gnash&r1=1.59&r2=1.60
http://cvs.savannah.gnu.org/viewcvs/gnash/server/as_value.h?cvsroot=gnash&r1=1.59&r2=1.60
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.24&r2=1.25

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3827
retrieving revision 1.3828
diff -u -b -r1.3827 -r1.3828
--- ChangeLog	25 Jul 2007 16:16:22 -0000	1.3827
+++ ChangeLog	25 Jul 2007 16:27:55 -0000	1.3828
@@ -1,5 +1,12 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* server/as_value.h: remove unneeded "container.h" include.
+	* server/as_value.cpp (equalsSameType): fixed nan comparison.
+	* testsuite/actionscript.all/Number.as: fixed NaN != NaN test
+	  (should return false). Add NaN == NaN test (should return true)
+
+2007-07-25 Sandro Santilli <strk@keybit.net>
+
 	* server/as_value.cpp: drop lowercase_if_needed, substitute with
 	  the PROPNAME macro.
 	* server/as_value.h: add a PROPNAME macro to perform the lowercase

Index: server/as_value.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.cpp,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- server/as_value.cpp	25 Jul 2007 16:16:23 -0000	1.59
+++ server/as_value.cpp	25 Jul 2007 16:27:55 -0000	1.60
@@ -777,7 +777,9 @@
 			double b = v.m_number_value;
 
 			// Nan != NaN
-			if ( isnan(a) || isnan(b) ) return false;
+			//if ( isnan(a) || isnan(b) ) return false;
+
+			if ( isnan(a) && isnan(b) ) return true;
 
 			// -0.0 == 0.0
 			if ( (a == -0 && b == 0) || (a == 0 && b == -0) ) return true;

Index: server/as_value.h
===================================================================
RCS file: /sources/gnash/gnash/server/as_value.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- server/as_value.h	25 Jul 2007 16:08:23 -0000	1.59
+++ server/as_value.h	25 Jul 2007 16:27:55 -0000	1.60
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: as_value.h,v 1.59 2007/07/25 16:08:23 strk Exp $ */
+/* $Id: as_value.h,v 1.60 2007/07/25 16:27:55 strk Exp $ */
 
 #ifndef GNASH_AS_VALUE_H
 #define GNASH_AS_VALUE_H
@@ -24,7 +24,7 @@
 #include "config.h"
 #endif
 
-#include "container.h"
+//#include "container.h"
 #include "tu_config.h"
 #include "smart_ptr.h"
 

Index: testsuite/actionscript.all/Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/actionscript.all/Number.as	9 Jul 2007 12:05:25 -0000	1.24
+++ testsuite/actionscript.all/Number.as	25 Jul 2007 16:27:56 -0000	1.25
@@ -26,7 +26,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //	
 
-rcsid="$Id: Number.as,v 1.24 2007/07/09 12:05:25 strk Exp $";
+rcsid="$Id: Number.as,v 1.25 2007/07/25 16:27:56 strk Exp $";
 
 #include "check.as"
 
@@ -90,7 +90,8 @@
 check_equals( typeof(NaN), 'number' );
 check_equals( typeof(isNaN), 'function' );
 check_equals( typeof(isNaN(NaN)), 'boolean' );
-check(NaN != NaN); // TODO: this seems a bogus check, the check should actually return false
+check(NaN == NaN); 
+check(! (NaN != NaN) ); 
 check( isNaN(NaN) );
 check_equals( typeof(isNaN(0/0)), 'boolean' );
 check( isNaN(0/0) );



From MAILER-DAEMON Wed Jul 25 12:57:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDkAj-0003O9-59
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 12:57:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDkAh-0003LS-O7
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:57:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDkAg-0003Ij-AT
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:57:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDkAg-0003Hy-2u
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:57:10 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDkAf-0001QW-Fk
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 12:57:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDkAe-0005Rs-BH
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 16:57:08 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDkAe-0005Rp-61
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 16:57:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDkAe-0005Rp-61@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Wed, 25 Jul 2007 16:57:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/Numb...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jul 2007 16:57:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/25 16:57:08

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: Number.as 

Log message:
	Add new test for (0/2) == (0/5)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3828&r2=1.3829
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.25&r2=1.26

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3828
retrieving revision 1.3829
diff -u -b -r1.3828 -r1.3829
--- ChangeLog	25 Jul 2007 16:27:55 -0000	1.3828
+++ ChangeLog	25 Jul 2007 16:57:07 -0000	1.3829
@@ -3,7 +3,8 @@
 	* server/as_value.h: remove unneeded "container.h" include.
 	* server/as_value.cpp (equalsSameType): fixed nan comparison.
 	* testsuite/actionscript.all/Number.as: fixed NaN != NaN test
-	  (should return false). Add NaN == NaN test (should return true)
+	  (should return false). Add NaN == NaN test (should return true);
+	  Add (0/2) == (0/5) (shoudl return true).
 
 2007-07-25 Sandro Santilli <strk@keybit.net>
 

Index: testsuite/actionscript.all/Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- testsuite/actionscript.all/Number.as	25 Jul 2007 16:27:56 -0000	1.25
+++ testsuite/actionscript.all/Number.as	25 Jul 2007 16:57:07 -0000	1.26
@@ -26,7 +26,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //	
 
-rcsid="$Id: Number.as,v 1.25 2007/07/25 16:27:56 strk Exp $";
+rcsid="$Id: Number.as,v 1.26 2007/07/25 16:57:07 strk Exp $";
 
 #include "check.as"
 
@@ -91,6 +91,7 @@
 check_equals( typeof(isNaN), 'function' );
 check_equals( typeof(isNaN(NaN)), 'boolean' );
 check(NaN == NaN); 
+check((0/2) == (0/5)); 
 check(! (NaN != NaN) ); 
 check( isNaN(NaN) );
 check_equals( typeof(isNaN(0/0)), 'boolean' );



From MAILER-DAEMON Wed Jul 25 23:41:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDuEE-0001jT-6s
	for mharc-gnash-commit@gnu.org; Wed, 25 Jul 2007 23:41:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDuEB-0001jB-R0
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 23:41:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDuE8-0001ir-TJ
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 23:41:27 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDuE8-0001io-Ne
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 23:41:24 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDuE7-0006Lt-S2
	for gnash-commit@gnu.org; Wed, 25 Jul 2007 23:41:24 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDuE6-00057I-A5
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 03:41:22 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDuE6-00057E-1r
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 03:41:22 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDuE6-00057E-1r@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 03:41:22 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog extensions/dejagnu/test.as exte...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 03:41:28 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 03:41:21

Modified files:
	.              : ChangeLog 
	extensions/dejagnu: test.as 
	extensions/fileio: test.as 
	extensions/gtk2: hello.as 
	extensions/mysql: test.as 
	testsuite/actionscript.all: Boolean.as Camera.as Color.as 
	                            ContextMenu.as CustomActions.as 
	                            Date.as Error.as Function.as 
	                            Global.as Inheritance.as LoadVars.as 
	                            LocalConnection.as Math.as 
	                            Microphone.as Mouse.as MovieClip.as 
	                            MovieClipLoader.as NetConnection.as 
	                            NetStream.as Number.as Object.as 
	                            Selection.as SharedObject.as 
	                            Stage.as System.as TextField.as 
	                            TextSnapshot.as Video.as XML.as 
	                            XMLNode.as XMLSocket.as check.as 
	                            dejagnu.as rtmp.as rtrace.as 
	                            utils.as with.as xtrace.as 
	testsuite/misc-ming.all: FlashVarsTest.as intervalTest.as 
	testsuite/misc-mtasc.all: Dejagnu.as check.as level5.as 
	                          level99.as levels.as 

Log message:
	        * lots of files : fixed Copyright info (delete spurious empty line,
	          add year 2007).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3829&r2=1.3830
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/dejagnu/test.as?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/fileio/test.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/gtk2/hello.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/extensions/mysql/test.as?cvsroot=gnash&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Boolean.as?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Camera.as?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Color.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ContextMenu.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/CustomActions.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Date.as?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Error.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Function.as?cvsroot=gnash&r1=1.51&r2=1.52
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Global.as?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Inheritance.as?cvsroot=gnash&r1=1.31&r2=1.32
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/LoadVars.as?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/LocalConnection.as?cvsroot=gnash&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Math.as?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Microphone.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Mouse.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClip.as?cvsroot=gnash&r1=1.77&r2=1.78
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/MovieClipLoader.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/NetConnection.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/NetStream.as?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Number.as?cvsroot=gnash&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Object.as?cvsroot=gnash&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Selection.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/SharedObject.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Stage.as?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/System.as?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextSnapshot.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Video.as?cvsroot=gnash&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XML.as?cvsroot=gnash&r1=1.34&r2=1.35
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XMLNode.as?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/XMLSocket.as?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/check.as?cvsroot=gnash&r1=1.28&r2=1.29
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/dejagnu.as?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/rtmp.as?cvsroot=gnash&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/rtrace.as?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/utils.as?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/with.as?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/xtrace.as?cvsroot=gnash&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/FlashVarsTest.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/intervalTest.as?cvsroot=gnash&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/Dejagnu.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/check.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/level5.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/level99.as?cvsroot=gnash&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/levels.as?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3829
retrieving revision 1.3830
diff -u -b -r1.3829 -r1.3830
--- ChangeLog	25 Jul 2007 16:57:07 -0000	1.3829
+++ ChangeLog	26 Jul 2007 03:41:16 -0000	1.3830
@@ -1,5 +1,10 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* lots of files : fixed Copyright info (delete spurious empty line,
+	  add year 2007).
+
+2007-07-25 Sandro Santilli <strk@keybit.net>
+
 	* server/as_value.h: remove unneeded "container.h" include.
 	* server/as_value.cpp (equalsSameType): fixed nan comparison.
 	* testsuite/actionscript.all/Number.as: fixed NaN != NaN test

Index: extensions/dejagnu/test.as
===================================================================
RCS file: /sources/gnash/gnash/extensions/dejagnu/test.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- extensions/dejagnu/test.as	1 Jul 2007 10:53:58 -0000	1.3
+++ extensions/dejagnu/test.as	26 Jul 2007 03:41:17 -0000	1.4
@@ -1,28 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 // Test case for XML ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: test.as,v 1.3 2007/07/01 10:53:58 bjacques Exp $";
+rcsid="$Id: test.as,v 1.4 2007/07/26 03:41:17 strk Exp $";
 
 var tmp = new DejaGnu();
 

Index: extensions/fileio/test.as
===================================================================
RCS file: /sources/gnash/gnash/extensions/fileio/test.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- extensions/fileio/test.as	1 Jul 2007 10:53:58 -0000	1.2
+++ extensions/fileio/test.as	26 Jul 2007 03:41:17 -0000	1.3
@@ -5,18 +5,18 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
-rcsid="$Id: test.as,v 1.2 2007/07/01 10:53:58 bjacques Exp $";
+rcsid="$Id: test.as,v 1.3 2007/07/26 03:41:17 strk Exp $";
 
 #include "dejagnu.as"
 

Index: extensions/gtk2/hello.as
===================================================================
RCS file: /sources/gnash/gnash/extensions/gtk2/hello.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- extensions/gtk2/hello.as	1 Jul 2007 10:53:59 -0000	1.2
+++ extensions/gtk2/hello.as	26 Jul 2007 03:41:17 -0000	1.3
@@ -1,25 +1,26 @@
+// 
 //   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for XML ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: hello.as,v 1.2 2007/07/01 10:53:59 bjacques Exp $";
+rcsid="$Id: hello.as,v 1.3 2007/07/26 03:41:17 strk Exp $";
 
 #include "dejagnu.as"
 

Index: extensions/mysql/test.as
===================================================================
RCS file: /sources/gnash/gnash/extensions/mysql/test.as,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- extensions/mysql/test.as	1 Jul 2007 10:53:59 -0000	1.3
+++ extensions/mysql/test.as	26 Jul 2007 03:41:17 -0000	1.4
@@ -1,25 +1,25 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: test.as,v 1.3 2007/07/01 10:53:59 bjacques Exp $";
+rcsid="$Id: test.as,v 1.4 2007/07/26 03:41:17 strk Exp $";
 
 var runtest = new DejaGnu();
 var db = new MySQL();

Index: testsuite/actionscript.all/Boolean.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Boolean.as,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- testsuite/actionscript.all/Boolean.as	1 Jul 2007 10:54:38 -0000	1.13
+++ testsuite/actionscript.all/Boolean.as	26 Jul 2007 03:41:18 -0000	1.14
@@ -5,22 +5,22 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for Boolean ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Boolean.as,v 1.13 2007/07/01 10:54:38 bjacques Exp $";
+rcsid="$Id: Boolean.as,v 1.14 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Camera.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Camera.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/Camera.as	1 Jul 2007 10:54:38 -0000	1.11
+++ testsuite/actionscript.all/Camera.as	26 Jul 2007 03:41:18 -0000	1.12
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for Camera ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Camera.as,v 1.11 2007/07/01 10:54:38 bjacques Exp $";
+rcsid="$Id: Camera.as,v 1.12 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Color.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Color.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/Color.as	1 Jul 2007 10:54:38 -0000	1.8
+++ testsuite/actionscript.all/Color.as	26 Jul 2007 03:41:18 -0000	1.9
@@ -1,26 +1,27 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
-// This program is free software; you can redistribute it and/or modchecky
+// This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
-// along with this program; check not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fcheckth Floor, Boston, MA  02110-1301  USA
 
 // Test case for Color ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Color.as,v 1.8 2007/07/01 10:54:38 bjacques Exp $";
+rcsid="$Id: Color.as,v 1.9 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/ContextMenu.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/ContextMenu.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/ContextMenu.as	1 Jul 2007 10:54:38 -0000	1.10
+++ testsuite/actionscript.all/ContextMenu.as	26 Jul 2007 03:41:18 -0000	1.11
@@ -5,22 +5,23 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for ContextMenu ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: ContextMenu.as,v 1.10 2007/07/01 10:54:38 bjacques Exp $";
+rcsid="$Id: ContextMenu.as,v 1.11 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/CustomActions.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/CustomActions.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/CustomActions.as	13 Jul 2007 20:04:16 -0000	1.9
+++ testsuite/actionscript.all/CustomActions.as	26 Jul 2007 03:41:18 -0000	1.10
@@ -1,20 +1,21 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for CustomActions ActionScript class
 // compile this test case with Ming makeswf, and then
@@ -24,7 +25,7 @@
 // CustomActions is only intended foro use in the Flash authoring tool,
 // See http://sephiroth.it/reference.php?id=156&cat=1
 
-rcsid="$Id: CustomActions.as,v 1.9 2007/07/13 20:04:16 strk Exp $";
+rcsid="$Id: CustomActions.as,v 1.10 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Date.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Date.as,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- testsuite/actionscript.all/Date.as	1 Jul 2007 10:54:38 -0000	1.25
+++ testsuite/actionscript.all/Date.as	26 Jul 2007 03:41:18 -0000	1.26
@@ -1,26 +1,27 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for Date ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Date.as,v 1.25 2007/07/01 10:54:38 bjacques Exp $";
+rcsid="$Id: Date.as,v 1.26 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Error.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Error.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/Error.as	1 Jul 2007 10:54:38 -0000	1.9
+++ testsuite/actionscript.all/Error.as	26 Jul 2007 03:41:18 -0000	1.10
@@ -1,26 +1,27 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for Error ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Error.as,v 1.9 2007/07/01 10:54:38 bjacques Exp $";
+rcsid="$Id: Error.as,v 1.10 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Function.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Function.as,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- testsuite/actionscript.all/Function.as	1 Jul 2007 10:54:38 -0000	1.51
+++ testsuite/actionscript.all/Function.as	26 Jul 2007 03:41:18 -0000	1.52
@@ -5,22 +5,23 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for Function ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Function.as,v 1.51 2007/07/01 10:54:38 bjacques Exp $";
+rcsid="$Id: Function.as,v 1.52 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Global.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Global.as,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- testsuite/actionscript.all/Global.as	1 Jul 2007 10:54:39 -0000	1.25
+++ testsuite/actionscript.all/Global.as	26 Jul 2007 03:41:18 -0000	1.26
@@ -1,26 +1,27 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for ActionScript _global Object
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Global.as,v 1.25 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: Global.as,v 1.26 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Inheritance.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Inheritance.as,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- testsuite/actionscript.all/Inheritance.as	1 Jul 2007 10:54:39 -0000	1.31
+++ testsuite/actionscript.all/Inheritance.as	26 Jul 2007 03:41:18 -0000	1.32
@@ -1,26 +1,27 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for ActionScript inheritance
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Inheritance.as,v 1.31 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: Inheritance.as,v 1.32 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/LoadVars.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/LoadVars.as,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/actionscript.all/LoadVars.as	1 Jul 2007 10:54:39 -0000	1.12
+++ testsuite/actionscript.all/LoadVars.as	26 Jul 2007 03:41:18 -0000	1.13
@@ -1,26 +1,27 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for LoadVars ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: LoadVars.as,v 1.12 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: LoadVars.as,v 1.13 2007/07/26 03:41:18 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/LocalConnection.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/LocalConnection.as,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- testsuite/actionscript.all/LocalConnection.as	1 Jul 2007 10:54:39 -0000	1.15
+++ testsuite/actionscript.all/LocalConnection.as	26 Jul 2007 03:41:18 -0000	1.16
@@ -5,24 +5,22 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 // Test case for LocalConnection ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: LocalConnection.as,v 1.15 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: LocalConnection.as,v 1.16 2007/07/26 03:41:18 strk Exp $";
 
 #include "dejagnu.as"
 

Index: testsuite/actionscript.all/Math.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Math.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/actionscript.all/Math.as	1 Jul 2007 10:54:39 -0000	1.4
+++ testsuite/actionscript.all/Math.as	26 Jul 2007 03:41:19 -0000	1.5
@@ -5,18 +5,19 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
-rcsid="$Id: Math.as,v 1.4 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: Math.as,v 1.5 2007/07/26 03:41:19 strk Exp $";
 
 // Test case for Math ActionScript class
 //

Index: testsuite/actionscript.all/Microphone.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Microphone.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/Microphone.as	13 Jul 2007 20:37:05 -0000	1.10
+++ testsuite/actionscript.all/Microphone.as	26 Jul 2007 03:41:19 -0000	1.11
@@ -1,26 +1,27 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
 
 // Test case for Microphone ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Microphone.as,v 1.10 2007/07/13 20:37:05 strk Exp $";
+rcsid="$Id: Microphone.as,v 1.11 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Mouse.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Mouse.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/Mouse.as	13 Jul 2007 19:24:15 -0000	1.9
+++ testsuite/actionscript.all/Mouse.as	26 Jul 2007 03:41:19 -0000	1.10
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for Mouse ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Mouse.as,v 1.9 2007/07/13 19:24:15 strk Exp $";
+rcsid="$Id: Mouse.as,v 1.10 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/MovieClip.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClip.as,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -b -r1.77 -r1.78
--- testsuite/actionscript.all/MovieClip.as	25 Jul 2007 01:41:49 -0000	1.77
+++ testsuite/actionscript.all/MovieClip.as	26 Jul 2007 03:41:19 -0000	1.78
@@ -5,24 +5,22 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 // Test case for Function ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClip.as,v 1.77 2007/07/25 01:41:49 strk Exp $";
+rcsid="$Id: MovieClip.as,v 1.78 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/MovieClipLoader.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/MovieClipLoader.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/actionscript.all/MovieClipLoader.as	1 Jul 2007 10:54:39 -0000	1.2
+++ testsuite/actionscript.all/MovieClipLoader.as	26 Jul 2007 03:41:19 -0000	1.3
@@ -1,28 +1,27 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
+//
 //
 
 // Test case for MovieClipLoader ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: MovieClipLoader.as,v 1.2 2007/07/01 10:54:39 bjacques Exp $";
+rcsid="$Id: MovieClipLoader.as,v 1.3 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/NetConnection.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/NetConnection.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/NetConnection.as	1 Jul 2007 10:54:39 -0000	1.10
+++ testsuite/actionscript.all/NetConnection.as	26 Jul 2007 03:41:19 -0000	1.11
@@ -1,21 +1,19 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 // Test case for NetConnection ActionScript class

Index: testsuite/actionscript.all/NetStream.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/NetStream.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/NetStream.as	1 Jul 2007 10:54:40 -0000	1.11
+++ testsuite/actionscript.all/NetStream.as	26 Jul 2007 03:41:19 -0000	1.12
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for NetStream ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: NetStream.as,v 1.11 2007/07/01 10:54:40 bjacques Exp $";
+rcsid="$Id: NetStream.as,v 1.12 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Number.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Number.as,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- testsuite/actionscript.all/Number.as	25 Jul 2007 16:57:07 -0000	1.26
+++ testsuite/actionscript.all/Number.as	26 Jul 2007 03:41:19 -0000	1.27
@@ -1,7 +1,7 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
-// This program is free software; you can redistribute it and/or modchecky
+// This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
@@ -12,9 +12,10 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
-// along with this program; check not, write to the Free Software
-// Foundation, Inc., 51 Franklin St, Fcheckth Floor, Boston, MA  02110-1301  USA
+
 // Test case for Number ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
@@ -26,7 +27,7 @@
 // TODO: test with SWF target != 6 (the only one tested so far)
 //	
 
-rcsid="$Id: Number.as,v 1.26 2007/07/25 16:57:07 strk Exp $";
+rcsid="$Id: Number.as,v 1.27 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Object.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Object.as,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- testsuite/actionscript.all/Object.as	1 Jul 2007 10:54:40 -0000	1.25
+++ testsuite/actionscript.all/Object.as	26 Jul 2007 03:41:19 -0000	1.26
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for Object ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Object.as,v 1.25 2007/07/01 10:54:40 bjacques Exp $";
+rcsid="$Id: Object.as,v 1.26 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Selection.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Selection.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/Selection.as	1 Jul 2007 10:54:40 -0000	1.9
+++ testsuite/actionscript.all/Selection.as	26 Jul 2007 03:41:19 -0000	1.10
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for Selection ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Selection.as,v 1.9 2007/07/01 10:54:40 bjacques Exp $";
+rcsid="$Id: Selection.as,v 1.10 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/SharedObject.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/SharedObject.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/SharedObject.as	1 Jul 2007 10:54:40 -0000	1.9
+++ testsuite/actionscript.all/SharedObject.as	26 Jul 2007 03:41:19 -0000	1.10
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for SharedObject ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: SharedObject.as,v 1.9 2007/07/01 10:54:40 bjacques Exp $";
+rcsid="$Id: SharedObject.as,v 1.10 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Stage.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Stage.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/Stage.as	1 Jul 2007 10:54:40 -0000	1.11
+++ testsuite/actionscript.all/Stage.as	26 Jul 2007 03:41:19 -0000	1.12
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for Stage ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Stage.as,v 1.11 2007/07/01 10:54:40 bjacques Exp $";
+rcsid="$Id: Stage.as,v 1.12 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/System.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/System.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/System.as	1 Jul 2007 10:54:40 -0000	1.11
+++ testsuite/actionscript.all/System.as	26 Jul 2007 03:41:19 -0000	1.12
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for System ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: System.as,v 1.11 2007/07/01 10:54:40 bjacques Exp $";
+rcsid="$Id: System.as,v 1.12 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- testsuite/actionscript.all/TextField.as	24 Jul 2007 17:41:34 -0000	1.11
+++ testsuite/actionscript.all/TextField.as	26 Jul 2007 03:41:19 -0000	1.12
@@ -12,7 +12,6 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
-//
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
@@ -20,7 +19,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.11 2007/07/24 17:41:34 strk Exp $";
+rcsid="$Id: TextField.as,v 1.12 2007/07/26 03:41:19 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/TextSnapshot.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextSnapshot.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/TextSnapshot.as	1 Jul 2007 10:54:41 -0000	1.8
+++ testsuite/actionscript.all/TextSnapshot.as	26 Jul 2007 03:41:20 -0000	1.9
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for TextSnapshot ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextSnapshot.as,v 1.8 2007/07/01 10:54:41 bjacques Exp $";
+rcsid="$Id: TextSnapshot.as,v 1.9 2007/07/26 03:41:20 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/Video.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Video.as,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- testsuite/actionscript.all/Video.as	7 Jul 2007 12:56:09 -0000	1.10
+++ testsuite/actionscript.all/Video.as	26 Jul 2007 03:41:20 -0000	1.11
@@ -1,26 +1,26 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for Video ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: Video.as,v 1.10 2007/07/07 12:56:09 strk Exp $";
+rcsid="$Id: Video.as,v 1.11 2007/07/26 03:41:20 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/XML.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XML.as,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- testsuite/actionscript.all/XML.as	1 Jul 2007 10:54:41 -0000	1.34
+++ testsuite/actionscript.all/XML.as	26 Jul 2007 03:41:20 -0000	1.35
@@ -5,22 +5,22 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for XML ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: XML.as,v 1.34 2007/07/01 10:54:41 bjacques Exp $";
+rcsid="$Id: XML.as,v 1.35 2007/07/26 03:41:20 strk Exp $";
 
 #include "dejagnu.as"
 #include "utils.as"

Index: testsuite/actionscript.all/XMLNode.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XMLNode.as,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/actionscript.all/XMLNode.as	1 Jul 2007 10:54:41 -0000	1.12
+++ testsuite/actionscript.all/XMLNode.as	26 Jul 2007 03:41:20 -0000	1.13
@@ -5,22 +5,22 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for XML ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: XMLNode.as,v 1.12 2007/07/01 10:54:41 bjacques Exp $";
+rcsid="$Id: XMLNode.as,v 1.13 2007/07/26 03:41:20 strk Exp $";
 
 #include "dejagnu.as"
 

Index: testsuite/actionscript.all/XMLSocket.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/XMLSocket.as,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/actionscript.all/XMLSocket.as	1 Jul 2007 10:54:41 -0000	1.5
+++ testsuite/actionscript.all/XMLSocket.as	26 Jul 2007 03:41:20 -0000	1.6
@@ -5,22 +5,22 @@
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 // Test case for Function ActionScript class
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: XMLSocket.as,v 1.5 2007/07/01 10:54:41 bjacques Exp $";
+rcsid="$Id: XMLSocket.as,v 1.6 2007/07/26 03:41:20 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/check.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/check.as,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- testsuite/actionscript.all/check.as	1 Jul 2007 10:54:42 -0000	1.28
+++ testsuite/actionscript.all/check.as	26 Jul 2007 03:41:20 -0000	1.29
@@ -1,21 +1,19 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 #ifndef _CHECK_AS_

Index: testsuite/actionscript.all/dejagnu.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/dejagnu.as,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/actionscript.all/dejagnu.as	1 Jul 2007 10:54:42 -0000	1.9
+++ testsuite/actionscript.all/dejagnu.as	26 Jul 2007 03:41:20 -0000	1.10
@@ -1,20 +1,20 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
 
 #ifndef _DEJAGNU_AS_
 #define _DEJAGNU_AS_
@@ -31,7 +31,7 @@
 // different folks works for me as long as the standard keywords are
 // used to keep DejaGnu happy.
 
-//rcsid="$Id: dejagnu.as,v 1.9 2007/07/01 10:54:42 bjacques Exp $";
+//rcsid="$Id: dejagnu.as,v 1.10 2007/07/26 03:41:20 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/rtmp.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/rtmp.as,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- testsuite/actionscript.all/rtmp.as	1 Jul 2007 10:54:42 -0000	1.6
+++ testsuite/actionscript.all/rtmp.as	26 Jul 2007 03:41:20 -0000	1.7
@@ -1,25 +1,23 @@
 //
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 
-rcsid='$Id: rtmp.as,v 1.6 2007/07/01 10:54:42 bjacques Exp $';
+rcsid='$Id: rtmp.as,v 1.7 2007/07/26 03:41:20 strk Exp $';
 
 #include "dejagnu.as"
 #include "utils.as"

Index: testsuite/actionscript.all/rtrace.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/rtrace.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/actionscript.all/rtrace.as	1 Jul 2007 10:54:42 -0000	1.4
+++ testsuite/actionscript.all/rtrace.as	26 Jul 2007 03:41:20 -0000	1.5
@@ -1,21 +1,19 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 #ifndef _RTRACE_AS_

Index: testsuite/actionscript.all/utils.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/utils.as,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/actionscript.all/utils.as	1 Jul 2007 10:54:43 -0000	1.4
+++ testsuite/actionscript.all/utils.as	26 Jul 2007 03:41:20 -0000	1.5
@@ -1,21 +1,19 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 // Utilities for ActionScript tests

Index: testsuite/actionscript.all/with.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/with.as,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/actionscript.all/with.as	1 Jul 2007 10:54:43 -0000	1.12
+++ testsuite/actionscript.all/with.as	26 Jul 2007 03:41:20 -0000	1.13
@@ -1,18 +1,17 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
@@ -22,7 +21,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: with.as,v 1.12 2007/07/01 10:54:43 bjacques Exp $";
+rcsid="$Id: with.as,v 1.13 2007/07/26 03:41:20 strk Exp $";
 
 #include "check.as"
 

Index: testsuite/actionscript.all/xtrace.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/xtrace.as,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/actionscript.all/xtrace.as	1 Jul 2007 10:54:43 -0000	1.8
+++ testsuite/actionscript.all/xtrace.as	26 Jul 2007 03:41:20 -0000	1.9
@@ -1,21 +1,19 @@
 // 
-//   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation; either version 3 of the License, or
 // (at your option) any later version.
-
+//
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-
+//
 // You should have received a copy of the GNU General Public License
-
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 
 #ifndef _XTRACE_AS_

Index: testsuite/misc-ming.all/FlashVarsTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/FlashVarsTest.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-ming.all/FlashVarsTest.as	1 Jul 2007 10:54:46 -0000	1.2
+++ testsuite/misc-ming.all/FlashVarsTest.as	26 Jul 2007 03:41:21 -0000	1.3
@@ -12,7 +12,6 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
-//
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 

Index: testsuite/misc-ming.all/intervalTest.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/intervalTest.as,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- testsuite/misc-ming.all/intervalTest.as	1 Jul 2007 10:54:54 -0000	1.5
+++ testsuite/misc-ming.all/intervalTest.as	26 Jul 2007 03:41:21 -0000	1.6
@@ -12,7 +12,6 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
-//
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 

Index: testsuite/misc-mtasc.all/Dejagnu.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/Dejagnu.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-mtasc.all/Dejagnu.as	13 Jul 2007 02:26:32 -0000	1.2
+++ testsuite/misc-mtasc.all/Dejagnu.as	26 Jul 2007 03:41:21 -0000	1.3
@@ -13,7 +13,6 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
-//
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //

Index: testsuite/misc-mtasc.all/check.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/check.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-mtasc.all/check.as	13 Jul 2007 02:26:32 -0000	1.2
+++ testsuite/misc-mtasc.all/check.as	26 Jul 2007 03:41:21 -0000	1.3
@@ -13,7 +13,6 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
-//
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //

Index: testsuite/misc-mtasc.all/level5.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/level5.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-mtasc.all/level5.as	13 Jul 2007 02:26:32 -0000	1.2
+++ testsuite/misc-mtasc.all/level5.as	26 Jul 2007 03:41:21 -0000	1.3
@@ -13,7 +13,6 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
-//
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //

Index: testsuite/misc-mtasc.all/level99.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/level99.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-mtasc.all/level99.as	13 Jul 2007 02:26:32 -0000	1.2
+++ testsuite/misc-mtasc.all/level99.as	26 Jul 2007 03:41:21 -0000	1.3
@@ -13,7 +13,6 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
-//
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //

Index: testsuite/misc-mtasc.all/levels.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/levels.as,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- testsuite/misc-mtasc.all/levels.as	13 Jul 2007 02:26:32 -0000	1.2
+++ testsuite/misc-mtasc.all/levels.as	26 Jul 2007 03:41:21 -0000	1.3
@@ -13,7 +13,6 @@
 // GNU General Public License for more details.
 //
 // You should have received a copy of the GNU General Public License
-//
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //



From MAILER-DAEMON Thu Jul 26 00:05:55 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDubr-00042P-8C
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 00:05:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDubp-00042A-KG
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 00:05:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDubo-00041y-Qj
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 00:05:53 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDubo-00041v-NP
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 00:05:52 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDubo-00026f-9x
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 00:05:52 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDubn-0000No-DO
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:05:51 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDubn-0000Nl-4h
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:05:51 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDubn-0000Nl-4h@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 04:05:51 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 04:05:53 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 04:05:51

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: set the BUILD_<gui> conditionals *after* giving kde
	          gui a chance to be picked back as a dependency of 'klash'.
	          This fixes a buil bug when klash is enabled by only gtk gui is
	          selected.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3830&r2=1.3831
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.367&r2=1.368

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3830
retrieving revision 1.3831
diff -u -b -r1.3830 -r1.3831
--- ChangeLog	26 Jul 2007 03:41:16 -0000	1.3830
+++ ChangeLog	26 Jul 2007 04:05:50 -0000	1.3831
@@ -1,5 +1,9 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: set the BUILD_<gui> conditionals *after* giving kde
+	  gui a chance to be picked back as a dependency of 'klash'.
+	  This fixes a buil bug when klash is enabled by only gtk gui is
+	  selected.
 	* lots of files : fixed Copyright info (delete spurious empty line,
 	  add year 2007).
 

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.367
retrieving revision 1.368
diff -u -b -r1.367 -r1.368
--- configure.ac	24 Jul 2007 22:55:26 -0000	1.367
+++ configure.ac	26 Jul 2007 04:05:50 -0000	1.368
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.367 2007/07/24 22:55:26 strk Exp $
+dnl $Id: configure.ac,v 1.368 2007/07/26 04:05:50 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -593,15 +593,6 @@
   fi
 fi
 
-AM_CONDITIONAL(BUILD_GTK_GUI, [ test x$build_gtk = xyes ])
-AM_CONDITIONAL(BUILD_KDE_GUI, [ test x$build_kde = xyes ])
-dnl AM_CONDITIONAL(BUILD_QT_GUI, [ test x$build_qt = xyes ])
-AM_CONDITIONAL(BUILD_FLTK_GUI, [ test x$build_fltk = xyes ])
-AM_CONDITIONAL(BUILD_SDL_GUI, [ test x$build_sdl = xyes ])
-AM_CONDITIONAL(BUILD_FB_GUI, [ test x$build_fb = xyes ])
-AM_CONDITIONAL(BUILD_AQUA_GUI, [ test x$build_aqua = xyes ])
-AM_CONDITIONAL(BUILD_RISCOS_GUI, [ test x$build_riscos = xyes ])
-
 AM_CONDITIONAL(BUILD_OGL_RENDERER, [ test x$build_ogl = xyes ])
 AM_CONDITIONAL(BUILD_AGG_RENDERER, [ test x$build_agg = xyes ])
 AM_CONDITIONAL(BUILD_CAIRO_RENDERER, [ test x$build_cairo = xyes ])
@@ -961,12 +952,23 @@
 if test x$build_kde = xyes -o x$klash = xyes -o x$plugin = xno; then
   kde=yes
   qt=yes
+  build_kde=yes
   GNASH_PATH_KDE
   GNASH_PATH_QT
 fi
 AM_CONDITIONAL(HAVE_KDE, [test x$has_kde = xyes])
 AM_CONDITIONAL(HAVE_QT, [test x$has_qt = xyes])
 
+AM_CONDITIONAL(BUILD_GTK_GUI, [ test x$build_gtk = xyes ])
+AM_CONDITIONAL(BUILD_KDE_GUI, [ test x$build_kde = xyes ])
+dnl AM_CONDITIONAL(BUILD_QT_GUI, [ test x$build_qt = xyes ])
+AM_CONDITIONAL(BUILD_FLTK_GUI, [ test x$build_fltk = xyes ])
+AM_CONDITIONAL(BUILD_SDL_GUI, [ test x$build_sdl = xyes ])
+AM_CONDITIONAL(BUILD_FB_GUI, [ test x$build_fb = xyes ])
+AM_CONDITIONAL(BUILD_AQUA_GUI, [ test x$build_aqua = xyes ])
+AM_CONDITIONAL(BUILD_RISCOS_GUI, [ test x$build_riscos = xyes ])
+
+
 dnl # NO kde ? NO klash !
 if test x$has_kde != xyes; then
   if test x$klash = xyes; then



From MAILER-DAEMON Thu Jul 26 01:15:01 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDvgj-0006kJ-El
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 01:15:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDvgf-0006jV-Rd
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 01:14:57 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDvge-0006j7-JD
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 01:14:57 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDvge-0006j3-Cz
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 01:14:56 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IDvge-0005gl-1i
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 01:14:56 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IDvgc-0002DL-QJ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 05:14:54 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IDvgc-0002DD-H1
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 05:14:54 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDvgc-0002DD-H1@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 05:14:54 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/Player.h gui...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 05:14:58 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 05:14:54

Modified files:
	.              : ChangeLog 
	gui            : Player.cpp Player.h gnash.cpp 

Log message:
	        * gui/Player.{cpp,h}: add support for multiple GUI libs.
	          They can be statically or dynamically linked (not loaded as plugins
	          yet).
	        * gui/gnash.cpp: add a -G switch to select GUI. If the gui wasn't
	          compiled in an exception will be thrown (and dunno why not propery
	          cought..).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3831&r2=1.3832
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.58&r2=1.59
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.h?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.85&r2=1.86

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3831
retrieving revision 1.3832
diff -u -b -r1.3831 -r1.3832
--- ChangeLog	26 Jul 2007 04:05:50 -0000	1.3831
+++ ChangeLog	26 Jul 2007 05:14:53 -0000	1.3832
@@ -1,5 +1,14 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* gui/Player.{cpp,h}: add support for multiple GUI libs.
+	  They can be statically or dynamically linked (not loaded as plugins
+	  yet).
+	* gui/gnash.cpp: add a -G switch to select GUI. If the gui wasn't
+	  compiled in an exception will be thrown (and dunno why not propery
+	  cought..).
+
+2007-07-25 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: set the BUILD_<gui> conditionals *after* giving kde
 	  gui a chance to be picked back as a dependency of 'klash'.
 	  This fixes a buil bug when klash is enabled by only gtk gui is

Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- gui/Player.cpp	2 Jul 2007 18:32:53 -0000	1.58
+++ gui/Player.cpp	26 Jul 2007 05:14:54 -0000	1.59
@@ -21,36 +21,39 @@
 #include "config.h"
 #endif
 
-#ifndef GUI_KDE
-# ifdef GUI_GTK
+#ifdef GUI_GTK
 #  include "gtksup.h"
-#  define GUI_CLASS GtkGui
-# elif defined(GUI_SDL)
+# define DEFAULT_GUI guiGTK
+#endif
+
+#ifdef GUI_SDL
 #  include "sdlsup.h"
-#  define GUI_CLASS SDLGui
-# elif defined(GUI_AQUA)
+# define DEFAULT_GUI guiSDL
+#endif
+
+#ifdef GUI_AQUA
 #  include "aquasup.h"
-#  define GUI_CLASS AquaGui
-# elif defined(GUI_RISCOS)
+# define DEFAULT_GUI guiAQUA
+#endif
+
+#ifdef GUI_RISCOS
 #  include "riscossup.h"
-#  define GUI_CLASS RiscosGui
-# elif defined(GUI_FLTK)
+# define DEFAULT_GUI guiRISCOS
+#endif
+
+#ifdef GUI_FLTK
 #  include "fltksup.h"
-#  define GUI_CLASS FltkGui
-# endif
-#else
-# ifdef HAVE_KDE
-#  include "kdesup.h"
-#  define GUI_CLASS KdeGui
-# else
-#  error "KDE development packages not installed!"
-# endif
+# define DEFAULT_GUI guiFLTK
 #endif
 
+#ifdef GUI_KDE
+# include "kdesup.h"
+# define DEFAULT_GUI guiKDE
+#endif
 
 #ifdef GUI_FB
 # include "fbsup.h"
-# define GUI_CLASS FBGui 
+# define DEFAULT_GUI guiFB
 #endif
 
 #include "NullGui.h"
@@ -62,6 +65,7 @@
 #include "movie_root.h" 
 #include "Player.h"
 
+#include "StringPredicates.h"
 #include "URL.h"
 #include "rc.h"
 #include "GnashException.h"
@@ -114,6 +118,7 @@
 #ifdef GNASH_FPS_DEBUG
 	,_fpsDebugTime(0.0)
 #endif
+	,_guiFlavor(DEFAULT_GUI)
 {
 	init();
 }
@@ -207,7 +212,7 @@
 {
 	if ( do_render )
 	{
-		_gui.reset(new GUI_CLASS(windowid, scale, do_loop, bit_depth));
+		_gui = getGui(_guiFlavor); // throws on unsupported gui
 
 		RcInitFile& rcfile = RcInitFile::getDefaultInstance();
 		if ( rcfile.startStopped() )
@@ -390,3 +395,82 @@
 {
     log_msg(_("fs_callback(%p): %s %s"), (void*)movie, command, args);
 }
+
+/* private */
+std::auto_ptr<Gui>
+Player::getGui(GuiFlavor which)
+{
+	switch (which)
+	{
+
+		case guiGTK:
+#ifdef GUI_GTK // if we've been built with support for GTK
+			return std::auto_ptr<Gui>(new GtkGui(windowid, scale, do_loop, bit_depth));
+#endif
+
+		case guiKDE:
+#ifdef GUI_KDE // if we've been built with support for KDE
+			return std::auto_ptr<Gui>(new KdeGui(windowid, scale, do_loop, bit_depth));
+#else
+			throw GnashException("Support for KDE gui was not compiled in");
+#endif
+
+		case guiSDL:
+#ifdef GUI_SDL // if we've been built with support for SDL
+			return std::auto_ptr<Gui>(new SDLGui(windowid, scale, do_loop, bit_depth));
+#else
+			throw GnashException("Support for SDL gui was not compiled in");
+#endif
+
+		case guiAQUA:
+#ifdef GUI_AQUA // if we've been built with support for AQUA
+			return std::auto_ptr<Gui>(new AquaGui(windowid, scale, do_loop, bit_depth));
+#else
+			throw GnashException("Support for AQUA gui was not compiled in");
+#endif
+
+		case guiRISCOS:
+#ifdef GUI_RISCOS // if we've been built with support for RISCOS
+			return std::auto_ptr<Gui>(new RiscosGui(windowid, scale, do_loop, bit_depth));
+#else
+			throw GnashException("Support for RISCOS gui was not compiled in");
+#endif
+
+		case guiFLTK:
+#ifdef GUI_FLTK // if we've been built with support for FLTK
+			return std::auto_ptr<Gui>(new FltkGui(windowid, scale, do_loop, bit_depth));
+#else
+			throw GnashException("Support for FLTK gui was not compiled in");
+#endif
+
+		case guiFB:
+#ifdef GUI_FB // if we've been built with support for FB
+			return std::auto_ptr<Gui>(new FBGui(windowid, scale, do_loop, bit_depth));
+#else
+			throw GnashException("Support for FB gui was not compiled in");
+#endif
+
+	}
+
+	std::stringstream ss;
+	ss << "Unknown gui flavor " << which << " requested";
+	throw GnashException(ss.str());
+}
+
+Player::GuiFlavor
+Player::parseGuiFlavorByName(const std::string& flavorName)
+{
+	StringNoCaseEqual match;
+
+	if ( match(flavorName, "GTK") ) return guiGTK;
+	if ( match(flavorName, "KDE") ) return guiKDE;
+	if ( match(flavorName, "SDL") ) return guiSDL;
+	if ( match(flavorName, "FLTK") ) return guiFLTK;
+	if ( match(flavorName, "FB") ) return guiFB;
+	if ( match(flavorName, "AQUA") ) return guiAQUA;
+	if ( match(flavorName, "RISCOS") ) return guiRISCOS;
+
+	std::stringstream ss;
+	ss << "Unknown Gui flavor " << flavorName;
+	throw GnashException(ss.str());
+}

Index: gui/Player.h
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gui/Player.h	2 Jul 2007 18:32:53 -0000	1.12
+++ gui/Player.h	26 Jul 2007 05:14:54 -0000	1.13
@@ -53,6 +53,30 @@
 {
 public:
 
+	enum GuiFlavor {
+
+		/// GTK gui
+		guiGTK,
+
+		/// QT/KDE gui
+		guiKDE,
+
+		/// SDL gui
+		guiSDL,
+
+		/// AQUA gui (for OS/X)
+		guiAQUA,
+
+		/// RISCOS gui
+		guiRISCOS,
+
+		/// FLTK2 gui
+		guiFLTK,
+
+		/// Framebuffer (no gui actually)
+		guiFB
+	};
+
 	Player();
 
 	~Player() {}
@@ -110,6 +134,16 @@
 
 	void setDoSound(bool b) { do_sound=b; }
 
+	/// Set gui flavor by name
+	//
+	/// Throws an exception if gui name is invalid
+	///
+	void setGuiFlavor(const std::string& flavorName) {
+		setGuiFlavor(parseGuiFlavorByName(flavorName));
+	}
+
+	void setGuiFlavor(GuiFlavor which) { _guiFlavor = which; }
+
 	/// Set the base url for this run.
 	//
 	/// The base url will be used to resolve relative
@@ -137,6 +171,13 @@
 	
 private:
 
+	/// Parse gui by name
+	//
+	/// Throws an exception if gui name is invalid
+	///
+	GuiFlavor parseGuiFlavorByName(const std::string& flavorName);
+
+
 	void init();
 
 	void init_sound();
@@ -145,6 +186,11 @@
 
 	void init_gui();
 
+	/// Initialize the given gui with parameters stored so far
+	//
+	/// Throws GnashException if the gui flavor provided isn't supported
+	std::auto_ptr<Gui> getGui(GuiFlavor which);
+
 	static void setFlashVars(sprite_instance& m, const std::string& varstr);
 
 	static void fs_callback(sprite_instance* movie,
@@ -197,6 +243,9 @@
 #ifdef GNASH_FPS_DEBUG
 	float _fpsDebugTime;
 #endif
+
+	GuiFlavor _guiFlavor;
+
 };
 
  

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -b -r1.85 -r1.86
--- gui/gnash.cpp	25 Jul 2007 12:38:28 -0000	1.85
+++ gui/gnash.cpp	26 Jul 2007 05:14:54 -0000	1.86
@@ -93,6 +93,7 @@
         "\n"), _(
         "  -h, --help    Print this info.\n"
         "  -s <factor>   Scale the movie up/down by the specified factor\n"
+	"  -G <guiname>  Use specified gui (gtk|kde|fltk|aqua|riscos|fb)\n"
         "  -c            Produce a core file instead of letting SDL trap it\n"
         "  -d num        Number of milliseconds to delay in main loop\n"
         "  -v            Be verbose; i.e. print log messages to stdout\n"
@@ -206,7 +207,7 @@
         }
     }
     
-    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:gVf:")) != -1)
+    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:gVf:G:")) != -1)
     {
 	switch (c) {
     	  // case 'c' (Disable SDL core dumps) is decoded in sdl.cpp:init()
@@ -317,6 +318,9 @@
           case 't':
               player.setExitTimeout( (float) atof(optarg) );
               break;
+          case 'G':
+              player.setGuiFlavor(optarg);
+              break;
           case 'b':
 	      player.setBitDepth(atoi(optarg));
 	      break;
@@ -396,7 +400,17 @@
 
 	rcfile.loadFiles();
 
-	parseCommandLine(argc, argv, player);
+	try { parseCommandLine(argc, argv, player); }
+	catch (const std::exception& ex)
+	{
+		cerr << ex.what() << endl;
+		exit(EXIT_FAILURE);
+	}
+	catch (...)
+	{
+		cerr << "Exception thrown during parseCommandLine" << endl;
+		exit(EXIT_FAILURE);
+	}
 
 	// No file name was supplied
 	if (!infile) {



From MAILER-DAEMON Thu Jul 26 01:20:27 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDvlz-0000PJ-Ae
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 01:20:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDvlw-0000P2-MA
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 01:20:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDvlu-0000OP-BF
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 01:20:23 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDvlu-0000OA-54
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 01:20:22 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IDvlt-0006kX-F8
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 01:20:21 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6Q5KI840724;
	Thu, 26 Jul 2007 07:20:18 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Thu, 26 Jul 2007 07:20:17 +0200
From: Sandro Santilli <strk@keybit.net>
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/Player.h gui...
Message-ID: <20070726052017.GA27893@keybit.net>
Mail-Followup-To: gnash-commit@gnu.org, Rob Savoye <rob@welcomehome.org>
References: <E1IDvgc-0002DD-H1@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1IDvgc-0002DD-H1@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: 
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 05:20:24 -0000

On Thu, Jul 26, 2007 at 05:14:54AM +0000, Sandro Santilli wrote:
> CVSROOT:	/sources/gnash
> Module name:	gnash
> Changes by:	Sandro Santilli <strk>	07/07/26 05:14:54
> 
> Modified files:
> 	.              : ChangeLog 
> 	gui            : Player.cpp Player.h gnash.cpp 
> 
> Log message:
> 	        * gui/Player.{cpp,h}: add support for multiple GUI libs.
> 	          They can be statically or dynamically linked (not loaded as plugins
> 	          yet).
> 	        * gui/gnash.cpp: add a -G switch to select GUI. If the gui wasn't
> 	          compiled in an exception will be thrown (and dunno why not propery
> 	          cought..).

With this patch, libgnashplayer might be built again, with a set of gui/renderer libraries linked
to it (either statically or dynamically) as long as corresponding GUI_XXX defines are provided
to Player.cpp so it knows which guis lib symbols to reference and which not.

Then, 'gnash' would link against libgnashplayer, which would link to libgnashgui, which would link
to any combination of GUI/RENREDER selected.

'klash' could just be an hard-link to 'gnash', which would check argv[0] and act as if -G kde was
given in case it is 'klash'.

With this setup I think we can go 0.8.1.
Plugin-based load of GUIs seems a bit farther away from this, relatively simple, setup.

--strk;



From MAILER-DAEMON Thu Jul 26 02:52:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDxCk-0008Sp-HO
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 02:52:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDxCi-0008SA-EJ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 02:52:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDxCg-0008RO-Px
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 02:52:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDxCg-0008RJ-Dr
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 02:52:06 -0400
Received: from mx20.gnu.org ([199.232.41.8])
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@darkstar.welcomehome.org>)
	id 1IDxCf-0002IZ-Ks
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 02:52:05 -0400
Received: from moongulch.net ([69.15.127.230] helo=darkstar.welcomehome.org)
	by mx20.gnu.org with esmtp (Exim 4.60)
	(envelope-from <rob@darkstar.welcomehome.org>) id 1IDxCe-0007he-AQ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 02:52:04 -0400
Received: from darkstar.welcomehome.org (localhost.localdomain [127.0.0.1])
	by darkstar.welcomehome.org (8.13.8/8.13.8) with ESMTP id
	l6Q6pvol024292
	for <gnash-commit@gnu.org>; Thu, 26 Jul 2007 00:51:57 -0600
Received: (from rob@localhost)
	by darkstar.welcomehome.org (8.13.8/8.13.8/Submit) id l6Q6pvxr024291
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 00:51:57 -0600
Date: Thu, 26 Jul 2007 00:51:57 -0600
From: Rob Savoye <rob@welcomehome.org>
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/Player.h gui...
Message-ID: <20070726065157.GA24270@welcomehome.org>
References: <E1IDvgc-0002DD-H1@cvs.savannah.gnu.org>
	<20070726052017.GA27893@keybit.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070726052017.GA27893@keybit.net>
User-Agent: Mutt/1.4.2.2i
X-detected-kernel: Linux 2.6 (newer, 3)
X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4)
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 06:52:08 -0000

On Thu, Jul 26, 2007 at 07:20:17AM +0200, Sandro Santilli wrote:

> With this patch, libgnashplayer might be built again, with a set of gui/renderer libraries linked
> to it (either statically or dynamically) as long as corresponding GUI_XXX defines are provided
> to Player.cpp so it knows which guis lib symbols to reference and which not.

 This will break any attempts at dynamic loading, as Player.cpp gets compiled
with different gui configurations. So player has to be part of the
"gui_render" library that gets built, and not standalone. I'm still at OSCON
for a few more days, but I guess I'll have to fix this when I get back. This
"fix" as it is now will only work with the current config where the libs get
get linked in to the executable.

	- rob -




From MAILER-DAEMON Thu Jul 26 03:27:34 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDxl0-0006hP-H0
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 03:27:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDxkz-0006hC-3m
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 03:27:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDxkx-0006gs-TL
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 03:27:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDxkx-0006gp-Me
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 03:27:31 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IDxkx-0002x0-FH
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 03:27:31 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IDxkv-0007ZI-Ls
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 07:27:29 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IDxkv-0007ZB-EZ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 07:27:29 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDxkv-0007ZB-EZ@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Thu, 26 Jul 2007 07:27:29 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 07:27:33 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/26 07:27:29

Modified files:
	gui            : aqua.cpp 

Log message:
	Quit in a nice way...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- aqua.cpp	25 Jul 2007 00:32:02 -0000	1.23
+++ aqua.cpp	26 Jul 2007 07:27:29 -0000	1.24
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.23 2007/07/25 00:32:02 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.24 2007/07/26 07:27:29 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -47,7 +47,7 @@
 pascal OSStatus DoWindowClose (EventHandlerCallRef  nextHandler,
                                EventRef             theEvent,
                                void*                userData){
-	exit(0);
+	QuitApplicationEventLoop();
 }
 
 namespace gnash {



From MAILER-DAEMON Thu Jul 26 04:48:19 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDz18-0006z4-Ob
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 04:48:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDz16-0006uC-Ug
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:48:16 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDz16-0006t3-8v
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:48:16 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDz16-0006sq-2K
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:48:16 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IDz15-00068Q-Li
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:48:15 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IDz14-0004tC-HC
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 08:48:14 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IDz14-0004t9-C7
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 08:48:14 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDz14-0004t9-C7@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Thu, 26 Jul 2007 08:48:14 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui/images GnashG.icns
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 08:48:17 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/26 08:48:14

Added files:
	gui/images     : GnashG.icns 

Log message:
	OS X icon.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/images/GnashG.icns?cvsroot=gnash&rev=1.1

Patches:
Index: GnashG.icns
===================================================================
RCS file: GnashG.icns
diff -N GnashG.icns
Binary files /dev/null and /tmp/cvsOHNEF7 differ



From MAILER-DAEMON Thu Jul 26 04:49:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IDz2J-0008An-Lz
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 04:49:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IDz2I-0008AR-3r
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:49:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IDz2H-0008A4-GF
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:49:29 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IDz2H-00089u-7b
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:49:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IDz2G-0006Po-Tj
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 04:49:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IDz2G-0004uo-DJ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 08:49:28 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IDz2G-0004ul-9u
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 08:49:28 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IDz2G-0004ul-9u@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Thu, 26 Jul 2007 08:49:28 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Info.plist
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 08:49:30 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/26 08:49:28

Added files:
	gui            : Info.plist 

Log message:
	OS X stuff

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist?cvsroot=gnash&rev=1.1

Patches:
Index: Info.plist
===================================================================
RCS file: Info.plist
diff -N Info.plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Info.plist	26 Jul 2007 08:49:28 -0000	1.1
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>gnash</string>
+	<key>CFBundleIconFile</key>
+	<string></string>
+	<key>CFBundleIdentifier</key>
+	<string>com.gnash.aqua</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>1.0</string>
+	<key>CSResourcesFileMapped</key>
+	<true/>
+</dict>
+</plist>



From MAILER-DAEMON Thu Jul 26 09:30:45 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE3QT-0006hl-2b
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 09:30:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE3QQ-0006dX-Nn
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 09:30:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE3QP-0006bv-QP
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 09:30:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE3QP-0006br-Nn
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 09:30:41 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IE3QP-000857-06
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 09:30:41 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6QDUSr48615;
	Thu, 26 Jul 2007 15:30:28 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Thu, 26 Jul 2007 15:30:28 +0200
To: Rob Savoye <rob@welcomehome.org>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/Player.h gui...
Message-ID: <20070726133028.GB27893@keybit.net>
Mail-Followup-To: Rob Savoye <rob@welcomehome.org>, gnash-commit@gnu.org
References: <E1IDvgc-0002DD-H1@cvs.savannah.gnu.org>
	<20070726052017.GA27893@keybit.net>
	<20070726065157.GA24270@welcomehome.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070726065157.GA24270@welcomehome.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 13:30:43 -0000

On Thu, Jul 26, 2007 at 12:51:57AM -0600, Rob Savoye wrote:
> On Thu, Jul 26, 2007 at 07:20:17AM +0200, Sandro Santilli wrote:
> 
> > With this patch, libgnashplayer might be built again, with a set of gui/renderer libraries linked
> > to it (either statically or dynamically) as long as corresponding GUI_XXX defines are provided
> > to Player.cpp so it knows which guis lib symbols to reference and which not.
> 
>  This will break any attempts at dynamic loading, as Player.cpp gets compiled
> with different gui configurations. So player has to be part of the
> "gui_render" library that gets built, and not standalone.

I actually added to Player.cpp the logic to select GUI at runtime.
What I'm stuck in now is we can't include headers from gtk *and* kde
in the same .cpp due to name clashes. I'd abstract Gui creation out
similarly to what is done in render_handler_xxx.h (only a C-linkage
creation function is exposed)

> I'm still at OSCON

Could you create a wiki account to davr from there ?

> for a few more days, but I guess I'll have to fix this when I get back. This
> "fix" as it is now will only work with the current config where the libs get
> get linked in to the executable.

Yes, this is the idea for 0.8.1, once the abstraction for creating GUI
is there though, changing to a plugin-style shouldn't be too hard.


--strk;



From MAILER-DAEMON Thu Jul 26 10:39:18 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE4Uo-0001Zs-12
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 10:39:18 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE4Ul-0001YV-Bh
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 10:39:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE4Ui-0001XA-F0
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 10:39:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE4Ui-0001X7-Ak
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 10:39:12 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IE4Uh-0002mG-Na
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 10:39:12 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IE4Ug-0004f6-DC
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 14:39:10 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IE4Ug-0004f3-7v
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 14:39:10 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE4Ug-0004f3-7v@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 14:39:10 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Makefile.am gui/Player.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 14:39:15 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 14:39:10

Modified files:
	.              : ChangeLog 
	gui            : Makefile.am Player.cpp Player.h gui.h 
Added files:
	gui            : gui_aqua.cpp gui_fb.cpp gui_fltk.cpp 
	                 gui_gtk.cpp gui_kde.cpp gui_riscos.cpp 
	                 gui_sdl.cpp 

Log message:
	        * gui/Makefile.am: build libgnashplayer again,
	          linked against libgnashgui, which is linked
	          against any gui/renderer specific lib that was
	          built
	        * gui/Player.{cpp,h}: use named constructors to create
	          guis, so to avoid the need of including GUI-specific
	          headers (which do conflict).
	        * gui/gui.h: make constructors protected, provide named
	          (free functions) constructors for the different guis.
	        * gui/: gui_aqua.cpp, gui_fb.cpp, gui_fltk.cpp, gui_gtk.cpp,
	          gui_kde.cpp, gui_riscos.cpp, gui_sdl.cpp: modules implementing
	          the GUI named constructors.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3832&r2=1.3833
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.87&r2=1.88
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.59&r2=1.60
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.h?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.56&r2=1.57
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui_aqua.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui_fb.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui_fltk.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui_gtk.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui_kde.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui_riscos.cpp?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui_sdl.cpp?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3832
retrieving revision 1.3833
diff -u -b -r1.3832 -r1.3833
--- ChangeLog	26 Jul 2007 05:14:53 -0000	1.3832
+++ ChangeLog	26 Jul 2007 14:39:08 -0000	1.3833
@@ -1,5 +1,20 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* gui/Makefile.am: build libgnashplayer again,
+	  linked against libgnashgui, which is linked
+	  against any gui/renderer specific lib that was
+	  built
+	* gui/Player.{cpp,h}: use named constructors to create
+	  guis, so to avoid the need of including GUI-specific
+	  headers (which do conflict).
+	* gui/gui.h: make constructors protected, provide named
+	  (free functions) constructors for the different guis.
+	* gui/: gui_aqua.cpp, gui_fb.cpp, gui_fltk.cpp, gui_gtk.cpp,
+	  gui_kde.cpp, gui_riscos.cpp, gui_sdl.cpp: modules implementing
+	  the GUI named constructors.
+
+2007-07-25 Sandro Santilli <strk@keybit.net>
+
 	* gui/Player.{cpp,h}: add support for multiple GUI libs.
 	  They can be statically or dynamically linked (not loaded as plugins
 	  yet).

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- gui/Makefile.am	25 Jul 2007 13:38:29 -0000	1.87
+++ gui/Makefile.am	26 Jul 2007 14:39:09 -0000	1.88
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.87 2007/07/25 13:38:29 strk Exp $
+# $Id: Makefile.am,v 1.88 2007/07/26 14:39:09 strk Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -24,7 +24,7 @@
 # this is where Gnash plugins get installed
 pluginsdir = $(libdir)/gnash/plugins
 
-lib_LTLIBRARIES = libgnashgui.la
+lib_LTLIBRARIES = libgnashgui.la libgnashplayer.la
 BUILT_SOURCES = klash.moc .configline
 
 AM_CPPFLAGS = -I.. \
@@ -61,6 +61,9 @@
 	$(GLIB_LIBS) \
 	$(EXPAT_LIBS)
 
+# The following will be filled up later
+GUI_CPPFLAGS = 
+
 ## WARNING: make sure GLIB_LIBS appears first
 ## See: http://lists.gnu.org/archive/html/gnash-dev/2006-07/msg00076.html
 AM_LDFLAGS =  \
@@ -74,6 +77,46 @@
 	$(PTHREAD_LIBS) \
 	$(NULL)
 
+libgnashgui_la_SOURCES = \
+	gui.cpp gui.h \
+	NullGui.cpp \
+	gui_gtk.cpp \
+	gui_kde.cpp \
+	gui_sdl.cpp \
+	gui_fb.cpp \
+	gui_fltk.cpp \
+	gui_aqua.cpp \
+	gui_riscos.cpp \
+	NullGui.h
+
+libgnashgui_la_LIBADD = \
+	$(top_builddir)/server/libgnashserver.la \
+	$(top_builddir)/backend/libgnashbackend.la \
+	$(top_builddir)/libamf/libgnashamf.la 
+
+# is LDFLAGS still needed when AM_LDFLAGS is defined already ?
+libgnashgui_la_LDFLAGS = \
+	-release $(VERSION) \
+	$(AM_LDFLAGS)
+
+libgnashgui_la_CPPFLAGS = $(AM_CPPFLAGS) $(GUI_CPPFLAGS)
+
+
+libgnashplayer_la_SOURCES = \
+        Player.cpp Player.h
+
+libgnashplayer_la_LIBADD = \
+        $(top_builddir)/server/libgnashserver.la \
+        $(top_builddir)/backend/libgnashbackend.la \
+        libgnashgui.la
+
+libgnashplayer_la_CPPFLAGS = $(AM_CPPFLAGS) $(GUI_CPPFLAGS)
+libgnashplayer_la_LDFLAGS = \
+        -release $(VERSION) \
+        -no-undefined \
+        -export-dynamic \
+        $(AM_LDFLAGS)
+
 GNASH_LIBS = \
 	$(top_builddir)/libamf/libgnashamf.la \
 	$(top_builddir)/backend/libgnashbackend.la \
@@ -88,10 +131,6 @@
 	$(top_builddir)/libgeometry/libgnashgeo.la \
 	$(top_builddir)/libbase/libgnashbase.la
 
-# The player class has to be added to each GUI library because it
-# requires an ifdef to change between the various GUI toolkits.
-PLAYER_SRCS = Player.cpp Player.h
-
 #
 # Build the libraries that hold the combined GUI toolkit and
 # renderer. These are built as static libraries if doing a static
@@ -114,165 +153,186 @@
 
 # AQUA Toolkit
 if BUILD_AQUA_GUI
+     GUI_CPPFLAGS += -DGUI_AQUA
 if  HAVE_OPENGL
-     plugins_LTLIBRARIES += libgnashaqua_gl.la
-     libgnashaqua_gl_la_CPPFLAGS = -DGUI_AQUA $(AM_CPPFLAGS) \
+     plugins_LTLIBRARIES += libgnashaqua_ogl.la
+     libgnashaqua_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(OPENGL_CFLAGS)
-     libgnashaqua_gl_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashaqua_ogl_la_SOURCES = \
 	aqua_ogl_glue.cpp aqua_ogl_glue.h \
 	aqua.cpp aquasup.h aqua_glue.h
-     libgnashaqua_gl_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashaqua_gl_la_LIBADD = \
-	$(top_builddir)/backend/libgnashogl.la libgnashgui.la
+     libgnashaqua_ogl_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashaqua_ogl_la_LIBADD = \
+	$(top_builddir)/backend/libgnashogl.la 
+     libgnashgui_la_LIBADD += libgnashaqua_ogl.la
 endif # HAVE_OPENGL
 endif # BUILD_AQUA_GUI
 
 # GTK2 Toolkit
 if BUILD_GTK_GUI
+     GUI_CPPFLAGS += -DGUI_GTK $(GTK_CFLAGS)
 if  HAVE_OPENGL
-     plugins_LTLIBRARIES += libgnashgtk_gl.la
-     libgnashgtk_gl_la_CPPFLAGS = -DGUI_GTK $(AM_CPPFLAGS) \
+     plugins_LTLIBRARIES += libgnashgtk_ogl.la
+     libgnashgtk_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(GTK_CFLAGS) $(OPENGL_CFLAGS)
-     libgnashgtk_gl_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashgtk_ogl_la_SOURCES = \
 	gtk_glue_gtkglext.cpp gtk_glue_gtkglext.h \
 	gtk.cpp gtksup.h gtk_glue.h
-     libgnashgtk_gl_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashgtk_gl_la_LIBADD = \
-	$(top_builddir)/backend/libgnashogl.la libgnashgui.la $(GTK_LIBS)
+     libgnashgtk_ogl_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashgtk_ogl_la_LIBADD = \
+	$(top_builddir)/backend/libgnashogl.la $(GTK_LIBS)
+     libgnashgui_la_LIBADD += libgnashgtk_ogl.la
 endif # HAVE_OPENGL
 if  HAVE_AGG
      plugins_LTLIBRARIES += libgnashgtk_agg.la
-     libgnashgtk_agg_la_CPPFLAGS = -DGUI_GTK $(AM_CPPFLAGS) \
+     libgnashgtk_agg_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(GTK_CFLAGS) $(AGG_CFLAGS)
-     libgnashgtk_agg_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashgtk_agg_la_SOURCES = \
 	gtk_glue_agg.cpp gtk_glue_agg.h \
 	gtk.cpp gtksup.h gtk_glue.h
      libgnashgtk_agg_la_LDFLAGS = $(LIB_FLAGS)
      libgnashgtk_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
+	$(top_builddir)/backend/libgnashagg.la \
 	$(GTK_LIBS) $(AGG_LIBS)
+     libgnashgui_la_LIBADD += libgnashgtk_agg.la
 endif # HAVE_AGG
 if  HAVE_CAIRO
      plugins_LTLIBRARIES += libgnashgtk_cairo.la
-     libgnashgtk_cairo_la_CPPFLAGS = -DGUI_GTK $(AM_CPPFLAGS) \
+     libgnashgtk_cairo_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(GTK_CFLAGS) $(CAIRO_CFLAGS)
-     libgnashgtk_cairo_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashgtk_cairo_la_SOURCES = \
 	gtk_glue_cairo.cpp gtk_glue_cairo.h \
 	gtk.cpp gtksup.h gtk_glue.h
      libgnashgtk_cairo_la_LDFLAGS = $(LIB_FLAGS)
      libgnashgtk_cairo_la_LIBADD = \
-	$(top_builddir)/backend/libgnashcairo.la  libgnashgui.la \
+	$(top_builddir)/backend/libgnashcairo.la \
 	$(GTK_LIBS) $(CAIRO_LIBS)
+     libgnashgui_la_LIBADD += libgnashgtk_cairo.la
 endif # HAVE_CAIRO
 endif # BUILD_GTK_GUI
 
 # KDE/QT Toolkit
 if BUILD_KDE_GUI
+     GUI_CPPFLAGS += -DGUI_KDE $(KDE_CFLAGS) $(QT_CFLAGS)
 if  HAVE_OPENGL
-     plugins_LTLIBRARIES += libgnashkde_gl.la
-     libgnashkde_gl_la_CPPFLAGS = -DGUI_KDE $(AM_CPPFLAGS) \
+     plugins_LTLIBRARIES += libgnashkde_ogl.la
+     libgnashkde_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(OPENGL_FLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
-     libgnashkde_gl_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashkde_ogl_la_SOURCES = \
 	kde_glue_opengl.cpp kde_glue.h \
 	kde.cpp kdesup.h kde_glue.h
-     libgnashkde_gl_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashkde_gl_la_LIBADD = libgnashgui.la \
+     libgnashkde_ogl_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashkde_ogl_la_LIBADD = \
 	$(top_builddir)/backend/libgnashogl.la \
 	$(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
+     libgnashgui_la_LIBADD += libgnashkde_ogl.la
 endif # HAVE_OPENGL
 if  HAVE_AGG
      plugins_LTLIBRARIES += libgnashkde_agg.la
-     libgnashkde_agg_la_CPPFLAGS = -DGUI_KDE $(AM_CPPFLAGS) \
+     libgnashkde_agg_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(AGG_CFLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
-     libgnashkde_agg_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashkde_agg_la_SOURCES = \
 	kde_glue_agg.cpp kde_glue_agg.h \
 	kde.cpp kdesup.h kde_glue.h
      libgnashkde_agg_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashkde_agg_la_LIBADD = libgnashgui.la \
+     libgnashkde_agg_la_LIBADD = \
 	$(top_builddir)/backend/libgnashagg.la \
 	$(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
+     libgnashgui_la_LIBADD += libgnashkde_agg.la
 endif # HAVE_AGG
 endif # BUILD_KDE_GUI
 
 # SDL Toolkit
 if BUILD_SDL_GUI
+     GUI_CPPFLAGS += -DGUI_SDL $(SDL_CFLAGS)
 if  HAVE_OPENGL
-     plugins_LTLIBRARIES += libgnashsdl_gl.la
-     libgnashsdl_gl_la_CPPFLAGS = -DGUI_SDL $(AM_CPPFLAGS) \
+     plugins_LTLIBRARIES += libgnashsdl_ogl.la
+     libgnashsdl_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(SDL_CFLAGS) $(OPENGL_CFLAGS)
-     libgnashsdl_gl_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashsdl_ogl_la_SOURCES = \
 	sdl_ogl_glue.cpp sdl_ogl_glue.h \
 	sdl.cpp sdlsup.h sdl_glue.h
-     libgnashsdl_gl_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashsdl_gl_la_LIBADD = \
-	$(top_builddir)/backend/libgnashogl.la libgnashgui.la \
+     libgnashsdl_ogl_la_LDFLAGS = $(LIB_FLAGS)
+     libgnashsdl_ogl_la_LIBADD = \
+	$(top_builddir)/backend/libgnashogl.la \
 	$(SDL_LIBS) $(OPENGL_LIBS)
+     libgnashgui_la_LIBADD += libgnashsdl_ogl.la
 endif # HAVE_OPENGL
 if  HAVE_AGG
      plugins_LTLIBRARIES += libgnashsdl_agg.la
-     libgnashsdl_agg_la_CPPFLAGS = -DGUI_SDL $(AM_CPPFLAGS) \
+     libgnashsdl_agg_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(SDL_CFLAGS) $(AGG_CFLAGS)
-     libgnashsdl_agg_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashsdl_agg_la_SOURCES = \
 	sdl_agg_glue.cpp sdl_agg_glue.h \
 	sdl.cpp sdlsup.h sdl_glue.h
      libgnashsdl_agg_la_LDFLAGS = $(LIB_FLAGS)
      libgnashsdl_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
+	$(top_builddir)/backend/libgnashagg.la \
 	$(SDL_LIBS) $(AGG_LIBS) 
+     libgnashgui_la_LIBADD += libgnashsdl_agg.la
 endif # HAVE_AGG
 if  HAVE_CAIRO
      plugins_LTLIBRARIES += libgnashsdl_cairo.la
-     libgnashsdl_cairo_la_CPPFLAGS = -DGUI_SDL $(AM_CPPFLAGS) \
+     libgnashsdl_cairo_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(SDL_CFLAGS) $(CAIRO_CFLAGS)
-     libgnashsdl_cairo_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashsdl_cairo_la_SOURCES = \
 	sdl_cairo_glue.cpp sdl_cairo_glue.h \
 	sdl.cpp sdlsup.h sdl_glue.h
      libgnashsdl_cairo_la_LDFLAGS = $(LIB_FLAGS)
      libgnashsdl_cairo_la_LIBADD = \
-	$(top_builddir)/backend/libgnashcairo.la libgnashgui.la \
+	$(top_builddir)/backend/libgnashcairo.la \
 	$(SDL_LIBS) $(CAIRO_LIBS)
+     libgnashgui_la_LIBADD += libgnashsdl_cairo.la
 endif # HAVE_CAIRO
 endif # BUILD_SDL_GUI
 
 # FLTK2 Toolkit
 if BUILD_FLTK_GUI
+
+     GUI_CPPFLAGS += -DGUI_FLTK $(FLTK2_CFLAGS)
 if  HAVE_AGG
      plugins_LTLIBRARIES += libgnashfltk_agg.la
-     libgnashfltk_agg_la_CPPFLAGS = -DGUI_FLTK $(AM_CPPFLAGS) \
+     libgnashfltk_agg_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(FLTK2_CFLAGS) $(AGG_CFLAGS)
-     libgnashfltk_agg_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashfltk_agg_la_SOURCES = \
 	fltk_glue_agg.cpp fltk_glue_agg.h \
 	fltk.cpp fltksup.h 
      libgnashfltk_agg_la_LDFLAGS = $(LIB_FLAGS)
      libgnashfltk_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
+	$(top_builddir)/backend/libgnashagg.la \
 	$(FLTK2_LIBS) $(AGG_LIBS) $(XFT_LIBS) $(X11_LIBS)
+     libgnashgui_la_LIBADD += libgnashfltk_agg.la
 endif # HAVE_AGG
+
 if  HAVE_CAIRO
      plugins_LTLIBRARIES += libgnashfltk_cairo.la
-     libgnashfltk_agg_la_CPPFLAGS = -DGUI_FLTK $(AM_CPPFLAGS) \
+     libgnashfltk_cairo_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(FLTK2_CFLAGS) $(CAIRO_CFLAGS)
-     libgnashfltk_cairo_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashfltk_cairo_la_SOURCES = \
 	fltk_glue_cairo.cpp fltk_glue_cairo.h \
 	fltk.cpp fltksup.h 
      libgnashfltk_cairo_la_LDFLAGS = $(LIB_FLAGS)
      libgnashfltk_cairo_la_LIBADD = \
-	$(top_builddir)/backend/libgnashcairo.la libgnashgui.la \
+	$(top_builddir)/backend/libgnashcairo.la \
 	$(FLTK2_LIBS) $(CAIRO_LIBS) $(XFT_LIBS) $(X11_LIBS)
+     libgnashgui_la_LIBADD += libgnashfltk_cairo.la
 endif # HAVE_CAIRO
+
 endif # BUILD_FLTK_GUI
 
 # Framebuffer, no toolkit
 if BUILD_FB_GUI
+     GUI_CPPFLAGS += -DGUI_FB
 if  HAVE_AGG
-     libgnashsdl_agg_la_CPPFLAGS = -DGUI_FB $(AM_CPPFLAGS) $(SDL_CFLAGS)
+     libgnashsdl_agg_la_CPPFLAGS = $(AM_CPPFLAGS) $(SDL_CFLAGS)
      plugins_LTLIBRARIES += libgnashfb_agg.la
-     libgnashfb_agg_la_SOURCES = $(PLAYER_SRCS) \
+     libgnashfb_agg_la_SOURCES = \
 	fb.cpp fbsup.h
      libgnashfb_agg_la_LDFLAGS = $(LIB_FLAGS)
      libgnashfb_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la libgnashgui.la \
+	$(top_builddir)/backend/libgnashagg.la \
 	$(SDL_LIBS) $(AGG_LIBS)
+     libgnashgui_la_LIBADD += libgnashfb_agg.la
 endif # HAVE_AGG
 endif # BUILD_FB_GUI
 
@@ -287,17 +347,17 @@
 if STATIC_GUI
 if  BUILD_OGL_RENDERER
 if   BUILD_GTK_GUI
-      GNASH_LIBS += libgnashgtk_gl.la $(GTK_LIBS) $(OPENGL_LIBS)
+      GNASH_LIBS += libgnashgtk_ogl.la $(GTK_LIBS) $(OPENGL_LIBS)
 endif # BUILD_GTK_GUI
 if   BUILD_AQUA_GUI
-      GNASH_LIBS += libgnashaqua_gl.la $(AQUA_LIBS) $(OPENGL_LIBS)
+      GNASH_LIBS += libgnashaqua_ogl.la $(AQUA_LIBS) $(OPENGL_LIBS)
 endif # BUILD_AQUA_GUI
 if   BUILD_SDL_GUI
-      GNASH_LIBS += libgnashsdl_gl.la $(SDL_LIBS) $(OPENGL_LIBS)
+      GNASH_LIBS += libgnashsdl_ogl.la $(SDL_LIBS) $(OPENGL_LIBS)
 endif # BUILD_SDL_GUI
 if BUILD_KDE_GUI
-     GNASH_LIBS += libgnashkde_gl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
-     KLASH_LIBS += libgnashkde_gl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
+     GNASH_LIBS += libgnashkde_ogl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
+     KLASH_LIBS += libgnashkde_ogl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
 endif # BUILD_KDE_GUI
 endif # BUILD_OPENGL_RENDERER
 
@@ -378,43 +438,15 @@
 #dist_images_DATA = images/gnash_G_v3.ico
 imagesdir = $(pkgdatadir)
 
-libgnashgui_la_SOURCES = \
-	gui.cpp gui.h \
-	NullGui.cpp \
-	NullGui.h
-
-libgnashgui_la_LIBADD = \
-	$(top_builddir)/server/libgnashserver.la \
-	$(top_builddir)/backend/libgnashbackend.la \
-	$(top_builddir)/libamf/libgnashamf.la 
-
-# is LDFLAGS still needed when AM_LDFLAGS is defined already ?
-libgnashgui_la_LDFLAGS = \
-	-release $(VERSION) \
-	$(AM_LDFLAGS)
-
 bin_PROGRAMS = gnash
 
-if KLASH
- bin_PROGRAMS += klash
-
- klash_SOURCES = gnash.cpp
- # export our symbols so they can be used by Gnash plugins
- klash_LDFLAGS = $(LIBLTDL) -export-dynamic 
- klash_DEPENDENCIES = libgnashgui.la .configline
- klash_LDADD = \
-	libgnashgui.la \
-	$(MYSQL_LIBS) \
-	$(KLASH_LIBS) \
-	$(AM_LDFLAGS)
-endif # KLASH
-
 gnash_SOURCES = gnash.cpp
 # export our symbols so they can be used by Gnash plugins
 gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 
 gnash_DEPENDENCIES = libgnashgui.la .configline
 gnash_LDADD = \
 	libgnashgui.la \
+	libgnashplayer.la \
 	$(MYSQL_LIBS) \
 	$(GNASH_LIBS) \
 	$(AM_LDFLAGS)

Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- gui/Player.cpp	26 Jul 2007 05:14:54 -0000	1.59
+++ gui/Player.cpp	26 Jul 2007 14:39:09 -0000	1.60
@@ -22,40 +22,34 @@
 #endif
 
 #ifdef GUI_GTK
-# include "gtksup.h"
 # define DEFAULT_GUI guiGTK
 #endif
 
 #ifdef GUI_SDL
-# include "sdlsup.h"
 # define DEFAULT_GUI guiSDL
 #endif
 
 #ifdef GUI_AQUA
-# include "aquasup.h"
 # define DEFAULT_GUI guiAQUA
 #endif
 
 #ifdef GUI_RISCOS
-# include "riscossup.h"
 # define DEFAULT_GUI guiRISCOS
 #endif
 
 #ifdef GUI_FLTK
-# include "fltksup.h"
 # define DEFAULT_GUI guiFLTK
 #endif
 
 #ifdef GUI_KDE
-# include "kdesup.h"
 # define DEFAULT_GUI guiKDE
 #endif
 
 #ifdef GUI_FB
-# include "fbsup.h"
 # define DEFAULT_GUI guiFB
 #endif
 
+#include "gui.h"
 #include "NullGui.h"
 
 #include "gnash.h" // still needed ?
@@ -210,8 +204,11 @@
 void
 Player::init_gui()
 {
+	std::cout << "init_gui called - gui flavor : " << _guiFlavor << std::endl;
 	if ( do_render )
 	{
+		std::cout << "Gui flavor is " << _guiFlavor << std::endl;
+
 		_gui = getGui(_guiFlavor); // throws on unsupported gui
 
 		RcInitFile& rcfile = RcInitFile::getDefaultInstance();
@@ -400,55 +397,33 @@
 std::auto_ptr<Gui>
 Player::getGui(GuiFlavor which)
 {
+	std::cout << "getGui(" << which << ") called " << std::endl;
 	switch (which)
 	{
 
 		case guiGTK:
-#ifdef GUI_GTK // if we've been built with support for GTK
-			return std::auto_ptr<Gui>(new GtkGui(windowid, scale, do_loop, bit_depth));
-#endif
+			return createGTKGui(windowid, scale, do_loop, bit_depth);
 
 		case guiKDE:
-#ifdef GUI_KDE // if we've been built with support for KDE
-			return std::auto_ptr<Gui>(new KdeGui(windowid, scale, do_loop, bit_depth));
-#else
-			throw GnashException("Support for KDE gui was not compiled in");
-#endif
+			return createKDEGui(windowid, scale, do_loop, bit_depth);
 
 		case guiSDL:
-#ifdef GUI_SDL // if we've been built with support for SDL
-			return std::auto_ptr<Gui>(new SDLGui(windowid, scale, do_loop, bit_depth));
-#else
-			throw GnashException("Support for SDL gui was not compiled in");
-#endif
+			return createSDLGui(windowid, scale, do_loop, bit_depth);
 
 		case guiAQUA:
-#ifdef GUI_AQUA // if we've been built with support for AQUA
-			return std::auto_ptr<Gui>(new AquaGui(windowid, scale, do_loop, bit_depth));
-#else
-			throw GnashException("Support for AQUA gui was not compiled in");
-#endif
+			return createAQUAGui(windowid, scale, do_loop, bit_depth);
 
 		case guiRISCOS:
-#ifdef GUI_RISCOS // if we've been built with support for RISCOS
-			return std::auto_ptr<Gui>(new RiscosGui(windowid, scale, do_loop, bit_depth));
-#else
-			throw GnashException("Support for RISCOS gui was not compiled in");
-#endif
+			return createRISCOSGui(windowid, scale, do_loop, bit_depth);
 
 		case guiFLTK:
-#ifdef GUI_FLTK // if we've been built with support for FLTK
-			return std::auto_ptr<Gui>(new FltkGui(windowid, scale, do_loop, bit_depth));
-#else
-			throw GnashException("Support for FLTK gui was not compiled in");
-#endif
+			return createFLTKGui(windowid, scale, do_loop, bit_depth);
 
 		case guiFB:
-#ifdef GUI_FB // if we've been built with support for FB
-			return std::auto_ptr<Gui>(new FBGui(windowid, scale, do_loop, bit_depth));
-#else
-			throw GnashException("Support for FB gui was not compiled in");
-#endif
+			return createFBGui(windowid, scale, do_loop, bit_depth);
+
+		case guiNull:
+			return std::auto_ptr<Gui>(new NullGui(do_loop));
 
 	}
 
@@ -469,6 +444,7 @@
 	if ( match(flavorName, "FB") ) return guiFB;
 	if ( match(flavorName, "AQUA") ) return guiAQUA;
 	if ( match(flavorName, "RISCOS") ) return guiRISCOS;
+	if ( match(flavorName, "NULL") ) return guiNull;
 
 	std::stringstream ss;
 	ss << "Unknown Gui flavor " << flavorName;

Index: gui/Player.h
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- gui/Player.h	26 Jul 2007 05:14:54 -0000	1.13
+++ gui/Player.h	26 Jul 2007 14:39:09 -0000	1.14
@@ -33,6 +33,7 @@
 
 #include <string>
 #include <map>
+#include <iostream> // debugging...
 
 // Forward declarations
 namespace gnash
@@ -55,6 +56,9 @@
 
 	enum GuiFlavor {
 
+		/// Null gui
+		guiNull,
+
 		/// GTK gui
 		guiGTK,
 
@@ -139,7 +143,10 @@
 	/// Throws an exception if gui name is invalid
 	///
 	void setGuiFlavor(const std::string& flavorName) {
-		setGuiFlavor(parseGuiFlavorByName(flavorName));
+		GuiFlavor flav = parseGuiFlavorByName(flavorName);
+		std::cout << "Flavor '" << flavorName << "' parsed as " << flav << std::endl;
+		//setGuiFlavor(parseGuiFlavorByName(flavorName));
+		setGuiFlavor(flav);
 	}
 
 	void setGuiFlavor(GuiFlavor which) { _guiFlavor = which; }

Index: gui/gui.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.h,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- gui/gui.h	3 Jul 2007 08:07:07 -0000	1.56
+++ gui/gui.h	26 Jul 2007 14:39:09 -0000	1.57
@@ -52,25 +52,8 @@
 
 /// Parent class from which all GUI implementations will depend.
 class DSOEXPORT Gui {
-public:
-    /// Default constructor. Initialises members to safe defaults.
-    Gui();
 
-    /** \brief
-     * Expanded constructor for more control over member values.
-     *
-     * @param xid The X11 Window ID to attach to. If this is argument is zero,
-     * a new window is created.
-     *
-     * @param scale The scale used to resize the window size, which has been
-     * established by extracting information from the SWF file.
-     * 
-     * @param loop Defines whether or not the movie should be played once or
-     * looped indefinitely.
-     *
-     * @param depth Colour depth to be used in the client area of our window.
-     */
-    Gui(unsigned long xid, float scale, bool loop, unsigned int depth);
+public:
 
     virtual ~Gui();
 
@@ -259,6 +242,25 @@
 #endif // def GNASH_FPS_DEBUG
 
 protected:
+
+    /// Default constructor. Initialises members to safe defaults.
+    Gui();
+
+    /** \brief
+     * Expanded constructor for more control over member values.
+     *
+     * @param xid The X11 Window ID to attach to. If this is argument is zero,
+     * a new window is created.
+     *
+     * @param scale The scale used to resize the window size, which has been
+     * established by extracting information from the SWF file.
+     * 
+     * @param loop Defines whether or not the movie should be played once or
+     * looped indefinitely.
+     *
+     * @param depth Colour depth to be used in the client area of our window.
+     */
+    Gui(unsigned long xid, float scale, bool loop, unsigned int depth);
     /// Determines if playback should restart after the movie ends.
     bool            _loop;
     /// The X Window ID to attach to. If zero, we create a new window.
@@ -324,6 +326,15 @@
 
 };
 
+/// Named constructors
+std::auto_ptr<Gui> createGTKGui(unsigned long xid, float scale, bool loop, unsigned int depth);
+std::auto_ptr<Gui> createKDEGui(unsigned long xid, float scale, bool loop, unsigned int depth);
+std::auto_ptr<Gui> createSDLGui(unsigned long xid, float scale, bool loop, unsigned int depth);
+std::auto_ptr<Gui> createFLTKGui(unsigned long xid, float scale, bool loop, unsigned int depth);
+std::auto_ptr<Gui> createFBGui(unsigned long xid, float scale, bool loop, unsigned int depth);
+std::auto_ptr<Gui> createAQUAGui(unsigned long xid, float scale, bool loop, unsigned int depth);
+std::auto_ptr<Gui> createRISCOSGui(unsigned long xid, float scale, bool loop, unsigned int depth);
+
  
 } // end of gnash namespace
 

Index: gui/gui_aqua.cpp
===================================================================
RCS file: gui/gui_aqua.cpp
diff -N gui/gui_aqua.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/gui_aqua.cpp	26 Jul 2007 14:39:09 -0000	1.1
@@ -0,0 +1,47 @@
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/* $Id: gui_aqua.cpp,v 1.1 2007/07/26 14:39:09 strk Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gui.h"
+#include "GnashException.h"
+
+#ifdef GUI_AQUA
+#include "aquasup.h"
+#endif
+
+namespace gnash {
+
+#ifdef GUI_AQUA
+std::auto_ptr<Gui> createAQUAGui(unsigned long windowid, float scale, bool do_loop, unsigned int bit_depth)
+{
+	return std::auto_ptr<Gui>(new AquaGui(windowid, scale, do_loop, bit_depth));
+}
+#else // ! GUI_AQUA
+std::auto_ptr<Gui> createAQUAGui(unsigned long , float , bool , unsigned int )
+{
+	throw GnashException("Support for AQUA gui was not compiled in");
+}
+#endif // ! GUI_AQUA
+
+} // namespace gnash
+

Index: gui/gui_fb.cpp
===================================================================
RCS file: gui/gui_fb.cpp
diff -N gui/gui_fb.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/gui_fb.cpp	26 Jul 2007 14:39:09 -0000	1.1
@@ -0,0 +1,47 @@
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/* $Id: gui_fb.cpp,v 1.1 2007/07/26 14:39:09 strk Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gui.h"
+#include "GnashException.h"
+
+#ifdef GUI_FB
+#include "fbsup.h"
+#endif
+
+namespace gnash {
+
+#ifdef GUI_FB
+std::auto_ptr<Gui> createFBGui(unsigned long windowid, float scale, bool do_loop, unsigned int bit_depth)
+{
+	return std::auto_ptr<Gui>(new FbGui(windowid, scale, do_loop, bit_depth));
+}
+#else // ! GUI_FB
+std::auto_ptr<Gui> createFBGui(unsigned long , float , bool , unsigned int )
+{
+	throw GnashException("Support for FB gui was not compiled in");
+}
+#endif // ! GUI_FB
+
+} // namespace gnash
+

Index: gui/gui_fltk.cpp
===================================================================
RCS file: gui/gui_fltk.cpp
diff -N gui/gui_fltk.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/gui_fltk.cpp	26 Jul 2007 14:39:09 -0000	1.1
@@ -0,0 +1,47 @@
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/* $Id: gui_fltk.cpp,v 1.1 2007/07/26 14:39:09 strk Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gui.h"
+#include "GnashException.h"
+
+#ifdef GUI_FLTK
+#include "fltksup.h"
+#endif
+
+namespace gnash {
+
+#ifdef GUI_FLTK
+std::auto_ptr<Gui> createFLTKGui(unsigned long windowid, float scale, bool do_loop, unsigned int bit_depth)
+{
+	return std::auto_ptr<Gui>(new FltkGui(windowid, scale, do_loop, bit_depth));
+}
+#else // ! GUI_FLTK
+std::auto_ptr<Gui> createFLTKGui(unsigned long , float , bool , unsigned int )
+{
+	throw GnashException("Support for FLTK gui was not compiled in");
+}
+#endif // ! GUI_FLTK
+
+} // namespace gnash
+

Index: gui/gui_gtk.cpp
===================================================================
RCS file: gui/gui_gtk.cpp
diff -N gui/gui_gtk.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/gui_gtk.cpp	26 Jul 2007 14:39:09 -0000	1.1
@@ -0,0 +1,48 @@
+// gui_gtk.cpp: Wrapper for Gnome ToolKit graphical user interface, for Gnash.
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/* $Id: gui_gtk.cpp,v 1.1 2007/07/26 14:39:09 strk Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gui.h"
+#include "GnashException.h"
+
+#ifdef GUI_GTK
+#include "gtksup.h"
+#endif
+
+namespace gnash {
+
+#ifdef GUI_GTK
+std::auto_ptr<Gui> createGTKGui(unsigned long windowid, float scale, bool do_loop, unsigned int bit_depth)
+{
+	return std::auto_ptr<Gui>(new GtkGui(windowid, scale, do_loop, bit_depth));
+}
+#else // ! GUI_GTK
+std::auto_ptr<Gui> createGTKGui(unsigned long , float , bool , unsigned int )
+{
+	throw GnashException("Support for GTK gui was not compiled in");
+}
+#endif // ! GUI_GTK
+
+} // namespace gnash
+

Index: gui/gui_kde.cpp
===================================================================
RCS file: gui/gui_kde.cpp
diff -N gui/gui_kde.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/gui_kde.cpp	26 Jul 2007 14:39:09 -0000	1.1
@@ -0,0 +1,47 @@
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/* $Id: gui_kde.cpp,v 1.1 2007/07/26 14:39:09 strk Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gui.h"
+#include "GnashException.h"
+
+#ifdef GUI_KDE
+#include "kdesup.h"
+#endif
+
+namespace gnash {
+
+#ifdef GUI_KDE
+std::auto_ptr<Gui> createKDEGui(unsigned long windowid, float scale, bool do_loop, unsigned int bit_depth)
+{
+	return std::auto_ptr<Gui>(new KdeGui(windowid, scale, do_loop, bit_depth));
+}
+#else // ! GUI_KDE
+std::auto_ptr<Gui> createKDEGui(unsigned long , float , bool , unsigned int )
+{
+	throw GnashException("Support for KDE gui was not compiled in");
+}
+#endif // ! GUI_KDE
+
+} // namespace gnash
+

Index: gui/gui_riscos.cpp
===================================================================
RCS file: gui/gui_riscos.cpp
diff -N gui/gui_riscos.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/gui_riscos.cpp	26 Jul 2007 14:39:09 -0000	1.1
@@ -0,0 +1,47 @@
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/* $Id: gui_riscos.cpp,v 1.1 2007/07/26 14:39:09 strk Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gui.h"
+#include "GnashException.h"
+
+#ifdef GUI_RISCOS
+#include "riscossup.h"
+#endif
+
+namespace gnash {
+
+#ifdef GUI_RISCOS
+std::auto_ptr<Gui> createRISCOSGui(unsigned long windowid, float scale, bool do_loop, unsigned int bit_depth)
+{
+	return std::auto_ptr<Gui>(new RiscosGui(windowid, scale, do_loop, bit_depth));
+}
+#else // ! GUI_RISCOS
+std::auto_ptr<Gui> createRISCOSGui(unsigned long , float , bool , unsigned int )
+{
+	throw GnashException("Support for RISCOS gui was not compiled in");
+}
+#endif // ! GUI_RISCOS
+
+} // namespace gnash
+

Index: gui/gui_sdl.cpp
===================================================================
RCS file: gui/gui_sdl.cpp
diff -N gui/gui_sdl.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/gui_sdl.cpp	26 Jul 2007 14:39:09 -0000	1.1
@@ -0,0 +1,47 @@
+// 
+//   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+// 
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+//
+
+/* $Id: gui_sdl.cpp,v 1.1 2007/07/26 14:39:09 strk Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "gui.h"
+#include "GnashException.h"
+
+#ifdef GUI_SDL
+#include "sdlsup.h"
+#endif
+
+namespace gnash {
+
+#ifdef GUI_SDL
+std::auto_ptr<Gui> createSDLGui(unsigned long windowid, float scale, bool do_loop, unsigned int bit_depth)
+{
+	return std::auto_ptr<Gui>(new SDLGui(windowid, scale, do_loop, bit_depth));
+}
+#else // ! GUI_SDL
+std::auto_ptr<Gui> createSDLGui(unsigned long , float , bool , unsigned int )
+{
+	throw GnashException("Support for SDL gui was not compiled in");
+}
+#endif // ! GUI_SDL
+
+} // namespace gnash
+



From MAILER-DAEMON Thu Jul 26 10:40:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE4WF-0002SG-NE
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 10:40:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE4WD-0002Qe-2D
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 10:40:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE4WC-0002Q8-CZ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 10:40:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE4WC-0002Pp-4c
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 10:40:44 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <tomasgroth@yahoo.dk>) id 1IE4WB-0003Q7-Kr
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 10:40:43 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <tomasgroth@yahoo.dk>) id 1IE4WA-0004iJ-Dm
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 14:40:42 +0000
Received: from tgc by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <tgc@savannah.gnu.org>) id 1IE4WA-0004iG-9A
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 14:40:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE4WA-0004iG-9A@cvs.savannah.gnu.org>
From: Tomas Groth <tomasgroth@yahoo.dk>
Date: Thu, 26 Jul 2007 14:40:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/NetStreamGst.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 14:40:45 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Tomas Groth <tgc>	07/07/26 14:40:42

Modified files:
	.              : ChangeLog 
	server/asobj   : NetStreamGst.cpp 

Log message:
		* server/asobj/NetStreamGst.cpp: Don't use a variable before it 
		  has been initialized.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3833&r2=1.3834
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamGst.cpp?cvsroot=gnash&r1=1.57&r2=1.58

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3833
retrieving revision 1.3834
diff -u -b -r1.3833 -r1.3834
--- ChangeLog	26 Jul 2007 14:39:08 -0000	1.3833
+++ ChangeLog	26 Jul 2007 14:40:41 -0000	1.3834
@@ -1,3 +1,8 @@
+2007-07-26 Alexander Sack <asac@jwsdot.com>
+
+	* server/asobj/NetStreamGst.cpp: Don't use a variable before it 
+	  has been initialized.
+
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
 	* gui/Makefile.am: build libgnashplayer again,

Index: server/asobj/NetStreamGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamGst.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- server/asobj/NetStreamGst.cpp	1 Jul 2007 10:54:29 -0000	1.57
+++ server/asobj/NetStreamGst.cpp	26 Jul 2007 14:40:42 -0000	1.58
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetStreamGst.cpp,v 1.57 2007/07/01 10:54:29 bjacques Exp $ */
+/* $Id: NetStreamGst.cpp,v 1.58 2007/07/26 14:40:42 tgc Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -546,10 +546,10 @@
 
   GstInstallPluginsReturn rv;
   int i,c;
-  gchar **details = g_new0(gchar*, c+1);
   GstInstallPluginsContext *install_ctx = gst_install_plugins_context_new();
 
   c=g_list_length(missing_plugin_details);
+  gchar **details = g_new0(gchar*, c+1);
   
   for(i=0; i < c; i++)
   {



From MAILER-DAEMON Thu Jul 26 11:09:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE4y8-0005dz-D9
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 11:09:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE4y6-0005bf-Jr
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:09:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE4y3-0005Yh-1y
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:09:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE4y2-0005YZ-UJ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:09:30 -0400
Received: from moongulch.net ([69.15.127.230] helo=darkstar.welcomehome.org)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <rob@darkstar.welcomehome.org>) id 1IE4xt-00038Q-HI
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:09:24 -0400
Received: from darkstar.welcomehome.org (localhost.localdomain [127.0.0.1])
	by darkstar.welcomehome.org (8.13.8/8.13.8) with ESMTP id
	l6QF90IJ028726
	for <gnash-commit@gnu.org>; Thu, 26 Jul 2007 09:09:00 -0600
Received: (from rob@localhost)
	by darkstar.welcomehome.org (8.13.8/8.13.8/Submit) id l6QF90ZL028725
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 09:09:00 -0600
Date: Thu, 26 Jul 2007 09:09:00 -0600
From: Rob Savoye <rob@welcomehome.org>
To: gnash-commit@gnu.org
Subject: Re: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/Player.h gui...
Message-ID: <20070726150900.GA28697@welcomehome.org>
References: <E1IDvgc-0002DD-H1@cvs.savannah.gnu.org>
	<20070726052017.GA27893@keybit.net>
	<20070726065157.GA24270@welcomehome.org>
	<20070726133028.GB27893@keybit.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070726133028.GB27893@keybit.net>
User-Agent: Mutt/1.4.2.2i
X-detected-kernel: Linux 2.6 (newer, 3)
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 15:09:35 -0000

On Thu, Jul 26, 2007 at 03:30:28PM +0200, strk wrote:

> Could you create a wiki account to davr from there ?

  I did this yesterday, and emailed davr the access info to log om.

> Yes, this is the idea for 0.8.1, once the abstraction for creating GUI
> is there though, changing to a plugin-style shouldn't be too hard.

  That was the idea to get the build chnages stable, and then make them
dynamically loadable.

	- rob -




From MAILER-DAEMON Thu Jul 26 11:27:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE5F5-0007P7-Bc
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 11:27:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE5F3-0007In-8t
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:27:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE5F2-0007Ek-0N
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:27:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE5F1-0007EC-S2
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:27:03 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IE5F1-00086Q-6x
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:27:03 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6QFQuK51090;
	Thu, 26 Jul 2007 17:26:56 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Thu, 26 Jul 2007 17:26:56 +0200
To: Rob Savoye <rob@welcomehome.org>
Subject: Re: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/Player.h gui...
Message-ID: <20070726152656.GC27893@keybit.net>
Mail-Followup-To: Rob Savoye <rob@welcomehome.org>, gnash-commit@gnu.org
References: <E1IDvgc-0002DD-H1@cvs.savannah.gnu.org>
	<20070726052017.GA27893@keybit.net>
	<20070726065157.GA24270@welcomehome.org>
	<20070726133028.GB27893@keybit.net>
	<20070726150900.GA28697@welcomehome.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070726150900.GA28697@welcomehome.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 15:27:05 -0000

On Thu, Jul 26, 2007 at 09:09:00AM -0600, Rob Savoye wrote:

>   That was the idea to get the build chnages stable, and then make them
> dynamically loadable.

Excellent. The current status is we need cleanups in the configure.ac, as
it seems we're using too many variable names. For example gnash --version
doesn't report 'kde' gui but it is built IF klash was requested..

--strk;



From MAILER-DAEMON Thu Jul 26 11:40:40 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE5SC-0003iO-Hv
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 11:40:40 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE5SB-0003gP-64
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:40:39 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE5SA-0003fx-92
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:40:38 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE5SA-0003fr-1w
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:40:38 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IE5S9-0003t9-Kr
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 11:40:37 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IE5S8-0000ME-Ai
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:40:36 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IE5S8-0000MB-5o
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:40:36 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE5S8-0000MB-5o@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 15:40:36 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog Makefile.am configure.ac gui/Ma...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 15:40:39 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 15:40:36

Modified files:
	.              : ChangeLog Makefile.am configure.ac 
	gui            : Makefile.am Player.cpp gnash.cpp 

Log message:
	        * Makefile.am, configure.ac, gui/Makefile.am:
	          Don't miss to list 'kde' as a gui when built as a side-effect
	          of enabling klash: fixes proper report of which GUI have been
	          compiled-in; Take first gui given to --enable-gui as the default
	          one.
	        * gui/Player.cpp: don't force a default gui, take the one defined
	          by build line (or default to nullGui).
	        * gui/gnash.cpp: print default gui from --version.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3834&r2=1.3835
http://cvs.savannah.gnu.org/viewcvs/gnash/Makefile.am?cvsroot=gnash&r1=1.81&r2=1.82
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.368&r2=1.369
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.88&r2=1.89
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.60&r2=1.61
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.86&r2=1.87

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3834
retrieving revision 1.3835
diff -u -b -r1.3834 -r1.3835
--- ChangeLog	26 Jul 2007 14:40:41 -0000	1.3834
+++ ChangeLog	26 Jul 2007 15:40:35 -0000	1.3835
@@ -1,3 +1,14 @@
+2007-07-25 Sandro Santilli <strk@keybit.net>
+
+	* Makefile.am, configure.ac, gui/Makefile.am:
+	  Don't miss to list 'kde' as a gui when built as a side-effect
+	  of enabling klash: fixes proper report of which GUI have been
+	  compiled-in; Take first gui given to --enable-gui as the default
+	  one.
+	* gui/Player.cpp: don't force a default gui, take the one defined
+	  by build line (or default to nullGui).
+	* gui/gnash.cpp: print default gui from --version.
+
 2007-07-26 Alexander Sack <asac@jwsdot.com>
 
 	* server/asobj/NetStreamGst.cpp: Don't use a variable before it 

Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/Makefile.am,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- Makefile.am	24 Jul 2007 22:32:33 -0000	1.81
+++ Makefile.am	26 Jul 2007 15:40:35 -0000	1.82
@@ -15,7 +15,7 @@
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 # 
 
-# $Id: Makefile.am,v 1.81 2007/07/24 22:32:33 strk Exp $
+# $Id: Makefile.am,v 1.82 2007/07/26 15:40:35 strk Exp $
 
 ## Process this file with automake to produce Makefile.in
 AUTOMAKE_OPTIONS = 1.6.0
@@ -219,7 +219,7 @@
 	@echo "Configurable options are:"
 	@echo "Media handler: $(MEDIA_CONFIG)"
 	@echo "Renderer engine: $(RENDERER_CONFIG)"
-	@echo "GUI: $(GUI_CONFIG)"
+	@echo "Supported GUI: $(GUI_CONFIG) ( default $(DEFAULT_GUI) )"
 #	@echo "Extensions: "
 
 check: check-recursive anal

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.368
retrieving revision 1.369
diff -u -b -r1.368 -r1.369
--- configure.ac	26 Jul 2007 04:05:50 -0000	1.368
+++ configure.ac	26 Jul 2007 15:40:35 -0000	1.369
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.368 2007/07/26 04:05:50 strk Exp $
+dnl $Id: configure.ac,v 1.369 2007/07/26 15:40:35 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -953,6 +953,7 @@
   kde=yes
   qt=yes
   build_kde=yes
+  addgui="${addgui},kde"
   GNASH_PATH_KDE
   GNASH_PATH_QT
 fi
@@ -1293,6 +1294,8 @@
 AC_SUBST(RENDERER_CONFIG)
 GUI_CONFIG=${addgui}
 AC_SUBST(GUI_CONFIG)
+DEFAULT_GUI=`echo "${GUI_CONFIG}" | cut -d',' -f1`
+AC_SUBST(DEFAULT_GUI)
 MEDIA_CONFIG=${media_handler}
 AC_SUBST(MEDIA_CONFIG)
 
@@ -1422,7 +1425,7 @@
 if test x"$extensions_list" != x; then
   echo "        Building extensions: ${extensions_list}"
 fi
-echo "        GUI toolkits supported: ${addgui}"
+echo "        GUI toolkits supported: ${GUI_CONFIG} (default gui: ${DEFAULT_GUI})"
 echo "        Renderers supported: ${add_renderer}"
 echo "        Media handler: "$media_handler
 if test x"$media_handler" = xffmpeg -o x"$media_handler" = xmad; then

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -b -r1.88 -r1.89
--- gui/Makefile.am	26 Jul 2007 14:39:09 -0000	1.88
+++ gui/Makefile.am	26 Jul 2007 15:40:35 -0000	1.89
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.88 2007/07/26 14:39:09 strk Exp $
+# $Id: Makefile.am,v 1.89 2007/07/26 15:40:35 strk Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -429,7 +429,7 @@
 
 AM_CPPFLAGS += -DPKGDATADIR=\"$(pkgdatadir)\"
 AM_CPPFLAGS += -DRENDERER_CONFIG=\"$(RENDERER_CONFIG)\"
-AM_CPPFLAGS += -DGUI_CONFIG=\"$(GUI_CONFIG)\"
+AM_CPPFLAGS += -DGUI_CONFIG=\"$(GUI_CONFIG)\" -DDEFAULT_GUI=\"$(DEFAULT_GUI)\"
 AM_CPPFLAGS += -DMEDIA_CONFIG=\"$(MEDIA_CONFIG)\"
 AM_CPPFLAGS += -DTARGET_CONFIG=\"$(target)\"
 AM_CPPFLAGS += -DCONFIG_CONFIG="\"$(shell cat .configline)\""

Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -b -r1.60 -r1.61
--- gui/Player.cpp	26 Jul 2007 14:39:09 -0000	1.60
+++ gui/Player.cpp	26 Jul 2007 15:40:35 -0000	1.61
@@ -21,32 +21,8 @@
 #include "config.h"
 #endif
 
-#ifdef GUI_GTK
-# define DEFAULT_GUI guiGTK
-#endif
-
-#ifdef GUI_SDL
-# define DEFAULT_GUI guiSDL
-#endif
-
-#ifdef GUI_AQUA
-# define DEFAULT_GUI guiAQUA
-#endif
-
-#ifdef GUI_RISCOS
-# define DEFAULT_GUI guiRISCOS
-#endif
-
-#ifdef GUI_FLTK
-# define DEFAULT_GUI guiFLTK
-#endif
-
-#ifdef GUI_KDE
-# define DEFAULT_GUI guiKDE
-#endif
-
-#ifdef GUI_FB
-# define DEFAULT_GUI guiFB
+#ifndef DEFAULT_GUI
+# define DEFAULT_GUI guiNull
 #endif
 
 #include "gui.h"
@@ -112,7 +88,7 @@
 #ifdef GNASH_FPS_DEBUG
 	,_fpsDebugTime(0.0)
 #endif
-	,_guiFlavor(DEFAULT_GUI)
+	,_guiFlavor(parseGuiFlavorByName(DEFAULT_GUI))
 {
 	init();
 }

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- gui/gnash.cpp	26 Jul 2007 05:14:54 -0000	1.86
+++ gui/gnash.cpp	26 Jul 2007 15:40:35 -0000	1.87
@@ -169,10 +169,10 @@
 {
     printf (_("Build options %s\n"
               "   Target: %s\n"
-              "   Renderer: %s   GUI: %s   Media handler: %s\n"
+              "   Renderer: %s - GUI: %s (default %s) - Media handler: %s\n"
               "   Configured with: %s\n"),
 		VERSION, TARGET_CONFIG, RENDERER_CONFIG, GUI_CONFIG,
-                MEDIA_CONFIG, CONFIG_CONFIG);
+		DEFAULT_GUI, MEDIA_CONFIG, CONFIG_CONFIG);
 #ifdef HAVE_FFMPEG_AVCODEC_H
     printf(_("Ffmpeg version is: %s\n"), LIBAVCODEC_IDENT);
 #endif



From MAILER-DAEMON Thu Jul 26 12:37:30 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE6LC-0003jV-4m
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 12:37:30 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE6LA-0003jD-Jw
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 12:37:28 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE6L8-0003iP-RJ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 12:37:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE6L8-0003iM-La
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 12:37:26 -0400
Received: from mx20.gnu.org ([199.232.41.8])
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IE6L7-0000ZX-48
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 12:37:25 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by mx20.gnu.org with esmtp (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IE5zA-0001Fe-JO
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 12:14:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IE5yo-0004bh-9J
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 16:14:22 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IE5yn-0004bP-Hy
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 16:14:21 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE5yn-0004bP-Hy@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 16:14:21 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4)
Subject: [Gnash-commit] gnash ChangeLog gui/gnash.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 16:37:28 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 16:14:21

Modified files:
	.              : ChangeLog 
	gui            : gnash.cpp 

Log message:
	        * gui/gnash.cpp: scan argv[0] and select KDE gui if it contains
	          the string 'klash'.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3835&r2=1.3836
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.87&r2=1.88

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3835
retrieving revision 1.3836
diff -u -b -r1.3835 -r1.3836
--- ChangeLog	26 Jul 2007 15:40:35 -0000	1.3835
+++ ChangeLog	26 Jul 2007 16:14:20 -0000	1.3836
@@ -1,5 +1,7 @@
 2007-07-25 Sandro Santilli <strk@keybit.net>
 
+	* gui/gnash.cpp: scan argv[0] and select KDE gui if it contains
+	  the string 'klash'.
 	* Makefile.am, configure.ac, gui/Makefile.am:
 	  Don't miss to list 'kde' as a gui when built as a side-effect
 	  of enabling klash: fixes proper report of which GUI have been

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -b -r1.87 -r1.88
--- gui/gnash.cpp	26 Jul 2007 15:40:35 -0000	1.87
+++ gui/gnash.cpp	26 Jul 2007 16:14:21 -0000	1.88
@@ -190,6 +190,12 @@
     bool called_by_plugin=false;
     bool width_given=false, height_given=false;
 
+    // Check our name, if 'klash' we'll set KDE gui
+    if ( strstr(argv[0], "klash") != NULL )
+    {
+        player.setGuiFlavor("kde");
+    }
+   
     int c = 0;
     // scan for the two main long GNU options
     for (; c < argc; c++) {



From MAILER-DAEMON Thu Jul 26 15:25:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE8xv-00041s-CQ
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 15:25:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE8xt-00041n-KT
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:25:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE8xs-0003yj-DB
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:25:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE8xs-0003yZ-9M
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:25:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IE8xs-0001t7-0t
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:25:36 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IE8xr-00014l-Gm
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:25:35 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IE8xr-00014i-CN
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:25:35 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE8xr-00014i-CN@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 19:25:35 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/backend render_handler_ogl.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 19:25:38 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 19:25:35

Modified files:
	backend        : render_handler_ogl.cpp 

Log message:
	removed commented-out code

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_ogl.cpp?cvsroot=gnash&r1=1.75&r2=1.76

Patches:
Index: render_handler_ogl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_ogl.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- render_handler_ogl.cpp	13 Jul 2007 16:05:08 -0000	1.75
+++ render_handler_ogl.cpp	26 Jul 2007 19:25:35 -0000	1.76
@@ -5,7 +5,7 @@
 
 // A render_handler that uses SDL & OpenGL
 
-/* $Id: render_handler_ogl.cpp,v 1.75 2007/07/13 16:05:08 strk Exp $ */
+/* $Id: render_handler_ogl.cpp,v 1.76 2007/07/26 19:25:35 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -43,18 +43,6 @@
 # endif
 #endif
 
-/*
-#if !defined(WIN32) || defined(GUI_GTK)
-# define GL_GLEXT_PROTOTYPES
-# include <GL/gl.h>
-# include <GL/glx.h>
-# include <GL/glu.h>
-# ifndef APIENTRY
-#  define APIENTRY
-# endif
-#endif // no WIN32 or OSX
-*/
-
 using namespace gnash;
 
 // choose the resampling method:



From MAILER-DAEMON Thu Jul 26 15:41:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE9DT-0001Go-Ga
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 15:41:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE9DR-0001Gj-VY
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:41:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE9DP-0001GC-9i
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:41:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE9DP-0001G9-4R
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:41:39 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IE9DO-0005D7-QO
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:41:38 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IE9DN-0001N9-Ei
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:41:37 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IE9DN-0001N6-Az
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:41:37 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE9DN-0001N6-Az@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 19:41:37 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/kde_glue_agg.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 19:41:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 19:41:37

Modified files:
	.              : ChangeLog 
	gui            : kde_glue_agg.cpp 

Log message:
	        * gui/kde_glue_agg.cpp (createRenderHandler): throw an exception if
	          render handler could not be created.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3836&r2=1.3837
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde_glue_agg.cpp?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3836
retrieving revision 1.3837
diff -u -b -r1.3836 -r1.3837
--- ChangeLog	26 Jul 2007 16:14:20 -0000	1.3836
+++ ChangeLog	26 Jul 2007 19:41:36 -0000	1.3837
@@ -1,4 +1,9 @@
-2007-07-25 Sandro Santilli <strk@keybit.net>
+2007-07-26 Sandro Santilli <strk@keybit.net>
+
+	* gui/kde_glue_agg.cpp (createRenderHandler): throw an exception if
+	  render handler could not be created.
+	
+2007-07-26 Sandro Santilli <strk@keybit.net>
 
 	* gui/gnash.cpp: scan argv[0] and select KDE gui if it contains
 	  the string 'klash'.

Index: gui/kde_glue_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/kde_glue_agg.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- gui/kde_glue_agg.cpp	1 Jul 2007 10:54:03 -0000	1.4
+++ gui/kde_glue_agg.cpp	26 Jul 2007 19:41:37 -0000	1.5
@@ -15,7 +15,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: kde_glue_agg.cpp,v 1.4 2007/07/01 10:54:03 bjacques Exp $ */
+/* $Id: kde_glue_agg.cpp,v 1.5 2007/07/26 19:41:37 strk Exp $ */
 
 #include "kde_glue_agg.h"
 #include "render_handler.h"
@@ -138,6 +138,10 @@
 {
     // QT requires the use of this pixel format...
     _renderer = create_render_handler_agg("BGRA32");
+    if ( ! _renderer )
+    {
+        throw GnashException("Could not create AGG renderer with pixelformat BGRA32");
+    }
     return _renderer;
 }
 



From MAILER-DAEMON Thu Jul 26 15:43:27 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE9F9-0001R4-Qg
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 15:43:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE9F8-0001Ql-6i
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:43:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE9F7-0001QT-MC
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:43:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE9F7-0001QQ-Jo
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:43:25 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IE9F7-0005Vf-9u
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:43:25 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IE9F6-0001g6-OX
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:43:24 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IE9F6-0001g0-Kq
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:43:24 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE9F6-0001g0-Kq@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 19:43:24 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/kde.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 19:43:26 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 19:43:24

Modified files:
	.              : ChangeLog 
	gui            : kde.cpp 

Log message:
	        * gui/kde.cpp (createWindow): return false if renderer creation
	          failed.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3837&r2=1.3838
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/kde.cpp?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3837
retrieving revision 1.3838
diff -u -b -r1.3837 -r1.3838
--- ChangeLog	26 Jul 2007 19:41:36 -0000	1.3837
+++ ChangeLog	26 Jul 2007 19:43:23 -0000	1.3838
@@ -1,5 +1,7 @@
 2007-07-26 Sandro Santilli <strk@keybit.net>
 
+	* gui/kde.cpp (createWindow): return false if renderer creation
+	  failed.
 	* gui/kde_glue_agg.cpp (createRenderHandler): throw an exception if
 	  render handler could not be created.
 	

Index: gui/kde.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/kde.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- gui/kde.cpp	1 Jul 2007 10:54:03 -0000	1.19
+++ gui/kde.cpp	26 Jul 2007 19:43:24 -0000	1.20
@@ -85,6 +85,11 @@
 
     _glue.prepDrawingArea(_qwidget.get());
     _renderer = _glue.createRenderHandler();
+    if ( ! _renderer )
+    {
+        // something went wrong
+        return false;
+    }
     _glue.initBuffer(width, height);
     
     _width = width;



From MAILER-DAEMON Thu Jul 26 15:48:42 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE9KE-0006Kv-H1
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 15:48:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE9KD-0006Gj-7P
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:48:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE9KC-0006FW-Dc
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:48:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE9KC-0006Ev-7X
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:48:40 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IE9KB-0006IY-RG
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:48:39 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IE9KB-0002qG-2U
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:48:39 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IE9KA-0002qD-UY
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:48:38 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE9KA-0002qD-UY@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 19:48:38 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/Player.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 19:48:41 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 19:48:38

Modified files:
	.              : ChangeLog 
	gui            : Player.cpp Player.h 

Log message:
	* gui/Player.{cpp,h}: Be more verbose on gui initialization error.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3838&r2=1.3839
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.61&r2=1.62
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.h?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3838
retrieving revision 1.3839
diff -u -b -r1.3838 -r1.3839
--- ChangeLog	26 Jul 2007 19:43:23 -0000	1.3838
+++ ChangeLog	26 Jul 2007 19:48:38 -0000	1.3839
@@ -1,5 +1,6 @@
 2007-07-26 Sandro Santilli <strk@keybit.net>
 
+	* gui/Player.{cpp,h}: Be more verbose on gui initialization error.
 	* gui/kde.cpp (createWindow): return false if renderer creation
 	  failed.
 	* gui/kde_glue_agg.cpp (createRenderHandler): throw an exception if

Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -b -r1.61 -r1.62
--- gui/Player.cpp	26 Jul 2007 15:40:35 -0000	1.61
+++ gui/Player.cpp	26 Jul 2007 19:48:38 -0000	1.62
@@ -279,6 +279,7 @@
 	// which is *required* during movie loading
 	if ( ! _gui->init(argc, &argv) )
 	{
+    		std::cerr << "Could not initialize gui " <<  guiName(_guiFlavor) << std::endl;
 		return EXIT_FAILURE;
 	}
 
@@ -408,6 +409,44 @@
 	throw GnashException(ss.str());
 }
 
+/* public */
+std::string
+Player::guiName(GuiFlavor which)
+{
+	switch (which)
+	{
+
+		case guiGTK:
+			return "GTK";
+
+		case guiKDE:
+			return "KDE";
+
+		case guiSDL:
+			return "SDL";
+
+		case guiAQUA:
+			return "AQUA";
+
+		case guiRISCOS:
+			return "RISCOS";
+
+		case guiFLTK:
+			return "FLTK";
+
+		case guiFB:
+			return "FB";
+
+		case guiNull:
+			return "NULL";
+
+	}
+
+	std::stringstream ss;
+	ss << "unknown(" << which << ")";
+	return ss.str();
+}
+
 Player::GuiFlavor
 Player::parseGuiFlavorByName(const std::string& flavorName)
 {

Index: gui/Player.h
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- gui/Player.h	26 Jul 2007 14:39:09 -0000	1.14
+++ gui/Player.h	26 Jul 2007 19:48:38 -0000	1.15
@@ -14,7 +14,6 @@
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 // 
 //
 
@@ -149,6 +148,9 @@
 		setGuiFlavor(flav);
 	}
 
+	/// Return name of given Gui flavor
+	std::string guiName(GuiFlavor which);
+
 	void setGuiFlavor(GuiFlavor which) { _guiFlavor = which; }
 
 	/// Set the base url for this run.



From MAILER-DAEMON Thu Jul 26 15:50:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IE9Lo-0007gZ-Lk
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 15:50:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IE9Lm-0007gK-MI
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:50:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IE9Lm-0007fy-AP
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:50:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IE9Ll-0007fr-Cj
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:50:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IE9Lk-0006bQ-Ly
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 15:50:16 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IE9Lk-0002sh-3Y
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:50:16 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IE9Lj-0002se-U5
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 19:50:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IE9Lj-0002se-U5@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 19:50:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Player.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 19:50:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 19:50:15

Modified files:
	gui            : Player.cpp 

Log message:
	print gui by name in debugging output

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.62&r2=1.63

Patches:
Index: Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- Player.cpp	26 Jul 2007 19:48:38 -0000	1.62
+++ Player.cpp	26 Jul 2007 19:50:15 -0000	1.63
@@ -180,7 +180,7 @@
 void
 Player::init_gui()
 {
-	std::cout << "init_gui called - gui flavor : " << _guiFlavor << std::endl;
+	std::cout << "init_gui called - gui flavor : " << guiName(_guiFlavor) << " (" << _guiFlavor << ")" << std::endl;
 	if ( do_render )
 	{
 		std::cout << "Gui flavor is " << _guiFlavor << std::endl;



From MAILER-DAEMON Thu Jul 26 18:07:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEBUZ-0003wK-Nr
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 18:07:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEBUY-0003vb-MI
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 18:07:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEBUX-0003vO-IE
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 18:07:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEBUX-0003vL-Fd
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 18:07:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEBUX-0006Fu-5c
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 18:07:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEBUW-0007Pg-Io
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 22:07:28 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEBUW-0007Pd-ET
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 22:07:28 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEBUW-0007Pd-ET@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Thu, 26 Jul 2007 22:07:28 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jul 2007 22:07:30 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/26 22:07:28

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: don't assume that if GTK gui is used only the
	          GTK-pixelformat is needed (other GUIs might be built).
	          Fixes bug #20586.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3839&r2=1.3840
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.369&r2=1.370

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3839
retrieving revision 1.3840
diff -u -b -r1.3839 -r1.3840
--- ChangeLog	26 Jul 2007 19:48:38 -0000	1.3839
+++ ChangeLog	26 Jul 2007 22:07:27 -0000	1.3840
@@ -1,5 +1,8 @@
 2007-07-26 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: don't assume that if GTK gui is used only the
+	  GTK-pixelformat is needed (other GUIs might be built).
+	  Fixes bug #20586.
 	* gui/Player.{cpp,h}: Be more verbose on gui initialization error.
 	* gui/kde.cpp (createWindow): return false if renderer creation
 	  failed.

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.369
retrieving revision 1.370
diff -u -b -r1.369 -r1.370
--- configure.ac	26 Jul 2007 15:40:35 -0000	1.369
+++ configure.ac	26 Jul 2007 22:07:28 -0000	1.370
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.369 2007/07/26 15:40:35 strk Exp $
+dnl $Id: configure.ac,v 1.370 2007/07/26 22:07:28 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -392,17 +392,19 @@
 
 if test x$pixelformat = xall; then
   if test x$build_agg = xyes; then
-    if test x$build_gtk = xyes; then
-      AC_DEFINE(PIXELFORMAT_RGB24, [1], [RGB24 pixel format])
-      pixelformat="RGB24"
-    else
+    ### The fact that we're building GTK doesn't mean we're not also
+    ### building KDE or SDL, each needing its own pixel format !
+    #if test x$build_gtk = xyes; then
+    #  AC_DEFINE(PIXELFORMAT_RGB24, [1], [RGB24 pixel format])
+    #  pixelformat="RGB24"
+    #else
       AC_DEFINE(PIXELFORMAT_RGB555, [1], [RGB555 pixel format])
       AC_DEFINE(PIXELFORMAT_RGB565, [1], [RGB565 pixel format])
       AC_DEFINE(PIXELFORMAT_RGB24,  [1], [RGB24 pixel format])
       AC_DEFINE(PIXELFORMAT_BGR24,  [1], [BGR24 pixel format])
       AC_DEFINE(PIXELFORMAT_RGBA32, [1], [RGBA32 pixel format])
       AC_DEFINE(PIXELFORMAT_BGRA32, [1], [BGRA32 pixel format])
-    fi
+    #fi
   fi
 fi
 



From MAILER-DAEMON Thu Jul 26 23:29:01 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEGVh-00020F-JV
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 23:29:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEGVg-0001uR-0W
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 23:29:00 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEGVf-0001rP-6C
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 23:28:59 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEGVf-0001r1-1L
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 23:28:59 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEGVe-0003Od-OM
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 23:28:58 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEGVd-0002OQ-7A
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 03:28:57 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEGVc-0002ON-Tp
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 03:28:57 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEGVc-0002ON-Tp@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 27 Jul 2007 03:28:56 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2007 03:29:00 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/27 03:28:56

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: Don't threat static linking specially, multiple
	          GUIs can still be supported by that.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3840&r2=1.3841
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.370&r2=1.371

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3840
retrieving revision 1.3841
diff -u -b -r1.3840 -r1.3841
--- ChangeLog	26 Jul 2007 22:07:27 -0000	1.3840
+++ ChangeLog	27 Jul 2007 03:28:56 -0000	1.3841
@@ -1,5 +1,10 @@
 2007-07-26 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: Don't threat static linking specially, multiple
+	  GUIs can still be supported by that.
+
+2007-07-26 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: don't assume that if GTK gui is used only the
 	  GTK-pixelformat is needed (other GUIs might be built).
 	  Fixes bug #20586.

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.370
retrieving revision 1.371
diff -u -b -r1.370 -r1.371
--- configure.ac	26 Jul 2007 22:07:28 -0000	1.370
+++ configure.ac	27 Jul 2007 03:28:56 -0000	1.371
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.370 2007/07/26 22:07:28 strk Exp $
+dnl $Id: configure.ac,v 1.371 2007/07/27 03:28:56 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -540,8 +540,11 @@
 AM_CONDITIONAL(ENABLE_SHARED, [test x"${enable_shared}" = xyes])
 AM_CONDITIONAL(ENABLE_STATIC, [test x"${enable_shared}" = xno])
 AM_CONDITIONAL(STATIC_GUI, test x"${dynamic_gui}" = xno -o x"${enable_shared}" = xno)
+
 dnl build a statically linked executable
-if test x"${enable_shared}" = xno; then
+dnl We don't have anything special to do in this case
+if false; then # test x"${enable_shared}" = xno; then
+
    g=`echo  $addgui | grep -c '\,'`
    r=`echo  $add_renderer | grep -c '\,'`
   if test $g -gt 0 -o $r -gt 0 ; then
@@ -561,7 +564,9 @@
      add_renderer=ogl
      AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --enable-renderer= to change])
   fi
+
 else dnl building a dynamically linked executable without loadable GUI plugins
+
   dnl If not dynamic loading, and no gui is specified, force gtk
   if test x"${dynamic_gui}" = xno; then
     if test x$addgui = xnone; then
@@ -593,6 +598,7 @@
       AC_MSG_NOTICE([Defaulting to OpenGL and AGG as the renderers, use --enable-renderer= to change])
     fi
   fi
+
 fi
 
 AM_CONDITIONAL(BUILD_OGL_RENDERER, [ test x$build_ogl = xyes ])



From MAILER-DAEMON Thu Jul 26 23:36:04 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEGcV-0004TL-Sy
	for mharc-gnash-commit@gnu.org; Thu, 26 Jul 2007 23:36:03 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEGcT-0004SP-1S
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 23:36:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEGcS-0004Ry-Ci
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 23:36:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEGcS-0004Ru-3a
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 23:36:00 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEGcR-0004M0-PJ
	for gnash-commit@gnu.org; Thu, 26 Jul 2007 23:35:59 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEGcR-0002TK-6D
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 03:35:59 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEGcR-0002TH-21
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 03:35:59 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEGcR-0002TH-21@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 27 Jul 2007 03:35:59 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/server sprite_instance.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2007 03:36:01 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/27 03:35:59

Modified files:
	server         : sprite_instance.cpp 

Log message:
	commented out debugging lines

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/sprite_instance.cpp?cvsroot=gnash&r1=1.301&r2=1.302

Patches:
Index: sprite_instance.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/sprite_instance.cpp,v
retrieving revision 1.301
retrieving revision 1.302
diff -u -b -r1.301 -r1.302
--- sprite_instance.cpp	24 Jul 2007 13:08:56 -0000	1.301
+++ sprite_instance.cpp	27 Jul 2007 03:35:58 -0000	1.302
@@ -641,10 +641,6 @@
 	boost::intrusive_ptr<sprite_instance> sprite = ensureType<sprite_instance>(fn.this_ptr);
 	UNUSED(sprite);
 
-	static bool warned_1_arg = false;
-	static bool warned_2_arg = false;
-	static bool warned_3_arg = false;
-
 	as_environment& env = fn.env();
 
 	switch (fn.nargs)
@@ -670,11 +666,6 @@
 			matrix tgtmat = target->get_world_matrix();
 			tgtmat.transform(tgtbounds);
 
-			if ( ! warned_1_arg ) {
-				log_debug("MovieClip.hitTest(%s) TESTING", tgt_val.to_debug_string().c_str());
-				warned_1_arg=true;
-			}
-
 			return thisbounds.intersects(tgtbounds);
 
 			break;
@@ -685,11 +676,6 @@
 			float x = PIXELS_TO_TWIPS(fn.arg(0).to_number(&env));
 			float y = PIXELS_TO_TWIPS(fn.arg(1).to_number(&env));
 
-			if ( ! warned_2_arg ) {
-				log_debug("MovieClip.hitTest(%g,%g) TESTING", x,y);
-				warned_2_arg=true;
-			}
-
 			return sprite->pointInBounds(x, y);
 		}
 
@@ -699,11 +685,6 @@
 			double y = PIXELS_TO_TWIPS(fn.arg(1).to_number(&env));
 			bool shapeFlag = fn.arg(2).to_bool();
 
-			if ( ! warned_3_arg ) {
-				log_msg("MovieClip.hitTest(%g,%g,%d) TESTING", x,y,shapeFlag);
-				warned_3_arg=true;
-			}
-
 			if ( ! shapeFlag ) return sprite->pointInBounds(x, y);
 			else return sprite->pointInVisibleShape(x, y);
 		}
@@ -989,13 +970,6 @@
 	obj->set_member("x", TWIPS_TO_PIXELS(round(pt.m_x)));
 	obj->set_member("y", TWIPS_TO_PIXELS(round(pt.m_y)));
 
-	static bool warned = false;
-	if ( ! warned )
-	{
-		log_msg("MovieClip.globalToLocal() TESTING");
-		warned=true;
-	}
-
 	return ret;
 }
 
@@ -1058,13 +1032,6 @@
 	obj->set_member("x", TWIPS_TO_PIXELS(round(pt.m_x)));
 	obj->set_member("y", TWIPS_TO_PIXELS(round(pt.m_y)));
 
-	static bool warned = false;
-	if ( ! warned )
-	{
-		log_msg("MovieClip.localToGlobal() TESTING");
-		warned=true;
-	}
-
 	return ret;
 
 }



From MAILER-DAEMON Fri Jul 27 09:52:25 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEQEz-0006fk-Mu
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 09:52:25 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEQEx-0006ei-2t
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 09:52:23 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEQEw-0006e9-5D
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 09:52:22 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEQEv-0006e1-VL
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 09:52:22 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IEQEv-0002f2-1b
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 09:52:21 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IEQEs-0002LA-5C
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 13:52:18 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IEQEs-0002L7-1c
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 13:52:18 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEQEs-0002L7-1c@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Fri, 27 Jul 2007 13:52:18 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/DESIGN
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2007 13:52:23 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/27 13:52:17

Modified files:
	.              : ChangeLog 
	gui            : DESIGN 

Log message:
	Added some docmentation on the GUI-API.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3841&r2=1.3842
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/DESIGN?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3841
retrieving revision 1.3842
diff -u -b -r1.3841 -r1.3842
--- ChangeLog	27 Jul 2007 03:28:56 -0000	1.3841
+++ ChangeLog	27 Jul 2007 13:52:17 -0000	1.3842
@@ -1,3 +1,7 @@
+2007-07-27 Markus Gothe <nietzsche@lysator.liu.se>
+
+	* gui/DESIGN: Added some docmentation on the GUI-API.
+
 2007-07-26 Sandro Santilli <strk@keybit.net>
 
 	* configure.ac: Don't threat static linking specially, multiple

Index: gui/DESIGN
===================================================================
RCS file: /sources/gnash/gnash/gui/DESIGN,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- gui/DESIGN	23 Jul 2007 15:50:03 -0000	1.2
+++ gui/DESIGN	27 Jul 2007 13:52:17 -0000	1.3
@@ -1,4 +1,4 @@
-$Id: DESIGN,v 1.2 2007/07/23 15:50:03 strk Exp $
+$Id: DESIGN,v 1.3 2007/07/27 13:52:17 nihilus Exp $
 
 Overview
 ========
@@ -15,6 +15,16 @@
 
 For the frontend we have GTK, SDL, KDE(QT), FLTK2, Aqua, Framebuffer.
 
+Functions to implement:
+
+init(int argc, char **argv[]): 	
+This funtion is run first to initialize GUI-specific parameters/variables.
+
+createWindow(const char* title, int width, int height): 
+Here we create a window-widget with calling parameters.
+
+run(): 
+This is the main()-call for the GUI.
 
 Renderer
 ========



From MAILER-DAEMON Fri Jul 27 10:13:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEQZ5-0002ty-Q6
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 10:13:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEQZ4-0002rn-Gm
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 10:13:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEQZ3-0002qL-H1
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 10:13:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEQZ3-0002qF-Dr
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 10:13:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEQZ3-0007Fk-8v
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 10:13:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEQYv-0003M3-Iw
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 14:13:01 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEQYv-0003Lw-CT
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 14:13:01 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEQYv-0003Lw-CT@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 27 Jul 2007 14:13:01 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2007 14:13:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/27 14:13:01

Modified files:
	.              : ChangeLog 
	gui            : Makefile.am 

Log message:
	        * gui/Makefile.am: distribute kde_glue_opengl.h.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3842&r2=1.3843
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.89&r2=1.90

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3842
retrieving revision 1.3843
diff -u -b -r1.3842 -r1.3843
--- ChangeLog	27 Jul 2007 13:52:17 -0000	1.3842
+++ ChangeLog	27 Jul 2007 14:13:00 -0000	1.3843
@@ -1,3 +1,7 @@
+2007-07-27 Sandro Santilli <strk@keybit.net>
+
+	* gui/Makefile.am: distribute kde_glue_opengl.h.
+
 2007-07-27 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* gui/DESIGN: Added some docmentation on the GUI-API.

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- gui/Makefile.am	26 Jul 2007 15:40:35 -0000	1.89
+++ gui/Makefile.am	27 Jul 2007 14:13:01 -0000	1.90
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.89 2007/07/26 15:40:35 strk Exp $
+# $Id: Makefile.am,v 1.90 2007/07/27 14:13:01 strk Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -219,7 +219,7 @@
      libgnashkde_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(OPENGL_FLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
      libgnashkde_ogl_la_SOURCES = \
-	kde_glue_opengl.cpp kde_glue.h \
+	kde_glue_opengl.cpp kde_glue_opengl.h kde_glue.h \
 	kde.cpp kdesup.h kde_glue.h
      libgnashkde_ogl_la_LDFLAGS = $(LIB_FLAGS)
      libgnashkde_ogl_la_LIBADD = \



From MAILER-DAEMON Fri Jul 27 11:09:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IERRs-0003O4-Hi
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 11:09:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IERRr-0003Nh-Ey
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:09:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IERRq-0003NH-CZ
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:09:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IERRq-0003NC-4l
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:09:46 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <tomasgroth@yahoo.dk>) id 1IERRp-00079q-L2
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:09:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <tomasgroth@yahoo.dk>) id 1IERRm-0006n3-Hv
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 15:09:42 +0000
Received: from tgc by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <tgc@savannah.gnu.org>) id 1IERRm-0006n0-BC
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 15:09:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IERRm-0006n0-BC@cvs.savannah.gnu.org>
From: Tomas Groth <tomasgroth@yahoo.dk>
Date: Fri, 27 Jul 2007 15:09:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/sound_handler.h backend...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2007 15:09:47 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Tomas Groth <tgc>	07/07/27 15:09:42

Modified files:
	.              : ChangeLog 
	backend        : sound_handler.h sound_handler_gst.cpp 
	                 sound_handler_gst.h sound_handler_sdl.cpp 
	                 sound_handler_sdl.h 
	server/asobj   : SoundFfmpeg.cpp SoundGst.cpp SoundGst.h 
	                 SoundMad.cpp SoundMad.h 
	server/swf     : tag_loaders.cpp 

Log message:
		* backend/sound_handler.h, backend/sound_handler_gst.{cpp,h},
		backend/sound_handler_sdl.{cpp,h}, server/asobj/SoundFfmpeg.{h,cpp},
		server/asobj/SoundGst.{h,cpp}, server/asobj/SoundMad.{h,cpp}:
		Implement duration and position properties when using Sound objects
		to control an eventsound, patch partly by Sergio Costas.
		* server/swf/tag_loaders.cpp: Fix warnings.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3843&r2=1.3844
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler.h?cvsroot=gnash&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.cpp?cvsroot=gnash&r1=1.54&r2=1.55
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.h?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.cpp?cvsroot=gnash&r1=1.75&r2=1.76
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_sdl.h?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundFfmpeg.cpp?cvsroot=gnash&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundGst.cpp?cvsroot=gnash&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundGst.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundMad.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundMad.h?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/tag_loaders.cpp?cvsroot=gnash&r1=1.116&r2=1.117

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3843
retrieving revision 1.3844
diff -u -b -r1.3843 -r1.3844
--- ChangeLog	27 Jul 2007 14:13:00 -0000	1.3843
+++ ChangeLog	27 Jul 2007 15:09:40 -0000	1.3844
@@ -1,3 +1,12 @@
+2007-07-27 Tomas Groth Christensen <tomasgroth@yahoo.dk>
+
+	* backend/sound_handler.h, backend/sound_handler_gst.{cpp,h},
+	backend/sound_handler_sdl.{cpp,h}, server/asobj/SoundFfmpeg.{h,cpp},
+	server/asobj/SoundGst.{h,cpp}, server/asobj/SoundMad.{h,cpp}:
+	Implement duration and position properties when using Sound objects
+	to control an eventsound, patch partly by Sergio Costas.
+	* server/swf/tag_loaders.cpp: Fix warnings.
+
 2007-07-27 Sandro Santilli <strk@keybit.net>
 
 	* gui/Makefile.am: distribute kde_glue_opengl.h.

Index: backend/sound_handler.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- backend/sound_handler.h	23 Jul 2007 22:07:58 -0000	1.19
+++ backend/sound_handler.h	27 Jul 2007 15:09:41 -0000	1.20
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: sound_handler.h,v 1.19 2007/07/23 22:07:58 strk Exp $ */
+/* $Id: sound_handler.h,v 1.20 2007/07/27 15:09:41 tgc Exp $ */
 
 /// \page sound_handler_intro Sound handler introduction
 ///
@@ -262,6 +262,24 @@
 
 	virtual ~sound_handler() {};
 
+	/// Gets the duration in milliseconds of an event sound connected
+	/// to an AS Sound obejct.
+	///
+	/// @param sound_handle
+	/// The id of the event sound
+	///
+	/// @return the duration of the sound in milliseconds
+	virtual unsigned int get_duration(int sound_handle) = 0;
+
+	/// Gets the playhead position in milliseconds of an event sound connected
+	/// to an AS Sound obejct.
+	///
+	/// @param sound_handle
+	/// The id of the event sound
+	///
+	/// @return the duration of the sound in milliseconds
+	virtual unsigned int get_position(int sound_handle) = 0;
+
 	/// Special test-fuction. Reports how many times a sound has been started
 	size_t numSoundsStarted() const { return _soundsStarted; }
 

Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- backend/sound_handler_gst.cpp	23 Jul 2007 22:23:33 -0000	1.54
+++ backend/sound_handler_gst.cpp	27 Jul 2007 15:09:41 -0000	1.55
@@ -20,7 +20,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.54 2007/07/23 22:23:33 strk Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.55 2007/07/27 15:09:41 tgc Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -604,6 +604,63 @@
 	log_unimpl(__PRETTY_FUNCTION__);
 }
 
+unsigned int GST_sound_handler::get_duration(int sound_handle)
+{
+	mutex::scoped_lock lock(_mutex);
+
+	// Check if the sound exists.
+	if (sound_handle < 0 || (unsigned int) sound_handle >= m_sound_data.size())
+	{
+		// Invalid handle.
+		return 0;
+	}
+
+	sound_data* sounddata = m_sound_data[sound_handle];
+
+	// Return the sound duration in milliseconds
+	if (sounddata->sample_count > 0 && sounddata->sample_rate > 0) {
+		unsigned int ret = sounddata->sample_count / sounddata->sample_rate * 100;
+		if (sounddata->stereo) ret = ret / 2;
+		return ret;
+	} else {
+		return 0;
+	}
+}
+
+unsigned int GST_sound_handler::get_position(int sound_handle)
+{
+	mutex::scoped_lock lock(_mutex);
+
+	// Check if the sound exists.
+	if (sound_handle < 0 || (unsigned int) sound_handle >= m_sound_data.size())
+	{
+		// Invalid handle.
+		return 0;
+	}
+
+	sound_data* sounddata = m_sound_data[sound_handle];
+
+	// return the position of the last element added
+	GstElement *pipeline,*audiosink;
+	GstStateChangeReturn ret;
+	GstState current, pending;
+	int64_t pos;
+	GstFormat fmt = GST_FORMAT_TIME;
+	
+	pipeline=sounddata->m_gst_elements[sounddata->m_gst_elements.size()-1]->pipeline;
+	
+	ret = gst_element_get_state (GST_ELEMENT (pipeline), &current, &pending, 0);
+
+	if (current != GST_STATE_NULL) {
+		audiosink=sounddata->m_gst_elements[sounddata->m_gst_elements.size()-1]->audiosink;
+		if (gst_element_query_position (pipeline, &fmt, &pos)) {
+			return static_cast<unsigned int>(pos / GST_MSECOND);
+		} else {
+			return 0;
+		}
+	}
+}
+
 // Pointer handling and checking functions
 uint8_t* gst_elements::get_data_ptr(unsigned long int pos) {
 	assert(data_size > pos);

Index: backend/sound_handler_gst.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- backend/sound_handler_gst.h	23 Jul 2007 22:22:25 -0000	1.12
+++ backend/sound_handler_gst.h	27 Jul 2007 15:09:41 -0000	1.13
@@ -177,8 +177,15 @@
 	/// Gnash calls this to get the mute state.
 	virtual bool	is_muted();
 
+	/// Gets the duration in milliseconds of an event sound connected to an AS Sound obejct.
+	virtual unsigned int get_duration(int sound_handle);
+
+	/// Gets the playhead position in milliseconds of an event sound connected to an AS Soound obejct.
+	virtual unsigned int get_position(int sound_handle);
+
 	virtual void	attach_aux_streamer(aux_streamer_ptr ptr, void* owner);	//vv
 	virtual void	detach_aux_streamer(void* owner);	//vv
+	
 };
 
 } // namespace gnash

Index: backend/sound_handler_sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- backend/sound_handler_sdl.cpp	23 Jul 2007 22:22:25 -0000	1.75
+++ backend/sound_handler_sdl.cpp	27 Jul 2007 15:09:41 -0000	1.76
@@ -18,7 +18,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-// $Id: sound_handler_sdl.cpp,v 1.75 2007/07/23 22:22:25 strk Exp $
+// $Id: sound_handler_sdl.cpp,v 1.76 2007/07/27 15:09:41 tgc Exp $
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -535,6 +535,53 @@
 
 }
 
+unsigned int SDL_sound_handler::get_duration(int sound_handle)
+{
+	mutex::scoped_lock lock(_mutex);
+
+	// Check if the sound exists.
+	if (sound_handle < 0 || (unsigned int) sound_handle >= m_sound_data.size())
+	{
+		// Invalid handle.
+		return 0;
+	}
+
+	sound_data* sounddata = m_sound_data[sound_handle];
+
+	// Return the sound duration in milliseconds
+	if (sounddata->sample_count > 0 && sounddata->sample_rate > 0) {
+		unsigned int ret = sounddata->sample_count / sounddata->sample_rate * 100;
+		if (sounddata->stereo) ret = ret / 2;
+		return ret;
+	} else {
+		return 0;
+	}
+}
+
+unsigned int SDL_sound_handler::get_position(int sound_handle)
+{
+	mutex::scoped_lock lock(_mutex);
+
+	// Check if the sound exists.
+	if (sound_handle < 0 || (unsigned int) sound_handle >= m_sound_data.size())
+	{
+		// Invalid handle.
+		return 0;
+	}
+
+	sound_data* sounddata = m_sound_data[sound_handle];
+
+	// If there is no active sounds, return 0
+	if (sounddata->m_active_sounds.size() == 0) return 0;
+
+	// We use the first active sound of this.
+	active_sound* asound = sounddata->m_active_sounds[0];
+
+	// Return the playhead position in milliseconds
+	unsigned int ret = asound->samples_played / sounddata->sample_rate * 100;
+	if (sounddata->stereo) ret = ret / 2;
+	return ret;
+}
 
 sound_handler*
 create_sound_handler_sdl()
@@ -714,10 +761,7 @@
 		delete [] buf;
 	}
 
-#ifdef WIN32	// hack
-	return;
-#endif
-
+	// Run through all the sounds.
 	for(uint32_t i=0; i < handler->m_sound_data.size(); i++) {
 		sound_data* sounddata = handler->m_sound_data[i];
 		for(uint32_t j = 0; j < sounddata->m_active_sounds.size(); j++) {
@@ -747,6 +791,7 @@
 					if (index < buffer_length) {
 						sound->loop_count--;
 						sound->raw_position = 0;
+						sound->samples_played = 0;
 						unsigned int mix_length = ((buffer_length - index) > sound->raw_data_size ? sound->raw_data_size : (buffer_length - index));
 						do_mixing(stream+index, sound, sound->get_raw_data_ptr(sound->raw_position), 
 							mix_length, sounddata->volume);
@@ -765,6 +810,7 @@
 					if (sound->data_size == sound->position && sound->loop_count != 0) {
 						sound->loop_count--;
 						sound->position = 0;
+						sound->samples_played = 0;
 					}
 
 					// Test if we will get problems... Should not happen...

Index: backend/sound_handler_sdl.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_sdl.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- backend/sound_handler_sdl.h	23 Jul 2007 22:22:25 -0000	1.30
+++ backend/sound_handler_sdl.h	27 Jul 2007 15:09:41 -0000	1.31
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: sound_handler_sdl.h,v 1.30 2007/07/23 22:22:25 strk Exp $
+// $Id: sound_handler_sdl.h,v 1.31 2007/07/27 15:09:41 tgc Exp $
 
 #ifndef SOUND_HANDLER_SDL_H
 #define SOUND_HANDLER_SDL_H
@@ -226,6 +226,12 @@
 	/// Gnash calls this to get the mute state.
 	virtual bool	is_muted();
 
+	/// Gets the duration in milliseconds of an event sound connected to an AS Sound obejct.
+	virtual unsigned int get_duration(int sound_handle);
+
+	/// Gets the playhead position in milliseconds of an event sound connected to an AS Soound obejct.
+	virtual unsigned int get_position(int sound_handle);
+	
 	virtual void	attach_aux_streamer(aux_streamer_ptr ptr, void* owner);	//vv
 	virtual void	detach_aux_streamer(void* owner);	//vv
 

Index: server/asobj/SoundFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundFfmpeg.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- server/asobj/SoundFfmpeg.cpp	6 Jul 2007 18:51:41 -0000	1.13
+++ server/asobj/SoundFfmpeg.cpp	27 Jul 2007 15:09:41 -0000	1.14
@@ -165,10 +165,7 @@
 				}
 				break;
 
-			case CODEC_TYPE_VIDEO:
-			case CODEC_TYPE_DATA:
-			case CODEC_TYPE_SUBTITLE:
-			case CODEC_TYPE_UNKNOWN:
+			default:
 				log_error(_("Non-audio data (type %d) found in file %s"),
 				   enc->codec_type, so->externalURL.c_str());
 		
@@ -430,7 +427,7 @@
 	sound_handler* s = get_sound_handler();
 	if (s != NULL)
 	{
-	    if (si > -1) {
+	    if (si < 0) {
 	    	if (externalSound) {
 	    		s->detach_aux_streamer(this);
 	    	} else {
@@ -445,6 +442,17 @@
 unsigned int
 SoundFfmpeg::getDuration()
 {
+
+	// If this is a event sound get the info from the soundhandler
+	if (!externalSound) {
+		sound_handler* s = get_sound_handler();
+		if (s) {		
+	    	return (s->get_duration(soundId));
+	    } else {
+	    	return 0; // just in case
+		}
+	}
+
 	// Return the duration of the file in milliseconds
 	if (formatCtx && audioIndex) {
 		return static_cast<unsigned int>(formatCtx->duration * 1000);
@@ -456,6 +464,16 @@
 unsigned int
 SoundFfmpeg::getPosition()
 {
+	// If this is a event sound get the info from the soundhandler
+	if (!externalSound) {
+		sound_handler* s = get_sound_handler();
+		if (s) {
+			return s->get_position(soundId);
+	    } else {
+	    	return 0; // just in case
+		}
+	}
+
 	// Return the position in the file in milliseconds
 	if (formatCtx && audioIndex) {
 		double time = (double)formatCtx->streams[audioIndex]->time_base.num / formatCtx->streams[audioIndex]->time_base.den * (double)formatCtx->streams[audioIndex]->cur_dts;

Index: server/asobj/SoundGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundGst.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- server/asobj/SoundGst.cpp	1 Jul 2007 10:54:31 -0000	1.9
+++ server/asobj/SoundGst.cpp	27 Jul 2007 15:09:41 -0000	1.10
@@ -284,7 +284,7 @@
 	sound_handler* s = get_sound_handler();
 	if (s != NULL)
 	{
-	    if (si > -1) {
+	    if (si < 0) {
 	    	if (externalSound) {
 				gst_element_set_state (GST_ELEMENT (pipeline), GST_STATE_NULL);
 	    	} else {
@@ -300,6 +300,17 @@
 SoundGst::getDuration()
 {
 	// Return the duration of the file in milliseconds
+	
+	// If this is a event sound get the info from the soundhandler
+	if (!externalSound) {
+		sound_handler* s = get_sound_handler();
+		if (s) {		
+	    	return (s->get_duration(soundId));
+	    } else {
+	    	return 0; // just in case
+		}
+	}
+	
 	GstFormat fmt = GST_FORMAT_TIME;
 	int64_t len;
 
@@ -314,6 +325,17 @@
 SoundGst::getPosition()
 {
 	// Return the position in the file in milliseconds
+	
+	// If this is a event sound get the info from the soundhandler
+	if (!externalSound) {
+		sound_handler* s = get_sound_handler();
+		if (s) {
+			return s->get_position(soundId);	
+	    } else {
+	    	return 0; // just in case
+		}
+	}
+	
 	if (!pipeline) return 0;
 
 	GstFormat fmt = GST_FORMAT_TIME;

Index: server/asobj/SoundGst.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundGst.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/asobj/SoundGst.h	1 Jul 2007 10:54:31 -0000	1.4
+++ server/asobj/SoundGst.h	27 Jul 2007 15:09:41 -0000	1.5
@@ -40,7 +40,20 @@
   
 class SoundGst : public Sound {
 public:
-
+	SoundGst()
+		:
+		pipeline(NULL),
+		audiosink(NULL),
+		source(NULL),
+		decoder(NULL),
+		volume(NULL),
+		audioconv(NULL),
+		setupThread(NULL),
+		lock(NULL), 
+		inputPos(0),
+		isAttached(false),
+		remainingLoops(0)
+	{}
 	~SoundGst();
 
 	void loadSound(std::string file, bool streaming);

Index: server/asobj/SoundMad.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundMad.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/asobj/SoundMad.cpp	23 Jul 2007 22:07:59 -0000	1.11
+++ server/asobj/SoundMad.cpp	27 Jul 2007 15:09:41 -0000	1.12
@@ -327,11 +327,11 @@
 SoundMad::~SoundMad() {
 	if (leftOverData && leftOverSize) delete[] leftOverData;
 
+	if (isAttached) {
 	mad_synth_finish(&synth);
 	mad_frame_finish(&frame);
 	mad_stream_finish(&stream);
 
-	if (isAttached) {
 		sound_handler* s = get_sound_handler();
 		if (s) {
 			s->detach_aux_streamer(this);
@@ -400,7 +400,7 @@
 	sound_handler* s = get_sound_handler();
 	if (s != NULL)
 	{
-	    if (si > -1) {
+	    if (si < 0) {
 	    	if (externalSound) {
 	    		s->detach_aux_streamer(this);
 	    	} else {
@@ -415,6 +415,16 @@
 unsigned int
 SoundMad::getDuration()
 {
+	// If this is a event sound get the info from the soundhandler
+	if (!externalSound) {
+		sound_handler* s = get_sound_handler();
+		if (s) {		
+	    	return (s->get_duration(soundId));
+	    } else {
+	    	return 0; // just in case
+		}
+	}
+
 	// Return the duration of the file in milliseconds
 /*	if (formatCtx && audioIndex) {
 		return static_cast<unsigned int>(formatCtx->duration * 1000);
@@ -427,12 +437,19 @@
 unsigned int
 SoundMad::getPosition()
 {
-	// Return the position in the file in milliseconds
-	if (1) {
-		return inputPos/bitrate/8*1000;
+
+	// If this is a event sound get the info from the soundhandler
+	if (!externalSound) {
+		sound_handler* s = get_sound_handler();
+		if (s) {
+			return s->get_position(soundId);	
 	} else {
-		return 0;
+	    	return 0; // just in case
 	}
+	}
+
+	// Return the position in the file in milliseconds
+	return inputPos/bitrate/8*1000;
 }
 
 } // end of gnash namespace

Index: server/asobj/SoundMad.h
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundMad.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- server/asobj/SoundMad.h	1 Jul 2007 10:54:31 -0000	1.4
+++ server/asobj/SoundMad.h	27 Jul 2007 15:09:41 -0000	1.5
@@ -40,7 +40,17 @@
   
 class SoundMad : public Sound {
 public:
-
+	SoundMad()
+		:
+		inputPos(0),
+		setupThread(NULL),
+		lock(NULL), 
+		bitrate(0),
+		leftOverData(NULL),
+		leftOverSize(0),
+		isAttached(false),
+		remainingLoops(0)
+	{}
 	~SoundMad();
 
 	void loadSound(std::string file, bool streaming);

Index: server/swf/tag_loaders.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/swf/tag_loaders.cpp,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -b -r1.116 -r1.117
--- server/swf/tag_loaders.cpp	1 Jul 2007 10:54:36 -0000	1.116
+++ server/swf/tag_loaders.cpp	27 Jul 2007 15:09:42 -0000	1.117
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: tag_loaders.cpp,v 1.116 2007/07/01 10:54:36 bjacques Exp $ */
+/* $Id: tag_loaders.cpp,v 1.117 2007/07/27 15:09:42 tgc Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1233,6 +1233,7 @@
     case sound_handler::FORMAT_MP3:
     case sound_handler::FORMAT_NELLYMOSER:
     case sound_handler::FORMAT_NATIVE16:
+    case sound_handler::FORMAT_NELLYMOSER_8HZ_MONO:
 	break;
     }
 
@@ -1389,6 +1390,7 @@
 	in->read((char *)data, data_bytes);
 	break;
 
+    case sound_handler::FORMAT_NELLYMOSER_8HZ_MONO:
     case sound_handler::FORMAT_NELLYMOSER:
 	// One day...
 	in->skip_bytes(data_bytes);



From MAILER-DAEMON Fri Jul 27 11:16:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IERYe-0005P3-Jr
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 11:16:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IERYd-0005Oy-Db
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:16:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IERYc-0005Om-1U
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:16:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IERYb-0005Oj-RX
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:16:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IERYb-0000Y2-Kf
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:16:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IERYa-00086U-Jf
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 15:16:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IERYZ-00086M-UH
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 15:16:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IERYZ-00086M-UH@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 27 Jul 2007 15:16:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/backend sound_handler.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2007 15:16:47 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/27 15:16:43

Modified files:
	backend        : sound_handler.h 

Log message:
	provide brief descriptions for get_duration and get_position (doxygen syntax thing)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler.h?cvsroot=gnash&r1=1.20&r2=1.21

Patches:
Index: sound_handler.h
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- sound_handler.h	27 Jul 2007 15:09:41 -0000	1.20
+++ sound_handler.h	27 Jul 2007 15:16:43 -0000	1.21
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: sound_handler.h,v 1.20 2007/07/27 15:09:41 tgc Exp $ */
+/* $Id: sound_handler.h,v 1.21 2007/07/27 15:16:43 strk Exp $ */
 
 /// \page sound_handler_intro Sound handler introduction
 ///
@@ -262,18 +262,20 @@
 
 	virtual ~sound_handler() {};
 	
+	/// \brief
 	/// Gets the duration in milliseconds of an event sound connected
 	/// to an AS Sound obejct.
-	///
+	//
 	/// @param sound_handle
 	/// The id of the event sound
 	///
 	/// @return the duration of the sound in milliseconds
 	virtual unsigned int get_duration(int sound_handle) = 0;
 
+	/// \brief
 	/// Gets the playhead position in milliseconds of an event sound connected
 	/// to an AS Sound obejct.
-	///
+	//
 	/// @param sound_handle
 	/// The id of the event sound
 	///



From MAILER-DAEMON Fri Jul 27 11:17:08 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IERYx-0005bo-UU
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 11:17:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IERYw-0005aB-5T
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:17:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IERYu-0005YT-3n
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:17:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IERYt-0005Y3-TF
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:17:03 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IERYt-0000c0-8i
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:17:03 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6RFGDH75056;
	Fri, 27 Jul 2007 17:16:13 +0200 (CEST)
	(envelope-from strk@keybit.net)
From: strk <strk@keybit.net>
Date: Fri, 27 Jul 2007 17:16:13 +0200
To: Tomas Groth <tomasgroth@yahoo.dk>
Subject: Re: [Gnash-commit] gnash ChangeLog backend/sound_handler.h backend...
Message-ID: <20070727151613.GC62647@keybit.net>
Mail-Followup-To: Tomas Groth <tomasgroth@yahoo.dk>, gnash-commit@gnu.org
References: <E1IERRm-0006n0-BC@cvs.savannah.gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1IERRm-0006n0-BC@cvs.savannah.gnu.org>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2007 15:17:06 -0000

On Fri, Jul 27, 2007 at 03:09:42PM +0000, Tomas Groth wrote:

> +unsigned int GST_sound_handler::get_duration(int sound_handle)
> +{
> +	mutex::scoped_lock lock(_mutex);
> +
> +	// Check if the sound exists.
> +	if (sound_handle < 0 || (unsigned int) sound_handle >= m_sound_data.size())
> +	{
> +		// Invalid handle.
> +		return 0;
> +	}
> +
> +	sound_data* sounddata = m_sound_data[sound_handle];

Could we substitute the above block with a getSoundData(int sound_handle) ?
The getSoundData function would return NULL if the handle is invalid, and we'd have
a single implementation rather then duplicated ones (see duplication in get_position,
and in both SDL and GST versions).

--strk;



From MAILER-DAEMON Fri Jul 27 11:38:21 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IERtV-0003Lr-FX
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 11:38:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IERtT-0003Kq-7S
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:38:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IERtS-0003KW-4M
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:38:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IERtR-0003KT-Va
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:38:18 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IERtR-000671-77
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 11:38:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IERtQ-0000Mj-27
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 15:38:16 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IERtP-0000Mg-Tv
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 15:38:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IERtP-0000Mg-Tv@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Fri, 27 Jul 2007 15:38:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog plugin/klash/klash_part.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jul 2007 15:38:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/27 15:38:15

Modified files:
	.              : ChangeLog 
	plugin/klash   : klash_part.cpp 

Log message:
	Patch by Nick Warne:  plugin/klash/klash_part.cpp: typo (0l => 0L)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3844&r2=1.3845
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/klash_part.cpp?cvsroot=gnash&r1=1.15&r2=1.16

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3844
retrieving revision 1.3845
diff -u -b -r1.3844 -r1.3845
--- ChangeLog	27 Jul 2007 15:09:40 -0000	1.3844
+++ ChangeLog	27 Jul 2007 15:38:15 -0000	1.3845
@@ -1,3 +1,7 @@
+2007-07-27 Nick Warne <nick@ukfsn.org>
+
+	* plugin/klash/klash_part.cpp: typo (0l => 0L)
+
 2007-07-27 Tomas Groth Christensen <tomasgroth@yahoo.dk>
 
 	* backend/sound_handler.h, backend/sound_handler_gst.{cpp,h},

Index: plugin/klash/klash_part.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/klash_part.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- plugin/klash/klash_part.cpp	23 Jul 2007 15:44:36 -0000	1.15
+++ plugin/klash/klash_part.cpp	27 Jul 2007 15:38:15 -0000	1.16
@@ -212,7 +212,7 @@
             m_process->wait(2);
         }
         delete m_process;
-        m_process = 0l;
+        m_process = 0L;
     }
 }
 



From MAILER-DAEMON Fri Jul 27 21:18:39 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEax5-00068d-GM
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 21:18:39 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEax3-00068A-6e
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:18:37 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEax1-00067y-Nb
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:18:35 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEax1-00067v-GQ
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:18:35 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IEax0-0007QD-PU
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:18:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IEawz-0005Df-JM
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 01:18:33 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IEawz-0005Dc-9x
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 01:18:33 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEawz-0005Dc-9x@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 28 Jul 2007 01:18:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Player.cpp gui/DESIGN
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 01:18:37 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/28 01:18:33

Modified files:
	.              : ChangeLog 
	gui            : Player.cpp DESIGN 

Log message:
	define DEAFULT_GUI as a string instead of enum.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3845&r2=1.3846
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.63&r2=1.64
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/DESIGN?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3845
retrieving revision 1.3846
diff -u -b -r1.3845 -r1.3846
--- ChangeLog	27 Jul 2007 15:38:15 -0000	1.3845
+++ ChangeLog	28 Jul 2007 01:18:32 -0000	1.3846
@@ -18,6 +18,7 @@
 2007-07-27 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* gui/DESIGN: Added some docmentation on the GUI-API.
+	* gui/Player.cpp: define DEAFULT_GUI as a string instead of enum.
 
 2007-07-26 Sandro Santilli <strk@keybit.net>
 

Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- gui/Player.cpp	26 Jul 2007 19:50:15 -0000	1.63
+++ gui/Player.cpp	28 Jul 2007 01:18:32 -0000	1.64
@@ -22,7 +22,7 @@
 #endif
 
 #ifndef DEFAULT_GUI
-# define DEFAULT_GUI guiNull
+# define DEFAULT_GUI "NULL"
 #endif
 
 #include "gui.h"

Index: gui/DESIGN
===================================================================
RCS file: /sources/gnash/gnash/gui/DESIGN,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- gui/DESIGN	27 Jul 2007 13:52:17 -0000	1.3
+++ gui/DESIGN	28 Jul 2007 01:18:33 -0000	1.4
@@ -1,4 +1,4 @@
-$Id: DESIGN,v 1.3 2007/07/27 13:52:17 nihilus Exp $
+$Id: DESIGN,v 1.4 2007/07/28 01:18:33 nihilus Exp $
 
 Overview
 ========
@@ -23,6 +23,9 @@
 createWindow(const char* title, int width, int height): 
 Here we create a window-widget with calling parameters.
 
+setCursor(gnash_cursor_type newcursor):
+This function is called when the cursor-type is changed.
+
 run(): 
 This is the main()-call for the GUI.
 



From MAILER-DAEMON Fri Jul 27 21:39:09 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEbGv-0004fo-Ee
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 21:39:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEbGt-0004fh-P4
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:39:07 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEbGs-0004fV-Dv
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:39:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEbGs-0004fS-8N
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:39:06 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IEbGr-0002FF-Vx
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:39:06 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IEbGr-0005ZV-24
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 01:39:05 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IEbGq-0005ZS-Th
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 01:39:04 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEbGq-0005ZS-Th@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 28 Jul 2007 01:39:04 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 01:39:08 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/28 01:39:04

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	Fixed bogus enabling of klash.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3846&r2=1.3847
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.371&r2=1.372

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3846
retrieving revision 1.3847
diff -u -b -r1.3846 -r1.3847
--- ChangeLog	28 Jul 2007 01:18:32 -0000	1.3846
+++ ChangeLog	28 Jul 2007 01:39:04 -0000	1.3847
@@ -1,3 +1,7 @@
+2007-07-28 Markus Gothe <nietzsche@lysator.liu.se>
+	
+	* configure.ac: Don't try building KDE/Klash if we'vent got the libs...
+
 2007-07-27 Nick Warne <nick@ukfsn.org>
 
 	* plugin/klash/klash_part.cpp: typo (0l => 0L)

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.371
retrieving revision 1.372
diff -u -b -r1.371 -r1.372
--- configure.ac	27 Jul 2007 03:28:56 -0000	1.371
+++ configure.ac	28 Jul 2007 01:39:04 -0000	1.372
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.371 2007/07/27 03:28:56 strk Exp $
+dnl $Id: configure.ac,v 1.372 2007/07/28 01:39:04 nihilus Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -984,12 +984,14 @@
     echo "WARNING: No KDE development package installed, disabling klash"
     klash=no
   fi
+  klash=no
 fi
 if test x$has_qt != xyes; then
   if test x$klash = xyes; then
     echo "WARNING: No QT development package installed, disabling klash"
     klash=no
   fi
+  klash=no
 fi
 
 AM_CONDITIONAL(KLASH, [test x$klash = xyes])



From MAILER-DAEMON Fri Jul 27 21:40:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEbIT-0005Hq-VR
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 21:40:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEbIR-0005HX-Vy
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:40:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEbIQ-0005HL-Gq
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:40:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEbIQ-0005HI-BS
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:40:42 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IEbIQ-0002RD-1E
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:40:42 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IEbIP-0005dy-GE
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 01:40:41 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IEbIP-0005dv-CF
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 01:40:41 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEbIP-0005dv-CF@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 28 Jul 2007 01:40:41 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 01:40:44 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/28 01:40:41

Modified files:
	.              : configure.ac 

Log message:
	Same as last comit, just cleaner way...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.372&r2=1.373

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.372
retrieving revision 1.373
diff -u -b -r1.372 -r1.373
--- configure.ac	28 Jul 2007 01:39:04 -0000	1.372
+++ configure.ac	28 Jul 2007 01:40:41 -0000	1.373
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.372 2007/07/28 01:39:04 nihilus Exp $
+dnl $Id: configure.ac,v 1.373 2007/07/28 01:40:41 nihilus Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -982,14 +982,12 @@
 if test x$has_kde != xyes; then
   if test x$klash = xyes; then
     echo "WARNING: No KDE development package installed, disabling klash"
-    klash=no
   fi
   klash=no
 fi
 if test x$has_qt != xyes; then
   if test x$klash = xyes; then
     echo "WARNING: No QT development package installed, disabling klash"
-    klash=no
   fi
   klash=no
 fi



From MAILER-DAEMON Fri Jul 27 21:59:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEbaS-0000Cn-Nk
	for mharc-gnash-commit@gnu.org; Fri, 27 Jul 2007 21:59:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEbaQ-0000CQ-Ol
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:59:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEbaP-0000CE-Bj
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:59:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEbaP-0000CB-6d
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:59:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IEbaO-00053y-Rw
	for gnash-commit@gnu.org; Fri, 27 Jul 2007 21:59:16 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IEbaN-0007Ey-T6
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 01:59:15 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IEbaN-0007Ev-Oe
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 01:59:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEbaN-0007Ev-Oe@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 28 Jul 2007 01:59:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 01:59:18 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/28 01:59:15

Modified files:
	.              : configure.ac 

Log message:
	Same as above, but this one relly fixed it

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.373&r2=1.374

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.373
retrieving revision 1.374
diff -u -b -r1.373 -r1.374
--- configure.ac	28 Jul 2007 01:40:41 -0000	1.373
+++ configure.ac	28 Jul 2007 01:59:15 -0000	1.374
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.373 2007/07/28 01:40:41 nihilus Exp $
+dnl $Id: configure.ac,v 1.374 2007/07/28 01:59:15 nihilus Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -956,8 +956,22 @@
   klash=no
 fi
 
+dnl # NO kde ? NO klash !
+if test x$has_kde != xyes; then
+  if test x$klash = xyes; then
+    echo "WARNING: No KDE development package installed, disabling klash"
+    klash=no
+  fi
+fi
+if test x$has_qt != xyes; then
+  if test x$klash = xyes; then
+    echo "WARNING: No QT development package installed, disabling klash"
+    klash=no
+  fi
+fi
+
 dnl # Check KDE if kde gui or klash were requested
-if test x$build_kde = xyes -o x$klash = xyes -o x$plugin = xno; then
+if test x$build_kde = xyes -o x"$klash" = xyes -o x"$plugin" = xno; then
   kde=yes
   qt=yes
   build_kde=yes
@@ -977,21 +991,6 @@
 AM_CONDITIONAL(BUILD_AQUA_GUI, [ test x$build_aqua = xyes ])
 AM_CONDITIONAL(BUILD_RISCOS_GUI, [ test x$build_riscos = xyes ])
 
-
-dnl # NO kde ? NO klash !
-if test x$has_kde != xyes; then
-  if test x$klash = xyes; then
-    echo "WARNING: No KDE development package installed, disabling klash"
-  fi
-  klash=no
-fi
-if test x$has_qt != xyes; then
-  if test x$klash = xyes; then
-    echo "WARNING: No QT development package installed, disabling klash"
-  fi
-  klash=no
-fi
-
 AM_CONDITIONAL(KLASH, [test x$klash = xyes])
 
 AC_SUBST(KDE_CFLAGS)



From MAILER-DAEMON Sat Jul 28 08:58:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEls7-0000P2-LX
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 08:58:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEls5-0000Om-LZ
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 08:58:13 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEls3-0000OX-T1
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 08:58:12 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEls3-0000OU-Nw
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 08:58:11 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEls3-00011C-Dv
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 08:58:11 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEls1-0003Du-Qn
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 12:58:09 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEls1-0003Dr-LL
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 12:58:09 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEls1-0003Dr-LL@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 28 Jul 2007 12:58:09 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-mtasc.all/Makefi...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 12:58:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/28 12:58:09

Modified files:
	.              : ChangeLog 
	testsuite/misc-mtasc.all: Makefile.am 

Log message:
	        * testsuite/misc-mtasc.all/Makefile.am: distribute
	          mtasc related files even if mtasc is not detected.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3847&r2=1.3848
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-mtasc.all/Makefile.am?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3847
retrieving revision 1.3848
diff -u -b -r1.3847 -r1.3848
--- ChangeLog	28 Jul 2007 01:39:04 -0000	1.3847
+++ ChangeLog	28 Jul 2007 12:58:08 -0000	1.3848
@@ -1,3 +1,8 @@
+2007-07-28 Sandro Santilli <strk@keybit.net>
+
+	* testsuite/misc-mtasc.all/Makefile.am: distribute
+	  mtasc related files even if mtasc is not detected.
+
 2007-07-28 Markus Gothe <nietzsche@lysator.liu.se>
 	
 	* configure.ac: Don't try building KDE/Klash if we'vent got the libs...

Index: testsuite/misc-mtasc.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-mtasc.all/Makefile.am,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/misc-mtasc.all/Makefile.am	23 Jul 2007 13:49:43 -0000	1.12
+++ testsuite/misc-mtasc.all/Makefile.am	28 Jul 2007 12:58:09 -0000	1.13
@@ -18,11 +18,6 @@
 
 AUTOMAKE_OPTIONS = dejagnu
 
-if ENABLE_MTASC
-
-MTASC_FLAGS = -version 6 -cp $(MTASC_CLASSPATH) -cp $(srcdir) -v -header 800:600:20
-MTASC_CPP = $(CPP) -P -I$(srcdir)
-
 # These will get executed and parsed for test output
 ASTESTS = \
 	hello.as \
@@ -39,8 +34,14 @@
 	    level99.as \
 	    $(NULL)
 
+
 EXTRA_DIST = $(ASTESTS) $(AUXMOVIES) TestClass.as check.as Dejagnu.as
 
+if ENABLE_MTASC
+
+MTASC_FLAGS = -version 6 -cp $(MTASC_CLASSPATH) -cp $(srcdir) -v -header 800:600:20
+MTASC_CPP = $(CPP) -P -I$(srcdir)
+
 ASTESTS_OUT = $(ASTESTS:.as=.swf)
 
 AUXMOVIES_OUT = $(AUXMOVIES:.as=.swf)



From MAILER-DAEMON Sat Jul 28 10:55:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEnhf-00062N-8U
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 10:55:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEnhd-00060P-SO
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 10:55:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEnhc-0005yK-Ij
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 10:55:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEnhc-0005y1-D2
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 10:55:32 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IEnhb-0005Wv-SK
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 10:55:32 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IEnhY-0002Mb-E0
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 14:55:28 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IEnhY-0002MY-A8
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 14:55:28 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEnhY-0002MY-A8@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 28 Jul 2007 14:55:28 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Info.plist gui/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 14:55:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/28 14:55:28

Modified files:
	.              : ChangeLog 
	gui            : Info.plist Makefile.am 

Log message:
	Now we can build a bundle by running 'make bundle', albeit I must fix the linkage.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3848&r2=1.3849
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist?cvsroot=gnash&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.90&r2=1.91

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3848
retrieving revision 1.3849
diff -u -b -r1.3848 -r1.3849
--- ChangeLog	28 Jul 2007 12:58:08 -0000	1.3848
+++ ChangeLog	28 Jul 2007 14:55:27 -0000	1.3849
@@ -6,6 +6,9 @@
 2007-07-28 Markus Gothe <nietzsche@lysator.liu.se>
 	
 	* configure.ac: Don't try building KDE/Klash if we'vent got the libs...
+	* gui/aqua*, gui/Info.pist, gui/images/GnashG.icns, gui/Makefile.am: 
+	  Now we can build a bundle by running 'make bundle', albeit I must
+	  fix the linkage.
 
 2007-07-27 Nick Warne <nick@ukfsn.org>
 

Index: gui/Info.plist
===================================================================
RCS file: /sources/gnash/gnash/gui/Info.plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- gui/Info.plist	26 Jul 2007 08:49:28 -0000	1.1
+++ gui/Info.plist	28 Jul 2007 14:55:28 -0000	1.2
@@ -6,8 +6,24 @@
 	<string>English</string>
 	<key>CFBundleExecutable</key>
 	<string>gnash</string>
+	<key>CFBundleGetInfoString</key>
+	<string>0.8.1, Copyright (C) 2005-2007 Free Software Foundation, Inc.</string>
+	<key>CFBundleTypeExtensions</key>
+	<array>
+	<string>swf</string>
+    <string>SWF</string>
+    </array>
+    <key>CFBundleTypeName</key>
+	<string>Flash File</string>
+	<key>CFBundleTypeOSTypes</key>
+	<array>
+	<string>swf</string>
+    <string>SWF</string>
+	</array>
+    <key>CFBundleGetInfoString</key>
+	<string>gnash Version 0.8.1</string>
 	<key>CFBundleIconFile</key>
-	<string></string>
+	<string>GnashG.icns</string>
 	<key>CFBundleIdentifier</key>
 	<string>com.gnash.aqua</string>
 	<key>CFBundleInfoDictionaryVersion</key>
@@ -18,6 +34,8 @@
 	<string>????</string>
 	<key>CFBundleVersion</key>
 	<string>1.0</string>
+	<key>SUFeedURL</key>
+	<string>http://www.gnashdev.org/update.xml</string>
 	<key>CSResourcesFileMapped</key>
 	<true/>
 </dict>

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -b -r1.90 -r1.91
--- gui/Makefile.am	27 Jul 2007 14:13:01 -0000	1.90
+++ gui/Makefile.am	28 Jul 2007 14:55:28 -0000	1.91
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.90 2007/07/27 14:13:01 strk Exp $
+# $Id: Makefile.am,v 1.91 2007/07/28 14:55:28 nihilus Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -153,7 +153,23 @@
 
 # AQUA Toolkit
 if BUILD_AQUA_GUI
+
+#OS X stuff goes here...
+
      GUI_CPPFLAGS += -DGUI_AQUA
+
+bundle_name = gnash.app
+
+bundle: Info.plist $(ICONFILE)
+	@echo " Building: $(bundle_name)" 
+	-rm -rf $(bundle_name)/Contents
+	mkdir -p $(bundle_name)/Contents/MacOS
+	mkdir -p $(bundle_name)/Contents/Resources
+	echo "APPL????" > $(bundle_name)/Contents/PkgInfo
+	cp Info.plist $(bundle_name)/Contents/Info.plist
+	cp -f gnash $(bundle_name)/Contents/MacOS
+	cp -f images/GnashG.icns $(bundle_name)/Contents/Resources/
+     
 if  HAVE_OPENGL
      plugins_LTLIBRARIES += libgnashaqua_ogl.la
      libgnashaqua_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \



From MAILER-DAEMON Sat Jul 28 11:50:27 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEoYl-0004EJ-Ke
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 11:50:27 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEoYl-0004EE-72
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 11:50:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEoYk-0004E2-PQ
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 11:50:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEoYk-0004Dz-MZ
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 11:50:26 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IEoYk-0003vT-Cs
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 11:50:26 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IEoYj-00060h-BK
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 15:50:25 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IEoYj-00060e-58
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 15:50:25 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEoYj-00060e-58@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sat, 28 Jul 2007 15:50:25 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui/images GnashG.icns
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 15:50:27 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/28 15:50:25

Modified files:
	gui/images     : GnashG.icns 

Log message:
	Made background transparent

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/images/GnashG.icns?cvsroot=gnash&rev=1.2

Patches:
Index: GnashG.icns
===================================================================
RCS file: /sources/gnash/gnash/gui/images/GnashG.icns,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
Binary files /tmp/cvsiwNBmg and /tmp/cvsBGjzib differ



From MAILER-DAEMON Sat Jul 28 16:10:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEscW-0005Rl-1U
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 16:10:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEscU-0005Rd-MN
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 16:10:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEscR-0005RR-R1
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 16:10:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEscR-0005RO-Kj
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 16:10:31 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEscR-0003gF-CU
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 16:10:31 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEscB-0005dV-OK
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 20:10:15 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEscB-0005dS-Jf
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 20:10:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEscB-0005dS-Jf@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 28 Jul 2007 20:10:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gui_fb.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 20:10:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/28 20:10:15

Modified files:
	.              : ChangeLog 
	gui            : gui_fb.cpp 

Log message:
	* gui/gui_fb.cpp: typo fix (FbGui => FBGui).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3849&r2=1.3850
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui_fb.cpp?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3849
retrieving revision 1.3850
diff -u -b -r1.3849 -r1.3850
--- ChangeLog	28 Jul 2007 14:55:27 -0000	1.3849
+++ ChangeLog	28 Jul 2007 20:10:14 -0000	1.3850
@@ -1,5 +1,6 @@
 2007-07-28 Sandro Santilli <strk@keybit.net>
 
+	* gui/gui_fb.cpp: typo fix (FbGui => FBGui).
 	* testsuite/misc-mtasc.all/Makefile.am: distribute
 	  mtasc related files even if mtasc is not detected.
 

Index: gui/gui_fb.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gui_fb.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- gui/gui_fb.cpp	26 Jul 2007 14:39:09 -0000	1.1
+++ gui/gui_fb.cpp	28 Jul 2007 20:10:15 -0000	1.2
@@ -16,7 +16,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: gui_fb.cpp,v 1.1 2007/07/26 14:39:09 strk Exp $ */
+/* $Id: gui_fb.cpp,v 1.2 2007/07/28 20:10:15 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -34,7 +34,7 @@
 #ifdef GUI_FB
 std::auto_ptr<Gui> createFBGui(unsigned long windowid, float scale, bool do_loop, unsigned int bit_depth)
 {
-	return std::auto_ptr<Gui>(new FbGui(windowid, scale, do_loop, bit_depth));
+	return std::auto_ptr<Gui>(new FBGui(windowid, scale, do_loop, bit_depth));
 }
 #else // ! GUI_FB
 std::auto_ptr<Gui> createFBGui(unsigned long , float , bool , unsigned int )



From MAILER-DAEMON Sat Jul 28 17:00:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEtP4-0000VM-8f
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 17:00:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEtP2-0000V3-Ut
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 17:00:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEtP0-0000UU-Cl
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 17:00:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEtP0-0000UR-6M
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 17:00:42 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEtOz-0003gb-PG
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 17:00:41 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEtOu-0000ta-Pj
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 21:00:36 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEtOu-0000tX-Ln
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 21:00:36 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEtOu-0000tX-Ln@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 28 Jul 2007 21:00:36 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 21:00:45 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/28 21:00:36

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: simplify gui selection code, fix bug listing
	          same gui twice.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3850&r2=1.3851
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.374&r2=1.375

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3850
retrieving revision 1.3851
diff -u -b -r1.3850 -r1.3851
--- ChangeLog	28 Jul 2007 20:10:14 -0000	1.3850
+++ ChangeLog	28 Jul 2007 21:00:36 -0000	1.3851
@@ -1,5 +1,7 @@
 2007-07-28 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: simplify gui selection code, fix bug listing
+	  same gui twice.
 	* gui/gui_fb.cpp: typo fix (FbGui => FBGui).
 	* testsuite/misc-mtasc.all/Makefile.am: distribute
 	  mtasc related files even if mtasc is not detected.

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.374
retrieving revision 1.375
diff -u -b -r1.374 -r1.375
--- configure.ac	28 Jul 2007 01:59:15 -0000	1.374
+++ configure.ac	28 Jul 2007 21:00:36 -0000	1.375
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.374 2007/07/28 01:59:15 nihilus Exp $
+dnl $Id: configure.ac,v 1.375 2007/07/28 21:00:36 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -229,7 +229,6 @@
   *)   AC_MSG_ERROR([bad value ${enableval} for --disable-klash option]) ;;
 esac],klash=yes)
 
-addgui=none
 build_fb=no
 build_fltk=no
 build_kde=no
@@ -240,7 +239,6 @@
 AC_ARG_ENABLE(gui,
   AC_HELP_STRING([--enable-gui=], [Use the specified GUI toolkit (default=gtk,kde)]),
   if test -n ${enableval}; then
-    addgui="${enableval}"
     enableval=`echo ${enableval} | tr '\054' ' ' `
   fi
   while test -n "${enableval}" ; do
@@ -248,27 +246,51 @@
     [case "${val}" in
       gtk|GTK|gtk2|GTK2)
         build_gtk=yes
+        if test "x$DEFAULT_GUI" = "x"; then
+          DEFAULT_GUI=gtk
+        fi
         ;;
       kde|KDE)
         build_kde=yes
+        if test "x$DEFAULT_GUI" = "x"; then
+          DEFAULT_GUI=kde
+        fi
         ;;
       qt|QT)
         build_qt=yes
+        if test "x$DEFAULT_GUI" = "x"; then
+          DEFAULT_GUI=kde
+        fi
         ;;
       sdl|SDL)
         build_sdl=yes
+        if test "x$DEFAULT_GUI" = "x"; then
+          DEFAULT_GUI=sdl
+        fi
         ;;
       aqua|AQUA|Aqua)
         build_aqua=yes
+        if test "x$DEFAULT_GUI" = "x"; then
+          DEFAULT_GUI=aqua
+        fi
         ;;
       riscos|RISCOS|RiscOS)
         build_riscos=yes
+        if test "x$DEFAULT_GUI" = "x"; then
+          DEFAULT_GUI=riscos
+        fi
         ;;
       fltk|FLTK|fltk2|FLTK2)
         build_fltk=yes
+        if test "x$DEFAULT_GUI" = "x"; then
+          DEFAULT_GUI=fltk
+        fi
         ;;
       fb|FB)
         build_fb=yes
+        if test "x$DEFAULT_GUI" = "x"; then
+          DEFAULT_GUI=fb
+        fi
         ;;
       all|ALL)
         build_fb=yes
@@ -288,12 +310,6 @@
   done
 )
 
-if test x$addgui = xnone; then
-   build_gtk=yes
-   build_kde=yes
-dnl   addgui="gtk,kde"
-fi
-
 add_renderer=
 build_ogl=no
 build_agg=no
@@ -541,66 +557,6 @@
 AM_CONDITIONAL(ENABLE_STATIC, [test x"${enable_shared}" = xno])
 AM_CONDITIONAL(STATIC_GUI, test x"${dynamic_gui}" = xno -o x"${enable_shared}" = xno)
 
-dnl build a statically linked executable
-dnl We don't have anything special to do in this case
-if false; then # test x"${enable_shared}" = xno; then
-
-   g=`echo  $addgui | grep -c '\,'`
-   r=`echo  $add_renderer | grep -c '\,'`
-  if test $g -gt 0 -o $r -gt 0 ; then
-     AC_MSG_ERROR([When statically linking, you must pick only one GUI toolkit and one renderer])
-  fi
-  dnl If statically linking, and no gui is specified, force gtk
-  if test x$addgui = xnone; then
-     build_gtk=yes
-     build_kde=no
-     addgui=gtk
-     AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --enable-gui= to change])
-  fi
-  dnl If statically linking, and no renderer is specified, force opengl
-  if test x$add_renderer = x; then
-     build_agg=no
-     build_ogl=yes
-     add_renderer=ogl
-     AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --enable-renderer= to change])
-  fi
-
-else dnl building a dynamically linked executable without loadable GUI plugins
-
-  dnl If not dynamic loading, and no gui is specified, force gtk
-  if test x"${dynamic_gui}" = xno; then
-    if test x$addgui = xnone; then
-      build_gtk=yes
-      build_kde=no
-      addgui=gtk
-      AC_MSG_NOTICE([Defaulting to GTK as the GUI, use --enable-gui= to change])
-    fi
-    dnl If not dynamic loading, and no renderer is specified, force opengl
-    if test x$add_renderer = x; then
-      build_agg=no
-      build_ogl=yes
-      add_renderer=ogl
-      AC_MSG_NOTICE([Defaulting to OpenGL as the renderer, use --enable-renderer= to change])
-    fi
-  else
-    dnl If dynamically loading and no gui is specified, force gtk and kde
-    if test x$addgui = xnone; then
-      build_gtk=yes
-      build_kde=yes
-      addgui="gtk,kde"
-      AC_MSG_NOTICE([Defaulting to GTK and KDE as the GUIs, use --enable-gui= to change])
-    fi
-    dnl If dynamically loading and no renderer is specified, force opengl and agg
-    if test x$add_renderer = x; then
-      build_ogl=yes
-      build_agg=yes
-      add_renderer="ogl,agg"
-      AC_MSG_NOTICE([Defaulting to OpenGL and AGG as the renderers, use --enable-renderer= to change])
-    fi
-  fi
-
-fi
-
 AM_CONDITIONAL(BUILD_OGL_RENDERER, [ test x$build_ogl = xyes ])
 AM_CONDITIONAL(BUILD_AGG_RENDERER, [ test x$build_agg = xyes ])
 AM_CONDITIONAL(BUILD_CAIRO_RENDERER, [ test x$build_cairo = xyes ])
@@ -975,7 +931,6 @@
   kde=yes
   qt=yes
   build_kde=yes
-  addgui="${addgui},kde"
   GNASH_PATH_KDE
   GNASH_PATH_QT
 fi
@@ -1299,9 +1254,35 @@
 done
 AC_SUBST(RENDERER_LIBS)
 AC_SUBST(RENDERER_CONFIG)
-GUI_CONFIG=${addgui}
+
+GUI_CONFIG=
+if test x$build_fb = xyes; then
+  GUI_CONFIG="${GUI_CONFIG},fb"
+fi
+if test x$build_fltk = xyes; then
+  GUI_CONFIG="${GUI_CONFIG},fltk"
+fi
+if test x$build_kde = xyes; then
+  GUI_CONFIG="${GUI_CONFIG},kde"
+fi
+if test x$build_gtk = xyes; then
+  GUI_CONFIG="${GUI_CONFIG},gtk"
+fi
+if test x$build_sdl = xyes; then
+  GUI_CONFIG="${GUI_CONFIG},sdl"
+fi
+if test x$build_riscos = xyes; then
+  GUI_CONFIG="${GUI_CONFIG},riscos"
+fi
+if test x$build_aqua = xyes; then
+  GUI_CONFIG="${GUI_CONFIG},aqua"
+fi
+GUI_CONFIG="`echo ${GUI_CONFIG} | sed 's/,//'`" # Strip leading comma
 AC_SUBST(GUI_CONFIG)
-DEFAULT_GUI=`echo "${GUI_CONFIG}" | cut -d',' -f1`
+
+if test "x$DEFAULT_GUI" = "x"; then
+  DEFAULT_GUI=gtk
+fi
 AC_SUBST(DEFAULT_GUI)
 MEDIA_CONFIG=${media_handler}
 AC_SUBST(MEDIA_CONFIG)



From MAILER-DAEMON Sat Jul 28 17:51:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEuCB-0001u9-Pu
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 17:51:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEuCA-0001tv-Md
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 17:51:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEuC9-0001tJ-0g
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 17:51:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEuC8-0001tG-Pi
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 17:51:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEuC8-0004Zt-HW
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 17:51:28 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEuC5-0004QT-21
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 21:51:25 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEuC4-0004QQ-Ta
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 21:51:24 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEuC4-0004QQ-Ta@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 28 Jul 2007 21:51:24 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog po/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 21:51:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/28 21:51:24

Modified files:
	.              : ChangeLog 
	po             : Makefile.am 

Log message:
	        * po/Makefile.am: use GMSGFMT, rather then verbatim 'msgfmt'.
	          Might fix bug #19642.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3851&r2=1.3852
http://cvs.savannah.gnu.org/viewcvs/gnash/po/Makefile.am?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3851
retrieving revision 1.3852
diff -u -b -r1.3851 -r1.3852
--- ChangeLog	28 Jul 2007 21:00:36 -0000	1.3851
+++ ChangeLog	28 Jul 2007 21:51:24 -0000	1.3852
@@ -1,5 +1,6 @@
 2007-07-28 Sandro Santilli <strk@keybit.net>
 
+	* po/Makefile.am: use GMSGFMT, rather then verbatim 'msgfmt'.
 	* configure.ac: simplify gui selection code, fix bug listing
 	  same gui twice.
 	* gui/gui_fb.cpp: typo fix (FbGui => FBGui).

Index: po/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/po/Makefile.am,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- po/Makefile.am	15 Jul 2007 20:25:10 -0000	1.12
+++ po/Makefile.am	28 Jul 2007 21:51:24 -0000	1.13
@@ -48,6 +48,7 @@
 all: $(gmofiles)
 
 if HAS_GETTEXT
+
 POTFILES: $(srcfiles)
 	@echo "Building POTFILES..."
 	@rm -f POTFILES
@@ -72,13 +73,16 @@
 
 SUFFIXES = .po .gmo
 .po.gmo:
-	msgfmt --statistics --directory=$(srcdir) -o $*.gmo $(@:%.gmo=%.po) 
-else
+	$(GMSGFMT) --statistics --directory=$(srcdir) -o $*.gmo $(@:%.gmo=%.po) 
+
+else # not HAS_GETTEXT
+
 $(gmofiles): force
 	@for i in $(gmofiles); do \
 	  ln -fs $(srcdir)/$$i.in $$i; \
 	done
-endif
+
+endif # not HAS_GETTEXT
 
 force:
 



From MAILER-DAEMON Sat Jul 28 18:02:02 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEuMM-000324-28
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 18:02:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEuMK-00031l-Vo
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 18:02:01 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEuMJ-00031J-My
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 18:02:00 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEuMJ-00031G-FB
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 18:01:59 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEuMJ-0006cS-0B
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 18:01:59 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEuMG-0004fM-Tr
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 22:01:57 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEuMG-0004fJ-Pg
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 22:01:56 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEuMG-0004fJ-Pg@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sat, 28 Jul 2007 22:01:56 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jul 2007 22:02:01 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/28 22:01:56

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: proper quote args given to test (in the code
	          snippet handling --enable-gui)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3852&r2=1.3853
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.375&r2=1.376

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3852
retrieving revision 1.3853
diff -u -b -r1.3852 -r1.3853
--- ChangeLog	28 Jul 2007 21:51:24 -0000	1.3852
+++ ChangeLog	28 Jul 2007 22:01:56 -0000	1.3853
@@ -1,5 +1,10 @@
 2007-07-28 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: proper quote args given to test (in the code
+	  snippet handling --enable-gui)
+
+2007-07-28 Sandro Santilli <strk@keybit.net>
+
 	* po/Makefile.am: use GMSGFMT, rather then verbatim 'msgfmt'.
 	* configure.ac: simplify gui selection code, fix bug listing
 	  same gui twice.

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.375
retrieving revision 1.376
diff -u -b -r1.375 -r1.376
--- configure.ac	28 Jul 2007 21:00:36 -0000	1.375
+++ configure.ac	28 Jul 2007 22:01:56 -0000	1.376
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.375 2007/07/28 21:00:36 strk Exp $
+dnl $Id: configure.ac,v 1.376 2007/07/28 22:01:56 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -304,7 +304,7 @@
          ;;
       esac]
     enableval=`echo ${enableval} | cut -d ' ' -f 2-6`
-    if test x$val = x$enableval; then
+    if test "x$val" = "x$enableval"; then
       break;
     fi
   done



From MAILER-DAEMON Sat Jul 28 23:22:09 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEzM9-0004Nq-CS
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 23:22:09 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEzM8-0004Nk-6Q
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:22:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEzM6-0004NX-Bx
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:22:06 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEzM6-0004NU-7r
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:22:06 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEzM6-0001Xm-1M
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:22:06 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEzM4-0000Cr-PD
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 03:22:04 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEzM4-0000Cn-HQ
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 03:22:04 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEzM4-0000Cn-HQ@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 03:22:04 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 03:22:08 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 03:22:04

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: don't miss to set add_renderer when no
	          --enable-renderer is given, and don't abort if flkt or fb
	          guis are picked up with opengl renderer.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3853&r2=1.3854
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.376&r2=1.377

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3853
retrieving revision 1.3854
diff -u -b -r1.3853 -r1.3854
--- ChangeLog	28 Jul 2007 22:01:56 -0000	1.3853
+++ ChangeLog	29 Jul 2007 03:22:03 -0000	1.3854
@@ -1,5 +1,11 @@
 2007-07-28 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: don't miss to set add_renderer when no
+	  --enable-renderer is given, and don't abort if flkt or fb
+	  guis are picked up with opengl renderer.
+
+2007-07-28 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: proper quote args given to test (in the code
 	  snippet handling --enable-gui)
 

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.376
retrieving revision 1.377
diff -u -b -r1.376 -r1.377
--- configure.ac	28 Jul 2007 22:01:56 -0000	1.376
+++ configure.ac	29 Jul 2007 03:22:04 -0000	1.377
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.376 2007/07/28 22:01:56 strk Exp $
+dnl $Id: configure.ac,v 1.377 2007/07/29 03:22:04 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -354,15 +354,15 @@
 if test x$add_renderer = x; then
    build_ogl=yes
    build_agg=yes
-dnl   add_renderer="ogl,agg"
+   add_renderer="ogl,agg"
 fi
 
-if test x$build_ogl = xyes; then
-  if test x$build_fb = xyes -o x$build_fltk = xyes; then
-    AC_MSG_ERROR([OpenGL renderer is not supported by the this gui. Try using AGG ( --enable-renderer=AGG ).]);
-  fi
-  AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
-fi
+dnl if test x$build_ogl = xyes; then
+dnl   if test x$build_fb = xyes -o x$build_fltk = xyes; then
+dnl     AC_MSG_ERROR([OpenGL renderer is not supported by the this gui. Try using AGG ( --enable-renderer=AGG ).]);
+dnl   fi
+dnl   AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
+dnl fi
 
 dnl 16 bit: RGB555, RGB565
 dnl 24 bit: RGB24, BGR24
@@ -1252,6 +1252,7 @@
 for rend in `echo "${add_renderer}" | tr ',' ' '`; do
 	RENDERER_LIBS="${RENDERER_LIBS} \$(top_builddir)/backend/libgnash${rend}.la"
 done
+dnl echo "RENDERER_LIBS=$RENDERER_LIBS"
 AC_SUBST(RENDERER_LIBS)
 AC_SUBST(RENDERER_CONFIG)
 



From MAILER-DAEMON Sat Jul 28 23:39:20 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEzcm-0000kE-MI
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 23:39:20 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEzck-0000eq-7t
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:39:18 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEzcj-0000cG-K0
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:39:17 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEzcj-0000bl-C2
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:39:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEzcj-0005ar-3U
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:39:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEzci-0000Rx-1W
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 03:39:16 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEzch-0000Ru-Sx
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 03:39:15 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEzch-0000Ru-Sx@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 03:39:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 03:39:18 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 03:39:15

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	Ops, I blanked out RENDERER_OGL define. This commit also fixes the check for the GUI that actually support OGL renderer.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3854&r2=1.3855
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.377&r2=1.378

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3854
retrieving revision 1.3855
diff -u -b -r1.3854 -r1.3855
--- ChangeLog	29 Jul 2007 03:22:03 -0000	1.3854
+++ ChangeLog	29 Jul 2007 03:39:15 -0000	1.3855
@@ -1,8 +1,9 @@
 2007-07-28 Sandro Santilli <strk@keybit.net>
 
 	* configure.ac: don't miss to set add_renderer when no
-	  --enable-renderer is given, and don't abort if flkt or fb
-	  guis are picked up with opengl renderer.
+	  --enable-renderer is given, and only abort complaining if NO
+	  GUI supporting opengl is built while also requesting to build opengl
+	  renderer.
 
 2007-07-28 Sandro Santilli <strk@keybit.net>
 

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.377
retrieving revision 1.378
diff -u -b -r1.377 -r1.378
--- configure.ac	29 Jul 2007 03:22:04 -0000	1.377
+++ configure.ac	29 Jul 2007 03:39:15 -0000	1.378
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.377 2007/07/29 03:22:04 strk Exp $
+dnl $Id: configure.ac,v 1.378 2007/07/29 03:39:15 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -357,12 +357,13 @@
    add_renderer="ogl,agg"
 fi
 
-dnl if test x$build_ogl = xyes; then
+if test x$build_ogl = xyes; then
 dnl   if test x$build_fb = xyes -o x$build_fltk = xyes; then
-dnl     AC_MSG_ERROR([OpenGL renderer is not supported by the this gui. Try using AGG ( --enable-renderer=AGG ).]);
-dnl   fi
-dnl   AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
-dnl fi
+   if test x$build_gtk != xyes -a x$build_fltk != xyes -a x$build_kde != xyes; then
+     AC_MSG_ERROR([OpenGL renderer is not supported by the this gui. Try using AGG ( --enable-renderer=AGG ).]);
+   fi
+   AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
+fi
 
 dnl 16 bit: RGB555, RGB565
 dnl 24 bit: RGB24, BGR24



From MAILER-DAEMON Sat Jul 28 23:55:57 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IEzsr-0001XI-0N
	for mharc-gnash-commit@gnu.org; Sat, 28 Jul 2007 23:55:57 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IEzsp-0001Wz-SD
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:55:55 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IEzso-0001Wn-9q
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:55:54 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IEzso-0001Wk-59
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:55:54 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IEzsn-0000Gy-Po
	for gnash-commit@gnu.org; Sat, 28 Jul 2007 23:55:53 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IEzsm-00023p-NB
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 03:55:52 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IEzsm-00023m-I7
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 03:55:52 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IEzsm-00023m-I7@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 03:55:52 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 03:55:56 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 03:55:52

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: re-introduce the $add_gui variable, so that a vanilla
	          configuration still tries to build gtk and kde guis; don't make fb
	          renderer and cairo gui incompatible (other guis might be requested,
	          we'd need a better test to check that at least one compatible with
	          cairo is there)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3855&r2=1.3856
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.378&r2=1.379

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3855
retrieving revision 1.3856
diff -u -b -r1.3855 -r1.3856
--- ChangeLog	29 Jul 2007 03:39:15 -0000	1.3855
+++ ChangeLog	29 Jul 2007 03:55:52 -0000	1.3856
@@ -1,5 +1,13 @@
 2007-07-28 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: re-introduce the $add_gui variable, so that a vanilla
+	  configuration still tries to build gtk and kde guis; don't make fb
+	  renderer and cairo gui incompatible (other guis might be requested,
+	  we'd need a better test to check that at least one compatible with
+	  cairo is there)
+
+2007-07-28 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: don't miss to set add_renderer when no
 	  --enable-renderer is given, and only abort complaining if NO
 	  GUI supporting opengl is built while also requesting to build opengl

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.378
retrieving revision 1.379
diff -u -b -r1.378 -r1.379
--- configure.ac	29 Jul 2007 03:39:15 -0000	1.378
+++ configure.ac	29 Jul 2007 03:55:52 -0000	1.379
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.378 2007/07/29 03:39:15 strk Exp $
+dnl $Id: configure.ac,v 1.379 2007/07/29 03:55:52 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -229,6 +229,7 @@
   *)   AC_MSG_ERROR([bad value ${enableval} for --disable-klash option]) ;;
 esac],klash=yes)
 
+add_gui=
 build_fb=no
 build_fltk=no
 build_kde=no
@@ -310,6 +311,12 @@
   done
 )
 
+if test x$add_gui = x; then
+   build_gtk=yes
+   build_kde=yes
+   add_gui="gtk,kde"
+fi
+
 add_renderer=
 build_ogl=no
 build_agg=no
@@ -360,7 +367,7 @@
 if test x$build_ogl = xyes; then
 dnl   if test x$build_fb = xyes -o x$build_fltk = xyes; then
    if test x$build_gtk != xyes -a x$build_fltk != xyes -a x$build_kde != xyes; then
-     AC_MSG_ERROR([OpenGL renderer is not supported by the this gui. Try using AGG ( --enable-renderer=AGG ).]);
+     AC_MSG_ERROR([OpenGL renderer needs one of gtk,fltk or kde guis. Try enabling any of them ( --enable-gui=gtk|kde|fltk ) or using AGG ( --enable-renderer=AGG ).]);
    fi
    AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
 fi
@@ -1079,9 +1086,9 @@
 dnl      CAIRO_CFLAGS=`echo ${CAIRO_CFLAGS} | sed -e 's/ *//'`
 dnl      CAIRO_CFLAGS="${CAIRO_CFLAGS} ${CAIRO_CFLAGS}/cairo"
 dnl   fi
-  if test x$build_fb = xyes; then
-    AC_MSG_ERROR([cairo renderer is not supported by fb gui]);
-  fi
+dnl  if test x$build_fb = xyes; then
+dnl   AC_MSG_ERROR([cairo renderer is not supported by fb gui]);
+dnl  fi
   AC_DEFINE([RENDERER_CAIRO], [], [Use cairo renderer])
 fi
 



From MAILER-DAEMON Sun Jul 29 00:03:53 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IF00X-00011D-3m
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 00:03:53 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IF00V-00010k-Gt
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 00:03:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IF00V-00010Y-3i
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 00:03:51 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IF00V-00010V-1B
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 00:03:51 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IF00U-0002Hh-4G
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 00:03:50 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IF00T-0004CA-DK
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 04:03:49 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IF00T-0004C7-23
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 04:03:49 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IF00T-0004C7-23@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 04:03:49 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Player.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 04:03:51 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 04:03:48

Modified files:
	gui            : Player.h 

Log message:
	brief description for the GuiFlavor enum

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.h?cvsroot=gnash&r1=1.15&r2=1.16

Patches:
Index: Player.h
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- Player.h	26 Jul 2007 19:48:38 -0000	1.15
+++ Player.h	29 Jul 2007 04:03:48 -0000	1.16
@@ -53,6 +53,7 @@
 {
 public:
 
+	/// A GUI to use as frontend
 	enum GuiFlavor {
 
 		/// Null gui



From MAILER-DAEMON Sun Jul 29 00:40:38 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IF0a5-0005ow-UG
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 00:40:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IF0a4-0005oo-Ns
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 00:40:36 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IF0a4-0005oc-9d
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 00:40:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IF0a4-0005oZ-71
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 00:40:36 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@welcomehome.org>) id 1IF0a3-0001Vp-Sa
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 00:40:35 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <rob@welcomehome.org>) id 1IF0a3-0006Bq-9l
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 04:40:35 +0000
Received: from rsavoye by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <rsavoye@savannah.gnu.org>) id 1IF0a3-0006Bn-1L
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 04:40:35 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IF0a3-0006Bn-1L@cvs.savannah.gnu.org>
From: Rob Savoye <rob@welcomehome.org>
Date: Sun, 29 Jul 2007 04:40:35 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash macros/ffmpeg.m4 ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 04:40:36 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Rob Savoye <rsavoye>	07/07/29 04:40:34

Modified files:
	macros         : ffmpeg.m4 
	.              : ChangeLog 

Log message:
		* macros/ffmpeg.m4: Add test for libswscale, which is needed if
		ffmpeg is configured with --enable-gpl --enable-swscale. bug #20002.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/ffmpeg.m4?cvsroot=gnash&r1=1.49&r2=1.50
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3856&r2=1.3857

Patches:
Index: macros/ffmpeg.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/ffmpeg.m4,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- macros/ffmpeg.m4	9 Jul 2007 13:51:08 -0000	1.49
+++ macros/ffmpeg.m4	29 Jul 2007 04:40:34 -0000	1.50
@@ -14,7 +14,7 @@
 dnl  along with this program; if not, write to the Free Software
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-dnl $Id: ffmpeg.m4,v 1.49 2007/07/09 13:51:08 strk Exp $
+dnl $Id: ffmpeg.m4,v 1.50 2007/07/29 04:40:34 rsavoye Exp $
 
 AC_DEFUN([GNASH_PATH_FFMPEG],
 [
@@ -411,6 +411,30 @@
       AC_MSG_RESULT(${libdc})
       ac_cv_path_ffmpeg_lib="${ac_cv_path_ffmpeg_lib} ${libdc}"
     fi
+
+    dnl Look for the swscale library, which is required on some system if ffmpeg is
+    dnl configured with --enable-gpl --enable-swscale.
+    AC_MSG_CHECKING([for libswscale library])
+    if test x"$PKG_CONFIG" != x -a x${cross_compiling} = xno; then
+      $PKG_CONFIG --exists libswscale  && libsws=`$PKG_CONFIG --libs libswscale`
+    else
+      libsws=""
+    fi
+    if test x"${libsws}" = x; then
+      if test -f ${topdir}/libswscale.a -o -f ${topdir}/libswscale.${shlibext}; then
+        ac_cv_path_ffmpeg_lib="${ac_cv_path_ffmpeg_lib} -lswscale"
+        AC_MSG_RESULT(yes)
+      else
+        AC_MSG_RESULT(no)
+        if test x${cross_compiling} = xno; then
+          AC_CHECK_LIB(swscale, sws_scale, [ac_cv_path_ffmpeg_lib="${ac_cv_path_ffmpeg_lib} -lswscale"])
+        fi
+      fi
+    else
+      AC_MSG_RESULT(${libsws})
+      ac_cv_path_ffmpeg_lib="${ac_cv_path_ffmpeg_lib} ${libsws}"
+    fi
+
   fi                            dnl end of all optional library tests
 
   # Set final compilation flags, eliminating the pointless "-I/usr/include"

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3856
retrieving revision 1.3857
diff -u -b -r1.3856 -r1.3857
--- ChangeLog	29 Jul 2007 03:55:52 -0000	1.3856
+++ ChangeLog	29 Jul 2007 04:40:34 -0000	1.3857
@@ -1,3 +1,8 @@
+2007-07-28  Rob Savoye  <rob@deal.welcomehome.org>
+
+	* macros/ffmpeg.m4: Add test for libswscale, which is needed if
+	ffmpeg is configured with --enable-gpl --enable-swscale. bug #20002.
+
 2007-07-28 Sandro Santilli <strk@keybit.net>
 
 	* configure.ac: re-introduce the $add_gui variable, so that a vanilla



From MAILER-DAEMON Sun Jul 29 08:45:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IF89L-0001d7-Q1
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 08:45:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IF89J-0001cl-QE
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 08:45:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IF89H-0001cW-PN
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 08:45:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IF89H-0001cT-JV
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 08:45:27 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IF89H-0006gw-8K
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 08:45:27 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IF89G-0004yn-CZ
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:45:26 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IF89G-0004ye-07
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:45:26 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IF89G-0004ye-07@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 12:45:26 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/array.cpp testsuite/acti...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 12:45:30 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 12:45:25

Modified files:
	.              : ChangeLog 
	server         : array.cpp 
	testsuite/actionscript.all: array.as 

Log message:
	Patch #6123 by meteoryte@yahoo.com.au:
	
	        * server/array.cpp: Fix bug in the array.splice(index) method to
	          prevent an incorrect number of elements being spliced; fix bug
	          in the array.slice(startindex, endindex) method for certain
	          negative endindexes; elements in a newly created array with
	          non-zero size are now assigned a value of 'undefined' rather
	          than 'null'; trivial optimizations/clean-ups.
	        * testsuite/actionscript.all/array.as: more tests.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3857&r2=1.3858
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.cpp?cvsroot=gnash&r1=1.65&r2=1.66
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.20&r2=1.21

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3857
retrieving revision 1.3858
diff -u -b -r1.3857 -r1.3858
--- ChangeLog	29 Jul 2007 04:40:34 -0000	1.3857
+++ ChangeLog	29 Jul 2007 12:45:24 -0000	1.3858
@@ -1,3 +1,13 @@
+2007-07-29 <meteoryte@yahoo.com.au>
+
+	* server/array.cpp: Fix bug in the array.splice(index) method to
+	  prevent an incorrect number of elements being spliced; fix bug
+	  in the array.slice(startindex, endindex) method for certain
+	  negative endindexes; elements in a newly created array with
+	  non-zero size are now assigned a value of 'undefined' rather
+	  than 'null'; trivial optimizations/clean-ups.
+	* testsuite/actionscript.all/array.as: more tests.
+
 2007-07-28  Rob Savoye  <rob@deal.welcomehome.org>
 
 	* macros/ffmpeg.m4: Add test for libswscale, which is needed if

Index: server/array.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/array.cpp,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -b -r1.65 -r1.66
--- server/array.cpp	13 Jul 2007 01:13:46 -0000	1.65
+++ server/array.cpp	29 Jul 2007 12:45:25 -0000	1.66
@@ -206,7 +206,7 @@
 as_array_object::pop()
 {
 	// If the array is empty, report an error and return undefined!
-	if (elements.size() <= 0)
+	if ( elements.empty() ) 
 	{
 	    log_error(_("tried to pop element from back of empty array, returning undef"));
 		return as_value(); // undefined
@@ -222,7 +222,7 @@
 as_array_object::shift()
 {
 	// If the array is empty, report an error and return undefined!
-	if (elements.size() <= 0)
+	if ( elements.empty() ) 
 	{
 		log_error(_("tried to shift element from front of empty array, returning undef"));
 		return as_value(); // undefined
@@ -367,7 +367,7 @@
 	}
 
 	// Now insert the new stuff, if needed
-	if ( replace.size() )
+	if ( ! replace.empty() )
 	{
 		container::iterator itStart = elements.begin()+start;
 		elements.insert(itStart, replace.begin(), replace.end());
@@ -545,7 +545,7 @@
 	//----------------
 	// Get length
 	//----------------
-	unsigned len = 0;
+	unsigned len = origlen - start;
 	if (fn.nargs > 1)
 	{
 		int lenval = fn.arg(1).to_number<int>(&(fn.env()));
@@ -787,6 +787,7 @@
 
 	// start and end index of the part we're slicing
 	int startindex, endindex;
+	unsigned int arraysize = array->size();
 
 	if (fn.nargs > 2)
 	{
@@ -810,7 +811,7 @@
 
 	// if the index is negative, it means "places from the end"
 	// where -1 is the last element
-	if (startindex < 0) startindex = startindex + array->size();
+	if (startindex < 0) startindex = startindex + arraysize;
 
 	// if we sent at least two arguments, setup endindex
 	if (fn.nargs >= 2)
@@ -819,26 +820,25 @@
 
 		// if the index is negative, it means
 		// "places from the end" where -1 is the last element
-		if (endindex < 0) endindex = endindex + array->size();
+		if (endindex < 0) endindex = endindex + arraysize;
 	}
 	else
 	{
 		// They didn't specify where to end,
 		// so choose the end of the array
-		endindex = array->size();
+		endindex = arraysize;
 	}
 
 	if ( startindex < 0 ) startindex = 0;
-	else if ( static_cast<size_t>(startindex)  > array->size() ) startindex = array->size();
+	else if ( static_cast<size_t>(startindex) > arraysize ) startindex = arraysize;
 
-	if ( endindex < 1 ) endindex = 1;
-	else if ( static_cast<size_t>(endindex)  > array->size() ) endindex = array->size();
+	if ( endindex < startindex ) endindex = startindex;
+	else if ( static_cast<size_t>(endindex)  > arraysize ) endindex = arraysize;
 
 	std::auto_ptr<as_array_object> newarray(array->slice(
 		startindex, endindex));
 
 	return as_value(newarray.release());		
-
 }
 
 static as_value
@@ -874,13 +874,13 @@
 	{
 		// Create an empty array with the given number of undefined elements.
 		//
-		as_value	index_number;
-		as_value null_value;
-		null_value.set_null();
+		as_value index_number, undef_value;
+
+		undef_value.set_undefined();
 		for (int i = 0; i < int(fn.arg(0).to_number()); i++)
 		{
 			index_number.set_int(i);
-			ao->set_member(index_number.to_string().c_str(), null_value);
+			ao->set_member(index_number.to_string().c_str(), undef_value);
 		}
 	}
 	else

Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- testsuite/actionscript.all/array.as	13 Jul 2007 01:13:46 -0000	1.20
+++ testsuite/actionscript.all/array.as	29 Jul 2007 12:45:25 -0000	1.21
@@ -5,7 +5,7 @@
 // Updated with sort functions, and to use check() macro
 // by Mike Carlson Feb. 14th, 2006
 
-rcsid="$Id: array.as,v 1.20 2007/07/13 01:13:46 strk Exp $";
+rcsid="$Id: array.as,v 1.21 2007/07/29 12:45:25 strk Exp $";
 
 #include "check.as"
 
@@ -60,6 +60,14 @@
 // that two arrays are always considered NOT equal - need to verify
 check ( a != b ); 
 
+
+tmp = new Array(2);
+#if OUTPUT_VERSION > 6
+check_equals ( tmp.toString(), "undefined,undefined" );
+#else
+check_equals ( tmp.toString(), "," );
+#endif
+
 check_equals ( a.length, 3 );
 check_equals ( a[2], 12 );
 popped=a.pop();
@@ -187,6 +195,8 @@
 check_equals ( mixed.toString(), "5,6,7,8,9,10,11,12,13");
 
 // invalid calls
+portion = concatted.slice(0, -8);
+check_equals ( portion.toString(), "");
 portion = concatted.slice(-18);
 check_equals ( portion.toString(), "0,1,2,3,4,5,6");
 portion = concatted.slice(-18, 3);
@@ -285,6 +295,11 @@
 check_equals ( ary.length, 4 ); // don't be fooled by toString output !
 check_equals ( spliced.toString(), '2,a,b,10,11,12,8' );
 
+// Finally, ensure the simplest usage cases are correct!
+spliced = ary.splice(1);
+check_equals ( spliced.toString(), "3,4,5,6");
+spliced = ary.splice(0);
+check_equals ( spliced.toString(), "1,2");
 
 //-------------------------------
 // Test single parameter constructor, and implicitly expanding array



From MAILER-DAEMON Sun Jul 29 08:57:08 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IF8Ka-0007nh-EL
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 08:57:08 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IF8KY-0007af-2X
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 08:57:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IF8KW-0007ST-E2
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 08:57:05 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IF8KW-0007Ru-5w
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 08:57:04 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IF8KV-00012U-7s
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 08:57:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IF8KU-0005dm-2r
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:57:02 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IF8KT-0005di-RS
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:57:01 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IF8KT-0005di-RS@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 12:57:01 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/array.cpp server/array.h...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 12:57:06 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 12:57:01

Modified files:
	.              : ChangeLog 
	server         : array.cpp array.h 
	testsuite/actionscript.all: array.as 

Log message:
	Patch #6124 by meteoryte@yahoo.com.au:
	
	        * server/array.{cpp,h}: implement remaining array.sort(..) functionality
	          (flags UNIQUE and RETURNINDEXEDARRAY) all of array.sortOn(...)
	        * testsuite/actionscript.all/array.as: test for Array.sort and
	          Array.sortOn

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3858&r2=1.3859
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.cpp?cvsroot=gnash&r1=1.66&r2=1.67
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.h?cvsroot=gnash&r1=1.30&r2=1.31
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.21&r2=1.22

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3858
retrieving revision 1.3859
diff -u -b -r1.3858 -r1.3859
--- ChangeLog	29 Jul 2007 12:45:24 -0000	1.3858
+++ ChangeLog	29 Jul 2007 12:57:00 -0000	1.3859
@@ -1,5 +1,12 @@
 2007-07-29 <meteoryte@yahoo.com.au>
 
+	* server/array.{cpp,h}: implement remaining array.sort(..) functionality
+	  (flags UNIQUE and RETURNINDEXEDARRAY) all of array.sortOn(...)
+	* testsuite/actionscript.all/array.as: test for Array.sort and
+	  Array.sortOn
+
+2007-07-29 <meteoryte@yahoo.com.au>
+
 	* server/array.cpp: Fix bug in the array.splice(index) method to
 	  prevent an incorrect number of elements being spliced; fix bug
 	  in the array.slice(startindex, endindex) method for certain

Index: server/array.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/array.cpp,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -b -r1.66 -r1.67
--- server/array.cpp	29 Jul 2007 12:45:25 -0000	1.66
+++ server/array.cpp	29 Jul 2007 12:57:01 -0000	1.67
@@ -29,6 +29,7 @@
 #include "fn_call.h"
 #include "GnashException.h"
 #include "action.h" // for call_method
+#include "VM.h" // for PROPNAME macro to work
 
 #include <string>
 #include <algorithm>
@@ -40,91 +41,239 @@
 
 namespace gnash {
 
+typedef bool (* as_cmp_fn) (const as_value&, const as_value&);
+
 static as_object* getArrayInterface();
 static void attachArrayProperties(as_object& proto);
 static void attachArrayInterface(as_object& proto);
 
-// Default as_value strict weak comparator (string based)
-class AsValueLessThen
+inline static bool int_lt_or_eq (int a)
+{
+	return a <= 0;
+}
+
+inline static bool int_gt (int a)
+{
+	return a > 0;
+}
+
+// simple as_value strict-weak-ordering comparison functions:
+inline static bool
+as_value_lt (const as_value& a, const as_value& b)
 {
-public:
-	bool operator() (const as_value& a, const as_value& b)
-	{
 		return a.to_string().compare(b.to_string()) < 0;
-	}
-};
+}
 
-// Default descending as_value strict weak comparator (string based)
-class AsValueLessThenDesc
+inline static bool
+as_value_gt (const as_value& a, const as_value& b)
 {
-public:
-	bool operator() (const as_value& a, const as_value& b)
-	{
 		return a.to_string().compare(b.to_string()) > 0;
-	}
-};
+}
 
-// Case-insensitive as_value strict weak comparator (string)
-class AsValueLessThenNoCase
+inline static bool
+as_value_eq (const as_value& a, const as_value& b)
+{
+	return a.to_string().compare(b.to_string()) == 0;
+}
+
+inline static int
+as_value_StrNoCaseCmp (const as_value& a, const as_value& b)
 {
-public:
-	bool operator() (const as_value& a, const as_value& b)
-	{
 		using namespace boost::algorithm;
 
 		std::string strA = to_upper_copy(a.to_string());
 		std::string strB = to_upper_copy(b.to_string());
 
-		return strA.compare(strB) < 0;
-	}
-};
+	return strA.compare(strB);
+}
 
-// Descending Case-insensitive as_value strict weak comparator (string)
-class AsValueLessThenDescNoCase
+inline static bool
+as_value_nocase_lt (const as_value& a, const as_value& b)
 {
-public:
-	bool operator() (const as_value& a, const as_value& b)
-	{
-		using namespace boost::algorithm;
+	return as_value_StrNoCaseCmp(a, b) < 0;
+}
 
-		std::string strA = to_upper_copy(a.to_string());
-		std::string strB = to_upper_copy(b.to_string());
+inline static bool
+as_value_nocase_gt (const as_value& a, const as_value& b)
+{
+	return as_value_StrNoCaseCmp(a, b) > 0;
+}
 
-		return strA.compare(strB) > 0;
-	}
-};
+inline static bool
+as_value_nocase_eq (const as_value& a, const as_value& b)
+{
+	return as_value_StrNoCaseCmp(a, b) == 0;
+}
 
-// Numeric as_value strict weak comparator 
-class AsValueLessThenNumeric
+inline static bool
+as_value_numLT (const as_value& a, const as_value& b)
 {
-public:
-	bool operator() (const as_value& a, const as_value& b)
+	if (a.is_undefined()) return false;
+	if (b.is_undefined()) return true;
+	if (a.is_null()) return false;
+	if (b.is_null()) return true;
+	double aval = a.to_number();
+	double bval = b.to_number();
+	if (isnan(aval)) return false;
+	if (isnan(bval)) return true;
+	return aval < bval;
+}
+
+inline static bool
+as_value_numGT (const as_value& a, const as_value& b)
+{
+	if (b.is_undefined()) return false;
+	if (a.is_undefined()) return true;
+	if (b.is_null()) return false;
+	if (a.is_null()) return true;
+	double aval = a.to_number();
+	double bval = b.to_number();
+	if (isnan(bval)) return false;
+	if (isnan(aval)) return true;
+	return aval > bval;
+}
+
+inline static bool
+as_value_numEQ (const as_value& a, const as_value& b)
+{
+	if (a.is_undefined() && b.is_undefined()) return true;
+	if (a.is_null() && b.is_null()) return true;
+	double aval = a.to_number();
+	double bval = b.to_number();
+	if (isnan(aval) && isnan(bval)) return true;
+	return aval == bval;
+}
+
+inline static bool
+as_value_num_lt (const as_value& a, const as_value& b)
+{
+	if (a.is_string() || b.is_string())
+		return as_value_lt(a, b);
+	return as_value_numLT(a, b);
+}
+
+inline static bool
+as_value_num_gt (const as_value& a, const as_value& b)
+{
+	if (a.is_string() || b.is_string())
+		return as_value_gt(a, b);
+	return as_value_numGT(a, b);
+}
+
+inline static bool
+as_value_num_eq (const as_value& a, const as_value& b)
+{
+	if (a.is_string() || b.is_string())
+		return as_value_eq(a, b);
+	return as_value_numEQ(a, b);
+}
+
+inline static bool
+as_value_num_nocase_lt (const as_value& a, const as_value& b)
+{
+	if (a.is_string() || b.is_string())
+		return as_value_nocase_lt(a, b);
+	return as_value_numLT(a, b);
+}
+
+inline static bool
+as_value_num_nocase_gt (const as_value& a, const as_value& b)
+{
+	if (a.is_string() || b.is_string())
+		return as_value_nocase_gt(a, b);
+	return as_value_numGT(a, b);
+}
+
+inline static bool
+as_value_num_nocase_eq (const as_value& a, const as_value& b)
+{
+	if (a.is_string() || b.is_string())
+		return as_value_nocase_eq(a, b);
+	return as_value_numEQ(a, b);
+}
+
+// Return basic as_value comparison function for corresponding sort flag
+// Note:
+// fUniqueSort and fReturnIndexedArray must first be stripped from the flag
+static as_cmp_fn
+get_basic_cmp(uint8_t flags)
+{
+	switch ( flags )
 	{
-		return ( a.to_number() < b.to_number() );
+		case 0: 
+			return &as_value_lt;
+
+		case as_array_object::fDescending:
+			return &as_value_gt;
+
+		case as_array_object::fCaseInsensitive: 
+			return &as_value_nocase_lt;
+
+		case as_array_object::fCaseInsensitive | 
+				as_array_object::fDescending:
+			return &as_value_nocase_gt;
+
+		case as_array_object::fNumeric: 
+			return &as_value_num_lt;
+
+		case as_array_object::fNumeric | as_array_object::fDescending:
+			return &as_value_num_gt;
+
+		case as_array_object::fCaseInsensitive | 
+				as_array_object::fNumeric:
+			return &as_value_num_nocase_lt;
+
+		case as_array_object::fCaseInsensitive | 
+				as_array_object::fNumeric |
+				as_array_object::fDescending:
+			return &as_value_num_nocase_gt;
+
+		default:
+			log_error(_("Unhandled sort flags: %d (0x%X)"), flags, flags);
+			return &as_value_lt;
 	}
-};
+}
 
-// Descending Numeric as_value strict weak comparator 
-class AsValueLessThenDescNumeric
+// Return basic as_value equality function for corresponding sort flag
+// Note:
+// fUniqueSort and fReturnIndexedArray must first be stripped from the flag
+static as_cmp_fn
+get_basic_eq(uint8_t flags)
 {
-public:
-	bool operator() (const as_value& a, const as_value& b)
+	flags &= ~(as_array_object::fDescending);
+	switch ( flags )
 	{
-		return ( a.to_number() > b.to_number() );
-	}
-};
+		case 0: // default string comparison
+			return &as_value_eq;
+
+		case as_array_object::fCaseInsensitive: 
+			return &as_value_nocase_eq;
+
+		case as_array_object::fNumeric: 
+			return &as_value_num_eq;
+
+		case as_array_object::fCaseInsensitive | 
+				as_array_object::fNumeric:
+			return &as_value_num_nocase_eq;
 
+		default:
+			return &as_value_eq;
+	}
+}
 
 // Custom (ActionScript) comparator 
-class AsValueFuncComparator
+class as_value_custom
 {
 public:
 	as_function& _comp;
 	as_object* _object;
+	bool (*_zeroCmp)(const int);
 
-	AsValueFuncComparator(as_function& comparator, boost::intrusive_ptr<as_object> this_ptr)
+	as_value_custom(as_function& comparator, bool (*zc)(const int), 
+		boost::intrusive_ptr<as_object> this_ptr)
 		:
-		_comp(comparator)
+		_comp(comparator),
+		_zeroCmp(zc)
 	{
 		_object = this_ptr.get();
 	}
@@ -134,18 +283,152 @@
 		as_value cmp_method(&_comp);
 		as_environment env;
 		as_value ret(0);
-		int retval;
 
 		env.push(a);
 		env.push(b);
 		ret = call_method(cmp_method, &env, _object, 2, 1);
-		retval = (int)ret.to_number();
-		if (retval > 0) return true;
+		return (*_zeroCmp)((int)ret.to_number());
+	}
+};
+
+// Comparator for sorting on a single array property
+class as_value_prop
+{
+public:
+	as_cmp_fn _comp;
+	const std::string& _prop;
+	
+	// Note: cmpfn must implement a strict weak ordering
+	as_value_prop(const std::string& name, 
+		as_cmp_fn cmpfn)
+		:
+		_comp(cmpfn),
+		_prop(name)
+	{
+	}
+
+	bool operator() (const as_value& a, const as_value& b)
+	{
+		as_value av, bv;
+		boost::intrusive_ptr<as_object> ao = a.to_object();
+		boost::intrusive_ptr<as_object> bo = b.to_object();
+		
+		ao->get_member(_prop, &av);
+		bo->get_member(_prop, &bv);
+		return (*_comp)(av, bv);
+	}
+};
+
+
+// Comparator for sorting on multiple array properties
+class as_value_multiprop
+{
+public:
+	const as_cmp_fn* _cmps;
+	std::deque<std::string>::const_iterator _pBegin, _pEnd, pit;
+
+	// Note: all as_cmp_fns in *cmps must implement strict weak ordering
+	as_value_multiprop(std::deque<std::string>::const_iterator pBegin,
+		std::deque<std::string>::const_iterator pEnd,
+		as_cmp_fn* cmps)
+		:
+		_pBegin(pBegin), _pEnd(pEnd)
+	{
+		_cmps = cmps;
+	}
+
+	bool operator() (const as_value& a, const as_value& b)
+	{
+		const as_cmp_fn* cmp = _cmps;
+		
+		for (pit = _pBegin; pit != _pEnd; ++pit, ++cmp)
+		{
+			as_value av, bv;
+			boost::intrusive_ptr<as_object> ao = a.to_object();
+			boost::intrusive_ptr<as_object> bo = b.to_object();
+			ao->get_member(*pit, &av);
+			bo->get_member(*pit, &bv);
+
+			if ( (*cmp)(av, bv) ) return true;
+			if ( (*cmp)(bv, av) ) return false;
+			// Note: for loop finishes only if a == b for
+			// each requested comparison
+			// (since *cmp(av,bv) == *cmp(bv,av) == false)
+		}
+		
 		return false;
 	}
 };
 
-// @@ TODO : implement as_array_object's unimplemented functions
+class as_value_multiprop_eq : public as_value_multiprop
+{
+public:
+	as_value_multiprop_eq(std::deque<std::string>::const_iterator pBegin,
+		std::deque<std::string>::const_iterator pEnd,
+		as_cmp_fn* eq)
+		: as_value_multiprop(pBegin, pEnd, eq)
+	{
+	}
+
+	bool operator() (const as_value& a, const as_value& b)
+	{
+		const as_cmp_fn* cmp = _cmps;
+		
+		for (pit = _pBegin; pit != _pEnd; ++pit, ++cmp)
+		{
+			as_value av, bv;
+			boost::intrusive_ptr<as_object> ao = a.to_object();
+			boost::intrusive_ptr<as_object> bo = b.to_object();
+			ao->get_member(*pit, &av);
+			bo->get_member(*pit, &bv);
+
+			if ( !(*cmp)(av, bv) ) return false;
+		}
+		
+		return true;
+	}
+};
+
+// Convenience function to strip fUniqueSort and fReturnIndexedArray from sort
+// flag. Presence of flags recorded in douniq and doindex.
+static inline uint8_t
+flag_preprocess(uint8_t flgs, bool* douniq, bool* doindex)
+{
+	*douniq = (flgs & as_array_object::fUniqueSort);
+	*doindex = (flgs & as_array_object::fReturnIndexedArray);
+	flgs &= ~(as_array_object::fReturnIndexedArray);
+	flgs &= ~(as_array_object::fUniqueSort);
+	return flgs;
+}
+
+// Convenience function to process and extract flags from an as_value array
+// of flags (as passed to sortOn when sorting on multiple properties)
+static void
+get_multi_flags(std::deque<as_value>::const_iterator itBegin, 
+	std::deque<as_value>::const_iterator itEnd, 
+	uint8_t* flgs, bool* uniq, bool* index)
+{
+	std::deque<as_value>::const_iterator it = itBegin;
+	int i = 0;
+
+	// extract fUniqueSort and fReturnIndexedArray from first flag
+	if (it != itEnd)
+	{
+		uint8_t flag = static_cast<uint8_t>((*it).to_number());
+		flag = flag_preprocess(flag, uniq, index);
+		flgs[i++] = flag;
+		++it;
+	}
+
+	while (it != itEnd)
+	{
+		uint8_t flag = static_cast<uint8_t>((*it).to_number());
+		flag &= ~(as_array_object::fReturnIndexedArray);
+		flag &= ~(as_array_object::fUniqueSort);
+		flgs[i++] = flag;
+		++it;
+	}
+}
 
 as_array_object::as_array_object()
 	:
@@ -172,6 +455,32 @@
 {
 }
 
+std::deque<indexed_as_value>
+as_array_object::get_indexed_elements()
+{
+	std::deque<indexed_as_value> indexed_elements;
+	int i = 0;
+
+	for (std::deque<as_value>::const_iterator it = elements.begin();
+		it != elements.end(); ++it)
+	{
+		indexed_elements.push_back(indexed_as_value(*it, i++));
+	}
+	return indexed_elements;
+}
+
+std::deque<as_value>::const_iterator
+as_array_object::begin()
+{
+	return elements.begin();
+}
+
+std::deque<as_value>::const_iterator
+as_array_object::end()
+{
+	return elements.end();
+}
+
 int
 as_array_object::index_requested(const std::string& name)
 {
@@ -422,91 +731,17 @@
 	as_object::set_member_default(name,val);
 }
 
-std::auto_ptr<as_array_object>
-as_array_object::sorted_indexes(uint8_t flags)
-{
-	assert(flags & as_array_object::fReturnIndexedArray);
-	log_unimpl("Array.sorted_index");
-	return std::auto_ptr<as_array_object>(NULL);
-}
-
-void
-as_array_object::sort(uint8_t flags)
+as_array_object*
+as_array_object::get_indices(std::deque<indexed_as_value> elems)
 {
+	as_array_object* intIndexes = new as_array_object();
 
-	// use sorted_index to use this flag
-	assert( ! (flags & as_array_object::fReturnIndexedArray) );
-
-	bool do_unique = (flags & as_array_object::fUniqueSort);
-
-	// strip the UniqueSort flag, we'll use the do_unique later
-	flags &= ~(as_array_object::fUniqueSort);
-
-	switch ( flags )
+	for (std::deque<indexed_as_value>::const_iterator it = elems.begin();
+		it != elems.end(); ++it)
 	{
-		case 0: // default sorting
-			//log_msg(_("Default sorting"));
-			std::sort(elements.begin(), elements.end(),
-				AsValueLessThen());
-			break;
-
-		case as_array_object::fDescending:
-			//log_msg(_("Default descending"));
-			std::sort(elements.begin(), elements.end(),
-				AsValueLessThenDesc());
-			break;
-
-		case as_array_object::fCaseInsensitive: 
-			//log_msg(_("case insensitive"));
-			std::sort(elements.begin(), elements.end(),
-				AsValueLessThenNoCase());
-			break;
-
-		case as_array_object::fCaseInsensitive | as_array_object::fDescending:
-			//log_msg(_("case insensitive descending"));
-			std::sort(elements.begin(), elements.end(),
-				AsValueLessThenDescNoCase());
-			break;
-
-		case as_array_object::fNumeric: 
-			//log_msg(_("numeric"));
-			std::sort(elements.begin(), elements.end(),
-				AsValueLessThenNumeric());
-			break;
-
-		case as_array_object::fNumeric | as_array_object::fDescending:
-			//log_msg(_("numeric descending"));
-			std::sort(elements.begin(), elements.end(),
-				AsValueLessThenDescNumeric());
-			break;
-
-		default:
-			log_error(_("Unhandled sort flags: %d (0x%X)"), flags, flags);
-			break;
+		intIndexes->push(as_value(it->vec_index));
 	}
-
-	// do the unique step afterwards to simplify code
-	// (altought it's slower, but we can take care of this later)
-	// TODO: use the do_unique variable inside the switch cases
-	// to either use std::sort or std::uniq or similar
-	if ( do_unique )
-	{
-		log_unimpl(_("array.sort with unique flag"));
-	}
-}
-
-void
-as_array_object::sort(as_function& comparator, boost::intrusive_ptr<as_object> this_ptr, uint8_t flags)
-{
-
-	// use sorted_index to use this flag
-	assert( ! (flags & as_array_object::fReturnIndexedArray) );
-
-	// Other flags are simply NOT used
-	// (or are them ? the descending one could be!)
-	std::sort(elements.begin(), elements.end(),
-		AsValueFuncComparator(comparator, this_ptr));
-
+	return intIndexes;
 }
 
 static as_value
@@ -579,47 +814,198 @@
 static as_value
 array_sort(const fn_call& fn)
 {
-	boost::intrusive_ptr<as_array_object> array = ensureType<as_array_object>(fn.this_ptr);
-
+	boost::intrusive_ptr<as_array_object> array = 
+		ensureType<as_array_object>(fn.this_ptr);
 	uint8_t flags = 0;
 
 	if ( fn.nargs == 0 )
 	{
-		array->sort(flags);
+		array->sort(&as_value_lt);
+		return as_value((boost::intrusive_ptr<as_object>)array);
 	}
 	else if ( fn.nargs == 1 && fn.arg(0).is_number() )
 	{
 		flags=static_cast<uint8_t>(fn.arg(0).to_number());
-		array->sort(flags);
 	}
 	else if ( fn.arg(0).is_as_function() )
 	{
 		// Get comparison function
 		as_function* as_func = fn.arg(0).to_as_function();
+		bool (*icmp)(int);
 	
 		if ( fn.nargs == 2 && fn.arg(1).is_number() )
-		{
 			flags=static_cast<uint8_t>(fn.arg(1).to_number());
-		}
-		array->sort(*as_func, fn.this_ptr, flags);
+		
+		if (flags & as_array_object::fDescending) icmp = &int_lt_or_eq;
+		else icmp = &int_gt;
+
+		as_value_custom avc = 
+			as_value_custom(*as_func, icmp, fn.this_ptr);
+
+		if ( (flags & as_array_object::fReturnIndexedArray) )
+			return as_value(array->sort_indexed(&avc));
+		array->sort(&avc);
+		return as_value((boost::intrusive_ptr<as_object>)array);
+		// note: custom AS function sorting apparently ignores the 
+		// UniqueSort flag which is why it is also ignored here
 	}
 	else
 	{
 		IF_VERBOSE_ASCODING_ERRORS(
 		log_aserror(_("Sort called with invalid arguments."));
 		)
+		return as_value();
 	}
-
-	return as_value(); // returns void
+	bool do_unique, do_index;
+	flags = flag_preprocess(flags, &do_unique, &do_index);
+	as_cmp_fn comp = get_basic_cmp(flags);
+
+	if (do_unique)
+	{
+		as_cmp_fn eq =
+			get_basic_eq(flags);
+		if (do_index) return array->sort_indexed(comp, eq);
+		return array->sort(comp, eq);
+	}
+	if (do_index) return as_value(array->sort_indexed(comp));
+	array->sort(comp);
+	return as_value((boost::intrusive_ptr<as_object>)array);
 }
 
 static as_value
 array_sortOn(const fn_call& fn)
 {
-	boost::intrusive_ptr<as_array_object> array = ensureType<as_array_object>(fn.this_ptr);
-	UNUSED(array);
+	boost::intrusive_ptr<as_array_object> array = 
+		ensureType<as_array_object>(fn.this_ptr);
+
+	// case: sortOn("prop")
+	if ( fn.nargs == 1 && fn.arg(0).is_string() )
+	{
+		std::string propField = PROPNAME(fn.arg(0).to_string());
+		as_value_prop avc = as_value_prop(propField, &as_value_lt);
+		array->sort(&avc);
+		return as_value((boost::intrusive_ptr<as_object>)array);
+	}
+
+	// case: sortOn("prop", Array.FLAG)
+	bool do_unique = false, do_index = false;
+	if ( fn.nargs == 2 && fn.arg(0).is_string() )
+	{
+		std::string propField = PROPNAME(fn.arg(0).to_string());
+		if ( fn.arg(1).is_number() )
+		{
+			uint8_t flags = 
+				static_cast<uint8_t>(fn.arg(1).to_number());
+			flags = flag_preprocess(flags, &do_unique, &do_index);
+			as_value_prop avc = as_value_prop(propField, 
+						get_basic_cmp(flags));
+			if (do_unique)
+			{
+				as_value_prop ave = as_value_prop(propField, 
+					get_basic_eq(flags));
+				if (do_index)
+					return array->sort_indexed(&avc, &ave);
+				return array->sort(&avc, &ave);
+			}
+			if (do_index)
+				return as_value(array->sort_indexed(&avc));
+			array->sort(&avc);
+			return as_value((boost::intrusive_ptr<as_object>)array);
+		}
+	}
+
+	// case: sortOn(["prop1", "prop2"] ...)
+	if (fn.nargs > 0 && fn.arg(0).is_object() ) 
+	{
+		boost::intrusive_ptr<as_array_object> props = 
+			ensureType<as_array_object>(fn.arg(0).to_object());
+		std::deque<std::string> prp;
+		unsigned int optnum = props->size();
+		as_cmp_fn cmp[optnum];
+		as_cmp_fn eq[optnum];
 
-	log_unimpl("Array.sortOn()");
+		for (std::deque<as_value>::const_iterator it = props->begin();
+			it != props->end(); ++it)
+		{
+			std::string s = PROPNAME((*it).to_string());
+			prp.push_back(s);
+		}
+		
+		// case: sortOn(["prop1", "prop2"])
+		if (fn.nargs == 1)
+		{	// assign each cmp function to the standard cmp fn
+			for (unsigned int i = 0; i < optnum; i++)
+				cmp[i] = &as_value_lt;
+		}
+		// case: sortOn(["prop1", "prop2"], [Array.FLAG1, Array.FLAG2])
+		else if ( fn.arg(1).is_object() )
+		{
+			boost::intrusive_ptr<as_array_object> farray = 
+				ensureType<as_array_object>(fn.arg(1).to_object());
+			if (farray->size() == optnum)
+			{
+				uint8_t flgs[optnum];
+				std::deque<as_value>::const_iterator 
+					fBegin = farray->begin(),
+					fEnd = farray->end();
+
+				get_multi_flags(fBegin, fEnd, flgs, 
+					&do_unique, &do_index);
+
+				for (unsigned int i = 0; i < optnum; i++)
+					cmp[i] = get_basic_cmp(flgs[i]);
+
+				if (do_unique)
+				{
+					for (unsigned int i = 0; i < optnum; i++)
+						eq[i] = get_basic_eq(flgs[i]);
+				}
+			}
+			else
+			{
+				for (unsigned int i = 0; i < optnum; i++)
+					cmp[i] = &as_value_lt;
+			}
+		}
+		// case: sortOn(["prop1", "prop2"], Array.FLAG)
+		else if ( fn.arg(1).is_number() )
+		{
+			uint8_t flags = 
+				static_cast<uint8_t>(fn.arg(1).to_number());
+			flag_preprocess(flags, &do_unique, &do_index);
+			as_cmp_fn c = get_basic_cmp(flags);
+
+			for (unsigned int i = 0; i < optnum; i++)
+				cmp[i] = c;
+			
+			if (do_unique)
+			{
+				as_cmp_fn e = get_basic_eq(flags);
+				for (unsigned int i = 0; i < optnum; i++)
+					eq[i] = e;
+			}
+		}
+
+		as_value_multiprop avc = 
+			as_value_multiprop(prp.begin(), prp.end(), cmp);
+
+		if (do_unique)
+		{
+			as_value_multiprop_eq ave = 
+				as_value_multiprop_eq(prp.begin(), prp.end(), eq);
+			if (do_index)
+				return array->sort_indexed(&avc, &ave);
+			return array->sort(&avc, &ave);
+		}
+		if (do_index)
+			return as_value(array->sort_indexed(&avc));
+		array->sort(&avc);
+		return as_value((boost::intrusive_ptr<as_object>)array);
+
+	}
+	IF_VERBOSE_ASCODING_ERRORS(
+	log_aserror(_("SortOn called with invalid arguments."));
+	)
 	return as_value();
 }
 

Index: server/array.h
===================================================================
RCS file: /sources/gnash/gnash/server/array.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -b -r1.30 -r1.31
--- server/array.h	13 Jul 2007 01:13:46 -0000	1.30
+++ server/array.h	29 Jul 2007 12:57:01 -0000	1.31
@@ -38,6 +38,17 @@
 
 namespace gnash {
 
+struct indexed_as_value : public as_value
+{
+	int vec_index;
+
+	indexed_as_value(const as_value& val, int index)
+	: as_value(val)
+	{
+		vec_index = index;
+	}
+};
+
 /// The Array ActionScript object
 class as_array_object : public as_object
 {
@@ -53,7 +64,10 @@
 		/// Descending order (b precedes a)
 		fDescending		= (1<<1), // 2
 
-		/// Remove consecutive equal elements
+		/// If two or more elements in the array
+		/// have identical sort fields, return 0
+		/// and don't modify the array.
+		/// Otherwise proceed to sort the array.
 		fUniqueSort		= (1<<2), // 4
 
 		/// Don't modify the array, rather return
@@ -71,6 +85,12 @@
 	
 	~as_array_object();
 
+	std::deque<indexed_as_value> get_indexed_elements();
+
+	std::deque<as_value>::const_iterator begin();
+
+	std::deque<as_value>::const_iterator end();
+
 	void push(const as_value& val);
 
 	void unshift(const as_value& val);
@@ -81,6 +101,8 @@
 
 	as_value at(unsigned int index);
 
+	as_array_object* get_indices(std::deque<indexed_as_value> origElems);
+
 	void reverse();
 
 	/// @param env
@@ -152,17 +174,84 @@
 	std::auto_ptr<as_array_object> splice(unsigned start, unsigned len,
 			const std::vector<as_value>& replacement);
 
+	/// \brief
 	/// Sort the array, using given values comparator
-	void sort(as_function& comparator, boost::intrusive_ptr<as_object> this_ptr, uint8_t flags=0);
+	///
+	/// @param avc
+	///	boolean functor or function comparing two as_value& objects
+	///
+	template <class AVCMP>
+	void sort(AVCMP* avc)
+	{
+		std::sort(elements.begin(), elements.end(), *avc);
+	}
+
+	/// \brief
+	/// Attempt to sort the array using given values comparator, avc.
+	/// If two or more elements in the array are equal, as determined
+	/// by the equality comparator ave, then the array is not sorted
+	/// and 0 is returned. Otherwise the array is sorted and returned.
+	///
+	/// @param avc
+	///	boolean functor or function comparing two as_value& objects
+	///     used to determine sort-order
+	///
+	/// @param ave
+	///	boolean functor or function comparing two as_value& objects
+	///     used to determine equality
+	///
+	template <class AVCMP, class AVEQ>
+	as_value sort(AVCMP* avc, AVEQ* ave)
+	{
+		std::deque<as_value> nelem = std::deque<as_value>(elements);
 
-	void sort(uint8_t flags=0);
+		std::sort(nelem.begin(), nelem.end(), *avc);
+		if (adjacent_find(nelem.begin(), nelem.end(), *ave) != nelem.end() )
+			return as_value(0);
 
+		elements = nelem;
+		return as_value(this);
+	}
+
+	/// \brief
 	/// Return a new array containing sorted index of this array
-	//
-	/// NOTE: assert(flags & Array::fReturnIndexedArray)
-	std::auto_ptr<as_array_object> sorted_indexes(uint8_t flags);
+	///
+	/// @param avc
+	///	boolean functor or function comparing two as_value& objects
+	///
+	template <class AVCMP>
+	as_array_object* sort_indexed(AVCMP* avc)
+	{
+		std::deque<indexed_as_value> ielem = get_indexed_elements();
+		std::sort(ielem.begin(), ielem.end(), *avc);
+		return get_indices(ielem);
+	}
+
+	/// \brief
+	/// Return a new array containing sorted index of this array.
+	/// If two or more elements in the array are equal, as determined
+	/// by the equality comparator ave, then 0 is returned instead.
+	///
+	/// @param avc
+	///	boolean functor or function comparing two as_value& objects
+	///     used to determine sort-order
+	///
+	/// @param ave
+	///	boolean functor or function comparing two as_value& objects
+	///     used to determine equality
+	///
+	template <class AVCMP, class AVEQ>
+	as_value sort_indexed(AVCMP* avc, AVEQ* ave)
+	{
+		std::deque<indexed_as_value> ielem = get_indexed_elements();
+
+		std::sort(ielem.begin(), ielem.end(), *avc);
 
-	std::auto_ptr<as_array_object> sorted_indexes(as_function& comparator, uint8_t flags);
+		if (adjacent_find(ielem.begin(), ielem.end(), *ave) != ielem.end() )
+			return as_value(0);
+
+		return get_indices(ielem);
+	}
 
 	/// Overridden to provide 'length' member
 	//

Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- testsuite/actionscript.all/array.as	29 Jul 2007 12:45:25 -0000	1.21
+++ testsuite/actionscript.all/array.as	29 Jul 2007 12:57:01 -0000	1.22
@@ -5,7 +5,7 @@
 // Updated with sort functions, and to use check() macro
 // by Mike Carlson Feb. 14th, 2006
 
-rcsid="$Id: array.as,v 1.21 2007/07/29 12:45:25 strk Exp $";
+rcsid="$Id: array.as,v 1.22 2007/07/29 12:57:01 strk Exp $";
 
 #include "check.as"
 
@@ -348,3 +348,430 @@
 xcheck(c.hasOwnProperty('2'));
 #endif
 
+//-------------------------------
+// Test sort
+//-------------------------------
+
+function cmp_fn(x,y)
+{
+	if (x.length < y.length) { return -1; }
+	if (x.length > y.length) { return 1; }
+	return 0;
+}
+
+function tolen(x)
+{
+	var i;
+	str = "[";
+	for (i = 0; i < x.length; i++) 
+	{
+		str += String(x[i].length);
+		if (i != x.length - 1) str += ", ";
+	}
+	str += "]";
+	return str;
+}
+
+a = ["ed", "emacs", "", "vi", "nano", "Jedit"];
+b = [8, 1, -2, 5, -7, -9, 3, 0];
+c = [7.2, 2.0, -0.5, 3/0, 0.0, 8.35, 0.001, -3.7];
+d = [];
+e = ["singleton"];
+
+trace(" -- Basic Sort Tests -- ");
+
+r = a.sort( Array.NUMERIC );
+check_equals( r.toString(), ",Jedit,ed,emacs,nano,vi" );
+check_equals( a.toString(), ",Jedit,ed,emacs,nano,vi" );
+a.sort( Array.NUMERIC | Array.CASEINSENSITIVE );
+check_equals( a.toString(), ",ed,emacs,Jedit,nano,vi" );
+a.sort();
+check_equals( a.toString(), ",Jedit,ed,emacs,nano,vi" );
+a.sort( Array.CASEINSENSITIVE );
+check_equals( a.toString(), ",ed,emacs,Jedit,nano,vi" );
+a.sort( Array.UNIQUESORT );
+check_equals( a.toString(), ",Jedit,ed,emacs,nano,vi" );
+r = a.sort( Array.DESCENDING );
+check_equals( r.toString(), "vi,nano,emacs,ed,Jedit," );
+check_equals( a.toString(), "vi,nano,emacs,ed,Jedit," );
+
+r = b.sort();
+check_equals( r.toString(), "-2,-7,-9,0,1,3,5,8" );
+check_equals( b.toString(), "-2,-7,-9,0,1,3,5,8" );
+b.sort( Array.NUMERIC );
+check_equals( b.toString(), "-9,-7,-2,0,1,3,5,8" );
+b.sort( Array.UNIQUESORT );
+check_equals( b.toString(), "-2,-7,-9,0,1,3,5,8" );
+b.sort( Array.DESCENDING );
+check_equals( b.toString(), "8,5,3,1,0,-9,-7,-2" );
+r = b.sort( Array.DESCENDING | Array.NUMERIC );
+check_equals( r.toString(), "8,5,3,1,0,-2,-7,-9" );
+check_equals( b.toString(), "8,5,3,1,0,-2,-7,-9" );
+
+r = c.sort();
+check_equals( r.toString(), "-0.5,-3.7,0,0.001,2,7.2,8.35,Infinity" );
+check_equals( c.toString(), "-0.5,-3.7,0,0.001,2,7.2,8.35,Infinity" );
+c.sort( Array.CASEINSENSITIVE );
+check_equals( c.toString(), "-0.5,-3.7,0,0.001,2,7.2,8.35,Infinity" );
+c.sort( Array.NUMERIC );
+check_equals( c.toString(), "-3.7,-0.5,0,0.001,2,7.2,8.35,Infinity" );
+r = c.sort( Array.UNIQUESORT );
+check_equals( c.toString(), "-0.5,-3.7,0,0.001,2,7.2,8.35,Infinity" );
+r = c.sort( Array.DESCENDING | Array.NUMERIC );
+check_equals( c.toString(), "Infinity,8.35,7.2,2,0.001,0,-0.5,-3.7" );
+
+r = d.sort();
+check_equals( r.toString(), "" );
+check_equals( d.toString(), "" );
+d.sort( Array.UNIQUESORT );
+check_equals( d.toString(), "" );
+d.sort( Array.DESCENDING | Array.NUMERIC );
+check_equals( d.toString(), "" );
+
+r = e.sort();
+check_equals( r.toString(), "singleton" );
+check_equals( e.toString(), "singleton" );
+e.sort( Array.UNIQUESORT );
+check_equals( e.toString(), "singleton" );
+e.sort( Array.DESCENDING | Array.CASEINSENSITIVE );
+check_equals( e.toString(), "singleton" );
+
+trace(" -- Return Indexed Array Tests -- ");
+
+r = a.sort( Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "5,4,3,2,1,0" );
+check_equals( a.toString(), "vi,nano,emacs,ed,Jedit," );
+r = a.sort( Array.RETURNINDEXEDARRAY | Array.DESCENDING | Array.CASEINSENSITIVE );
+check_equals( r.toString(), "0,1,4,2,3,5" );
+check_equals( a.toString(), "vi,nano,emacs,ed,Jedit," );
+r = b.sort( Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "5,6,7,4,3,2,1,0" );
+r = b.sort( Array.RETURNINDEXEDARRAY | Array.NUMERIC );
+check_equals( r.toString(), "7,6,5,4,3,2,1,0" );
+r = b.sort( Array.RETURNINDEXEDARRAY | Array.DESCENDING | Array.CASEINSENSITIVE );
+check_equals( r.toString(), "0,1,2,3,4,7,6,5" );
+r = c.sort( Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "6,7,5,4,3,2,1,0" );
+r = c.sort( Array.RETURNINDEXEDARRAY | Array.NUMERIC );
+check_equals( r.toString(), "7,6,5,4,3,2,1,0" );
+r = c.sort( Array.RETURNINDEXEDARRAY | Array.DESCENDING | Array.CASEINSENSITIVE );
+check_equals( r.toString(), "0,1,2,3,4,5,7,6" );
+r = d.sort( Array.RETURNINDEXEDARRAY | Array.DESCENDING );
+check_equals( r.toString(), "" );
+check_equals( d.toString(), "" );
+r = d.sort( Array.NUMERIC | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "" );
+check_equals( d.toString(), "" );
+r = e.sort( Array.CASEINSENSITIVE | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+check_equals( e.toString(), "singleton" );
+r = e.sort( Array.NUMERIC | Array.RETURNINDEXEDARRAY | Array.DESCENDING );
+check_equals( r.toString(), "0" );
+
+trace(" -- Custom AS function tests -- ");
+r = a.sort( cmp_fn, Array.UNIQUE );
+check_equals( r.toString(), ",vi,ed,nano,emacs,Jedit" );
+check_equals( a.toString(), ",vi,ed,nano,emacs,Jedit" );
+r = a.sort( something_undefined );
+check_equals(typeof(r), 'undefined');
+r = a.sort( cmp_fn, Array.DESCENDING );
+check_equals( tolen(r), "[5, 5, 4, 2, 2, 0]" );
+check_equals( tolen(a), "[5, 5, 4, 2, 2, 0]" );
+a.sort( cmp_fn, Array.CASEINSENSITIVE | Array.NUMERIC );
+check_equals( tolen(a), "[0, 2, 2, 4, 5, 5]" );
+r = a.sort( cmp_fn, Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0,1,2,3,4,5" );
+r = a.sort( cmp_fn, Array.RETURNINDEXEDARRAY | Array.DESCENDING );
+check_equals( r.toString(), "5,4,3,2,1,0" );
+r = d.sort( cmp_fn );
+check_equals( r.toString(), "" );
+check_equals( d.toString(), "" );
+r = d.sort( cmp_fn, Array.UNIQUESORT | Array.CASEINSENSITIVE );
+check_equals( r.toString(), "" );
+check_equals( d.toString(), "" );
+r = e.sort( cmp_fn, Array.UNIQUESORT | Array.CASEINSENSITIVE );
+check_equals( r.toString(), "singleton" );
+check_equals( e.toString(), "singleton" );
+
+a.push("ED");
+b.push(3.0);
+c.push(9/0);
+
+trace(" -- UNIQUESORT tests -- ");
+
+r = a.sort( Array.UNIQUESORT );
+check_equals( r.toString(), ",ED,Jedit,ed,emacs,nano,vi" );
+check_equals( a.toString(), ",ED,Jedit,ed,emacs,nano,vi" );
+r = a.sort( Array.UNIQUESORT | Array.CASEINSENSITIVE );
+check_equals( r.toString(), "0" );
+check_equals( a.toString(), ",ED,Jedit,ed,emacs,nano,vi" );
+r = a.sort( Array.UNIQUESORT | Array.CASEINSENSITIVE | Array.DESCENDING );
+check_equals( r.toString(), "0" );
+check_equals( a.toString(), ",ED,Jedit,ed,emacs,nano,vi" );
+r = a.sort( Array.UNIQUESORT | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0,1,2,3,4,5,6" );
+r = a.sort( Array.UNIQUESORT | Array.CASEINSENSITIVE | Array.DESCENDING | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+
+r = b.sort( Array.UNIQUESORT );
+check_equals( r.toString(), "0" );
+check_equals( b.toString(), "8,5,3,1,0,-2,-7,-9,3" );
+r = b.sort( Array.UNIQUESORT | Array.NUMERIC );
+check_equals( r.toString(), "0" );
+r = b.sort( Array.UNIQUESORT | Array.NUMERIC | Array.DESCENDING );
+check_equals( r.toString(), "0" );
+r = b.sort( Array.UNIQUESORT | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+r = b.sort( Array.UNIQUESORT | Array.NUMERIC | Array.DESCENDING | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+
+r = c.sort( Array.UNIQUESORT );
+check_equals( r.toString(), "0" );
+check_equals( c.toString(), "Infinity,8.35,7.2,2,0.001,0,-0.5,-3.7,Infinity" );
+r = c.sort( Array.UNIQUESORT | Array.NUMERIC );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.NUMERIC | Array.DESCENDING );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.NUMERIC | Array.DESCENDING | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+r = a.sort( cmp_fn, Array.UNIQUE | Array.CASEINSENSITIVE );
+check_equals( tolen(r), "[0, 2, 2, 2, 4, 5, 5]" );
+check_equals( tolen(a), "[0, 2, 2, 2, 4, 5, 5]" );
+r = a.sort( cmp_fn, Array.UNIQUE | Array.CASEINSENSITIVE | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0,1,2,3,4,5,6" ); 
+r = a.sort( cmp_fn, Array.UNIQUE | Array.CASEINSENSITIVE | Array.RETURNINDEXEDARRAY | Array.DESCENDING );
+check_equals( r.toString(), "6,5,4,3,2,1,0" );
+
+trace(" -- Array with null value  -- ");
+c.push(null);
+
+r = c.sort();
+check_equals( r.toString(), "-0.5,-3.7,0,0.001,2,7.2,8.35,Infinity,Infinity,null" ); 
+check_equals( c.toString(), "-0.5,-3.7,0,0.001,2,7.2,8.35,Infinity,Infinity,null" );
+c.sort( Array.NUMERIC );
+check_equals( c.toString(), "-3.7,-0.5,0,0.001,2,7.2,8.35,Infinity,Infinity,null" );
+c.sort( Array.DESCENDING | Array.NUMERIC );
+check_equals( c.toString(), "null,Infinity,Infinity,8.35,7.2,2,0.001,0,-0.5,-3.7" );
+r = c.sort( Array.RETURNINDEXEDARRAY | Array.NUMERIC );
+check_equals( r.toString(), "9,8,7,6,5,4,3,1,2,0" );
+r = c.sort( Array.RETURNINDEXEDARRAY | Array.DESCENDING | Array.CASEINSENSITIVE );
+check_equals( r.toString(), "0,1,2,3,4,5,6,7,9,8" );
+r = c.sort( Array.UNIQUESORT );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.NUMERIC );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.NUMERIC | Array.DESCENDING | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+
+trace(" -- Array with 2 null values  -- ");
+c = [7.2, 2.0, null, -0.5, 3/0, 0.0, null, 8.35, 0.001, -3.7];
+c.sort( Array.NUMERIC );
+check_equals( c.toString(), "-3.7,-0.5,0,0.001,2,7.2,8.35,Infinity,null,null" );
+c.sort( Array.DESCENDING | Array.NUMERIC );
+check_equals( c.toString(), "null,null,Infinity,8.35,7.2,2,0.001,0,-0.5,-3.7" );
+r = c.sort( Array.RETURNINDEXEDARRAY | Array.NUMERIC );
+check_equals( r.toString(), "9,8,7,6,5,4,3,2,0,1" );
+check_equals( c.toString(), "null,null,Infinity,8.35,7.2,2,0.001,0,-0.5,-3.7" );
+r = c.sort( Array.UNIQUESORT );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.NUMERIC );
+check_equals( r.toString(), "0" );
+
+trace(" -- Array with 2 undefined values  -- ");
+c = [7.2, 2.0, undefined, -0.5, 3/0, 0.0, undefined, 8.35, 0.001, -3.7];
+r = c.sort( Array.UNIQUESORT );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.NUMERIC );
+check_equals( r.toString(), "0" );
+
+trace(" -- Array with 2 NaN values  -- ");
+c = [7.2, 2.0, NaN, -0.5, 3/0, 0.0, NaN, 8.35, 0.001, -3.7];
+r = c.sort( Array.UNIQUESORT );
+check_equals( r.toString(), "0" );
+r = c.sort( Array.UNIQUESORT | Array.NUMERIC );
+check_equals( r.toString(), "0" );
+
+//-------------------------------
+// Test sortOn
+//-------------------------------
+
+a = [];
+a.push({Name: "Zuse Z3", Year: 1941, Electronic: false});
+a.push({Name: "Colossus", Year: 1943, Electronic: true});
+a.push({Name: "ENIAC", Year: 1944, Electronic: true});
+
+function tostr(x)
+{
+	var i;
+	str = "";
+	for(i = 0; i < x.length; i++)
+	{
+		y = a[i];
+		str += (y.Name + "," + y.Year + "," + y.Electronic );
+		if (i != x.length - 1) str += " | ";
+	}
+	return str;
+}
+
+trace("sortOn a single property ");
+r = a.sortOn( "Name" );
+check_equals( tostr(r), "Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+check_equals( tostr(a), "Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+r = a.sortOn( "Year" );
+check_equals( tostr(r), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+check_equals( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+
+a.sortOn( "Electronic" );
+check_equals( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+
+a.sortOn("Year", Array.NUMERIC );
+check_equals( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+
+a.sortOn("Year", Array.NUMERIC | Array.DESCENDING );
+check_equals ( tostr(a), "ENIAC,1944,true | Colossus,1943,true | Zuse Z3,1941,false" );
+
+r = a.sortOn("Year", Array.UNIQUESORT | Array.NUMERIC );
+check_equals ( tostr(r), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+check_equals ( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+
+r = a.sortOn("Year", Array.RETURNINDEXEDARRAY | Array.NUMERIC );
+check_equals( r.toString(), "0,1,2" );
+check_equals ( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+
+r = a.sortOn("Name", Array.UNIQUESORT );
+check_equals( tostr(r), "Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+check_equals( tostr(a), "Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+r = a.sortOn("Name", Array.UNIQUESORT | Array.DESCENDING );
+check_equals( tostr(r), "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true" );
+
+r = a.sortOn("Name", Array.UNIQUESORT | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "2,1,0" );
+
+r = a.sortOn("Electronic", Array.UNIQUESORT | Array.RETURNINDEXEDARRAY );
+check_equals( r.toString(), "0" );
+check_equals( tostr(a), "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true");
+
+trace("sortOn multiple properties");
+a.push({Name: "Atanasoff-Berry", Year: 1941, Electronic: true, Mass: 320});
+
+r = a.sortOn( ["Name", "Year"] );
+check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+a.sortOn( ["Electronic", "Year"] );
+check_equals( tostr(a), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+
+a.sortOn( ["Electronic", "Year"], [Array.DESCENDING, Array.NUMERIC] );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+r = a.sortOn( ["Name", "Year"], [Array.UNIQUESORT, Array.NUMERIC] );
+check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+r = a.sortOn( ["Electronic", "Name"], [Array.UNIQUESORT, Array.NUMERIC] );
+check_equals( tostr(r), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+
+
+trace("sortOn missing properties" );
+r = a.sortOn(["Megaflops"] );
+check_equals( tostr(r), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+check_equals( tostr(a), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+
+a.sortOn(["Binary", "Turing complete"] );
+check_equals( tostr(a), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+
+a.sortOn(["Inventor", "Cost"], [Array.DESCENDING, 0] );
+check_equals( tostr(a), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+
+r = a.sortOn(["Name", "Year", "Cost"], [Array.DESCENDING, Array.NUMERIC, 0] );
+check_equals( tostr(a), "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true" );
+
+r = a.sortOn(["Name", "Cost", "Year"], [0, 0, Array.NUMERIC] );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+r = a.sortOn(["Electronic", "Year", "Cost"], [Array.UNIQUESORT, Array.NUMERIC, Array.NUMERIC] );
+check_equals( tostr(r), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+check_equals( tostr(a), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+
+r = a.sortOn(["Electronic", "Cost" ], [Array.UNIQUESORT, Array.NUMERIC] );
+check_equals( r.toString(), "0" );
+
+trace("sortOn with mismatching array lengths");
+r = a.sortOn( ["Name", "Year"], [0] );
+check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+r = a.sortOn( ["Name", "Year"], [Array.DESCENDING] );
+check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+a.sortOn(["Name", "Electronic"], [Array.DESCENDING] );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+r = a.sortOn(["Name", "Year"], [Array.RETURNINDEXEDARRAY] );
+check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+trace("sortOn, undocumented invocation");
+r = a.sortOn( ["Name", "Year"], Array.DESCENDING );
+check_equals( tostr(r), "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true" );
+check_equals( tostr(a), "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true" );
+
+a.sortOn( ["Year", "Name"], Array.NUMERIC );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+
+a.sortOn( ["Electronic", "Year", "Name"], Array.NUMERIC | Array.DESCENDING );
+check_equals( tostr(a), "ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Zuse Z3,1941,false" );
+
+#if OUTPUT_VERSION > 6
+trace("sortOn partially missing properties");
+
+r = a.sortOn(["Name", "Electronic"], [Array.DESCENDING] );
+check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+r = a.sortOn(["Name", "Year"], [Array.RETURNINDEXEDARRAY]);
+check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+trace("sortOn partially missing properties");
+a.push({Name: "Harvard Mark I", Year: 1944, Mass: 4500});
+
+a.sortOn(["Electronic", "Year"], Array.DESCENDING | Array.IGNORECASE );
+check_equals( tostr(a), "Harvard Mark I,1944,undefined | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Zuse Z3,1941,false" );
+
+a.sortOn( ["Electronic", "Name"], [Array.NUMERIC, Array.DESCENDING] );
+check_equals( tostr(a), "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined" );
+
+r = a.sortOn( ["Electronic", "Name"], [Array.UNIQUESORT, Array.NUMERIC] );
+check_equals( tostr(r), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Harvard Mark I,1944,undefined" );
+check_equals( tostr(a), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Harvard Mark I,1944,undefined" );
+
+a.sortOn( ["Mass", "Name"], [0, 0] );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+
+a.sortOn( ["Mass", "Year", "Name"], [Array.NUMERIC | Array.DESCENDING, Array.NUMERIC | Array.DESCENDING | 0] );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined | Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+
+a.sortOn( ["Mass", "Name"], [Array.UNIQUE, Array.DESCENDING] );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined | Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true" );
+
+a.sortOn( ["Electronic", "Mass", "Name"], [0, Array.NUMERIC | Array.DESCENDING, 0] );
+check_equals( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true | Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined" );
+
+r = a.sortOn( ["Electronic", "Mass", "Year", "Name"], [Array.RETURNINDEXEDARRAY, Array.NUMERIC, Array.NUMERIC, Array.DESCENDING] );
+check_equals( r.toString(), "0,3,1,2,4");
+#endif // OUTPUT_VERSION > 6
+
+#if OUTPUT_VERSION < 7
+trace("sortOn property name case-mismatch");
+a.sortOn( ["name"] );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+a.sortOn( ["year", "name"], Array.NUMERIC );
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+#endif // OUTPUT_VERSION < 7
+



From MAILER-DAEMON Sun Jul 29 10:09:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IF9Sp-0004jB-W8
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 10:09:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IF9So-0004fq-EG
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 10:09:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IF9Sn-0004fT-JN
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 10:09:42 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IF9Sn-0004fO-B4
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 10:09:41 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IF9Sn-0001RZ-1c
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 10:09:41 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IF9Sl-0001A3-SY
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 14:09:39 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IF9Sl-0001A0-Np
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 14:09:39 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IF9Sl-0001A0-Np@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 14:09:39 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 14:09:42 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 14:09:39

Modified files:
	.              : ChangeLog 

Log message:
	add name to email

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3859&r2=1.3860

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3859
retrieving revision 1.3860
diff -u -b -r1.3859 -r1.3860
--- ChangeLog	29 Jul 2007 12:57:00 -0000	1.3859
+++ ChangeLog	29 Jul 2007 14:09:39 -0000	1.3860
@@ -1,11 +1,11 @@
-2007-07-29 <meteoryte@yahoo.com.au>
+2007-07-29 Ivor Blockley <meteoryte@yahoo.com.au>
 
 	* server/array.{cpp,h}: implement remaining array.sort(..) functionality
 	  (flags UNIQUE and RETURNINDEXEDARRAY) all of array.sortOn(...)
 	* testsuite/actionscript.all/array.as: test for Array.sort and
 	  Array.sortOn
 
-2007-07-29 <meteoryte@yahoo.com.au>
+2007-07-29 Ivor Blockley <meteoryte@yahoo.com.au>
 
 	* server/array.cpp: Fix bug in the array.splice(index) method to
 	  prevent an incorrect number of elements being spliced; fix bug
@@ -647,7 +647,7 @@
 	* testsuite/misc-ming.all/DefineEditTextTest.c:
 	  include dejagnuclip, make it to be a self-contained one.
 	  
-2007-07-12 <meteoryte@yahoo.com.au>
+2007-07-12 Ivor Blockley <meteoryte@yahoo.com.au>
 
 	Applied patch #6081
 	* server/array.{cpp,h}: fix user-defined comparator for sort()



From MAILER-DAEMON Sun Jul 29 12:18:22 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFBTK-0002XJ-Eb
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 12:18:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFBTI-0002WS-VG
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:18:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFBTH-0002Uz-OY
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:18:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFBTH-0002Uw-Jw
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:18:19 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFBTH-0006JZ-0U
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:18:19 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFBTF-0006gz-Vw
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 16:18:18 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFBTF-0006gv-Ln
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 16:18:17 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFBTF-0006gv-Ln@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 16:18:17 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 16:18:21 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 16:18:17

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	Patch #20616 by Nick Warne <nick@ukfsn.org>:
	
	        * configure.ac: don't rely on has_kde *before* it is attempted to be
	          set.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3860&r2=1.3861
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.379&r2=1.380

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3860
retrieving revision 1.3861
diff -u -b -r1.3860 -r1.3861
--- ChangeLog	29 Jul 2007 14:09:39 -0000	1.3860
+++ ChangeLog	29 Jul 2007 16:18:16 -0000	1.3861
@@ -1,3 +1,8 @@
+2007-07-29 Nick Warne <nick@ukfsn.org>
+
+	* configure.ac: don't rely on has_kde *before* it is attempted to be
+	  set.
+
 2007-07-29 Ivor Blockley <meteoryte@yahoo.com.au>
 
 	* server/array.{cpp,h}: implement remaining array.sort(..) functionality

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.379
retrieving revision 1.380
diff -u -b -r1.379 -r1.380
--- configure.ac	29 Jul 2007 03:55:52 -0000	1.379
+++ configure.ac	29 Jul 2007 16:18:17 -0000	1.380
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.379 2007/07/29 03:55:52 strk Exp $
+dnl $Id: configure.ac,v 1.380 2007/07/29 16:18:17 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -920,6 +920,17 @@
   klash=no
 fi
 
+dnl # Check KDE if kde gui or klash were requested
+if test x$build_kde = xyes -o x"$klash" = xyes -o x"$plugin" = xno; then
+  kde=yes
+  qt=yes
+  build_kde=yes
+  GNASH_PATH_KDE
+  GNASH_PATH_QT
+fi
+AM_CONDITIONAL(HAVE_KDE, [test x$has_kde = xyes])
+AM_CONDITIONAL(HAVE_QT, [test x$has_qt = xyes])
+
 dnl # NO kde ? NO klash !
 if test x$has_kde != xyes; then
   if test x$klash = xyes; then
@@ -934,17 +945,6 @@
   fi
 fi
 
-dnl # Check KDE if kde gui or klash were requested
-if test x$build_kde = xyes -o x"$klash" = xyes -o x"$plugin" = xno; then
-  kde=yes
-  qt=yes
-  build_kde=yes
-  GNASH_PATH_KDE
-  GNASH_PATH_QT
-fi
-AM_CONDITIONAL(HAVE_KDE, [test x$has_kde = xyes])
-AM_CONDITIONAL(HAVE_QT, [test x$has_qt = xyes])
-
 AM_CONDITIONAL(BUILD_GTK_GUI, [ test x$build_gtk = xyes ])
 AM_CONDITIONAL(BUILD_KDE_GUI, [ test x$build_kde = xyes ])
 dnl AM_CONDITIONAL(BUILD_QT_GUI, [ test x$build_qt = xyes ])



From MAILER-DAEMON Sun Jul 29 12:35:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFBkC-0001G5-Ac
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 12:35:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFBkA-0001B5-1N
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:35:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFBk9-0001As-Cl
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:35:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFBk9-0001Al-5R
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:35:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFBk8-0004XH-Qf
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 12:35:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFBk8-0007Aa-Bq
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 16:35:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFBk8-0007AX-6Q
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 16:35:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFBk8-0007AX-6Q@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 16:35:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 16:35:46 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 16:35:44

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	* configure.ac: don't force KDE gui everytime plugin is disabled (sic).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3861&r2=1.3862
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.380&r2=1.381

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3861
retrieving revision 1.3862
diff -u -b -r1.3861 -r1.3862
--- ChangeLog	29 Jul 2007 16:18:16 -0000	1.3861
+++ ChangeLog	29 Jul 2007 16:35:43 -0000	1.3862
@@ -1,3 +1,7 @@
+2007-07-29 Sandro Santilli <strk@keybit.net>
+
+	* configure.ac: don't force KDE gui everytime plugin is disabled (sic).
+
 2007-07-29 Nick Warne <nick@ukfsn.org>
 
 	* configure.ac: don't rely on has_kde *before* it is attempted to be

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.380
retrieving revision 1.381
diff -u -b -r1.380 -r1.381
--- configure.ac	29 Jul 2007 16:18:17 -0000	1.380
+++ configure.ac	29 Jul 2007 16:35:43 -0000	1.381
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.380 2007/07/29 16:18:17 strk Exp $
+dnl $Id: configure.ac,v 1.381 2007/07/29 16:35:43 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -921,7 +921,7 @@
 fi
 
 dnl # Check KDE if kde gui or klash were requested
-if test x$build_kde = xyes -o x"$klash" = xyes -o x"$plugin" = xno; then
+if test x$build_kde = xyes -o x"$klash" = xyes; then
   kde=yes
   qt=yes
   build_kde=yes



From MAILER-DAEMON Sun Jul 29 13:33:28 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFCe0-000868-64
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 13:33:28 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFCdy-00085U-EF
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 13:33:26 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFCdx-00084g-0T
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 13:33:25 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFCdw-00084b-Ce
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 13:33:24 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFCdw-0004X5-4Q
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 13:33:24 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFCdv-0002XW-JY
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 17:33:23 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFCdv-0002XT-DA
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 17:33:23 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFCdv-0002XT-DA@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Sun, 29 Jul 2007 17:33:23 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 17:33:26 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/29 17:33:23

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: drop add_gui variable again, use another way to
	          handle a missing --enable-gui.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3862&r2=1.3863
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.381&r2=1.382

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3862
retrieving revision 1.3863
diff -u -b -r1.3862 -r1.3863
--- ChangeLog	29 Jul 2007 16:35:43 -0000	1.3862
+++ ChangeLog	29 Jul 2007 17:33:22 -0000	1.3863
@@ -1,5 +1,10 @@
 2007-07-29 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: drop add_gui variable again, use another way to
+	  handle a missing --enable-gui.
+
+2007-07-29 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: don't force KDE gui everytime plugin is disabled (sic).
 
 2007-07-29 Nick Warne <nick@ukfsn.org>

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.381
retrieving revision 1.382
diff -u -b -r1.381 -r1.382
--- configure.ac	29 Jul 2007 16:35:43 -0000	1.381
+++ configure.ac	29 Jul 2007 17:33:23 -0000	1.382
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.381 2007/07/29 16:35:43 strk Exp $
+dnl $Id: configure.ac,v 1.382 2007/07/29 17:33:23 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -229,7 +229,6 @@
   *)   AC_MSG_ERROR([bad value ${enableval} for --disable-klash option]) ;;
 esac],klash=yes)
 
-add_gui=
 build_fb=no
 build_fltk=no
 build_kde=no
@@ -308,15 +307,9 @@
     if test "x$val" = "x$enableval"; then
       break;
     fi
-  done
+  done,build_gtk=yes;build_kde=yes;
 )
 
-if test x$add_gui = x; then
-   build_gtk=yes
-   build_kde=yes
-   add_gui="gtk,kde"
-fi
-
 add_renderer=
 build_ogl=no
 build_agg=no



From MAILER-DAEMON Sun Jul 29 15:22:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFELC-0003WB-FT
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 15:22:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFELA-0003Vq-Sl
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 15:22:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFELA-0003VT-CJ
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 15:22:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFELA-0003V4-8b
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 15:22:08 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <rob@welcomehome.org>) id 1IFELA-0004Xu-4p
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 15:22:08 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <rob@welcomehome.org>) id 1IFEL9-0001sK-LW
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 19:22:07 +0000
Received: from rsavoye by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <rsavoye@savannah.gnu.org>) id 1IFEL9-0001sH-IR
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 19:22:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFEL9-0001sH-IR@cvs.savannah.gnu.org>
From: Rob Savoye <rob@welcomehome.org>
Date: Sun, 29 Jul 2007 19:22:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash macros/firefox.m4 ChangeLog
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 19:22:09 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Rob Savoye <rsavoye>	07/07/29 19:22:07

Modified files:
	macros         : firefox.m4 
	.              : ChangeLog 

Log message:
		* macros/firefox.m4: Always install the plugin in ~/.mozilla/plugins.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/firefox.m4?cvsroot=gnash&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3863&r2=1.3864

Patches:
Index: macros/firefox.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/firefox.m4,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- macros/firefox.m4	1 Jul 2007 10:54:12 -0000	1.23
+++ macros/firefox.m4	29 Jul 2007 19:22:06 -0000	1.24
@@ -54,13 +54,11 @@
     else
       GNASHEXE=${gnashbindir}
     fi
-    dnl Always install the plugin in the users home directory.
+    dnl Always install the plugin in the users home directory. We
+    dnl always use .mozilla instead of .firefox, as this directoryis
+    dnl used by all mozilla derived browsers.
     if test x"${FIREFOX_PLUGINS}" = "x" ; then
-      if test -d $HOME/.mozilla/plugins; then
         FIREFOX_PLUGINS=$HOME/.mozilla/plugins
-      else
-        FIREFOX_PLUGINS=$HOME/.firefox/plugins
-      fi
     fi
   fi
 

Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3863
retrieving revision 1.3864
diff -u -b -r1.3863 -r1.3864
--- ChangeLog	29 Jul 2007 17:33:22 -0000	1.3863
+++ ChangeLog	29 Jul 2007 19:22:07 -0000	1.3864
@@ -1,3 +1,7 @@
+2007-07-29  Rob Savoye  <rob@deal.welcomehome.org>
+
+	* macros/firefox.m4: Always install the plugin in ~/.mozilla/plugins.
+
 2007-07-29 Sandro Santilli <strk@keybit.net>
 
 	* configure.ac: drop add_gui variable again, use another way to



From MAILER-DAEMON Sun Jul 29 18:05:00 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFGsm-0001H0-8A
	for mharc-gnash-commit@gnu.org; Sun, 29 Jul 2007 18:05:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFGsk-0001Gq-Js
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 18:04:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFGsk-0001Ge-0O
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 18:04:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFGsj-0001Gb-U6
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 18:04:57 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFGsj-0000YZ-Fq
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 18:04:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFGse-0003hC-Qq
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 22:04:52 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFGse-0003h9-ND
	for gnash-commit@gnu.org; Sun, 29 Jul 2007 22:04:52 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFGse-0003h9-ND@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Sun, 29 Jul 2007 22:04:52 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac gui/Info.plist.in gui/Info.p...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jul 2007 22:04:58 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/29 22:04:52

Modified files:
	.              : configure.ac 
Added files:
	gui            : Info.plist.in 
Removed files:
	gui            : Info.plist 

Log message:
	Added version-info to OS X bundle.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.382&r2=1.383
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist.in?cvsroot=gnash&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist?cvsroot=gnash&r1=1.2&r2=0

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.382
retrieving revision 1.383
diff -u -b -r1.382 -r1.383
--- configure.ac	29 Jul 2007 17:33:23 -0000	1.382
+++ configure.ac	29 Jul 2007 22:04:52 -0000	1.383
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.382 2007/07/29 17:33:23 strk Exp $
+dnl $Id: configure.ac,v 1.383 2007/07/29 22:04:52 nihilus Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -359,7 +359,7 @@
 
 if test x$build_ogl = xyes; then
 dnl   if test x$build_fb = xyes -o x$build_fltk = xyes; then
-   if test x$build_gtk != xyes -a x$build_fltk != xyes -a x$build_kde != xyes; then
+   if test x$build_gtk != xyes -a x$build_fltk != xyes -a x$build_kde != xyes -a x$build_aqua != xyes; then
      AC_MSG_ERROR([OpenGL renderer needs one of gtk,fltk or kde guis. Try enabling any of them ( --enable-gui=gtk|kde|fltk ) or using AGG ( --enable-renderer=AGG ).]);
    fi
    AC_DEFINE([RENDERER_OPENGL], [], [Use OpenGL renderer])
@@ -1320,6 +1320,7 @@
 testsuite/server/Makefile
 testsuite/libamf.all/Makefile
 gui/Makefile
+gui/Info.plist
 extensions/Makefile
 extensions/dejagnu/Makefile
 extensions/mysql/Makefile

Index: gui/Info.plist.in
===================================================================
RCS file: gui/Info.plist.in
diff -N gui/Info.plist.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/Info.plist.in	29 Jul 2007 22:04:52 -0000	1.1
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleExecutable</key>
+	<string>gnash</string>
+	<key>CFBundleGetInfoString</key>
+	<string>@VERSION@, Copyright (C) 2005-2007 Free Software Foundation, Inc.</string>
+	<key>CFBundleTypeExtensions</key>
+	<array>
+	<string>swf</string>
+    <string>SWF</string>
+    </array>
+    <key>CFBundleTypeName</key>
+	<string>Flash File</string>
+	<key>CFBundleTypeOSTypes</key>
+	<array>
+	<string>swf</string>
+    <string>SWF</string>
+	</array>
+    <key>CFBundleGetInfoString</key>
+	<string>gnash version: @VERSION@</string>
+	<key>CFBundleIconFile</key>
+	<string>GnashG.icns</string>
+	<key>CFBundleIdentifier</key>
+	<string>com.gnash.aqua</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>1.0</string>
+	<key>SUFeedURL</key>
+	<string>http://www.gnashdev.org/update.xml</string>
+	<key>CSResourcesFileMapped</key>
+	<true/>
+</dict>
+</plist>

Index: gui/Info.plist
===================================================================
RCS file: gui/Info.plist
diff -N gui/Info.plist
--- gui/Info.plist	28 Jul 2007 14:55:28 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>English</string>
-	<key>CFBundleExecutable</key>
-	<string>gnash</string>
-	<key>CFBundleGetInfoString</key>
-	<string>0.8.1, Copyright (C) 2005-2007 Free Software Foundation, Inc.</string>
-	<key>CFBundleTypeExtensions</key>
-	<array>
-	<string>swf</string>
-    <string>SWF</string>
-    </array>
-    <key>CFBundleTypeName</key>
-	<string>Flash File</string>
-	<key>CFBundleTypeOSTypes</key>
-	<array>
-	<string>swf</string>
-    <string>SWF</string>
-	</array>
-    <key>CFBundleGetInfoString</key>
-	<string>gnash Version 0.8.1</string>
-	<key>CFBundleIconFile</key>
-	<string>GnashG.icns</string>
-	<key>CFBundleIdentifier</key>
-	<string>com.gnash.aqua</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1.0</string>
-	<key>SUFeedURL</key>
-	<string>http://www.gnashdev.org/update.xml</string>
-	<key>CSResourcesFileMapped</key>
-	<true/>
-</dict>
-</plist>



From MAILER-DAEMON Mon Jul 30 00:57:04 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFNJY-00082C-P5
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 00:57:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFNJX-00080t-Ft
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 00:57:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFNJW-000809-OF
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 00:57:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFNJW-000806-Jq
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 00:57:02 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFNJW-0007hg-7H
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 00:57:02 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFNJV-0006FH-4z
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 04:57:01 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFNJU-0006FC-UX
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 04:57:01 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFNJU-0006FC-UX@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 04:57:00 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Info.plist.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 04:57:03 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 04:57:00

Modified files:
	.              : ChangeLog 
	gui            : Info.plist.in 

Log message:
	Tidy up the version info.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3864&r2=1.3865
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist.in?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3864
retrieving revision 1.3865
diff -u -b -r1.3864 -r1.3865
--- ChangeLog	29 Jul 2007 19:22:07 -0000	1.3864
+++ ChangeLog	30 Jul 2007 04:57:00 -0000	1.3865
@@ -1,3 +1,7 @@
+2007-07-30 Markus Gothe <nietzsche@lysator.liu.se>
+
+	* gui/Info.plist.in: Tidy up the version info.
+
 2007-07-29  Rob Savoye  <rob@deal.welcomehome.org>
 
 	* macros/firefox.m4: Always install the plugin in ~/.mozilla/plugins.

Index: gui/Info.plist.in
===================================================================
RCS file: /sources/gnash/gnash/gui/Info.plist.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- gui/Info.plist.in	29 Jul 2007 22:04:52 -0000	1.1
+++ gui/Info.plist.in	30 Jul 2007 04:57:00 -0000	1.2
@@ -21,7 +21,7 @@
     <string>SWF</string>
 	</array>
     <key>CFBundleGetInfoString</key>
-	<string>gnash version: @VERSION@</string>
+	<string>@VERSION@</string>
 	<key>CFBundleIconFile</key>
 	<string>GnashG.icns</string>
 	<key>CFBundleIdentifier</key>



From MAILER-DAEMON Mon Jul 30 01:03:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFNQ2-0006gn-71
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 01:03:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFNQ0-0006fX-Ft
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:03:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFNPz-0006fD-Fw
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:03:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFNPz-0006fA-CX
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:03:43 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFNPy-00015R-Q0
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:03:42 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFNPx-00039P-V5
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:03:42 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFNPx-00039M-RK
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:03:41 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFNPx-00039M-RK@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 05:03:41 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Info.plist.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 05:03:44 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 05:03:41

Modified files:
	gui            : Info.plist.in 

Log message:
	Removed duplicate entry

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist.in?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: Info.plist.in
===================================================================
RCS file: /sources/gnash/gnash/gui/Info.plist.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- Info.plist.in	30 Jul 2007 04:57:00 -0000	1.2
+++ Info.plist.in	30 Jul 2007 05:03:41 -0000	1.3
@@ -20,8 +20,6 @@
 	<string>swf</string>
     <string>SWF</string>
 	</array>
-    <key>CFBundleGetInfoString</key>
-	<string>@VERSION@</string>
 	<key>CFBundleIconFile</key>
 	<string>GnashG.icns</string>
 	<key>CFBundleIdentifier</key>



From MAILER-DAEMON Mon Jul 30 01:23:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFNj0-0000qu-O4
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 01:23:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFNiy-0000qQ-8D
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:23:20 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFNix-0000qE-GK
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:23:19 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFNix-0000qB-8j
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:23:19 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFNix-000632-0u
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:23:19 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFNiw-0004oE-2f
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:23:18 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFNiv-0004oB-Si
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:23:17 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFNiv-0004oB-Si@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 05:23:17 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 05:23:20 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 05:23:17

Modified files:
	.              : ChangeLog 
	gui            : Makefile.am 

Log message:
	Build OS X bundle if GUI == AQUA.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3865&r2=1.3866
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.91&r2=1.92

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3865
retrieving revision 1.3866
diff -u -b -r1.3865 -r1.3866
--- ChangeLog	30 Jul 2007 04:57:00 -0000	1.3865
+++ ChangeLog	30 Jul 2007 05:23:17 -0000	1.3866
@@ -1,6 +1,7 @@
 2007-07-30 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* gui/Info.plist.in: Tidy up the version info.
+	* gui/Makefile.am: Build OS X bundle if GUI == AQUA.
 
 2007-07-29  Rob Savoye  <rob@deal.welcomehome.org>
 

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -b -r1.91 -r1.92
--- gui/Makefile.am	28 Jul 2007 14:55:28 -0000	1.91
+++ gui/Makefile.am	30 Jul 2007 05:23:17 -0000	1.92
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.91 2007/07/28 14:55:28 nihilus Exp $
+# $Id: Makefile.am,v 1.92 2007/07/30 05:23:17 nihilus Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -160,7 +160,7 @@
 
 bundle_name = gnash.app
 
-bundle: Info.plist $(ICONFILE)
+bundle: Info.plist gnash
 	@echo " Building: $(bundle_name)" 
 	-rm -rf $(bundle_name)/Contents
 	mkdir -p $(bundle_name)/Contents/MacOS
@@ -455,6 +455,9 @@
 imagesdir = $(pkgdatadir)
 
 bin_PROGRAMS = gnash
+if BUILD_AQUA_GUI
+bin_PROGRAMS += bundle
+endif
 
 gnash_SOURCES = gnash.cpp
 # export our symbols so they can be used by Gnash plugins
@@ -469,6 +472,7 @@
 #	$(LIBLTDL) "-dlopen" self "-dlopen"
 
 CLEANFILES = klash.moc .configline
+
 klash.moc: $(srcdir)/kdesup.h
 	@if test x"$(MOC)" != x; then \
 	  echo "Generating MOC file..."; \



From MAILER-DAEMON Mon Jul 30 01:40:33 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFNzc-0008Lc-S8
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 01:40:33 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFNzb-0008LW-KH
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:40:31 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFNzZ-0008LK-VT
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:40:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFNzZ-0008LH-RK
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:40:29 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFNzZ-0002Ew-JP
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 01:40:29 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFNzZ-00055L-3n
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:40:29 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFNzY-00055I-S9
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:40:29 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFNzY-00055I-S9@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 05:40:28 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 05:40:31 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 05:40:28

Modified files:
	gui            : Makefile.am 

Log message:
	Building bundle take #2

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.92&r2=1.93

Patches:
Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -b -r1.92 -r1.93
--- Makefile.am	30 Jul 2007 05:23:17 -0000	1.92
+++ Makefile.am	30 Jul 2007 05:40:28 -0000	1.93
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.92 2007/07/30 05:23:17 nihilus Exp $
+# $Id: Makefile.am,v 1.93 2007/07/30 05:40:28 nihilus Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -160,7 +160,7 @@
 
 bundle_name = gnash.app
 
-bundle: Info.plist gnash
+bundle: Info.plist
 	@echo " Building: $(bundle_name)" 
 	-rm -rf $(bundle_name)/Contents
 	mkdir -p $(bundle_name)/Contents/MacOS



From MAILER-DAEMON Mon Jul 30 02:12:37 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFOUe-0003hr-Uq
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 02:12:37 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFOUd-0003Zo-0l
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 02:12:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFOUb-0003VX-LK
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 02:12:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFOUb-0003VU-Ha
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 02:12:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFOUb-0002lK-Ba
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 02:12:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFOUa-0007YT-6A
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 06:12:32 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFOUa-0007YN-1z
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 06:12:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFOUa-0007YN-1z@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 06:12:32 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 06:12:35 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 06:12:32

Modified files:
	gui            : Makefile.am 

Log message:
	Let's strip the BLOB

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.93&r2=1.94

Patches:
Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- Makefile.am	30 Jul 2007 05:40:28 -0000	1.93
+++ Makefile.am	30 Jul 2007 06:12:31 -0000	1.94
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.93 2007/07/30 05:40:28 nihilus Exp $
+# $Id: Makefile.am,v 1.94 2007/07/30 06:12:31 nihilus Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -167,6 +167,7 @@
 	mkdir -p $(bundle_name)/Contents/Resources
 	echo "APPL????" > $(bundle_name)/Contents/PkgInfo
 	cp Info.plist $(bundle_name)/Contents/Info.plist
+	strip -S gnash
 	cp -f gnash $(bundle_name)/Contents/MacOS
 	cp -f images/GnashG.icns $(bundle_name)/Contents/Resources/
      



From MAILER-DAEMON Mon Jul 30 04:45:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFQsh-0000kO-Bm
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 04:45:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFQsg-0000kJ-2U
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 04:45:34 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFQsf-0000jv-1d
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 04:45:33 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFQse-0000js-RS
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 04:45:32 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <tomasgroth@yahoo.dk>) id 1IFQse-0000D9-FJ
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 04:45:32 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <tomasgroth@yahoo.dk>) id 1IFQsd-0001Ui-A3
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 08:45:31 +0000
Received: from tgc by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <tgc@savannah.gnu.org>) id 1IFQsc-0001UX-R7
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 08:45:31 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFQsc-0001UX-R7@cvs.savannah.gnu.org>
From: Tomas Groth <tomasgroth@yahoo.dk>
Date: Mon, 30 Jul 2007 08:45:30 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/NetStreamGst.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 08:45:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Tomas Groth <tgc>	07/07/30 08:45:30

Modified files:
	.              : ChangeLog 
	server/asobj   : NetStreamGst.cpp 

Log message:
		* server/asobj/NetStreamGst.cpp: Fix plugin loading
		  for non-modern Gstreamer versions.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3866&r2=1.3867
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamGst.cpp?cvsroot=gnash&r1=1.58&r2=1.59

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3866
retrieving revision 1.3867
diff -u -b -r1.3866 -r1.3867
--- ChangeLog	30 Jul 2007 05:23:17 -0000	1.3866
+++ ChangeLog	30 Jul 2007 08:45:29 -0000	1.3867
@@ -1,3 +1,8 @@
+2007-07-30 Alexander Sack <asac@jwsdot.com>
+
+	* server/asobj/NetStreamGst.cpp: Fix plugin loading
+	  for non-modern Gstreamer versions.
+
 2007-07-30 Markus Gothe <nietzsche@lysator.liu.se>
 
 	* gui/Info.plist.in: Tidy up the version info.

Index: server/asobj/NetStreamGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamGst.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- server/asobj/NetStreamGst.cpp	26 Jul 2007 14:40:42 -0000	1.58
+++ server/asobj/NetStreamGst.cpp	30 Jul 2007 08:45:30 -0000	1.59
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetStreamGst.cpp,v 1.58 2007/07/26 14:40:42 tgc Exp $ */
+/* $Id: NetStreamGst.cpp,v 1.59 2007/07/30 08:45:30 tgc Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -759,6 +759,7 @@
 	g_list_free(missing_plugin_details);
 	return false;
 #else // GST_HAS_MODERN_PBUTILS
+	video = doVideo;
 	return true;
 #endif // GST_HAS_MODERN_PBUTILS
 }



From MAILER-DAEMON Mon Jul 30 05:06:03 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFRCU-0008Jn-Nq
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 05:06:02 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFRCQ-0008Jh-7X
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:05:58 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFRCN-0008JT-TD
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:05:56 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFRCN-0008JP-Eo
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:05:55 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <tomasgroth@yahoo.dk>) id 1IFRCM-0004FT-UB
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 05:05:55 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <tomasgroth@yahoo.dk>) id 1IFRCK-0002jv-7L
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 09:05:52 +0000
Received: from tgc by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <tgc@savannah.gnu.org>) id 1IFRCK-0002js-1O
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 09:05:52 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFRCK-0002js-1O@cvs.savannah.gnu.org>
From: Tomas Groth <tomasgroth@yahoo.dk>
Date: Mon, 30 Jul 2007 09:05:52 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/sound_handler_gst.cpp s...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 09:05:59 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Tomas Groth <tgc>	07/07/30 09:05:51

Modified files:
	.              : ChangeLog 
	backend        : sound_handler_gst.cpp 
	server/asobj   : SoundGst.cpp 

Log message:
		* backend/sound_handler_gst.cpp: Use the audioconverter element
		  to get the current position, to avoid delay.
		* server/asobj/SoundGst.cpp: Fixed some faulty conversions to
		  milliseconds.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3867&r2=1.3868
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/sound_handler_gst.cpp?cvsroot=gnash&r1=1.55&r2=1.56
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundGst.cpp?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3867
retrieving revision 1.3868
diff -u -b -r1.3867 -r1.3868
--- ChangeLog	30 Jul 2007 08:45:29 -0000	1.3867
+++ ChangeLog	30 Jul 2007 09:05:51 -0000	1.3868
@@ -1,3 +1,10 @@
+2007-07-30 Sergio Costas
+
+	* backend/sound_handler_gst.cpp: Use the audioconverter element
+	  to get the current position, to avoid delay.
+	* server/asobj/SoundGst.cpp: Fixed some faulty conversions to
+	  milliseconds.
+
 2007-07-30 Alexander Sack <asac@jwsdot.com>
 
 	* server/asobj/NetStreamGst.cpp: Fix plugin loading

Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- backend/sound_handler_gst.cpp	27 Jul 2007 15:09:41 -0000	1.55
+++ backend/sound_handler_gst.cpp	30 Jul 2007 09:05:51 -0000	1.56
@@ -20,7 +20,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.55 2007/07/27 15:09:41 tgc Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.56 2007/07/30 09:05:51 tgc Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -641,19 +641,19 @@
 	sound_data* sounddata = m_sound_data[sound_handle];
 
 	// return the position of the last element added
-	GstElement *pipeline,*audiosink;
+	GstElement *pipeline,*audioconvert;
 	GstStateChangeReturn ret;
 	GstState current, pending;
 	int64_t pos;
 	GstFormat fmt = GST_FORMAT_TIME;
 	
-	pipeline=sounddata->m_gst_elements[sounddata->m_gst_elements.size()-1]->pipeline;
+	pipeline = sounddata->m_gst_elements[sounddata->m_gst_elements.size()-1]->pipeline;
 	
 	ret = gst_element_get_state (GST_ELEMENT (pipeline), &current, &pending, 0);
 
 	if (current != GST_STATE_NULL) {
-		audiosink=sounddata->m_gst_elements[sounddata->m_gst_elements.size()-1]->audiosink;
-		if (gst_element_query_position (pipeline, &fmt, &pos)) {
+		audioconvert = sounddata->m_gst_elements[sounddata->m_gst_elements.size()-1]->audioconvert;
+		if (gst_element_query_position (audioconvert, &fmt, &pos)) {
 			return static_cast<unsigned int>(pos / GST_MSECOND);
 		} else {
 			return 0;

Index: server/asobj/SoundGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundGst.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- server/asobj/SoundGst.cpp	27 Jul 2007 15:09:41 -0000	1.10
+++ server/asobj/SoundGst.cpp	30 Jul 2007 09:05:51 -0000	1.11
@@ -315,7 +315,7 @@
 	int64_t len;
 
 	if (pipeline && gst_element_query_duration (pipeline, &fmt, &len)) {
-		return static_cast<unsigned int>(len*1000);
+		return static_cast<unsigned int>(len / GST_MSECOND);
 	} else {
 		return 0;
 	}
@@ -346,7 +346,7 @@
 	ret = gst_element_get_state (GST_ELEMENT (pipeline), &current, &pending, 0);
 
 	if (current != GST_STATE_NULL && gst_element_query_position (pipeline, &fmt, &pos)) {
-		return static_cast<unsigned int>(pos * 1000);
+		return static_cast<unsigned int>(len / GST_MSECOND);
 	} else {
 		return 0;
 	}



From MAILER-DAEMON Mon Jul 30 10:27:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFWDJ-0001Jq-EY
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 10:27:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFWDI-0001JT-10
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 10:27:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFWDG-0001J0-MO
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 10:27:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFWDG-0001Iu-Dx
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 10:27:10 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFWDG-0006Bq-2u
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 10:27:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFWDE-0002ch-Ny
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 14:27:08 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFWDE-0002cd-Hf
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 14:27:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFWDE-0002cd-Hf@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 14:27:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 14:27:12 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 14:27:08

Modified files:
	gui            : Makefile.am 

Log message:
	Fix for 'make distcheck'

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.94&r2=1.95

Patches:
Index: Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -b -r1.94 -r1.95
--- Makefile.am	30 Jul 2007 06:12:31 -0000	1.94
+++ Makefile.am	30 Jul 2007 14:27:08 -0000	1.95
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.94 2007/07/30 06:12:31 nihilus Exp $
+# $Id: Makefile.am,v 1.95 2007/07/30 14:27:08 nihilus Exp $
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -458,6 +458,7 @@
 bin_PROGRAMS = gnash
 if BUILD_AQUA_GUI
 bin_PROGRAMS += bundle
+bundle_SOURCES = $(NULL)
 endif
 
 gnash_SOURCES = gnash.cpp



From MAILER-DAEMON Mon Jul 30 11:14:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFWxK-0000jT-Ha
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 11:14:46 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFWxJ-0000gu-6e
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:14:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFWxI-0000gI-Tc
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:14:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFWxI-0000g7-MM
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:14:44 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFWxI-0001fR-Dc
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:14:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFWxH-0005no-Ak
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:14:43 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFWxH-0005ng-1b
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:14:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFWxH-0005ng-1b@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 15:14:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Info.plist.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 15:14:45 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 15:14:42

Modified files:
	.              : ChangeLog 
	gui            : Info.plist.in 

Log message:
	Fixed icon

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3868&r2=1.3869
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist.in?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3868
retrieving revision 1.3869
diff -u -b -r1.3868 -r1.3869
--- ChangeLog	30 Jul 2007 09:05:51 -0000	1.3868
+++ ChangeLog	30 Jul 2007 15:14:42 -0000	1.3869
@@ -12,7 +12,7 @@
 
 2007-07-30 Markus Gothe <nietzsche@lysator.liu.se>
 
-	* gui/Info.plist.in: Tidy up the version info.
+	* gui/Info.plist.in: Tidy up the version info, fixed icon.
 	* gui/Makefile.am: Build OS X bundle if GUI == AQUA.
 
 2007-07-29  Rob Savoye  <rob@deal.welcomehome.org>

Index: gui/Info.plist.in
===================================================================
RCS file: /sources/gnash/gnash/gui/Info.plist.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- gui/Info.plist.in	30 Jul 2007 05:03:41 -0000	1.3
+++ gui/Info.plist.in	30 Jul 2007 15:14:42 -0000	1.4
@@ -31,10 +31,8 @@
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>1.0</string>
+	<string>@VERSION@</string>
 	<key>SUFeedURL</key>
 	<string>http://www.gnashdev.org/update.xml</string>
-	<key>CSResourcesFileMapped</key>
-	<true/>
 </dict>
 </plist>



From MAILER-DAEMON Mon Jul 30 11:17:22 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFWzq-0005fi-3l
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 11:17:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFWzo-0005fJ-Vw
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:17:21 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFWzo-0005f6-8q
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:17:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFWzo-0005f3-4k
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:17:20 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFWzn-0002P7-Tw
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:17:20 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFWzn-0006Dz-6v
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:17:19 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFWzm-0006Dw-KQ
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:17:18 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFWzm-0006Dw-KQ@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 15:17:18 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Info.plist.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 15:17:21 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 15:17:18

Modified files:
	gui            : Info.plist.in 

Log message:
	Keep CFBundle=1.0 to make OS X happy :)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist.in?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: Info.plist.in
===================================================================
RCS file: /sources/gnash/gnash/gui/Info.plist.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- Info.plist.in	30 Jul 2007 15:14:42 -0000	1.4
+++ Info.plist.in	30 Jul 2007 15:17:18 -0000	1.5
@@ -31,7 +31,7 @@
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>@VERSION@</string>
+	<string>1.0</string>
 	<key>SUFeedURL</key>
 	<string>http://www.gnashdev.org/update.xml</string>
 </dict>



From MAILER-DAEMON Mon Jul 30 11:24:29 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFX6j-0002yw-9D
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 11:24:29 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFX6h-0002xm-9M
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:24:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFX6g-0002xY-EJ
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:24:26 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFX6g-0002xR-9M
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:24:26 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFX6g-0004R2-22
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:24:26 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFX6f-0006OD-0l
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:24:25 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFX6e-0006OA-SM
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:24:24 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFX6e-0006OA-SM@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 15:24:24 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Info.plist.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 15:24:28 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 15:24:24

Modified files:
	gui            : Info.plist.in 

Log message:
	Clean ups

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist.in?cvsroot=gnash&r1=1.5&r2=1.6

Patches:
Index: Info.plist.in
===================================================================
RCS file: /sources/gnash/gnash/gui/Info.plist.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- Info.plist.in	30 Jul 2007 15:17:18 -0000	1.5
+++ Info.plist.in	30 Jul 2007 15:24:24 -0000	1.6
@@ -7,7 +7,7 @@
 	<key>CFBundleExecutable</key>
 	<string>gnash</string>
 	<key>CFBundleGetInfoString</key>
-	<string>@VERSION@, Copyright (C) 2005-2007 Free Software Foundation, Inc.</string>
+	<string>Copyright (C) 2005-2007 Free Software Foundation, Inc.</string>
 	<key>CFBundleTypeExtensions</key>
 	<array>
 	<string>swf</string>
@@ -31,7 +31,7 @@
 	<key>CFBundleSignature</key>
 	<string>????</string>
 	<key>CFBundleVersion</key>
-	<string>1.0</string>
+	<string>@VERSION@</string>
 	<key>SUFeedURL</key>
 	<string>http://www.gnashdev.org/update.xml</string>
 </dict>



From MAILER-DAEMON Mon Jul 30 11:27:46 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFX9t-0006nr-Th
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 11:27:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFX9s-0006kj-C3
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:27:44 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFX9r-0006hr-6e
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:27:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFX9q-0006h9-VX
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:27:43 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFX9q-0005aM-Ko
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 11:27:42 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFX9p-0006S9-S8
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:27:41 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFX9p-0006S6-Nm
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:27:41 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFX9p-0006S6-Nm@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 15:27:41 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui Info.plist.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 15:27:44 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 15:27:41

Modified files:
	gui            : Info.plist.in 

Log message:
	Indentation conforming to OS X std.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Info.plist.in?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: Info.plist.in
===================================================================
RCS file: /sources/gnash/gnash/gui/Info.plist.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Info.plist.in	30 Jul 2007 15:24:24 -0000	1.6
+++ Info.plist.in	30 Jul 2007 15:27:41 -0000	1.7
@@ -8,6 +8,16 @@
 	<string>gnash</string>
 	<key>CFBundleGetInfoString</key>
 	<string>Copyright (C) 2005-2007 Free Software Foundation, Inc.</string>
+	<key>CFBundleIconFile</key>
+	<string>GnashG.icns</string>
+	<key>CFBundleIdentifier</key>
+	<string>com.gnash.aqua</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
 	<key>CFBundleTypeExtensions</key>
 	<array>
 	<string>swf</string>
@@ -20,16 +30,6 @@
 	<string>swf</string>
 	<string>SWF</string>
 	</array>
-	<key>CFBundleIconFile</key>
-	<string>GnashG.icns</string>
-	<key>CFBundleIdentifier</key>
-	<string>com.gnash.aqua</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
 	<key>CFBundleVersion</key>
 	<string>@VERSION@</string>
 	<key>SUFeedURL</key>



From MAILER-DAEMON Mon Jul 30 13:07:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFYi3-000317-Bj
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 13:07:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFYi1-0002yP-Q6
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 13:07:05 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFYhz-0002vL-Pw
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 13:07:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFYhz-0002v9-MY
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 13:07:03 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFYhz-0006yH-AZ
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 13:07:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFYhy-0003xk-2C
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 17:07:02 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFYhx-0003xU-Qv
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 17:07:01 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFYhx-0003xU-Qv@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 17:07:01 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 17:07:06 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 17:07:01

Modified files:
	.              : ChangeLog 
	gui            : aqua.cpp 

Log message:
	Implemented OS-version checking and setCursor.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3869&r2=1.3870
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.24&r2=1.25

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3869
retrieving revision 1.3870
diff -u -b -r1.3869 -r1.3870
--- ChangeLog	30 Jul 2007 15:14:42 -0000	1.3869
+++ ChangeLog	30 Jul 2007 17:07:01 -0000	1.3870
@@ -14,6 +14,7 @@
 
 	* gui/Info.plist.in: Tidy up the version info, fixed icon.
 	* gui/Makefile.am: Build OS X bundle if GUI == AQUA.
+	* gui/aqua.cpp: Implemented OS-version checking and setCursor.
 
 2007-07-29  Rob Savoye  <rob@deal.welcomehome.org>
 

Index: gui/aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- gui/aqua.cpp	26 Jul 2007 07:27:29 -0000	1.24
+++ gui/aqua.cpp	30 Jul 2007 17:07:01 -0000	1.25
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.24 2007/07/26 07:27:29 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.25 2007/07/30 17:07:01 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -95,8 +95,25 @@
 bool AquaGui::init(int argc, char ***argv) /* Self-explainatory */
 {
   
+	OSErr err;
+	long response;
+	Str255 text = " OS X version lower than 10.4 is not supported!", tmp = "";
+  
 	GNASH_REPORT_FUNCTION;
+	
+	/* Version check */
+	err = Gestalt(gestaltSystemVersion, &response);
+	Boolean ok = ((err == noErr) && (response >= 0x00001040));
+	
+   	if (!ok)
+      {
+      StandardAlert(kAlertStopAlert, text, tmp, NULL, NULL);
+      ExitToShell();
+      }
+      	
+	/* Initialize the cursor */
 	InitCursor();
+		
 #if 0                    
   	_glue.init(argc, argv);
 
@@ -119,18 +136,17 @@
 void AquaGui::setCursor(gnash_cursor_type newcursor)
 {
 	  GNASH_REPORT_FUNCTION;
-#if 0	  
+
 	  switch(newcursor) {
 	  	case gnash::CURSOR_HAND:	  		
-			setCursor();
+				SetThemeCursor(kThemePointingHandCursor);
         	break;
       	case gnash::CURSOR_INPUT:
-      		setCursor()
+      			SetThemeCursor(kThemeCrossCursor);
         	break;
       	default:
-      	setCursor();
+      	        SetThemeCursor(kThemeArrowCursor);
         }
-#endif        
 }
 
 
@@ -173,14 +189,16 @@
 
 bool AquaGui::createMenu()
 { 	
-	MenuRef	specialmenuRef;
-
 	GNASH_REPORT_FUNCTION;
+#if 0	
+	/* Enable 'About' */
+	EnableMenuCommand(NULL, kHICommandAbout);	   
+	/* Enable 'Prefereces...' */
+	EnableMenuCommand(NULL, kHICommandPreferences);
+#endif
 	
-	CreateNewMenu(202, 0, &specialmenuRef); // 202 is an arbitrary ID
-	SetMenuTitleWithCFString(specialmenuRef, CFSTR("Special"));	
-	InsertMenu(specialmenuRef, 0);
 	
+	//HIAboutBox(NULL);	
 	return true;
 }
 



From MAILER-DAEMON Mon Jul 30 13:22:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFYwZ-0000Ka-9G
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 13:22:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFYwY-0000KT-7T
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 13:22:06 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFYwW-0000JZ-27
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 13:22:04 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFYwV-0000JB-RU
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 13:22:03 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <markus@unixrus.se>) id 1IFYwV-0002Wv-GT
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 13:22:03 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <markus@unixrus.se>) id 1IFYwU-0005e9-7S
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 17:22:02 +0000
Received: from nihilus by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <nihilus@savannah.gnu.org>) id 1IFYwU-0005e6-1g
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 17:22:02 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFYwU-0005e6-1g@cvs.savannah.gnu.org>
From: Markus Gothe <markus@unixrus.se>
Date: Mon, 30 Jul 2007 17:22:02 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/aqua.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 17:22:06 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Markus Gothe <nihilus>	07/07/30 17:22:01

Modified files:
	.              : ChangeLog 
	gui            : aqua.cpp 

Log message:
	Added 'About' and 'Preferences...' menus.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3870&r2=1.3871
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/aqua.cpp?cvsroot=gnash&r1=1.25&r2=1.26

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3870
retrieving revision 1.3871
diff -u -b -r1.3870 -r1.3871
--- ChangeLog	30 Jul 2007 17:07:01 -0000	1.3870
+++ ChangeLog	30 Jul 2007 17:22:01 -0000	1.3871
@@ -15,6 +15,7 @@
 	* gui/Info.plist.in: Tidy up the version info, fixed icon.
 	* gui/Makefile.am: Build OS X bundle if GUI == AQUA.
 	* gui/aqua.cpp: Implemented OS-version checking and setCursor.
+	  Added 'About' and 'Preferences...' menus.
 
 2007-07-29  Rob Savoye  <rob@deal.welcomehome.org>
 

Index: gui/aqua.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/aqua.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- gui/aqua.cpp	30 Jul 2007 17:07:01 -0000	1.25
+++ gui/aqua.cpp	30 Jul 2007 17:22:01 -0000	1.26
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: aqua.cpp,v 1.25 2007/07/30 17:07:01 nihilus Exp $ */
+/* $Id: aqua.cpp,v 1.26 2007/07/30 17:22:01 nihilus Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -189,14 +189,18 @@
 
 bool AquaGui::createMenu()
 { 	  
+	MenuRef rApplicationMenu;
+	MenuItemIndex outIndex[1];	  
+	
 	GNASH_REPORT_FUNCTION;
-#if 0	
-	/* Enable 'About' */
-	EnableMenuCommand(NULL, kHICommandAbout);	   
+	
 	/* Enable 'Prefereces...' */
 	EnableMenuCommand(NULL, kHICommandPreferences);
-#endif
 	
+	GetIndMenuItemWithCommandID(NULL, kHICommandPreferences, 1, &rApplicationMenu, outIndex);
+
+	/* Enable 'About' */
+	InsertMenuItemTextWithCFString(rApplicationMenu, CFSTR("About gnash"), (short) 0, 0, kHICommandAbout);
 
 	//HIAboutBox(NULL);	
 	return true;



From MAILER-DAEMON Mon Jul 30 14:38:21 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFa8L-0001Zv-LL
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 14:38:21 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFa8J-0001Zl-G3
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 14:38:19 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFa8I-0001ZH-6s
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 14:38:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFa8H-0001ZE-UU
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 14:38:17 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFa8H-0007Hq-Hi
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 14:38:17 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFa8G-00037K-CG
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:38:16 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFa8F-00037H-W9
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:38:16 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFa8F-00037H-W9@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 30 Jul 2007 18:38:15 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/asobj/SoundGst.cpp serve...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 18:38:19 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/30 18:38:15

Modified files:
	.              : ChangeLog 
	server/asobj   : SoundGst.cpp 
	server/parser  : edit_text_character_def.h 
	testsuite/actionscript.all: TextField.as 

Log message:
	        * server/asobj/SoundGst.cpp (getPosition): fix typo (len=>pos).
	        * server/parser/edit_text_character_def.h: use device fonts
	          by default (matches the comment near it, was just a typo).
	          Fixes dynamic textfields using device fonts.
	        * testsuite/actionscript.all/TextField.as: expect one failure
	          less.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3871&r2=1.3872
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/SoundGst.cpp?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/edit_text_character_def.h?cvsroot=gnash&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3871
retrieving revision 1.3872
diff -u -b -r1.3871 -r1.3872
--- ChangeLog	30 Jul 2007 17:22:01 -0000	1.3871
+++ ChangeLog	30 Jul 2007 18:38:14 -0000	1.3872
@@ -1,3 +1,13 @@
+2007-07-29 Sandro Santilli <strk@keybit.net>
+
+
+	* server/asobj/SoundGst.cpp (getPosition): fix typo (len=>pos).
+	* server/parser/edit_text_character_def.h: use device fonts
+	  by default (matches the comment near it, was just a typo).
+	  Fixes dynamic textfields using device fonts.
+	* testsuite/actionscript.all/TextField.as: expect one failure
+	  less.
+
 2007-07-30 Sergio Costas
 
 	* backend/sound_handler_gst.cpp: Use the audioconverter element

Index: server/asobj/SoundGst.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/SoundGst.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- server/asobj/SoundGst.cpp	30 Jul 2007 09:05:51 -0000	1.11
+++ server/asobj/SoundGst.cpp	30 Jul 2007 18:38:15 -0000	1.12
@@ -346,7 +346,7 @@
 	ret = gst_element_get_state (GST_ELEMENT (pipeline), &current, &pending, 0);
 
 	if (current != GST_STATE_NULL && gst_element_query_position (pipeline, &fmt, &pos)) {
-		return static_cast<unsigned int>(len / GST_MSECOND);
+		return static_cast<unsigned int>(pos / GST_MSECOND);
 	} else {
 		return 0;
 	}

Index: server/parser/edit_text_character_def.h
===================================================================
RCS file: /sources/gnash/gnash/server/parser/edit_text_character_def.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- server/parser/edit_text_character_def.h	24 Jul 2007 17:41:34 -0000	1.18
+++ server/parser/edit_text_character_def.h	30 Jul 2007 18:38:15 -0000	1.19
@@ -62,9 +62,9 @@
 		m_no_select(false),
 		m_border(false),
 		m_html(false),
-		m_use_outlines(true), // For an SWF-defined textfield we'll read
+		m_use_outlines(false), // For an SWF-defined textfield we'll read
 		                      // this from the tag. Dynamic textfields should
-		                      // use device fonts by default.
+		                       // use device fonts by default (so not use outline ones)
 		m_font_id(-1),
 		m_font(NULL),
 		m_text_height(1), // TODO: initialize to a meaningful value (see sprite_instance::add_textfield)

Index: testsuite/actionscript.all/TextField.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- testsuite/actionscript.all/TextField.as	26 Jul 2007 03:41:19 -0000	1.12
+++ testsuite/actionscript.all/TextField.as	30 Jul 2007 18:38:15 -0000	1.13
@@ -19,7 +19,7 @@
 // compile this test case with Ming makeswf, and then
 // execute it like this gnash -1 -r 0 -v out.swf
 
-rcsid="$Id: TextField.as,v 1.12 2007/07/26 03:41:19 strk Exp $";
+rcsid="$Id: TextField.as,v 1.13 2007/07/30 18:38:15 strk Exp $";
 
 #include "check.as"
 
@@ -178,7 +178,7 @@
 
 check_equals(typeof(tf.embedFonts), 'boolean');
 check(!tf.hasOwnProperty('embedFonts'));
-xcheck_equals(tf.embedFonts, false);
+check_equals(tf.embedFonts, false);
 tf.embedFonts = true;
 check_equals(tf.embedFonts, true);
 tf.embedFonts = new Number(0); // will be converted to bool (true)



From MAILER-DAEMON Mon Jul 30 15:55:12 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFbKi-00039Z-2J
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 15:55:12 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFbKg-00039B-56
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:55:10 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFbKf-00038t-GC
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:55:09 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFbKf-00038q-BN
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:55:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFbKe-0007lO-W6
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 15:55:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFbKd-0000C4-Pr
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 19:55:07 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFbKd-0000C1-Lc
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 19:55:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFbKd-0000C1-Lc@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 30 Jul 2007 19:55:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 19:55:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/30 19:55:07

Modified files:
	.              : ChangeLog configure.ac 

Log message:
	        * configure.ac: Change --enable-renderer to accept a *single* renderer
	          as the gui code / build scripts are not ready to handle multiple ones
	          currently (temp hack for 0.8.1). By default, renderer is AGG now.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3872&r2=1.3873
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.383&r2=1.384

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3872
retrieving revision 1.3873
diff -u -b -r1.3872 -r1.3873
--- ChangeLog	30 Jul 2007 18:38:14 -0000	1.3872
+++ ChangeLog	30 Jul 2007 19:55:07 -0000	1.3873
@@ -1,5 +1,10 @@
 2007-07-29 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: Change --enable-renderer to accept a *single* renderer
+	  as the gui code / build scripts are not ready to handle multiple ones
+	  currently (temp hack for 0.8.1). By default, renderer is AGG now.
+
+2007-07-29 Sandro Santilli <strk@keybit.net>
 
 	* server/asobj/SoundGst.cpp (getPosition): fix typo (len=>pos).
 	* server/parser/edit_text_character_def.h: use device fonts

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.383
retrieving revision 1.384
diff -u -b -r1.383 -r1.384
--- configure.ac	29 Jul 2007 22:04:52 -0000	1.383
+++ configure.ac	30 Jul 2007 19:55:07 -0000	1.384
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.383 2007/07/29 22:04:52 nihilus Exp $
+dnl $Id: configure.ac,v 1.384 2007/07/30 19:55:07 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -316,13 +316,13 @@
 build_cairo=no
 AC_ARG_ENABLE(renderer,
   AC_HELP_STRING([--enable-renderer=], [Use the specified GUI toolkit (default=ogl,agg)]),
-  if test -n ${enableval}; then
-    add_renderer="${enableval}"
-    enableval=`echo ${enableval} | tr '\054' ' ' `
-  fi
-  while test -n "${enableval}" ; do
-    val=`echo ${enableval} | cut -d ' ' -f 1`
-    [case "${val}" in
+dnl  if test -n ${enableval}; then
+dnl    add_renderer="${enableval}"
+dnl    enableval=`echo ${enableval} | tr '\054' ' ' `
+dnl  fi
+dnl  while test -n "${enableval}" ; do
+dnl    val=`echo ${enableval} | cut -d ' ' -f 1`
+    [case "${enableval}" in
       ogl|OGL|gl|GL|opengl|OPENGL|OpenGL)
         build_ogl=yes
 	add_renderer="ogl"
@@ -335,27 +335,29 @@
         build_cairo=yes
 	add_renderer="cairo"
         ;;
-      all|ALL|All)
-        build_ogl=yes
-        build_agg=yes
-        build_cairo=yes
-	add_renderer="ogl,agg,cairo"
-        ;;
+dnl       all|ALL|All)
+dnl         build_ogl=yes
+dnl         build_agg=yes
+dnl         build_cairo=yes
+dnl 	add_renderer="ogl,agg,cairo"
+dnl         ;;
       *) AC_MSG_ERROR([invalid renderer ${enableval} given (accept: ogl,agg,cairo)])
          ;;
-      esac]
-    enableval=`echo ${enableval} | cut -d ' ' -f 2-6`
-    if test x$val = x$enableval; then
-      break;
-    fi
-  done
+      esac],
+	build_agg=yes
+	add_renderer=agg
+dnl    enableval=`echo ${enableval} | cut -d ' ' -f 2-6`
+dnl    if test x$val = x$enableval; then
+dnl      break;
+dnl    fi
+dnl  done
 )
 
-if test x$add_renderer = x; then
-   build_ogl=yes
-   build_agg=yes
-   add_renderer="ogl,agg"
-fi
+dnl if test x$add_renderer = x; then
+dnl    build_ogl=yes
+dnl    build_agg=yes
+dnl    add_renderer="ogl,agg"
+dnl fi
 
 if test x$build_ogl = xyes; then
 dnl   if test x$build_fb = xyes -o x$build_fltk = xyes; then



From MAILER-DAEMON Mon Jul 30 17:26:54 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFclS-0005dQ-PJ
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 17:26:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFclQ-0005d4-SC
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 17:26:52 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFclN-0005cP-VB
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 17:26:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFclN-0005cM-RS
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 17:26:49 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFclL-0002R8-GQ
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 17:26:48 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFclE-0007PG-9l
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 21:26:40 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFclE-0007PD-4X
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 21:26:40 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFclE-0007PD-4X@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 30 Jul 2007 21:26:40 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler_tri.cpp ...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 21:26:53 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/30 21:26:40

Modified files:
	.              : ChangeLog 
	backend        : render_handler_tri.cpp 
	gui            : gtk.cpp gtk_glue.h gtksup.h 

Log message:
	        * backend/render_handler_tri.cpp: implemented world_to_pixel and
	          pixel_to_world (to check, UdoG, can you ?)
	        * gui/gtksup.h: remove any use of RENDERER_XXY defines, use
	          the GtkGlue interface only (keep by auto_ptr)
	        * gui/gtk_glue.h: header guard (no code was including this :/)
	        * gui/gtk.cpp: updated use of the glue, remove as much as possible
	          uses of RENDERER_XXY, the only left are for glue initialization
	          (headers and constructions) and for the call to prepDrawingArea
	          which needs to be ordered differently for OGL and for other
	          renderers.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3873&r2=1.3874
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_tri.cpp?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&r1=1.100&r2=1.101
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue.h?cvsroot=gnash&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtksup.h?cvsroot=gnash&r1=1.46&r2=1.47

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3873
retrieving revision 1.3874
diff -u -b -r1.3873 -r1.3874
--- ChangeLog	30 Jul 2007 19:55:07 -0000	1.3873
+++ ChangeLog	30 Jul 2007 21:26:39 -0000	1.3874
@@ -1,5 +1,18 @@
 2007-07-29 Sandro Santilli <strk@keybit.net>
 
+	* backend/render_handler_tri.cpp: implemented world_to_pixel and
+	  pixel_to_world (to check, UdoG, can you ?)
+	* gui/gtksup.h: remove any use of RENDERER_XXY defines, use 
+	  the GtkGlue interface only (keep by auto_ptr)
+	* gui/gtk_glue.h: header guard (no code was including this :/)
+	* gui/gtk.cpp: updated use of the glue, remove as much as possible
+	  uses of RENDERER_XXY, the only left are for glue initialization
+	  (headers and constructions) and for the call to prepDrawingArea
+	  which needs to be ordered differently for OGL and for other
+	  renderers.
+
+2007-07-29 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: Change --enable-renderer to accept a *single* renderer
 	  as the gui code / build scripts are not ready to handle multiple ones
 	  currently (temp hack for 0.8.1). By default, renderer is AGG now.

Index: backend/render_handler_tri.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_tri.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- backend/render_handler_tri.cpp	18 Jul 2007 10:03:04 -0000	1.17
+++ backend/render_handler_tri.cpp	30 Jul 2007 21:26:39 -0000	1.18
@@ -18,7 +18,7 @@
 // 
 //
 
-/* $Id: render_handler_tri.cpp,v 1.17 2007/07/18 10:03:04 udog Exp $ */
+/* $Id: render_handler_tri.cpp,v 1.18 2007/07/30 21:26:39 strk Exp $ */
 
 #include "render_handler_tri.h"
 
@@ -30,6 +30,8 @@
 #error missing includes!
 #endif
 
+#include "log.h"
+
 namespace gnash {
 
 // helper function for tri_cache_manager
@@ -341,15 +343,19 @@
  
 
 geometry::Range2d<int>
-triangulating_render_handler::world_to_pixel(const rect& /*worldbounds*/)
+triangulating_render_handler::world_to_pixel(const rect& worldbounds)
 {
-  assert(0); // not implemented (and currently not required for tri. renderers)
+  // TODO: verify this is correct
+  geometry::Range2d<int> ret(worldbounds.getRange());
+  ret.scale(20); // twips to pixels
+  return ret;
 }
 
 point 
-triangulating_render_handler::pixel_to_world(int /*x*/, int /*y*/)
+triangulating_render_handler::pixel_to_world(int x, int y)
 {
-  assert(0); // not implemented (and currently not required for tri. renderers)
+  // TODO: verify this is correct
+  return point(PIXELS_TO_TWIPS(x), PIXELS_TO_TWIPS(y));
 }
 
 tri_cache_manager::~tri_cache_manager()

Index: gui/gtk.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk.cpp,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -b -r1.100 -r1.101
--- gui/gtk.cpp	18 Jul 2007 10:03:04 -0000	1.100
+++ gui/gtk.cpp	30 Jul 2007 21:26:39 -0000	1.101
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: gtk.cpp,v 1.100 2007/07/18 10:03:04 udog Exp $ */
+/* $Id: gtk.cpp,v 1.101 2007/07/30 21:26:39 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -40,6 +40,17 @@
 #include <gdk/gdkkeysyms.h>
 #include <string>
 
+#ifdef RENDERER_OPENGL
+#include "gtk_glue_gtkglext.h"
+#endif
+
+#ifdef RENDERER_CAIRO
+#include "gtk_glue_cairo.h"
+#endif
+
+#ifdef RENDERER_AGG
+#include "gtk_glue_agg.h"
+#endif
 
 using namespace std;
 
@@ -70,7 +81,15 @@
 
     gtk_init (&argc, argv);
 
-    glue.init (argc, argv);
+    // TODO: don't rely on a macro to select renderer
+#ifdef RENDERER_CAIRO
+    _glue.reset(new GtkCairoGlue);
+#elif defined(RENDERER_OPENGL)
+    _glue.reset(new GtkGlExtGlue);
+#elif defined(RENDERER_AGG)
+    _glue.reset(new GtkAggGlue);
+#endif
+    _glue->init (argc, argv);
 
     add_pixmap_directory (PKGDATADIR);
 
@@ -94,9 +113,10 @@
 
     createMenu();
 #ifdef RENDERER_OPENGL
-    // OpenGL glue needs to prepare the drawing area for OpenGL rendering before
+    // OpenGL _glue needs to prepare the drawing area for OpenGL rendering before
     // widgets are realized and before the configure event is fired.
-    glue.prepDrawingArea(_drawing_area);
+    // TODO: find a way to make '_glue' use independent from actual renderer in use
+    _glue->prepDrawingArea(_drawing_area);
 #endif
     setupEvents();
 
@@ -121,10 +141,11 @@
 
 #if defined(RENDERER_CAIRO) || defined(RENDERER_AGG)
     // cairo needs the _drawing_area.window to prepare it ..
-    glue.prepDrawingArea(_drawing_area);
+    // TODO: find a way to make '_glue' use independent from actual renderer in use
+    _glue->prepDrawingArea(_drawing_area);
 #endif
 
-    _renderer = glue.createRenderHandler();
+    _renderer = _glue->createRenderHandler();
     if ( ! _renderer ) return false;
     set_render_handler(_renderer);
 
@@ -241,7 +262,7 @@
 	_height = height;
 
 	_validbounds.setTo(0, 0, _width-1, _height-1);
-	glue.setRenderHandlerSize(_width, _height);
+	_glue->setRenderHandlerSize(_width, _height);
 
 	return true;
 }
@@ -249,7 +270,6 @@
 void
 GtkGui::renderBuffer()
 {
-#ifdef RENDERER_AGG
   if ( _drawbounds.size() == 0 ) return; // nothing to do..
 
 	for (unsigned bno=0; bno < _drawbounds.size(); bno++) {
@@ -258,13 +278,10 @@
 		
 		assert ( bounds.isFinite() );
 		
-		glue.render(bounds.getMinX(), bounds.getMinY(),
+		_glue->render(bounds.getMinX(), bounds.getMinY(),
 		  bounds.getMaxX(), bounds.getMaxY());
 	
 	}
-#else
-    glue.render();
-#endif
 }
 
 void
@@ -277,7 +294,6 @@
   // The macro PIXELS_TO_TWIPS can't be used since the renderer might do 
   // scaling.
    
-#ifdef RENDERER_AGG
 	InvalidatedRanges ranges;
 	
 	geometry::Range2d<int> exposed_pixels(xmin, ymin, xmax, ymax);
@@ -287,12 +303,11 @@
 	
 	ranges.add(exposed_twips);
 	setInvalidatedRegions(ranges);
-#endif
+
   renderBuffer();   
 
 }
 
-#ifdef RENDERER_AGG
 void
 GtkGui::setInvalidatedRegions(const InvalidatedRanges& ranges)
 {
@@ -311,7 +326,8 @@
 	
 	_drawbounds.clear();
 		
-	for (unsigned rno=0; rno<ranges.size(); rno++) {
+	for (unsigned rno=0; rno<ranges.size(); rno++)
+	{
 	
 		geometry::Range2d<int> bounds = Intersection(
 	    _renderer->world_to_pixel(ranges.getRange(rno)),
@@ -328,7 +344,6 @@
 	}
 
 }
-#endif
 
 void
 GtkGui::setTimeout(unsigned int timeout)
@@ -1079,13 +1094,7 @@
 
 	GtkGui* obj = static_cast<GtkGui*>(data);
 
-#ifdef RENDERER_CAIRO
-    GtkCairoGlue& glue = obj->glue;
-#elif defined(RENDERER_OPENGL)
-    GtkGlExtGlue& glue = obj->glue;
-#elif defined(RENDERER_AGG)
-    GtkAggGlue& glue = obj->glue;
-#endif
+    GtkGlue& glue = *(obj->_glue);
 
     glue.configure(widget, event);
     obj->resize_view(event->width, event->height);

Index: gui/gtk_glue.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- gui/gtk_glue.h	1 Jul 2007 10:54:02 -0000	1.11
+++ gui/gtk_glue.h	30 Jul 2007 21:26:39 -0000	1.12
@@ -18,6 +18,9 @@
 //
 //
 
+#ifndef __GTK_GLUE_H__
+#define __GTK_GLUE_H__
+
 #include "gnash.h"
 
 #include <gtk/gtk.h>
@@ -45,3 +48,6 @@
 };
 
 } // namespace gnash
+
+// end of __GTK_GLUE_H__
+#endif

Index: gui/gtksup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtksup.h,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- gui/gtksup.h	18 Jul 2007 11:23:21 -0000	1.46
+++ gui/gtksup.h	30 Jul 2007 21:26:39 -0000	1.47
@@ -26,25 +26,12 @@
 #endif
 
 #include "gnash.h"
-#include "tu_config.h"
+#include "tu_config.h" // for DSOEXPORT
+#include "gtk_glue.h"
 
 #include <gdk/gdkx.h>
 #include <gtk/gtk.h>
 
-#ifdef RENDERER_OPENGL
-#include <gtk/gtkgl.h>
-#include "gtk_glue_gtkglext.h"
-#elif defined(RENDERER_CAIRO)
-#include <cairo.h>
-#include "gtk_glue_cairo.h"
-#elif defined(RENDERER_AGG)
-#include "gtk_glue_agg.h"
-#endif
-
-#include <gtk/gtk.h>
-
-#include "gui.h"
-
 
 namespace gnash
 {
@@ -138,10 +125,9 @@
     
     void rerenderPixels(int xmin, int ymin, int xmax, int ymax);
     
-#ifdef RENDERER_AGG    
     void setInvalidatedRegions(const InvalidatedRanges& ranges);
+
     bool want_multiple_regions() { return true; }
-#endif    
 
     virtual void setCursor(gnash_cursor_type newcursor);
     GtkWidget *getWindow() { return _window; };
@@ -154,15 +140,7 @@
     GtkWidget   *_vbox;
     std::vector< geometry::Range2d<int> > _drawbounds;
 
-#ifdef RENDERER_CAIRO
-    cairo_t     *_cairo_handle;
-    GtkCairoGlue glue;
-#elif defined(RENDERER_OPENGL)
-    GdkGLConfig *_glconfig;
-    GtkGlExtGlue glue;
-#elif defined(RENDERER_AGG)
-    GtkAggGlue  glue;
-#endif
+    std::auto_ptr<GtkGlue>     _glue;
 
     static gnash::key::code gdk_to_gnash_key(guint key);
     static int gdk_to_gnash_modifier(int state);



From MAILER-DAEMON Mon Jul 30 18:45:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFdzn-0000CG-Ez
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 18:45:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFdzm-00008i-7y
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:45:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFdzk-00007J-4D
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:45:44 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFdzj-00007G-TW
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:45:43 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFdzj-0008Dt-Iu
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:45:43 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFdzi-0004Bp-G7
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 22:45:42 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFdzi-0004Bj-BH
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 22:45:42 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFdzi-0004Bj-BH@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 30 Jul 2007 22:45:42 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/samples/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 22:45:46 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/30 22:45:42

Modified files:
	.              : ChangeLog 
	testsuite/samples: Makefile.am 

Log message:
	        * testsuite/samples/Makefile.am: link in
	          libgnashserver.la, libgnashbase.la and
	          libgnashamf.la.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3874&r2=1.3875
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/samples/Makefile.am?cvsroot=gnash&r1=1.19&r2=1.20

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3874
retrieving revision 1.3875
diff -u -b -r1.3874 -r1.3875
--- ChangeLog	30 Jul 2007 21:26:39 -0000	1.3874
+++ ChangeLog	30 Jul 2007 22:45:41 -0000	1.3875
@@ -1,5 +1,11 @@
 2007-07-29 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/samples/Makefile.am: link in
+	  libgnashserver.la, libgnashbase.la and
+	  libgnashamf.la.
+
+2007-07-29 Sandro Santilli <strk@keybit.net>
+
 	* backend/render_handler_tri.cpp: implemented world_to_pixel and
 	  pixel_to_world (to check, UdoG, can you ?)
 	* gui/gtksup.h: remove any use of RENDERER_XXY defines, use 

Index: testsuite/samples/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/samples/Makefile.am,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- testsuite/samples/Makefile.am	1 Jul 2007 10:55:10 -0000	1.19
+++ testsuite/samples/Makefile.am	30 Jul 2007 22:45:42 -0000	1.20
@@ -35,6 +35,13 @@
 	$(BOOST_CFLAGS) \
 	$(NULL)
 
+GNASH_LIBS = \
+	$(top_builddir)/testsuite/libtestsuite.la \
+	$(top_builddir)/server/libgnashserver.la \
+	$(top_builddir)/libbase/libgnashbase.la \
+	$(top_builddir)/libamf/libgnashamf.la \
+	$(NULL)
+
 check_PROGRAMS = \
 	clip_as_button2-TestRunner \
 	subshapes-TestRunner \
@@ -49,42 +56,42 @@
 	clip_as_button2-TestRunner.cpp \
 	$(NULL)
 clip_as_button2_TestRunner_LDADD = \
-	$(top_builddir)/testsuite/libtestsuite.la \
+	$(GNASH_LIBS) \
 	$(NULL)
 clip_as_button2_TestRunner_CXXFLAGS = \
 	-DSRCDIR='"$(srcdir)"' \
 	$(NULL)
 clip_as_button2_TestRunner_DEPENDENCIES = \
 	clip_as_button2.swf \
-	$(top_builddir)/testsuite/libtestsuite.la \
+	$(GNASH_LIBS) \
 	$(NULL)
 
 subshapes_TestRunner_SOURCES = \
 	subshapes-TestRunner.cpp \
 	$(NULL)
 subshapes_TestRunner_LDADD = \
-	$(top_builddir)/testsuite/libtestsuite.la \
+	$(GNASH_LIBS) \
 	$(NULL)
 subshapes_TestRunner_CXXFLAGS = \
 	-DSRCDIR='"$(srcdir)"' \
 	$(NULL)
 subshapes_TestRunner_DEPENDENCIES = \
 	subshapes.swf \
-	$(top_builddir)/testsuite/libtestsuite.la \
+	$(GNASH_LIBS) \
 	$(NULL)
 
 gotoFrameOnKeyEvent_TestRunner_SOURCES = \
 	gotoFrameOnKeyEvent-TestRunner.cpp \
 	$(NULL)
 gotoFrameOnKeyEvent_TestRunner_LDADD = \
-	$(top_builddir)/testsuite/libtestsuite.la \
+	$(GNASH_LIBS) \
 	$(NULL)
 gotoFrameOnKeyEvent_TestRunner_CXXFLAGS = \
 	-DSRCDIR='"$(srcdir)"' \
 	$(NULL)
 gotoFrameOnKeyEvent_TestRunner_DEPENDENCIES = \
 	gotoFrameOnKeyEvent.swf \
-	$(top_builddir)/testsuite/libtestsuite.la \
+	$(GNASH_LIBS) \
 	$(NULL)
 
 GotoAndPlayTestRunner: $(srcdir)/../generic-testrunner.sh $(srcdir)/GotoAndPlayTest.swf



From MAILER-DAEMON Mon Jul 30 18:48:23 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFe2J-0000kU-Ow
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 18:48:23 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFe2I-0000kF-Os
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:48:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFe2G-0000jE-H7
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:48:21 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFe2G-0000jB-8u
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:48:20 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFe2F-00009N-VV
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 18:48:20 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFe2F-0004aS-FO
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 22:48:19 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFe2F-0004aN-CB
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 22:48:19 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFe2F-0004aN-CB@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Mon, 30 Jul 2007 22:48:19 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog libamf/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jul 2007 22:48:23 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/30 22:48:19

Modified files:
	.              : ChangeLog 
	libamf         : Makefile.am 

Log message:
	        * libamf/Makefile.am: add BOOST libs

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3875&r2=1.3876
http://cvs.savannah.gnu.org/viewcvs/gnash/libamf/Makefile.am?cvsroot=gnash&r1=1.26&r2=1.27

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3875
retrieving revision 1.3876
diff -u -b -r1.3875 -r1.3876
--- ChangeLog	30 Jul 2007 22:45:41 -0000	1.3875
+++ ChangeLog	30 Jul 2007 22:48:18 -0000	1.3876
@@ -1,5 +1,6 @@
 2007-07-29 Sandro Santilli <strk@keybit.net>
 
+	* libamf/Makefile.am: add BOOST libs
 	* testsuite/samples/Makefile.am: link in
 	  libgnashserver.la, libgnashbase.la and
 	  libgnashamf.la.

Index: libamf/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/libamf/Makefile.am,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -b -r1.26 -r1.27
--- libamf/Makefile.am	1 Jul 2007 10:54:05 -0000	1.26
+++ libamf/Makefile.am	30 Jul 2007 22:48:19 -0000	1.27
@@ -15,7 +15,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.26 2007/07/01 10:54:05 bjacques Exp $
+# $Id: Makefile.am,v 1.27 2007/07/30 22:48:19 strk Exp $
 
 AUTOMAKE_OPTIONS = 
 
@@ -32,6 +32,8 @@
 	$(BOOST_CFLAGS) \
         $(LIBXML_CFLAGS)
 
+AM_LDFLAGS = $(BOOST_LIBS)
+
 noinst_HEADERS = amfutf8.h amf.h rtmp.h protocol.h
 
 # Rebuild with GCC 4.x Mudflap support



From MAILER-DAEMON Mon Jul 30 21:18:11 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFgNH-00058S-3n
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 21:18:11 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFgNF-00058M-FJ
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 21:18:09 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFgNE-00058A-0T
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 21:18:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFgND-000587-RE
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 21:18:07 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IFgND-0007kd-FS
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 21:18:07 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IFgNB-0005fs-Ao
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 01:18:05 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IFgNA-0005fp-N2
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 01:18:04 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFgNA-0005fp-N2@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 31 Jul 2007 01:18:04 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/duplica...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 01:18:10 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/31 01:18:04

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: duplicate_movie_clip_test.c 
	                         place_object_test.c 
	                         place_object_test2.c 

Log message:
	

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3876&r2=1.3877
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_object_test.c?cvsroot=gnash&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_object_test2.c?cvsroot=gnash&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3876
retrieving revision 1.3877
diff -u -b -r1.3876 -r1.3877
--- ChangeLog	30 Jul 2007 22:48:18 -0000	1.3876
+++ ChangeLog	31 Jul 2007 01:18:03 -0000	1.3877
@@ -1,3 +1,8 @@
+2007-07-31 Zou Lunkai <zoulunkai@gmail.com>
+	
+	* testsuite/misc-ming.all/duplicate_movie_clip_test.c, place_object_test.c,
+	  place_object_test2.c: trivial comments cleanups.
+	  
 2007-07-29 Sandro Santilli <strk@keybit.net>
 
 	* libamf/Makefile.am: add BOOST libs

Index: testsuite/misc-ming.all/duplicate_movie_clip_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/duplicate_movie_clip_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/duplicate_movie_clip_test.c	1 Jul 2007 10:54:52 -0000	1.4
+++ testsuite/misc-ming.all/duplicate_movie_clip_test.c	31 Jul 2007 01:18:04 -0000	1.5
@@ -100,14 +100,14 @@
   check_equals(mo, "mc1.getDepth()", "-16374");
   /* user defined property will not be duplicated */
   check_equals(mo, "dup1.prop1", "undefined");  
-  /* user defined event will not be duplicated */
+  /* user defined event handler will not be duplicated */
   check_equals(mo, "typeof(dup1.onLoad)", "'undefined'"); 
   check_equals(mo, "dup1.getDepth()", "1");
   /* check user defined onLoad */
   check_equals(mo, "typeof(mc2.onLoad)", "'function'");
   /* onClipEvent does not define a function */
   check_equals(mo, "typeof(mc2.onEnterFrame)", "'undefined'");
-  /* user defined event will not be duplicated */
+  /* user defined event handler will not be duplicated */
   check_equals(mo, "typeof(dup2.onLoad)", "'undefined'"); 
   check_equals(mo, "_root.x1", "2");
   check_equals(mo, "_root.x2", "2");

Index: testsuite/misc-ming.all/place_object_test.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_object_test.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/place_object_test.c	1 Jul 2007 10:55:00 -0000	1.4
+++ testsuite/misc-ming.all/place_object_test.c	31 Jul 2007 01:18:04 -0000	1.5
@@ -21,9 +21,10 @@
  *
  * Test for tag PlaceObject2 
  * 
- * To see what happen if places a character at the same depth twice.
+ * To see what happens if placing two shapes at the same depths.
  *
- * Normally, you will see the red square.
+ * Obeserved behaviour:
+ *    *both* shapes get rendered!
  *
  * run as ./place_object_test
  */

Index: testsuite/misc-ming.all/place_object_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_object_test2.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- testsuite/misc-ming.all/place_object_test2.c	1 Jul 2007 10:55:00 -0000	1.3
+++ testsuite/misc-ming.all/place_object_test2.c	31 Jul 2007 01:18:04 -0000	1.4
@@ -19,7 +19,8 @@
 /*
  *
  * observed behaviour(SWF6,7,8):
- *   if the given depth is occupied, PlaceObjec2(PLACE) tag won't replace the orginal one.
+ *   if the given depth is occupied by a sprite, PlaceObjec2(PLACE) tag will not
+ *   place another sprite into the same depth or replace the original one.  
  * 
  * observed behaviour(SWF5):
  *   too odd to understand :(
@@ -85,7 +86,7 @@
   SWFDisplayItem_setDepth(it1, 3); 
   SWFDisplayItem_setName(it1, "static_mc1");
   
-  it2 = SWFMovie_add(mo, (SWFBlock)mc2); 
+  it2 = SWFMovie_add(mo, (SWFBlock)mc1); 
   SWFDisplayItem_setDepth(it2, 3); 
   SWFDisplayItem_setName(it2, "static_mc2");
   



From MAILER-DAEMON Mon Jul 30 22:39:10 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFhdd-0004wd-Vy
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 22:39:10 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFhdc-0004vu-MA
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 22:39:08 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFhda-0004vi-FV
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 22:39:08 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFhda-0004vf-C9
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 22:39:06 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFhda-00008F-1d
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 22:39:06 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFhdZ-0001Ba-H6
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 02:39:05 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFhdZ-0001BX-CO
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 02:39:05 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFhdZ-0001BX-CO@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 02:39:05 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/array.cpp testsuite/acti...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 02:39:08 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 02:39:05

Modified files:
	.              : ChangeLog 
	server         : array.cpp 
	testsuite/actionscript.all: array.as 

Log message:
	        * server/array.cpp (join): use the SWF-version aware version
	          of as_value to string conversion. Add TODO items.
	        * testsuite/actionscript.all/array.as: don't expect a failure
	          in the descending numeric sort

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3877&r2=1.3878
http://cvs.savannah.gnu.org/viewcvs/gnash/server/array.cpp?cvsroot=gnash&r1=1.67&r2=1.68
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.22&r2=1.23

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3877
retrieving revision 1.3878
diff -u -b -r1.3877 -r1.3878
--- ChangeLog	31 Jul 2007 01:18:03 -0000	1.3877
+++ ChangeLog	31 Jul 2007 02:39:04 -0000	1.3878
@@ -1,9 +1,16 @@
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
+	* server/array.cpp (join): use the SWF-version aware version
+	  of as_value to string conversion. Add TODO items.
+	* testsuite/actionscript.all/array.as: don't expect a failure
+	  in the descending numeric sort
+
 2007-07-31 Zou Lunkai <zoulunkai@gmail.com>
 	
 	* testsuite/misc-ming.all/duplicate_movie_clip_test.c, place_object_test.c,
 	  place_object_test2.c: trivial comments cleanups.
 	  
-2007-07-29 Sandro Santilli <strk@keybit.net>
+2007-07-30 Sandro Santilli <strk@keybit.net>
 
 	* libamf/Makefile.am: add BOOST libs
 	* testsuite/samples/Makefile.am: link in

Index: server/array.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/array.cpp,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- server/array.cpp	29 Jul 2007 12:57:01 -0000	1.67
+++ server/array.cpp	31 Jul 2007 02:39:05 -0000	1.68
@@ -61,18 +61,21 @@
 inline static bool
 as_value_lt (const as_value& a, const as_value& b)
 {
+	// TODO: pass env, use versioned (to_string)
 	return a.to_string().compare(b.to_string()) < 0;
 }
 
 inline static bool
 as_value_gt (const as_value& a, const as_value& b)
 {
+	// TODO: pass env, use versioned (to_string)
 	return a.to_string().compare(b.to_string()) > 0;
 }
 
 inline static bool
 as_value_eq (const as_value& a, const as_value& b)
 {
+	// TODO: pass env, use versioned (to_string)
 	return a.to_string().compare(b.to_string()) == 0;
 }
 
@@ -81,6 +84,7 @@
 {
 	using namespace boost::algorithm;
 
+	// TODO: pass env, use versioned (to_string)
 	std::string strA = to_upper_copy(a.to_string());
 	std::string strB = to_upper_copy(b.to_string());
 
@@ -563,6 +567,8 @@
 	std::string temp;
 	//std::string temp = "("; // SWF > 7
 
+	int swfversion = _vm.getSWFVersion();
+
 	if ( ! elements.empty() ) 
 	{
 		std::deque<as_value>::const_iterator
@@ -570,12 +576,12 @@
 			itEnd=elements.end();
 
 		// print first element w/out separator prefix
-		temp += (*it++).to_string(env);
+		temp += (*it++).to_string_versioned(swfversion, env);
 
 		// print subsequent elements with separator prefix
 		while ( it != itEnd )
 		{
-			temp += separator + (*it++).to_string(env);
+			temp += separator + (*it++).to_string_versioned(swfversion, env);
 		}
 	}
 
@@ -881,7 +887,7 @@
 	// case: sortOn("prop")
 	if ( fn.nargs == 1 && fn.arg(0).is_string() )
 	{
-		std::string propField = PROPNAME(fn.arg(0).to_string());
+		std::string propField = PROPNAME(fn.arg(0).to_string()); // TODO: pass env, use versioned 
 		as_value_prop avc = as_value_prop(propField, &as_value_lt);
 		array->sort(&avc);
 		return as_value((boost::intrusive_ptr<as_object>)array);
@@ -891,7 +897,7 @@
 	bool do_unique = false, do_index = false;
 	if ( fn.nargs == 2 && fn.arg(0).is_string() )
 	{
-		std::string propField = PROPNAME(fn.arg(0).to_string());
+		std::string propField = PROPNAME(fn.arg(0).to_string()); // TODO: pass env, use versioned
 		if ( fn.arg(1).is_number() )
 		{
 			uint8_t flags = 
@@ -927,7 +933,7 @@
 		for (std::deque<as_value>::const_iterator it = props->begin();
 			it != props->end(); ++it)
 		{
-			std::string s = PROPNAME((*it).to_string());
+			std::string s = PROPNAME((*it).to_string()); // TODO: pass env, use versioned
 			prp.push_back(s);
 		}
 		
@@ -1052,7 +1058,7 @@
 
 	IF_VERBOSE_ACTION (
 	log_action(_("calling array pop, result:%s, new array size:%d"),
-		rv.to_string().c_str(), array->size());
+		rv.to_debug_string().c_str(), array->size());
 	);
         return rv;
 }
@@ -1068,7 +1074,7 @@
 
 	IF_VERBOSE_ACTION (
 	log_action(_("calling array shift, result:%s, new array size:%d"),
-		rv.to_string().c_str(), array->size());
+		rv.to_debug_string().c_str(), array->size());
 	);
 	return rv;
 }
@@ -1085,7 +1091,7 @@
 
 	IF_VERBOSE_ACTION (
 	log_action(_("called array reverse, result:%s, new array size:%d"),
-		rv.to_string().c_str(), array->size());
+		rv.to_debug_string().c_str(), array->size());
 	);
 	return rv;
 }
@@ -1099,7 +1105,7 @@
 	std::string separator = ",";
 
 	if (fn.nargs > 0)
-		separator = fn.arg(0).to_string();
+		separator = fn.arg(0).to_string(); // TODO: pass env, use versioned
 
 	std::string ret = array->join(separator, &(fn.env()));
 
@@ -1266,6 +1272,7 @@
 		for (int i = 0; i < int(fn.arg(0).to_number()); i++)
 		{
 			index_number.set_int(i);
+			// TODO: pass env, use versioned (to_string)
 			ao->set_member(index_number.to_string().c_str(), undef_value);
 		}
 	}

Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- testsuite/actionscript.all/array.as	29 Jul 2007 12:57:01 -0000	1.22
+++ testsuite/actionscript.all/array.as	31 Jul 2007 02:39:05 -0000	1.23
@@ -5,7 +5,7 @@
 // Updated with sort functions, and to use check() macro
 // by Mike Carlson Feb. 14th, 2006
 
-rcsid="$Id: array.as,v 1.22 2007/07/29 12:57:01 strk Exp $";
+rcsid="$Id: array.as,v 1.23 2007/07/31 02:39:05 strk Exp $";
 
 #include "check.as"
 
@@ -120,7 +120,7 @@
 check_equals ( a.toString() , "7,7,7,7,7,8,8,8,9,200,200,200,200,551,551" );
 
 a.sort( Array.UNIQUESORT | Array.DESCENDING | Array.NUMERIC);
-xcheck_equals (a.toString() , "7,7,7,7,7,8,8,8,9,200,200,200,200,551,551" );
+check_equals (a.toString() , "7,7,7,7,7,8,8,8,9,200,200,200,200,551,551" );
 
 // Test multi-parameter constructor, and keep testing sort cases
 var trysortarray = new Array("But", "alphabet", "Different", "capitalization");



From MAILER-DAEMON Mon Jul 30 23:18:50 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFiG2-0001k8-Eh
	for mharc-gnash-commit@gnu.org; Mon, 30 Jul 2007 23:18:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFiG0-0001jx-H4
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 23:18:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFiFz-0001jh-T7
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 23:18:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFiFz-0001je-O8
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 23:18:47 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFiFz-0006q4-FS
	for gnash-commit@gnu.org; Mon, 30 Jul 2007 23:18:47 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFiFy-0004Ul-AF
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 03:18:46 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFiFy-0004Ui-3A
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 03:18:46 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFiFy-0004Ui-3A@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 03:18:46 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/arra...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 03:18:48 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 03:18:45

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: array.as 

Log message:
	        * testsuite/actionscript.all/array.as: expect a failure
	          in the case-insensitive descending sort tested for SWF>6

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3878&r2=1.3879
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3878
retrieving revision 1.3879
diff -u -b -r1.3878 -r1.3879
--- ChangeLog	31 Jul 2007 02:39:04 -0000	1.3878
+++ ChangeLog	31 Jul 2007 03:18:45 -0000	1.3879
@@ -1,5 +1,10 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/array.as: expect a failure
+	  in the case-insensitive descending sort tested for SWF>6
+
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
 	* server/array.cpp (join): use the SWF-version aware version
 	  of as_value to string conversion. Add TODO items.
 	* testsuite/actionscript.all/array.as: don't expect a failure

Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- testsuite/actionscript.all/array.as	31 Jul 2007 02:39:05 -0000	1.23
+++ testsuite/actionscript.all/array.as	31 Jul 2007 03:18:45 -0000	1.24
@@ -5,7 +5,7 @@
 // Updated with sort functions, and to use check() macro
 // by Mike Carlson Feb. 14th, 2006
 
-rcsid="$Id: array.as,v 1.23 2007/07/31 02:39:05 strk Exp $";
+rcsid="$Id: array.as,v 1.24 2007/07/31 03:18:45 strk Exp $";
 
 #include "check.as"
 
@@ -540,9 +540,9 @@
 check_equals( tolen(r), "[0, 2, 2, 2, 4, 5, 5]" );
 check_equals( tolen(a), "[0, 2, 2, 2, 4, 5, 5]" );
 r = a.sort( cmp_fn, Array.UNIQUE | Array.CASEINSENSITIVE | Array.RETURNINDEXEDARRAY );
-check_equals( r.toString(), "0,1,2,3,4,5,6" ); 
+check_equals( r.toString(), "0,1,2,3,4,5,6" );  // gnash fails in SWF7,8 but succeeds in SWF5,6
 r = a.sort( cmp_fn, Array.UNIQUE | Array.CASEINSENSITIVE | Array.RETURNINDEXEDARRAY | Array.DESCENDING );
-check_equals( r.toString(), "6,5,4,3,2,1,0" );
+check_equals( r.toString(), "6,5,4,3,2,1,0" ); // gnash fails in SWF7,8 but succeeds in SWF5,6
 
 trace(" -- Array with null value  -- ");
 c.push(null);
@@ -742,7 +742,7 @@
 a.push({Name: "Harvard Mark I", Year: 1944, Mass: 4500});
 
 a.sortOn(["Electronic", "Year"], Array.DESCENDING | Array.IGNORECASE );
-check_equals( tostr(a), "Harvard Mark I,1944,undefined | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Zuse Z3,1941,false" );
+xcheck_equals( tostr(a), "Harvard Mark I,1944,undefined | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Zuse Z3,1941,false" );
 
 a.sortOn( ["Electronic", "Name"], [Array.NUMERIC, Array.DESCENDING] );
 check_equals( tostr(a), "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined" );



From MAILER-DAEMON Tue Jul 31 00:01:41 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFivV-00050Z-Kz
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 00:01:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFivS-0004zk-OT
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 00:01:38 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFivP-0004wS-8n
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 00:01:36 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFivP-0004wP-2Z
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 00:01:35 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <zoulunkai@gmail.com>) id 1IFivO-00063t-IW
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 00:01:34 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <zoulunkai@gmail.com>) id 1IFivN-0007f9-UF
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 04:01:34 +0000
Received: from zoulunkai by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <zoulunkai@savannah.gnu.org>) id 1IFivN-0007f5-ME
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 04:01:33 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFivN-0007f5-ME@cvs.savannah.gnu.org>
From: Zou Lunkai <zoulunkai@gmail.com>
Date: Tue, 31 Jul 2007 04:01:33 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/Makefil...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 04:01:39 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Zou Lunkai <zoulunkai>	07/07/31 04:01:33

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: Makefile.am place_object_test2.c 

Log message:
	* testsuite/misc-ming.all/place_object_test2.c, Makefile.am
	  activate the testcase, fix setting the ratio value(0~1.0 in Ming).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3879&r2=1.3880
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/Makefile.am?cvsroot=gnash&r1=1.144&r2=1.145
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/place_object_test2.c?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3879
retrieving revision 1.3880
diff -u -b -r1.3879 -r1.3880
--- ChangeLog	31 Jul 2007 03:18:45 -0000	1.3879
+++ ChangeLog	31 Jul 2007 04:01:32 -0000	1.3880
@@ -1,3 +1,8 @@
+2007-07-31 Zou Lunkai <zoulunkai@gmail.com>
+	
+	* testsuite/misc-ming.all/place_object_test2.c, Makefile.am
+	  activate the testcase, fix setting the ratio value(0~1.0 in Ming).
+	  
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
 	* testsuite/actionscript.all/array.as: expect a failure

Index: testsuite/misc-ming.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/Makefile.am,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -b -r1.144 -r1.145
--- testsuite/misc-ming.all/Makefile.am	23 Jul 2007 04:48:49 -0000	1.144
+++ testsuite/misc-ming.all/Makefile.am	31 Jul 2007 04:01:33 -0000	1.145
@@ -84,6 +84,7 @@
 	loop_test8 \
 	loop_test-Runner \
 	place_object_test \
+	place_object_test2 \
 	move_object_test \
 	place_and_remove_object_test \
 	place_and_remove_object_insane_test \
@@ -181,6 +182,7 @@
 check_SCRIPTS = \
 	timeline_var_test-Runner \
 	place_object_testrunner \
+	place_object_test2runner \
 	move_object_testrunner \
 	place_and_remove_object_testrunner \
 	place_and_remove_object_insane_testrunner \
@@ -631,6 +633,17 @@
 	sh $< -r5 $(top_builddir) place_object_test.swf > $@
 	chmod 755 $@
 
+	
+place_object_test2_SOURCES = place_object_test2.c	
+place_object_test2_LDADD = libgnashmingutils.la
+
+place_object_test2.swf: place_object_test2
+	./place_object_test2 $(top_srcdir)/testsuite/media
+
+place_object_test2runner: $(srcdir)/../generic-testrunner.sh place_object_test2.swf
+	sh $< -r5 $(top_builddir) place_object_test2.swf > $@
+	chmod 755 $@
+
 move_object_test_SOURCES =	\
 	move_object_test.c	\
 	$(NULL)
@@ -1573,6 +1586,7 @@
 	root_stop_testrunner \
 	loop_test-Runner \
 	place_object_testrunner \
+	place_object_test2runner \
 	move_object_testrunner \
 	place_and_remove_object_testrunner \
 	place_and_remove_object_insane_testrunner \

Index: testsuite/misc-ming.all/place_object_test2.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/place_object_test2.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- testsuite/misc-ming.all/place_object_test2.c	31 Jul 2007 01:18:04 -0000	1.4
+++ testsuite/misc-ming.all/place_object_test2.c	31 Jul 2007 04:01:33 -0000	1.5
@@ -19,8 +19,7 @@
 /*
  *
  * observed behaviour(SWF6,7,8):
- *   if the given depth is occupied by a sprite, PlaceObjec2(PLACE) tag will not
- *   place another sprite into the same depth or replace the original one.  
+ *   if the given depth is occupied, PlaceObjec2(PLACE) tag won't replace the orginal one.
  * 
  * observed behaviour(SWF5):
  *   too odd to understand :(
@@ -86,7 +85,7 @@
   SWFDisplayItem_setDepth(it1, 3); 
   SWFDisplayItem_setName(it1, "static_mc1");
   
-  it2 = SWFMovie_add(mo, (SWFBlock)mc1); 
+  it2 = SWFMovie_add(mo, (SWFBlock)mc2); 
   SWFDisplayItem_setDepth(it2, 3); 
   SWFDisplayItem_setName(it2, "static_mc2");
   
@@ -125,13 +124,13 @@
   SWFMovie_nextFrame(mo); // frame4
   
   //
-  // Place mc1 at depth 3 again with ratio set to 2.0
+  // Place mc1 at depth 3 again with ratio set to 0.2
   // Observed behaviour: no new character get placed(created).
   //
   it2 = SWFMovie_add(mo, (SWFBlock)mc1); 
   SWFDisplayItem_setDepth(it2, 3); 
   SWFDisplayItem_setName(it2, "static_mc4");
-  SWFDisplayItem_setRatio(it2, 2.0); 
+  SWFDisplayItem_setRatio(it2, 0.2); 
   
   check_equals(mo, "typeof(static_mc1)", "'movieclip'");
   if(OUTPUT_VERSION > 5)
@@ -147,13 +146,13 @@
   SWFMovie_nextFrame(mo); // frame5
   
   //
-  // Place mc2 at depth 3 again with ratio set to 2.0
+  // Place mc2 at depth 3 again with ratio set to 0.2
   // Observed behaviour: no new character get placed(created).
   //
   it2 = SWFMovie_add(mo, (SWFBlock)mc2); 
   SWFDisplayItem_setDepth(it2, 3); 
   SWFDisplayItem_setName(it2, "static_mc5");
-  SWFDisplayItem_setRatio(it2, 2.0); 
+  SWFDisplayItem_setRatio(it2, 0.2); 
   
   check_equals(mo, "typeof(static_mc1)", "'movieclip'");
   if(OUTPUT_VERSION > 5)
@@ -192,3 +191,4 @@
 
   return 0;
 }
+



From MAILER-DAEMON Tue Jul 31 00:26:05 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFjJ6-0002Mp-T3
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 00:26:04 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFjJ5-0002Jm-4R
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 00:26:03 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFjJ3-0002Gf-Ip
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 00:26:01 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFjJ3-0002Gc-E2
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 00:26:01 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFjJ3-0001Rk-4G
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 00:26:01 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFjJ2-0001z2-4N
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 04:26:00 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFjJ1-0001yz-Tv
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 04:25:59 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFjJ1-0001yz-Tv@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 04:25:59 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/vm/ASHandlers.cpp testsu...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 04:26:03 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 04:25:59

Modified files:
	.              : ChangeLog 
	server/vm      : ASHandlers.cpp 
	testsuite/actionscript.all: array.as 

Log message:
	        * server/vm/ASHandlers.cpp (ActionBitwiseXor, ActionBitwiseOr):
	          take nan operands as zero.
	        * testsuite/actionscript.all/array.as: expect less failures.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3880&r2=1.3881
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ASHandlers.cpp?cvsroot=gnash&r1=1.112&r2=1.113
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.24&r2=1.25

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3880
retrieving revision 1.3881
diff -u -b -r1.3880 -r1.3881
--- ChangeLog	31 Jul 2007 04:01:32 -0000	1.3880
+++ ChangeLog	31 Jul 2007 04:25:59 -0000	1.3881
@@ -1,3 +1,9 @@
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
+	* server/vm/ASHandlers.cpp (ActionBitwiseXor, ActionBitwiseOr): 
+	  take nan operands as zero.
+	* testsuite/actionscript.all/array.as: expect less failures.
+
 2007-07-31 Zou Lunkai <zoulunkai@gmail.com>
 	
 	* testsuite/misc-ming.all/place_object_test2.c, Makefile.am

Index: server/vm/ASHandlers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ASHandlers.cpp,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -b -r1.112 -r1.113
--- server/vm/ASHandlers.cpp	10 Jul 2007 23:48:42 -0000	1.112
+++ server/vm/ASHandlers.cpp	31 Jul 2007 04:25:59 -0000	1.113
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: ASHandlers.cpp,v 1.112 2007/07/10 23:48:42 strk Exp $ */
+/* $Id: ASHandlers.cpp,v 1.113 2007/07/31 04:25:59 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -3089,6 +3089,9 @@
 	double operand1 = env.top(1).to_number(&env);
 	double operand2 = env.top(0).to_number(&env);
 
+	if ( isnan(operand1) ) operand1 = 0;
+	if ( isnan(operand2) ) operand2 = 0;
+
 	env.top(1) = int(operand1)|int(operand2);
 	env.drop(1);
 }
@@ -3104,6 +3107,9 @@
 	double operand1 = env.top(1).to_number(&env);
 	double operand2 = env.top(0).to_number(&env);
 
+	if ( isnan(operand1) ) operand1 = 0;
+	if ( isnan(operand2) ) operand2 = 0;
+
 	env.top(1) = int(operand1)^int(operand2);
 	env.drop(1);
 }

Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- testsuite/actionscript.all/array.as	31 Jul 2007 03:18:45 -0000	1.24
+++ testsuite/actionscript.all/array.as	31 Jul 2007 04:25:59 -0000	1.25
@@ -5,7 +5,7 @@
 // Updated with sort functions, and to use check() macro
 // by Mike Carlson Feb. 14th, 2006
 
-rcsid="$Id: array.as,v 1.24 2007/07/31 03:18:45 strk Exp $";
+rcsid="$Id: array.as,v 1.25 2007/07/31 04:25:59 strk Exp $";
 
 #include "check.as"
 
@@ -104,6 +104,22 @@
 check_equals ( Array.RETURNINDEXEDARRAY , 8 );
 check_equals ( Array.NUMERIC , 16 );
 
+check_equals( typeof(Array.UNIQUE), 'undefined' );
+
+// the following tests do not belong here, but
+// better somewhere then nowhere (are here due to
+// a typo in this testcase triggering this bug)
+//
+check_equals( (undefined|1), 1 );
+check_equals( (1|undefined), 1 );
+check_equals( (undefined&1), 0 );
+check_equals( (1&undefined), 0 );
+check_equals( (undefined^1), 1 );
+check_equals( (1^undefined), 1 );
+
+
+check_equals( Array.UNIQUE | Array.CASEINSENSITIVE | Array.RETURNINDEXEDARRAY, 9 );
+
 // Check sort functions
 a.sort();
 check_equals ( a.toString(), "200,551,7,8,9" );
@@ -742,7 +758,7 @@
 a.push({Name: "Harvard Mark I", Year: 1944, Mass: 4500});
 
 a.sortOn(["Electronic", "Year"], Array.DESCENDING | Array.IGNORECASE );
-xcheck_equals( tostr(a), "Harvard Mark I,1944,undefined | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Zuse Z3,1941,false" );
+check_equals( tostr(a), "Harvard Mark I,1944,undefined | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Zuse Z3,1941,false" );
 
 a.sortOn( ["Electronic", "Name"], [Array.NUMERIC, Array.DESCENDING] );
 check_equals( tostr(a), "Zuse Z3,1941,false | ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined" );



From MAILER-DAEMON Tue Jul 31 10:47:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFt0k-0004ox-W1
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 10:47:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFt0j-0004nB-V7
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 10:47:45 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFt0j-0004mt-0w
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 10:47:45 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFt0i-0004mh-Rc
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 10:47:44 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFt0i-0005T7-Hc
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 10:47:44 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFt0h-00079R-F5
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 14:47:43 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFt0h-00079O-8h
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 14:47:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFt0h-00079O-8h@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 14:47:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/testsuite/actionscript.all testin.xml
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 14:47:46 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 14:47:43

Removed files:
	testsuite/actionscript.all: testin.xml 

Log message:
	removed unused file, loadable things should go in testsuite/media anyway

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/testin.xml?cvsroot=gnash&r1=1.1&r2=0

Patches:
Index: testin.xml
===================================================================
RCS file: testin.xml
diff -N testin.xml
--- testin.xml	5 Feb 2006 23:36:36 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
-<TOPNODE>
-  <SUBNODE1>
-    <SUBSUBNODE1>sub sub1 node data 1</SUBSUBNODE1>
-    <SUBSUBNODE2>sub sub1 node data 2</SUBSUBNODE2>
-  </SUBNODE1>
-  <SUBNODE2>
-    <SUBSUBNODE1>sub sub2 node data 1</SUBSUBNODE1>
-    <SUBSUBNODE2>sub sub2 node data 2</SUBSUBNODE2>
-  </SUBNODE2>
-</TOPNODE>



From MAILER-DAEMON Tue Jul 31 11:30:35 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFtgB-0005Oq-Dy
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 11:30:35 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFtg9-0005Ol-Pg
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:30:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFtg8-0005OW-1Y
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:30:32 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFtg7-0005OT-SU
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:30:31 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFtg7-0008Dy-HJ
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:30:31 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFtg6-0000qi-Ca
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:30:30 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFtg6-0000qe-7S
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:30:30 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFtg6-0000qe-7S@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 15:30:30 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog server/vm/ASHandlers.cpp testsu...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 15:30:34 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 15:30:30

Modified files:
	.              : ChangeLog 
	server/vm      : ASHandlers.cpp 
	testsuite/actionscript.all: Makefile.am 
Added files:
	testsuite/actionscript.all: ops.as 

Log message:
	        * server/vm/ASHandlers.cpp (ActionBitwiseAnd):
	          take nan operands as zero.
	        * testsuite/actionscript.all/: Makefile.am, ops.as:
	          new testcase for primitive operations (to complete)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3881&r2=1.3882
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ASHandlers.cpp?cvsroot=gnash&r1=1.113&r2=1.114
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/Makefile.am?cvsroot=gnash&r1=1.75&r2=1.76
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/ops.as?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3881
retrieving revision 1.3882
diff -u -b -r1.3881 -r1.3882
--- ChangeLog	31 Jul 2007 04:25:59 -0000	1.3881
+++ ChangeLog	31 Jul 2007 15:30:29 -0000	1.3882
@@ -1,5 +1,12 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* server/vm/ASHandlers.cpp (ActionBitwiseAnd):
+	  take nan operands as zero.
+	* testsuite/actionscript.all/: Makefile.am, ops.as:
+	  new testcase for primitive operations (to complete)
+
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
 	* server/vm/ASHandlers.cpp (ActionBitwiseXor, ActionBitwiseOr): 
 	  take nan operands as zero.
 	* testsuite/actionscript.all/array.as: expect less failures.

Index: server/vm/ASHandlers.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ASHandlers.cpp,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -b -r1.113 -r1.114
--- server/vm/ASHandlers.cpp	31 Jul 2007 04:25:59 -0000	1.113
+++ server/vm/ASHandlers.cpp	31 Jul 2007 15:30:29 -0000	1.114
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: ASHandlers.cpp,v 1.113 2007/07/31 04:25:59 strk Exp $ */
+/* $Id: ASHandlers.cpp,v 1.114 2007/07/31 15:30:29 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -3075,7 +3075,10 @@
 	double operand1 = env.top(1).to_number(&env);
 	double operand2 = env.top(0).to_number(&env);
 
-	env.top(1) = int(operand1)&int(operand2);
+	if ( isnan(operand1) ) operand1 = 0;
+	if ( isnan(operand2) ) operand2 = 0;
+
+	env.top(1) = int(operand1) & int(operand2);
 	env.drop(1);
 }
 

Index: testsuite/actionscript.all/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/Makefile.am,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -b -r1.75 -r1.76
--- testsuite/actionscript.all/Makefile.am	24 Jul 2007 14:19:32 -0000	1.75
+++ testsuite/actionscript.all/Makefile.am	31 Jul 2007 15:30:29 -0000	1.76
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.75 2007/07/24 14:19:32 strk Exp $
+# $Id: Makefile.am,v 1.76 2007/07/31 15:30:29 strk Exp $
 
 AUTOMAKE_OPTIONS = dejagnu
 
@@ -110,6 +110,7 @@
 	LocalConnection.as	\
 	enumerate.as		\
 	case.as			\
+	ops.as			\
 	$(NULL)
 
 ASTESTS_OUT = $(ASTESTS:.as=.swf)

Index: testsuite/actionscript.all/ops.as
===================================================================
RCS file: testsuite/actionscript.all/ops.as
diff -N testsuite/actionscript.all/ops.as
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ testsuite/actionscript.all/ops.as	31 Jul 2007 15:30:29 -0000	1.1
@@ -0,0 +1,154 @@
+// 
+//   Copyright (C) 2007 Free Software Foundation, Inc.
+//
+// This program is free software; you can redistribute it and/or modchecky
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; check not, write to the Free Software
+// Foundation, Inc., 51 Franklin St, Fcheckth Floor, Boston, MA  02110-1301  USA
+//
+
+/*
+ *  Test binary predicates (equal, less_then, greater_then, logical and bitwise ops)
+ */
+
+rcsid="$Id: ops.as,v 1.1 2007/07/31 15:30:29 strk Exp $";
+
+#include "check.as"
+
+//--------------------------------------------
+// Equality operator (ACTION_NEWEQUALS : 0x49)
+//--------------------------------------------
+
+check(1 == 1); // doh
+check(1 == "1");
+check("1" == 1);
+check(0 == -0);
+check(0 == "-0");
+check("0" == -0);
+check(null == null);
+check(undefined == undefined);
+check(null==undefined); 
+check(undefined==null); 
+
+// for Arrays
+ary1 = [1,2,3];
+ary2 = [1,2,3];
+check( ! (ary1 == ary2) ); // two different objects
+check( ! (ary1 == "1,2,3") ); // the array doesn't get converted to a string
+xcheck( ! ("1,2,3" == ary1) ); // the array doesn't get converted to a string
+
+// for String
+str1 = new String("hello");
+str2 = new String("hello");
+str3 = new String("3");
+check( ! (str1 == str3) );  
+check_equals(str1, "hello"); // str1 is automatically converted to a string
+check_equals("hello", str1); // str1 is automatically converted to a string
+
+check_equals( str3, 3.0 ); // str3 (object) is automatically converted to a number 
+check_equals( str3.toString(), 3.0 ); // str3 (primitive string) is automatically converted to a number 
+
+check( ! (str1 == 0) ); // str1 (object) is NOT converted to a number (due to NaN?)
+xcheck( ! (str1 == NaN) ); // str1 (object) is NOT converted to a number (due to NaN?)
+
+#if OUTPUT_VERSION > 5
+  check( ! (str1 == str2) ); // they are not the same object
+#else // OUTPUT_VERSION <= 5
+  xcheck( str1 == str2 );  // SWF5 automatically converts to a string for comparison !
+#endif // OUTPUT_VERSION <= 5
+
+
+//---------------------------------------------
+// Less then operator (ACTION_LESSTHAN : 0x0F)
+//---------------------------------------------
+
+// TODO ... 
+
+//------------------------------------------------
+// Logical AND operator (ACTION_LOGICALAND : 0x10)
+//------------------------------------------------
+
+// TODO ... 
+
+//------------------------------------------------
+// Logical OR operator (ACTION_LOGICALOR : 0x11)
+//------------------------------------------------
+
+// TODO ... 
+
+//------------------------------------------------
+// Logical OR operator (ACTION_LOGICALOR : 0x11)
+//------------------------------------------------
+
+// TODO ... 
+
+//------------------------------------------------
+// Bitwise AND operator (ACTION_BITWISEAND : 0x60)
+//------------------------------------------------
+
+check_equals( (undefined&1), 0 );
+check_equals( (1&undefined), 0 );
+check_equals( (1&null), 0 );
+check_equals( (null&1), 0 );
+check_equals( (null&null), 0 );
+check_equals( (3&2), 2 );
+// TODO ... 
+
+//------------------------------------------------
+// Bitwise OR operator (ACTION_BITWISEOR : 0x61)
+//------------------------------------------------
+
+check_equals( (undefined|1), 1 );
+check_equals( (1|undefined), 1 );
+check_equals( (undefined|undefined), 0 );
+check_equals( (null|1), 1 );
+check_equals( (1|null), 1 );
+check_equals( (null|null), 0 );
+check_equals( (8|4), 12 );
+// TODO ... 
+
+//------------------------------------------------
+// Bitwise XOR operator (ACTION_BITWISEOR : 0x62)
+//------------------------------------------------
+
+check_equals( (undefined^1), 1 );
+check_equals( (1^undefined), 1 );
+check_equals( (undefined^undefined), 0 );
+check_equals( (null^1), 1 );
+check_equals( (1^null), 1 );
+check_equals( (null^null), 0 );
+check_equals( (8^12), 4 );
+// TODO ... 
+
+//------------------------------------------------
+// Shift left operator (ACTION_SHIFTLEFT : 0x63)
+//------------------------------------------------
+
+// TODO ... 
+
+//------------------------------------------------
+// Shift right operator (ACTION_SHIFTRIGHT : 0x64)
+//------------------------------------------------
+
+// TODO ... 
+
+//-------------------------------------------------
+// Shift right2 operator (ACTION_SHIFTRIGHT2 : 0x65)
+//-------------------------------------------------
+
+// TODO ... 
+
+//-------------------------------------------------
+// Strict equality operator (ACTION_STRICTEQ : 0x66)
+//-------------------------------------------------
+
+// TODO ...  



From MAILER-DAEMON Tue Jul 31 11:39:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFtoo-0003JY-Vo
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 11:39:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFtoo-0003JM-4C
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:39:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFtok-0003HH-LE
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:39:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFtok-0003Gt-D9
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:39:26 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IFtoj-0002Qe-Qy
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:39:26 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6VFdKU4021447;
	Tue, 31 Jul 2007 17:39:22 +0200
Date: Tue, 31 Jul 2007 17:39:16 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <958123008.20070731173916@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash ChangeLog backend/render_handler_tri.cpp ...
In-Reply-To: <E1IFclE-0007PD-4X@cvs.savannah.gnu.org>
References: <E1IFclE-0007PD-4X@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 15:39:30 -0000

Hello Sandro,

Monday, July 30, 2007, 11:26:40 PM, you wrote:
SS> +triangulating_render_handler::world_to_pixel(const rect& worldbounds)
SS>  {
SS> +  // TODO: verify this is correct
SS> +  geometry::Range2d<int> ret(worldbounds.getRange());
SS> +  ret.scale(20); // twips to pixels
SS> +  return ret;
SS>  }
SS>  


Hmm. I fear this is not 100% correct. It will work for 100% scaled
movies / GUI windows, but probably will fail for scaled movies (ie.
when using the -s switch).

I had a quick look at render_handler_tri but could not yet find out
how scaling is implemented: Can't remember if this is done by each
renderer individually. AFAIK only AGG currently respects the "stage
matrix" defined by the GUI.

I'll try to find out... :)

Udo




From MAILER-DAEMON Tue Jul 31 11:45:01 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFtu9-00080r-9V
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 11:45:01 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFtu7-00080a-BF
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:44:59 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFtu5-00080O-P1
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:44:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFtu5-00080L-KY
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:44:57 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <udo.gnu@nova-sys.net>)
	id 1IFtu5-0004Fp-BE
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 11:44:57 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IFtu4-0002Ay-LI
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:44:56 +0000
Received: from udog by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <udog@savannah.gnu.org>) id 1IFtu4-0002At-GQ
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:44:56 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFtu4-0002At-GQ@cvs.savannah.gnu.org>
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
Date: Tue, 31 Jul 2007 15:44:56 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gtk_glue_agg.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 15:44:59 -0000

CVSROOT:	/cvsroot/gnash
Module name:	gnash
Changes by:	Udo Giacomozzi <udog>	07/07/31 15:44:56

Modified files:
	.              : ChangeLog 
	gui            : gtk_glue_agg.h 

Log message:
	gui/gtk_glue_agg.h: disable MIT-SHM by default (see bug #20301)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3882&r2=1.3883
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_agg.h?cvsroot=gnash&r1=1.10&r2=1.11

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3882
retrieving revision 1.3883
diff -u -b -r1.3882 -r1.3883
--- ChangeLog	31 Jul 2007 15:30:29 -0000	1.3882
+++ ChangeLog	31 Jul 2007 15:44:56 -0000	1.3883
@@ -1,3 +1,7 @@
+2007-07-31 Udo Giacomozzi <udo.gnu@nova-sys.net>
+
+	* gui/gtk_glue_agg.h: disable MIT-SHM by default (see bug #20301)
+
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
 	* server/vm/ASHandlers.cpp (ActionBitwiseAnd):

Index: gui/gtk_glue_agg.h
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gtk_glue_agg.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- gui/gtk_glue_agg.h	1 Jul 2007 10:54:02 -0000	1.10
+++ gui/gtk_glue_agg.h	31 Jul 2007 15:44:56 -0000	1.11
@@ -20,7 +20,8 @@
 
 // Define this macro to enable experimental support for MIT-SHM
 // see http://www.xfree86.org/current/mit-shm.html
-#define ENABLE_MIT_SHM 1
+// currently has some problems, see https://savannah.gnu.org/bugs/?20301
+//#define ENABLE_MIT_SHM 1
 
 #include "gtk_glue.h"
 



From MAILER-DAEMON Tue Jul 31 12:16:13 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFuOL-0006Rg-MY
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 12:16:13 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFuOJ-0006Qu-8B
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:16:11 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFuOI-0006QY-Ra
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:16:10 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFuOI-0006QS-BC
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:16:10 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFuOI-0004R2-1a
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:16:10 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFuOG-0004Wh-Tj
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:16:09 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFuOG-0004We-JW
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:16:08 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFuOG-0004We-JW@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 16:16:08 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac gui/gtk_glue_agg.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 16:16:11 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 16:16:08

Modified files:
	.              : ChangeLog configure.ac 
	gui            : gtk_glue_agg.h 

Log message:
	        * configure.ac: add --enable-mit-shm
	        * gui/gtk_glue_agg.h: don't redefine ENABLE_MIT_SHM, use definition
	          from config.h

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3883&r2=1.3884
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.384&r2=1.385
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_agg.h?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3883
retrieving revision 1.3884
diff -u -b -r1.3883 -r1.3884
--- ChangeLog	31 Jul 2007 15:44:56 -0000	1.3883
+++ ChangeLog	31 Jul 2007 16:16:07 -0000	1.3884
@@ -1,3 +1,9 @@
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
+	* configure.ac: add --enable-mit-shm
+	* gui/gtk_glue_agg.h: don't redefine ENABLE_MIT_SHM, use definition
+	  from config.h
+
 2007-07-31 Udo Giacomozzi <udo.gnu@nova-sys.net>
 
 	* gui/gtk_glue_agg.h: disable MIT-SHM by default (see bug #20301)

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.384
retrieving revision 1.385
diff -u -b -r1.384 -r1.385
--- configure.ac	30 Jul 2007 19:55:07 -0000	1.384
+++ configure.ac	31 Jul 2007 16:16:08 -0000	1.385
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.384 2007/07/30 19:55:07 strk Exp $
+dnl $Id: configure.ac,v 1.385 2007/07/31 16:16:08 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -428,6 +428,21 @@
 fi
 
 dnl --------------------------------------------------------
+dnl  Toggle support for MIT-SHM extension to the X server
+dnl --------------------------------------------------------
+
+AC_ARG_ENABLE(mit-shm,
+  AC_HELP_STRING([--enable-mit-shm], [Enable support for the MIT-SHM X extension]),
+[case "${enableval}" in
+  yes) xmitshm=yes ;;
+  no)  xmitshm=no ;;
+  *)   AC_MSG_ERROR([bad value ${enableval} for --enable-mit-shm option]) ;;
+esac],xmitshm=no)
+if test "x${xmitshm}" = "xyes"; then
+	AC_DEFINE(ENABLE_MIT_SHM, [1], [Use MIT-SHM X extension if available])
+fi
+
+dnl --------------------------------------------------------
 dnl  Select media handler
 dnl --------------------------------------------------------
 

Index: gui/gtk_glue_agg.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_agg.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- gui/gtk_glue_agg.h	31 Jul 2007 15:44:56 -0000	1.11
+++ gui/gtk_glue_agg.h	31 Jul 2007 16:16:08 -0000	1.12
@@ -18,16 +18,14 @@
 //
 //
 
-// Define this macro to enable experimental support for MIT-SHM
-// see http://www.xfree86.org/current/mit-shm.html
-// currently has some problems, see https://savannah.gnu.org/bugs/?20301
-//#define ENABLE_MIT_SHM 1
-
 #include "gtk_glue.h"
 
 #include <gtk/gtk.h>
 #include <gdk/gdk.h>
 
+// Experimental support for MIT-SHM
+// see http://www.xfree86.org/current/mit-shm.html
+// currently has some problems, see https://savannah.gnu.org/bugs/?20301
 #ifdef ENABLE_MIT_SHM
 #include <X11/extensions/XShm.h>
 #endif



From MAILER-DAEMON Tue Jul 31 12:20:31 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFuSV-0002xK-DL
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 12:20:31 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFuST-0002vl-FW
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:20:29 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFuSS-0002vH-A6
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:20:28 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFuSS-0002v8-3u
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:20:28 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFuSR-0005KH-S1
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:20:27 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFuSR-0004dY-AR
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:20:27 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFuSR-0004dU-16
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:20:27 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFuSR-0004dU-16@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 16:20:27 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog doc/C/usermanual/installation/f...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 16:20:29 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 16:20:26

Modified files:
	.              : ChangeLog 
	doc/C/usermanual/installation: feature_configuration.xml 

Log message:
	Document --enable-mit-shm

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3884&r2=1.3885
http://cvs.savannah.gnu.org/viewcvs/gnash/doc/C/usermanual/installation/feature_configuration.xml?cvsroot=gnash&r1=1.11&r2=1.12

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3884
retrieving revision 1.3885
diff -u -b -r1.3884 -r1.3885
--- ChangeLog	31 Jul 2007 16:16:07 -0000	1.3884
+++ ChangeLog	31 Jul 2007 16:20:26 -0000	1.3885
@@ -1,5 +1,7 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* doc/C/usermanual/installation/feature_configuration.xml:
+	  Document --enable-mit-shm
 	* configure.ac: add --enable-mit-shm
 	* gui/gtk_glue_agg.h: don't redefine ENABLE_MIT_SHM, use definition
 	  from config.h

Index: doc/C/usermanual/installation/feature_configuration.xml
===================================================================
RCS file: /sources/gnash/gnash/doc/C/usermanual/installation/feature_configuration.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- doc/C/usermanual/installation/feature_configuration.xml	12 Jul 2007 09:31:51 -0000	1.11
+++ doc/C/usermanual/installation/feature_configuration.xml	31 Jul 2007 16:20:26 -0000	1.12
@@ -301,4 +301,15 @@
     </listitem>
   </varlistentry>
 
+  <varlistentry>
+    <term>--enable-mit-shm</term>
+    <listitem>
+      <para>
+	Add support for using the MIT-SHM X extensions when available. 
+	Currently only available using GTK gui and AGG renderer, and known to be
+	bogus in handling of expose events (http://savannah.gnu.org/bugs/?20301).
+      </para>
+    </listitem>
+  </varlistentry>
+
 </variablelist>



From MAILER-DAEMON Tue Jul 31 12:43:36 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFuoq-00082j-AN
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:36 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFuop-00080o-1z
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFuoo-0007zC-3O
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:34 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFuon-0007yu-Re
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:33 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFuon-0002tA-F4
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:33 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFuom-0005SY-DN
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:43:32 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFuom-0005ST-5D
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:43:32 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFuom-0005ST-5D@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 16:43:32 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash configure.ac
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 16:43:35 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 16:43:32

Modified files:
	.              : configure.ac 

Log message:
	report configuration of MIT-SHM extension support

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.385&r2=1.386

Patches:
Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.385
retrieving revision 1.386
diff -u -b -r1.385 -r1.386
--- configure.ac	31 Jul 2007 16:16:08 -0000	1.385
+++ configure.ac	31 Jul 2007 16:43:31 -0000	1.386
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.385 2007/07/31 16:16:08 strk Exp $
+dnl $Id: configure.ac,v 1.386 2007/07/31 16:43:31 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -1366,6 +1366,12 @@
   echo "        Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable."
 fi
 
+if test x"$xmitshm" = x"yes"; then
+  echo "        MIT-SHM X extension support enabled"
+else
+  echo "        MIT-SHM X extension support disabled (default). Use --enable-mit-shm to enable."
+fi
+
 if test x"$pthreads" = x"yes"; then
   echo "        POSIX Threads support enabled (default)"
 else



From MAILER-DAEMON Tue Jul 31 12:43:50 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFup4-0008Eu-IQ
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:50 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFup2-0008DJ-PJ
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:48 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFup2-0008D7-D1
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:48 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFup2-0008D4-6j
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:48 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFup1-0002wa-U6
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 12:43:48 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFup1-0005W0-G6
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:43:47 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFup1-0005Vt-Aq
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:43:47 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFup1-0005Vt-Aq@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 16:43:47 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui gtk_glue_agg.h
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 16:43:49 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 16:43:47

Modified files:
	gui            : gtk_glue_agg.h 

Log message:
	don't miss to include config.h

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk_glue_agg.h?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: gtk_glue_agg.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk_glue_agg.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gtk_glue_agg.h	31 Jul 2007 16:16:08 -0000	1.12
+++ gtk_glue_agg.h	31 Jul 2007 16:43:47 -0000	1.13
@@ -14,10 +14,13 @@
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-
 //
 //
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "gtk_glue.h"
 
 #include <gtk/gtk.h>



From MAILER-DAEMON Tue Jul 31 13:07:16 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFvBk-0001MV-Or
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 13:07:16 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFvBi-0001Lk-5i
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 13:07:14 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFvBh-0001LO-Lf
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 13:07:13 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFvBh-0001LI-Eq
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 13:07:13 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFvBh-0008Qh-4D
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 13:07:13 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFvBg-0006rS-5i
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 17:07:12 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFvBg-0006rP-1n
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 17:07:12 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFvBg-0006rP-1n@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 17:07:12 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/ming_ut...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 17:07:14 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 17:07:11

Modified files:
	.              : ChangeLog 
	testsuite/misc-ming.all: ming_utils.c 

Log message:
	        * testsuite/misc-ming.all/ming_utils.c: add word wrapping
	          to the xtrace window.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3885&r2=1.3886
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/ming_utils.c?cvsroot=gnash&r1=1.27&r2=1.28

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3885
retrieving revision 1.3886
diff -u -b -r1.3885 -r1.3886
--- ChangeLog	31 Jul 2007 16:20:26 -0000	1.3885
+++ ChangeLog	31 Jul 2007 17:07:11 -0000	1.3886
@@ -1,5 +1,10 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/misc-ming.all/ming_utils.c: add word wrapping
+	  to the xtrace window.
+
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
 	* doc/C/usermanual/installation/feature_configuration.xml:
 	  Document --enable-mit-shm
 	* configure.ac: add --enable-mit-shm

Index: testsuite/misc-ming.all/ming_utils.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/ming_utils.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- testsuite/misc-ming.all/ming_utils.c	1 Jul 2007 10:54:58 -0000	1.27
+++ testsuite/misc-ming.all/ming_utils.c	31 Jul 2007 17:07:11 -0000	1.28
@@ -34,13 +34,18 @@
 {
 	SWFTextField tf;
 	SWFDisplayItem it;
+	int flags;
 
 	tf = newSWFTextField();
 
 	SWFTextField_setFont(tf, font);
 
 	/* setting flags seem unneeded */
-	/*SWFTextField_setFlags(tf, SWFTEXTFIELD_USEFONT|SWFTEXTFIELD_NOEDIT);*/
+	flags = 0;
+	//flags |= SWFTEXTFIELD_USEFONT;
+	flags |= SWFTEXTFIELD_WORDWRAP;
+	//flags |= SWFTEXTFIELD_NOEDIT;
+	SWFTextField_setFlags(tf, flags);
 
 	/* Add all ascii chars */
 	SWFTextField_addChars(tf, asciichars);



From MAILER-DAEMON Tue Jul 31 13:25:45 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFvTd-00027v-9L
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 13:25:45 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFvTb-00027o-Ib
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 13:25:43 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFvTa-00027c-PL
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 13:25:43 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFvTa-00027Z-LQ
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 13:25:42 -0400
Received: from server2.indunet.it ([217.70.144.109])
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <udo.gnu@nova-sys.net>) id 1IFvTa-0004w4-7C
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 13:25:42 -0400
Received: from UDO-LAPTOP (sadsl-246098.rol.raiffeisen.net [195.254.246.98])
	(authenticated bits=0)
	by server2.indunet.it (8.12.8/8.12.5) with ESMTP id l6VHPbU4003533;
	Tue, 31 Jul 2007 19:25:40 +0200
Date: Tue, 31 Jul 2007 19:25:35 +0200
From: Udo Giacomozzi <udo.gnu@nova-sys.net>
X-Mailer: The Bat! (v3.99.3) Professional
Organization: NOVASYS
X-Priority: 3 (Normal)
Message-ID: <168391353.20070731192535@nova-sys.net>
To: Sandro Santilli <strk@keybit.net>
Subject: Re: [Gnash-commit] gnash/gui Player.cpp
In-Reply-To: <E1IE9Lj-0002se-U5@cvs.savannah.gnu.org>
References: <E1IE9Lj-0002se-U5@cvs.savannah.gnu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-detected-kernel: Linux 2.4-2.6
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Udo Giacomozzi <udo.gnu@nova-sys.net>
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 17:25:43 -0000

Hello Sandro,

Thursday, July 26, 2007, 9:50:15 PM, you wrote:
SS> +       std::cout << "init_gui called - gui flavor : " << guiName(_guiFlavor) << " ("

Note these (and other) messages are still being printed to stdout.
Just FYI, in case you forgot about that...




From MAILER-DAEMON Tue Jul 31 15:13:15 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFx9f-0000KC-Om
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 15:13:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFx9f-0000If-43
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:13:15 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFx9e-0000Fi-9R
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:13:14 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFx9e-0000FU-6C
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:13:14 -0400
Received: from host147-8-static.59-217-b.business.telecomitalia.it
	([217.59.8.147] helo=freek.keybit.net)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60)
	(envelope-from <strk@keybit.net>) id 1IFx9d-0004kx-J9
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:13:14 -0400
Received: (from strk@localhost)
	by freek.keybit.net (8.11.1/8.11.1) id l6VJD8X72770;
	Tue, 31 Jul 2007 21:13:08 +0200 (CEST)
	(envelope-from strk@keybit.net)
Date: Tue, 31 Jul 2007 21:13:08 +0200
From: Sandro Santilli <strk@keybit.net>
To: Udo Giacomozzi <udo.gnu@nova-sys.net>
Subject: Re: [Gnash-commit] gnash/gui Player.cpp
Message-ID: <20070731191308.GF56535@keybit.net>
Mail-Followup-To: Udo Giacomozzi <udo.gnu@nova-sys.net>, gnash-commit@gnu.org
References: <E1IE9Lj-0002se-U5@cvs.savannah.gnu.org>
	<168391353.20070731192535@nova-sys.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <168391353.20070731192535@nova-sys.net>
X-detected-kernel: FreeBSD 2.0-4.2
Cc: gnash-commit@gnu.org
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 19:13:15 -0000

On Tue, Jul 31, 2007 at 07:25:35PM +0200, Udo Giacomozzi wrote:
> Hello Sandro,
> 
> Thursday, July 26, 2007, 9:50:15 PM, you wrote:
> SS> +       std::cout << "init_gui called - gui flavor : " << guiName(_guiFlavor) << " ("
> 
> Note these (and other) messages are still being printed to stdout.
> Just FYI, in case you forgot about that...

Yeah, but we're changing everything again. Stay tuned.

--strk;



From MAILER-DAEMON Tue Jul 31 15:30:07 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFxPz-0002Al-G7
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 15:30:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFxPv-00029C-Um
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:30:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFxPs-00028o-L2
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:30:02 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFxPs-00028l-GJ
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:30:00 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFxPq-0000rw-Hq
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:29:59 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFxPb-0008PU-I1
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 19:29:43 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFxPb-0008PR-Br
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 19:29:43 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFxPb-0008PR-Br@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 19:29:43 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac gui/Makefile.am gu...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 19:30:04 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 19:29:43

Modified files:
	.              : ChangeLog configure.ac 
	gui            : Makefile.am Player.cpp Player.h gnash.cpp 

Log message:
	        * configure.ac: rename GUI_CONFIG to SUPPORTED_GUIS to
	          avoid confusion with the define later set by gui/Makefile.am
	        * gui/Makefile.am: build an executable for each supported
	          GUI, named <gui>-gnash
	        * gui/Player.{cpp,h}: drop runtime parsing of gui name, just
	          use whatever gui is specified by the GUI_CONFIG macro set
	          by the Makefile.
	        * gui/gnash.cpp: drop runtime GUI selection  (and -G switch).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3886&r2=1.3887
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.386&r2=1.387
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.95&r2=1.96
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.64&r2=1.65
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.h?cvsroot=gnash&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.88&r2=1.89

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3886
retrieving revision 1.3887
diff -u -b -r1.3886 -r1.3887
--- ChangeLog	31 Jul 2007 17:07:11 -0000	1.3886
+++ ChangeLog	31 Jul 2007 19:29:42 -0000	1.3887
@@ -1,5 +1,16 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac: rename GUI_CONFIG to SUPPORTED_GUIS to
+	  avoid confusion with the define later set by gui/Makefile.am
+	* gui/Makefile.am: build an executable for each supported
+	  GUI, named <gui>-gnash
+	* gui/Player.{cpp,h}: drop runtime parsing of gui name, just
+	  use whatever gui is specified by the GUI_CONFIG macro set
+	  by the Makefile.
+	* gui/gnash.cpp: drop runtime GUI selection  (and -G switch).
+
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/misc-ming.all/ming_utils.c: add word wrapping
 	  to the xtrace window.
 

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.386
retrieving revision 1.387
diff -u -b -r1.386 -r1.387
--- configure.ac	31 Jul 2007 16:43:31 -0000	1.386
+++ configure.ac	31 Jul 2007 19:29:42 -0000	1.387
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.386 2007/07/31 16:43:31 strk Exp $
+dnl $Id: configure.ac,v 1.387 2007/07/31 19:29:42 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -246,51 +246,27 @@
     [case "${val}" in
       gtk|GTK|gtk2|GTK2)
         build_gtk=yes
-        if test "x$DEFAULT_GUI" = "x"; then
-          DEFAULT_GUI=gtk
-        fi
         ;;
       kde|KDE)
         build_kde=yes
-        if test "x$DEFAULT_GUI" = "x"; then
-          DEFAULT_GUI=kde
-        fi
         ;;
       qt|QT)
         build_qt=yes
-        if test "x$DEFAULT_GUI" = "x"; then
-          DEFAULT_GUI=kde
-        fi
         ;;
       sdl|SDL)
         build_sdl=yes
-        if test "x$DEFAULT_GUI" = "x"; then
-          DEFAULT_GUI=sdl
-        fi
         ;;
       aqua|AQUA|Aqua)
         build_aqua=yes
-        if test "x$DEFAULT_GUI" = "x"; then
-          DEFAULT_GUI=aqua
-        fi
         ;;
       riscos|RISCOS|RiscOS)
         build_riscos=yes
-        if test "x$DEFAULT_GUI" = "x"; then
-          DEFAULT_GUI=riscos
-        fi
         ;;
       fltk|FLTK|fltk2|FLTK2)
         build_fltk=yes
-        if test "x$DEFAULT_GUI" = "x"; then
-          DEFAULT_GUI=fltk
-        fi
         ;;
       fb|FB)
         build_fb=yes
-        if test "x$DEFAULT_GUI" = "x"; then
-          DEFAULT_GUI=fb
-        fi
         ;;
       all|ALL)
         build_fb=yes
@@ -1274,35 +1250,31 @@
 AC_SUBST(RENDERER_LIBS)
 AC_SUBST(RENDERER_CONFIG)
 
-GUI_CONFIG=
+SUPPORTED_GUIS=
 if test x$build_fb = xyes; then
-  GUI_CONFIG="${GUI_CONFIG},fb"
+  SUPPORTED_GUIS="${SUPPORTED_GUIS},fb"
 fi
 if test x$build_fltk = xyes; then
-  GUI_CONFIG="${GUI_CONFIG},fltk"
+  SUPPORTED_GUIS="${SUPPORTED_GUIS},fltk"
 fi
 if test x$build_kde = xyes; then
-  GUI_CONFIG="${GUI_CONFIG},kde"
+  SUPPORTED_GUIS="${SUPPORTED_GUIS},kde"
 fi
 if test x$build_gtk = xyes; then
-  GUI_CONFIG="${GUI_CONFIG},gtk"
+  SUPPORTED_GUIS="${SUPPORTED_GUIS},gtk"
 fi
 if test x$build_sdl = xyes; then
-  GUI_CONFIG="${GUI_CONFIG},sdl"
+  SUPPORTED_GUIS="${SUPPORTED_GUIS},sdl"
 fi
 if test x$build_riscos = xyes; then
-  GUI_CONFIG="${GUI_CONFIG},riscos"
+  SUPPORTED_GUIS="${SUPPORTED_GUIS},riscos"
 fi
 if test x$build_aqua = xyes; then
-  GUI_CONFIG="${GUI_CONFIG},aqua"
+  SUPPORTED_GUIS="${SUPPORTED_GUIS},aqua"
 fi
-GUI_CONFIG="`echo ${GUI_CONFIG} | sed 's/,//'`" # Strip leading comma
-AC_SUBST(GUI_CONFIG)
+SUPPORTED_GUIS="`echo ${SUPPORTED_GUIS} | sed 's/,//'`" # Strip leading comma
+AC_SUBST(SUPPORTED_GUIS)
 
-if test "x$DEFAULT_GUI" = "x"; then
-  DEFAULT_GUI=gtk
-fi
-AC_SUBST(DEFAULT_GUI)
 MEDIA_CONFIG=${media_handler}
 AC_SUBST(MEDIA_CONFIG)
 
@@ -1439,7 +1411,7 @@
 if test x"$extensions_list" != x; then
   echo "        Building extensions: ${extensions_list}"
 fi
-echo "        GUI toolkits supported: ${GUI_CONFIG} (default gui: ${DEFAULT_GUI})"
+echo "        GUI toolkits supported: ${SUPPORTED_GUIS}"
 echo "        Renderers supported: ${add_renderer}"
 echo "        Media handler: "$media_handler
 if test x"$media_handler" = xffmpeg -o x"$media_handler" = xmad; then

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -b -r1.95 -r1.96
--- gui/Makefile.am	30 Jul 2007 14:27:08 -0000	1.95
+++ gui/Makefile.am	31 Jul 2007 19:29:42 -0000	1.96
@@ -15,7 +15,9 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-# $Id: Makefile.am,v 1.95 2007/07/30 14:27:08 nihilus Exp $
+# 
+# build gtk-gnash, kde-gnash, sdl-gnash, fltk-gnash, aqua-gnash, fb-gnash and riscos-gnash
+#
 
 AUTOMAKE_OPTIONS = -Wno-portability
 
@@ -24,9 +26,10 @@
 # this is where Gnash plugins get installed
 pluginsdir = $(libdir)/gnash/plugins
 
-lib_LTLIBRARIES = libgnashgui.la libgnashplayer.la
+# noinst_LTLIBRARIES = libgnashgui.la
 BUILT_SOURCES = klash.moc .configline
 
+noinst_LTLIBRARIES = 
 AM_CPPFLAGS = -I.. \
         -I$(top_srcdir) \
         -I$(top_srcdir)/server \
@@ -77,68 +80,13 @@
 	$(PTHREAD_LIBS) \
 	$(NULL)
 
-libgnashgui_la_SOURCES = \
-	gui.cpp gui.h \
-	NullGui.cpp \
-	gui_gtk.cpp \
-	gui_kde.cpp \
-	gui_sdl.cpp \
-	gui_fb.cpp \
-	gui_fltk.cpp \
-	gui_aqua.cpp \
-	gui_riscos.cpp \
-	NullGui.h
-
-libgnashgui_la_LIBADD = \
-	$(top_builddir)/server/libgnashserver.la \
-	$(top_builddir)/backend/libgnashbackend.la \
-	$(top_builddir)/libamf/libgnashamf.la 
-
-# is LDFLAGS still needed when AM_LDFLAGS is defined already ?
-libgnashgui_la_LDFLAGS = \
-	-release $(VERSION) \
-	$(AM_LDFLAGS)
-
-libgnashgui_la_CPPFLAGS = $(AM_CPPFLAGS) $(GUI_CPPFLAGS)
-
-
-libgnashplayer_la_SOURCES = \
-        Player.cpp Player.h
-
-libgnashplayer_la_LIBADD = \
-        $(top_builddir)/server/libgnashserver.la \
-        $(top_builddir)/backend/libgnashbackend.la \
-        libgnashgui.la
-
-libgnashplayer_la_CPPFLAGS = $(AM_CPPFLAGS) $(GUI_CPPFLAGS)
-libgnashplayer_la_LDFLAGS = \
-        -release $(VERSION) \
-        -no-undefined \
-        -export-dynamic \
-        $(AM_LDFLAGS)
-
 GNASH_LIBS = \
 	$(top_builddir)/libamf/libgnashamf.la \
 	$(top_builddir)/backend/libgnashbackend.la \
 	$(top_builddir)/server/libgnashserver.la \
 	$(top_builddir)/libgeometry/libgnashgeo.la \
-	$(top_builddir)/libbase/libgnashbase.la
-
-KLASH_LIBS = \
-	$(top_builddir)/libamf/libgnashamf.la \
-	$(top_builddir)/backend/libgnashbackend.la \
-	$(top_builddir)/server/libgnashserver.la \
-	$(top_builddir)/libgeometry/libgnashgeo.la \
-	$(top_builddir)/libbase/libgnashbase.la
-
-#
-# Build the libraries that hold the combined GUI toolkit and
-# renderer. These are built as static libraries if doing a static
-# build for debugging. Otherwise they are built as a loadable shared
-# library module so we can dlopen() them at runtime.
-#
-
-plugins_LTLIBRARIES =		# set later on by conditionals
+	$(top_builddir)/libbase/libgnashbase.la \
+	$(MYSQL_LIBS)
 
 # Only build loadable modules unless statically linking
 if DYNAMIC_GUI # make shared libraries suitable for dlopen().
@@ -153,10 +101,8 @@
 
 # AQUA Toolkit
 if BUILD_AQUA_GUI
-
 #OS X stuff goes here...
-
-     GUI_CPPFLAGS += -DGUI_AQUA
+GUI_CPPFLAGS += -DGUI_AQUA
 
 bundle_name = gnash.app
 
@@ -172,254 +118,18 @@
 	cp -f images/GnashG.icns $(bundle_name)/Contents/Resources/
      
 if  HAVE_OPENGL
-     plugins_LTLIBRARIES += libgnashaqua_ogl.la
-     libgnashaqua_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
+noinst_LTLIBRARIES += libgnashaqua_ogl.la
+libgnashaqua_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	$(OPENGL_CFLAGS)
-     libgnashaqua_ogl_la_SOURCES = \
+libgnashaqua_ogl_la_SOURCES = \
 	aqua_ogl_glue.cpp aqua_ogl_glue.h \
 	aqua.cpp aquasup.h aqua_glue.h
-     libgnashaqua_ogl_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashaqua_ogl_la_LIBADD = \
+libgnashaqua_ogl_la_LDFLAGS = $(LIB_FLAGS)
+libgnashaqua_ogl_la_LIBADD = \
 	$(top_builddir)/backend/libgnashogl.la 
-     libgnashgui_la_LIBADD += libgnashaqua_ogl.la
 endif # HAVE_OPENGL
 endif # BUILD_AQUA_GUI
 
-# GTK2 Toolkit
-if BUILD_GTK_GUI
-     GUI_CPPFLAGS += -DGUI_GTK $(GTK_CFLAGS)
-if  HAVE_OPENGL
-     plugins_LTLIBRARIES += libgnashgtk_ogl.la
-     libgnashgtk_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(GTK_CFLAGS) $(OPENGL_CFLAGS)
-     libgnashgtk_ogl_la_SOURCES = \
-	gtk_glue_gtkglext.cpp gtk_glue_gtkglext.h \
-	gtk.cpp gtksup.h gtk_glue.h
-     libgnashgtk_ogl_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashgtk_ogl_la_LIBADD = \
-	$(top_builddir)/backend/libgnashogl.la $(GTK_LIBS)
-     libgnashgui_la_LIBADD += libgnashgtk_ogl.la
-endif # HAVE_OPENGL
-if  HAVE_AGG
-     plugins_LTLIBRARIES += libgnashgtk_agg.la
-     libgnashgtk_agg_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(GTK_CFLAGS) $(AGG_CFLAGS)
-     libgnashgtk_agg_la_SOURCES = \
-	gtk_glue_agg.cpp gtk_glue_agg.h \
-	gtk.cpp gtksup.h gtk_glue.h
-     libgnashgtk_agg_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashgtk_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la \
-	$(GTK_LIBS) $(AGG_LIBS)
-     libgnashgui_la_LIBADD += libgnashgtk_agg.la
-endif # HAVE_AGG
-if  HAVE_CAIRO
-     plugins_LTLIBRARIES += libgnashgtk_cairo.la
-     libgnashgtk_cairo_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(GTK_CFLAGS) $(CAIRO_CFLAGS)
-     libgnashgtk_cairo_la_SOURCES = \
-	gtk_glue_cairo.cpp gtk_glue_cairo.h \
-	gtk.cpp gtksup.h gtk_glue.h
-     libgnashgtk_cairo_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashgtk_cairo_la_LIBADD = \
-	$(top_builddir)/backend/libgnashcairo.la \
-	$(GTK_LIBS) $(CAIRO_LIBS)
-     libgnashgui_la_LIBADD += libgnashgtk_cairo.la
-endif # HAVE_CAIRO
-endif # BUILD_GTK_GUI
-
-# KDE/QT Toolkit
-if BUILD_KDE_GUI
-     GUI_CPPFLAGS += -DGUI_KDE $(KDE_CFLAGS) $(QT_CFLAGS)
-if  HAVE_OPENGL
-     plugins_LTLIBRARIES += libgnashkde_ogl.la
-     libgnashkde_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(OPENGL_FLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
-     libgnashkde_ogl_la_SOURCES = \
-	kde_glue_opengl.cpp kde_glue_opengl.h kde_glue.h \
-	kde.cpp kdesup.h kde_glue.h
-     libgnashkde_ogl_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashkde_ogl_la_LIBADD = \
-	$(top_builddir)/backend/libgnashogl.la \
-	$(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
-     libgnashgui_la_LIBADD += libgnashkde_ogl.la
-endif # HAVE_OPENGL
-if  HAVE_AGG
-     plugins_LTLIBRARIES += libgnashkde_agg.la
-     libgnashkde_agg_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(AGG_CFLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
-     libgnashkde_agg_la_SOURCES = \
-	kde_glue_agg.cpp kde_glue_agg.h \
-	kde.cpp kdesup.h kde_glue.h
-     libgnashkde_agg_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashkde_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la \
-	$(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
-     libgnashgui_la_LIBADD += libgnashkde_agg.la
-endif # HAVE_AGG
-endif # BUILD_KDE_GUI
-
-# SDL Toolkit
-if BUILD_SDL_GUI
-     GUI_CPPFLAGS += -DGUI_SDL $(SDL_CFLAGS)
-if  HAVE_OPENGL
-     plugins_LTLIBRARIES += libgnashsdl_ogl.la
-     libgnashsdl_ogl_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(SDL_CFLAGS) $(OPENGL_CFLAGS)
-     libgnashsdl_ogl_la_SOURCES = \
-	sdl_ogl_glue.cpp sdl_ogl_glue.h \
-	sdl.cpp sdlsup.h sdl_glue.h
-     libgnashsdl_ogl_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashsdl_ogl_la_LIBADD = \
-	$(top_builddir)/backend/libgnashogl.la \
-	$(SDL_LIBS) $(OPENGL_LIBS)
-     libgnashgui_la_LIBADD += libgnashsdl_ogl.la
-endif # HAVE_OPENGL
-if  HAVE_AGG
-     plugins_LTLIBRARIES += libgnashsdl_agg.la
-     libgnashsdl_agg_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(SDL_CFLAGS) $(AGG_CFLAGS)
-     libgnashsdl_agg_la_SOURCES = \
-	sdl_agg_glue.cpp sdl_agg_glue.h \
-	sdl.cpp sdlsup.h sdl_glue.h
-     libgnashsdl_agg_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashsdl_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la \
-	$(SDL_LIBS) $(AGG_LIBS) 
-     libgnashgui_la_LIBADD += libgnashsdl_agg.la
-endif # HAVE_AGG
-if  HAVE_CAIRO
-     plugins_LTLIBRARIES += libgnashsdl_cairo.la
-     libgnashsdl_cairo_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(SDL_CFLAGS) $(CAIRO_CFLAGS)
-     libgnashsdl_cairo_la_SOURCES = \
-	sdl_cairo_glue.cpp sdl_cairo_glue.h \
-	sdl.cpp sdlsup.h sdl_glue.h
-     libgnashsdl_cairo_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashsdl_cairo_la_LIBADD = \
-	$(top_builddir)/backend/libgnashcairo.la \
-	$(SDL_LIBS) $(CAIRO_LIBS)
-     libgnashgui_la_LIBADD += libgnashsdl_cairo.la
-endif # HAVE_CAIRO
-endif # BUILD_SDL_GUI
-
-# FLTK2 Toolkit
-if BUILD_FLTK_GUI
-
-     GUI_CPPFLAGS += -DGUI_FLTK $(FLTK2_CFLAGS)
-if  HAVE_AGG
-     plugins_LTLIBRARIES += libgnashfltk_agg.la
-     libgnashfltk_agg_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(FLTK2_CFLAGS) $(AGG_CFLAGS)
-     libgnashfltk_agg_la_SOURCES = \
-	fltk_glue_agg.cpp fltk_glue_agg.h \
-	fltk.cpp fltksup.h 
-     libgnashfltk_agg_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashfltk_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la \
-	$(FLTK2_LIBS) $(AGG_LIBS) $(XFT_LIBS) $(X11_LIBS)
-     libgnashgui_la_LIBADD += libgnashfltk_agg.la
-endif # HAVE_AGG
-
-if  HAVE_CAIRO
-     plugins_LTLIBRARIES += libgnashfltk_cairo.la
-     libgnashfltk_cairo_la_CPPFLAGS = $(AM_CPPFLAGS) \
-	$(FLTK2_CFLAGS) $(CAIRO_CFLAGS)
-     libgnashfltk_cairo_la_SOURCES = \
-	fltk_glue_cairo.cpp fltk_glue_cairo.h \
-	fltk.cpp fltksup.h 
-     libgnashfltk_cairo_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashfltk_cairo_la_LIBADD = \
-	$(top_builddir)/backend/libgnashcairo.la \
-	$(FLTK2_LIBS) $(CAIRO_LIBS) $(XFT_LIBS) $(X11_LIBS)
-     libgnashgui_la_LIBADD += libgnashfltk_cairo.la
-endif # HAVE_CAIRO
-
-endif # BUILD_FLTK_GUI
-
-# Framebuffer, no toolkit
-if BUILD_FB_GUI
-     GUI_CPPFLAGS += -DGUI_FB
-if  HAVE_AGG
-     libgnashsdl_agg_la_CPPFLAGS = $(AM_CPPFLAGS) $(SDL_CFLAGS)
-     plugins_LTLIBRARIES += libgnashfb_agg.la
-     libgnashfb_agg_la_SOURCES = \
-	fb.cpp fbsup.h
-     libgnashfb_agg_la_LDFLAGS = $(LIB_FLAGS)
-     libgnashfb_agg_la_LIBADD = \
-	$(top_builddir)/backend/libgnashagg.la \
-	$(SDL_LIBS) $(AGG_LIBS)
-     libgnashgui_la_LIBADD += libgnashfb_agg.la
-endif # HAVE_AGG
-endif # BUILD_FB_GUI
-
-#
-# When static linking, we have to link in the correct library. These
-# are built as static libraries by the above section,
-#
-
-#
-# Setup the GUIs that have OpenGL support
-#
-if STATIC_GUI
-if  BUILD_OGL_RENDERER
-if   BUILD_GTK_GUI
-      GNASH_LIBS += libgnashgtk_ogl.la $(GTK_LIBS) $(OPENGL_LIBS)
-endif # BUILD_GTK_GUI
-if   BUILD_AQUA_GUI
-      GNASH_LIBS += libgnashaqua_ogl.la $(AQUA_LIBS) $(OPENGL_LIBS)
-endif # BUILD_AQUA_GUI
-if   BUILD_SDL_GUI
-      GNASH_LIBS += libgnashsdl_ogl.la $(SDL_LIBS) $(OPENGL_LIBS)
-endif # BUILD_SDL_GUI
-if BUILD_KDE_GUI
-     GNASH_LIBS += libgnashkde_ogl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
-     KLASH_LIBS += libgnashkde_ogl.la $(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
-endif # BUILD_KDE_GUI
-endif # BUILD_OPENGL_RENDERER
-
-#
-# Setup the GUIs that have Cairo support
-#
-if  BUILD_CAIRO_RENDERER
-if   BUILD_GTK_GUI
-      GNASH_LIBS += libgnashgtk_cairo.la $(GTK_LIBS) $(CAIRO_LIBS)
-endif # BUILD_GTK_GUI
-if   BUILD_SDL_GUI
-      GNASH_LIBS += libgnashsdl_cairo.la $(SDL_LIBS) $(CAIRO_LIBS)
-endif # BUILD_SDL
-if   BUILD_FLTK_GUI
-      GNASH_LIBS += libgnashfltk_cairo.la $(FLTK2_LIBS) $(CAIRO_LIBS) $(XFT_LIBS) $(X11_LIBS)
-endif # BUILD_FLTK_GUI
-endif # BUILD_CAIRO_RENDERER
-
-#
-# Setup the GUIs that have AntiGrain (AGG) support
-#
-if  BUILD_AGG_RENDERER
-if   BUILD_GTK_GUI
-      GNASH_LIBS += libgnashgtk_agg.la $(AGG_LIBS) $(GTK_LIBS)
-endif # BUILD_GTK_GUI
-if  BUILD_AQUA_GUI
-     GNASH_LIBS += libgnashaqua_agg.la $(AQUA_LIBS) $(AGG_LIBS)
-endif # BUILD_AQUA_GUI
-if  BUILD_SDL_GUI
-     GNASH_LIBS += libgnashsdl_agg.la $(SDL_LIBS) $(AGG_LIBS)
-endif # BUILD_SDL_GUI
-if  BUILD_FLTK_GUI
-     GNASH_LIBS += libgnashfltk_agg.la $(FLTK2_LIBS) $(AGG_LIBS) $(XFT_LIBS) $(X11_LIBS)
-endif # BUILD_FLTK_GUI
-if  BUILD_KDE_GUI
-     GNASH_LIBS += libgnashkde_agg.la $(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
-     KLASH_LIBS += libgnashkde_agg.la $(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
-endif # BUILD_KDE_GUI
-if  BUILD_RISCOS_GUI
-     GNASH_LIBS += libgnashriscos_agg.la $(RISCOS_LIBS) $(AGG_LIBS)
-     AM_LDFLAGS += -lOSLib32
-endif # BUILD_RISCOS_GUI
-endif # BUILD_AGG_RENDERER
-endif # STATIC_GUI
-
 if USE_SOUND_SDL
 if USE_FFMPEG_ENGINE
 AM_LDFLAGS += $(FFMPEG_LIBS)
@@ -443,10 +153,8 @@
 #  FLTK_SRCS = 
 # endif
 
-
 AM_CPPFLAGS += -DPKGDATADIR=\"$(pkgdatadir)\"
 AM_CPPFLAGS += -DRENDERER_CONFIG=\"$(RENDERER_CONFIG)\"
-AM_CPPFLAGS += -DGUI_CONFIG=\"$(GUI_CONFIG)\" -DDEFAULT_GUI=\"$(DEFAULT_GUI)\"
 AM_CPPFLAGS += -DMEDIA_CONFIG=\"$(MEDIA_CONFIG)\"
 AM_CPPFLAGS += -DTARGET_CONFIG=\"$(target)\"
 AM_CPPFLAGS += -DCONFIG_CONFIG="\"$(shell cat .configline)\""
@@ -455,23 +163,208 @@
 #dist_images_DATA = images/gnash_G_v3.ico
 imagesdir = $(pkgdatadir)
 
-bin_PROGRAMS = gnash
+bin_PROGRAMS = 
+
+GUI_SRCS = gnash.cpp \
+	gui.cpp gui.h \
+	Player.cpp Player.h \
+	NullGui.cpp NullGui.h
+
 if BUILD_AQUA_GUI
 bin_PROGRAMS += bundle
 bundle_SOURCES = $(NULL)
 endif
 
-gnash_SOURCES = gnash.cpp
-# export our symbols so they can be used by Gnash plugins
-gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 
-gnash_DEPENDENCIES = libgnashgui.la .configline
-gnash_LDADD = \
-	libgnashgui.la \
-	libgnashplayer.la \
+#
+# Build the KDE gui
+# 
+if BUILD_KDE_GUI
+bin_PROGRAMS += kde-gnash
+kde_gnash_CPPFLAGS = -DGUI_KDE -DGUI_CONFIG=\"KDE\" \
+	 $(AM_CPPFLAGS) $(KDE_CFLAGS) $(QT_CFLAGS)
+kde_gnash_SOURCES = $(GUI_SRCS) gui_kde.cpp
+kde_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 
+kde_gnash_DEPENDENCIES = .configline
+kde_gnash_LDADD = \
+	$(MYSQL_LIBS) \
+	$(GNASH_LIBS) \
+	$(AM_LDFLAGS)
+if BUILD_OGL_RENDERER
+kde_gnash_CPPFLAGS += $(OPENGL_CFLAGS)
+kde_gnash_LDADD += $(top_builddir)/backend/libgnashogl.la \
+	$(KDE_LIBS) $(QT_LIBS) $(OPENGL_LIBS)
+kde_gnash_SOURCES += kde_glue_opengl.cpp kde_glue_opengl.h kde_glue.h \
+	 	kde.cpp kdesup.h kde_glue.h
+endif
+if BUILD_AGG_RENDERER
+kde_gnash_CPPFLAGS += $(AGG_CFLAGS)
+kde_gnash_LDADD += $(top_builddir)/backend/libgnashagg.la \
+	$(KDE_LIBS) $(QT_LIBS) $(AGG_LIBS)
+kde_gnash_SOURCES += kde_glue_agg.cpp kde_glue_agg.h \
+	 	kde.cpp kdesup.h kde_glue.h
+endif
+endif
+
+#
+# Build the SDL gui
+#
+if BUILD_SDL_GUI
+bin_PROGRAMS += sdl-gnash
+sdl_gnash_CPPFLAGS = -DGUI_SDL -DGUI_CONFIG=\"SDL\" \
+	 $(AM_CPPFLAGS) $(SDL_CFLAGS) 
+sdl_gnash_SOURCES = $(GUI_SRCS) gui_sdl.cpp
+sdl_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 
+sdl_gnash_DEPENDENCIES = .configline
+sdl_gnash_LDADD = \
+	$(MYSQL_LIBS) \
+	$(GNASH_LIBS) \
+	$(AM_LDFLAGS)
+if BUILD_OGL_RENDERER
+sdl_gnash_CPPFLAGS += $(OPENGL_CFLAGS)
+sdl_gnash_LDADD += $(top_builddir)/backend/libgnashogl.la \
+	$(SDL_LIBS) $(OPENGL_LIBS)
+sdl_gnash_SOURCES += sdl_ogl_glue.cpp sdl_ogl_glue.h \
+	 	sdl.cpp sdlsup.h sdl_glue.h
+endif
+if BUILD_AGG_RENDERER
+sdl_gnash_CPPFLAGS += $(AGG_CFLAGS)
+sdl_gnash_LDADD += $(top_builddir)/backend/libgnashagg.la \
+	$(SDL_LIBS) $(AGG_LIBS)
+sdl_gnash_SOURCES += sdl_agg_glue.cpp sdl_agg_glue.h \
+	 	sdl.cpp sdlsup.h sdl_glue.h
+endif
+endif
+
+#
+# Build the FLTK gui
+#
+if BUILD_FLTK_GUI
+bin_PROGRAMS += fltk-gnash
+fltk_gnash_CPPFLAGS = -DGUI_FLTK -DGUI_CONFIG=\"FLTK\" \
+	$(AM_CPPFLAGS) $(FLTK2_CFLAGS)
+fltk_gnash_SOURCES = $(GUI_SRCS) gui_fltk.cpp
+fltk_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 
+fltk_gnash_DEPENDENCIES = .configline
+fltk_gnash_LDADD = \
+	$(MYSQL_LIBS) \
+	$(GNASH_LIBS) \
+	$(AM_LDFLAGS)
+# if BUILD_OGL_RENDERER
+#	fltk_gnash_CPPFLAGS += $(OPENGL_CFLAGS)
+# 	fltk_gnash_LDADD += $(top_builddir)/backend/libgnashogl.la
+#	$(SDL_LIBS) $(OPENGL_LIBS)
+# 	fltk_gnash_SOURCES += fltk_glue_ogl.cpp fltk_glue_ogl.h \
+# 	 	fltk.cpp fltksup.h 
+# endif
+if BUILD_AGG_RENDERER
+fltk_gnash_CPPFLAGS += $(AGG_CFLAGS)
+fltk_gnash_LDADD += $(top_builddir)/backend/libgnashagg.la \
+	$(FLTK2_LIBS) $(AGG_LIBS) $(XFT_LIBS) $(X11_LIBS)
+fltk_gnash_SOURCES += fltk_glue_agg.cpp fltk_glue_agg.h \
+	 	fltk.cpp fltksup.h 
+endif
+endif
+
+#
+# Build the AQUA gui
+#
+if BUILD_AQUA_GUI
+bin_PROGRAMS += aqua-gnash
+aqua_gnash_CPPFLAGS = -DGUI_AQUA $(AM_CPPFLAGS) -DGUI_CONFIG=\"AQUA\"
+aqua_gnash_SOURCES = $(GUI_SRCS) gui_aqua.cpp
+aqua_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic 
+aqua_gnash_DEPENDENCIES = .configline
+aqua_gnash_LDADD = \
 	$(MYSQL_LIBS) \
 	$(GNASH_LIBS) \
 	$(AM_LDFLAGS)
-#	$(LIBLTDL) "-dlopen" self "-dlopen"
+if BUILD_OGL_RENDERER
+aqua_gnash_CPPFLAGS += $(OPENGL_CFLAGS)
+aqua_gnash_LDADD += $(top_builddir)/backend/libgnashogl.la \
+	$(AQUA_LIBS) $(OPENGL_LIBS)
+aqua_gnash_SOURCES += aqua_ogl_glue.cpp aqua_ogl_glue.h \
+	aqua.cpp aquasup.h aqua_glue.h
+endif
+# if BUILD_AGG_RENDERER
+#	aqua_gnash_CPPFLAGS += $(AGG_CFLAGS)
+# 	aqua_gnash_LDADD += $(top_builddir)/backend/libgnashagg.la \
+#	$(AQUA_LIBS) $(AGG_LIBS)
+# 	aqua_gnash_SOURCES += aqua_agg_glue.cpp aqua_agg_glue.h \
+# 	aqua.cpp aquasup.h aqua_glue.h
+# endif
+endif
+
+#
+# Build the GTK gui
+#
+if BUILD_GTK_GUI
+bin_PROGRAMS += gtk-gnash
+gtk_gnash_SOURCES = $(GUI_SRCS) gui_gtk.cpp
+gtk_gnash_CPPFLAGS = -DGUI_GTK -DGUI_CONFIG=\"GTK\" \
+	$(AM_CPPFLAGS) $(GTK_CFLAGS)
+gtk_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic $(AM_LDFLAGS)
+gtk_gnash_DEPENDENCIES = .configline
+
+if BUILD_OGL_RENDERER
+gtk_gnash_CPPFLAGS += $(OPENGL_CFLAGS)
+gtk_gnash_SOURCES += gtk_glue_gtkglext.cpp gtk_glue_gtkglext.h \
+		gtk.cpp gtksup.h gtk_glue.h
+gtk_gnash_LDADD = $(top_builddir)/backend/libgnashogl.la \
+		$(GNASH_LIBS) $(GTK_LIBS) $(OPENGL_LIBS)
+endif				# BUILD_OGL_RENDERER
+if BUILD_AGG_RENDERER
+gtk_gnash_CPPFLAGS += $(AGG_CFLAGS)
+gtk_gnash_SOURCES += gtk_glue_agg.cpp gtk_glue_agg.h \
+		gtk.cpp gtksup.h gtk_glue.h
+gtk_gnash_LDADD = $(top_builddir)/backend/libgnashagg.la \
+		$(GNASH_LIBS) $(GTK_LIBS) $(AGG_LIBS)
+endif				# BUILD_AGG_RENDERER
+if BUILD_CAIRO_RENDERER
+gtk_gnash_CPPFLAGS += $(CAIRO_CFLAGS)
+gtk_gnash_SOURCES += gtk_glue_cairo.cpp gtk_glue_cairo.h \
+		gtk.cpp gtksup.h gtk_glue.h
+gtk_gnash_LDADD = $(top_builddir)/backend/libgnashcairo.la
+		$(GNASH_LIBS) $(GTK_LIBS) $(CAIRO_LIBS)
+endif				# BUILD_CAIRO_RENDERER
+endif				# BUILD_GTK_GUI
+
+#
+# Build the FB gui
+#
+if BUILD_FB_GUI
+bin_PROGRAMS += fb-gnash
+fb_gnash_SOURCES = $(GUI_SRCS) gui_fb.cpp fb.cpp fbsup.h
+fb_gnash_CPPFLAGS = -DGUI_FB -DGUI_CONFIG=\"FB\" \
+	$(AM_CPPFLAGS) 
+fb_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic $(AM_LDFLAGS)
+fb_gnash_DEPENDENCIES = .configline
+
+if BUILD_AGG_RENDERER
+fb_gnash_CPPFLAGS += $(AGG_CFLAGS)
+fb_gnash_SOURCES += 
+fb_gnash_LDADD = $(top_builddir)/backend/libgnashagg.la \
+		$(GNASH_LIBS) $(AGG_LIBS)
+endif				# BUILD_AGG_RENDERER
+endif				# BUILD_FB_GUI
+
+#
+# Build the RISCOS gui
+#
+if BUILD_RISCOS_GUI
+bin_PROGRAMS += riscos-gnash
+riscos_gnash_SOURCES = $(GUI_SRCS) gui_riscos.cpp riscos.cpp riscos_glue.h riscossup.h
+riscos_gnash_CPPFLAGS = -DGUI_FB -DGUI_CONFIG=\"FB\" \
+	$(AM_CPPFLAGS) 
+riscos_gnash_LDFLAGS = $(LIBLTDL) -export-dynamic $(AM_LDFLAGS)
+riscos_gnash_DEPENDENCIES = .configline
+
+if BUILD_AGG_RENDERER
+riscos_gnash_CPPFLAGS += $(AGG_CFLAGS)
+riscos_gnash_SOURCES += riscos_glue_agg.cpp  riscos_glue_agg.h   
+riscos_gnash_LDADD = $(top_builddir)/backend/libgnashagg.la \
+		$(GNASH_LIBS) $(AGG_LIBS)
+endif				# BUILD_AGG_RENDERER
+endif				# BUILD_FB_GUI
 
 CLEANFILES = klash.moc .configline
 
@@ -501,10 +394,10 @@
 clean-hook:
 	-rm -f core.* $(CLEANFILES)
 
-if DYNAMIC_GUI
-install-pluginsLTLIBRARIES: $(plugins_LTLIBRARIES)
-	test -d "$(DESTDIR)$(plugindir)" || $(mkinstalldirs) "$(DESTDIR)$(plugindir)"
-	for i in $(plugins_LTLIBRARIES); do \
-	  $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$i "$(DESTDIR)$(plugindir)/$$i" ; \
-	done
-endif
+# if DYNAMIC_GUI
+# install-pluginsLTLIBRARIES: $(plugins_LTLIBRARIES)
+# 	test -d "$(DESTDIR)$(plugindir)" || $(mkinstalldirs) "$(DESTDIR)$(plugindir)"
+# 	for i in $(plugins_LTLIBRARIES); do \
+# 	  $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$i "$(DESTDIR)$(plugindir)/$$i" ; \
+# 	done
+# endif

Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- gui/Player.cpp	28 Jul 2007 01:18:32 -0000	1.64
+++ gui/Player.cpp	31 Jul 2007 19:29:42 -0000	1.65
@@ -88,7 +88,6 @@
 #ifdef GNASH_FPS_DEBUG
 	,_fpsDebugTime(0.0)
 #endif
-	,_guiFlavor(parseGuiFlavorByName(DEFAULT_GUI))
 {
 	init();
 }
@@ -180,12 +179,9 @@
 void
 Player::init_gui()
 {
-	std::cout << "init_gui called - gui flavor : " << guiName(_guiFlavor) << " (" << _guiFlavor << ")" << std::endl;
 	if ( do_render )
 	{
-		std::cout << "Gui flavor is " << _guiFlavor << std::endl;
-
-		_gui = getGui(_guiFlavor); // throws on unsupported gui
+		_gui = getGui(); 
 
 		RcInitFile& rcfile = RcInitFile::getDefaultInstance();
 		if ( rcfile.startStopped() )
@@ -279,7 +275,7 @@
 	// which is *required* during movie loading
 	if ( ! _gui->init(argc, &argv) )
 	{
-    		std::cerr << "Could not initialize gui " <<  guiName(_guiFlavor) << std::endl;
+    		std::cerr << "Could not initialize gui." << std::endl;
 		return EXIT_FAILURE;
 	}
 
@@ -372,96 +368,36 @@
 
 /* private */
 std::auto_ptr<Gui>
-Player::getGui(GuiFlavor which)
+Player::getGui()
 {
-	std::cout << "getGui(" << which << ") called " << std::endl;
-	switch (which)
-	{
-
-		case guiGTK:
+#ifdef GUI_GTK
 			return createGTKGui(windowid, scale, do_loop, bit_depth);
+#endif
 
-		case guiKDE:
+#ifdef GUI_KDE
 			return createKDEGui(windowid, scale, do_loop, bit_depth);
+#endif
 
-		case guiSDL:
+#ifdef GUI_SDL
 			return createSDLGui(windowid, scale, do_loop, bit_depth);
+#endif
 
-		case guiAQUA:
+#ifdef GUI_AQUA
 			return createAQUAGui(windowid, scale, do_loop, bit_depth);
+#endif
 
-		case guiRISCOS:
+#ifdef GUI_RISCOS
 			return createRISCOSGui(windowid, scale, do_loop, bit_depth);
+#endif
 
-		case guiFLTK:
+#ifdef GUI_FLTK
 			return createFLTKGui(windowid, scale, do_loop, bit_depth);
+#endif
 
-		case guiFB:
+#ifdef GUI_FB
 			return createFBGui(windowid, scale, do_loop, bit_depth);
+#endif
 
-		case guiNull:
 			return std::auto_ptr<Gui>(new NullGui(do_loop));
-
-	}
-
-	std::stringstream ss;
-	ss << "Unknown gui flavor " << which << " requested";
-	throw GnashException(ss.str());
 }
 
-/* public */
-std::string
-Player::guiName(GuiFlavor which)
-{
-	switch (which)
-	{
-
-		case guiGTK:
-			return "GTK";
-
-		case guiKDE:
-			return "KDE";
-
-		case guiSDL:
-			return "SDL";
-
-		case guiAQUA:
-			return "AQUA";
-
-		case guiRISCOS:
-			return "RISCOS";
-
-		case guiFLTK:
-			return "FLTK";
-
-		case guiFB:
-			return "FB";
-
-		case guiNull:
-			return "NULL";
-
-	}
-
-	std::stringstream ss;
-	ss << "unknown(" << which << ")";
-	return ss.str();
-}
-
-Player::GuiFlavor
-Player::parseGuiFlavorByName(const std::string& flavorName)
-{
-	StringNoCaseEqual match;
-
-	if ( match(flavorName, "GTK") ) return guiGTK;
-	if ( match(flavorName, "KDE") ) return guiKDE;
-	if ( match(flavorName, "SDL") ) return guiSDL;
-	if ( match(flavorName, "FLTK") ) return guiFLTK;
-	if ( match(flavorName, "FB") ) return guiFB;
-	if ( match(flavorName, "AQUA") ) return guiAQUA;
-	if ( match(flavorName, "RISCOS") ) return guiRISCOS;
-	if ( match(flavorName, "NULL") ) return guiNull;
-
-	std::stringstream ss;
-	ss << "Unknown Gui flavor " << flavorName;
-	throw GnashException(ss.str());
-}

Index: gui/Player.h
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- gui/Player.h	29 Jul 2007 04:03:48 -0000	1.16
+++ gui/Player.h	31 Jul 2007 19:29:43 -0000	1.17
@@ -53,34 +53,6 @@
 {
 public:
 
-	/// A GUI to use as frontend
-	enum GuiFlavor {
-
-		/// Null gui
-		guiNull,
-
-		/// GTK gui
-		guiGTK,
-
-		/// QT/KDE gui
-		guiKDE,
-
-		/// SDL gui
-		guiSDL,
-
-		/// AQUA gui (for OS/X)
-		guiAQUA,
-
-		/// RISCOS gui
-		guiRISCOS,
-
-		/// FLTK2 gui
-		guiFLTK,
-
-		/// Framebuffer (no gui actually)
-		guiFB
-	};
-
 	Player();
 
 	~Player() {}
@@ -138,22 +110,6 @@
 
 	void setDoSound(bool b) { do_sound=b; }
 
-	/// Set gui flavor by name
-	//
-	/// Throws an exception if gui name is invalid
-	///
-	void setGuiFlavor(const std::string& flavorName) {
-		GuiFlavor flav = parseGuiFlavorByName(flavorName);
-		std::cout << "Flavor '" << flavorName << "' parsed as " << flav << std::endl;
-		//setGuiFlavor(parseGuiFlavorByName(flavorName));
-		setGuiFlavor(flav);
-	}
-
-	/// Return name of given Gui flavor
-	std::string guiName(GuiFlavor which);
-
-	void setGuiFlavor(GuiFlavor which) { _guiFlavor = which; }
-
 	/// Set the base url for this run.
 	//
 	/// The base url will be used to resolve relative
@@ -181,13 +137,6 @@
 	
 private:
 
-	/// Parse gui by name
-	//
-	/// Throws an exception if gui name is invalid
-	///
-	GuiFlavor parseGuiFlavorByName(const std::string& flavorName);
-
-
 	void init();
 
 	void init_sound();
@@ -196,10 +145,11 @@
 
 	void init_gui();
 
-	/// Initialize the given gui with parameters stored so far
+	/// Create the gui instance
 	//
-	/// Throws GnashException if the gui flavor provided isn't supported
-	std::auto_ptr<Gui> getGui(GuiFlavor which);
+	/// Uses the USE_<guiname> macros to find out which one
+	///
+	std::auto_ptr<Gui> getGui();
 
 	static void setFlashVars(sprite_instance& m, const std::string& varstr);
 
@@ -254,8 +204,6 @@
 	float _fpsDebugTime;
 #endif
 
-	GuiFlavor _guiFlavor;
-
 };
 
  

Index: gui/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -b -r1.88 -r1.89
--- gui/gnash.cpp	26 Jul 2007 16:14:21 -0000	1.88
+++ gui/gnash.cpp	31 Jul 2007 19:29:43 -0000	1.89
@@ -93,7 +93,6 @@
         "\n"), _(
         "  -h, --help    Print this info.\n"
         "  -s <factor>   Scale the movie up/down by the specified factor\n"
-	"  -G <guiname>  Use specified gui (gtk|kde|fltk|aqua|riscos|fb)\n"
         "  -c            Produce a core file instead of letting SDL trap it\n"
         "  -d num        Number of milliseconds to delay in main loop\n"
         "  -v            Be verbose; i.e. print log messages to stdout\n"
@@ -169,10 +168,10 @@
 {
     printf (_("Build options %s\n"
               "   Target: %s\n"
-              "   Renderer: %s - GUI: %s (default %s) - Media handler: %s\n"
+              "   Renderer: %s - GUI: %s - Media handler: %s\n"
               "   Configured with: %s\n"),
 		VERSION, TARGET_CONFIG, RENDERER_CONFIG, GUI_CONFIG,
-		DEFAULT_GUI, MEDIA_CONFIG, CONFIG_CONFIG);
+		MEDIA_CONFIG, CONFIG_CONFIG);
 #ifdef HAVE_FFMPEG_AVCODEC_H
     printf(_("Ffmpeg version is: %s\n"), LIBAVCODEC_IDENT);
 #endif
@@ -190,12 +189,6 @@
     bool called_by_plugin=false;
     bool width_given=false, height_given=false;
 
-    // Check our name, if 'klash' we'll set KDE gui
-    if ( strstr(argv[0], "klash") != NULL )
-    {
-        player.setGuiFlavor("kde");
-    }
-   
     int c = 0;
     // scan for the two main long GNU options
     for (; c < argc; c++) {
@@ -213,7 +206,7 @@
         }
     }
     
-    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:gVf:G:")) != -1)
+    while ((c = getopt (argc, argv, "hvaps:cd:x:r:t:b:1wj:k:u:P:U:gVf:")) != -1)
     {
 	switch (c) {
     	  // case 'c' (Disable SDL core dumps) is decoded in sdl.cpp:init()
@@ -324,9 +317,6 @@
           case 't':
               player.setExitTimeout( (float) atof(optarg) );
               break;
-          case 'G':
-              player.setGuiFlavor(optarg);
-              break;
           case 'b':
 	      player.setBitDepth(atoi(optarg));
 	      break;



From MAILER-DAEMON Tue Jul 31 15:42:43 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFxcB-0007Kz-1N
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 15:42:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFxc9-0007Jq-3Y
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:42:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFxc7-0007J2-VN
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:42:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFxc7-0007Iw-Nm
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:42:39 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFxc6-0003eV-R4
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:42:39 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFxc5-0000Pk-HS
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 19:42:37 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFxc5-0000Pg-BR
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 19:42:37 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFxc5-0000Pg-BR@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 19:42:37 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/Makefile.am gui/gnash.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 19:42:41 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 19:42:37

Modified files:
	.              : ChangeLog 
	gui            : Makefile.am 
Added files:
	gui            : gnash.in 

Log message:
	        * gui/: Makefile.am, gnash.in:
	          Initial draft of a 'gnash' wrapper.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3887&r2=1.3888
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.96&r2=1.97
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.in?cvsroot=gnash&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3887
retrieving revision 1.3888
diff -u -b -r1.3887 -r1.3888
--- ChangeLog	31 Jul 2007 19:29:42 -0000	1.3887
+++ ChangeLog	31 Jul 2007 19:42:36 -0000	1.3888
@@ -1,5 +1,10 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* gui/: Makefile.am, gnash.in:
+	  Initial draft of a 'gnash' wrapper.
+
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
 	* configure.ac: rename GUI_CONFIG to SUPPORTED_GUIS to
 	  avoid confusion with the define later set by gui/Makefile.am
 	* gui/Makefile.am: build an executable for each supported

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -b -r1.96 -r1.97
--- gui/Makefile.am	31 Jul 2007 19:29:42 -0000	1.96
+++ gui/Makefile.am	31 Jul 2007 19:42:36 -0000	1.97
@@ -163,8 +163,13 @@
 #dist_images_DATA = images/gnash_G_v3.ico
 imagesdir = $(pkgdatadir)
 
+bin_SCRIPTS = gnash
 bin_PROGRAMS = 
 
+gnash: gnash.in
+	cp $< $@
+	chmod +x $@
+
 GUI_SRCS = gnash.cpp \
 	gui.cpp gui.h \
 	Player.cpp Player.h \

Index: gui/gnash.in
===================================================================
RCS file: gui/gnash.in
diff -N gui/gnash.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ gui/gnash.in	31 Jul 2007 19:42:36 -0000	1.1
@@ -0,0 +1,49 @@
+# gnash:  Wrapper script for running the different GUI versions of gnash 
+# 
+#   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+#
+
+
+#
+# TODO:
+#	Handle --version on your own (or GUI config reported would be the one of the default executable)
+#
+
+
+
+#!/bin/sh
+
+GUIS="gtk kde sdl fltk aqua riscos fb"
+THIS_DIR="`dirname $0`"
+
+if test "$1" = "-G"; then
+	gui="$2"
+	if ! test -e ${THIS_DIR}/${gui}-gnash; then
+		echo "Can't find ${gui}-gnash." >&2
+		exit 1
+	fi
+fi
+
+for gui in ${gui} ${GUIS}; do
+	exe=${THIS_DIR}/${gui}-gnash
+	if test -x ${exe}; then
+		exec ${exe} $*
+	fi
+done
+
+echo "Could not find any <gui>-gnash executable under directory ${THIS_DIR}, with <gui> in $GUI_DIR" >&2
+exit 1



From MAILER-DAEMON Tue Jul 31 15:56:44 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFxpk-0003ZS-L3
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 15:56:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFxpi-0003Wb-L3
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:56:42 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFxph-0003WP-3L
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:56:41 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFxpg-0003WM-UB
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:56:40 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFxpg-00074y-KX
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 15:56:40 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFxpf-0001oM-Io
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 19:56:39 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFxpf-0001oJ-DV
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 19:56:39 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFxpf-0001oJ-DV@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 19:56:39 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog gui/gnash.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 19:56:43 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 19:56:39

Modified files:
	.              : ChangeLog 
	gui            : gnash.in 

Log message:
	        * gui/gnash.in: don't pass -G over to the actual executable;
	          translate gui name to lowercase.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3888&r2=1.3889
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.in?cvsroot=gnash&r1=1.1&r2=1.2

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3888
retrieving revision 1.3889
diff -u -b -r1.3888 -r1.3889
--- ChangeLog	31 Jul 2007 19:42:36 -0000	1.3888
+++ ChangeLog	31 Jul 2007 19:56:38 -0000	1.3889
@@ -1,5 +1,10 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* gui/gnash.in: don't pass -G over to the actual executable;
+	  translate gui name to lowercase.
+
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
 	* gui/: Makefile.am, gnash.in:
 	  Initial draft of a 'gnash' wrapper.
 

Index: gui/gnash.in
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- gui/gnash.in	31 Jul 2007 19:42:36 -0000	1.1
+++ gui/gnash.in	31 Jul 2007 19:56:39 -0000	1.2
@@ -31,7 +31,9 @@
 THIS_DIR="`dirname $0`"
 
 if test "$1" = "-G"; then
-	gui="$2"
+	shift
+	gui=`echo "$1" | tr '[A-Z]' '[a-z]'`
+	shift
 	if ! test -e ${THIS_DIR}/${gui}-gnash; then
 		echo "Can't find ${gui}-gnash." >&2
 		exit 1



From MAILER-DAEMON Tue Jul 31 16:08:47 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFy1P-0001wG-Lr
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 16:08:47 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFy1O-0001vo-Pn
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:08:46 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFy1N-0001un-RG
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:08:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFy1N-0001ui-O9
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:08:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFy1N-0000hn-EU
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:08:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFy1M-0002R4-Bd
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 20:08:44 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFy1M-0002R1-7Z
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 20:08:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFy1M-0002R1-7Z@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 20:08:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash/gui gnash.in
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 20:08:47 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 20:08:44

Modified files:
	gui            : gnash.in 

Log message:
	check only for existance of the binary, not for it's execute bit

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.in?cvsroot=gnash&r1=1.2&r2=1.3

Patches:
Index: gnash.in
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- gnash.in	31 Jul 2007 19:56:39 -0000	1.2
+++ gnash.in	31 Jul 2007 20:08:44 -0000	1.3
@@ -42,10 +42,10 @@
 
 for gui in ${gui} ${GUIS}; do
 	exe=${THIS_DIR}/${gui}-gnash
-	if test -x ${exe}; then
+	if test -e ${exe}; then
 		exec ${exe} $*
 	fi
 done
 
-echo "Could not find any <gui>-gnash executable under directory ${THIS_DIR}, with <gui> in $GUI_DIR" >&2
+echo "Could not find any <gui>-gnash executable under directory ${THIS_DIR}, with <gui> in $GUI_DIR." >&2
 exit 1



From MAILER-DAEMON Tue Jul 31 16:09:48 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFy2O-00027c-QB
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 16:09:48 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFy2N-00027S-B8
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:09:47 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFy2L-000271-QL
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:09:46 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFy2L-00026y-Ln
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:09:45 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFy2L-0000rZ-DX
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:09:45 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFy2L-0002SX-1W
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 20:09:45 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFy2K-0002ST-Td
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 20:09:44 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFy2K-0002ST-Td@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 20:09:44 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog plugin/klash/klash_part.cpp
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 20:09:47 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 20:09:44

Modified files:
	.              : ChangeLog 
	plugin/klash   : klash_part.cpp 

Log message:
	        * plugin/klash/klash_part.cpp: run 'kde-gnash' by default
	          (not 'klash')

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3889&r2=1.3890
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/klash/klash_part.cpp?cvsroot=gnash&r1=1.16&r2=1.17

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3889
retrieving revision 1.3890
diff -u -b -r1.3889 -r1.3890
--- ChangeLog	31 Jul 2007 19:56:38 -0000	1.3889
+++ ChangeLog	31 Jul 2007 20:09:44 -0000	1.3890
@@ -1,5 +1,7 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* plugin/klash/klash_part.cpp: run 'kde-gnash' by default
+	  (not 'klash')
 	* gui/gnash.in: don't pass -G over to the actual executable;
 	  translate gui name to lowercase.
 

Index: plugin/klash/klash_part.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/klash/klash_part.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- plugin/klash/klash_part.cpp	27 Jul 2007 15:38:15 -0000	1.16
+++ plugin/klash/klash_part.cpp	31 Jul 2007 20:09:44 -0000	1.17
@@ -163,7 +163,7 @@
     char *gnash_env = getenv("KLASH_PLAYER");
     if (!gnash_env) {
       procname = GNASHBINDIR;
-      procname += "/klash";
+      procname += "/kde-gnash";
     } else {
       procname = gnash_env;
     }



From MAILER-DAEMON Tue Jul 31 16:42:14 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFyXm-00028v-RN
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 16:42:14 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFyXk-00024K-RS
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:42:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFyXh-000206-MH
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:42:11 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFyXh-000203-HD
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:42:09 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFyXg-0006um-Vb
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 16:42:09 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFyXf-0004RN-Sh
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 20:42:08 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFyXf-0004RG-Ij
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 20:42:07 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFyXf-0004RG-Ij@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 20:42:07 +0000
X-detected-kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog testsuite/actionscript.all/arra...
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 20:42:13 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 20:42:07

Modified files:
	.              : ChangeLog 
	testsuite/actionscript.all: array.as 

Log message:
	        * testsuite/actionscript.all/array.as: more tests for Array.sort()
	          and Array.sortOn(). These tests are mainly to explore the behavior
	          of sorting arrays of objects that override the toString() method and
	          sortOn using properties specified by such objects.
	          Tests provided by Ivor Blockley and cleaned up/fixed by me.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3890&r2=1.3891
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/array.as?cvsroot=gnash&r1=1.25&r2=1.26

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3890
retrieving revision 1.3891
diff -u -b -r1.3890 -r1.3891
--- ChangeLog	31 Jul 2007 20:09:44 -0000	1.3890
+++ ChangeLog	31 Jul 2007 20:42:06 -0000	1.3891
@@ -1,5 +1,13 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* testsuite/actionscript.all/array.as: more tests for Array.sort()
+	  and Array.sortOn(). These tests are mainly to explore the behavior
+	  of sorting arrays of objects that override the toString() method and
+	  sortOn using properties specified by such objects. 
+	  Tests provided by Ivor Blockley and cleaned up/fixed by me.
+
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
 	* plugin/klash/klash_part.cpp: run 'kde-gnash' by default
 	  (not 'klash')
 	* gui/gnash.in: don't pass -G over to the actual executable;

Index: testsuite/actionscript.all/array.as
===================================================================
RCS file: /sources/gnash/gnash/testsuite/actionscript.all/array.as,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- testsuite/actionscript.all/array.as	31 Jul 2007 04:25:59 -0000	1.25
+++ testsuite/actionscript.all/array.as	31 Jul 2007 20:42:07 -0000	1.26
@@ -5,7 +5,7 @@
 // Updated with sort functions, and to use check() macro
 // by Mike Carlson Feb. 14th, 2006
 
-rcsid="$Id: array.as,v 1.25 2007/07/31 04:25:59 strk Exp $";
+rcsid="$Id: array.as,v 1.26 2007/07/31 20:42:07 strk Exp $";
 
 #include "check.as"
 
@@ -388,11 +388,17 @@
 	return str;
 }
 
+id = new Object();
+id.toString = function () { return "Name"; };
+yr = new Object();
+yr.toString = function () { return "Year"; };
+
 a = ["ed", "emacs", "", "vi", "nano", "Jedit"];
 b = [8, 1, -2, 5, -7, -9, 3, 0];
 c = [7.2, 2.0, -0.5, 3/0, 0.0, 8.35, 0.001, -3.7];
 d = [];
 e = ["singleton"];
+f = [id, yr, id];
 
 trace(" -- Basic Sort Tests -- ");
 
@@ -452,6 +458,14 @@
 e.sort( Array.DESCENDING | Array.CASEINSENSITIVE );
 check_equals( e.toString(), "singleton" );
 
+r = f.sort();
+xcheck_equals( r.toString(), "Name,Name,Year" );
+xcheck_equals( f.toString(), "Name,Name,Year" );
+r = f.sort( Array.UNIQUESORT );
+check_equals( r.toString(), "0" );
+f.sort( Array.DESCENDING | Array.CASEINSENSITIVE );
+xcheck_equals( f.toString(), "Year,Name,Name" );
+
 trace(" -- Return Indexed Array Tests -- ");
 
 r = a.sort( Array.RETURNINDEXEDARRAY );
@@ -743,9 +757,6 @@
 a.sortOn( ["Electronic", "Year", "Name"], Array.NUMERIC | Array.DESCENDING );
 check_equals( tostr(a), "ENIAC,1944,true | Colossus,1943,true | Atanasoff-Berry,1941,true | Zuse Z3,1941,false" );
 
-#if OUTPUT_VERSION > 6
-trace("sortOn partially missing properties");
-
 r = a.sortOn(["Name", "Electronic"], [Array.DESCENDING] );
 check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
 check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
@@ -754,7 +765,8 @@
 check_equals( tostr(r), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
 check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
 
-trace("sortOn partially missing properties");
+#if OUTPUT_VERSION > 6
+trace("sortOn with some properties undefined");
 a.push({Name: "Harvard Mark I", Year: 1944, Mass: 4500});
 
 a.sortOn(["Electronic", "Year"], Array.DESCENDING | Array.IGNORECASE );
@@ -785,9 +797,58 @@
 
 #if OUTPUT_VERSION < 7
 trace("sortOn property name case-mismatch");
-a.sortOn( ["name"] );
+a.sortOn( "name" );
 check_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
 a.sortOn( ["year", "name"], Array.NUMERIC );
 check_equals( tostr(a), "Atanasoff-Berry,1941,true | Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
 #endif // OUTPUT_VERSION < 7
 
+trace("sortOn invalid calls");
+r = a.sortOn();
+check( r == undefined );
+#if OUTPUT_VERSION < 7
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+#else // OUTPUT_VERSION >= 7
+check_equals( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true | Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined" );
+#endif // OUTPUT_VERSION >= 7
+
+r = a.sortOn(undefined);
+xcheck_equals( typeof(r) , 'object' );
+xcheck( r instanceof Array );
+#if OUTPUT_VERSION < 7
+xcheck_equals( tostr(r) , "Atanasoff-Berry,1941,true | Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+#else // OUTPUT_VERSION >= 7
+xcheck_equals( tostr(r) , "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true | Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined" );
+#endif // OUTPUT_VERSION >= 7
+
+trace("sortOn using an object implementing/over-riding the toString() method as the property argument");
+
+r = a.sortOn( id );
+#if OUTPUT_VERSION < 7
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+#else // OUTPUT_VERSION >= 7
+check_equals( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true | Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined" );
+#endif // OUTPUT_VERSION >= 7
+
+a.sortOn( id, Array.CASEINSENSITIVE | Array.DESCENDING );
+#if OUTPUT_VERSION < 7
+check_equals( tostr(a), "Atanasoff-Berry,1941,true | Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true" );
+#else // OUTPUT_VERSION >= 7
+check_equals( tostr(a), "Zuse Z3,1941,false | Colossus,1943,true | ENIAC,1944,true | Atanasoff-Berry,1941,true | Harvard Mark I,1944,undefined");
+#endif // OUTPUT_VERSION >= 7
+
+
+r = a.sortOn( [id], 0 );
+#if OUTPUT_VERSION < 7
+xcheck_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Zuse Z3,1941,false" );
+#else // OUTPUT_VERSION >= 7
+xcheck_equals( tostr(a), "Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true | Harvard Mark I,1944,undefined | Zuse Z3,1941,false" );
+#endif // OUTPUT_VERSION >= 7
+
+r = a.sortOn( [yr, id], [Array.NUMERIC, Array.DESCENDING] );
+#if OUTPUT_VERSION < 7
+xcheck_equals( tostr(a), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | ENIAC,1944,true" );
+#else // OUTPUT_VERSION >= 7
+xcheck_equals( tostr(a), "Zuse Z3,1941,false | Atanasoff-Berry,1941,true | Colossus,1943,true | Harvard Mark I,1944,undefined | ENIAC,1944,true" );
+#endif // OUTPUT_VERSION >= 7
+



From MAILER-DAEMON Tue Jul 31 17:59:54 2007
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1IFzkw-000504-O7
	for mharc-gnash-commit@gnu.org; Tue, 31 Jul 2007 17:59:54 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1IFzkv-0004z7-4W
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 17:59:53 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1IFzku-0004yv-Am
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 17:59:52 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1IFzku-0004ys-5v
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 17:59:52 -0400
Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60) (envelope-from <strk@keybit.net>) id 1IFzkt-0005ub-EJ
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 17:59:51 -0400
Received: from cvs.savannah.gnu.org ([199.232.41.69])
	by sv.gnu.org with esmtp (Exim 4.63)
	(envelope-from <strk@keybit.net>) id 1IFzks-0001E6-AJ
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 21:59:50 +0000
Received: from strk by cvs.savannah.gnu.org with local (Exim 4.63)
	(envelope-from <strk@savannah.gnu.org>) id 1IFzks-0001E3-4f
	for gnash-commit@gnu.org; Tue, 31 Jul 2007 21:59:50 +0000
To: gnash-commit@gnu.org
Message-Id: <E1IFzks-0001E3-4f@cvs.savannah.gnu.org>
From: Sandro Santilli <strk@keybit.net>
Date: Tue, 31 Jul 2007 21:59:50 +0000
X-Detected-Kernel: Linux 2.6 (newer, 3)
Subject: [Gnash-commit] gnash ChangeLog configure.ac gui/Makefile.am
X-BeenThere: gnash-commit@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Gnash CVS commit messages <gnash-commit.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/gnash-commit>
List-Post: <mailto:gnash-commit@gnu.org>
List-Help: <mailto:gnash-commit-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/gnash-commit>,
	<mailto:gnash-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jul 2007 21:59:53 -0000

CVSROOT:	/sources/gnash
Module name:	gnash
Changes by:	Sandro Santilli <strk>	07/07/31 21:59:50

Modified files:
	.              : ChangeLog configure.ac 
	gui            : Makefile.am 

Log message:
	        * configure.ac, gui/Makefile.am: comment out --enable-dynamic-gui
	          and related conditionals use.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3891&r2=1.3892
http://cvs.savannah.gnu.org/viewcvs/gnash/configure.ac?cvsroot=gnash&r1=1.387&r2=1.388
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Makefile.am?cvsroot=gnash&r1=1.97&r2=1.98

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3891
retrieving revision 1.3892
diff -u -b -r1.3891 -r1.3892
--- ChangeLog	31 Jul 2007 20:42:06 -0000	1.3891
+++ ChangeLog	31 Jul 2007 21:59:49 -0000	1.3892
@@ -1,5 +1,10 @@
 2007-07-31 Sandro Santilli <strk@keybit.net>
 
+	* configure.ac, gui/Makefile.am: comment out --enable-dynamic-gui
+	  and related conditionals use.
+
+2007-07-31 Sandro Santilli <strk@keybit.net>
+
 	* testsuite/actionscript.all/array.as: more tests for Array.sort()
 	  and Array.sortOn(). These tests are mainly to explore the behavior
 	  of sorting arrays of objects that override the toString() method and

Index: configure.ac
===================================================================
RCS file: /sources/gnash/gnash/configure.ac,v
retrieving revision 1.387
retrieving revision 1.388
diff -u -b -r1.387 -r1.388
--- configure.ac	31 Jul 2007 19:29:42 -0000	1.387
+++ configure.ac	31 Jul 2007 21:59:49 -0000	1.388
@@ -15,7 +15,7 @@
 dnl  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 dnl  
 
-dnl $Id: configure.ac,v 1.387 2007/07/31 19:29:42 strk Exp $
+dnl $Id: configure.ac,v 1.388 2007/07/31 21:59:49 strk Exp $
 
 AC_PREREQ(2.50)
 AC_INIT(gnash, cvs)
@@ -157,20 +157,20 @@
 fi
 AM_CONDITIONAL(MENUS, test x$menus = xyes)
 
-dnl Enable building the gui support even when statically
-dnl linking. Normally this is only disabled when building a statically
-dnl linked gnash executable.
-AC_ARG_ENABLE(dynamic-gui,
-  AC_HELP_STRING([--enable-dynamic-gui],[Enable building dynamically loadable GUIs and renderers ]),
-[case "${enableval}" in
-  yes) dynamic_gui=yes ;;
-  no)  dynamic_gui=no ;;
-  *)   AC_MSG_ERROR([bad value ${enableval} for --enable-dynamic-gui option]) ;;
-esac],dynamic_gui=no)
-if test x"${dynamic_gui}" = x"yes"; then
-  AC_DEFINE([USE_DYNAMIC_GUI], [], [Dynamically loadable GUI and renderer support])
-fi
-AM_CONDITIONAL(DYNAMIC_GUI, test x${dynamic_gui} = xyes)
+dnl -- dnl Enable building the gui support even when statically
+dnl -- dnl linking. Normally this is only disabled when building a statically
+dnl -- dnl linked gnash executable.
+dnl -- AC_ARG_ENABLE(dynamic-gui,
+dnl --   AC_HELP_STRING([--enable-dynamic-gui],[Enable building dynamically loadable GUIs and renderers ]),
+dnl -- [case "${enableval}" in
+dnl --   yes) dynamic_gui=yes ;;
+dnl --   no)  dynamic_gui=no ;;
+dnl --   *)   AC_MSG_ERROR([bad value ${enableval} for --enable-dynamic-gui option]) ;;
+dnl -- esac],dynamic_gui=no)
+dnl -- if test x"${dynamic_gui}" = x"yes"; then
+dnl --   AC_DEFINE([USE_DYNAMIC_GUI], [], [Dynamically loadable GUI and renderer support])
+dnl -- fi
+dnl -- AM_CONDITIONAL(DYNAMIC_GUI, test x${dynamic_gui} = xyes)
 
 dnl Write the file to disk in the plugin, if specified.
 AC_ARG_ENABLE(write,
@@ -549,7 +549,7 @@
 
 AM_CONDITIONAL(ENABLE_SHARED, [test x"${enable_shared}" = xyes])
 AM_CONDITIONAL(ENABLE_STATIC, [test x"${enable_shared}" = xno])
-AM_CONDITIONAL(STATIC_GUI, test x"${dynamic_gui}" = xno -o x"${enable_shared}" = xno)
+dnl -- AM_CONDITIONAL(STATIC_GUI, test x"${dynamic_gui}" = xno -o x"${enable_shared}" = xno)
 
 AM_CONDITIONAL(BUILD_OGL_RENDERER, [ test x$build_ogl = xyes ])
 AM_CONDITIONAL(BUILD_AGG_RENDERER, [ test x$build_agg = xyes ])
@@ -1369,11 +1369,11 @@
   echo "        Konqueror plugin disabled."
 fi
 
-if test x"${dynamic_gui}" = x"yes"; then
-  echo "        Loadable GUI & renderer enabled."
-else
-  echo "        Loadable GUI & renderer disabled (default). Use --enable-dynamic-gui to enable."
-fi
+dnl -- if test x"${dynamic_gui}" = x"yes"; then
+dnl --   echo "        Loadable GUI & renderer enabled."
+dnl -- else
+dnl --   echo "        Loadable GUI & renderer disabled (default). Use --enable-dynamic-gui to enable."
+dnl -- fi
 
 if test x"$ghelp" = x"yes"; then
   echo "        GNOME help enabled"

Index: gui/Makefile.am
===================================================================
RCS file: /sources/gnash/gnash/gui/Makefile.am,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -b -r1.97 -r1.98
--- gui/Makefile.am	31 Jul 2007 19:42:36 -0000	1.97
+++ gui/Makefile.am	31 Jul 2007 21:59:49 -0000	1.98
@@ -89,15 +89,15 @@
 	$(MYSQL_LIBS)
 
 # Only build loadable modules unless statically linking
-if DYNAMIC_GUI # make shared libraries suitable for dlopen().
-if  ENABLE_SHARED
-     LIB_FLAGS = -module -avoid-version -no-undefined
-else
-     LIB_FLAGS = -release $(VERSION)
-endif # ENABLE_SHARED
-else # make shared libraries suitable for linking.
-     LIB_FLAGS = -release $(VERSION)
-endif # DYNAMIC_GUI
+# if DYNAMIC_GUI # make shared libraries suitable for dlopen().
+# if  ENABLE_SHARED
+#      LIB_FLAGS = -module -avoid-version -no-undefined
+# else
+#      LIB_FLAGS = -release $(VERSION)
+# endif # ENABLE_SHARED
+# else # make shared libraries suitable for linking.
+#      LIB_FLAGS = -release $(VERSION)
+# endif # DYNAMIC_GUI
 
 # AQUA Toolkit
 if BUILD_AQUA_GUI



