Commit Graph

24 Commits

Author SHA1 Message Date
Justin Traglia 456c3d8fab
Enable pedantic warnings (#371)
* Enable pedantic warnings

* Make same change in other places

* Disable some warnings in java bindings
2023-10-10 15:21:14 +03:00
Stefan Bratanov 9a764de619
Add spotless to the java bindings (#136)
* Add spotless to the java bindings

* Use check task which includes test + all verification
2023-02-16 11:26:26 +00:00
Justin Traglia 69f6155d75
Bytes-only interface (#62)
* Convert argument types to bytes

* Update java bindings

* Update python bindings

* Update node.js bindings

* Update c# bindings

* Fix java binding compile issues

* Fix incorrect memcpy in nodejs bindings

* Fix bug (called the wrong func)

* Fix issues with java bindings

* Fix issues with node.js bindings

* Remove unnecessary wrapped funcs for c#

* Rename struct member to bytes

* Use goto out for callocs

* Fix nit

* Make un-exported funcs static

* Fix python bindings

* Check commitment length in python bindings

* Update python error message

* Steal good ideas from #37

* Fix tests.py which didn't get copied over

* Convert remaining a[] to *a

* Add missing Py_DECREF

* Bytes only rust (#1)

* Make interface bytes only
* Fix benches
* Avoid newtypes for kzg types
* Fix benches again
* Make fields private
* tidy
* Address review comments

* Fix one small thing in rust bindings

* Use ckzg types where possible

* Remove null terminator from domain bytes in rust

* Update rust binding docs

* Use BYTES_PER_* where applicable

* Add extra check for calloc

Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
2023-01-16 20:05:23 +00:00
Justin Traglia 3a62ca018e Convert Linux x86_64 to amd64 2022-12-19 09:52:54 -06:00
Justin Traglia 4c5f88d828 Add support for Unix ARM builds 2022-12-19 09:41:02 -06:00
Stefan Bratanov 0072efe70a Java binding - load library based on a preset 2022-12-06 12:58:56 +00:00
Ramana Kumar de36196184
Do not mess with java bindings CC_FLAGS 2022-11-29 21:19:03 +00:00
Ramana Kumar 070948d68f
Update bindings Makefiles with configurable blob size 2022-11-29 21:07:07 +00:00
Ramana Kumar f1a210dba4
Indent Makefile without spaces
Avoid using the recipe prefix for non-recipe code
2022-11-29 20:15:19 +00:00
Stefan Bratanov 26ac90da96 Add cross compile parameterization for the java binding 2022-11-29 10:56:31 +00:00
Stefan Bratanov 73bba9ef91 change library output folder and make it configurable 2022-11-25 14:53:47 +00:00
Stefan Bratanov ec7eae4815 Java bindings improvements 2022-11-25 14:53:47 +00:00
Enrico Del Fante c823c9b577
indentation2 2022-11-25 11:21:57 +01:00
Enrico Del Fante 0e82300f8f
indentation 2022-11-25 11:20:47 +01:00
Enrico Del Fante b3224e5a2f
improvement 2022-11-25 11:14:49 +01:00
Enrico Del Fante 0caab36c0b
Java binding compilation improvement for macos
Tries to get `JAVA_HOME` automatically if not already set
2022-11-25 10:31:23 +01:00
Stefan Bratanov c944251ca6 revert back makefile change 2022-11-24 20:38:38 +00:00
Stefan Bratanov 74de86964c change in makefiles 2022-11-24 20:36:18 +00:00
Stefan Bratanov 7b0db64a76 clean up + add pipeline 2022-11-24 19:46:47 +00:00
Stefan Bratanov 9b09d6c966 adding more tests 2022-11-24 19:18:24 +00:00
Stefan Bratanov e765142a57 add more OS handling in the Makefile 2022-11-24 18:05:12 +00:00
Stefan Bratanov 3025c882ea adding gradle, makefile and tests 2022-11-24 17:16:15 +00:00
Stefan Bratanov 3136083139 using jni instead of swig (still needs work) 2022-11-24 09:14:12 +00:00
Stefan Bratanov accc70c6cd java bindings initial try 2022-11-24 09:14:12 +00:00