Commit Graph

62 Commits

Author SHA1 Message Date
Andrew S. Rightenburg 324d7f4f67
Change to C++20 2024-05-03 18:54:55 +08:00
Andrew S. Rightenburg 35344263d3
General code cleanup 2024-05-03 18:51:04 +08:00
Andrew S. Rightenburg 3d9f4bf789
Properly check whether given path is a directory
Closes #27
2024-05-02 22:25:48 +08:00
Andrew S. Rightenburg 3a55d5e218
No longer using namespace std by default 2023-10-05 11:27:39 +08:00
Andrew S. Rightenburg 649ca7ec09
Updated help strings 2023-09-02 16:02:51 +08:00
Andrew S. Rightenburg d7a6a5c640
Another not-less-than-zero check is suddenly necessary after implementing the 'end' keyword. This should be cleaned up later if possible 2023-08-18 12:20:28 -04:00
Andrew S. Rightenburg 31f09d2eb5
Multi-character 'end' replaces. Closes #22 2023-08-17 21:29:04 -04:00
Andrew S. Rightenburg b9dc38d31a
Code readability 2023-08-17 21:23:25 -04:00
Andrew S. Rightenburg a28e2096cf
Added 'end' keyword. Closes #15 2023-08-17 18:52:28 -04:00
Andrew S. Rightenburg 3b0ca98332
Moved escaped-char processing to a shared function 2023-08-15 23:00:33 -04:00
Andrew S. Rightenburg e4bc346215
-c can now interpret any arbitrary byte in the format \x00-\xFF 2023-08-15 01:17:33 -04:00
Andrew S. Rightenburg aae16f8eaf
Updated some language 2023-07-18 10:31:47 -04:00
Andrew S. Rightenburg 153ddf316c
Cleaned up help strings for readability in source files 2023-04-23 18:57:03 -04:00
Andrew S. Rightenburg 6ebbe09ec8 Makefile now automatically updates the program_version variable before compilation based on the latest debian/changelog entry, since I always forget to update that variable 2023-04-10 01:17:05 -04:00
Andrew S. Rightenburg 6412fa138c Boosted default block size to 10KB 2023-04-09 23:35:48 -04:00
Andrew S. Rightenburg a9f08cd5f8 Updated version number 2023-04-04 23:14:25 -04:00
Andrew S. Rightenburg 4dcec06cf9 Fixed #14 2023-04-04 22:55:46 -04:00
Andrew S. Rightenburg 7bfcb20bef Changed stol to stoll for int64_t 2023-04-04 22:02:11 -04:00
Andrew S. Rightenburg 19862342b1 Updated exit status codes 2023-04-04 16:26:04 -04:00
Andrew S. Rightenburg 5efba4141f Moved 'shared_functions' to 'shared' 2023-04-04 16:14:55 -04:00
Andrew S. Rightenburg d1c8db51f2 Added specifying input file without -i option on all modules 2023-04-04 04:05:32 -04:00
Andrew S. Rightenburg cca302385b Adding i386 and arm64 builds 2023-04-02 22:19:22 -04:00
Andrew S. Rightenburg bb8968283c Fixed #13 2023-04-02 14:15:12 -04:00
Andrew S. Rightenburg 1624a2078f Replaced occurrences of long long int with standardized int64_t 2023-04-02 13:30:22 -04:00
Andrew S. Rightenburg a8fddc2ac0 Compiles on clang with std=gnu++17 2023-03-30 21:40:55 -04:00
Andrew S. Rightenburg 216b8672d6 Added Debian packaging 2023-03-27 02:11:50 -04:00
Andrew S. Rightenburg 17403db529 Removed debug output, added verbose option, fixed #12, and updated readme 2023-03-27 01:32:06 -04:00
Andrew S. Rightenburg e71c264fc7 Removed promise of follow_logic. It was going to be far too much complex and difficult code for far too little gain 2023-03-27 01:05:52 -04:00
Andrew S. Rightenburg 7891949dcc Fixed #11 2023-03-27 00:41:31 -04:00
Andrew S. Rightenburg 314bdf9152 Patched bug which blocked new file creation 2023-03-26 20:45:41 -04:00
Andrew S. Rightenburg 6787fdd7eb Cleaned up includes 2023-03-26 20:20:15 -04:00
Andrew S. Rightenburg cf604bbc62 Fixed #10 - added units to block sizes 2023-03-26 20:09:19 -04:00
Andrew S. Rightenburg 5dee47f787 Added constructor for class file 2023-03-26 18:44:21 -04:00
Andrew S. Rightenburg 00c1cc6812 Added constructor for class file 2023-03-26 18:40:17 -04:00
Andrew S. Rightenburg 8678ad313b Cleaned up conditionals in insert() and remove() 2023-03-26 17:52:47 -04:00
Andrew S. Rightenburg a05a78de1e Removed cout left in from debugging 2023-03-26 17:47:13 -04:00
Andrew S. Rightenburg f37cf5b06b Finished remove() 2023-03-26 17:44:40 -04:00
Andrew S. Rightenburg 8832c52c74 More progress on remove() 2023-03-26 15:24:50 -04:00
Andrew S. Rightenburg c93b530a49 Removed some nesting, started on remove() 2023-03-26 14:05:32 -04:00
Andrew S. Rightenburg 4499b27962 Fixed #8 - check write permissions before starting 2023-03-26 13:51:33 -04:00
Andrew S. Rightenburg 034076e858 Update end position after processing special chars 2023-03-26 01:18:24 -04:00
Andrew S. Rightenburg 5969bd05da Fixed #9 but I don't like it 2023-03-26 00:18:17 -04:00
Andrew S. Rightenburg 81c420e20a Check file length AFTER setting file lock 2023-03-23 16:02:19 -04:00
Andrew S. Rightenburg ea26fd3b4e Fixed #5 by implementing POSIX file locking 2023-03-23 15:27:59 -04:00
Andrew S. Rightenburg aea0f538d2 Cleaned up a now-unnecessary include 2023-03-19 23:22:57 -04:00
Andrew S. Rightenburg 49060a2b4d Fixed #3 2023-03-19 23:00:37 -04:00
Andrew S. Rightenburg 3257ea51f8 Allowed for larger file sizes, start position etc by changing ints to long long ints 2023-03-19 17:30:55 -04:00
Andrew S. Rightenburg 4cdd36e9d4 Small fix to block_size and amount_to_store 2023-03-19 17:07:06 -04:00
Andrew S. Rightenburg 30ed06a71b Witchmagic fixed #1 and #2 2023-03-19 16:57:44 -04:00
Andrew S. Rightenburg 1d3ca1a569 Added BROKEN insert function which needs to be replaced. Very mysterious bug 2023-03-18 20:10:20 -04:00