lp:~fpstovall/nrtb/unique_ptr_fix

Created by Rick Stovall and last modified
Get this branch:
bzr branch lp:~fpstovall/nrtb/unique_ptr_fix
Only Rick Stovall can upload to this branch. If you are Rick Stovall please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Rick Stovall
Project:
New Real Time Battle
Status:
Merged

Recent revisions

21. By Rick Stovall

Removed an unneeded reference to the boost::shared_ptr header in the socket unit test.

20. By Rick Stovall

1. Significant cleanups to the tcp_server_socket_factory, particularly in the run() (listener) method, providing improved clarity and stability and error reporting.
2. It is now an error for tcp_server_socket_factory::on_accept() to fail to take posession of connect_sock.
3. Defined tcp_server_socket_factory::last_fault(); it had been declared 12 years ago, but apparently I had never actaully finished it.
4. Cleaned up and refined socket_test.cpp to improve error reporting and comply with proper use of the newly unique tcp_socket_p.

19. By Rick Stovall

Completed and passes unit tests. THere is an occassional failure to connect to the listener socket which may be indicative of a gap in tcp_server_socket_factory::start_listen(), as it looks like the listener is not getting started properly. However, even in that case we fail gracefully.

18. By Rick Stovall

Added the C0x switch to the linker step to ensure the proper libs are linked.

17. By Rick Stovall

1. Added a new bool is_connected() method to transciever.
2. Corrected a couple of cases in the transciever test where I was attempting to access a unique_ptr after ownership was handed off.

16. By Rick Stovall

Three changes to the transceiver test code:
   1. Moved the declaration of the test server out to the global scope from inside the server socket factory.
   2. Added a smarter loop to wait for server startup.
   3. Removed the define in the Makefile suppressing the boost::circular_buffer debug code.

Not compiled or tested yet.

15. By Rick Stovall

Numerous cleanups on the transceiver test code to increase reliability. Not compiled yet.

14. By Rick Stovall

More tranceiver fixes to use unique_ptr<>. This version builds but does not pass unit tests yet.

13. By Rick Stovall

Numerious changes to Tranceiver.. still resolveing an issue with circular buffer.

12. By Rick Stovall

Corrected to use the proper header for std::unique_ptr<>.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:nrtb
This branch contains Public information 
Everyone can see this information.

Subscribers