aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2020-12-12add fish env supportJan200101
2020-12-12change download routines to require a version name, not a random IDJan200101
2020-12-11cleanup imports, add completion message for downloadsJan200101
2020-12-11add remove commands to dxvk and wineJan200101
2020-12-11move command definitions (as well as helpers) to macrosJan200101
2020-12-07improve grammar in descriptions, add newline to wine check warningJan200101
2020-12-07add some safety around stat failuresJan200101
2020-12-05update wine env output to output actual given wine versionJan200101
2020-12-05send 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-05add 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-23get the size of the correct variable0.1.9Jan200101
sizeof(dxvkdir) returns the size of void*, not what we want
2020-11-22bump version, quality of life changes […]0.1.8Jan200101
- add cmake install target - remove unused code from dxvk
2020-11-22implement DXVK functionality, renamed installed to list-installed, […]0.1.7Jan200101
- 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
2020-11-21Update readme (once again), add message for no installer foundJan200101
2020-11-21fix wine version being put into the installer nameJan200101
2020-11-21add proton supportJan200101
2020-11-21add required header to tar.h, quote default string and version numberJan200101
2020-11-21add basic variable related attributes to the installer structJan200101
2020-10-20improve codebase qualityJan200101
- improve unreachable macro to print a message with a minor traceback then exit(0) instead of assert hackery - add specific wine and dxvk directory methods - rename dxvk install to download - remove sanity asserts from lutris, caught by unreachable - improve comments - rename info to env - only use a single buffer for information fetching - fix formatting on code I had help on - purge unused code - if downloadToRam returns null pointer report that the archive went missing not that its invalid - rename undescriptive "datadir" to be more specific - remove unused code from when we stored the archive on disk
2020-10-20properly include header directories, change how json-c is foundJan200101
2020-10-12modify argc and argv for help messages like all other function callsJan200101
2020-10-12append system arch to wine version if wine version was not foundJan200101
2020-10-11replace meson with cmakeJan200101
meson is nice but its completly foreign to me and leaves targets to compile to (e.g Makefile) might revisit in the future but now right now
2020-10-05fix compiler warning, replace bin,obj ignore with buildJan200101
2020-10-05Use Meson build systemMasanori Kakura
2020-09-06fix incorrectly hiding unfinished commandsJan200101
its ifdef not ifndef
2020-09-06improve basic installer, add unreachable, hide unfinished behind debugJan200101
2020-09-05add support for detecting unknown runners, add basic installer logicJan200101
2020-09-05move fs related functions to common, add more file related functionsJan200101
2020-09-04correct strn sizes, replace str calls with strn variant, check wine pathJan200101
2020-08-18first part of a proper lutris implementation and cleanup0.1.4Jan200101
- remove all old build platform related variables - change behavior of clean - change tabs into spaces - make XDG fetching method static - replace strcpy and cat with strn alternative with proper bounds checking - add cache dir - reenable dxvk and download from ram - completely rework lutris fetching and convert it into an interal struct - only show http errors in debug - add sanity checks to methods with possible NULL return - change extracting methods to extract tar from ram
2020-08-10a lot of changes […]0.1.3Jan200101
- go to next entry of argv and decrement argc the deeper it goes - add basic lutris functionality - remove "help" from help message and as a command - replace all stderr prints with stdout prints (usually stderr is better for directly informing the user but in this case I don't think it will help much) - add libarchive dependency to the README - bump version number
2020-08-01Improve code structure […]Jan200101
- create a dedicated "usage" macro to reuse - add various checks in the case no memory is available - fix cwd fetching check - correctly free json_objects to remove all existing leaks