Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Using typeof(MessageEvent) to switch two ways to create MessageEvent.v1.0.1 | Hiroshi Ichikawa | 2013-12-15 | 1 | -12/+10 |
| | |||||
* | Fix for Issue #142 | Predrag Stojadinovic | 2013-12-12 | 1 | -1/+10 |
| | | | | Fix for Issue #142 Firefox 26 removed event.initMessageEvent method so this had to be handled. | ||||
* | Renaming flash_implemented to __isFlashImplementation. | Hiroshi Ichikawa | 2012-08-09 | 1 | -4/+2 |
| | |||||
* | @= flag of WebSocket implementation | abonec | 2012-08-09 | 1 | -0/+4 |
| | |||||
* | Switching to WebSocket version defined in RFC 6455. | Hiroshi Ichikawa | 2011-12-27 | 1 | -1/+1 |
| | |||||
* | Firing close event on error in send(). Hopefully fixes issue #92 . | Hiroshi Ichikawa | 2011-12-17 | 1 | -4/+4 |
| | |||||
* | Using MozWebSocket when available. Issue #87 | Hiroshi Ichikawa | 2011-12-17 | 1 | -3/+11 |
| | |||||
* | Using swfobject.addDomLoadEvent() to simplify the initialization. | Hiroshi Ichikawa | 2011-12-14 | 1 | -13/+5 |
| | |||||
* | Initializing automatically when web_socket.js is dynamically loaded. | Hiroshi Ichikawa | 2011-12-11 | 1 | -9/+19 |
| | | | | Using DOMContentLoaded to initialize earlier when available. | ||||
* | Adding wasClean, code, reason to onclose event object. Code was partially ↵ | Hiroshi Ichikawa | 2011-09-27 | 1 | -1/+5 |
| | | | | | | taken from pull request #100 . Fixing closing behavior. | ||||
* | Switching to hybi-10 protocol. | Hiroshi Ichikawa | 2011-09-17 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into hybi-07 | Hiroshi Ichikawa | 2011-09-17 | 1 | -2/+9 |
|\ | | | | | | | | | | | Conflicts: WebSocketMain.swf WebSocketMainInsecure.zip | ||||
| * | Fixing scope of event callbacks (Bug #91 ). | Hiroshi Ichikawa | 2011-09-10 | 1 | -1/+1 |
| | | |||||
| * | close() should cancel create task. | Joel Martin | 2011-08-31 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the init and close code so that the async __flash.create() task is cancelled in close() so that you can do something like this which tests whether the newer binary API exists: var wstest = new WebSocket('ws://localhost:57111'); if (typeof(wstest.binaryType) !== "undefined") { ... } wstest.close(); wstest = null; Without the change, a Flash error occurs later when the connect fails (because the close() call doesn't cancel the connect). | ||||
* | | Merge remote branch 'gimite/master' into hybi-08 | Joel Martin | 2011-08-29 | 1 | -13/+32 |
|\ \ | |/ | | | | | | | | | Conflicts: WebSocketMain.swf WebSocketMainInsecure.zip | ||||
| * | Fixing a bug checking Flash Player version. | Hiroshi Ichikawa | 2011-08-07 | 1 | -1/+1 |
| | | |||||
| * | Merging, renaming WebSocketLogger to WEB_SOCKET_LOGGER and making ↵ | Hiroshi Ichikawa | 2011-08-07 | 1 | -13/+18 |
| |\ | | | | | | | | | | window.console as default logger. | ||||
| | * | Add WebSocketLogger and use it in every submodule. | Bernard Potocki | 2011-08-05 | 1 | -12/+18 |
| | | | | | | | | | | | | This allow to easly manage debug switch, but also allow overwrite of logger for use in other libraries using web-socket-js. | ||||
| * | | Adding flag WEB_SOCKET_SUPPRESS_CROSS_DOMAIN_SWF_ERROR in case the user ↵ | Hiroshi Ichikawa | 2011-08-07 | 1 | -2/+4 |
| | | | | | | | | | | | | rename WebSocketMainInsecure.swf. | ||||
| * | | Setting for forcing use of Flash over native Web Socket implementation | Carl Byström | 2011-07-22 | 1 | -2/+2 |
| |/ | |||||
| * | Adding error message when HTML and SWF is in the different domains. | Hiroshi Ichikawa | 2011-06-26 | 1 | -0/+11 |
| | | |||||
| * | Adding comment about Flash version check. | Hiroshi Ichikawa | 2011-06-25 | 1 | -0/+1 |
| | | |||||
| * | Use getFlashPlayerVersion() to detect the Flash version more reliably | Max Roeleveld | 2011-06-15 | 1 | -1/+1 |
| | | |||||
* | | Merging. | Hiroshi Ichikawa | 2011-05-07 | 1 | -3/+8 |
|\ \ | |/ | |||||
| * | Accepting array in addition to string for protocol parameter. | Hiroshi Ichikawa | 2011-05-06 | 1 | -3/+8 |
| | | |||||
| * | Fix protocol attribute handling. | Joel Martin | 2011-05-06 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | - First, the protocol parameter to open should accept a list or protocols (either as a comma separate string or an array of strings). - Second, the chosen protocol should be reported back to and set as the protocol attribute in the WebSocket instance object itself. | ||||
* | | Implement HyBi-07 version of the protocol. | Joel Martin | 2011-05-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | This is an initial implementation of http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-07 Limitations: - This does not implement the binary frame type since the API for this is still under discussion. - The client to server XOR mask is 0, i.e. masking is not used. | ||||
* | | Fix protocol attribute handling. | Joel Martin | 2011-05-02 | 1 | -0/+3 |
|/ | | | | | | | | | - First, the protocol parameter to open should accept a list or protocols (either as a comma separate string or an array of strings). - Second, the chosen protocol should be reported back to and set as the protocol attribute in the WebSocket instance object itself. | ||||
* | Fixing an error on IE when window.Event is defined by user. | Hiroshi Ichikawa | 2011-03-13 | 1 | -2/+2 |
| | |||||
* | Cleaning up event handling. | Hiroshi Ichikawa | 2011-03-06 | 1 | -146/+75 |
| | | | | | Passing real event to both onXXX and handlers added by addEventHandler(). Deleting check of cancelBubble which (probably) should not affect. | ||||
* | Style change. | Hiroshi Ichikawa | 2011-03-05 | 1 | -6/+5 |
| | |||||
* | The handler should not "invalid events" for valid events. Just because we | Arnout Kazemier | 2011-03-04 | 1 | -7/+7 |
| | | | | didn't attach a handler for it doesn't indicate that it's not a valid event. | ||||
* | Merging JSBridge to WebSocketMain. | Hiroshi Ichikawa | 2011-02-27 | 1 | -1/+1 |
| | |||||
* | Some cleanup. | Hiroshi Ichikawa | 2011-02-27 | 1 | -469/+363 |
| | | | | | Pulling messages from JavaScript instead of pushing from Flash, to keep message order. Merging WebSocketController to WebSocket. | ||||
* | Pulled in upstream changes. | Wtritch | 2011-02-22 | 1 | -17/+30 |
|\ | |||||
| * | Making it clear that it requires Flash player 10 or later. | Hiroshi Ichikawa | 2011-02-19 | 1 | -2/+2 |
| | | |||||
* | | Completed updates: Removed FABridge dependence. Created javascript ↵ | Wtritch | 2011-02-22 | 1 | -349/+478 |
|/ | | | | WebSocketController to manage multiple instances. Created central ExternalInterface manager at flash-src/bridge/JSBridge.as | ||||
* | opera fix 2 | avl | 2011-02-07 | 1 | -1/+1 |
| | |||||
* | opera 'handleEvents' fix | avl | 2011-02-07 | 1 | -0/+1 |
| | |||||
* | Switching to single event "event" instead of "open", "message", etc. in ↵ | Hiroshi Ichikawa | 2011-01-11 | 1 | -73/+53 |
| | | | | | | | Flash interface, to keep order of all events and avoid recursive call error. Using setTimeout() for event callback to avoid recursive call error. Removing FABridge.EventsToCallLater. Hopefully setTimeout() above is more confident alternative. | ||||
* | Calling Security.loadPolicyFile() with port 843 if ↵ | Hiroshi Ichikawa | 2011-01-11 | 1 | -4/+4 |
| | | | | | | | Flash.loadFlashPolicyFile() has not been called. Renaming WebSocket.loadPolicyFile() to WebSocket.loadFlashPolicyFile(). WebSocket.loadFlashPolicyFile() now expects URL including xmlsocket://. | ||||
* | Don't explicitly load the policy file, since flash will try port 843 anyway. ↵ | John Shahid | 2011-01-09 | 1 | -0/+6 |
| | | | | Furthermore, explicitly setting the port to 843 will make flash retry port 843 three times before trying the destination port. Instead we expose a method to the api loadPolicyFile that can be used to set the location of the policy file. | ||||
* | Fixes missing semicolons | Stefan Axelsson | 2011-01-07 | 1 | -2/+2 |
| | |||||
* | Cherry-pick: Not enough with checking existence of window.console. In IE ↵ | Hiroshi Ichikawa | 2010-12-04 | 1 | -2/+4 |
| | | | | | | (depending of version/debugger), console object doesn't define log() and error() from https://github.com/newbamboo/web-socket-js/commit/2776dcfbf7847a5e19505432d8d63f8814e37b52 | ||||
* | Fix packets containing 0x00 bytes getting truncated after the first 0x00 byte. | Ivo Wetzel | 2010-09-25 | 1 | -2/+2 |
| | |||||
* | Making it possible to close() when readyState == CONNECTING. | Hiroshi Ichikawa | 2010-09-13 | 1 | -1/+1 |
| | | | | | Patch by kanaka. http://github.com/gimite/web-socket-js/issues#issue/37 | ||||
* | Making onclose event fired by ws.close() asynchronous. | Hiroshi Ichikawa | 2010-09-13 | 1 | -7/+12 |
| | | | | | Patch by kanaka. http://github.com/gimite/web-socket-js/issues#issue/35 | ||||
* | Supporting cross-domain SWF. | Hiroshi Ichikawa | 2010-09-02 | 1 | -1/+1 |
| | |||||
* | Making Flash Lite detection/handling a bit simpler. Adding comment. | Hiroshi Ichikawa | 2010-08-22 | 1 | -52/+22 |
| | |||||
* | Better handling of Flash Lite and Flash on Android devices by distinguishing ↵ | Stephen Leavitt | 2010-08-22 | 1 | -6/+54 |
| | | | | between Flash and Flash Lite prior to loading the web-socket-js SWF. |