summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-25fixed an option bugOskar
2024-07-25slight changesOskar
2024-07-24todo UPDATEOskar
2024-07-24restore function added, will need to code review and also test itOskar
2024-07-24proof of concept, may opt for just using lfcOskar
2024-07-24script for replacing timestamp in logs for easy testing of -cOskar
2024-07-23convert -R id string to a number. Also check for invalid inputs.Oskar
2024-07-23fixed case where it gives the wrong errorOskar
2024-07-23removed some redundant stuff related to handling getopt options. I think ↵Oskar
it's still supposed to work... Also cleaned up code style a bit. Hopefully it makes a little sense at least.
2024-07-23initialised some pointers to NULLOskar
2024-07-22more test scripts to generate files and directories, and some improvementsOskar
2024-07-22directory support, not fully tested yetOskar
2024-07-22added tsr-SP to gitignoreOskar
2024-07-22priority changesOskar
2024-07-22new makefile flagsOskar
2024-07-22not related to -R implementation but id say its about time i make the usageOskar
2024-07-22TODO updateOskar
2024-07-21TODO updateOskar
2024-07-21new textscripts and some new getopt stuffOskar
2024-07-21New testing scripts to generate files and delete. Also fixed a segfault ↵Oskar
issue happening if the program fails during fill_lfc, it will call free_lfc, but because we haven set the 'next' node to NULL, we segfault.
2024-07-16function to check if it has been long enoughOskar
2024-07-15Added -C optionOskar
2024-07-12Update todoOskar
2024-07-11forgot to add B to -LOskar
2024-07-11small improvementOskar
2024-07-11much improved function, still got some testing and refiningOskar
2024-07-11first iteration of bytes to readable, although i think i will make an ↵Oskar
improved one later
2024-07-07todoOskar
2024-07-07formatting fixOskar
2024-07-07Added some free'sOskar
2024-07-07Separated fill_lfc and lfc_formatted. I made it so fill_lfc makes a linked list.Oskar
2024-07-04added a check, not sure how good it is but it works okay for nowOskar
2024-07-04todo updateOskar
2024-07-04basic version of L and l is done, will move on to another branch for other ↵Oskar
functionality
2024-07-04Proof of concept -l and -L system. Still quite a few bugs to iron out. Might ↵Oskar
also divide some functions to make everything a bit easier to work with
2024-07-03added some const to make code a bit more clearOskar
2024-07-02made list_files, it can probably be hugely improved but i think that it's ↵Oskar
good enough for today though. This is kind of a proof of concept though so ill probably change it tomorrow. It's not perfect.
2024-07-02fixed return statementOskar
2024-07-01noticed some small things i fixedOskar
2024-07-01I made a new macro so i can remove a whole lot of code. I also realised that ↵Oskar
i am REALLY stupid and was calculating the remaining size for concat_str wrong all along
2024-07-01fixed bug where if ID is 1 then the program doesn't just exitOskar
2024-07-01made it so ipi isnt malloc'd and thus we can remove a whole lot of code and ↵Oskar
complexity
2024-07-01tmp caseOskar
2024-06-30changed fill_ipi to reflect whether we are using tmp or notOskar
2024-06-30new tmp strings for ipiOskar
2024-06-30fixed bug where ID starts at 2 if log directory is emptyOskar
2024-06-29fixes issue where trashed files may have the same names so i added the ID to ↵Oskar
the trashed filenames as well
2024-06-29cleanup and fixed missing if statements for concat_strOskar
2024-06-29readmeOskar
2024-06-29update TODOOskar