- 19 Apr, 2016 10 commits
-
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
Make (de)serializer more flexible
-
Dominik Charousset authored
-
Joseph Noir authored
-
Dominik Charousset authored
-
Dominik Charousset authored
Fix compilation errors when enabling trace log level
-
ufownl authored
-
Matthias Vallentin authored
This change adds the necessary operator overloads to make optional<T> totally ordered, per the current draft of the standard. As reference serves the implementation of libstdc++ version 5.3. As CAF doesn't have nullopt_t, we use none_t.
-
- 18 Apr, 2016 7 commits
-
-
Matthias Vallentin authored
First, this change moves the context to the parameter to the end in order to make it optional. The context is only necessary when serializing messages. Since CAF's serialization framework also serves also other application's need, this CAF-specific detail now no longer constitutes a mandatory part of the API. Second, this change switches the binary (de)serializer to a streambuffer based API. This enables much more flexible forms of interfacing, e.g., by serializing into/from a file, socket, and more.
-
Matthias Vallentin authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
- 15 Apr, 2016 1 commit
-
-
Dominik Charousset authored
Add new unexpected message handler to actors that centralizes how actors deal with messages that are not handled in their current behavior. This obsoletes the previous approach of cluttering the code base with `others >>` handlers. Relates #444. Also relates #446, since the new interface uses `type_erased_tuple` and is a first step towards removing `message` from the interface of actors entirely. Removing `others` as well as the "advanced pattern matching syntax" from CAF opens up design space, allows for several optimizations, and improves compatibility to MSVC.
-
- 14 Apr, 2016 3 commits
-
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
- 13 Apr, 2016 2 commits
-
-
Dominik Charousset authored
-
Dominik Charousset authored
-
- 12 Apr, 2016 1 commit
-
-
Dominik Charousset authored
-
- 11 Apr, 2016 3 commits
-
-
Dominik Charousset authored
Enhance serialization framework
-
Dominik Charousset authored
-
Dominik Charousset authored
Give actor_addr weak pointer semantics to break loops when linking two actors and to avoid keeping actors alive only by monitoring them. Use strong_actor_ptr wherever a type-erased form of actor or typed_actor<...> is needed. Relates #420.
-
- 10 Apr, 2016 1 commit
-
-
Matthias Vallentin authored
-
- 09 Apr, 2016 2 commits
-
-
Dominik Charousset authored
Cleanup `actor_factory` test code
-
Lingxi-Li authored
-
- 06 Apr, 2016 4 commits
-
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Dominik Charousset authored
The class `maybe` is obsoleted by `result` in all cases that could return an error. In all other cases, `optional` is equally well suited to do the job. Since C++17 will contain an `optional` class, it makes more sense to use this abstraction and switch to the standard library version once available.
-
- 04 Apr, 2016 5 commits
-
-
Dominik Charousset authored
-
Dominik Charousset authored
-
Lingxi-Li authored
-
Dominik Charousset authored
Generating 64-bit actor IDs does not work on 32-bit Clang. While this could cause to overflow actor IDs, it is unlikely to have that 2^32 actors on such a system anyway due to memory constraints.
-
Dominik Charousset authored
-
- 01 Apr, 2016 1 commit
-
-
Matthias Vallentin authored
-