John M. Jones
cd49944222
Merge pull request #142 from bitshares/fix-api-close
...
Correctly close websocket API connection
2019-07-19 16:33:15 -05:00
abitmore
2c5c30848a
Correctly close websocket API connection
2019-07-19 16:00:18 -04:00
Peter Conrad
6ed94317ab
Merge pull request #137 from pmconrad/1584_more_simplification
...
More simplifications
2019-06-19 18:34:59 +02:00
Peter Conrad
7649f1f47d
Removed broken http_server + unused http_api
2019-06-06 14:54:48 +02:00
Peter Conrad
7cf371736b
Intermediate
2019-06-06 14:39:14 +02:00
Valera Cogut
720805493f
Fixed conflicts & rebased
2019-06-02 14:26:47 +03:00
Valera Cogut
73ae27e0b8
Added little improvements: free line_read before re-using it & check for nullptr read_line before using it
2019-06-02 12:38:15 +03:00
Valera Cogut
59ad7300ec
Safer way to handle secret information of cli_wallet #1171
2019-06-02 12:37:44 +03:00
Peter Conrad
e5869b2800
Amended some error codes
2019-05-27 11:55:03 +02:00
Peter Conrad
aa8870e793
Fixed JSONRPC error handling
2019-05-24 18:11:19 +02:00
John Jones
461b15acb4
Add #ifndef for Windows
2019-05-21 07:11:17 -05:00
abitmore
30ea9b4a1d
Let rl_getc() always return EOF when quitting
...
even if got an EOL or CTRL+C or etc
2019-05-12 19:44:22 -04:00
abitmore
2056a35b44
Set cli_quitting to true in cli::cancel()
2019-05-12 18:23:04 -04:00
Abit
67e5a06035
Merge pull request #119 from bitshares/shared-ws-client-ptr
...
Use shared_ptr to WS connection in API connection
2019-05-10 15:24:15 +02:00
abitmore
3d39a51cdc
Capture only this in cli::start()
2019-05-09 14:15:34 -04:00
abitmore
b562d81a65
Let CLI be able to restart
2019-05-09 14:15:34 -04:00
abitmore
301f582002
Handle SIGINT when searching in editline
2019-05-08 06:46:36 -04:00
abitmore
51747090a8
Minor function name change
2019-05-08 05:23:33 -04:00
abitmore
bac31e3822
Temporarily comment out check_secret in CLI
...
due to editline bump
2019-05-08 05:10:50 -04:00
abitmore
382970bfa4
Suppress error message when CLI is quitting
2019-05-08 03:51:40 -04:00
abitmore
ed3f1c86dd
Fix signal handling in CLI
2019-05-07 19:43:37 -04:00
abitmore
bd3036df8a
Increase CLI command history buffer size to 256
2019-05-03 09:46:13 -04:00
abitmore
a71893adba
Improve CLI tab completion feature
...
For example, if there are 3 commands: "gethelp", "get_account" and "get_account_name",
input "ge" then press TAB, the command will be completed to "get";
press TAB again, a list with all 3 commands will show;
input "get_ac" then press TAB, the command will be completed to "get_account";
press TAB again, a list with "get_account" and "get_account_name" will show.
2019-05-02 22:11:43 -04:00
Peter Conrad
406f1bdd61
Remove unused json_connection
2019-04-04 17:59:51 +02:00
Peter Conrad
d5b817817a
Remove unused bstate
2019-04-04 17:59:51 +02:00
Peter Conrad
579914c84d
Removed unused stuff
2019-04-04 17:59:51 +02:00
abitmore
3655fe148b
Minor code refactory
2019-04-03 12:06:02 -04:00
abitmore
15d751c3d0
Wrap long lines
2019-04-03 12:06:01 -04:00
abitmore
623d96fe9a
Use shared_ptr to WS connection in API connection
2019-04-03 12:06:01 -04:00
Valera Cogut
079de9e177
Check if boost::regex is empty
2018-10-30 22:05:31 +02:00
Valera Cogut
157273fb40
Check if exists regex expression
2018-10-30 11:46:57 +02:00
Valera Cogut
edd6fa8ded
Removed pointer for regex expression
2018-10-27 19:06:24 +03:00
Valera Cogut
44896485d1
Optimized regex expression and other little improvements
2018-10-25 23:52:36 +03:00
Valera Cogut
e00bbdaf72
removed not required output to console
2018-10-25 00:01:43 +03:00
Valera Cogut
c9d95c0c9a
Safer way to handle unlock command of cli_wallet #1171
2018-10-25 00:01:43 +03:00
Valera Cogut
ec41a06300
reverting throw exception instead of raising SIGINT in order not to terminate cli_test early
2018-07-30 17:53:57 +03:00
Valera Cogut
40d928e57c
raise SIGINT instead of throwing exception in cli_wallet quit command
2018-07-30 16:48:37 +03:00
Valera Cogut
18206552fc
throwing fc:canceled_exception for quit cli wallet command
2018-07-20 16:44:31 +03:00
Valera Cogut
535fc869b5
remove hard coded method check to result check from quit command
2018-07-19 09:49:03 +03:00
Valera Cogut
0486a5f1e9
fixed issue #1050
2018-07-19 09:49:03 +03:00
Peter Conrad
81c8d89341
Added max_depth parameter to variant conversions
2018-03-13 22:00:18 +01:00
Peter Conrad
fca5058464
Merge branch 'master' into sanitize
2018-03-13 21:39:40 +01:00
John Jones
9ee2bcf0a5
avoid double free
2018-03-08 11:05:34 -05:00
John Jones
2017ed911a
fix memory leak
2018-03-08 10:46:23 -05:00
John Jones
43b81cb69b
assuring that malloc gets freed
2018-03-08 07:40:20 -05:00
John Jones
5b5190a55c
changed const to const ref
2018-03-07 09:44:35 -05:00
John Jones
b3053d0421
adjust spacing, add const, remove unnecessary variable, bad malloc check
2018-03-07 02:55:59 -05:00
John Jones
c225488cd4
replace tabs with spaces
2018-03-06 17:17:09 -05:00
John Jones
1fe7d4be46
Trying to get the #$%@$ tabs to disappear
2018-03-06 11:44:00 -05:00
John Jones
f5d68e9336
Adjusting for formatting guidelines
2018-03-06 09:25:38 -05:00