2009-07-24* The BLIPConnection receivedRequest: delegate method now returns BOOL. If the method returns NO (or if the method isn't implemented in the delegate), that means it didn't handle the message at all; an error will be returned to the sender. default tip
Jens Alfke <jens@mooseyard.com> [Fri, 24 Jul 2009 14:06:28 -0700] rev 63
* The BLIPConnection receivedRequest: delegate method now returns BOOL. If the method returns NO (or if the method isn't implemented in the delegate), that means it didn't handle the message at all; an error will be returned to the sender.
* If the connection closes unexpectedly due to an error, then the auto-generated responses to pending requests will contain that error. This makes it easier to display a meaningful error message in the handler for the request.

2009-07-21Added -[MYBonjourRegistration updateTXTRecord]
Jens Alfke <jens@mooseyard.com> [Tue, 21 Jul 2009 15:06:15 -0700] rev 62
Added -[MYBonjourRegistration updateTXTRecord]

2009-07-21Prevent crash if MYBonjourQuery is released during response handling
Jens Alfke <jens@mooseyard.com> [Tue, 21 Jul 2009 10:04:10 -0700] rev 61
Prevent crash if MYBonjourQuery is released during response handling

2009-07-20DNS NULL record support in MYBonjourRegistration. Minor fix to IPAddress init. Force 4-char indent in source files.
Jens Alfke <jens@mooseyard.com> [Mon, 20 Jul 2009 14:50:49 -0700] rev 60
DNS NULL record support in MYBonjourRegistration. Minor fix to IPAddress init. Force 4-char indent in source files.

2009-07-20* MYBonjourBrowser: Added delegate (no methods for it yet, just for client use.)
Jens Alfke <jens@mooseyard.com> [Mon, 20 Jul 2009 13:26:29 -0700] rev 59
* MYBonjourBrowser: Added delegate (no methods for it yet, just for client use.)
* MYBonjourRegistration: Added +canonicalFormOfTXTRecordDictionary:.
* MYBonjourService: Added back-reference to browser.
* IPAddress: Added conversions to/from struct sockaddr.

2009-07-03Fixed bug which caused PyBLIP to stop sending responses while the connection was closing.
morrowa [Fri, 03 Jul 2009 17:50:28 -0700] rev 58
Fixed bug which caused PyBLIP to stop sending responses while the connection was closing.

2009-07-02Merged Jens' latest changes.
morrowa [Thu, 02 Jul 2009 20:45:11 -0700] rev 57
Merged Jens' latest changes.

2009-07-02Removed unnecessary files. Toned down logging. Added null logging handler to BLIP so client code doesn't have to use logging. Modified test drivers to work against Cocoa versions.
morrowa [Thu, 02 Jul 2009 19:58:11 -0700] rev 56
Removed unnecessary files. Toned down logging. Added null logging handler to BLIP so client code doesn't have to use logging. Modified test drivers to work against Cocoa versions.

2009-07-02Made C99 project default.
morrowa [Thu, 02 Jul 2009 17:51:35 -0700] rev 55
Made C99 project default.

2009-06-23Moved _handleCloseRequest to a new method. Added warning messages.
morrowa [Tue, 23 Jun 2009 13:52:28 -0700] rev 54
Moved _handleCloseRequest to a new method. Added warning messages.

2009-06-23Connections opened by listeners now close correctly.
morrowa [Tue, 23 Jun 2009 12:46:40 -0700] rev 53
Connections opened by listeners now close correctly.

2009-06-23Updating ignore patterns.
morrowa [Tue, 23 Jun 2009 11:55:50 -0700] rev 52
Updating ignore patterns.

2009-06-23BROKEN COMMIT. Majority of code to handle closing has been added. Listeners do not close correctly.
morrowa@betelgeuse.local [Tue, 23 Jun 2009 11:44:30 -0700] rev 51
BROKEN COMMIT. Majority of code to handle closing has been added. Listeners do not close correctly.

2009-07-01Fix to BLIPMessage for Chatty (mark new outgoing BLIPMessages as "complete".)
Jens Alfke <jens@mooseyard.com> [Wed, 01 Jul 2009 14:14:32 -0700] rev 50
Fix to BLIPMessage for Chatty (mark new outgoing BLIPMessages as "complete".)
Lots of fixes for Bonjour stuff, including making the hostname lookup asynchronous in BonjourService.

2009-05-24Misc. tweaks made while porting Chatty to use MYNetwork.
Jens Alfke <jens@mooseyard.com> [Sun, 24 May 2009 15:03:39 -0700] rev 49
Misc. tweaks made while porting Chatty to use MYNetwork.
* Allow -[BLIPConnection sendRequest:] to re-send an already-sent or received request.
* Allow use of the basic -init method for BLIPConnection.
* Some new convenience factory methods.
* Broke dependencies on Security.framework out into new TCPEndpoint+Certs.m source file, so client apps aren't forced to link against Security.

2009-05-16Yuck -- [TCPConnection initToBonjourService:] was releasing the wrong object, the BonjourService, causing it to dealloc and eventually crash. Fixes #10.
Jens Alfke <jens@mooseyard.com> [Sat, 16 May 2009 14:24:06 -0700] rev 48
Yuck -- [TCPConnection initToBonjourService:] was releasing the wrong object, the BonjourService, causing it to dealloc and eventually crash. Fixes #10.

2009-05-16* Fixed #9: compilation error with iPhone 3.0 SDK.
Jens Alfke <jens@mooseyard.com> [Sat, 16 May 2009 14:10:15 -0700] rev 47
* Fixed #9: compilation error with iPhone 3.0 SDK.
* MYBonjourRegistration now allows you to set a TXT dictionary with non-NSData key values; they'll be translated to UTF-8 object descriptions. Useful for NSStrings and NSNumbers.

2009-05-10Unnecessary self-merge (I'm just being confused with hg. Sorry.)
Jens Alfke <jens@mooseyard.com> [Sun, 10 May 2009 19:05:52 -0700] rev 46
Unnecessary self-merge (I'm just being confused with hg. Sorry.)

2009-05-10Fixed MYAddressLookup to allocate an NSSet, and to send correct KV notifications. (Based on Jim Roepke's patch, but outsourcing the KV grunge to CollectionUtils.)
Jens Alfke <jens@mooseyard.com> [Sun, 10 May 2009 19:00:50 -0700] rev 45
Fixed MYAddressLookup to allocate an NSSet, and to send correct KV notifications. (Based on Jim Roepke's patch, but outsourcing the KV grunge to CollectionUtils.)

2009-05-06* Merged part of Jim Roepke's changes -- the MYAddressLookup fixes and updated iPhone project.
Jens Alfke <jens@mooseyard.com> [Wed, 06 May 2009 09:21:57 -0700] rev 44
* Merged part of Jim Roepke's changes -- the MYAddressLookup fixes and updated iPhone project.
* Changed API of Jim Roepke's TCPListener improvement (made it a settable property, not a method to override.)
* Added more types to .hgignore.

2009-05-05bug fixes and improvements to new bonjour classes and tcplistener, also added a static library target
jim@Baldrick.local [Tue, 05 May 2009 23:24:50 -0700] rev 43
bug fixes and improvements to new bonjour classes and tcplistener, also added a static library target

2009-05-05Updated BLIPEchoClient to latest Bonjour API, fixing a compile error. (Fixes #7.)
Jens Alfke <jens@mooseyard.com> [Tue, 05 May 2009 22:19:33 -0700] rev 42
Updated BLIPEchoClient to latest Bonjour API, fixing a compile error. (Fixes #7.)

2009-05-05Fixed a small leak of an NSString object.
Dan Preston <danpreston@codechemistry.com> [Tue, 05 May 2009 15:40:36 -0700] rev 41
Fixed a small leak of an NSString object.

2009-05-05Tweaked release to be immediate instead of on autorelease pool.
Dan Preston <danpreston@codechemistry.com> [Tue, 05 May 2009 15:27:20 -0700] rev 40
Tweaked release to be immediate instead of on autorelease pool.

2009-05-05Enabled garbage collection as being supported in the library target.
Dan Preston <danpreston@codechemistry.com> [Tue, 05 May 2009 15:12:18 -0700] rev 39
Enabled garbage collection as being supported in the library target.

2009-05-05Fixed the release of an CFDataRef object under garbage collection.
Dan Preston <danpreston@codechemistry.com> [Tue, 05 May 2009 15:11:02 -0700] rev 38
Fixed the release of an CFDataRef object under garbage collection.

2009-05-05Fixed the leak of SecIdentityRef objects in a while loop.
Dan Preston <danpreston@codechemistry.com> [Tue, 05 May 2009 15:10:15 -0700] rev 37
Fixed the leak of SecIdentityRef objects in a while loop.

2009-05-05Fixed a double release in a garbage collected environment.
Dan Preston <danpreston@codechemistry.com> [Tue, 05 May 2009 14:46:42 -0700] rev 36
Fixed a double release in a garbage collected environment.

2009-05-04Cleaned up a few leaks found by clang checker.
Dan Preston <danpreston@codechemistry.com> [Mon, 04 May 2009 23:21:26 -0700] rev 35
Cleaned up a few leaks found by clang checker.

2009-05-04Fixed dead assignment found by clang checker.
Dan Preston <danpreston@codechemistry.com> [Mon, 04 May 2009 23:10:51 -0700] rev 34
Fixed dead assignment found by clang checker.

2009-04-29Added -[TCPConnection initToBonjourService:] since MYBonjourService no longer vends an NSNetService.
Jens Alfke <jens@mooseyard.com> [Wed, 29 Apr 2009 21:05:01 -0700] rev 33
Added -[TCPConnection initToBonjourService:] since MYBonjourService no longer vends an NSNetService.

2009-04-29Tweaked docs
Jens Alfke <jens@mooseyard.com> [Wed, 29 Apr 2009 13:57:10 -0700] rev 32
Tweaked docs

2009-04-29More work on Bonjour classes. They now support registering services.
Jens Alfke <jens@mooseyard.com> [Wed, 29 Apr 2009 13:29:31 -0700] rev 31
More work on Bonjour classes. They now support registering services.

2009-04-26* Fixed path type of MYUtilities folder ref; this fixes issue #2.
Jens Alfke <jens@mooseyard.com> [Sun, 26 Apr 2009 18:12:44 -0700] rev 30
* Fixed path type of MYUtilities folder ref; this fixes issue #2.
* Added MYDNSService.h/m to iPhone project.
* Changed base SDK of iPhone project to 2.2.1 (from 2.0)

2009-04-28Fixed two CF memory leaks. (Fixes issue #5)
Jens Alfke <jens@mooseyard.com> [Tue, 28 Apr 2009 10:36:28 -0700] rev 29
Fixed two CF memory leaks. (Fixes issue #5)

2009-04-27Rewrote the Bonjour classes, using the low-level <dns_sd.h> API. They're now subclasses of MYDNSService.
Jens Alfke <jens@mooseyard.com> [Mon, 27 Apr 2009 09:03:56 -0700] rev 28
Rewrote the Bonjour classes, using the low-level <dns_sd.h> API. They're now subclasses of MYDNSService.

2009-04-24* Refactored MYPortMapper to use a new abstract base class MYDNSService; that way I can re-use it later for implementing Bonjour.
Jens Alfke <jens@mooseyard.com> [Fri, 24 Apr 2009 10:10:32 -0700] rev 27
* Refactored MYPortMapper to use a new abstract base class MYDNSService; that way I can re-use it later for implementing Bonjour.
* Fixed issue #1: a memory leak in BLIPProperties, reported by codechemist.

2009-04-22* Added MYBonjourBrowser and MYBonjourService.
Jens Alfke <jens@mooseyard.com> [Wed, 22 Apr 2009 16:45:39 -0700] rev 26
* Added MYBonjourBrowser and MYBonjourService.
* Added MYPortMapper.
* Added -[TCPEndpoint setPeerToPeerIdentity:].
* Created a static-library target.

2008-12-02Added iPhone demo project
snej@snej.local [Tue, 02 Dec 2008 22:42:56 -0800] rev 25
Added iPhone demo project

2008-07-15Fixed a memory leak by adding a -dealloc method to HostAddress. (Thanks to Mark Onyschuk)
Jens Alfke <jens@mooseyard.com> [Tue, 15 Jul 2008 09:37:15 -0700] rev 24
Fixed a memory leak by adding a -dealloc method to HostAddress. (Thanks to Mark Onyschuk)

2008-07-13Merged 1.0 final into 1.1 branch.
Jens Alfke <jens@mooseyard.com> [Sun, 13 Jul 2008 10:59:06 -0700] rev 23
Merged 1.0 final into 1.1 branch.

2008-07-13* Fixed: Responses still pending when a connection closed were not calling their onComplete targets.
Jens Alfke <jens@mooseyard.com> [Sun, 13 Jul 2008 10:42:50 -0700] rev 22
* Fixed: Responses still pending when a connection closed were not calling their onComplete targets.
* Fixed: BLIPTestClient target failed to build because it didn't link against zlib.
* If TCPListener.bonjourServiceName is changed while the listener is open, it now re-publishes the service with the new name.
* Added a TCPListener.bonjourService property.
* Added a BLIPMessage.representedObject property.
* Fixed a memory leak.

2008-07-13Added tag 1.0 for changeset 02224e981209
Jens Alfke <jens@mooseyard.com> [Sun, 13 Jul 2008 10:53:46 -0700] rev 21
Added tag 1.0 for changeset 02224e981209

2008-07-13* Fixed link error in BLIPClient target. 1.0
Jens Alfke <jens@mooseyard.com> [Sun, 13 Jul 2008 10:52:48 -0700] rev 20
* Fixed link error in BLIPClient target.
* Fixed *Ph*n* #ifdef issue (thanks, Jimmy)

2008-06-23Implemented BLIP 1.1 (explicit 'bye' message)
Jens Alfke <jens@mooseyard.com> [Mon, 23 Jun 2008 14:02:31 -0700] rev 19
Implemented BLIP 1.1 (explicit 'bye' message)

2008-06-19Implemented new close protocol with 'bye' meta-message.
Jens Alfke <jens@mooseyard.com> [Thu, 19 Jun 2008 16:22:05 -0700] rev 18
Implemented new close protocol with 'bye' meta-message.

2008-06-19Work around crash-on-close by temporarily retaining the connection object.
Jens Alfke <jens@mooseyard.com> [Thu, 19 Jun 2008 10:22:19 -0700] rev 17
Work around crash-on-close by temporarily retaining the connection object.

2008-06-11* Added a timeout property to TCPConnection. Set it before calling -open, if you want a shorter timeout than the default.
Jens Alfke <jens@mooseyard.com> [Wed, 11 Jun 2008 14:58:38 -0700] rev 16
* Added a timeout property to TCPConnection. Set it before calling -open, if you want a shorter timeout than the default.
* Made the utility function BLIPMakeError public.

2008-06-10Fixed: The -connection:failedToOpen: delegate method wasn't being called.
Jens Alfke <jens@mooseyard.com> [Tue, 10 Jun 2008 16:14:20 -0700] rev 15
Fixed: The -connection:failedToOpen: delegate method wasn't being called.

2008-06-04Python: Optimized frame sending somewhat (frame buffers are generated on the fly as the socket has room.)
Jens Alfke <jens@mooseyard.com> [Wed, 04 Jun 2008 21:09:45 -0700] rev 14
Python: Optimized frame sending somewhat (frame buffers are generated on the fly as the socket has room.)

2008-06-04Python implementation much improved. Can send requests now. Fully interoperable with Obj-C implementation's test cases.
Jens Alfke <jens@mooseyard.com> [Wed, 04 Jun 2008 17:11:20 -0700] rev 13
Python implementation much improved. Can send requests now. Fully interoperable with Obj-C implementation's test cases.

2008-06-03BLIP.py working for listener side (it talks to the Obj-C BLIPConnectionTester.)
Jens Alfke <jens@mooseyard.com> [Tue, 03 Jun 2008 22:24:21 -0700] rev 12
BLIP.py working for listener side (it talks to the Obj-C BLIPConnectionTester.)

2008-06-03* Initial checkin of BLIP.py. (Receiving seems to work.)
Jens Alfke <jens@mooseyard.com> [Tue, 03 Jun 2008 16:56:33 -0700] rev 11
* Initial checkin of BLIP.py. (Receiving seems to work.)
* FIXED: Abbreviation list in BLIPProperties was messed up.
* Renamed some instance variables to use 'request' instead of 'query'.
* Test client doesn't throw an assertion-failure now when the number of unresponded requests exceeds 100.

2008-06-01Copied the necessary Google Toolbox source files into the MYUtilities project, so people don't have to download a separate library.
Jens Alfke <jens@mooseyard.com> [Sun, 01 Jun 2008 14:04:22 -0700] rev 10
Copied the necessary Google Toolbox source files into the MYUtilities project, so people don't have to download a separate library.

2008-05-30Fixed a serious bug - a race condition where a data buffer in the writer's queue could be dealloced (not the NSData, but its bytes themselves) before the writer sent it, resulting in an EFAULT error.
Jens Alfke <jens@mooseyard.com> [Fri, 30 May 2008 13:54:38 -0700] rev 9
Fixed a serious bug - a race condition where a data buffer in the writer's queue could be dealloced (not the NSData, but its bytes themselves) before the writer sent it, resulting in an EFAULT error.

2008-05-29Got it to build on iPhone. (Haven't tried running it yet.)
Jens Alfke <jens@mooseyard.com> [Thu, 29 May 2008 16:40:36 -0700] rev 8
Got it to build on iPhone. (Haven't tried running it yet.)

2008-05-25Added -[TCPConnection initToNetService:] to make it easier to use with Bonjour. This allowed me to simplify BLIPEchoClient quite a lot.
Jens Alfke <jens@mooseyard.com> [Sun, 25 May 2008 13:43:03 -0700] rev 7
Added -[TCPConnection initToNetService:] to make it easier to use with Bonjour. This allowed me to simplify BLIPEchoClient quite a lot.

2008-05-25First public release.
Jens Alfke <jens@mooseyard.com> [Sun, 25 May 2008 12:33:50 -0700] rev 6
First public release.

2008-05-25More documentation. release_1
Jens Alfke <jens@mooseyard.com> [Sun, 25 May 2008 12:32:47 -0700] rev 5
More documentation.

2008-05-25More documentation.
Jens Alfke <jens@mooseyard.com> [Sun, 25 May 2008 10:28:26 -0700] rev 4
More documentation.

2008-05-24Added a BLIP port of Apple's "CocoaEcho" sample code.
Jens Alfke <jens@mooseyard.com> [Sat, 24 May 2008 21:26:09 -0700] rev 3
Added a BLIP port of Apple's "CocoaEcho" sample code.

2008-05-24* Added more documentation.
Jens Alfke <jens@mooseyard.com> [Sat, 24 May 2008 17:25:06 -0700] rev 2
* Added more documentation.
* Minor API changes.

2008-05-24Added #imports of utility headers, so source files will compile without requiring a custom prefix (MYUtilities.pch.)
Jens Alfke <jens@mooseyard.com> [Sat, 24 May 2008 13:26:02 -0700] rev 1
Added #imports of utility headers, so source files will compile without requiring a custom prefix (MYUtilities.pch.)

2008-05-23First checkin after breaking out of Cloudy
Jens Alfke <jens@mooseyard.com> [Fri, 23 May 2008 17:37:36 -0700] rev 0
First checkin after breaking out of Cloudy