Commit graph

  • 5b5625a6f0 'NodeException' does not define a 'serialVersionUID' field Brenton Bostick 2023-02-02 16:00:04 -05:00
  • 33a9cd02ba NodeException can be made a checked Exception Brenton Bostick 2023-02-02 15:59:16 -05:00
  • ca73651e12 Modifier 'public' is redundant for interface members Brenton Bostick 2023-02-02 15:50:31 -05:00
  • fbd834716f comments and logging Brenton Bostick 2023-02-02 14:52:39 -05:00
  • 914b4fae7b switch statement work Brenton Bostick 2023-02-02 14:52:16 -05:00
  • a1bf139188 use PRId64 macros Brenton Bostick 2023-02-02 14:47:17 -05:00
  • a2f753986b JniRef work JniRef does not use callbacks struct, so remove fix NewGlobalRef / DeleteGlobalRef mismatch Brenton Bostick 2023-02-02 14:44:04 -05:00
  • d28f44335a use GETENV macro Brenton Bostick 2023-02-02 13:44:43 -05:00
  • 0a925a6f21 fix ANDROID-38: stack corruption in onSendPacketRequested Brenton Bostick 2023-02-02 11:34:18 -05:00
  • 132bff25df newInetAddress and newInetSocketAddress work allow newInetSocketAddress to return NULL if given empty address Brenton Bostick 2023-02-01 16:01:16 -05:00
  • e1c16a8e68 invert logic in a couple of places and return early Brenton Bostick 2023-02-01 11:19:01 -05:00
  • 4ee73fa272 add fromSocketAddressObject Brenton Bostick 2023-02-01 08:08:17 -05:00
  • 30cfe65b39 add addressPort Brenton Bostick 2023-02-02 13:38:19 -05:00
  • 40d5f9b5d2 add isSocketAddressEmpty Brenton Bostick 2023-02-02 13:32:49 -05:00
  • 809022b273 make VirtualNetworkRoute a plain data class Brenton Bostick 2023-02-01 06:43:32 -05:00
  • d0c0585553 add VirtualNetworkRoute.hashCode Brenton Bostick 2023-02-02 17:15:43 -05:00
  • d60929514b reimplement VirtualNetworkRoute.toString Brenton Bostick 2023-02-02 17:14:48 -05:00
  • 920e1f56c2 reimplement VirtualNetworkRoute.compareTo Brenton Bostick 2023-02-02 17:12:55 -05:00
  • 86122e1646 reimplement VirtualNetworkRoute.equals Brenton Bostick 2023-02-02 17:05:52 -05:00
  • f9a27d6778 make VirtualNetworkDNS a plain data class Brenton Bostick 2023-02-01 06:40:42 -05:00
  • 8b0be5c1fc add VirtualNetworkDNS.hashCode Brenton Bostick 2023-02-02 17:03:33 -05:00
  • 686561dc5b reimplement VirtualNetworkDNS.equals Brenton Bostick 2023-02-02 17:01:45 -05:00
  • b8b8e58586 remove unused VirtualNetworkConfig.enabled Brenton Bostick 2023-02-01 07:57:35 -05:00
  • 54fd7c7e9a make VirtualNetworkConfig a plain data class Brenton Bostick 2023-02-01 06:36:34 -05:00
  • e060ae3176 add VirtualNetworkConfig.hashCode Brenton Bostick 2023-02-02 16:59:59 -05:00
  • 7392a32cd8 reimplement VirtualNetworkConfig.compareTo Brenton Bostick 2023-02-02 16:57:20 -05:00
  • 8b724493cc reimplement VirtualNetworkConfig.equals Brenton Bostick 2023-02-02 16:54:20 -05:00
  • 9cb16accfd fix ANDROID-49: VirtualNetworkConfig.equals is wrong Brenton Bostick 2023-02-27 10:20:43 -05:00
  • d5944ae69c fix ANDROID-42: copy/paste error Brenton Bostick 2023-02-06 07:27:44 -05:00
  • 6102c70855 make Version a plain data class Brenton Bostick 2023-02-01 06:25:22 -05:00
  • 6cc055dbba make Peer a plain data class Brenton Bostick 2023-01-31 19:37:45 -05:00
  • f51ce077a3 add array functions Brenton Bostick 2023-01-31 18:32:19 -05:00
  • 2de4c95446 remove unused PeerPhysicalPath.fixed Brenton Bostick 2023-01-31 18:18:00 -05:00
  • 63f70ba465 make PeerPhysicalPath a plain data class Brenton Bostick 2023-01-31 18:05:08 -05:00
  • 7ef68a9d6a add Node.toString Brenton Bostick 2023-01-31 13:55:52 -05:00
  • 90bf300bd8 Node init work: separate Node construction and init Brenton Bostick 2023-02-02 16:45:43 -05:00
  • f9528f1248 fix ANDROID-52: synchronization bug with nodeMap Brenton Bostick 2023-02-27 10:32:06 -05:00
  • 4861ec5a40 make NodeStatus a plain data class Brenton Bostick 2023-01-31 13:40:17 -05:00
  • acf5b3579b add VirtualNetworkType.fromInt Brenton Bostick 2023-01-31 13:15:19 -05:00
  • d1460ab65b fix ANDROID-37: VirtualNetworkStatus out-of-sync with ZT_VirtualNetworkStatus enum Brenton Bostick 2023-01-31 13:29:57 -05:00
  • 85bd773c55 add VirtualNetworkStatus.fromInt Brenton Bostick 2023-01-31 12:58:10 -05:00
  • ed3918b508 fix ANDROID-40: VirtualNetworkConfigOperation out-of-sync with ZT_VirtualNetworkConfigOperation enum Brenton Bostick 2023-01-31 12:55:36 -05:00
  • 7c2766096c add VirtualNetworkConfigOperation.fromInt Brenton Bostick 2023-01-31 12:50:47 -05:00
  • acd8b95114 fix ANDROID-36: issues with ResultCode Brenton Bostick 2023-01-31 12:48:49 -05:00
  • 34ff813e2a add ResultCode.fromInt Brenton Bostick 2023-01-31 12:40:59 -05:00
  • 056cef7292 add PeerRole.fromInt Brenton Bostick 2023-01-31 12:29:38 -05:00
  • 7c5f256d4a add Event.fromInt Brenton Bostick 2023-01-31 12:04:21 -05:00
  • 82749e4442 ANDROID-48: use ZT_jnicache.cpp and remove ZT_jnilookup.cpp and ZT_jniarray.cpp Brenton Bostick 2023-01-30 17:11:39 -05:00
  • 7890185e81 ANDROID-48: add ZT_jnicache.cpp Brenton Bostick 2023-01-30 16:28:45 -05:00
  • 71fc0dd097 add LOG_TAG defines Brenton Bostick 2023-02-02 16:13:02 -05:00
  • 8373a0fa60 add GETENV macro Brenton Bostick 2023-02-02 14:00:39 -05:00
  • 21264baaae update to use unique error codes Brenton Bostick 2023-02-04 08:12:17 -05:00
  • 703f9290c9 fix missing DeleteLocalRef in loops Brenton Bostick 2023-02-01 17:44:51 -05:00
  • dd1b52c7d9 fix ANDROID-35: memory leak Brenton Bostick 2023-02-01 17:06:02 -05:00
  • 01003617cd fix ANDROID-51: fieldName is uninitialized Brenton Bostick 2023-01-31 11:33:34 -05:00
  • bfe4bc2894 fix typo Brenton Bostick 2023-02-04 09:16:39 -05:00
  • 1c88037ea0 fix typos in JNI method signatures Brenton Bostick 2023-02-01 16:52:52 -05:00
  • 0027e6bdab fix typo in log message Brenton Bostick 2023-01-31 11:31:52 -05:00
  • 87edbb2d3a fix ANDROID-50: RESULT_ERROR_BAD_PARAMETER typo Brenton Bostick 2023-01-31 09:53:49 -05:00
  • 5be92a96df cleanup Brenton Bostick 2023-02-02 16:09:16 -05:00
  • 0733af5239 move extern "C" only JNI functions need to be exported Brenton Bostick 2023-01-30 16:19:11 -05:00
  • 216ed8c8ea fix headers use recommended headers and remove unused headers Brenton Bostick 2023-02-01 08:05:24 -05:00
  • 58e3b8c5ad add StringUtils Brenton Bostick 2023-01-24 11:50:00 -05:00
  • f876ea8d9b Fix condition where full HELLOs might not be sent when necessary Joseph Henry 2023-02-17 11:51:15 -08:00
  • dbfeb4e8d6
    Merge branch 'dev' into tl-macos-multiple-addresses Sean OMeara 2023-03-02 13:05:10 +01:00
  • ae5fa71f23 rename Node.networks -> Node.networkConfigs Brenton Bostick 2023-02-16 12:41:27 -05:00
  • 66fd0c3211 simplify loadLibrary Brenton Bostick 2023-02-13 10:46:55 -05:00
  • 72a3fc113a error handling, error reporting, asserts, logging Brenton Bostick 2023-02-02 16:05:01 -05:00
  • f00598e723 'finalize()' should not be overridden this is fine to do because ZeroTierOneService calls close() when it is done Brenton Bostick 2023-02-02 16:02:07 -05:00
  • 703bd59bc7 'NodeException' does not define a 'serialVersionUID' field Brenton Bostick 2023-02-02 16:00:04 -05:00
  • 64521b3da6 NodeException can be made a checked Exception Brenton Bostick 2023-02-02 15:59:16 -05:00
  • 02b810fb7c Modifier 'public' is redundant for interface members Brenton Bostick 2023-02-02 15:50:31 -05:00
  • ddb87ad498 comments and logging Brenton Bostick 2023-02-02 14:52:39 -05:00
  • 02894184ba switch statement work Brenton Bostick 2023-02-02 14:52:16 -05:00
  • f98bb073b8 use PRId64 macros Brenton Bostick 2023-02-02 14:47:17 -05:00
  • 3a92756818 JniRef work JniRef does not use callbacks struct, so remove fix NewGlobalRef / DeleteGlobalRef mismatch Brenton Bostick 2023-02-02 14:44:04 -05:00
  • da93e3f487 use GETENV macro Brenton Bostick 2023-02-02 13:44:43 -05:00
  • 4b48a09a95 fix ANDROID-38: stack corruption in onSendPacketRequested Brenton Bostick 2023-02-02 11:34:18 -05:00
  • e5ea2099cb newInetAddress and newInetSocketAddress work allow newInetSocketAddress to return NULL if given empty address Brenton Bostick 2023-02-01 16:01:16 -05:00
  • e5658bbd3b invert logic in a couple of places and return early Brenton Bostick 2023-02-01 11:19:01 -05:00
  • c50a823de4 add fromSocketAddressObject Brenton Bostick 2023-02-01 08:08:17 -05:00
  • e01bd03eb9 add addressPort Brenton Bostick 2023-02-02 13:38:19 -05:00
  • 6ea4e1f1f0 add isSocketAddressEmpty Brenton Bostick 2023-02-02 13:32:49 -05:00
  • 6537ee2fe4 make VirtualNetworkRoute a plain data class Brenton Bostick 2023-02-01 06:43:32 -05:00
  • 33490ffba4 add VirtualNetworkRoute.hashCode Brenton Bostick 2023-02-02 17:15:43 -05:00
  • b62dce9f2f reimplement VirtualNetworkRoute.toString Brenton Bostick 2023-02-02 17:14:48 -05:00
  • 3bbf56d20d reimplement VirtualNetworkRoute.compareTo Brenton Bostick 2023-02-02 17:12:55 -05:00
  • 27d44f8edb reimplement VirtualNetworkRoute.equals Brenton Bostick 2023-02-02 17:05:52 -05:00
  • 4ca8d9861d make VirtualNetworkDNS a plain data class Brenton Bostick 2023-02-01 06:40:42 -05:00
  • cc6a3c9de0 add VirtualNetworkDNS.hashCode Brenton Bostick 2023-02-02 17:03:33 -05:00
  • 176d8e6adc reimplement VirtualNetworkDNS.equals Brenton Bostick 2023-02-02 17:01:45 -05:00
  • f25168374f remove unused VirtualNetworkConfig.enabled Brenton Bostick 2023-02-01 07:57:35 -05:00
  • a0edf30b46 make VirtualNetworkConfig a plain data class Brenton Bostick 2023-02-01 06:36:34 -05:00
  • b8dc27b2ed add VirtualNetworkConfig.hashCode Brenton Bostick 2023-02-02 16:59:59 -05:00
  • 0d4838bd66 reimplement VirtualNetworkConfig.compareTo Brenton Bostick 2023-02-02 16:57:20 -05:00
  • 7372faf75e reimplement VirtualNetworkConfig.equals Brenton Bostick 2023-02-02 16:54:20 -05:00
  • a3c6d3e27f fix ANDROID-49: VirtualNetworkConfig.equals is wrong Brenton Bostick 2023-02-27 10:20:43 -05:00
  • 61361f9a52 fix ANDROID-42: copy/paste error Brenton Bostick 2023-02-06 07:27:44 -05:00
  • b5b6ce357f make Version a plain data class Brenton Bostick 2023-02-01 06:25:22 -05:00
  • a75c75c2cb make Peer a plain data class Brenton Bostick 2023-01-31 19:37:45 -05:00