Commit Graph

54 Commits

Author SHA1 Message Date
Brenton Bostick
fd000261d6 fix 'No such file or directory' error
Using a wildcard in cp was breaking the command when more than 1 file is
present
```
brenton@Brentons-MacBook-Air libzt % ./build.sh android-aar "release"

<< build release aar >>

brenton@Brentons-MacBook-Air libzt % 
brenton@Brentons-MacBook-Air libzt % ./build.sh android-aar "debug"  

<< build debug aar >>

...

BUILD SUCCESSFUL in 48s
33 actionable tasks: 28 executed, 5 up-to-date
cp: target '/Users/brenton/development/github/libzt/dist/android-any-android-debug/libzt-debug.aar': No such file or directory
/Users/brenton/development/github/libzt

 - Build cache  : /Users/brenton/development/github/libzt/cache/android-any-android-debug
 - Build output : /Users/brenton/development/github/libzt/dist

0	/Users/brenton/development/github/libzt/dist/android-any-android-debug
brenton@Brentons-MacBook-Air libzt %
```
2023-07-19 15:48:53 -04:00
Brenton Bostick
fad04bf3c7 Update examples:
Remove empty MainActivity.java Android example
fix CMake variable BUILD_EXAMPLES -> BUILD_HOST_EXAMPLES
fix some names in example usage messages:
pingable-node -> callbackapi
client -> nonblockingclient
server -> nonblockingserver
pingable-node -> statistics
2023-06-30 12:11:24 -04:00
Joseph Henry
bfa02c5f92 Merge pull request #223 from zerotier/ldr/rust-demo
Rust demo updates
2023-06-06 09:32:40 -07:00
Lennon Day-Reynolds
91b190da73 should work for non-oneshot (request/response) protocols a little better now 2023-06-05 21:58:54 -07:00
Lennon Day-Reynolds
787dd6efc1 new rust demo + cleanup of build 2023-06-05 19:14:12 -07:00
Brenton Bostick
f65686869a update various settings for Android and Gradle 2023-05-26 11:14:21 -04:00
Joseph Henry
71c2f97056 Fix broken include path for JSON library 2023-02-21 13:45:27 -08:00
janvanbouwel
9d66844523 Fix ZTS_MAX_PEER_NETWORK_PATHS to equal ZTO submodule 2023-02-21 18:16:11 +01:00
Joseph Henry
0cb84aa851 Merge pull request #201 from tejas238/android-fixes-tejas
upgrade gradle versions and include .cxx bindings
2022-11-23 10:14:43 -08:00
tejas238
038166f9f2 upgrade gradle versions and include .cxx bindings 2022-11-23 21:32:55 +05:30
dependabot[bot]
7ad5b78cee Bump regex from 1.5.4 to 1.5.6 in /pkg/crate/libzt
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.6)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 21:05:44 +00:00
Joseph Henry
ec9f520d68 Update yet another version string 2022-05-12 21:03:39 -07:00
Joseph Henry
663313f109 Bump pypi package version to 1.8.10 2022-05-12 20:59:23 -07:00
Joseph Henry
bb2506f97c Add setuptools installation to wheels.yml 2022-01-13 20:04:35 -08:00
Joseph Henry
4aaba086e0 Merge branch 'bostonrwalker-feature_poetry' into dev 2022-01-13 15:28:18 -08:00
Boston Walker
d6c7b01ddf Remove Python 3.5 support 2022-01-12 15:53:05 -05:00
Joseph Henry
440e3fcc09 Remove ManagedRoute.cpp from build.py 2022-01-11 20:34:23 -08:00
Boston Walker
3418f4d03d Include .py file migration in build_py packaging step; perform build_clib and build_ext before build_py packaging step 2022-01-11 12:06:59 -05:00
Boston Walker
ae025e1687 Include libzt.py in package 2022-01-11 09:46:40 -05:00
Boston Walker
894e52ab6c Migrated Python pkg mgmt to Poetry 2021-12-31 10:31:35 -05:00
Joseph Henry
81cc049eaf Bump NuGet package version numbers to 1.8.4 2021-12-06 22:12:42 -08:00
Joseph Henry
8f5306f875 Bump NuGet and PyPI package version numbers to 1.8.4 2021-12-06 21:58:05 -08:00
Joseph Henry
cd4f9e323c Bump package and license versions numbers 2021-06-01 13:59:01 -07:00
Joseph Henry
d5454040f0 Update Rust crate 2021-05-31 13:51:31 -07:00
Joseph Henry
3dc2479e07 Bump Python version number 2021-05-30 20:02:19 -07:00
Joseph Henry
8c275c4899 Add Rust bindings (alpha) 2021-05-30 19:51:26 -07:00
Joseph Henry
f566f7f4f7 Update Rust crate README.md 2021-05-29 21:58:23 -07:00
Joseph Henry
cd3265f8ae Add select, getsockopt, setsockopt, ioctl and fcntl to Python wrapper 2021-05-28 16:15:38 -07:00
Joseph Henry
96684860fe Add Python copyright and license text for wrapper 2021-05-28 16:06:43 -07:00
Joseph Henry
86ffc3645e Update C# NuGet package documentation 2021-05-26 15:34:14 -07:00
Erik Hollensbe
97da6e976c Fixed up build to not use concat and rely on cargo/compiler to do this
work

Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-05-26 01:58:21 -07:00
Erik Hollensbe
2dd5f490c7 These are some things I noticed while working in this tree:
- target/ was not in .gitignore
- src/libzt.rs is generated, put in .gitignore and deleted
- time_t was not defined; libc is a build dep so didn't want to bring it
  in for a type. Decided to just typedef it.

Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-05-26 00:55:15 -07:00
Joseph Henry
5bf60f6d1c Make Rust address getter return IpAddr instead of String 2021-05-25 21:38:53 -07:00
Joseph Henry
2a41301e33 Add Rust bindings (WIP) 2021-05-24 21:29:57 -07:00
Joseph Henry
a08417cb7d Bump PyPI package version 2021-05-19 22:23:55 -07:00
Joseph Henry
4e0813d167 Add address getter method to Python wrapper 2021-05-19 21:33:08 -07:00
Joseph Henry
b2c05a81a1 Re-add gradle-wrapper.jar 2021-05-19 13:55:05 -07:00
Joseph Henry
eac36f781d Add NetworkStream to C# wrapper. Fix errno bug in C# wrapper 2021-05-17 21:28:15 -07:00
Joseph Henry
ab3d3b2079 Minor update to C# NuGet package documentation and example 2021-05-13 14:58:53 -07:00
Joseph Henry
9151f4471c Slight re-org of C API naming convention 2021-05-05 16:19:27 -07:00
Joseph Henry
6a77f0092f Update Python bindings to 1.4.0 API (WIP) 2021-05-02 21:30:21 -07:00
Joseph Henry
6638f20003 Add IPv6 to C# ZeroTier.Sockets, Add C# selftest, Misc C API improvements 2021-03-26 16:33:22 -07:00
Joseph Henry
4b190ee384 Replace manual csc.exe invokation with dotnet project (for NuGet build) 2021-03-20 03:06:24 -07:00
Joseph Henry
42f188cdd6 Add NuGet package workflow 2021-03-19 23:11:45 -07:00
Joseph Henry
6d0b46a5c3 Update PyPI package version to 1.3.4b1 2021-03-17 14:57:06 -07:00
Joseph Henry
73e26c1a79 Bugfix: Check argument types and encodings in zts_py_send() 2021-03-16 23:30:14 -07:00
Joseph Henry
301cf9f41b Add GitHub workflow script to build Python wheels. Update PyPI package 2021-03-12 20:20:36 -08:00
Joseph Henry
5072d993b1 Implement more of the Python language binding. Minor adjustments to PyPI package 2021-03-05 00:18:11 -08:00
Joseph Henry
43ebeb2760 Update various READMEs 2021-03-05 00:07:54 -08:00
Joseph Henry
7bc690046a Add PyPI package (WIP) 2021-03-03 23:02:50 -08:00