Switch branches/tags
Commits on Nov 21, 2013
Commits on Nov 18, 2013
  1. Modified build, added sample for Xamarin component and made changes a…

    …s per code review feedback
    abnanda1 committed with abnanda1 Nov 13, 2013
  2. [Xamarin] Setup basic component using PCL libs.

    Added a working component with three PCL libs, and two samples.
    The libs consist of the SignalR client and two dependencies.
    The icons, markdown files, and metadata need to be polished
    and it will be ready for submission.
    zgramana committed with abnanda1 Oct 5, 2013
Commits on Nov 15, 2013
Commits on Nov 14, 2013
  1. Changed how a protocol relative url is handled.

    - Protocol relative URL's are now detected in start and normalized.
    - This also involved modifying how we test the protocol relative url.
    NTaylorMullen committed Nov 6, 2013
  2. Re-pointed the js test runner (chutzpah) to run tests directly from t…

    …he booted IIS server.
    - AKA instead of pointing the runner to a file location we now point it to http://localhost:1337/.  This allows tests to run in a "true" same domain environment instead of an emulated one.
    - I left the JS code used to re-point the tests to a server in-tact in-case we want to create a true cross-domain testing scenario.
    NTaylorMullen committed Nov 13, 2013
Commits on Nov 13, 2013
  1. Ensured that failed ajaxSends have their invocation callbacks cleared.

    - Involved having two parameters for our error callback binder.
    - This code path wasn't run for a while due to never receiving the origData in the callback, therefore had to remove some legacy functionality.
    - Also added a test to ensure that failed sends clear invocation callbacks.
    NTaylorMullen committed Nov 7, 2013
Commits on Nov 12, 2013
  1. Added verifyReconnect steps to the markActive function of the common …

    …transport logic.
    - Added a test to verify the behavior.
    NTaylorMullen committed Nov 5, 2013
  2. Fixed tests.

    NTaylorMullen committed Nov 5, 2013
  3. Added VerifyReconnect steps to the MarkActive function of connection.

    - Added a test to verify the behavior
    - Also fixed an issue that caused "Stop" to throw if the connection had not already been started.
    NTaylorMullen committed Nov 4, 2013
Commits on Nov 11, 2013
  1. Swallowed exceptions generated by retrieving the process name when tr…

    …ying to kill the TestHost.
    NTaylorMullen committed Nov 11, 2013
Commits on Nov 8, 2013
  1. Traces logged by TaskAsynceHelper.Catch are now warnings

    - This should make it easier to filter out those traces
    halter73 committed Oct 31, 2013
  2. Respond to bad requests with a 400 status code

    - Previously bad requests caused PersistentConnection.ProcessRequest to throw
      resulting in a 500
    - Respond with a 403 status code when the client changes identity
    - No longer throwing on bad requests reduces extraneous error logging
    halter73 committed Oct 31, 2013
Commits on Nov 5, 2013
  1. Ensure calling connection.Start() multi times is safe in .NET client:

    - Don't initialize the connection state unless we're actually starting
    - Added a unit test to verify calling Start() multiple times doesn't corrupt the connection
    - #2675
    DamianEdwards committed Nov 5, 2013
Commits on Nov 4, 2013
  1. Ensure start task waits on messages sent from OnConnected

    - This preserves the previous client behavior
    - #2653
    DamianEdwards committed Nov 4, 2013
  2. Queue & dispatch all receives in the client

    - This ensures that calling stop from a message receive doesn't deadlock the receive loop
    - Using TaskQueue.cs so added that to client projects
    - Had to modify TaskQueue to work in Portable, now do optimistic increment then unwind if we exceed the max size
    - Added a test to verify that async connection start, invoke, stop works without dead-locking
    - Drain the receive queue when Stop called
    - Raise connection error event if queued OnReceived callback throws
    - Removed duplicate call to start from failing test (Will log a separate issue to track the reason why this causes the failure)
    - #2653
    DamianEdwards committed Oct 25, 2013
Commits on Nov 1, 2013
  1. Added tests to verify that protocol relative URL's work correctly.

    - Also modified existing test to use the isFalse and isTrue QUnit methods.
    NTaylorMullen committed Oct 31, 2013
  2. Added protocol relative checks to the isCrossDomain method.

    - This ensures that protocol relative urls are handled correctly.
    NTaylorMullen committed Oct 30, 2013
Commits on Oct 31, 2013
  1. Added extra verifyReconnect checks to ensure that if the client goes …

    …to sleep that we do not mark it active prior to trying to reconnect.
    - Also added a test to verify that this scenario is covered.
    - Changed how the test utilities verify that foreverFrame is enabled.
    NTaylorMullen committed Oct 25, 2013
  2. Added extra verifyReconnect checks to ensure that if the client goes …

    …to sleep that we do not mark it active prior to trying to reconnect.
    - Also added a test to verify that this scenario is covered.
    NTaylorMullen committed Oct 28, 2013
Commits on Oct 30, 2013
Commits on Oct 29, 2013
Commits on Oct 24, 2013
  1. Altered when we transition into the disconnected state during connect…

    - This ensures that when the disconnected handler is called that we're in the disconnected state.
    - Removed the try -> finally for this transition because the state transition now occurs prior to anything that would throw.
    - Added a simple unit test to ensure that disconnected is triggered while in the disconnected state.
    NTaylorMullen committed with NTaylorMullen Oct 21, 2013
Commits on Oct 23, 2013
  1. Re-added a sleep to a test.

    - The sleep was in the test that this test was built from in order to prevent a reconnect race.
    NTaylorMullen committed Oct 23, 2013