Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-22 | fix broken debug define checks, move lutris enums to special headers | Jan200101 | |
2021-07-04 | fix wrong comparison, remove whitespace, add Makefile and Doxyfile | Jan200101 | |
2021-06-13 | rework command group logic to work linear, replace return with EXIT_* | Jan200101 | |
2021-06-11 | ignore flags for wine, add no-net debug print | Jan200101 | |
2021-06-06 | fix win env, add proper mocking code to test implementation | Jan200101 | |
2021-05-27 | allow flags to exit prematurely, move defines, add no networking flag | Jan200101 | |
2021-05-18 | cleanup windows config stuff, parse wine argv0 | Jan200101 | |
2021-05-18 | improve cmake files, add simple curl mock, clean up on download error | Jan200101 | |
2021-05-16 | add NULL checks | Jan200101 | |
2021-05-13 | reorder includes, add missing includes | Jan200101 | |
2021-05-08 | add work in progress windows support | Jan200101 | |
to run lutris installers on windows soon | |||
2021-04-26 | rid some warnings | Jan200101 | |
put brackets around flag logic ignore chdir return use memmove for putting quotes around the dxvk path | |||
2021-04-26 | implement flags and sort commands by alphabet | Jan200101 | |
stupid standard --help and --version | |||
2021-04-24 | update allocsize with the largest size we might possibly need | Jan200101 | |
2021-04-22 | add list & search command, fix bug in installer parser, […] | Jan200101 | |
- add list and search command to find what is on lutris without using lutris or the website - correct info command from not erroring when no slug was found - allow upper and lower Y on installer - remove pointless getInstaller function - fix bug in installer where if a value is not given its NULL and we cannot stringify NULL - replace manual malloc, strcpy with strdup - remove lutris_debug definition | |||
2021-03-26 | a chunk of changes | Jan200101 | |
- replace bool with ints, - give enums a t suffix - fix edge case in variable parser where the end of the buffer is not null - make parseVar take an allocated variable list instead of a static one - set the first argument of all tasks to be the prefix - correctly parse chmodx directives - add GAMEDIR variable to the variable list - output known variables on installer info - implement basic task handling - check if file exists before redownloading - remove debug function - make noprogress argument into progress and convert it to int | |||
2021-03-26 | add files to the variable list | Jan200101 | |
2021-03-26 | improve parser logic and math reuse | Jan200101 | |
2021-03-26 | allow functions to return an allocated string value | Jan200101 | |
to simplify the logic all literal string values are allocated before usage | |||
2021-03-26 | ensure variable key is fully compared, return head to offset […] | Jan200101 | |
- comparing only the first X characters can result inaccurate results - we cannot return head to the start of the string because that would mean it can reparse variables that call a function | |||
2021-03-26 | add debug method to test out variable parser for memory safety | Jan200101 | |
2021-03-26 | don't output a random number on unknown directive | Jan200101 | |
2021-03-26 | commit variable parser | Jan200101 | |
this is a simple variable parser written in standard C that tries to be as safe as possible | |||
2021-02-03 | clean up logic some more | Jan200101 | |
2021-01-12 | replace float with int math, silence conversions, improve wine call […] | Jan200101 | |
improve parser logic and math reuse | |||
2021-01-02 | quote executable/script path to not deal with whitespace problems | Jan200101 | |
2020-12-20 | add some memory allocation failure checks | Jan200101 | |
2020-12-19 | add conversion warnings, fix existing flaws | Jan200101 | |
2020-12-19 | remove useless struct, add json length type macro | Jan200101 | |
- previously used progress struct was a leftover from when libcurl examples were used - json_object_array_length returns int pre 0.13 and site_t on any other version | |||
2020-12-18 | add stderr checks, print carriage return when done downloading | Jan200101 | |
- no reason to print out a progress bar when outputting to a descriptor - control over the current line is given back so whatever downloaded something can print whatever it wants on that line | |||
2020-12-18 | move carriage return to start, remove spaces | Jan200101 | |
keeping it at the end makes the cursor always appear right on the first character which looks kind of ugly | |||
2020-12-18 | add dots to downloading prompt | Jan200101 | |
2020-12-18 | add download progress bar | Jan200101 | |
2020-12-17 | replace gnu style quoting with normal quoting, comment command macros, … | Jan200101 | |
- gnu style quoting (`text') has been replaced with normal quoting ('text') - the command macros defined in command.h have been commented to explain how they are intended to be used and why they are how they - the macro that generates the command group function now prints a message if the given command has not been found (this probably needs to be extended to the other commands to be consistent) | |||
2020-12-16 | add more warning flags, correct syntax, add UNUSED macro, […] | Jan200101 | |
- added -Wall -Wextra -pedantic to the compile options - various syntax has been corrected: - static is used before const - correct integer types are used in for loops - empty newlines are added - every command has an argc and argv but some don't use them so they are marked as potentially unused if compiled on a GNUC compatible compiler - mark JSONC variables as advanced so they do not show up as generic variables | |||
2020-12-14 | allow downloading multiple wine versions at the same time | Jan200101 | |
2020-12-14 | make directory creation create all parent directories too | Jan200101 | |
2020-12-12 | improve fish-env message | Jan200101 | |
2020-12-12 | Merge branch 'fish' | Jan200101 | |
2020-12-12 | add fish env support | Jan200101 | |
2020-12-12 | change download routines to require a version name, not a random ID | Jan200101 | |
2020-12-11 | cleanup imports, add completion message for downloads | Jan200101 | |
2020-12-11 | add remove commands to dxvk and wine | Jan200101 | |
2020-12-11 | move command definitions (as well as helpers) to macros | Jan200101 | |
2020-12-07 | improve grammar in descriptions, add newline to wine check warning | Jan200101 | |
2020-12-07 | add some safety around stat failures | Jan200101 | |
2020-12-05 | update wine env output to output actual given wine version | Jan200101 | |
2020-12-05 | send warning and error msgs to stderr, output context messages if tty[…] | Jan200101 | |
- a lot of puts and printf calls have been replaced with fprintf() to ensure the error or warning message reaches the end user - messages like "Installable wine versions:" are only output if we are in a TTY, this will using polecat in shell scripts easier | |||
2020-12-05 | add wine env command […] | Jan200101 | |
- wine env outputs a POSIX compatible env string to add a wine installation to your current PATH - outputs human readable messages to stderr so they are not swallowed by the shell | |||
2020-11-23 | get the size of the correct variable0.1.9 | Jan200101 | |
sizeof(dxvkdir) returns the size of void*, not what we want |