Commit graph

442 commits

Author SHA1 Message Date
Eric Frias
978de7885a Add a macro to check if a task that shouldn't yield actually yields. 2014-08-02 19:43:28 -04:00
Eric Frias
8fa21821ae Suppress "inherited via dominance" warning 2014-08-02 15:49:07 -04:00
Daniel Larimer
6e31ffd963 Merge branch 'master' of https://github.com/InvictusInnovations/fc 2014-08-01 17:21:24 -04:00
dnotestein
7cc69f3bb7 Set canceled flag in task's context object so that we cancel out of active tasks when they try to resume. Wrap a try-catch block around tcp and udp resolve requests to convert any non-fc exceptions to fc exceptions. Minor change to clarify design intent that request_time_task should always be running in _ntp_thread. 2014-08-01 11:31:36 -04:00
Daniel Larimer
3ccbe26dd5 adding aes exception 2014-07-29 13:54:50 -04:00
Vikram Rajkumar
a23f3a86be Add missing integer variant conversions 2014-07-28 22:36:47 -04:00
Vikram Rajkumar
f644b1e475 Fix compiler warning 2014-07-27 20:46:39 -04:00
Eric Frias
d847f6469a Allow us to require assigning descriptions to all async tasks to aid in debugging 2014-07-27 17:37:21 -04:00
Vikram Rajkumar
48837f3116 Add time_point_sec::to_iso_{extended_}string() 2014-07-26 21:05:11 -04:00
Eric Frias
24ba357b0d Make future's cancel_and_wait automatically swallow the canceled_exception since it is expected. 2014-07-26 14:51:48 -04:00
PaulEU
4890351b34 Added OpenSSL configuration file path. (qt_wallet issue #10 Some clients on Windows 7 quit/crash on start) 2014-07-23 00:18:09 +02:00
Gandalf-the-Grey
2d51fd7321 Fix compile fc on Win64 tcp_socket needs a bit (two dozens of) more space. 2014-07-22 10:04:55 -04:00
Nathan Hourt
eb022cef27 Merge branch 'master' of github.com:InvictusInnovations/fc
Conflicts:
	.gitignore
2014-07-22 10:00:25 -04:00
Eric Frias
0a1011ddc9 Fix win32 compile (increase size of tcp_socket) 2014-07-21 10:40:21 -04:00
Daniel Larimer
eed62c8338 sockets now wait for any pending write or read operations to finish before destructing 2014-07-17 17:03:25 -04:00
Eric Frias
f2cbb650c6 Merge branch 'master' of github.com:InvictusInnovations/fc 2014-07-14 19:26:17 -04:00
Eric Frias
c28ccd2413 Fix wacky types u_int32_t to uint32_t &c 2014-07-14 19:25:54 -04:00
Vikram Rajkumar
e442b29f6e Fix scrypt 2014-07-14 13:40:33 -04:00
Daniel Larimer
ace06d775c support for 8 param rpc calls 2014-07-04 17:23:47 -04:00
Vikram Rajkumar
c9c56ffbb6 Merge branch 'master' of https://github.com/InvictusInnovations/fc 2014-07-03 17:24:14 -04:00
Vikram Rajkumar
e9b1b8ec2e Use a separate thread for log compression 2014-07-03 17:24:06 -04:00
Eric Frias
c020913cb8 Make process::exec take an 'int' for the bitmask of launch options instead of an enum to make it more clear that it's a bitmask (and avoid a cast) 2014-07-03 09:30:50 -04:00
Vikram Rajkumar
cc1ef61cd6 Logs are now rotated on startup if rotation is enabled 2014-07-03 01:16:46 -04:00
Vikram Rajkumar
39c7f05ea9 Implement LZMA file decompression 2014-07-03 00:01:02 -04:00
Vikram Rajkumar
f56dd6d208 Implement LZMA file compression 2014-07-02 23:28:43 -04:00
Daniel Larimer
9f401c7143 Merge pull request #30 from nathanhourt/phoenix
Add missing synchronous call overload to json_connection
2014-07-02 17:40:52 -04:00
Vikram Rajkumar
c0187865ea Implement log file rotation 2014-07-02 17:36:21 -04:00
Vikram Rajkumar
748a9b52a5 Add time_point_sec::-( uint32_t ) 2014-07-01 13:38:24 -04:00
Vikram Rajkumar
0efad975cb Add missing const on time_point_sec::+ 2014-07-01 12:13:58 -04:00
Daniel Larimer
c33acad0ab fix udt sockets, actually enable non blocking operation 2014-06-29 01:38:46 -04:00
Daniel Larimer
d2072e9d3a updates to thread / udt socket 2014-06-26 20:10:56 -04:00
Daniel Larimer
8670a4722f Merge branch 'master' of https://github.com/InvictusInnovations/fc 2014-06-26 20:10:37 -04:00
Eric Frias
c925ceb232 Add a comparison operators for signed_int, correct the ones for unsigned_int 2014-06-26 15:51:35 -04:00
Eric Frias
560b107e58 Fix signed/unsigned warnings 2014-06-26 15:51:01 -04:00
Eric Frias
b8efe02cdb Add typedef for signal connection type 2014-06-26 11:59:30 -04:00
Daniel Larimer
bb40828953 Merge branch 'master' of https://github.com/InvictusInnovations/fc 2014-06-26 11:25:12 -04:00
Daniel Larimer
5529b300d9 implemented working UDT socket/server 2014-06-26 11:25:07 -04:00
Nathan Hourt
1284c5e686 Fix build wrt fc::ip::address multiple definitions 2014-06-26 10:41:20 -04:00
Eric Frias
21d1ce2067 Merge branch 'phoenix' 2014-06-26 10:03:42 -04:00
Daniel Larimer
5c98d7864f Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc 2014-06-26 08:48:12 -04:00
Daniel Larimer
d20b9d049b start work on udt socket class for fc 2014-06-25 18:34:04 -04:00
Eric Frias
2c5c1655a6 Add counters to the TCP rate limiter to measure actual upload and download speed, and allow the caller to set how bursty they want the connection to be. 2014-06-25 18:16:58 -04:00
Daniel Larimer
3de924b336 Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix 2014-06-21 16:12:42 -04:00
Daniel Larimer
75baeb3189 adding missing header guard 2014-06-21 16:12:25 -04:00
Eric Frias
2b3728af37 Add -> for directory_iterator 2014-06-20 10:38:21 -04:00
Eric Frias
accb6fddcb Add raw serialization for microseconds 2014-06-19 15:51:41 -04:00
Daniel Larimer
c7013d3eea update log_message to take std::string rather than const char* 2014-06-19 11:29:57 -04:00
Daniel Larimer
7a51b73680 adding ulog to send messages to the user log stream 2014-06-19 11:19:22 -04:00
Nathan Hourt
885aa14ed1 Add missing synchronous call overload to json_connection 2014-06-17 13:16:57 -04:00
Daniel Larimer
c84e47120d various updates 2014-06-17 09:37:04 -04:00