mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Further NSStream development
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22585 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b2c99dd785
commit
1217802f9f
3 changed files with 1530 additions and 31 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-03-01 Derek Zhou <dzhou@nvidea.com>
|
||||
|
||||
* Source/GSStream.m: Typo fixes
|
||||
* Source/win32/NSStreamWin32.m: rewrite
|
||||
|
||||
2006-03-01 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/unix/NSStream.m: Final (hopefully) ifdef to disable ipv6
|
||||
|
|
|
@ -314,7 +314,7 @@ NSString * const NSStreamSOCKSProxyVersionKey
|
|||
if (![_modes containsObject: mode])
|
||||
[_modes addObject: mode];
|
||||
if ([self _isOpened])
|
||||
[_runloop performSelector: @selector(_dispatch:)
|
||||
[_runloop performSelector: @selector(_dispatch)
|
||||
target: self
|
||||
argument: nil
|
||||
order: 0
|
||||
|
@ -329,7 +329,7 @@ NSString * const NSStreamSOCKSProxyVersionKey
|
|||
{
|
||||
[_modes removeObject: mode];
|
||||
if ([self _isOpened])
|
||||
[_runloop cancelPerformSelector: @selector(_dispatch:)
|
||||
[_runloop cancelPerformSelector: @selector(_dispatch)
|
||||
target: self
|
||||
argument: nil];
|
||||
if ([_modes count] == 0)
|
||||
|
@ -348,7 +348,7 @@ NSString * const NSStreamSOCKSProxyVersionKey
|
|||
{
|
||||
[super open];
|
||||
if (_runloop)
|
||||
[_runloop performSelector: @selector(_dispatch:)
|
||||
[_runloop performSelector: @selector(_dispatch)
|
||||
target: self
|
||||
argument: nil
|
||||
order: 0
|
||||
|
@ -375,7 +375,7 @@ NSString * const NSStreamSOCKSProxyVersionKey
|
|||
// dispatch again iff still opened, and last event is not eos
|
||||
if (av && [self _isOpened])
|
||||
{
|
||||
[_runloop performSelector: @selector(_dispatch:)
|
||||
[_runloop performSelector: @selector(_dispatch)
|
||||
target: self
|
||||
argument: nil
|
||||
order: 0
|
||||
|
@ -447,7 +447,7 @@ NSString * const NSStreamSOCKSProxyVersionKey
|
|||
if (![_modes containsObject: mode])
|
||||
[_modes addObject: mode];
|
||||
if ([self _isOpened])
|
||||
[_runloop performSelector: @selector(_dispatch:)
|
||||
[_runloop performSelector: @selector(_dispatch)
|
||||
target: self
|
||||
argument: nil
|
||||
order: 0
|
||||
|
@ -462,7 +462,7 @@ NSString * const NSStreamSOCKSProxyVersionKey
|
|||
{
|
||||
[_modes removeObject: mode];
|
||||
if ([self _isOpened])
|
||||
[_runloop cancelPerformSelector: @selector(_dispatch:)
|
||||
[_runloop cancelPerformSelector: @selector(_dispatch)
|
||||
target: self
|
||||
argument: nil];
|
||||
if ([_modes count] == 0)
|
||||
|
@ -489,7 +489,7 @@ NSString * const NSStreamSOCKSProxyVersionKey
|
|||
[super open];
|
||||
if (_runloop)
|
||||
{
|
||||
[_runloop performSelector: @selector(_dispatch:)
|
||||
[_runloop performSelector: @selector(_dispatch)
|
||||
target: self
|
||||
argument: nil
|
||||
order: 0
|
||||
|
@ -513,7 +513,7 @@ NSString * const NSStreamSOCKSProxyVersionKey
|
|||
[self _sendEvent: myEvent];
|
||||
// dispatch again iff still opened, and last event is not eos
|
||||
if (av && [self _isOpened])
|
||||
[_runloop performSelector: @selector(_dispatch:)
|
||||
[_runloop performSelector: @selector(_dispatch)
|
||||
target: self
|
||||
argument: nil
|
||||
order: 0
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue