Commit graph

6006 commits

Author SHA1 Message Date
Brenton Bostick
0d4838bd66 reimplement VirtualNetworkConfig.compareTo 2023-03-02 13:03:17 +01:00
Brenton Bostick
7372faf75e reimplement VirtualNetworkConfig.equals 2023-03-02 13:03:17 +01:00
Brenton Bostick
a3c6d3e27f fix ANDROID-49: VirtualNetworkConfig.equals is wrong 2023-03-02 13:03:17 +01:00
Brenton Bostick
61361f9a52 fix ANDROID-42: copy/paste error 2023-03-02 13:03:17 +01:00
Brenton Bostick
b5b6ce357f make Version a plain data class 2023-03-02 13:03:17 +01:00
Brenton Bostick
a75c75c2cb make Peer a plain data class 2023-03-02 13:03:17 +01:00
Brenton Bostick
a0a0d0dffe add array functions 2023-03-02 13:03:17 +01:00
Brenton Bostick
35ae63cf10 remove unused PeerPhysicalPath.fixed 2023-03-02 13:03:17 +01:00
Brenton Bostick
0f687c8223 make PeerPhysicalPath a plain data class 2023-03-02 13:03:17 +01:00
Brenton Bostick
d1c2d4b996 add Node.toString 2023-03-02 13:03:17 +01:00
Brenton Bostick
eab289aed9 Node init work: separate Node construction and init 2023-03-02 13:03:17 +01:00
Brenton Bostick
1aa2139652 fix ANDROID-52: synchronization bug with nodeMap 2023-03-02 13:03:17 +01:00
Brenton Bostick
d810510c7f make NodeStatus a plain data class 2023-03-02 13:03:17 +01:00
Brenton Bostick
1eb5d6674b add VirtualNetworkType.fromInt 2023-03-02 13:03:17 +01:00
Brenton Bostick
373e1865a1 fix ANDROID-37: VirtualNetworkStatus out-of-sync with ZT_VirtualNetworkStatus enum 2023-03-02 13:03:17 +01:00
Brenton Bostick
af5b99a061 add VirtualNetworkStatus.fromInt 2023-03-02 13:03:17 +01:00
Brenton Bostick
1de1c50660 fix ANDROID-40: VirtualNetworkConfigOperation out-of-sync with ZT_VirtualNetworkConfigOperation enum 2023-03-02 13:03:17 +01:00
Brenton Bostick
e2d33ab3ff add VirtualNetworkConfigOperation.fromInt 2023-03-02 13:03:17 +01:00
Brenton Bostick
210180ef97 fix ANDROID-36: issues with ResultCode 2023-03-02 13:03:17 +01:00
Brenton Bostick
ab164655f4 add ResultCode.fromInt 2023-03-02 13:03:17 +01:00
Brenton Bostick
43bf875e61 add PeerRole.fromInt 2023-03-02 13:03:17 +01:00
Brenton Bostick
5c9fbb90f5 add Event.fromInt 2023-03-02 13:03:17 +01:00
Brenton Bostick
1a97b5467b ANDROID-48: use ZT_jnicache.cpp and remove ZT_jnilookup.cpp and ZT_jniarray.cpp 2023-03-02 13:03:17 +01:00
Brenton Bostick
3405bf0325 ANDROID-48: add ZT_jnicache.cpp 2023-03-02 13:03:17 +01:00
Brenton Bostick
e9154b986f add LOG_TAG defines 2023-03-02 13:03:17 +01:00
Brenton Bostick
d65116efd7 add GETENV macro 2023-03-02 13:03:17 +01:00
Brenton Bostick
75d39a4193 update to use unique error codes 2023-03-02 13:03:17 +01:00
Brenton Bostick
eac55e3927 fix missing DeleteLocalRef in loops 2023-03-02 13:03:17 +01:00
Brenton Bostick
47023792c9 fix ANDROID-35: memory leak 2023-03-02 13:03:17 +01:00
Brenton Bostick
d24b706c7f fix ANDROID-51: fieldName is uninitialized 2023-03-02 13:03:17 +01:00
Brenton Bostick
dde885f035 fix typo 2023-03-02 13:03:17 +01:00
Brenton Bostick
e840b31a7b fix typos in JNI method signatures 2023-03-02 13:03:17 +01:00
Brenton Bostick
ea36b7cac2 fix typo in log message 2023-03-02 13:03:17 +01:00
Brenton Bostick
b11f323d6f fix ANDROID-50: RESULT_ERROR_BAD_PARAMETER typo 2023-03-02 13:03:17 +01:00
Brenton Bostick
d81932307f cleanup 2023-03-02 13:03:17 +01:00
Brenton Bostick
e20dfeaa82 move extern "C"
only JNI functions need to be exported
2023-03-02 13:03:17 +01:00
Brenton Bostick
951dc75d97 fix headers
use recommended headers and remove unused headers
2023-03-02 13:03:17 +01:00
Brenton Bostick
b2d779525d add StringUtils 2023-03-02 13:03:17 +01:00
Leonardo Amaral
c6adfd9d67
Added docker environment way to join networks (#1871) 2023-03-02 11:18:11 +01:00
Grant Limberg
672c58be01
Don't vendor packages for zeroidc (#1885) 2023-03-02 09:11:37 +01:00
Grant Limberg
6cf3b65953
Fix #1883 (#1886)
Still unknown as to why, but the call to `nc->GetProperties()` can fail
when setting a friendly name on the Windows virtual ethernet adapter.
Ensure that `ncp` is not null before continuing and accessing the device
GUID.
2023-03-01 18:00:59 -08:00
Grant Limberg
936dda4773
Turn off autocrlf for rust source
Doesn't appear to play nice well when it comes to git and vendored cargo package hashes
2023-03-01 15:08:34 -08:00
Grant Limberg
047e327f01
Revert "set gitattributes for rust & cargo so hashes dont conflict on Windows"
This reverts commit 032dc5c108.
2023-03-01 14:27:19 -08:00
Grant Limberg
032dc5c108
set gitattributes for rust & cargo so hashes dont conflict on Windows 2023-03-01 14:16:51 -08:00
travis laduke
dc54e0e1c4 Create a sample systemd unit for tcp proxy 2023-02-23 11:52:21 -08:00
Grant Limberg
9124b0a7a3
Merge branch 'main' into dev 2023-02-22 17:10:34 -08:00
Grant Limberg
dea47f601d
more info on exception 2023-02-22 16:13:05 -08:00
travis laduke
67cf4c42d5 add note about forceTcpRelay 2023-02-21 09:15:18 -08:00
Adam Ierymenko
dc762196dc
1.10.3 (#1875)
Version bumps and other release stuff to ship 1.10.3
2023-02-15 14:04:42 -05:00
Adam Ierymenko
0a900dc275
Add date to release notes
Add date
2023-02-15 14:04:02 -05:00