Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3344] iOS: Update socket implementation to match w/Android

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-05-17T13:56:56.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-15
ComponentsiOS
Labelsios, network, sockets
ReporterStephen Tramer
AssigneeStephen Tramer
Created2011-04-15T03:42:36.000+0000
Updated2011-05-17T13:56:56.000+0000

Description

iOS ticket for #2120; we need to create a new Socket class to match with Android and have a cross-platform implementation. TCPSocket will be deprecated, but remain through 1.7.0 for backwards compatibility.

Comments

  1. Reggie Seagraves 2011-04-15

    This task will not be completed until Sprint 14.

  2. Jeff Haynie 2011-04-15

    (from [eaf5fd21f857784b488d8bff422de5941a21727a]) [#3344] - Support for outbound Ti.Network.Socket - New tests for sockets in KS - Updated iOS TCPSocket docs to indicate DEPRECATION https://github.com/appcelerator/titanium_mobile/commit/eaf5fd21f857784b488d8bff422de5941a21727a"> https://github.com/appcelerator/titanium_mobile/commit/eaf5fd21f857...

  3. Reggie Seagraves 2011-04-15

    Moving to Sprint 14 for completion.

  4. Jeff Haynie 2011-04-15

    (from [40c51c896dcf8e3683610b6ec7a4ce3540743a52]) [#3344] First pass on iOS sockets complete - De-munged 'Paradise Lost' for socket write buffer testing purposes. https://github.com/appcelerator/titanium_mobile/commit/40c51c896dcf8e3683610b6ec7a4ce3540743a52"> https://github.com/appcelerator/titanium_mobile/commit/40c51c896dcf...

  5. Jeff Haynie 2011-04-15

    (from [42b4bf904755ebde79f97c2c9990d808af860bd7]) [#3344][#3542][#3520] - Finish base implementation of sockets - Addition of Ti.Codec module (or at least the reference to it in the project) - Fixes to Ti.Buffer https://github.com/appcelerator/titanium_mobile/commit/42b4bf904755ebde79f97c2c9990d808af860bd7"> https://github.com/appcelerator/titanium_mobile/commit/42b4bf904755...

  6. Jeff Haynie 2011-04-15

    (from [7400399cceb06f81e22bb091b93b9cf74f47aeb0]) [#3344] Further namespace migration https://github.com/appcelerator/titanium_mobile/commit/7400399cceb06f81e22bb091b93b9cf74f47aeb0"> https://github.com/appcelerator/titanium_mobile/commit/7400399cceb0...

  7. Jeff Haynie 2011-04-15

    (from [368d764e98a43b3b5b2889b5cdfab9b7d8a81e87]) [#3344 state:fixed-in-qa] First round of socket documentation. Finally marking this feature fixed-in-qa. https://github.com/appcelerator/titanium_mobile/commit/368d764e98a43b3b5b2889b5cdfab9b7d8a81e87"> https://github.com/appcelerator/titanium_mobile/commit/368d764e98a4...

  8. Jeff Haynie 2011-04-15

    (from [cff63853a88495ab870eff9d8544a69e9eedf328]) [#3344] Moved sockets into new namespace https://github.com/appcelerator/titanium_mobile/commit/cff63853a88495ab870eff9d8544a69e9eedf328"> https://github.com/appcelerator/titanium_mobile/commit/cff63853a884...

  9. Bill Dawson 2011-04-15

    (from [9833ba8b726ecdda0baea31b84d4d18099cf1f88]) [#3344] Give full namespace name at top of Network/Socket/TCP.tdoc https://github.com/appcelerator/titanium_mobile/commit/9833ba8b726ecdda0baea31b84d4d18099cf1f88"> https://github.com/appcelerator/titanium_mobile/commit/9833ba8b726e...

  10. Jeff Haynie 2011-04-15

    (from [e0ef536fa73ef41852b6df093e8e71364215f730]) [#3344] Fixes for sockets tdoc so that scons works. https://github.com/appcelerator/titanium_mobile/commit/e0ef536fa73ef41852b6df093e8e71364215f730"> https://github.com/appcelerator/titanium_mobile/commit/e0ef536fa73e...

  11. Jeff Haynie 2011-04-15

    (from [227cb45ed1b1078d8b30ad097f322cd698a4b963]) [#3344][#3520] - TCP socket conformance to new TiStreamProxy/TiStreamInternal - Fix to -[TiStreamProxy write:] https://github.com/appcelerator/titanium_mobile/commit/227cb45ed1b1078d8b30ad097f322cd698a4b963"> https://github.com/appcelerator/titanium_mobile/commit/227cb45ed1b1...

  12. Jeff Haynie 2011-04-15

    (from [e7c157a254359ac8e9ffa43a09478f83fdc931b6]) [#3344] Fix for USE_TI_NETWORKSOCKET conditional compile that was screwing things up. https://github.com/appcelerator/titanium_mobile/commit/e7c157a254359ac8e9ffa43a09478f83fdc931b6"> https://github.com/appcelerator/titanium_mobile/commit/e7c157a25435...

  13. Jeff Haynie 2011-04-15

    (from [5f87e05483fc096b06b92c04b10f538cbe8cbf22]) [#3344][#3520] - API for remainder of non-createStream() Ti.Stream methods - Implementatons for pump/writeToStream for TCP socket, plus general fixes https://github.com/appcelerator/titanium_mobile/commit/5f87e05483fc096b06b92c04b10f538cbe8cbf22"> https://github.com/appcelerator/titanium_mobile/commit/5f87e05483fc...

  14. Stephen Tramer 2011-04-15

    Gonna bump this back to in-progress until I can be positive that sockets pass acceptance and smoke 100% even after all Ti.Codec and Ti.Stream changes.

  15. Jeff Haynie 2011-04-15

    (from [8ceb53ba27ff5752869969900ee65ef32d0ec743]) [#3344] Fixes for dumb mistakes made in the last round of socket mods. https://github.com/appcelerator/titanium_mobile/commit/8ceb53ba27ff5752869969900ee65ef32d0ec743"> https://github.com/appcelerator/titanium_mobile/commit/8ceb53ba27ff...

  16. Jeff Haynie 2011-04-15

    (from [5f55ef53c30297deff25ea032ee4f10c5b1dc2ee]) [#3344] - Fix (?) for TCP garbage collection crash - Addition of pump support for sockets - Changed socket tests to use Ti.Stream.pump() https://github.com/appcelerator/titanium_mobile/commit/5f55ef53c30297deff25ea032ee4f10c5b1dc2ee"> https://github.com/appcelerator/titanium_mobile/commit/5f55ef53c302...

  17. Jeff Haynie 2011-04-15

    (from [b194ed4ab874d1612a7c05b4e9fccc2e22f71238]) [#3344 state:fixed-in-qa] Good news, true believers! Sockets are in a complete, stable state. Still need drillbit tests, but there is KS test coverage, so marking this one FIXED. https://github.com/appcelerator/titanium_mobile/commit/b194ed4ab874d1612a7c05b4e9fccc2e22f71238"> https://github.com/appcelerator/titanium_mobile/commit/b194ed4ab874...

  18. Natalie Huynh 2011-05-17

    Tested with 1.7.03.bed52c... on Nexus S 2.3 and iPod touch (4.0.1)

JSON Source