Commit graph

15 commits

Author SHA1 Message Date
Paul Beckingham
5666feaab9 CFS, Msg, ViewText: Code cleanup 2016-02-20 23:10:23 -05:00
Paul Beckingham
8577449960 FS: C++11 2016-02-03 19:58:22 -05:00
Paul Beckingham
19f57ffead TW-1736: Error on detection of BOM in files. 2016-01-11 21:54:57 -05:00
Paul Beckingham
df45c84266 TW-1741: Warning "ignoring return value of ‘int ftruncate" while doing make on xubuntu15.10
- Thanks to Sunil Joshi.
2016-01-11 15:26:15 -05:00
Misty De Meo
be35dde6f0 FS: include sys/syslimits.h on OS X
This fixes an issue where PATH_MAX isn't defined on some versions of
OS X.
2015-12-31 17:06:54 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Wilhelm Schuermann
ad81810fd3 FS: Fix performance on high latency systems
fseek() in File::append() was invalidating the file buffer for each call
to append().  Better handling improves "import" performance test by 9%,
45% in "commit", on a system with a spinning disk.

This performance problem affects all operations where
{pending,completed}.data are rewritten.  During normal operation a
garbage collection can be enough to trigger it.  On storage with high
latency, e.g. networked, this previously took 20 seconds and more.
2015-11-11 08:48:51 +01:00
Paul Beckingham
0b3d38b0e6 FS: Removed unnecessary include 2015-11-06 18:22:45 -05:00
Paul Beckingham
5c8b7148b4 Task: Moved include to top of list, per flint++ recommendation 2015-11-01 19:59:10 -05:00
Paul Beckingham
af49564194 FS: Removed unused ::write and ::append methods 2015-10-28 20:38:41 -04:00
Paul Beckingham
67c28b7015 FS: Removed unused ::read method 2015-10-28 11:09:38 -04:00
Paul Beckingham
411c735d4e FS: Removed unused ::openAndLock method 2015-10-28 11:06:38 -04:00
Paul Beckingham
342624f272 FS: Removed unused ostream operator<< 2015-10-28 11:02:29 -04:00
Paul Beckingham
5110a83efa Cleanup: Corrected object initialization using {} 2015-10-16 08:22:03 -04:00
Paul Beckingham
3e043291f0 Cleanup: Combined File, Path and Directory into FS
- The three objects are related and always travel together, so they are now
  combined.
2015-05-25 10:11:41 -04:00
Renamed from src/File.cpp (Browse further)