Commit Graph

1206 Commits

Author SHA1 Message Date
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
Christopher Lloyd
d971345b27 First pass at key value coding from issues 6 and 7, addition of objc framework 2007-01-02 17:52:07 +00:00
Christopher Lloyd
578873e3cf Added templates for many missing classes, updated copyright for 2007, +[NSValue valueWithRange:],-[NSObject className] 2007-01-01 21:11:21 +00:00
Christopher Lloyd
30916ff6e5 Original 2006-12-22 04:41:44 +00:00
Christopher Lloyd
675207edce Original 2006-12-22 00:49:22 +00:00
Christopher Lloyd
0706bdfd59 Initial directory structure. 2006-10-14 22:40:57 +00:00