251 Commits

Author SHA1 Message Date
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
NachoSoto
40d76cdbeb SocketIOClient: making a few fields private 2015-09-11 05:26:56 +00:00
NachoSoto
4f2040fbfd Simplified SocketEngine.swift 2015-09-11 05:25:01 +00:00
Erik
d2ae3705ff Merge branch 'swift-2' of https://github.com/socketio/socket.io-client-swift into swift-2
* 'swift-2' of https://github.com/socketio/socket.io-client-swift:
  Use swift 2 guard statement
  Fix use-after-release issue in WebSocket
2015-09-10 16:33:11 -04:00
Erik
a634f5bacc simplify socketengine 2015-09-10 16:32:57 -04:00
Hank Bao
713ce46e3b Use swift 2 guard statement 2015-09-09 22:40:09 +08:00
Hank Bao
44508a5193 Fix use-after-release issue in WebSocket 2015-09-09 22:33:35 +08:00
Erik
8a911a871e Fix socketio/socket.io-client-swift#166 2015-09-08 09:10:37 -04:00
Erik
d8c8b4941e fix case with nsdata in json 2015-09-08 09:00:57 -04:00
Erik
520a765c22 fix file location 2015-09-08 08:36:35 -04:00
Erik
ec200e78bb Merge branch 'swift-2' of https://github.com/socketio/socket.io-client-swift into swift-2
* 'swift-2' of https://github.com/socketio/socket.io-client-swift:
  use optionals instead of try/catch
  clean up code style
  disable locale test
  clean up using guard
  fix join namespace parse
  refactor, make use of try catch
  complete use of parser
  using parser for namespace
  use new parser for binary
  clean up code
  refactor clean up code
  socket parser Test
  SocketAckManagerTest
2015-09-07 16:53:14 -04:00
Erik
70b06a2248 small tweak 2015-09-07 16:53:10 -04:00
Erik Little
6cdacefdec Merge pull request #164 from lightsprint09/more-tests
More tests
2015-09-07 16:52:22 -04:00
Lukas Schmidt
222f622d3a use optionals instead of try/catch 2015-09-07 21:29:51 +02:00
Lukas Schmidt
91cc683b5b clean up code style 2015-09-07 20:25:13 +02:00
Lukas Schmidt
568b2ae1bc clean up using guard 2015-09-07 19:28:19 +02:00
Erik
c8c67d66a8 typing dictionary might not always be right 2015-09-07 13:26:58 -04:00
Lukas Schmidt
70cacb025f fix join namespace parse 2015-09-07 19:19:22 +02:00
Erik
5fdea20455 simplify socketpacket methods 2015-09-07 13:15:54 -04:00
Lukas Schmidt
2bd612e47a refactor, make use of try catch 2015-09-07 15:08:10 +02:00
Lukas Schmidt
fb9b19820b complete use of parser 2015-09-07 14:44:43 +02:00
Lukas Schmidt
8bae7d06d2 using parser for namespace 2015-09-07 13:53:43 +02:00
Lukas Schmidt
0b8be08a54 use new parser for binary 2015-09-07 12:53:28 +02:00
Lukas Schmidt
6f16694ed2 Merge remote-tracking branch 'origin/socketio/swift-2' into more-tests
Conflicts:
	SocketIOClientSwift/SocketParser.swift
2015-09-06 23:49:05 +02:00
Lukas Schmidt
13087ff1b7 clean up code 2015-09-06 23:45:52 +02:00
Erik
648d9d9df0 println doesn't exist anymore 2015-09-06 17:44:41 -04:00
Lukas Schmidt
16ed2bd130 refactor clean up code 2015-09-06 22:45:18 +02:00
Lukas Schmidt
de0d0b8676 socket parser Test 2015-09-06 20:04:10 +02:00
Erik
ac023013d4 change logging 2015-09-04 09:41:40 -04:00
Lukas Schmidt
fe7fb3ea4e improve status enum readability 2015-09-04 13:49:56 +02:00
Lukas Schmidt
4de0652568 improve logger api 2015-09-04 13:48:19 +02:00
Erik
d6e1510cbf update websocket library 2015-09-03 23:32:48 -04:00
Erik
13440ce6b1 small tweak 2015-09-03 16:24:05 -04:00
Erik
d81cbd7d24 fix unsafeBitCast error 2015-09-03 15:20:15 -04:00
Erik
a147ebcd85 Default logging won't use another dispatch queue 2015-09-03 15:14:25 -04:00
Erik
8d0af14f04 add ability to specify custom logger 2015-09-03 15:10:18 -04:00
Erik
0ff4cb9713 remove old check 2015-09-03 12:27:24 -04:00
Erik
8dc7121355 merge master 2015-08-31 09:34:14 -04:00
Erik
17426c1432 fix socketio/socket.io-client-swift#152 2015-08-31 09:22:56 -04:00
Erik
5a73a5e6da style 2015-08-28 13:42:04 -04:00
Erik
1f5402ce1c use computed variables 2015-08-27 09:45:27 -04:00
Erik
ccd6dcbf0a update for latest beta 2015-08-25 09:31:33 -04:00
Erik
4fdb49ea2f use static variable for log 2015-08-18 10:19:58 -04:00
Erik
2351637ab4 don't need to unwrap 2015-08-18 10:07:57 -04:00