84 Commits

Author SHA1 Message Date
Dmitry Preobrazhenskiy
add7a83a0f Fix failing tests
This is achieved by adding sorted keys with iOS 11 to the JSONSerialization
which should produce the outcome string sorted
2018-11-28 22:29:20 +02:00
Erik
dd2167a09f
Report errors in SocketData to users. Resolves #677 2017-05-07 14:40:39 -04:00
Erik
8e25c6c417
Fixes #676 2017-05-07 14:01:31 -04:00
Erik
158bdfb418
Add enum for client events. Resolves #675 2017-05-07 11:32:05 -04:00
Erik
1eb39d650a
Add client event for status changes. Closes #668 2017-05-07 10:52:17 -04:00
Erik
bcce3cdfe7
Disable logging in tests, use xctool again 2017-05-07 09:54:51 -04:00
Erik
23c76417d2
Fix #667 Make no ack an enum case 2017-05-05 22:35:39 -04:00
Erik
d3c1d0cd04
Revert "double encoding should be getting fixed, make the default false"
This reverts commit 0fcb7903bb1ad6d1bb19fbf8567a2f63e5c78390.
2017-03-30 18:52:42 -04:00
Erik
0fcb7903bb
double encoding should be getting fixed, make the default false 2017-01-23 16:48:37 -05:00
Erik
fee53e0ccf
add options to objective-c test 2016-09-26 20:39:38 -04:00
Erik
6771f59ab7
Redo emitWithAck API since in Swift 3 parameter names aren't apart of the type 2016-09-25 11:59:10 -04:00
Erik Little
a55e9ab3ba
Merge branch 'development' into swift3
* development:
  Don't parse twice for errors
  use guarded try
  change spm name
  Modify mac version base mac os 10.9
2016-09-08 07:30:28 -04:00
Erik Little
34ef8a5278
Fix tests 2016-09-08 07:23:00 -04:00
Erik
16eefa4abf
Don't parse twice for errors 2016-09-02 18:03:15 -04:00
Erik
bd192b9af5
merge development 2016-08-31 18:13:31 -04:00
David Beck
59c158119a Merge branch 'swift3' of github.com:socketio/socket.io-client-swift into swift3
# Conflicts:
#	SocketIO-MacTests/SocketBasicPacketTest.swift
#	SocketIO-MacTests/SocketNamespacePacketTest.swift
#	Source/SocketExtensions.swift
#	Source/SocketPacket.swift
#	Source/WebSocket.swift
2016-08-23 10:53:50 -07:00
David Beck
536367392f Switch to using Any instead of AnyObject
In Swift 3 AnyObject is rarely what you want to use. Objective-C API gets imported as Any and while types like Array and Dictionary can be coerced to AnyObject, they prefer Any, which doesn’t require a manual cast.
2016-08-23 10:10:33 -07:00
Erik
9acae3b154
I'm not convinced this is right 2016-08-18 19:09:26 -04:00
Erik
0233f383bb
Fix tests, this is broken for obvious reasons 2016-08-15 19:24:10 -04:00
Derek Clarkson
518c256cc2 Renamed modules to make then consistent.
Remove base sources from test compiles.
2016-08-15 12:18:02 +10:00
Erik
b8d6c28ae4
merge development 2016-08-14 10:51:44 -04:00
Erik
c364f6a832
tweaks 2016-08-14 09:58:21 -04:00
Erik
e2bf84f576
Add SocketIOClientConfiguration 2016-08-13 14:55:33 -04:00
Erik
64b9774c83
Move helper method 2016-08-13 13:32:14 -04:00
Erik
4ad3a884a6
merge development 2016-07-20 11:39:37 -04:00
Erik
4ad5025c77
update tests, add test for base64 2016-07-20 11:07:37 -04:00
Erik Little
a9ac86ba3d
fix method call 2016-07-15 10:11:05 -04:00
Erik
f6dc11650d merge development 2016-07-14 19:36:48 -04:00
Erik
e8219e6b6a merge development 2016-07-14 19:12:03 -04:00
Erik
7c3de9f30a even more xcode 8 stuff. style changes 2016-06-15 10:13:44 -04:00
Erik
2adcf2d35d more xcode 8 stuff 2016-06-15 09:32:47 -04:00
Erik
9a4ec5a82a xcode 8 2016-06-14 20:41:59 -04:00
Erik
7500ea83a0 merge development 2016-06-14 19:51:56 -04:00
Erik
d8826a9db3 allow access from objective-c 2016-06-14 16:19:40 -04:00
Erik
6f21059ff8 work on experimental manager 2016-06-11 12:38:35 -04:00
Erik
523ced2f9a merge development 2016-06-09 09:37:26 -04:00
Erik
02f30a81dd fix test 2016-06-06 16:25:37 -04:00
Erik
c6d000972e add test 2016-05-22 14:10:43 -04:00
Erik
f90ad8caeb update for latest swift 2016-05-21 11:45:35 -04:00
Erik
6452f6a97a merge dev 2016-05-05 13:33:52 -04:00
Erik
437c0880e8 don't use placeholder strings for binary 2016-05-05 13:12:05 -04:00
Yannick Loriot
e02ca23d14 Add test case #361 2016-05-04 18:35:56 +02:00
Erik
82e7882497 add rest of emitWithAck for objc test 2016-04-27 18:32:38 -04:00
Erik
e2db1a086d update for latest swift 3 2016-04-16 12:00:21 -04:00
Erik
376e31bfca merge development and fix tests 2016-04-10 14:15:35 -04:00
Erik
ed3d49001f bump websocket version 2016-04-10 13:59:21 -04:00
Erik
2f1f77141e add test for objc api 2016-03-25 10:00:14 -04:00
Erik
6c6b4f32c9 Update for swift 2.2 2016-03-22 09:00:27 -04:00
Erik
6ac96f8d91 modify test 2016-02-16 14:27:18 -05:00
Erik
f7397155b6 add test cases 2016-02-16 14:26:21 -05:00