Commit graph

1808 commits

Author SHA1 Message Date
Peter Conrad
b986bab004
Merge pull request #167 from pmconrad/exception_format_fix
Exception format fix
2019-09-19 08:20:27 +02:00
Peter Conrad
20c1688223 Removed superfluous return 2019-09-18 13:07:54 +02:00
Peter Conrad
164f1f68e6 Whitespace fixes 2019-09-18 13:07:54 +02:00
Peter Conrad
5b8a7c281c Partial revert "Changes to avoid conflict in following cherry-pick"
This reverts commit d729816b06.
2019-09-18 13:07:47 +02:00
Spartucus
3583ee6138 Fix non-void function return value
Since last catch insert exception string to `ss`, it should returns.
2019-09-18 12:59:37 +02:00
Kevin Heifner
2eb047a6f4 Add exception handling to to_string and to_detail_string 2019-09-18 12:59:37 +02:00
Peter Conrad
d729816b06 Changes to avoid conflict in following cherry-pick 2019-09-18 12:59:37 +02:00
Peter Conrad
bae416a446
Merge pull request #162 from pmconrad/1982_rotate_logs
Check + rotate logs while logging not by scheduled task
2019-09-17 17:37:04 +02:00
Peter Conrad
f052ac98fa
Merge pull request #166 from pmconrad/copy_safety
Copy safety
2019-09-17 15:59:01 +02:00
Peter Conrad
e168b6400b Avoid time calculation when not rotating 2019-09-17 13:46:02 +02:00
Peter Conrad
2b3611fa95 Delete copy constructor + copy assignment in tcp_socket 2019-09-16 14:44:55 +02:00
Peter Conrad
7b98c69c3b Delete copy constructor + copy assignment in openssl type wrappers 2019-09-16 14:38:45 +02:00
Peter Conrad
f6fd6a7cf7 Avoid re-computing seconds 2019-09-15 14:18:57 +02:00
Peter Conrad
5cd9f7d631 Move log file deletion into separate task 2019-09-15 14:09:44 +02:00
Peter Conrad
2e50624b28 Check + rotate logs while logging not by scheduled task 2019-09-12 16:01:09 +02:00
Peter Conrad
869c75d070
Merge pull request #159 from pmconrad/314_windows_default_cas
Fix core #314 - Use windows default CAs for tls client connections
2019-09-06 08:09:13 +02:00
Nathan Hourt
9db1417b25
Merge pull request #160 from nathanhourt/master
Add FC_REFLECT_DERIVED_NO_TYPENAME
2019-09-02 11:52:18 -05:00
Nathan Hourt
dadfe189d4 Add FC_REFLECT_DERIVED_NO_TYPENAME
This is moved to FC from graphene/protocol/types.hpp
2019-09-02 10:02:51 -05:00
Nathan Hourt
7e69567dd0
Merge pull request #158 from nathanhourt/master
Fix build on G++ 7
2019-09-02 09:53:20 -05:00
Nathan Hourt
1699b0ac36 Fix build on updated G++ 2019-09-01 12:53:01 -05:00
Nathan Hourt
4b7bcb951d
Merge pull request #156 from nathanhourt/reflection-updates
Improve reflection system and static_variant
2019-09-01 10:33:40 -05:00
Peter Conrad
77a82903fc Fix core #314 - Use windows default CAs for tls client connections 2019-09-01 15:17:59 +02:00
Nathan Hourt
292584ca59 Add static_variant::operator==
For real this time :)
2019-08-31 12:48:52 -05:00
Nathan Hourt
94cb1858b8 Fix constexprs, unused code 2019-08-31 12:48:52 -05:00
Abit
78aaaac8e1
Merge pull request #157 from bitshares/for-core-3-3
Merge for-core-3-3 branch into master
2019-08-30 22:27:42 +02:00
Nathan Hourt
c69ea32613 Improve reflection system and static_variant
Previously, fc reflection generated visitor infrastructure capable of
visiting each field of a struct; however, this is only useful for run-
time operations on structures. No compile-time information was preserved
about the fields of a struct, making compile-time introspection of types
impossible.

Now FC reflection generates rich compile-time information about the
members of structs, including types, names, and structure, allowing
code to be written to explore types in detail at compile-time and fetch
arbitrary fields at runtime without needing to iterate over the unwanted
fields.

