107 Commits

Author SHA1 Message Date
Dawid Drozd
46e4b54098 Enable OSX 2018-07-31 10:08:42 +02:00
Dawid Drozd
7cdd7773af Update travis ci script 2018-07-31 09:58:12 +02:00
Dawid Drozd
26f42e03bc Fix typo 2018-07-31 08:54:45 +02:00
Dawid Drozd
e27041d095 Fix Catch2 version 2018-07-31 08:49:46 +02:00
Dawid Drozd
354b0d08b4 Fix naming Catch2 library 2018-07-31 08:29:57 +02:00
Dawid Drozd
5dbc203460 Fix path 2018-07-30 16:04:32 +02:00
Dawid Drozd
5763b74092 Fix dependency 2018-07-30 15:58:21 +02:00
Dawid Drozd
2bbee03c76 Update Travis CI script 2018-07-30 15:39:37 +02:00
Dawid Drozd
d054e5c917 Update Travis CI for linux and OSX 2018-07-30 15:11:21 +02:00
Dawid Drozd
63395f5a7e Secure EventBus from wrong usage
For example user previously could do such thing:

bus.listen<const MyEvent>(...)

bus.listen<MyEvent>(...)

Those we 2 different events :/
2018-07-27 14:38:40 +02:00
Dawid Drozd
f9195316d3 Update for better managing Debug/Release
Updated project for easy switch between debug/release versions of library

Thanks to that we can do only find_package and don't have to care about if's switching between
debug/release

Thanks: https://github.com/forexample/package-example
2018-07-26 12:44:17 +02:00
Dawid Drozd
7d708959d9 Update clang-format style 2018-07-25 13:45:55 +02:00
Dawid Drozd
beb1d3b863 Add some docs 2018-07-24 16:05:16 +02:00
Dawid Drozd
ca450dfeee Remove not needed includes 2018-07-24 15:49:52 +02:00
Dawid Drozd
6473b80e8e Code format 2018-07-24 15:41:57 +02:00
Dawid Drozd
8abb56e1dd Improve performance
Thanks to that we don't need RTTI
2018-07-24 15:41:40 +02:00
Dawid Drozd
1feacbb1f9 Remove trash 2018-07-24 15:14:16 +02:00
Dawid Drozd
b5dc5c0558 Fix include path 2018-07-24 15:00:15 +02:00
Dawid Drozd
9939fd0980 Update install lib 2018-07-24 14:51:02 +02:00
Dawid Drozd
9eaa09f9ec Fix 2018-07-24 14:50:47 +02:00
Dawid Drozd
7a5b3323af Update README 2018-07-24 14:16:12 +02:00
Dawid Drozd
beb6599ee4 Add performance compare to Poco::NotifactionCenter 2018-07-24 14:16:05 +02:00
Dawid Drozd
1d25b99758 Update clang-format 2018-07-24 14:14:08 +02:00
Dawid Drozd
4f4cb4a7e8 Remove bad flag
It is only working for GCC
2018-07-24 13:04:30 +02:00
Dawid Drozd
66a7945084 Remove deprecated stuff
It was breaking encapsulation
2018-07-24 13:03:15 +02:00
Dawid Drozd
1e7500607b Update sample 2018-07-24 13:01:37 +02:00
Dawid Drozd
11a146bb91 Add clang-format rules 2018-07-24 13:01:27 +02:00
Dawid Drozd
685562c632 Reorganize project layout
Inspired by: https://www.youtube.com/watch?v=6sWec7b0JIc
2018-07-24 12:47:10 +02:00
Dawid Drozd
40d1d64878 Remove Catch2 submodule
Switch to own dependency
2018-07-24 12:45:55 +02:00
Dawid Drozd
ca21df04f3 Remove old code 2018-07-24 11:28:51 +02:00
Dawid Drozd
7ae52d926d Update README 2018-07-02 13:26:13 +02:00
Dawid Drozd
a52ca493cb
Merge pull request #1 from gelldur/windows
Fix Windows compilation error
2018-07-02 13:10:23 +02:00
Pierre Salmon
1e4858e9bc Fix Windows compilation error 2018-02-14 11:34:42 +01:00
Dawid Drozd
caec657b07 Fix GCC compile 2017-12-07 12:07:24 +01:00
Dawid Drozd
5408f09d03 Remove checking C++11 support by definied var
On windows it doesn't work should check by using check features

https://stackoverflow.com/questions/14131454/visual-studio-2012-cplusplus-and-c-11
2017-12-05 14:56:11 +01:00
Dawid Drozd
b370565b37 Remove not needed const 2017-12-05 14:34:30 +01:00
Dawid Drozd
b41c6254ff Update compile flags 2017-12-05 13:14:20 +01:00
Dawid Drozd
636b63865d Fix compiler flags 2017-12-04 13:46:51 +01:00
Dawid Drozd
4d43ff4483 Add deprecated for BusAttorney 2017-12-04 13:24:44 +01:00
Dawid Drozd
dc672b48ab Fix typo 2017-11-24 13:29:34 +01:00
Dawid Drozd
6660828175 Bump version to 2.2.0
Break back compatibility of EventCollector::getBus
v2.2.0
2017-11-24 12:55:33 +01:00
Dawid Drozd
2a360f4576 Fix running tests for Travis 2017-11-24 12:54:33 +01:00
Dawid Drozd
74d3b3ee60 Improve BusAttorney 2017-11-24 12:54:17 +01:00
Dawid Drozd
3ddb5ac7c5 Improve Event::Collector::getBus
Some of people make such thing:

listener.getBus().listen<T>()...

And they thought that listening with our listener.
So need to fix bad conceptual mistake.
2017-11-24 12:42:50 +01:00
Dawid Drozd
951d3f1e42 Enable testing by variable 2017-11-24 12:40:16 +01:00
Dawid Drozd
5c8da7fe1c Bump version to 2.1.4 v2.1.4 2017-09-20 20:42:21 +02:00
Dawid Drozd
155c93ccd1 Update README with sample usage 2017-09-20 20:42:01 +02:00
Dawid Drozd
f3bcba75fe Add sample project 2017-09-20 19:54:02 +02:00
Dawid Drozd
4064cec28b Remove compile options from library
In some cases using flag:`D_GLIBCXX_DEBUG` will cause some memory corruption
errors. For example our executable will link to this library without
`D_GLIBCXX_DEBUG` flag on it self.

Do not investigate it deeply but probably hardcoding compile options in library
isn't good idea.
2017-09-20 19:50:33 +02:00
Dawid Drozd
6333823bcf Fix format 2017-09-20 19:45:08 +02:00