Commit Graph

345 Commits

Author SHA1 Message Date
Will Hedgecock ea7a505a26 Remove all native OS calls from Critical Section 2022-02-16 14:10:03 -06:00
Will Hedgecock bc4eae88f9 Do not attempt to use pthread_condattr_setclock on Android 2022-02-16 09:59:47 -06:00
Will Hedgecock 4184072005 Break out of event listening thread if global app is shutting down 2022-02-16 09:59:26 -06:00
Will Hedgecock 8899eff84f Update documentation about openPort on BT failures/retries 2022-02-16 09:25:46 -06:00
Will Hedgecock fe805cae57 Do not block SIGTERM from arriving at Java app 2022-02-15 15:36:08 -06:00
Will Hedgecock 7330e76913 Move all global/class sync to native code 2022-02-15 15:35:50 -06:00
Will Hedgecock 60ed45bb5d Do not block-drain serial port before closing 2022-02-14 12:36:06 -06:00
Will Hedgecock faffe075c8 Continually try to force-interrupt an event thread if it does not join in a timely fashion 2022-02-14 11:51:29 -06:00
Will Hedgecock a9444ffbad Only globally synchronize open/close port methods on the native function call 2022-02-14 11:41:00 -06:00
Will Hedgecock 60b90199bf Update version number 2022-01-31 10:11:26 -06:00
Will Hedgecock 93011c9aa8 Ensure port still exists when trying to gain elevated access 2022-01-28 14:23:46 -06:00
Will Hedgecock bc2ec3e8c4 Add method to allow elevated privelege operations from Posix 2022-01-28 14:09:15 -06:00
Will Hedgecock 28c21ec4eb Create method to allow elevated permission requests on Windows 2022-01-28 13:22:29 -06:00
Will Hedgecock a742cad114 Override sigemptyset for platforms that do not export it 2022-01-28 11:24:31 -06:00
Will Hedgecock daa26dd8ad Only process data_received events if >0 bytes were read 2022-01-28 11:04:10 -06:00
Will Hedgecock 23f29278c2 Ensure that -1 is return from readBytes upon read error 2022-01-28 11:00:07 -06:00
Will Hedgecock 71977d816b Update Android native library loading based on deprecations 2022-01-27 17:24:36 -06:00
Will Hedgecock 7ba248b535 Retrieve port details/description when calling getCommPort(String) 2022-01-25 14:34:25 -06:00
Will Hedgecock df6969e0be Add function to verify user/port group membership on Posix 2022-01-25 10:21:09 -06:00
Will Hedgecock 9663f7e3a4 Allow SIGINT to reach main Java application 2022-01-25 10:07:06 -06:00
Will Hedgecock 3a2a92e372 Update to version number 2.9.0 2022-01-24 12:25:04 -06:00
Will Hedgecock 0e4ad4a02b Update version number 2022-01-21 13:00:14 -06:00
Will Hedgecock 22ad5ae55f Updated Windows binaries 2022-01-21 12:50:10 -06:00
Will Hedgecock 22576d7365 Ignore LPT parallel devices on Windows 2022-01-21 12:09:25 -06:00
Will Hedgecock d0aab972b6 Do not use FTDI driver to fetch COM name, and search for MODEM devices 2022-01-21 11:56:53 -06:00
Will Hedgecock ba48714bcb Move latency timer updates to openPort() function 2022-01-20 15:57:43 -06:00
Will Hedgecock adddb318b4 Set FTDI latency using registry on Windows (requires admin) 2022-01-20 15:16:35 -06:00
Will Hedgecock 3b6f11123a Retry write() call if EAGAIN is errno 2022-01-19 12:13:04 -06:00
Will Hedgecock 375c1bb45b Move latency timer fix for FTDI inside of check for existing port 2022-01-18 17:24:38 -06:00
Will Hedgecock ef19f61ef6 Update version number to v2.8.5 2022-01-18 13:55:47 -06:00
Will Hedgecock 91a9c0cf72 Ensure port handle is valid before reconfiguring timeouts 2022-01-18 13:25:17 -06:00
Will Hedgecock 01d0fdfe80 Update version number to 2.8.4 2022-01-18 13:06:08 -06:00
Will Hedgecock 705e89ab49 OpenBSD enumeration completed 2022-01-18 11:56:55 -06:00
Will Hedgecock 622cb21156 Allow loading of OpenBSD native libraries 2022-01-18 00:04:28 -06:00
Will Hedgecock bc0e00de0c Initial commit for OpenBSD architectures 2022-01-18 00:00:49 -06:00
Will Hedgecock 07656bf95c Create new RS485 test case 2022-01-17 21:56:40 -06:00
Will Hedgecock d54555f5e4 Check and clear all JNI errors 2022-01-17 21:55:11 -06:00
Will Hedgecock 18d9daf552 Make sure port handle is exactly 0 upon error 2022-01-17 21:52:47 -06:00
Will Hedgecock 101739df33 Fix bug with openPort() failing when RS485 mode doesn't exist 2022-01-14 15:13:08 -06:00
Will Hedgecock 73596910e6 Allow returning of native error code if port does not open successfully 2022-01-12 10:00:19 -06:00
Will Hedgecock c1de299db2 Update next version to 2.8.2 2022-01-10 10:57:25 -06:00
Will Hedgecock c4fb5f9933 Make shared library non-writeable 2022-01-10 10:43:56 -06:00
Will Hedgecock 3c17081439 Try to use HOME directory as tmp directory if tmp is noexec 2022-01-10 10:23:04 -06:00
Will Hedgecock 1de0dc509f Fix Solaris native library search path 2022-01-06 12:51:00 -06:00
Will Hedgecock a2939a16ce Update version number for next release 2022-01-06 11:36:53 -06:00
Will Hedgecock b80bdeb4e2 Update all deprecated Windows wcs functions 2022-01-06 00:37:40 -06:00
Will Hedgecock dce6d6b7a4 Update Windows binaries and native Makefile 2022-01-04 23:36:42 -06:00
Will Hedgecock 1b2bd439bf Add test for LISTENING_EVENT_DATA_AVAILABLE 2022-01-04 22:45:16 -06:00
Will Hedgecock 7e22a15abe Make LISTENING_EVENT_PORT_DISCONNECTED functional 2022-01-04 22:43:29 -06:00
Will Hedgecock 541b76d864 Add LISTENING_EVENT_PORT_DISCONNECTED event type 2022-01-04 19:38:27 -06:00