Now that the 0.8.7 release branch is made, I've added an implementation of LocalConnection in trunk.
It should work on POSIX systems and build on Windows (but not work there). I apologize in advance if there are compilation problems. It should be easy to add the Windows implementation (see http://osflash.org/localconnection for information about mutexes and some example code). With any luck it will slot into the ifdefs in the 4 different functions (attach, the destructor, lock, and unlock) in SharedMem.cpp. Gnash interfaces with the Adobe player both as sender and receiver, and with itself. The Adobe player sometimes sends mystery extra data. I don't know its purpose and don't have enough testcases to be sure I've handled it correctly. Finally, the mozilla plugin causes problems by terminating Gnash without giving it a chance to clean up properly. When Gnash exits properly, listeners remove themselves, the shared memory is detached, and if no users are left it's removed completely. When the plugin kills Gnash, the shared memory is left in a mess, and future instances of LocalConnection may not work properly until it's cleared. bwy -- Use Gnash, the GNU Flash Player! http://www.gnu.org/software/gnash/ Benjamin Wolsey, Software Developer - http://benjaminwolsey.de C++ and Open-Source Flash blog - http://www.benjaminwolsey.de/bwysblog xmpp:b...@xabber.de http://identi.ca/bwy
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev