Commit Graph

108 Commits

Author SHA1 Message Date
zy
c2b368833d lots of commit 2024-01-12 02:55:15 -05:00
Joseph Henry
b2d5e081a7 Merge pull request #247 from zerotier/brenton/remove-debug-optimization
Remove debug optimization -O3
2023-08-19 08:44:51 -07:00
Brenton Bostick
189576719b Fix fatal error: jni_md.h: No such file or directory
And clean up finding JNI in general
Tested on Mac, Linux, and Android
2023-08-18 12:50:54 -04:00
Brenton Bostick
29b20879f7 Remove debug optimization -O3
This was running many optimization passes and preventing debugging
2023-08-18 12:04:33 -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
916a2ce2f4 Update iOS SDK version to 16.4 2023-06-06 09:57:59 -07:00
Brenton Bostick
87e344bdb7 add new prometheus headers that are now used by ZeroTierOne 2023-06-01 11:16:03 -04:00
tejas238
038166f9f2 upgrade gradle versions and include .cxx bindings 2022-11-23 21:32:55 +05:30
Joseph Henry
e1c754c6bb Merge branch 'msvc-invalid-release-flag' of https://github.com/StephenCWills/libzt into StephenCWills-msvc-invalid-release-flag 2022-01-11 21:21:34 -08:00
staphen
9c07a30dca Do not use -Wno-everything in MSVC 2022-01-11 22:11:22 -05:00
Joseph Henry
7b2bbc18a4 Merge branch 'android-ndk-only' of https://github.com/StephenCWills/libzt into StephenCWills-android-ndk-only 2022-01-11 17:06:40 -08:00
staphen
f197170b2f Enable NDK-only builds for Android 2022-01-04 23:02:00 -05:00
staphen
0268dc4285 [Android] Enable ARMv8-A crypto instructions 2022-01-03 15:46:54 -05:00
Joseph Henry
0244cf90d4 Merge pull request #136 from glebm/upstream-stack-prot
CMakeLists: option to disable `-fstack-protector`
2021-12-06 21:10:02 -08:00
Gleb Mazovetskiy
748862a3a0 CMake: Make build vars options
This allows distributions to selectively disable some options, such as examples,
which aren't present in the zip file due to `.gitattributes` settings.
2021-11-04 14:48:44 +00:00
Gleb Mazovetskiy
601ba45318 CMakeLists: option to disable -fstack-protector
This flag is not supported by all GCC + libc combination, for example it is not suported with GCC and uClibc.
2021-10-15 18:22:32 +01:00
Joseph Henry
8c275c4899 Add Rust bindings (alpha) 2021-05-30 19:51:26 -07:00
Joseph Henry
0e2f5b6f1e Add ZeroTierDatagramSocket and ZeroTierServerSocket to Java wrapper 2021-05-18 22:39:48 -07:00
Joseph Henry
50b84864c1 Add sanitizer options to CMakeLists.txt 2021-05-11 14:34:52 -07:00
Joseph Henry
fa34fb62e6 Minor Windows build fixes 2021-05-05 19:55:47 -07:00
Joseph Henry
47b1facdd4 Fix misc build issues 2021-05-05 13:58:16 -07:00
Joseph Henry
6763ced6f5 Reduce number of compile-time warnings 2021-04-30 15:36:46 -07:00
Joseph Henry
c456a87f97 Add zts_core_query_ and world sub-APIs. Adjust event subsystem 2021-04-26 21:55:01 -07:00
Joseph Henry
43350691b5 Expand C API and simplify NodeService 2021-04-22 11:20:04 -07:00
Joseph Henry
9cd5fdee7b Update C API: Add functions that simplify wrapper generation 2021-03-24 12:20:39 -07:00
Joseph Henry
b8c75c2d1b Add tests to selftest 2021-03-16 13:44:21 -07:00
Joseph Henry
2c5c1a6a5f Expose lwIP's DNS API in zts_* API. Fix preprocessor build bug 2021-03-16 00:31:45 -07:00
Joseph Henry
986828a51f Split Java portion of socket API into its own file 2021-03-14 01:37:24 -08:00
Joseph Henry
c220bb7d2f Improve Central API 2021-03-14 01:01:04 -08:00
Joseph Henry
9185af5426 Restore previous install behavior in CMakeLists 2021-03-13 18:05:25 -08:00
Joseph Henry
9bca3270bc Overhaul build system and documentation 2021-03-02 01:53:03 -08:00
Joseph Henry
df52be90e0 Format CMakeLists.txt with cmake_format. Nice. 2021-02-05 16:33:50 -08:00
Joseph Henry
38ea47212d Restructure packaging directories. Move C# bindings, minor compilation fix. 2021-02-01 17:59:21 -08:00
Joseph Henry
097fc5d7f0 Add prototype Central API wrapper 2021-01-29 01:26:46 -08:00
Joseph Henry
d1cd7656d5 Fix pthreads-related compilation issue on Linux 2021-01-26 20:56:25 -08:00
Joseph Henry
b0e4337983 Add simple test for CI build workflow 2021-01-26 18:04:03 -08:00
Joseph Henry
a8c757eaff Add preprocessor check in ZeroTierSockets.h for inclusion of integer definitions. A response to e94ca31. 2021-01-04 20:57:18 -08:00
Evan Olcott
efabfafd5d Applied correct booleans 2020-12-01 16:50:03 -06:00
Evan Olcott
e94ca31944 Tweaks to Xcode project settings
* Made certain that the result would be a module
* Removed an unnecessary #include that caused errors when included in a project
2020-12-01 16:00:03 -06:00
Evan Olcott
abbe7957c7 Support for creating .xcframework
* `make macOS` builds a universal framework
* `make xcframework` builds an .xcframework containing frameworks for macOS (universal), iOS, and iOS Simulator
* Addresses a compiler warning
2020-11-29 17:49:18 -06:00
heri16
58c4cb9e7d make libzt.a position_independent_code 2020-08-05 17:42:31 +08:00
Joseph Henry
be9af71238 Adjust formatting of CMakeLists.txt 2020-05-28 14:31:43 -07:00
Joseph Henry
58d9ac8eea Add non-blocking socket examples 2020-05-28 14:20:58 -07:00
Joseph Henry
8dc2b3b4f2 Update ios/macos framework modulemap and reference in CMakeLists 2020-05-28 13:58:39 -07:00
Joseph Henry
a0b50530d3 Add portability and consistency fixes for C API, remove cruft, slight internal restructuring 2020-05-01 19:15:38 -07:00
Joseph Henry
7c736e45af Add updated examples 2020-04-17 10:48:53 -07:00
Joseph Henry
92a627eed9 Added SWIG wrapper paths to CMakeLists.txt 2019-06-28 12:18:52 -07:00
Joseph Henry
d489d50a18 Added NATPMP_EXPORTS to libnatpmp targets 2019-06-25 16:26:49 -07:00
Joseph Henry
3c2fe77dd7 Updated CMakeLists.txt for Windows build 2019-06-20 14:48:33 -07:00
Joseph Henry
9dbcc8eb45 Added dynamic library to install section of CMakeLists.txt 2019-05-10 12:39:49 -07:00