Commit graph

2047 commits

Author SHA1 Message Date
Nathaniel Hourt
d036669aa6 Merge branch 'dapp-support' into 'latest-fc'
FC Updates from BitShares and myself

See merge request PBSA/tools-libs/peerplays-fc!21
2022-02-08 23:43:34 +00:00
Nathaniel Hourt
a17b231acf
Merge pull request #1 from MichelSantos/dapp-support
Merge with latest-fc
2021-11-12 17:25:30 -06:00
Michel Santos
9ed3f6e338 Merge branch latest-fc into dapp-support 2021-11-11 15:19:50 -05:00
Nathaniel Hourt
21418ec46e
Compiler incompatibility
It broke again so poke it again. Perhaps all clang versions require `template` here? I'm not sure, haven't gotten around to testing all the different compilers on it yet.
2021-09-21 12:36:07 -05:00
Nathan Hourt
0248e20531
Add option to compile dynamic libraries
Also, fix build:
Clang 10.0.1 has incompatible rules with other compilers on whether
you must/cannot put the `template` keyword in part of the reflection
code. Add a special case to make it work all around.
2021-03-13 09:14:01 -06:00
serkixenos
4888839219
Merge pull request #17 from peerplays-network/fc/cleaner-build-log
Remove as much warnings from build log as possible
2021-01-27 13:33:51 +01:00
Nathan Hourt
472ff6bf40
Restore pre-merge websocketpp
This is just a rote copy of vendor/websocketpp from two commits
ago, ie 0e9259486c
2020-12-02 11:34:54 -06:00
Nathan Hourt
74b0201049
Merge remote-tracking branch 'ppu/latest-fc' into bts-updates 2020-12-02 10:24:46 -06:00
serkixenos
29d2f72b24 Remove as much warnings from build log as possible 2020-10-29 21:47:30 +01:00
Bobinson K B
0e9259486c Merge branch 'feature/static_variant_update' into 'latest-fc'
static variant update

See merge request PBSA/PeerplaysIO/tools-libs/peerplays-fc!19
2020-10-27 17:33:25 +00:00
Bobinson K B
d8429b8376 Merge branch 'feature/rl-editline' into 'latest-fc'
Feature/readline-editline

See merge request PBSA/PeerplaysIO/tools-libs/peerplays-fc!20
2020-10-27 17:33:01 +00:00
blockc p
5e5c6c91df Feature/readline-editline 2020-10-27 17:32:59 +00:00
pravin-battu
3f4a4468e0 static variant update 2020-10-16 12:12:57 -03:00
Nathan Hourt
2f89e0812a
Use signed_int to serialize enums 2020-09-17 21:11:28 -05:00
Nathan Hourt
747567fbdc
Revert "Removed signed_int"
This reverts commit 1dcacbafc9.
2020-09-17 12:26:06 -05:00
Nathan Hourt
69ebbf4ba4
Link boost.serialization 2020-08-21 14:45:42 -05:00
Nathan Hourt
5b3eb3a355
websocket_server default empty XFF header
For some reason, the websocket_server types have been altered to require
an X-Forwarded-For header (???) which seems utterly unnecessary. AFAICT,
it's safe to just leave it empty (BitShares does), so add a default arg
to make it do so by default.
2020-08-21 11:47:14 -05:00
Nathan Hourt
4accfdd951
Fix warnings 2020-08-21 11:42:57 -05:00
Eric Frias
fde60bdbbc
Add a fc_[diwe]dump() function, analogous to fc_[diew]log() 2020-08-20 11:31:00 -05:00
Nathan Hourt
7bf5340a74
Add hash_ctr_rng.hpp
This file was originally added in ff099209b6
2020-08-20 10:52:08 -05:00
Bobinson K B
fb27454cdf Merge branch 'ws-fc-updates' into 'latest-fc'
ws-updates

See merge request PBSA/PeerplaysIO/tools-libs/peerplays-fc!18
2020-08-12 13:00:39 +00:00
blockc p
917e4d348b ws-updates 2020-08-12 13:00:39 +00:00
Bobinson K B
8dd2fbe1b6 Merge branch 'issue-13-fix-websocket' into 'latest-fc'
Issue-13-fix (websocket shutdown)

