Menu

Code Commit Log


Commit Date  
[r204] by mikhail_beris

Test and supporting implementation for invalid formatted hostnames.

2009-11-29 20:43:31 Tree
[r203] by mikhail_beris

Integrating URI implementation to be used in HTTP request message.

2009-11-29 18:24:29 Tree
[r202] by mikhail_beris

Adding network client and server hints.

2009-11-26 16:58:24 Tree
[r201] by mikhail_beris

Using Boost.Spirit classic includes and namespace.

2009-11-26 16:37:29 Tree
[r200] by mikhail_beris

Cleanup of http message test, removing redundant namespace using declarations.

2009-11-26 16:36:00 Tree
[r199] by mikhail_beris

Refactoring fixtures.

2009-11-26 16:00:28 Tree
[r198] by glynos

I managed to update the unit tests for boost::network::message and boost::network::uri ... this is works and also applies for std::wstring. However, I've had to update the directives in order to make this work... we need to return to this because it's not generic. But it works, and it's a measurable improvement (we had no tests for std::wstring before).

One final test is to define a fake string & ostringstream that can verify that boost::network::basic_message is genuinely generic.

Furthermore, URI tests were update, and basic URI works with std::wstring. However, boost::network::http doesn't support wstring at all yet (neither URI nor message).

2009-11-15 18:36:37 Tree
[r197] by glynos

Minor changes - it's becoming clear that using directives won't work in their current implementation. For a hint why, see network/message/directives/header.hpp:55: the directives themselves are specialized on the tag which defeats the purpose. Therefore, none of the unit tests for std::wstring will compile.

The only solution I can think of is to add a function argument:

namespace bn = boost::network;
bn::message instance;
instance << bn::header("name", "value", bn::tags::default_());

but this isn't very clean.

2009-11-15 09:44:28 Tree
[r196] by glynos

Refactored message_test.cpp and url_test.cpp.
Replace references to std::string with string<Tag>::type, but this is something that is tightly coupled to the HTTP parser, so more work needs to be done to fix this.
All tests are successful under gcc on Linux.

2009-11-14 23:13:16 Tree
[r195] by glynos

Cleaned up traits subdirectories.

2009-11-11 12:52:59 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.