Added #imports of utility headers, so source files will compile without requiring a custom prefix (MYUtilities.pch.)
authorJens Alfke <jens@mooseyard.com>
Sat May 24 13:26:02 2008 -0700 (2008-05-24)
changeset 18267d5c429c4
parent 0 9d67172bb323
child 2 9fdd8dba529c
Added #imports of utility headers, so source files will compile without requiring a custom prefix (MYUtilities.pch.)
BLIP/BLIPDispatcher.m
BLIP/BLIPMessage.m
BLIP/BLIPProperties.m
BLIP/BLIPReader.m
BLIP/BLIPRequest.m
BLIP/BLIPTest.m
BLIP/BLIPWriter.m
IPAddress.m
TCP/TCPConnection.m
TCP/TCPListener.m
TCP/TCPStream.m
TCP/TCPWriter.m
     1.1 --- a/BLIP/BLIPDispatcher.m	Fri May 23 17:37:36 2008 -0700
     1.2 +++ b/BLIP/BLIPDispatcher.m	Sat May 24 13:26:02 2008 -0700
     1.3 @@ -10,6 +10,8 @@
     1.4  #import "Target.h"
     1.5  #import "BLIPRequest.h"
     1.6  #import "BLIPProperties.h"
     1.7 +#import "Logging.h"
     1.8 +#import "Test.h"
     1.9  
    1.10  
    1.11  @implementation BLIPDispatcher
     2.1 --- a/BLIP/BLIPMessage.m	Fri May 23 17:37:36 2008 -0700
     2.2 +++ b/BLIP/BLIPMessage.m	Sat May 24 13:26:02 2008 -0700
     2.3 @@ -11,6 +11,8 @@
     2.4  #import "BLIPReader.h"
     2.5  #import "BLIPWriter.h"
     2.6  
     2.7 +#import "Logging.h"
     2.8 +#import "Test.h"
     2.9  #import "ExceptionUtils.h"
    2.10  #import "Target.h"
    2.11  
     3.1 --- a/BLIP/BLIPProperties.m	Fri May 23 17:37:36 2008 -0700
     3.2 +++ b/BLIP/BLIPProperties.m	Sat May 24 13:26:02 2008 -0700
     3.3 @@ -7,6 +7,8 @@
     3.4  //
     3.5  
     3.6  #import "BLIPProperties.h"
     3.7 +#import "Logging.h"
     3.8 +#import "Test.h"
     3.9  
    3.10  
    3.11  /** Common strings are abbreviated as single-byte strings in the packed form.
     4.1 --- a/BLIP/BLIPReader.m	Fri May 23 17:37:36 2008 -0700
     4.2 +++ b/BLIP/BLIPReader.m	Sat May 24 13:26:02 2008 -0700
     4.3 @@ -11,6 +11,10 @@
     4.4  #import "BLIPWriter.h"
     4.5  #import "BLIPDispatcher.h"
     4.6  
     4.7 +#import "Logging.h"
     4.8 +#import "Test.h"
     4.9 +#import "CollectionUtils.h"
    4.10 +
    4.11  
    4.12  @interface BLIPReader ()
    4.13  - (BOOL) _receivedFrameWithHeader: (const BLIPFrameHeader*)header body: (NSData*)body;
     5.1 --- a/BLIP/BLIPRequest.m	Fri May 23 17:37:36 2008 -0700
     5.2 +++ b/BLIP/BLIPRequest.m	Sat May 24 13:26:02 2008 -0700
     5.3 @@ -10,7 +10,10 @@
     5.4  #import "BLIP_Internal.h"
     5.5  #import "BLIPWriter.h"
     5.6  #import "BLIPReader.h"
     5.7 +
     5.8  #import "Target.h"
     5.9 +#import "Logging.h"
    5.10 +#import "Test.h"
    5.11  #import "ExceptionUtils.h"
    5.12  
    5.13  
     6.1 --- a/BLIP/BLIPTest.m	Fri May 23 17:37:36 2008 -0700
     6.2 +++ b/BLIP/BLIPTest.m	Sat May 24 13:26:02 2008 -0700
     6.3 @@ -12,14 +12,19 @@
     6.4  #import "BLIPRequest.h"
     6.5  #import "BLIPProperties.h"
     6.6  #import "BLIPConnection.h"
     6.7 +
     6.8  #import "IPAddress.h"
     6.9  #import "Target.h"
    6.10 +#import "CollectionUtils.h"
    6.11 +#import "Logging.h"
    6.12 +#import "Test.h"
    6.13  
    6.14  #define HAVE_KEYCHAIN_FRAMEWORK 0
    6.15  #if HAVE_KEYCHAIN_FRAMEWORK
    6.16  #import <Keychain/Keychain.h>
    6.17  #endif
    6.18  
    6.19 +
    6.20  #define kListenerPort               46353
    6.21  #define kSendInterval               0.5
    6.22  #define kNBatchedMessages           20
     7.1 --- a/BLIP/BLIPWriter.m	Fri May 23 17:37:36 2008 -0700
     7.2 +++ b/BLIP/BLIPWriter.m	Sat May 24 13:26:02 2008 -0700
     7.3 @@ -10,6 +10,9 @@
     7.4  #import "BLIPWriter.h"
     7.5  #import "BLIP_Internal.h"
     7.6  
     7.7 +#import "Logging.h"
     7.8 +#import "Test.h"
     7.9 +
    7.10  
    7.11  #define kDefaultFrameSize 4096
    7.12  
     8.1 --- a/IPAddress.m	Fri May 23 17:37:36 2008 -0700
     8.2 +++ b/IPAddress.m	Sat May 24 13:26:02 2008 -0700
     8.3 @@ -7,12 +7,16 @@
     8.4  //
     8.5  
     8.6  #import "IPAddress.h"
     8.7 +
     8.8 +#import "Logging.h"
     8.9 +#import "Test.h"
    8.10 +
    8.11  #import <sys/types.h>
    8.12  #import <sys/socket.h>
    8.13  #import <net/if.h>
    8.14  #import <netinet/in.h>
    8.15  #import <ifaddrs.h>
    8.16 -#include <netdb.h>
    8.17 +#import <netdb.h>
    8.18  
    8.19  
    8.20  @implementation IPAddress
     9.1 --- a/TCP/TCPConnection.m	Fri May 23 17:37:36 2008 -0700
     9.2 +++ b/TCP/TCPConnection.m	Sat May 24 13:26:02 2008 -0700
     9.3 @@ -9,6 +9,8 @@
     9.4  #import "TCP_Internal.h"
     9.5  #import "IPAddress.h"
     9.6  
     9.7 +#import "Logging.h"
     9.8 +#import "Test.h"
     9.9  #import "ExceptionUtils.h"
    9.10  
    9.11  
    10.1 --- a/TCP/TCPListener.m	Fri May 23 17:37:36 2008 -0700
    10.2 +++ b/TCP/TCPListener.m	Sat May 24 13:26:02 2008 -0700
    10.3 @@ -9,10 +9,12 @@
    10.4  #import "TCPListener.h"
    10.5  #import "TCPConnection.h"
    10.6  
    10.7 +#import "Logging.h"
    10.8 +#import "Test.h"
    10.9  #import "ExceptionUtils.h"
   10.10  #import "IPAddress.h"
   10.11 +
   10.12  #include <sys/socket.h>
   10.13 -
   10.14  #include <netinet/in.h>
   10.15  #include <unistd.h>
   10.16  
    11.1 --- a/TCP/TCPStream.m	Fri May 23 17:37:36 2008 -0700
    11.2 +++ b/TCP/TCPStream.m	Sat May 24 13:26:02 2008 -0700
    11.3 @@ -9,6 +9,9 @@
    11.4  #import "TCPStream.h"
    11.5  #import "TCP_Internal.h"
    11.6  
    11.7 +#import "Logging.h"
    11.8 +#import "Test.h"
    11.9 +
   11.10  
   11.11  extern const CFStringRef _kCFStreamPropertySSLClientSideAuthentication; // in CFNetwork
   11.12  
    12.1 --- a/TCP/TCPWriter.m	Fri May 23 17:37:36 2008 -0700
    12.2 +++ b/TCP/TCPWriter.m	Sat May 24 13:26:02 2008 -0700
    12.3 @@ -9,6 +9,9 @@
    12.4  #import "TCPWriter.h"
    12.5  #import "TCP_Internal.h"
    12.6  
    12.7 +#import "Logging.h"
    12.8 +#import "Test.h"
    12.9 +
   12.10  
   12.11  @implementation TCPWriter
   12.12