Commit graph

40 commits

Author SHA1 Message Date
pbattu
00efb88ac7 fc changes to support ubuntu-18.04 upgrade 2019-05-21 18:42:14 -03:00
Daniel Larimer
815f07506c small formatting issues and helper api 2016-10-18 11:53:26 -04:00
Eric Frias
a33bb60cf6 Add a simplified lock file class to use to prevent two applications from using the same resource 2015-01-21 19:29:38 -05:00
theoretical
524093ce1e Implement chmod function (no-op on Windows) 2014-12-31 14:42:36 -05:00
Nathan Hourt
1a78fd2931 Add directory_size call
Recursively iterate the specified directory, summing up the files
inside, and return the total size.
2014-10-13 15:17:14 -04:00
Eric Frias
8def04f341 Add a path::preferred_string() function that generates a string in the platform's preferred format, using backslashes on win32 (uses boost::filesystem::path::make_preferred()).
Modify the log file configuration and rotating code to call to_native_ansi_path() and do more paths manipulation in fc::path objects and less in std::strings, in an attempt to improve BitShares/bitshares_toolkit#791
2014-09-25 08:57:31 -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
Eric Frias
2b3728af37 Add -> for directory_iterator 2014-06-20 10:38:21 -04:00
Daniel Larimer
17aefe29de using explicit bool operator for optional 2014-05-20 11:25:31 -04: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
dnotestein
001c999316 Fix some forward sizes for Win64 2013-11-13 14:35:12 -05: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
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
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
c3659eedfc fix json pretty print, added value::clear 2013-01-27 15:28:54 -05:00
Daniel Larimer
9858e553bf various updates to path and error substitution 2013-01-25 13:19:23 -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
6471249bb8 adding support for more value serialization 2012-12-16 20:13:09 -05:00
Daniel Larimer
efca814f0b bug fixes and improvements 2012-12-16 00:31:43 -05:00
Daniel Larimer
7ca7aede5f implementing fc::absolute for path 2012-12-12 13:26:41 -05:00
Daniel Larimer
e33e78ce51 port to windows 2012-12-03 14:51:31 -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
6bf25ae8e7 fix json_rpc_errorobj 2012-11-15 11:55:36 -05:00
Daniel Larimer
1cb036ae63 fixes 2012-11-11 22:04:24 -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
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