[screenweaver] New Patch
Edwin van Rijkom
swos at vanrijkom.org
Thu Sep 1 14:57:02 PDT 2005
I've updated the patch at http://vanrijkom.org/sw3os/builder.rar to
reflect all updates in the trunk up to revision 35.
After download, un-RAR it, and place the contents in your root
Screenweaver installation folder. Make sure Screenweaver is not running
while you're copying. Press 'Yes' on any overwrite warnings you get.
Engine/API related change-log, per revision (latest to oldest)
[35]
* fixed mouse scrollwheel events not being forwarded, whilst retaining
SW scrollwheel functionality (since it also allows for scrollwheel click
detection, etc.)
* added sample to test native scroll-wheel functionality.
* added xml-string encoding/decoding to XMLMAN
* added <atlstr.h> to stdafx.h - should be using that in more places
instead of char*'s
* debug congig 'project' set to 'nativescroll' movie.
* changed swApplication.getMovieFolder to its origional behaviour.
[34]
Incorporated and verified Romain's API fixes
[33]
* Fixed 'allowDomain' bug that caused Flash Player 7 not to accept
incoming calls from the engine.
[32]
Fixed case bug (with F7>) with LC callbacks: "..._Receive" instead of
"..._receive".
[31]
Added the first 'Flash 8 only' feature that depends on the external
interface: Regular Expressions. The AS API now has swSystem.RegEx?
<https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/wiki/RegEx>.
The sample (misc/samples/regex.fla) illustrates how the extension works.
Note that after compiling the sample with Flash 7, its version flag
needs to be set to 8. When run from the compiler in Debug - External
Interfaces config this is not neccesary, nor when compiled with Flash 8
(obviously). The way is now paved for people to start porting old local
connection commands to EI, as well as creating new EI based Screenweaver
features. The only thing still missing is getting events to work with
the EI.
[30]
* added a simple (regexp based) XML parser to XMLMAN for parsing
incoming FlashCall?
<https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/wiki/FlashCall>
call's and transforming them to AMF.
* added some routing code to RD_FlashContainer?
<https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/wiki/FlashContainer>
to pickup old LC calls on the external interface, parse them to AMF, let
them do their work, and finaly transform the produced AMF to XML and
return it as a FlashCall?
<https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/wiki/FlashCall>
result.
* For testing, added code to the swSystem AS API. With Flash 8 movies,
swSystem.getEnvironmentVariable now is synchronous (yahoo!). so: var
envVar: String = swSystem.getEnvironmentVar("APPDATA"); works now in F8
movies. Other AS API functions could easily be rewritten to become
synchronous too.
[27]
* I've made a start with getting SW3 working with F8's external
interface. The folowing has been done (please not that you won't notice
any changes unless you work with F8 files!):
* Introduced swInterface.fscommand in the API. If external interface is
available, than that is used to contact the engine. If not, a regular
(async) fscommand is used.
* Updated swDebug to use the new 'swInterface.fscommand' calls. More
interfaces could be updated.
* Added code to the engine for intercepting FlashCall?
<https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/wiki/FlashCall>
events (part of external interfaces) and introduced a first SW external
interface 'command', namely 'fscommand'.
* Added a new namespace called 'XMLMAN' for xml-parsing related code. It
currently has some methods that parse the 'fscommand' call, using
regular expressions.
* Implemented an AMF to XML transformer (at rd_flashloccon_write) to
facilitate using the current LC commands with the external interface.
Some test-code (_DEBUG switched) is at rd_flashcontainer.cpp, OnNewData?
<https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/wiki/OnNewData>)
* Added a new engine Debug config called 'External Interface' for
testing. It uses a new #define "FORCEVERSION8" which triggers newly
added code in sw_swfheader that will always set the version of the
feeded content to 8 (so the player will enable the external interface)
Still reading huh? Thanks for bearing with me :)
Cheers,
Edwin
More information about the screenweaver
mailing list