aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2023-03-23native: fix two potential runoffsChloe Kudryavtsev-0/+2
2023-03-23Revert "native: NULL-terminate all struct[]s"Chloe Kudryavtsev-12/+9
This reverts commit 5ebde8722822ddac5b79755dbeb4c404f1c879fa.
2023-03-23native: fix nasty bugChloe Kudryavtsev-1/+1
thank you libasan
2023-03-23native: NULL-terminate all struct[]sChloe Kudryavtsev-9/+12
2023-03-23janet: add example of get/put interface in initChloe Kudryavtsev-2/+3
2023-03-23native: add OO-like setopt and getoptChloe Kudryavtsev-3/+26
caveat: if you put, it doesn't return the code instead, it panics on failure
2023-03-23native: implement ssl and security optsChloe Kudryavtsev-1/+105
2023-03-23native: implement mimepostChloe Kudryavtsev-1/+7
2023-03-23all: implement mime-data-cbChloe Kudryavtsev-5/+66
2023-03-23native: main: remove prefixes and rename moduleChloe Kudryavtsev-30/+30
2023-03-23reorganizeChloe Kudryavtsev-23/+30
jurl-native moved to jurl/native some of the renaming hasn't been done yet
2023-03-23native: implement curl_mime*Chloe Kudryavtsev-0/+296
2023-03-23jurl: move to module directory (project)Chloe Kudryavtsev-1/+1
2023-03-23jurl: move to subdirChloe Kudryavtsev-16/+17
2023-03-23native: add escape/unescapeChloe Kudryavtsev-2/+51
2023-03-22janet: rewrite jurl.janetChloe Kudryavtsev-81/+53
right now you get a simple client it's not super useful unless you like libcurl a lot however, it can remember options, and is a nice place from which to build more sophisticated clients next up: probably a more sophisticated client it's already opinionated in favor of http but that's fine because the low level api is very close to libcurl
2023-03-22native: add OO-like calls to jurl_typeChloe Kudryavtsev-2/+22
also fix a jurl.h typo: getopt -> getinfo
2023-03-22readme: update readme progressChloe Kudryavtsev-0/+10
2023-03-22native: misc typosChloe Kudryavtsev-2/+2
there will likely be quite a few of these
2023-03-22native: return rich errorsChloe Kudryavtsev-28/+66
also provide an error boxer / enricher ala elixir
2023-03-22native: add error elaborationChloe Kudryavtsev-1/+158
2023-03-22native: remove extern by adding a getjurl fnChloe Kudryavtsev-11/+10
2023-03-21docs: update prefixes to be accurateChloe Kudryavtsev-2/+2
2023-03-21native: add libcurl version detectionChloe Kudryavtsev-5/+9
2023-03-21native: add support for enums and FILE* in setoptChloe Kudryavtsev-18/+165
2023-03-21native: turns out janet has a FILE* typeChloe Kudryavtsev-2/+1
2023-03-20janet: initial client versionChloe Kudryavtsev-0/+85
yeah this is pretty low level but you know bit by bit, eh
2023-03-20native: perform now *just* performsChloe Kudryavtsev-17/+1
The low level in-janet client is underway now. As such I no longer need native code to do option heavy lifting.
2023-03-20native: add header_callback supportChloe Kudryavtsev-0/+17
2023-03-20add callback handlingChloe Kudryavtsev-2/+211
also, oops, forgot to register jurl_getopt in jurl.h callbacks are handled on a one-by-one basis because they all require somewhat custom handling the result, however, is an API that should feel almost native
2023-03-20add slist argument handling, extra cleanupChloe Kudryavtsev-3/+51
when a curl_easy_setopt expects an slist, we convert an indexed datatype that is expected to be filled with strings into an slist, registering it for cleanup in a way that should avoid memory leaks
2023-03-19add curl global init/cleanupChloe Kudryavtsev-4/+52
also move more stuff to JANET_CFUN
2023-03-19initial commitChloe Kudryavtsev-0/+690