Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
to run lutris installers on windows soon
|
|
put brackets around flag logic
ignore chdir return
use memmove for putting quotes around the dxvk path
|
|
stupid standard --help and --version
|
|
|
|
- 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
|
|
- 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
|
|
|
|
|
|
to simplify the logic all literal string values are allocated before usage
|
|
- 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
|
|
|
|
|
|
this is a simple variable parser written in standard C that tries to be as safe as possible
|
|
|
|
improve parser logic and math reuse
|
|
|
|
|
|
|
|
- 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
|
|
- 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
|
|
keeping it at the end makes the cursor always appear right on the first character which looks kind of ugly
|
|
|
|
|
|
- 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)
|
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- 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
|
|
- 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
|
|
sizeof(dxvkdir) returns the size of void*, not what we want
|
|
- add cmake install target
- remove unused code from dxvk
|
|
- main DXVK functionality implemented, installing (etc.) can be done now
this adds a dependency on the system installed wine to modify the registry but that isn't too huge of an issue right now
- <command> installed has been renamed to <command> list-installed to be more user friendly
- comments have been improved
|
|
|
|
|