darling-cocotron/Foundation/NSDebug.h
Christopher Lloyd 333c7fba83 NSFileWrapper - Dirk Theisen has contributed an initial NSFileWrapper implementation. Thanks Dirk!
NSAssertionHandler - header added for NSFileWrapper

The various NSStream concrete classes have a first pass implementation: NSInputStream_socket, NSOutputStream_socket, NSInputStream_data, NSOutputStream_data , NSOutputStream_buffer, NSInputStream_file, NSOutputStream_file

The socket monitor/callback system has been overhauled to fix known problems going forward with socket based streams and distributed objects. This consists mainly of decoupling the select() management from the callback management allowing for accurate select() status across run loop mode changes and multiple callback monitors per socket. The major platform differences (windows vs. unix) were separated into their own files instead of the previous #ifdef mess. The NSInputSource system in the run loop was cleaned up to accommodate the new socket system and future additions.

These classes were deleted: NSSocketSet, NSSocketMonitorSet, NSSocketDescriptor, NSSocketMonitor, NSSocketMonitorSet_Windows, NSSocketInputSource_windows, NSSocketMonitorSet_Unix

And were replaced with: NSSocket, NSSocket_windows, NSSocket_bsd, NSSelectSet, NSSelectSet_windows, NSSelectSet_bsd , NSSelectInputSourceSet, NSSelectInputSource

NSTask and NSFileHandle on Linux/Solaris are affected by this as they were using the old socket monitoring system to look for background events and have been upgraded to the new one.

NSHandleMonitorSet_win32 upgraded with NSInputSource upgrade.

NSError - first pass implemented to assist with NSStream implementation.

-[NSMutableSet setSet:] - implemented

Cleared up some of the Linux/Solaris compiler warnings
2007-01-17 04:23:24 +00:00

13 lines
1.2 KiB
Objective-C
Executable File

/* Copyright (c) 2006-2007 Christopher J. W. Lloyd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSObject.h>
FOUNDATION_EXPORT BOOL NSZombieEnabled;
FOUNDATION_EXPORT BOOL NSDebugEnabled;