Commit graph

250 commits

Author SHA1 Message Date
Eric Frias
88f6ca16e9 Add missing file to build 2014-04-06 19:16:14 -04:00
vogel76
d1ffcebfd7 [BW]: [NIP] Prerequisites for collecting full .pdb list for packaging. 2014-04-01 13:54:57 +02:00
Eric Frias
5543044bd3 Collect time of git commit for display in Keyhotee, add function for pretty-printing times 2014-03-31 16:10:52 -04:00
alt
9561bb6510 add depend lib for libcrypt.a: libdl and libz 2014-03-20 09:37:59 +08:00
dnotestein
e4e99f98d9 changes for installer 2014-03-14 17:14:02 -04:00
Eric Frias
0e6e86f273 Make FC's CMakeLists.txt provide a list of required DLLs to projects that use it 2014-03-14 14:11:56 -04:00
Daniel Larimer
b83a49298e adding extra to_string 2014-03-11 11:29:29 -04:00
Eric Frias
f98a0d0623 Switch exception handling in win32 to /EHsc 2014-03-08 18:52:18 -05:00
Eric Frias
fdbaf88e5e Provide a way to intercept Win32 structured exceptions in async tasks
Something about the stacks created by boost::context prevents global structured exception handlers
from being called.  This allows the user to register a handler which will be called when there
is an unhandled structured exception in async task.
2014-03-08 18:48:19 -05:00
vogel76
07ba2d6d95 [BW]: [Fix] Include directories shall be specified through target_include_directories not just include_directories call. 2014-03-08 03:20:11 +01:00
dnotestein
160b84487b Disabled armory import code for now to get Bitshares and fc compiling. 2014-02-26 17:24:40 -05:00
BrownBear2
49ff83922b added romix kdf and cfb for aes 2014-02-26 12:05:17 +01:00
dnotestein
ba9ad0e6e9 Move bad global include that was only included for Linux/Apple to be a private include that works for windows also (so that fc compiles under windows again). 2014-02-20 18:14:04 -05:00
batmaninpink
1e509fa1a9 added support for scrypt key derivation needed for multibit wallet support 2014-02-18 08:59:17 +01:00
Daniel Larimer
0843aa6652 adding raw serialization for unordered_map 2014-02-16 01:17:31 -05:00
Daniel Larimer
9392ca2afe target_compile_options attempts to apply c++ flags to compile c objects 2014-02-14 20:07:39 -05:00
vogel76
259204df22 Merge pull request #7 from HackFisher/phoenix
Fix multi find_package change ${Boost_LIBRARIE}
2014-02-13 13:07:52 +01:00
vogel76
8c49a8b887 [BW]: [NIP] Further CMakeLists.txt cleanup to use target_* features. 2014-02-13 12:55:28 +01:00
Daniel Larimer
95c1e07896 Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
Conflicts:
	CMakeLists.txt
2014-02-13 00:21:08 -05:00
Daniel Larimer
4e68f4b1b7 fix build 2014-02-13 00:02:15 -05:00
HackFisher
802812b57e Fix multi find_package change ${Boost_LIBRARIE}
using boost>=1.54 with cmake on windows.

When FIND_PACKAGE(BOOST ...) is run, it overwrites the previous ${Boost_LIBRARIES} with its own required libraries

