aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)Author
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-11move command definitions (as well as helpers) to macrosJan200101
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-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-12modify argc and argv for help messages like all other function callsJan200101
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-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-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
2020-07-31implement running wine from polecat and more0.1.2Jan200101
- implement running wine from polecat directly and pass all arguments to wine (default wine prefix is still $HOME/.wine) - add command to list installed wine versions (lists all directories, needs to be improved) - rename wine install to wine download - replace deprecated support_compression_all with support_filter_all - comment out DXVK command until its further implemented - use PATH_MAX for strings holding paths
2020-07-31implement config dirs and unpack tars to them0.1.1Jan200101
2020-07-30Initial commit0.1.0Jan200101