Commit graph

38 commits

Author SHA1 Message Date
Eric Frias
888a01881a Change the function that returns relative time strings to generate times relative to an arbitrary clock instead of always using time_point::now(). (this is so we can use blockchain::now() instead).
Remove unused include.
2014-06-15 14:16:22 -04:00
Daniel Larimer
17aefe29de using explicit bool operator for optional 2014-05-20 11:25:31 -04:00
alt
7506790bee filesystem::rename() can handle file from cross device 2014-03-20 09:27:32 +08:00
Yuvaraj
a5c8a07dc6 App dir for Linux is the home directory. 2014-02-16 13:21:14 +05:30
Daniel Larimer
00907d8f57 fix app_path 2014-02-15 01:29:21 -05:00
Daniel Larimer
0ecd66fa73 adding utility methods for getting home dir and app dir 2014-02-15 01:22:59 -05:00
Daniel Larimer
7d81035e14 fix coding standard violations 2014-01-14 03:56:15 -05:00
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
6261a25442 [BW]: [NIP] Support for unicode paths to avoid problems while accessing paths containing native characters. 2014-01-09 13:29:47 +01:00
Daniel Larimer
f18e16cbc7 adding resize_file 2013-07-12 22:05:38 -04:00
Daniel Larimer
7e61059806 fix bugs in optional implementation 2013-07-05 19:48:59 -04:00
Daniel Larimer
59a121d64b Updating FC with changes from phoenix-int 2013-06-05 15:19:00 -04:00
Daniel Larimer
5499d5bb30 Adding udp multicast support, filesystem::rename 2013-03-24 00:11:28 -04: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
68e949a699 fix bugs 2013-01-30 23:36:51 -05:00
Daniel Larimer
763ae69982 error handling enhancements, recursive var subst 2013-01-27 22:45:46 -05:00
Daniel Larimer
9858e553bf various updates to path and error substitution 2013-01-25 13:19:23 -05:00
Daniel Larimer
1bbe3b7c41 fix crash in fc::cin 2013-01-14 17:12:21 -05:00
Daniel Larimer
682c005350 fixes 2012-12-29 12:00:19 -05:00
Daniel Larimer
42cf0e62a8 bug fixes / windows port 2012-12-20 15:39:35 -05:00
Daniel Larimer
73f94bcebe various updates 2012-12-19 12:23:12 -05:00
Daniel Larimer
161ce54cb8 windows port 2012-12-18 14:37:14 -05:00
Daniel Larimer
274146229e Merge branch 'master' of github.com:bytemaster/fc 2012-12-17 14:07:02 -05:00
Daniel Larimer
f41ea98854 attempt to fix unresolved ref 2012-12-17 14:06:06 -05:00
Daniel Larimer
6471249bb8 adding support for more value serialization 2012-12-16 20:13:09 -05:00
Daniel Larimer
7ca7aede5f implementing fc::absolute for path 2012-12-12 13:26:41 -05:00
Daniel Larimer
2e6bd7253f implemented file system directoriy iterator / fixed raw packing / datastream exceptions 2012-12-02 12:35:05 -05:00
Daniel Larimer
1a5e10ee26 add tmp/unique dir wrapper for boost filesystem 2012-11-26 14:16:49 -05:00
Daniel Larimer
ba4eb96d88 adding fstream, fix bugs 2012-11-15 12:37:56 -05:00
Daniel Larimer
53bb959c5d expanded filesystem api + value api 2012-11-15 12:08:31 -05:00
Daniel Larimer
6bf25ae8e7 fix json_rpc_errorobj 2012-11-15 11:55:36 -05:00
Daniel Larimer
30b3f75fab fix ssh generic paths 2012-11-08 09:44:27 -05:00
Daniel Larimer
3f73d25e44 various updates 2012-10-09 21:40:29 -04:00
Daniel Larimer
c12ac793b3 updated filesystem and exception api 2012-09-14 00:56:20 -04:00
Daniel Larimer
297b073c94 fix major bugs 2012-09-09 11:12:15 -04:00
Daniel Larimer
79c2c530e9 adding missing method 2012-09-09 00:39:37 -04:00
Daniel Larimer
460da34801 adding more features from cmt 2012-09-08 17:37:25 -04:00