See merge request PBSA/PeerplaysIO/tools-libs/peerplays-fc!17
2020-08-11 14:53:56 +00:00
Roshan Syed
b99585ca69 Added .gitlab-ci.yml 2020-07-09 13:11:09 +00:00
pravin-battu
c1e362a8dd websocket issue 2020-07-05 22:23:29 -03:00
blockc p
13b7cfaec7 Revert "websocket fix, issue 13"
This reverts commit 0cf6f461b6
2020-07-02 17:07:12 +00:00
pravin-battu
0cf6f461b6 websocket fix, issue 13 2020-07-02 13:34:29 -03:00
Abit
9e14f238f7
Merge pull request #206 from bitshares/github-auto-build
Add macOS to Github Autobuild
2020-07-02 17:04:17 +02:00
abitmore
4ffc77f9d6 Update boost version checks in time_test to macros 2020-07-02 09:18:11 -04:00
abitmore
82e3944ff2 Update time_test to get around a boost 1.60 issue 2020-07-02 08:47:45 -04:00
Abit
210e816897 Fix paths for macOS unit tests in github autobuild 2020-07-02 08:35:27 -04:00
Abit
d7c710edd5
Add macOS to Github Autobuild 2020-07-02 10:38:59 +02:00
Abit
a2b380d58e
Merge pull request #205 from bitshares/fix-websocket-close
Fix race condition in websocket server close
2020-06-24 15:27:28 +02:00
Abit
8b94976b79
Fix race condition in websocket server close
Note: the close() functions are not yet used in bitshares-core, but only in tests in FC.
The new code is not fully thread-safe either.
2020-06-24 12:08:55 +02:00
Abit
a876678008
Merge pull request #204 from bitshares/jmj_1256
Test to demonstrate fc::mutex and fc::thread
2020-06-22 17:07:13 +02:00
Abit
12777b8358
Merge pull request #201 from bitshares/ws-refactory
Websocket code refactory and bugfix
2020-06-22 16:27:42 +02:00
abitmore
0d9b127e34 Add missing functions to websocket_tls_server
These functions were in websocket_server class but not in websocket_tls_server class:
- get_listening_port
- stop_listening
- close
2020-06-20 13:01:22 -04:00
abitmore
aa671d61b5 Add promise to wait for closure of server socket
This may fix the issues that a websocket server may crash or hang when quitting
2020-06-20 11:36:21 -04:00
abitmore
9ae294293f Update coding style 2020-06-18 18:57:33 -04:00
Abit
6606806f31
Merge pull request #202 from bitshares/fix-tuple-size-warning
Fix Clang -Wmismatched-tags warning on tuple_size
2020-06-17 14:24:28 +02:00
abitmore
88a3b58651 Fix Clang -Wmismatched-tags warning on tuple_size 2020-06-14 21:53:47 +00:00
abitmore
4dd1319a9e Refactor destructor of websocket_server_impl 2020-05-06 13:25:23 -04:00
abitmore
c55b1fde3c Add notes 2020-05-06 13:25:23 -04:00
abitmore
b77fa2a651 Capture only required vars, update coding style
and replace an assertion with a check.
2020-05-06 12:22:07 -04:00
abitmore
04f5fae050 Refactor websocket_tls_server_impl with template
Removes unnecessary differences between websocket_server_impl and websocket_tls_server_impl.
2020-05-02 13:33:39 -04:00
abitmore
33ce80cc5f Remove unused types, wrap long lines 2020-05-02 11:36:05 -04:00
abitmore
bee73bd491 Refactor websocket_client, fix duplicate code
Fix duplicate code issue in websocket_client::connect() and
websocket_client::secure_connect(), and other minor issues
2020-05-02 11:21:50 -04:00
Abit
c00824a137
Merge pull request #134 from bitshares/jmj_844b
Log host information from websocket requests
2020-05-02 14:03:15 +02:00
abitmore
ea96a5a93b Fix websocket_client::secure_connect()
Code synced from connect(), added todo to refactor later
2020-05-02 06:35:56 -04:00
abitmore
aa54e3938c Remove unused websocket_tls_client class
The funcionality is already covered by the websocket_client class
2020-05-02 06:34:18 -04:00