aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* added ability to specify max amount of words generated by nimisewiHEADv0.4.0mainla-ninpre2021-11-201-21/+69
| | | | | | | | | | added new flag to main program, that displays sad version of prompt removed unnecessary function that sets up random seed for systems where arc4random is not available updated readme FossilOrigin-Name: 1195601f8a81524006e8d3c9014abb26cf613ad995b60455d9553fd7bb50d337
* fixed compiler warning about integer typev0.3.3la-ninpre2021-09-111-1/+1
| | | | | | | also added NIMISEWI_STATIC_BUILD option. anyway, i'm curious, if such changes require a version bump or not. FossilOrigin-Name: ae170493ce2c0aef31cb81ff7c448134862967ad8a7918d1fde94f05542c6466
* added compiler info to nimisewiv0.3.1la-ninpre2021-09-101-9/+5
| | | | | | | also removed error checks from nimisewi, nimisewi.cgi and nimisewi_gemini.cgi because this error check has to happen inside nimi_sewi() and not in those programs. FossilOrigin-Name: 2fd4c9495753569c904132ee83cd5f14662389c69399c27f289e0e3ae35aa0cb
* added support for arc4random_uniform functionv0.3.0la-ninpre2021-09-101-0/+3
| | | | | | | | | i know that it's probably an overkill for such stupid little program, but why not :D also refactored strlcat support a bit, to make sure that strncat function is used if strlcat could not be found. FossilOrigin-Name: 1b72489c7f0f5b72bac65f1469c9bec650d7ffdabfa4f88409e15c630ac5a52d
* changed build system to cmake (yeah, it's pretty big and complex, but i kindav0.2.0la-ninpre2021-09-011-2/+18
| | | | | | | | | | like it). added "-v" and "--version" flags to nimisewi, that are outputting version information and compile features. updated readme with new build instructions. FossilOrigin-Name: 2ca71b4636bf84c76232e040f8ad5e8769a5381f7f99b76360233e6e6c78d686
* use gnu autotools build system for configuring.v0.1.0la-ninpre2021-08-271-2/+2
| | | | | this was kinda tough, but interesting. FossilOrigin-Name: b881bb67b683313959c94ce172b9fb307400c0f43a262f82ab2d3b2c1a8cb557
* added missing error check to main and fixed error message in cgiv0.0.4.2la-ninpre2021-07-221-0/+4
| | | FossilOrigin-Name: e4d3b7cc592ac6f4eb64c16d4c24e88b04a1e5efe4aff54f6d9c48ac0a723eac
* major refactoringv0.0.3la-ninpre2021-06-021-0/+48
added options to compile cgi for http and gemini FossilOrigin-Name: 393d793150423ffe6680f109ef6b0524fd8e2e3501766a6761aa63276e90d90e