999 Commits

Author SHA1 Message Date
Kevin Jose Martin
aaaf9dc451 Filter against SocketEventHandler#id 2015-09-17 21:49:18 -04:00
Kevin Jose Martin
fe8469cfc6 Add SocketEventHandler#id to filter against 2015-09-17 21:48:09 -04:00
Kevin Jose Martin
f5c3a2cac9 Add strict equality and execute "callback" as non-optional 2015-09-17 21:08:37 -04:00
Kevin Jose Martin
7d26bd3ee8 Fix type declarations 2015-09-17 21:00:56 -04:00
Kevin Jose Martin
136847fd77 Fix "Variable used within its own initial value" error 2015-09-17 20:41:34 -04:00
Kevin Jose Martin
9b3f84dcd0 Remove type declarations 2015-09-17 20:33:36 -04:00
Kevin Jose Martin
a72f96759e Adds SocketIOClient#once(event, callback)
When the specified event is emitted, the handler deregisters itself.
2015-09-17 18:19:49 -04:00
Erik
a81f925671 make note of https 2015-09-17 13:33:37 -04:00
Erik
4997294186 clean up readme 2015-09-17 09:47:02 -04:00
Erik
ba5638a109 Revert "tweak to objective-c api"
This reverts commit d0a57ca353268d4473b82d03c3f5b18a875467f4.
v3.0.2
2015-09-17 09:09:02 -04:00
Erik
978bd2614e bump version 2015-09-17 09:08:58 -04:00
Erik
2f2bd49045 fix socketio/socket.io-client-swift#181 2015-09-17 09:06:09 -04:00
Erik
f889d37e9b update readme. This api is probably going to change again 2015-09-16 12:49:25 -04:00
Erik
67afbcbd56 mess around with api 2015-09-16 12:46:19 -04:00
Erik
d0a57ca353 tweak to objective-c api 2015-09-16 11:16:12 -04:00
Erik Little
9355fc5077 Update README.md 2015-09-15 18:27:50 -04:00
Erik
fd21ca00d3 bump version v3.0.1 2015-09-14 15:44:43 -04:00
Erik
f818d64405 fix socketio/socket.io-client-swift#177 2015-09-14 15:40:13 -04:00
Erik Little
55289d69a3 Update README.md 2015-09-14 13:16:33 -04:00
Erik
5dc0dfa9aa change travis icon to point to master 2015-09-14 13:15:20 -04:00
Erik
2e7be97a38 bump version v3.0.0 2015-09-14 13:12:19 -04:00
Erik
60e0142955 further tweaks to stringreader 2015-09-13 14:05:10 -04:00
Erik
e84acb1471 only need to get the substring once 2015-09-13 13:56:51 -04:00
Erik
8044d6fc1c don't need to call predacessor 2015-09-13 13:46:36 -04:00
Erik
e3ff1f434b add license 2015-09-13 13:39:51 -04:00
Erik
ca67e9e47e use pure swift 2015-09-13 13:37:43 -04:00
Erik
108aa4b08a remove old debug print 2015-09-13 08:20:52 -04:00
Erik
f5f2a15133 tweaks to string reading 2015-09-12 21:26:09 -04:00
Erik Little
ec76704631 Merge pull request #175 from socketio/engine-polling-refactor
Refactor engine polling. Change SocketGenericParser to SocketStringRe…
2015-09-12 18:05:42 -04:00
Erik
2e9232365d remove unused property 2015-09-12 17:14:30 -04:00
Erik
a91fc638f2 remove old log message 2015-09-12 17:12:12 -04:00
Erik
e634b131fb Merge branch 'swift-2' of https://github.com/socketio/socket.io-client-swift into engine-polling-refactor
* 'swift-2' of https://github.com/socketio/socket.io-client-swift:
  replay xctool with xcodebuild
2015-09-12 17:08:05 -04:00
Erik
0e0d47b6ed Refactor engine polling. Change SocketGenericParser to SocketStringReader 2015-09-12 17:04:34 -04:00
Erik Little
4009e577b7 Merge pull request #174 from lightsprint09/fix-travis-xctool
replay xctool with xcodebuild
2015-09-12 13:11:04 -04:00
Lukas Schmidt
bee997aff4 replay xctool with xcodebuild
xcodebuild doesn’t format tests as well as xctool but it works at the
moment.

Change back later
2015-09-12 19:04:27 +02:00
Erik Little
f82aafd5c8 Merge pull request #172 from NachoSoto/apple-tv
Added support for tvOS
2015-09-11 21:51:03 -04:00
NachoSoto
07f9d4f548 Added support for tvOS
## Changes:

- Duplicated target for both framework and tests.
- Set the right platform on new targets.
- Changed `tvOS` framework target product name to `SocketIO`.
- Changed targets `plist`s to use the existing ones, and removed the copies.
- Configured scheme to use the right test target.
- Shared scheme.
- Verified `tvOS` tests pass.
2015-09-12 00:15:07 +00:00
Erik Little
17444dd4a3 Merge pull request #170 from NachoSoto/swift2-comments
Code improvements to Swift 2 branch
2015-09-11 18:46:54 -04:00
Lukas Schmidt
6a10f72443 Merge branch 'swift-2' 2015-09-11 10:22:47 +02:00
NachoSoto
c6997f32dd Fixed indentation 2015-09-11 05:52:17 +00:00
NachoSoto
e955699b21 SSLCert is now private 2015-09-11 05:43:16 +00:00
NachoSoto
2bb7360918 WebSockets: removed unnecessary weaks and simplified code 2015-09-11 05:42:55 +00:00
NachoSoto
d5b9afd28d SwiftRegex does not need to be exposed 2015-09-11 05:39:24 +00:00
NachoSoto
adb3650609 SwiftRegex: failing with fatalError 2015-09-11 05:38:08 +00:00
NachoSoto
dc50af1505 SwiftRegex: changed static method to static to avoid unnecessary dynamic dispatching 2015-09-11 05:37:58 +00:00
NachoSoto
bad0d4b419 SocketPacket: using Logger instead of print 2015-09-11 05:36:05 +00:00
NachoSoto
b8cfdc8fd2 SocketIOClient: simplified conditional 2015-09-11 05:33:40 +00:00
NachoSoto
a43548e203 SocketIOClient: remove unnecessary optional 2015-09-11 05:33:01 +00:00
NachoSoto
2bc72e1975 SocketIOClient: removed unnecessary weak self 2015-09-11 05:31:41 +00:00
NachoSoto
1739afa670 SocketIOClient: added assertion to check timeoutAfter is not negative 2015-09-11 05:28:28 +00:00