1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

Commit Graph

  • aacba60dca macosx: Fix port listing on ElCapitan. Martino Facchin 2015-12-18 12:40:58 +01:00
  • 8062087ab3 Change debug message to "Port not open" when a closed port is used. Martin Ling 2015-12-29 02:36:04 +00:00
  • 4d8195fe3f libserialport_internal: use new macro to enable timeradd, etc. Wolfram Sang 2015-12-28 14:33:40 +01:00
  • ae2c5825e7 windows: Handle ERROR_IO_PENDING from ReadFile in sp_nonblocking_read(). Martin Ling 2015-12-08 20:08:49 +00:00
  • 127d8d0ce7 sp_wait: Avoid overflow of timeout parameter to poll(). Martin Ling 2015-10-13 15:04:03 +01:00
  • 1a584c45b0 Build: Include config.h first in all source files Daniel Elstner 2015-09-13 20:04:31 +02:00
  • 962143bc5c Build: Use GNUMAKEFLAGS and $@ Daniel Elstner 2015-09-10 22:03:07 +02:00
  • c37c9f348d autogen.sh: Create autostuff/ dir if it does not exist Daniel Elstner 2015-08-27 11:46:06 +02:00
  • 07f61c7131 configure: Enable largefile support on 32-bit systems Daniel Elstner 2015-08-26 22:49:40 +02:00
  • 87f4a6f021 Clean up .gitignore Daniel Elstner 2015-08-26 22:01:03 +02:00
  • f1c916ede1 Build: Clean up configure.ac and Makefile.am Daniel Elstner 2015-08-26 21:42:32 +02:00
  • ef08a6d52b Build: Reduce autogen.sh to trivial stub Daniel Elstner 2015-08-26 19:46:43 +02:00
  • f77bb46df5 Update copyright notices. Martin Ling 2015-05-31 13:07:20 +01:00
  • d931da1042 Update AUTHORS file. Martin Ling 2015-05-31 12:32:21 +01:00
  • e2b7ba1214 NEWS: Update for the upcoming 0.1.1 release. Uwe Hermann 2015-05-30 22:04:56 +02:00
  • 56fe6e3207 doc: Provided channel is binary, not necessarily 8-bit. Martin Ling 2015-05-30 21:03:38 +01:00
  • 6b8eee0682 Fix possible use of uninitialised variable in poll() setup. Martin Ling 2015-05-27 11:21:56 +01:00
  • 49fd7b1bc2 doc: Additional introductory text. Martin Ling 2015-05-27 10:53:46 +01:00
  • deef6e528c doc: Expanded introductory text. Martin Ling 2015-05-24 13:47:38 +01:00
  • ec4b55ae25 doc: Additional notes on sp_last_error_{code,message}. Martin Ling 2015-05-24 13:47:09 +01:00
  • 46d8b0a039 Handle the case when /sys/class/tty/ entries are not symlinks. silverbuddy 2015-05-20 15:51:47 +03:00
  • e5c2630eee Add new sp_blocking_read_next() function. Martin Ling 2015-05-07 10:07:55 +01:00
  • 0188a545c7 windows: Always check and set ReadTotalTimeoutMultiplier. Martin Ling 2015-05-07 10:06:33 +01:00
  • 76222ee578 posix: Make sure blocking operations can't time out without trying. Martin Ling 2015-05-07 10:04:11 +01:00
  • c3cee38c3b posix: Consistent debug output when blocking operations time out. Martin Ling 2015-05-07 09:41:41 +01:00
  • 772c586133 posix: Move FD_ZERO() and FD_SET() calls outside loops. Martin Ling 2015-05-07 09:41:02 +01:00
  • 27911925c1 windows: Always check return value of GetOverlappedResult(). Martin Ling 2015-05-07 09:19:47 +01:00
  • bbe566fe1c windows: Restructure if/else blocks with unnecessary indentation. Martin Ling 2015-05-07 00:09:49 +01:00
  • 8ebfaf8966 windows: restart_wait_if_needed(): Inline receive buffer check. Martin Ling 2015-05-06 20:18:37 +01:00
  • 21ae5ce197 windows: restart_wait_if_needed(): Skip buffer check if no bytes read. Martin Ling 2015-05-06 20:15:46 +01:00
  • 94a314a806 windows: Refactor duplicated code into a static function. Martin Ling 2015-05-06 20:11:17 +01:00
  • 27a58c0521 windows: Avoid unnecessary calls to SetCommTimeouts(). Martin Ling 2015-05-06 16:40:41 +01:00
  • 9a0c4bbdbe windows: Strip CR/LF from end of system error messages. Martin Ling 2015-05-06 16:12:27 +01:00
  • 480d750c59 doc: correct structure name in sp_get_port_handle() documentation. Martin Ling 2015-04-23 22:23:14 +01:00
  • ff6da776e8 libserialport.h.in: Fix/update some API docs. Uwe Hermann 2015-05-02 21:20:30 +02:00
  • 6392641545 sp_list_ports(): Actually set list_ptr NULL as documented. Uwe Hermann 2015-05-02 21:18:36 +02:00
  • 6aad5bdd47 Fix a potential segfault in sp_get_config_*(). Uwe Hermann 2015-05-02 21:10:21 +02:00
  • 5f64c28551 Fix a potential segfault in sp_get_port_handle(). Uwe Hermann 2015-04-30 22:38:58 +02:00
  • eb50b1aca6 windows.c: Constify a few function parameters. Uwe Hermann 2015-04-19 19:33:22 +02:00
  • 9eb9f07130 sp_get_port_usb_vid_pid(): Document that usb_vid/usb_pid can be NULL. Uwe Hermann 2015-04-19 19:18:05 +02:00
  • 1b91c6eadb Rename timeout to timeout_ms for clarity in a few places. Uwe Hermann 2015-04-19 18:53:26 +02:00
  • 025c264448 autotools: Don't set/override "user variables". Uwe Hermann 2015-04-19 18:36:58 +02:00
  • a630a469f6 Makefile.am: Simplify LDFLAGS handling a bit. Uwe Hermann 2015-04-19 18:33:47 +02:00
  • f14809393a Constify the sp_get_port_description() parameter. Uwe Hermann 2015-04-19 19:00:52 +02:00
  • ad036cc8ef Constify the sp_get_port_transport() parameter. Uwe Hermann 2015-04-19 18:28:10 +02:00
  • 3dd4a2ae39 configure.ac: Drop no longer needed SP_PKGLIBS. Uwe Hermann 2015-04-19 18:21:19 +02:00
  • 35578b063e Various Doxygen comment updates and fixes. Uwe Hermann 2015-04-18 23:48:29 +02:00
  • e4f44cf5f2 libserialport.h.in: Drop unneeded <windows.h> #include. Uwe Hermann 2015-04-16 01:05:04 +02:00
  • 13efecf888 libserialport.h.in: Add @since tags for new enums. Uwe Hermann 2015-04-16 00:53:50 +02:00
  • 3f2f48fc01 Set package version to 0.1.1, use "@since 0.1.1" Doxygen tags. Uwe Hermann 2015-04-16 00:47:21 +02:00
  • 777347a6bd windows: Drop no longer needed -luuid. Uwe Hermann 2015-04-16 00:40:49 +02:00
  • 8c6de591a5 configure.ac: Minor whitespace cosmetics. Uwe Hermann 2015-04-15 21:40:32 +02:00
  • 1ff591d7b3 Doxyfile: Update to Doxygen 1.8.8 template. Uwe Hermann 2015-04-15 21:20:18 +02:00
  • 5ca38cdfe0 configure.ac: Add #include guard to config.h. Uwe Hermann 2015-04-15 21:15:04 +02:00
  • 613c48f191 Fix a compiler warning when -Wshadow is used. Uwe Hermann 2015-04-11 21:03:53 +02:00
  • b3e619c8b2 autogen.sh: Drop obsolete MinGW/MSYS items. Uwe Hermann 2015-04-07 00:04:43 +02:00
  • f11a67ed5f README: Refer to MSYS2 only. Uwe Hermann 2015-04-06 20:25:42 +02:00
  • 144a598f19 Minor Doxygen improvements and fixes. Uwe Hermann 2015-04-06 18:51:17 +02:00
  • 3cb7aa98c2 configure.ac: Use $host_os instead of $target_os. Uwe Hermann 2015-04-04 18:10:18 +02:00
  • cd71af4b93 README: Add link to online API docs. Uwe Hermann 2015-04-03 22:18:56 +02:00
  • a24671ade9 README: Mention FreeBSD port enumeration support. Uwe Hermann 2015-04-03 22:17:57 +02:00
  • 1cda3e3dfc configure.ac: Add -Wmissing-prototypes. Uwe Hermann 2015-04-03 22:04:20 +02:00
  • 23e7fa372a Fix two compiler warnings on platforms without enumeration support. Uwe Hermann 2015-04-03 22:03:26 +02:00
  • ac323d80e0 add_handle(): Fix a realloc() related issue. Uwe Hermann 2015-04-03 22:02:00 +02:00
  • e019e72ec0 Fix a compiler warning. Uwe Hermann 2015-04-03 17:45:04 +02:00
  • b344a40bb2 Fix indentation of a switch(). Uwe Hermann 2015-04-03 17:29:52 +02:00
  • 948f63f0fd add_handle(): Fix a memory leak. Uwe Hermann 2015-04-03 17:17:49 +02:00
  • 5122d60849 Use libtool's -no-undefined option on all platforms. Uwe Hermann 2015-04-03 16:58:43 +02:00
  • 8d12e620f2 Clarify sp_list_ports() code. Martin Ling 2015-04-01 00:24:27 +01:00
  • 34442106ef windows: Set fAbortOnError=FALSE. Martin Ling 2015-03-27 22:43:14 +00:00
  • 47fcf8ec85 windows: Revise management of WaitCommEvent() operations. Martin Ling 2015-03-25 18:03:17 +00:00
  • 6c6aebe78c Make std_baudrates[] static (only used in one file). Uwe Hermann 2015-03-25 23:38:04 +01:00
  • dc422c04af Various cosmetic and consistency fixes. Uwe Hermann 2015-03-25 20:28:48 +01:00
  • 2b40f81454 libserialport_internal.h: Add #include guard. Uwe Hermann 2015-03-25 20:29:41 +01:00
  • cfa5af67fd Fix some typos. Uwe Hermann 2015-03-25 20:13:57 +01:00
  • 64155cba8a linux_termios.h: Add missing #include of "config.h". Uwe Hermann 2015-03-25 14:52:54 +01:00
  • 7c081505e5 Generate a config.h rather than passing defines on command line. Martin Ling 2015-03-24 23:15:32 +00:00
  • 7c1101dc08 Fix misleading snprintf() arguments. Uwe Hermann 2015-02-20 18:57:08 +01:00
  • ea17bfca3d If present, add usb_serial to description for better identification Uffe Jakobsen 2015-02-16 23:07:00 +01:00
  • 5497520891 Handle enumeration of native UART ports on FreeBSD Uffe Jakobsen 2015-02-16 14:13:01 +01:00
  • ccd512d51c Implement FreeBSD OS-specific serial port detection and query Uffe Jakobsen 2015-01-13 23:14:54 +01:00
  • f446cfbf65 windows: Fix restart of RX/error wait operation after reads. Martin Ling 2014-09-24 15:30:39 +01:00
  • e31f2c6b8b Fix free() of uninitialized pointer. Boris Gjenero 2014-12-05 18:38:43 +01:00
  • b328a48b0f windows: Properly handle return value of SetupDiOpenDevRegKey(). Aurelien Jacobs 2014-11-27 17:41:23 +01:00
  • 59182fbbbf linux: Check for BOTHER macro at configure time. Martin Ling 2014-09-24 20:04:39 +01:00
  • ad7498553c Flush only the requested buffers Janne Huttunen 2014-10-11 12:13:41 +03:00
  • d66bbceaa7 Fix typos. Bert Vermeulen 2014-10-05 02:38:35 +02:00
  • 78940e6921 windows: Fix compile issues with multiply or not defined GUIDs. Martin Ling 2014-09-24 20:53:03 +01:00
  • 6c444ade55 windows: Indentation (cosmetics only). Aurelien Jacobs 2014-09-24 12:47:58 +02:00
  • 7aeb6736bd windows: Fix various memory leaks. Aurelien Jacobs 2014-09-24 12:44:40 +02:00
  • 276ef1b92f Add SP_MODE_READ_WRITE enum value. Aurelien Jacobs 2014-09-20 21:24:31 +02:00
  • eb82be98a7 README: Add URL to the libserialport website. Uwe Hermann 2014-09-07 19:31:23 +02:00
  • a46ee5b4d7 README: Mention that only MinGW-w64 works (but not MinGW). Uwe Hermann 2014-09-07 19:27:02 +02:00
  • da8730199a windows: -no-undefined is required to make a DLL. Michael B. Trausch 2014-09-06 21:39:40 -04:00
  • 6692d8c13f windows: Add -lsetupapi when building for WIN32. Michael B. Trausch 2014-09-06 21:34:03 -04:00
  • d179da05c0 windows: Include proper GUID defining header to fix build. Michael B. Trausch 2014-09-06 20:23:16 -04:00
  • 653cef3ab1 linux: remove readlinkat() dependency Aurelien Jacobs 2014-09-04 20:13:55 +02:00
  • 546e9ae5c5 linux_termios: fix return types to actually match returned values Aurelien Jacobs 2014-09-04 20:13:55 +02:00
  • 23ef3bf125 Fix Mac OS X build (untested). Uwe Hermann 2014-08-27 14:56:19 +02:00
  • d38c7d2c70 Fix Windows build. Uwe Hermann 2014-08-27 14:53:19 +02:00