Debian Codegraph @

NEWS

raw
1 0.1.2 (2024-09-10)
2 ------------------
3
4 Note: This release does NOT change the libserialport API or ABI in
5 backwards-incompatible ways. Programs using libserialport should
6 continue to work fine without recompiling or relinking.
7
8 * No changes to the API
9 * Add examples to showcase libserialport usage.
10 * Fix handling of EAGAIN in sp_nonblocking_write().
11 * Fix calculation of poll() timeout in sp_wait().
12 * File descriptors of a serial port on POSIX systems are now opened
13 exclusively.
14 * Refactor timing code and add unit tests.
15 * Fix building on Cygwin.
16 * A default baudrate of 9600 is now assumed if the OS does not provide one.
17 * Linux:
18 - Fix buildroot build for ucLinux.
19 - Fix build for alpha target.
20 - Allow users to use symlinks created by e.g. udev rules.
21 - O_CLOEXEC is used where available.
22 * Windows:
23 - Fix a WCHAR-related issue causing crashes in sp_list_ports().
24 - Fix a WCHAR-related issue causing crashes in get_root_hub_name().
25 - Await completion of previous write before changing config via
26 set_config().
27 - Use architecture-specific size limit for WriteFile calls.
28 - Loop over WriteFile() if write size exceeds limit.
29 - Use correct variants of CreateFile() and FormatMessage().
30 - Ignore fParity flag which is always 0 after GetCommState().
31 - Don't fail if WaitCommEvent was aborted due to thread exit by
32 handling ERROR_OPERATION_ABORTED.
33 * FreeBSD:
34 - Add missing libusb-2.0 dependency.
35 * Android:
36 - Fix build for platform 21 and higher.
37 * Mac OS X:
38 - Max class string length is increased to 64, solving device discovery
39 issues.
40
41
42 0.1.1 (2016-01-27)
43 ------------------
44
45 Note: This release does NOT change the libserialport API or ABI in
46 backwards-incompatible ways. Programs using libserialport should
47 continue to work fine without recompiling or relinking.
48
49 * New API calls:
50 - sp_get_port_description(): Obtain a user friendly port description.
51 - sp_get_port_transport(): Obtain the underlying transport type.
52 - sp_get_port_usb_bus_address(): Obtain the USB bus number & device address.
53 - sp_get_port_usb_vid_pid(): Obtain the USB VID and PID.
54 - sp_get_port_usb_manufacturer(): Obtain the USB manufacturer string.
55 - sp_get_port_usb_product(): Obtain the USB product string.
56 - sp_get_port_usb_serial(): Obtain the USB serial number string.
57 - sp_get_port_bluetooth_address(): Obtain the Bluetooth MAC address.
58 - sp_blocking_read_next(): Read bytes from the specified serial port,
59 returning as soon as any data is available.
60 * API related additions:
61 - enum sp_mode: Add SP_MODE_READ_WRITE.
62 - Add enum sp_transport with the following enum entries:
63 SP_TRANSPORT_NATIVE, SP_TRANSPORT_USB, SP_TRANSPORT_BLUETOOTH.
64 * Fix the build on platforms where port enumeration and/or port
65 metadata is not available or implemented.
66 * Build system:
67 - Don't set/override "user variables" such as CFLAGS or LDFLAGS, since
68 those are meant to be controlled by the "user" (bug #577).
69 - Modernize and cleanup autotools setup.
70 * Remove trailing commas in libserialport.h enum definitions to allow
71 the code to build with the -pedantic compiler option.
72 * Fix various issues to allow successful builds with -std=c99.
73 * Fix various (non-fatal) compiler warnings.
74 * Fix various memory leaks (bug #419, among others).
75 * Fix a potential overflow of the timeout parameter of poll().
76 * Fix ReadFile() ERROR_IO_PENDING in sp_nonblocking_read() (bug #707).
77 * Fix a glibc >= 2.20 compiler warning for deprecated _BSD_SOURCE (bug #716).
78 * Rename a 'signals' parameter to 'signal_mask' to avoid a conflict with Qt.
79 * Fix two potential segfaults in sp_get_port_handle() and sp_get_config_*()
80 (which only occurred if the user incorrectly passed in a NULL argument).
81 * sp_list_ports(): Actually set list_ptr NULL as documented.
82 * Use "Port not open" debug message when a closed port is used (bug #710).
83 * Linux:
84 - The libudev requirement has been dropped (/sys is now used directly).
85 - Fix a build issue in the get_termios_get_ioctl() call (bug #396).
86 - Fix sp_flush() so that it only flushes the requested buffers.
87 - Fix a build error if BOTHER is not available (bug #363).
88 - If present, add the USB "description" for better port identification.
89 - Handle the case when /sys/class/tty/ entries are not symlinks.
90 * Windows:
91 - MinGW-w64 (mingw-w64.sf.net) is now required for building, and MinGW
92 (mingw.org) is no longer supported (bug #393).
93 - Fix a build issue due to a missing <initguid.h> #include.
94 - Fix a build issue due to the missing -lsetupapi linker argument.
95 - Use libtool's -no-undefined option to allow shared (DLL) builds.
96 - Fix a compile error due to multiply or not defined GUIDs (bug #416).
97 - Fix a build issue related to the SP_PRIV/SP_API macros (bug #553).
98 - Fix a bug where an uninitialized pointer was free()'d (bug #512).
99 - Fix a bug wrt the SetupDiOpenDevRegKey() return code (bug #499).
100 - Fix a bug wrt restart of RX/error wait operations after read (bug #421).
101 - Fix a bug wrt WaitCommEvents() and/or fAbortOnError handling (bug #341).
102 - Fix USB iSerial queries on USB composite devices.
103 - Strip CR/LF from end of system error messages (bug #585).
104 - Avoid unnecessary calls to the SetCommTimeouts() function (bug #586).
105 - Fix a bug in the Windows implementation of sp_blocking_read_next().
106 - Fix an ERROR_SEM_TIMEOUT related issue in sp_blocking_write().
107 * FreeBSD:
108 - Implement serial port enumeration for FreeBSD systems.
109 * Android:
110 - Fix a portability issue wrt the unavailable 'serial_struct' (bug #376).
111 - Fix a portability issue wrt a readlinkat() call (bug #377).
112 * Mac OS X:
113 - Fix port listing on Mac OS X 10.11 (El Capitan).
114 * README: Various documentation updates and fixes.
115 * AUTHORS: Add/update list of contributors.
116 * Doxygen API docs: Various documentation updates and fixes.
117
118 0.1.0 (2014-05-06)
119 ------------------
120
121 * Initial release.
122