[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog gui/Player.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog gui/Player.cpp |
Date: |
Sat, 17 Nov 2007 10:17:39 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/11/17 10:17:39
Modified files:
. : ChangeLog
gui : Player.cpp
Log message:
parse querystring before flashvars.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4887&r2=1.4888
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/Player.cpp?cvsroot=gnash&r1=1.69&r2=1.70
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4887
retrieving revision 1.4888
diff -u -b -r1.4887 -r1.4888
--- ChangeLog 17 Nov 2007 10:08:59 -0000 1.4887
+++ ChangeLog 17 Nov 2007 10:17:38 -0000 1.4888
@@ -1,5 +1,6 @@
2007-11-17 Sandro Santilli <address@hidden>
+ * gui/Player.cpp: parse querystring before flashvars.
* testsuite/misc-ming.all/: FlashVarsTest.as, FlashVarsTest.html,
Makefile.am: add test for fully-qualified variables passed trough
query string and flash vars.
Index: gui/Player.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/Player.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -b -r1.69 -r1.70
--- gui/Player.cpp 1 Nov 2007 23:30:48 -0000 1.69
+++ gui/Player.cpp 17 Nov 2007 10:17:39 -0000 1.70
@@ -317,6 +317,9 @@
// Start loader thread
_movie_def->completeLoad();
+ // Parse querystring (before FlashVars, see
testsuite/misc-ming.all/FlashVarsTest*)
+ setFlashVars(URL(_url).querystring());
+
// Parse parameters
for ( map<string,string>::const_iterator it=params.begin(),
itEnd=params.end(); it != itEnd; ++it)
@@ -333,9 +336,6 @@
// it->first.c_str(), it->second.c_str());
}
- // Parse querystring
- setFlashVars(URL(_url).querystring());
-
_gui->setMovieDefinition(_movie_def);