Menu

asio samples / News: Recent posts

Asio samples were moved to GitHub

Hi users of Asio samples project.

Asio samples were moved to GitHub: https://github.com/mabrarov/asio_samples.
The SourceForge SVN repository and files won't get updates anymore.
There won't be any other announces in this mailing list, however I'll continue to answer questions posted here.
The preferred way for bug reporting is GitHub issues page: https://github.com/mabrarov/asio_samples/issues

The Asio samples GitHub repository already got some updates:
1. Better C++11 support (partial usage of standard library instead of Boost).
2. Boost 1.55 support.
3. MS Visual Studio 2013 support.
4. Intel Composer XE 2013 SP1 update 1 support.
5. Minor fixes, formatting/renaming.... read more

Posted by Marat Abrarov 2013-12-10

Asio samples 0.5.0 released

Asio samples 0.5.0 is out:
http://sourceforge.net/projects/asio-samples/files/asio-samples/0.5.0%20%28Development%29/asio_samples_0_5_0.zip/download

Most of interesting changes are related to ma::handler_storage class.

Release notes in short:
1. Refactoring & reformat done.
2. Switched to Boost C++ Libraries 1.51.
3. Patches for Boost C++ Libraries 1.51 added (Intel ones are the only mandatory).
4. Switched to Qt 4.8.3.
5. ma::handler_storage::target() uses typed pointer than can be specified (default is void) by ma::handler_storage template's parameter.
6. ma::handler_storage class: support of type erasure based on virtual member function added (see MA_TYPE_ERASURE_USE_VURTUAL at include/ma/config.hpp:108).
7. ma::handler_storage<void, Target = void> supported, i.e. no-arg handlers are supported.
8. base_hook class of intrusive containers fixed (copy ctor & copy assignment operator).
9. Switched from scoped_lock to boost::lock_guard.
10. Intel Parallel Studio XE 2013 support added (MSVS 2012 based project).
11. Intel C++ Compiler (12.x-13.x) doesn't need /vmg option anymore (echo_server and nmea_client projects). Thanks to separation of declaration and definition parts.
12. "asio::io_service instance per each work thread" mode added to projects: echo_server, qt_echo_server, async_connect, asio_performance_test_client.
13. async_basics project revisited (simplified).... read more

Posted by Marat Abrarov 2012-10-28

Asio samples 0.3.9 released

Asio samples 0.3.9 is out:
http://sourceforge.net/projects/asio-samples/files/asio-samples/0.3.9%20%28Development%29/asio_samples_0_3_9.zip/download

Release notes in short:
1. Switched to Boost C++ Libraries 1.49 (versions 1.46-1.48.x still supported, the older ones have to work too).
2. Switched to shared_ptr factory function (static member function) for classes that can be used through shared_ptr only.
3. ma::steady_deadline_timer introduced. Steady if Boost.Chrono is accessible.
4. ma::context_alloc_handler2 (and related helper function) renamed to ma::explicit_context_alloc_handler, ma::context_wrapped_handler2 (and related helper function) renamed to ma::explicit_context_wrapped_handler.
5. Modified Asio performance test client (taken from non-boost version of Asio) added. Modifications are: test can complete sooner than timeout expires (if all work was done), simultaneous sending & receiving, single buffer for all IO of the session.
6. QMake projects updated: specifying of Boost C++ Libraries added, Boost.Chrono support added (auto on if found), subdir project (including all overs) added.
7. Bugfixes: ma::codecvt_cast::in, MA_STRAND_WRAP, patch for boost::shared_ptr-to-bool cast & Intel C++ Composer XE 2011 (see https://svn.boost.org/trac/boost/ticket/4759\).
8. Patches for building Qt 4.8.1 added. All patches are moved into a separate folder.
9. MSVC: minor warning disable pragmas added.... read more

Posted by Marat Abrarov 2012-04-22