aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-25rename wine list-installed to installedJan200101
2021-12-23clean up mock logic, improve names, allow mock without wineJan200101
2021-12-23Compile each subsection as its own library and link them togetherJan200101
slightly overkill, might revisit later
2021-11-18Correct ifdef guardsJan200101
2021-11-07cleanup, make main components optional at compile timeJan200101
2021-08-08replace static core library to be an object libraryJan200101
2021-08-01update min cmake, add wine to lib, make base emptyJan200101
2021-07-28find packages before setting CFLAGSJan200101
we cannot set package specific CFLAGS if we don't know them
2021-07-28add newline to filesJan200101
2021-07-22reorder linkageJan200101
2021-07-22compile core files into a static library to link againstJan200101
2021-07-22fix broken debug define checks, move lutris enums to special headersJan200101
2021-07-04fix wrong comparison, remove whitespace, add Makefile and DoxyfileJan200101
2021-06-13rework command group logic to work linear, replace return with EXIT_*Jan200101
2021-06-11ignore flags for wine, add no-net debug printJan200101
2021-06-06fix win env, add proper mocking code to test implementationJan200101
2021-05-27allow flags to exit prematurely, move defines, add no networking flagJan200101
2021-05-18cleanup windows config stuff, parse wine argv0Jan200101
2021-05-18improve cmake files, add simple curl mock, clean up on download errorJan200101
2021-05-16add NULL checksJan200101
2021-05-13reorder includes, add missing includesJan200101
2021-05-08add work in progress windows supportJan200101
to run lutris installers on windows soon
2021-04-26rid some warningsJan200101
put brackets around flag logic ignore chdir return use memmove for putting quotes around the dxvk path
2021-04-26implement flags and sort commands by alphabetJan200101
stupid standard --help and --version
2021-04-24update allocsize with the largest size we might possibly needJan200101
2021-04-22add 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-26a chunk of changesJan200101
- 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-26add files to the variable listJan200101
2021-03-26improve parser logic and math reuseJan200101
2021-03-26allow functions to return an allocated string valueJan200101
to simplify the logic all literal string values are allocated before usage
2021-03-26ensure 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-26add debug method to test out variable parser for memory safetyJan200101
2021-03-26don't output a random number on unknown directiveJan200101
2021-03-26commit variable parserJan200101
this is a simple variable parser written in standard C that tries to be as safe as possible
2021-02-03clean up logic some moreJan200101
2021-01-12replace float with int math, silence conversions, improve wine call […]Jan200101
improve parser logic and math reuse
2021-01-02quote executable/script path to not deal with whitespace problemsJan200101
2020-12-20add some memory allocation failure checksJan200101
2020-12-19add conversion warnings, fix existing flawsJan200101
2020-12-19remove useless struct, add json length type macroJan200101
- 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-18add stderr checks, print carriage return when done downloadingJan200101
- 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-18move carriage return to start, remove spacesJan200101
keeping it at the end makes the cursor always appear right on the first character which looks kind of ugly
2020-12-18add dots to downloading promptJan200101
2020-12-18add download progress barJan200101
2020-12-17replace 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-16add 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-14allow downloading multiple wine versions at the same timeJan200101
2020-12-14make directory creation create all parent directories tooJan200101
2020-12-12improve fish-env messageJan200101
2020-12-12Merge branch 'fish'Jan200101