Commit Graph

27 Commits

Author SHA1 Message Date
diegomrsantos 6834f4756b
chore: add nim 2 to ci (#8)
* add nim 2 to ci

* fix trigger

* remove ConvFromXtoItselfNotNeeded
2024-09-03 16:14:25 +02:00
diegomrsantos 817de8ece8
change version to 0.34.0 (#7)
chore(versioning): change version to 0.34.0
2024-08-16 13:49:03 +02:00
diegomrsantos 024ce6202c
chore: upgrade ngtcp2 to 1.6.0 (#6)
Upgrades ngtcp2 to 1.6.0 with all the necessary fixes.
2024-08-16 13:35:36 +02:00
Tanguy 76bf92475f
Style check fixes (#5)
* Style check fixes
* ngtcp2.nim generation
* fix ci
2022-08-26 12:03:55 +02:00
Mark Spanbroek fe5e54ee6c Version 0.32.0 2020-11-09 16:08:34 +01:00
Mark Spanbroek 4e1d27eb96 Update to latest version of ngtcp2 2020-11-09 16:08:34 +01:00
Mark Spanbroek 371e2d86aa Remove our custom sockaddr* objects
Use the ones in nativesockets instead.
2020-10-08 15:56:41 +02:00
Mark Spanbroek 1001eaf683 Fix typo's in sockaddr_in6 struct 2020-09-15 10:35:27 +02:00
Mark Spanbroek 01eda24799 Import sockets code instead of copying it 2020-09-10 17:22:27 +02:00
Mark Spanbroek 48824b92d0 Add more detail to the imported socketaddr structs 2020-09-10 17:22:27 +02:00
Mark Spanbroek 3f4d415364 Fix: sockaddr and sockaddr_storage are structs, and should be imported as such 2020-09-08 15:26:12 +02:00
Mark Spanbroek 7f936a5394 Add generated files 2020-09-08 10:57:14 +02:00
Mark Spanbroek b8b333baa1 Ensure that C includes are relative to the nim source
Added code to determine the include directories in compile time, instead of
the default nimterop behaviour, which is to include paths relative to the 
current working directory.
2020-09-08 10:57:14 +02:00
Mark Spanbroek d29d2fc4e5 Added instructions on updating to a newer version of ngtcp2 2020-09-08 10:57:14 +02:00
Mark Spanbroek 759934a90a Ensure that static linking is used on Windows 2020-09-08 10:57:14 +02:00
Mark Spanbroek abe116bb7b Do not generate {.header.}
It was using absolute paths.
2020-09-08 10:57:14 +02:00
Mark Spanbroek ca8f5879ad Checkout submodules in CI 2020-09-08 10:57:14 +02:00
Mark Spanbroek 15a631ad9b Run tests in CI 2020-09-08 10:57:14 +02:00
Mark Spanbroek f4d2c114ee Ensure that nimble installs sources/ and build/ folders 2020-09-08 10:57:14 +02:00
Mark Spanbroek da8939e160 Add {.compile.} pragma's to generated file 2020-09-08 10:57:14 +02:00
Mark Spanbroek 211c6fb17c Add unit test 2020-09-08 10:57:14 +02:00
Mark Spanbroek b1f9dd4ab1 Add build script that converts C headers to a single nim source
Removes the need to have CMake when requiring this package.
2020-09-08 10:57:14 +02:00
Mark Spanbroek f297f97045 Add ngtcp2 as a git submodule 2020-09-08 10:57:14 +02:00
Mark Spanbroek 8df3fcc775 Ensure static linking of the ngtcp2 library
Fixes linker issue on Windows, where it tries to link against a non-existing DLL.
2020-09-07 16:14:35 +02:00
Mark Spanbroek 91620388c8 Windows: add linker flag to link agains winsock2 2020-09-07 15:44:21 +02:00
Mark Spanbroek 83b5b8cfb9 Add continuous integration with Github actions 2020-09-07 14:09:17 +02:00
Mark Spanbroek 6fdeaa707a Initial version of ngtcp2 wrapper 2020-09-07 14:06:44 +02:00