summaryrefslogtreecommitdiff
path: root/demo.cc
AgeCommit message (Collapse)Author
2023-05-29Add base for C++ API: Install new headers; Bump extension version; Add class ↵HEADmasterGabriel Jensen
fil for file manipulations; Remove return value from cls: Breaks API, but the function wasn't able to fail previously, so there wasn't any need to do error checking;
2023-05-26Move all logos to the root directory; Implement dfli, dflo, and log; Rename ↵0.0.0-relGabriel Jensen
dfli to idfl; Rename dflo to odfl;
2023-05-25Implement opnrw; Implement setprm; Add new module 'fs'; Move to fs: chgdir, ↵Gabriel Jensen
crtdir, cpy, curdir, homdir, mov, rem, setprm, and sttpth; Rename envvar to getenv; Bring back message to abr; Make errmsg write message to caller-provided buffer; Make getenv, homdir, and curdir not include null-terminator in output; Update gitignore; Implement wrtstr in the same file as wrt; Implement mov;
2023-05-25Perform better error handling in cpy; Add new error 'memlim'; Add new error ↵Gabriel Jensen
'io'; Implement homdir; Rename opnwr to opnrw; Add function for getting environment variables: envvar; Make homdir and curdir write to user-provided buffers; Update demo; Implement curdir; Update coding style with regards to pointers and references;
2023-05-24Implement opn; Update demo; Implement red; Fix zp prefix on pthinf; Remove ↵Gabriel Jensen
thr module; Implement cpy; Implement sttpth; Update parameters to sttpth;
2023-05-23Support Linux AMD64; Implement crtfil; Add private header for I/O; Implement ↵Gabriel Jensen
abr; Remove parameters from abr; Update demo; Implement crtdir; Implement wrt; Rename badprm value to noprv; Update gitignore; Add function for opening files: Remove iomod type; Rename crtfil to crt; Implement wrtstr; Add function for opening files in read-write mode: opnwr; Add function for opening files in read-only mode: opn; Add function for closing files: cls;
2023-05-23Revive and rewrite project (current features will be listed); Merge with ↵0.0.0-devGabriel Jensen
Flux and Burst; Use zp versioning: api.ext.pat; Use GNU Make; Depend on zp; Use Git tagging for versioning; Add input/output header: io; Add function for creating files: crtfil; License under LGPL3 or later; Add enumerations for errors; Add function for aborting: abr; Add function for getting error mesasges: errmsg; Update gitignore; Add structure for files; Add integral type for file permissions; Add multithreading header: thr; Add function for creating threads: crtthr; Add private header; Add base header: dux; Add API and extension version constants: api, ext; Add structure for threads: thr; Add function for joining threads: joithr; Add global file for default input: dfli; Add global file for default output: dflo; Add global file for default logging: log; Add function for exiting the current thread: exi; Add function for sleeping: slp; Add demo; Add structure for storing path information: pthinf; Add function for getting the current directory: curdir; Add function for getting the home directory: homdir; Add function for changing the current directory: chgdir; Add function for statting paths: sttpth; Add function for setting the permissions of a path: setprm; Add function for creating directories: crtdir; Add function for copying files: cpy; Add function for moving files/directories: mov; Add function for removing files: rem; Add function for writing to files: wrt; Add function for reading from files: red; Add function for writing strings to files: wrtstr; Rewrite readme and in plain text; Add function for starting threads: srtthr; Adjust copyright years for oldest versions; Note: Currently, only errmsg is implemented;