130 Commits

Author SHA1 Message Date
Dawid Drozd
170690ae9d Mark as 3.0.0 version
This would be next release version
2019-09-14 15:59:25 +02:00
Dawid Drozd
75443f35da Add EventBus::getStrategy
E.g. Protected strategy has some extra functions like Protected::wait
2019-09-14 15:59:02 +02:00
Dawid Drozd
026889c86c Update cpp code for move and forward 2019-09-14 15:58:02 +02:00
Dawid Drozd
8f6eb24549 Remove Subscriber and make Listener more safe
There could be not nice situation when bus dies and Listener wants to unlisten. That was easy to
achieve e.g. bad order in class fields. (Order of destruction matters)
2019-09-14 15:56:09 +02:00
Dawid Drozd
0efc4264fc Update required C++ to 17 2019-09-14 15:51:47 +02:00
Dawid Drozd
412bc653aa Add new way of installing public headers 2019-09-14 15:11:21 +02:00
Dawid Drozd
be33318242 Code format 2019-09-14 15:01:06 +02:00
Dawid Drozd
caa2b3e9ff Add dummy Listener without assigned bus
Thanks to that we can store Listener without ASAP initialization with bus
2019-09-14 14:59:40 +02:00
Dawid Drozd
48306cfc96 Update performance/CMakeLists 2019-06-30 21:10:25 +02:00
Dawid Drozd
c6a39841c7 Update performance test for new EventBus 2019-06-30 21:09:50 +02:00
Dawid Drozd
2d2733afde Add preview of EventBus 3.0 2019-06-30 20:12:50 +02:00
Dawid Drozd
7e6bb32e27 Update CXX_STANDARD to C++17 and minimum required cmake version to 3.11 2019-06-30 14:14:43 +02:00
Dawid Drozd
02b45437b6 Update clang-format config file and reformat whole code according to it
- Clang-tidy applied
- No logic changes, just code style improvement.
2019-06-29 11:27:38 +02:00
Dawid Drozd
cf44a59ca3 Rename Dexode::Internal::type_id to Dexode::Internal::event_id 2019-06-29 11:10:02 +02:00
Dawid Drozd
cb4438bee1 Bump version to 2.6.0 v2.6.0 2019-06-26 08:09:34 +02:00
Dawid Drozd
b0428e814f Update Catch2 for Travis from 2.6.0 to 2.9.1 2019-06-26 08:09:34 +02:00
Dawid Drozd
d51be92632 Add AsyncEventBus::wait() function 2019-06-26 08:09:34 +02:00
Dawid Drozd
3b908bdaa8 Fix Travis build
Add more interesting build configurations also.
2019-06-26 08:09:31 +02:00
Dawid Drozd
0362712fc3 Update google benchmark submodule to v1.5.0 2019-06-14 07:12:23 +02:00
Dawid Drozd
66d408926f Update AsyncEventBus::consume to be more "logic" 2019-06-13 19:39:49 +02:00
Dawid Drozd
6c9ba0640c Fix enable_cpack() call
We were missing argument (maybe I resolved conflict badly)
We don't need option this could be deduced from CPACK_GENERATOR variable

[MINOR]
2019-04-21 14:36:56 +02:00
Dawid Drozd
3f39010983 Update README 2019-04-21 14:35:04 +02:00
Dawid Drozd
1156e0adfa Remove not needed cpack config
This was previously moved to lib/CMakeLists.txt
[PATCH]
2019-04-21 14:34:50 +02:00
Dawid Drozd
5f715c785b
Merge pull request #25 from Aang23/master
Update CPack support
2019-04-21 13:41:04 +02:00
Dawid Drozd
9fe2ae68f1
Merge branch 'master' into master 2019-04-21 13:14:30 +02:00
Aang23
492158ba80
Update README.md 2019-04-12 13:37:35 +02:00
Aang23
afc8cea23c Update and fix CPack 2019-04-12 13:19:16 +02:00
Aang23
427652522e Split and update CPack configuration 2019-04-11 21:05:56 +02:00
Aang23
a8669fddc8 Update CPack and exclude /lib 2019-04-11 21:05:56 +02:00
Aang23
f45b106dab Add CPack RPM/DEB/TGZ support 2019-04-11 21:05:56 +02:00
Aang23
1146cebc55 Split and update CPack configuration 2019-04-11 10:33:58 +02:00
Aang23
d0bb961c2b Update CPack and exclude /lib 2019-04-09 22:23:09 +02:00
Aang23
d33292f820 Add CPack RPM/DEB/TGZ support 2019-04-09 22:15:41 +02:00
Dawid Drozd
89a376f6cf Update catch2 for travis 2019-03-31 00:28:43 +01:00
Dawid Drozd
aa96ba493d Add AsyncEventBus::notify 2019-03-30 15:32:08 +01:00
Dawid Drozd
2edc809a74 Update code format according to clang-format
No code changes
2019-03-30 15:31:18 +01:00
Dawid Drozd
bc466a3d6b Update dev project cmake 2019-03-30 15:28:17 +01:00
Dawid Drozd
0d2fa6ef85 Update required Catch2 to 2.6 2019-03-30 15:12:09 +01:00
Dawid Drozd
6fdf79795e Update README 2019-03-15 15:50:37 +01:00
Dawid Drozd
42c690e774 Fix gcc warning v2.4.1 2019-01-20 20:47:53 +01:00
Dawid Drozd
34902c481d Fix type_id<T>() helper function for Visual Studio
Issue: #19

Visual Studio optimize not so portable version of type_id<T>()
so each time we get same id for different types.

Added small test to check this behavior in future.
2019-01-20 20:39:07 +01:00
Dawid Drozd
d10e3bf57b Update README
[skip-ci]

Change-Id: I21e309999fb9549ca5e524e52cfd55921921c512
2018-10-15 14:48:35 +01:00
Dawid Drozd
eddf87ae48 Add contributing doc
[ci skip]

Change-Id: I53dde8bbfcf6c339192e0dd8aefdf219bd694b6f
2018-10-15 14:48:35 +01:00
Dawid Drozd
b28aeef9f2 Update issue templates
Change-Id: Iefdf090506a92ca9e6308e59798797b9a8b8d73c
2018-10-15 14:48:35 +01:00
Dawid Drozd
8c79729275
Rename CODE_OF_CONDUCT.md to docs/CODE_OF_CONDUCT.md 2018-10-08 15:13:49 +01:00
Dawid Drozd
1a3ad85ef5
Create CODE_OF_CONDUCT.md 2018-10-08 15:13:14 +01:00
Dawid Drozd
f06ddc4fc8 Update README 2018-09-09 13:47:16 +02:00
Dawid Drozd
7cf4465168 Add AsyncEventBus
Now it is possible to schedule events from different threads.
v2.4.0
2018-09-08 19:56:19 +02:00
Dawid Drozd
c53fc6fabb Remove some trash 2018-09-08 16:57:51 +02:00
Dawid Drozd
52d85fcfea Update catch version for travis 2018-09-06 21:05:54 +02:00