http://stackoverflow.com/questions/19720639/handling-multiple-find-package-calls-in-cmake
2014-02-13 11:40:47 +08:00
vogel76
7fc529e7f2 [BW]: [NIP] CMakeLists.txt cleanup:
- include configuration and compile options are right now target specific and can be automatically propagated for client modules by cmake (previously include paths, compilation settings were copied into every CMakeLists.txt using this module.
- Boost/OpenSSL detection moved to the fc module since really this one needs them. Since these libraries are added to fc target dependencies client modules don't need to know about Boost/OpenSSL usage since these dependencies will be automatically added by cmake.
2014-02-12 12:45:36 +01:00
Daniel Larimer
0c1fa7f54f changes for compiling with clang++ on OS X 2014-02-11 00:45:47 -05:00
grzegorzs
8ad02176c6 [GS] Implemented lzma compression. 2014-01-24 14:51:35 +01:00
skchaudhari
91d35546fc "Added code to get the revision of fc repo" 2014-01-12 20:04:29 +05:30
vogel76
59f80e34d2 [BW]: [NIP] Further changes to get to work paths containing unicode characters:
- fc::path extended by method toNativeAnsiPath allowing to safely convert current unicode path into its ansi equivalent
- fc::path to_variant uses toNativeAnsiPath method instead of generic_string to avoid loss of data while serializing a path
- fc::mmap_struct_base::open should use toNativeAnsiPath method instead of generic_string to access ansi path
- fc::json::save_to_file should directly pass fc::path to underlying stream instead of generic_string.
2014-01-10 00:05:18 +01:00
vogel76
b8a98f8890 [BW]: [Ign] CMakeLists.txt changes to support Cmake boost configuration. 2013-12-08 01:09:54 +01:00
Daniel Larimer
76b13a741a adding missing files 2013-11-24 13:00:21 -05:00
Daniel Larimer
28dfa9f02f remove test exe 2013-11-13 14:51:29 -05:00
dnotestein
2030623243 Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix 2013-10-17 22:19:31 -04:00
Daniel Larimer
8b2e54ca8b compiles on linux 2013-10-14 21:46:23 +04:00
dnotestein
bacf98ddb8 don't try to build salsa.s (assembly language file) on windows, eliminate annoying warnings in optional.hpp 2013-10-10 22:19:01 -04:00
Daniel Larimer
68b9fafe9a disable padding for aes_encoder and decoder 2013-09-05 22:09:12 -04:00
Daniel Larimer
6a1f42aba0 adding new crypto apis 2013-08-24 04:25:03 -04:00
Daniel Larimer
7bf6374299 MAJOR BUG FIX - fc::usleep causing hang&leak
In certain cases when usleep is passed a small value, there is
a race condition that would cause the process to hang and then
when an attempt to quit the thread was made new contexts would
be allocated rapidly filling all available memory.
2013-08-19 14:44:13 -04:00
Daniel Larimer
311a9652d4 bug fixes and tests for aes 2013-08-13 13:57:39 -04:00
Daniel Larimer
d8a047692c Adding easylzma compression library 2013-08-13 13:28:53 -04:00
Daniel Larimer
e19c3327a0 adding aes encryption and openssl wrapper cleanup 2013-08-13 12:58:55 -04:00
dnotestein
404cf8ae5c Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
Conflicts:
	CMakeLists.txt
	include/fc/ptr.hpp
2013-08-11 09:59:55 -04:00
dnotestein
94ce5cd9f2 more windows related changes, check what I was thinking with that BOOST1_51 when not in a hurry, maybe it should just be removed now 2013-08-10 22:11:59 -04:00
Daniel Larimer
7b8494d7f8 upgrading to a version of boost that includes boost::atomic and boost::context 2013-08-08 21:31:35 -04:00
Daniel Larimer
8a9d0c9e13 adding ripemd160 2013-07-28 10:49:45 -04:00
Daniel Larimer
29a1346d05 adding uint128 type 2013-07-26 23:20:06 -04:00
Daniel Larimer
0956cd26df adding std::hash support for fc::array 2013-07-17 15:00:13 -04:00
Daniel Larimer
87542eba25 adding city hash 2013-07-17 11:50:45 -04:00
Daniel Larimer
58d950b56f Adding mmap_struct & features to fc::array
Fixed uninit bug in logger_config
2013-07-03 21:35:30 -04:00
Daniel Larimer
383144938e fix formatting with logging to file 2013-07-03 13:26:23 -04:00
Daniel Larimer
b59fe17562 Merge branch 'phoenix' of github.com:bytemaster/fc into phoenix
Remove fc::vector and fc::string
2013-06-27 14:45:11 -04:00
Daniel Larimer
b07aed4a22 Update use of fc::string and fc::vector. 2013-06-27 14:19:08 -04:00
Daniel Larimer
726e25d537 adding sha224 2013-06-07 18:59:08 -04:00
Daniel Larimer
6563c12f88 bug fixes 2013-06-06 20:37:04 -04:00
Daniel Larimer
639a0c795a Updates to crypto/fc 2013-06-06 14:45:55 -04:00
Daniel Larimer
59a121d64b Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
Daniel Larimer
f765440760 adding sha256 2013-03-10 01:53:32 -05:00
Daniel Larimer
7b9a14918c merge latest changes 2013-03-01 18:56:06 -05:00
Daniel Larimer
25872b11b8 Updated fc::value implementation
Improved fc::value to use enum types instead of strings.
Moved code from header to cpp file
Added extra utility method to simplify syntax for generating key-value pairs for errors/logs.
Removed need to create copies when casting strings, arrays, or objects from values
2013-02-07 16:08:43 -05:00
Daniel Larimer
b527bbbab6 Factored console_appender into its own header/cpp
Added file_appender
Updated tests
2013-02-05 00:06:16 -05:00
Daniel Larimer
71ea16cf8b Adding updated logging system similar to log4
Updates to ssh client
Updated reflect enum
2013-02-04 23:08:48 -05:00
Daniel Larimer
e5796f06bd fix bugs, add < to path 2013-01-25 13:23:29 -05:00
Daniel Larimer
655bccadec add subsec support 2013-01-24 21:13:23 -05:00
Daniel Larimer
533dd28d67 fix for linux? 2012-12-30 15:23:00 -08:00
Daniel Larimer
0114f6e3e7 various updates for arm 2012-12-30 15:16:00 -08:00
Daniel Larimer
3898985bbe various bug fixes / improvements 2012-12-30 18:14:27 -05:00
Daniel Larimer
682c005350 fixes 2012-12-29 12:00:19 -05:00
Daniel Larimer
a8772e5aa0 fix include path 2012-12-19 12:26:41 -05:00
Daniel Larimer
73f94bcebe various updates 2012-12-19 12:23:12 -05:00
Daniel Larimer
afbbf4e8db fix cin crash 2012-12-18 14:08:40 -05:00
Daniel Larimer
274146229e Merge branch 'master' of github.com:bytemaster/fc 2012-12-17 14:07:02 -05:00
Daniel Larimer
fa92373b89 adding url... 2012-12-17 14:06:55 -05:00
Daniel Larimer
7114399f47 Merge branch 'master' of github.com:bytemaster/fc 2012-12-15 12:45:56 -08:00
Daniel Larimer
7b9e1e1508 vendor updates 2012-12-15 12:45:51 -08:00
Daniel Larimer
9a8767a645 Fixed error_report to_string
Updated fc::datastream and base64 to use error_report
Added url to cmake lists
various other bug fixes
2012-12-15 10:26:03 -05:00
Daniel Larimer
8c39a39dd6 implemented http server 2012-12-13 21:05:44 -05:00
Daniel Larimer
eeee86be6b clean up error handling 2012-12-13 12:25:12 -05:00
Daniel Larimer
8e1b99f40c Merge branch 'master' of github.com:bytemaster/fc 2012-12-12 15:56:52 -05:00
Daniel Larimer
949095ab00 updates... 2012-12-12 15:56:48 -05:00
Daniel Larimer
b35f6880c6 advanced error reporting / stack capture 2012-12-12 12:31:21 -05:00
Daniel Larimer
e33e78ce51 port to windows 2012-12-03 14:51:31 -05:00
Daniel Larimer
3b7827ec0a update string format 2012-11-18 01:07:10 -05:00
Daniel Larimer
ba4eb96d88 adding fstream, fix bugs 2012-11-15 12:37:56 -05:00
Daniel Larimer
1cb036ae63 fixes 2012-11-11 22:04:24 -05:00
Daniel Larimer
5552477f45 FC find OpenSSL 2012-11-09 00:41:57 -05:00
Daniel Larimer
d30664e13f added ssh test 2012-11-08 21:18:35 -05:00
Daniel Larimer
a6541b825a json rpc updates, tcp server/client support 2012-11-05 23:34:58 -05:00
Daniel Larimer
6b14a176d0 adding basic ssh support, updating wait on any 2012-11-01 00:23:06 -04:00
Daniel Larimer
bd6a840e47 implemented json stream connection 2012-10-29 19:50:49 -04:00
Daniel Larimer
d4554ca029 updates for arm 2012-10-29 13:19:17 -07:00
Daniel Larimer
2ba214819e adding tests + updating build 2012-10-26 01:03:47 -04:00
Daniel Larimer
fb6e18ec7b Implemented http connection + shared_impl
Shared Impl provides Java/C# style reference semantics for C++ types.
2012-10-24 00:54:03 -04:00
Daniel Larimer
3d56a96d4e major updates to stream,reflect,value,and json
- removed polymorphic reflection, made static_reflect default because
  there are cases such as deserializing an array that you need more
  information than the runtime reflection can provide such as the
  ability to resize arrays and know the array content type.

- refactored iostream, sstream, fstream to be much simpler, fewer
  indirections, and fixed getline.

- json parsing works using code from mace.
- value is reimplemented based upon mace::rpc::value and no longer uses
  the runtime reflection that was removed.

- moved the typename utility to its own header
2012-10-21 02:28:59 -04:00
Daniel Larimer
47ce0b5fdc adding base58 support from bitcoin 2012-09-30 17:01:14 -04:00
Daniel Larimer
30f2946195 adding tcp_socket 2012-09-27 19:48:48 -04:00
Daniel Larimer
8b998caa1b adding program opts, shared mem, raw packing, varint, and more 2012-09-17 23:04:42 -04:00
Daniel Larimer
6a2b95f8c0 adding additional scrypt functions to fc 2012-09-10 20:15:35 -04:00
Daniel Larimer
40bec5e112 adding signals / asio 2012-09-09 00:25:43 -04:00
Daniel Larimer
018609fafa moving more functions from mace to fc 2012-09-08 23:46:19 -04:00
Daniel Larimer
460da34801 adding more features from cmt 2012-09-08 17:37:25 -04:00
Daniel Larimer
34e33d058b adding sha1 and hex methods... 2012-09-08 02:41:28 -04:00
Daniel Larimer
2f387f691a adding unit tests, updating boost version required 2012-09-07 22:57:00 -04:00
Daniel Larimer
9041b9bff4 Initial checkin of FC code. 2012-09-07 22:50:37 -04:00