aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorLines
2025-01-19ci: add ci badgeHEADmainChloé Vulquin-0/+1
2025-01-19ci: add ci to automatically run testsChloé Vulquin-0/+13
2025-01-19prepare 1.4.3 releasev1.4.3Chloé Vulquin-2/+2
2025-01-18fix executable detectionChloé Vulquin-2/+6
This would cause pkg-config detection to fail. I should really write a libpkgconf integration at some point, huh?
2023-07-02prepare 1.4.2 releasev1.4.2Chloe Kudryavtsev-1/+1
2023-07-02patch against getcbytes bug, to be tested on linuxChloe Kudryavtsev-17/+52
I didn't catch this in development because macos helpfully zeroes out all malloc pages on allocation, so my buffers *were* \0-terminated. Getcbytes is called in a few spots, namely in setopt, and 4 mime functions. We only ever call setopt using the partial `pt`, so we can just `comp` it with `freeze`. As for mime, we insert a `freeze` in each of the 4 handlers. Either way, also backport the new getcbytes, which still has the failure condition, but only under very specific circumstances.
2023-06-20prepare for 1.4.1 tagv1.4.1Chloe Kudryavtsev-1/+1
2023-06-20fix misc build failures re: pkgconf detectionChloe Kudryavtsev-6/+7
I really should do funny jpm alternative things, there's really no reason for a package manager that strongly depends on native bindings to not integrate typical tools like pkgconfig. It's also unfortunate that project.janet cannot have any configure-time dependencies, meaning that every project needs to duplicate any such utilities in-line.
2023-05-07native: polyfills for get/opt cbytesChloe Kudryavtsev-9/+30
2023-05-07git: also ignore compile_flags.txtChloe Kudryavtsev-0/+1
2023-05-03v1.4.0v1.4.0Chloe Kudryavtsev-1/+1
2023-05-03formatting failChloe Kudryavtsev-2/+2
2023-05-03readme: big update that I'm too lazy to summarizeChloe Kudryavtsev-61/+84
2023-05-03misc formatting changesChloe Kudryavtsev-5/+5
2023-04-16smtp: add smtp module and docsChloe Kudryavtsev-0/+222
TODO: README and other meta-info, this isn't just http anymore
2023-04-16meta: fix compiles?Chloe Kudryavtsev-3/+4
2023-04-16meta: test for ability to build staticallyChloe Kudryavtsev-5/+16
2023-04-16meta: use non-static config for nowChloe Kudryavtsev-10/+19
opens the way for static flags once I can test those
2023-04-16meta: improve build systemChloe Kudryavtsev-5/+31
use pkg-config! the main concern at this point is whether or not adding a "--static" is safe. if you don't add "--static", there's no guarantee of static linking. however, if you do add "--static" but not all of the libraries in question are available in static form, it will fail to build. the likely correct way to approach this is to use an env var. furthermore, I'm not entirely sure as to how/whether the link flags get passed on to upstream packages.
2023-04-10meta: prepare 1.3.0v1.3.0Chloe Kudryavtsev-1/+1
new features, yay
2023-04-10janet: improve query handling, add part-appendingChloe Kudryavtsev-6/+80
also tests
2023-04-07meta: prepare for 1.2.0 releasev1.2.0Chloe Kudryavtsev-2/+2
2023-04-05meta: add basic slurp example to module docsChloe Kudryavtsev-0/+3
2023-04-05meta: improve doc formattingChloe Kudryavtsev-2/+2
2023-04-05meta: add tests for slurp and spitChloe Kudryavtsev-0/+22
2023-04-05update slurp/spit, stabilize, documentChloe Kudryavtsev-9/+59
after a short testing period, this'll be released
2023-04-05janet: spit: use body-plainChloe Kudryavtsev-1/+1
to override content-type, simply change the content-type yourself it's meant to be an "easy to use" API, so defaults etc
2023-04-05janet: improve slurp/spit semanticsChloe Kudryavtsev-13/+25
2023-04-05janet: add convenience functions slurp and spitChloe Kudryavtsev-0/+13
these are currently to be considered unstable, fully undocumented. to be stabilized in an official release later, assuming they don't need any changes
2023-04-03meta: release 1.1.3v1.1.3Chloe Kudryavtsev-1/+1
2023-04-03native: fix non-zeroed initializationChloe Kudryavtsev-0/+11
When we initialize an slist but it's meant to be empty, it might not be zero-allocated and thus recognize it's null. Therefore, explicitly zero-initialize jurl_cleanup->slist.
2023-04-03test: test json apiChloe Kudryavtsev-0/+14
2023-04-03native: make strings more permissiveChloe Kudryavtsev-6/+15
* adds a getcbytes that accepts any JanetBytes * use it across the board, except where we can inform curl of the length
2023-04-02meta: update to 1.1.2v1.1.2Chloe Kudryavtsev-1/+1
2023-04-02native: fix gc allocation error in jurl :dupChloe Kudryavtsev-1/+1
2023-04-02meta: add more gitignoresChloe Kudryavtsev-0/+2
2023-03-31meta: update readme for 1.1.1 releasev1.1.1Chloe Kudryavtsev-1/+1
TODO: maybe set up a CHANGELOG? shotlog is nice and all but you know
2023-03-31meta: update README re: inclusion in jpmChloe Kudryavtsev-1/+5
2023-03-29tests: add test for oauthChloe Kudryavtsev-0/+14
2023-03-29janet: fix oauthChloe Kudryavtsev-1/+1
2023-03-28meta: add information about curl versioningChloe Kudryavtsev-0/+4
2023-03-28native: fix compat with curl as old as 7.81.0Chloe Kudryavtsev-0/+8
2023-03-28meta: change recommended tag to 1.1.0v1.1.0Chloe Kudryavtsev-1/+1
2023-03-28meta: add TECH.mdChloe Kudryavtsev-0/+95
2023-03-28meta: all the testsChloe Kudryavtsev-1/+235
ok not all the tests just testing the high level api the other top level things would be: 02-request and 01-native probably to be done native mostly useful for regression testing and seeing what went wrong where for example, if the high level api is what broke, and not request or if it was the native stuff that broke, and not anything else etc
2023-03-28meta: depend on sporkChloe Kudryavtsev-1/+2
2023-03-28janet: add body-type and co, fix PUTs and bodiesChloe Kudryavtsev-11/+36
writing tests reveals issues, as per usual also rejoice, you have json I gave up and am depdending on spork/json now
2023-03-28meta: readme indentationv1.0.0Chloe Kudryavtsev-6/+6
I really should fix my markdown handling it should know to use janet formatting inside ```janet
2023-03-28meta: update readme to current state of the projectChloe Kudryavtsev-23/+71
2023-03-28janet: finish module docsChloe Kudryavtsev-6/+38