From a66b1c1f6db1d64933c782e16fb37a861d2fddb6 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Fri, 22 Jun 2012 21:37:03 +0200 Subject: [PATCH] Updated NEWS file for v3.1.0 --- NEWS | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- libmodbus.spec.in | 2 +- 2 files changed, 52 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 87c6720..da40a60 100644 --- a/NEWS +++ b/NEWS @@ -1,9 +1,59 @@ -libmodbus 3.1.0 (2011-XX-XX) +libmodbus 3.1.0 (2012-06-22) ============================ +Major changes to handle many slaves in RTU mode, non blocking connections and +RTS flow control. + +- Fixes for Microsoft Visual C++ compiler +- Fixes for Windows. Thanks to oldfaber +- Return value of _modbus_tcp_pi_connect() on failure (closes #61) +- Avoid ioctl call on non-RS485 ports. Thanks to Michael Haberler +- Display node and service in PI and port in IPv4 at connection +- Return -1 on getaddrinfo error and print error in debug mode +- More robust way to establish the connection in non blocking mode +- TCP - Socket in non blocking mode by default. Thanks to Thomas Stalder +- Apply CLOEXEC flag for TCP protocol independent too (IPv6) +- New RTU receive() to ignore confirmation from other slaves (closes #18) +- Move RTU filtering in CRC check to avoid useless call to modbus_reply +- Unique transaction identifier by TCP connection +- Use accept4 with SOCK_CLOEXEC when available (Linux) +- Open fd and socket with the CLOEXEC flag when available +- Exception response on report slave ID wasn't detected (closes #27) +- Provides a way to disable the byte timeout (Alex Stapleton) +- Added slave ID check for response messages (Alex Stapleton) - RTS flow control with modbus_rtu_set_rts and modbus_rtu_get_rts functions by Torello Querci and Stéphane Raimbault. +libmodbus 3.0.3 (2012-05-25) +============================ + +- Fix another Visual C++ 2008/2010 deficiency (closes #53) +- Add -lsocket to compile on QNX +- Fix TCP PI init under Windows. + Thanks to oldfaber. +- Fix a missing free in random-test-client + Thanks again to Stefan Finzel. +- Fix OMG bug in modbus_mapping_free not freeing memory. + Thanks to Stefan Finzel for the bug report. +- Fix semicolon typo and unistd.h include under Windows. + Thanks to Andrew Kravchuk. + +libmodbus 3.0.2 (2012-01-16) +============================ + +- Update Debian package +- Documentation fixes and additions +- Add missing C++ macros in public headers. + Thanks to Bernhard Agthe. +- Protects modbus_mapping_free against NULL argument. + Thanks to Andrea Mattia +- Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28) +- Close file descriptor when the settings don't apply in RTU. + Original patch provided by Thomas Stalder. +- unit-test.h is now generated to avoid config.h dependency. +- Request for Windows Sockets specification version 2.2 instead of 2.0 + Thanks to Pavel Mazniker for the report. + libmodbus 3.0.1 (2011-07-18) ============================ diff --git a/libmodbus.spec.in b/libmodbus.spec.in index b3b5b73..168c869 100644 --- a/libmodbus.spec.in +++ b/libmodbus.spec.in @@ -1,6 +1,6 @@ Name: libmodbus Version: @PACKAGE_VERSION@ -Release: 2%{?dist} +Release: 1%{?dist} Summary: A Modbus library Group: Applications/System License: LGPLv2+ -- libgit2 0.21.4