To make this a reality, a new `typelist` type was added to store this
compile-time information. This type is also useful within the context of
`static_variant`, as SV previously used implementation detail types in a
private namespace to provide this functionality. Now `static_variant`
uses the reusable functionality of `typelist` to operate, dramatically
reducing the amount of code dedicated to `static_variant` and also
making `static_variant` types more flexible to work with since their
infrastructure is now based on the `typelist` public interface.
2019-08-30 14:21:36 -05:00
Nathan Hourt
5278a125df
Merge pull request #154 from nathanhourt/sv_overloads
Replace improper static_variant operator overloads with comparators
2019-08-30 14:19:06 -05:00
Peter Conrad
7a4758671f
Merge pull request #152 from pmconrad/1952_fix_assert
Possible fix for core #1952
2019-08-30 20:44:18 +02:00
Nathan Hourt
45cb433d47 Fixes from code review 2019-08-30 11:52:05 -05:00
Peter Conrad
9e81e1d5b6
Merge pull request #153 from crypto-ape/fix_for_msvc_broken_static_evaluation_in_array_declaration
Fix Compilation with MSVC
2019-08-30 18:04:17 +02:00
Nathan Hourt
7954c4a9c0
Merge pull request #155 from bitshares/nathanhourt-fix-logger-warnings
Fix warnings (ref bitshares/bitshares-core#1584)
2019-08-29 13:11:25 -05:00
Nathan Hourt
cce644f686
Fix warnings
The `appender` class is intended to be inherited and used polymorphically, but does not have a virtual destructor, which causes warnings. This adds a virtual destructor to fix these warnings.
2019-08-29 11:26:34 -05:00
Nathan Hourt
9f7f1b4790 Replace improper static_variant operator overloads with comparators 2019-08-28 15:51:14 -05:00
crypto-ape
5bb0254d83 fix array declaration for broken msvc static expression evaluation 2019-08-26 14:10:43 +02:00
Peter Conrad
78ffb6dbd3 Possible fix for core #1952 2019-08-22 11:11:17 +02:00
Peter Conrad
1d2d9bf2a4
Merge pull request #151 from pmconrad/1948_fix_editline
Fix editline build on non-win32
2019-08-21 14:10:19 +02:00
Peter Conrad
ea85954e17 Adjust whitespace 2019-08-21 11:31:41 +02:00
Peter Conrad
81cc84c172 Fix core #1948 - editline does not build 2019-08-21 11:31:09 +02:00
John M. Jones
1eebd3c692
Merge pull request #149 from bitshares/jmj_cmake
Remove custom FindBoost.cmake
2019-08-20 14:52:38 -05:00
Peter Conrad
71f5348101
Merge pull request #150 from pmconrad/tcp_socket_size
Fix core #1935
2019-08-20 15:43:39 +02:00
Peter Conrad
7b37cd6eff Fix core #1935 2019-08-19 12:09:53 +02:00
Peter Conrad
699238f08f Fix build with older cmake 2019-08-17 10:23:15 +02:00
Peter Conrad
c94abf71a3
Merge pull request #148 from crypto-ape/support_building_on_open_bsd
Support Building on OpenBSD
2019-08-17 10:09:05 +02:00
John Jones
3f1096d23e Remove custom FindBoost.cmake 2019-08-16 13:24:28 -05:00
crypto-ape
727e09ebe7 support openbsd // implement tcp keep-alive polling 2019-08-15 12:22:59 +02:00
crypto-ape
4ac6887deb support openbsd // compile with libressl 2019-08-15 12:22:59 +02:00
crypto-ape
cb5f7d3cdd support openbsd // get rid of alloca 2019-08-15 12:22:59 +02:00
crypto-ape
a1c2ff9943 support openbsd // make code compliant with clang 2019-08-15 12:22:54 +02:00
John M. Jones
91d8772b7b
Merge pull request #147 from bitshares/jmj_winfix
Increase size for Boost 1.70
2019-08-13 14:02:18 -05:00
Abit
f7a1e532ca
Merge pull request #146 from bitshares/optional-api-fix
Fix optional API arguments
2019-08-13 20:12:59 +02:00