841 Commits

Author SHA1 Message Date
Baptiste Wicht
11dfdafbed No need to register a cluster for an empty file 2013-12-27 21:03:47 +01:00
Baptiste Wicht
98c78f1d2d Implementation of long file name support in mkdir/touch 2013-12-27 21:02:36 +01:00
Baptiste Wicht
db8ac66b1b Add touch support 2013-12-27 17:19:03 +01:00
Baptiste Wicht
75981482f8 Security 2013-12-27 14:32:21 +01:00
Baptiste Wicht
13e5d34fe8 Cleanup 2013-12-26 18:11:50 +01:00
Baptiste Wicht
6721ef6c55 Improve mkdir 2013-12-26 17:45:05 +01:00
Baptiste Wicht
b6337900af Optimize read to only read the hierarchy once 2013-12-26 17:25:17 +01:00
Baptiste Wicht
6e7f1b588d Add support for long file names 2013-12-26 17:12:58 +01:00
Baptiste Wicht
1b7b3eb0b2 Store the cluster number inside file representation 2013-12-26 16:49:51 +01:00
Baptiste Wicht
8c9bba966d Check for the number of params before using them 2013-12-26 16:21:39 +01:00
Baptiste Wicht
72793717c4 Fix infinite loop when file does not exist 2013-12-26 15:55:59 +01:00
Baptiste Wicht
7e0c6e3f28 Add support for long file names in listing 2013-12-26 15:30:51 +01:00
Baptiste Wicht
16099225a5 Optimize reading of FAT 2013-12-26 14:20:10 +01:00
Baptiste Wicht
474a939201 Implement mkdir 2013-12-26 14:00:49 +01:00
Baptiste Wicht
0964256880 Force char to be unsigned 2013-12-26 13:55:25 +01:00
Baptiste Wicht
4b1656aa37 Write the directory cluster back to the disk 2013-12-24 15:00:01 +01:00
Baptiste Wicht
970796ed6b Add support for writing to disk 2013-12-24 14:50:50 +01:00
Baptiste Wicht
a13eb82e0e Modify the directory entry 2013-12-24 14:38:10 +01:00
Baptiste Wicht
e43326a2c0 Add support for displaying signed numbers 2013-12-24 14:19:42 +01:00
Baptiste Wicht
ef38a9a260 Search for an empty entry in the cluster 2013-12-24 14:00:00 +01:00
Baptiste Wicht
ce86d48d6b Prepare prototypes for mkdir command 2013-12-24 13:45:38 +01:00
Baptiste Wicht
4a3910fe05 Cleanup 2013-12-23 23:30:49 +01:00
Baptiste Wicht
af989e150f Finalize multi cluster directory support 2013-12-23 23:26:17 +01:00
Baptiste Wicht
5ca56b60e2 Add support for multi cluster directory 2013-12-23 23:07:59 +01:00
Baptiste Wicht
05f73b312c Set the correct size of directories 2013-12-23 23:03:43 +01:00
Baptiste Wicht
c95608489d Refactor 2013-12-23 23:02:35 +01:00
Baptiste Wicht
a027ca4592 Reuse the memory 2013-12-23 22:40:27 +01:00
Baptiste Wicht
c2c4e465a2 Fix empty() 2013-12-23 22:33:44 +01:00
Baptiste Wicht
eb00439ffc Refactor 2013-12-23 22:33:39 +01:00
Baptiste Wicht
96f806dc4c Add support for multi-cluster files 2013-12-23 22:03:29 +01:00
Baptiste Wicht
040b949980 Merge branch 'master' of github.com:wichtounet/thor-os 2013-12-22 19:24:55 +01:00
Baptiste Wicht
c0679aedab Use correct namespace 2013-12-22 19:24:43 +01:00
Baptiste Wicht
1e2bd865ff Move STL stuff to stl folder 2013-12-22 19:13:00 +01:00
Baptiste Wicht
f520ad946a Implement immediate coalescing strategy 2013-12-19 14:20:09 +01:00
Baptiste Wicht
09870850fa Display cr2 2013-12-19 14:20:05 +01:00
Baptiste Wicht
043fbcbd26 Refactorings 2013-12-19 10:32:23 +01:00
Baptiste Wicht
17abc063c5 Cleanup 2013-12-18 22:28:32 +01:00
Baptiste Wicht
8d9befa820 Set the blocks in the free list as free 2013-12-18 22:27:07 +01:00
Baptiste Wicht
5dc85ebe55 Cleanup 2013-12-18 21:33:22 +01:00
Baptiste Wicht
52fba92d59 Align memory on eight bytes 2013-12-18 20:16:42 +01:00
Baptiste Wicht
71d15141d1 Avoid copies when possible 2013-12-18 20:07:54 +01:00
Baptiste Wicht
52d81a4aed Reduce memory usage 2013-12-18 18:42:12 +01:00
Baptiste Wicht
632a177aec Avoid creating too many small blocks 2013-12-18 18:24:11 +01:00
Baptiste Wicht
c7026b5db9 Add utility to debug malloc 2013-12-18 18:12:09 +01:00
Baptiste Wicht
6afa0615d5 Improve a bit read_file 2013-12-18 18:02:57 +01:00
Baptiste Wicht
08e74960c7 Improve tests done before issuing commands 2013-12-17 22:33:51 +01:00
Baptiste Wicht
30ef57f41c Avoid doing commands without verifying parameters 2013-12-17 21:22:02 +01:00
Baptiste Wicht
a8bd3ba78f Automatic dependency handling 2013-12-17 21:06:05 +01:00
Baptiste Wicht
1dff5cf2e9 Cleanup 2013-12-17 18:29:52 +01:00
Baptiste Wicht
d48618a025 Clean flags 2013-12-17 18:27:44 +01:00