Commit 783e651499e1b9de11136cd63d9a53163ab4d94d
1 parent
f6689ba6
Bump version to 3.1.9
Showing
2 changed files
with
188 additions
and
204 deletions
NEWS
| 1 | -libmodbus 3.1.8 (2022-08-17) | ||
| 2 | -============================ | 1 | +# NEWS |
| 2 | + | ||
| 3 | +## libmodbus 3.1.9 (2022-12-03) | ||
| 4 | + | ||
| 5 | +- Remove Travis CI | ||
| 6 | +- Move content about migration to libmodbus.org | ||
| 7 | +- Avoid negative value in FD_SET call | ||
| 8 | +- Test socket against positive value instead of -1 | ||
| 9 | +- Improvements to autotools by @ndim | ||
| 10 | +- Fix doc links by @jordanjohnson56 | ||
| 11 | +- Test the protocol id for 0 by @metapsychologe | ||
| 12 | +- Fix double negative in tests | ||
| 13 | +- New quirks handler (closes #38 #533) | ||
| 14 | +- Fix bitwise OR in documentation | ||
| 15 | +- Improve doc about slave ID in RTU | ||
| 16 | +- Add .clang-format and format code (closes #394) | ||
| 17 | +- Remove constraints on baud rate values | ||
| 18 | +- Accept IP or device in arg of unit test progs | ||
| 19 | +- Avoid compilation issue with VS2022 with strdup | ||
| 20 | +- Display created files in configure.js | ||
| 21 | +- Use strcpy_s under Windows | ||
| 22 | +- Replace inet_addr by inet_pton calls | ||
| 23 | +- Replace inet_ntoa by inet_ptop | ||
| 24 | +- Update configure.ac/config.h.win32 for new inet functions | ||
| 25 | +- Instructions to build libmodbus in a VS project | ||
| 26 | +- Fix connection check for Windows RTU (closes #660, #662) | ||
| 27 | +- Add CIFuzz Github action | ||
| 28 | +- Convert a few int to unsigned int (#402) | ||
| 29 | + | ||
| 30 | +## libmodbus 3.1.8 (2022-08-17) | ||
| 3 | 31 | ||
| 4 | - Major rewrite of documentation with Material for mkdocs | 32 | - Major rewrite of documentation with Material for mkdocs |
| 5 | - Reduce memory use of TCP PI backend (closes #621) | 33 | - Reduce memory use of TCP PI backend (closes #621) |
| @@ -13,8 +41,7 @@ libmodbus 3.1.8 (2022-08-17) | @@ -13,8 +41,7 @@ libmodbus 3.1.8 (2022-08-17) | ||
| 13 | - Fix network library detection on Haiku | 41 | - Fix network library detection on Haiku |
| 14 | - Fix typos (closes #620) | 42 | - Fix typos (closes #620) |
| 15 | 43 | ||
| 16 | -libmodbus 3.1.7 (2022-01-09) | ||
| 17 | -============================ | 44 | +## libmodbus 3.1.7 (2022-01-09) |
| 18 | 45 | ||
| 19 | - modbus_reply: fix copy & paste error in sanity check (fixes #614) | 46 | - modbus_reply: fix copy & paste error in sanity check (fixes #614) |
| 20 | - Add SECURITY.md (closes #613) | 47 | - Add SECURITY.md (closes #613) |
| @@ -30,23 +57,21 @@ libmodbus 3.1.7 (2022-01-09) | @@ -30,23 +57,21 @@ libmodbus 3.1.7 (2022-01-09) | ||
| 30 | - Install the NEWS and AUTHORS files | 57 | - Install the NEWS and AUTHORS files |
| 31 | - Update README.md | 58 | - Update README.md |
| 32 | - docs: fix simple typo, reponse -> response | 59 | - docs: fix simple typo, reponse -> response |
| 33 | -- Add modbus_[get|set]_indication_timeout to doc build | 60 | +- Add modbus\_[get|set]\_indication_timeout to doc build |
| 34 | - Fix warning issues | 61 | - Fix warning issues |
| 35 | - Move malloc before starting unit tests | 62 | - Move malloc before starting unit tests |
| 36 | -- Fixed MODBUS_GET_* macros in case of negative values | 63 | +- Fixed MODBUS*GET*\* macros in case of negative values |
| 37 | - SPDX: change LGPL-2.1+ to LGPL-2.1-or-later | 64 | - SPDX: change LGPL-2.1+ to LGPL-2.1-or-later |
| 38 | 65 | ||
| 39 | Thank you to @yegorich, @i-ky, @jobol, @timgates42, @anton-bondarev, | 66 | Thank you to @yegorich, @i-ky, @jobol, @timgates42, @anton-bondarev, |
| 40 | @richardash1981, @stefannilsson, @Zugschlus, @qqq89513 and @mhei. | 67 | @richardash1981, @stefannilsson, @Zugschlus, @qqq89513 and @mhei. |
| 41 | 68 | ||
| 42 | -libmodbus 3.1.6 (2019-07-31) | ||
| 43 | -============================ | 69 | +## libmodbus 3.1.6 (2019-07-31) |
| 44 | 70 | ||
| 45 | - Fix awful typo in fix for VD-1301 vulnerability. | 71 | - Fix awful typo in fix for VD-1301 vulnerability. |
| 46 | - Thank you @karlp. | 72 | + Thank you @karlp. |
| 47 | 73 | ||
| 48 | -libmodbus 3.1.5 (2019-07-29) | ||
| 49 | -============================ | 74 | +## libmodbus 3.1.5 (2019-07-29) |
| 50 | 75 | ||
| 51 | - Fix URL | 76 | - Fix URL |
| 52 | - Add appveyor.com config | 77 | - Add appveyor.com config |
| @@ -80,11 +105,10 @@ libmodbus 3.1.5 (2019-07-29) | @@ -80,11 +105,10 @@ libmodbus 3.1.5 (2019-07-29) | ||
| 80 | - Fix LIBMODBUS_VERSION_HEX encoding (closes #345) | 105 | - Fix LIBMODBUS_VERSION_HEX encoding (closes #345) |
| 81 | - tcp_modbus_accept mustn't close socket on error (closes #333) | 106 | - tcp_modbus_accept mustn't close socket on error (closes #333) |
| 82 | 107 | ||
| 83 | -libmodbus 3.1.4 (2016-05-28) | ||
| 84 | -============================ | 108 | +## libmodbus 3.1.4 (2016-05-28) |
| 85 | 109 | ||
| 86 | - C_PROG_RANLIB is rendered obsolete by LT_INIT | 110 | - C_PROG_RANLIB is rendered obsolete by LT_INIT |
| 87 | -- Improve ifdef around bswap_16 for __CYGWIN__ | 111 | +- Improve ifdef around bswap_16 for **CYGWIN** |
| 88 | - Improve Cygwin support. Thanks to StalderT. | 112 | - Improve Cygwin support. Thanks to StalderT. |
| 89 | - Another round of DRY in modbus_reply() | 113 | - Another round of DRY in modbus_reply() |
| 90 | - Rename raw_rep to raw_rsp in unit-test-client | 114 | - Rename raw_rep to raw_rsp in unit-test-client |
| @@ -102,34 +126,33 @@ libmodbus 3.1.4 (2016-05-28) | @@ -102,34 +126,33 @@ libmodbus 3.1.4 (2016-05-28) | ||
| 102 | - Add unit-tests.sh to tarball | 126 | - Add unit-tests.sh to tarball |
| 103 | - Add ./configure.scan to .gitignore | 127 | - Add ./configure.scan to .gitignore |
| 104 | - Move setting of option inside the relevant conditional group | 128 | - Move setting of option inside the relevant conditional group |
| 105 | -- Add links to new modbus_*_float_* functions in index | 129 | +- Add links to new modbus*\*\_float*\* functions in index |
| 106 | - Slight change to modbus_report_slave_id doc. | 130 | - Slight change to modbus_report_slave_id doc. |
| 107 | 131 | ||
| 108 | -libmodbus 3.1.3 (2016-05-11) | ||
| 109 | -============================ | 132 | +## libmodbus 3.1.3 (2016-05-11) |
| 110 | 133 | ||
| 111 | - New bswap macros for Max OSX by Jakob Bysewski. | 134 | - New bswap macros for Max OSX by Jakob Bysewski. |
| 112 | - Fix "wildcard address" in TCP IPv6 by Shoichi Sakane. | 135 | - Fix "wildcard address" in TCP IPv6 by Shoichi Sakane. |
| 113 | - Introduce offsets in modbus mappings with modbus_mapping_new_start_address. | 136 | - Introduce offsets in modbus mappings with modbus_mapping_new_start_address. |
| 114 | - Thanks to Michael Heimpold and Stéphane Raimbault. | 137 | + Thanks to Michael Heimpold and Stéphane Raimbault. |
| 115 | - Fix address range in random-test-client. | 138 | - Fix address range in random-test-client. |
| 116 | - Thanks to Martin Galvan. | 139 | + Thanks to Martin Galvan. |
| 117 | - Add an option to disable tests compilation by Yegor Yefremov. | 140 | - Add an option to disable tests compilation by Yegor Yefremov. |
| 118 | - Define MSG_DONTWAIT to MSG_NONBLOCK on AIX (#294). | 141 | - Define MSG_DONTWAIT to MSG_NONBLOCK on AIX (#294). |
| 119 | - Thanks to Fabrice Cantos. | 142 | + Thanks to Fabrice Cantos. |
| 120 | - Fix building when byteswap.h is not defined by Tomasz Mon. | 143 | - Fix building when byteswap.h is not defined by Tomasz Mon. |
| 121 | - Add some more macros for data manipulation and documentation. | 144 | - Add some more macros for data manipulation and documentation. |
| 122 | - Remove duplicate install of modbus.h (closes #290). | 145 | - Remove duplicate install of modbus.h (closes #290). |
| 123 | - Thanks to Daniel Sutcliffe. | 146 | + Thanks to Daniel Sutcliffe. |
| 124 | - Move MIGRATION and README.md to dist_doc_DATA target. | 147 | - Move MIGRATION and README.md to dist_doc_DATA target. |
| 125 | - Change order of few functions in modbus RTU code. | 148 | - Change order of few functions in modbus RTU code. |
| 126 | -- Add entries for modbus_rtu_[get|set]_delay in documentation index. | 149 | +- Add entries for modbus*rtu*[get|set]\_delay in documentation index. |
| 127 | - Implemented runtime configurable RTS delay by Jimmy Bergström. | 150 | - Implemented runtime configurable RTS delay by Jimmy Bergström. |
| 128 | - Add an entry in libmodbus index page for modbus_rtu_set_custom_rts. | 151 | - Add an entry in libmodbus index page for modbus_rtu_set_custom_rts. |
| 129 | - Add support for user defined RTS toggle function by Jimmy | 152 | - Add support for user defined RTS toggle function by Jimmy |
| 130 | - Bergström. | 153 | + Bergström. |
| 131 | - Added ILLEGAL_DATA_ADDRESS tests for modbus_write_register[|s]. | 154 | - Added ILLEGAL_DATA_ADDRESS tests for modbus_write_register[|s]. |
| 132 | - Thanks to Andrey Skvortsov. | 155 | + Thanks to Andrey Skvortsov. |
| 133 | - Update documentation of modbus_rtu_set_rts | 156 | - Update documentation of modbus_rtu_set_rts |
| 134 | - Fix rts signal switch time by Hiromasa Ihara. | 157 | - Fix rts signal switch time by Hiromasa Ihara. |
| 135 | - Improve new_rtu and set_slave documentation (related to #276). | 158 | - Improve new_rtu and set_slave documentation (related to #276). |
| @@ -143,15 +166,14 @@ libmodbus 3.1.3 (2016-05-11) | @@ -143,15 +166,14 @@ libmodbus 3.1.3 (2016-05-11) | ||
| 143 | - Do not reply on broadcast requests (fixes #153). Thanks to Michael. | 166 | - Do not reply on broadcast requests (fixes #153). Thanks to Michael. |
| 144 | - Add Travis support. | 167 | - Add Travis support. |
| 145 | - Run unit tests with standard: make check (closes #205, closes #238). | 168 | - Run unit tests with standard: make check (closes #205, closes #238). |
| 146 | - This patch has been developed by Andrey Skvortsov, Michael Heimpold | ||
| 147 | - and Stéphane Raimbault. | 169 | + This patch has been developed by Andrey Skvortsov, Michael Heimpold |
| 170 | + and Stéphane Raimbault. | ||
| 148 | - modbus_send_raw_request: limit request length (fixes #207). | 171 | - modbus_send_raw_request: limit request length (fixes #207). |
| 149 | - Thanks to Hanno Neuer for spotting this security flaw. | 172 | + Thanks to Hanno Neuer for spotting this security flaw. |
| 150 | - Add new contributors to AUTHORS | 173 | - Add new contributors to AUTHORS |
| 151 | - Introduce SPDX license identifiers. Thanks to Michael Heimpold. | 174 | - Introduce SPDX license identifiers. Thanks to Michael Heimpold. |
| 152 | 175 | ||
| 153 | -libmodbus 3.1.2 (2015-02-13) | ||
| 154 | -============================ | 176 | +## libmodbus 3.1.2 (2015-02-13) |
| 155 | 177 | ||
| 156 | If you still want to listen any addresses in your TCP IPv4 server, you must now | 178 | If you still want to listen any addresses in your TCP IPv4 server, you must now |
| 157 | set the IP address to NULL in modbus_new_tcp before listening. Now, | 179 | set the IP address to NULL in modbus_new_tcp before listening. Now, |
| @@ -166,45 +188,44 @@ modbus_set_response_timeout to ease writing of language bindings. | @@ -166,45 +188,44 @@ modbus_set_response_timeout to ease writing of language bindings. | ||
| 166 | - Fix timeouts in unit tests | 188 | - Fix timeouts in unit tests |
| 167 | - Don't flush on illegal address errors in single write functions | 189 | - Don't flush on illegal address errors in single write functions |
| 168 | - Fix compilation on compilers not supporting c99 mode. | 190 | - Fix compilation on compilers not supporting c99 mode. |
| 169 | - Thanks to Michael Heimpold. | 191 | + Thanks to Michael Heimpold. |
| 170 | - Update license for the tests in Debian packaging (#221) | 192 | - Update license for the tests in Debian packaging (#221) |
| 171 | - Move check of device earlier to avoid a free call | 193 | - Move check of device earlier to avoid a free call |
| 172 | - Unit test for baud rate check and error message. | 194 | - Unit test for baud rate check and error message. |
| 173 | - Fix crash modbus_new_rtu when baud is 0. | 195 | - Fix crash modbus_new_rtu when baud is 0. |
| 174 | - Thank you to Daniel Schürmann. | 196 | + Thank you to Daniel Schürmann. |
| 175 | - Removed function prototype without implementation | 197 | - Removed function prototype without implementation |
| 176 | - Thank you Andrej Skvortzov. | 198 | + Thank you Andrej Skvortzov. |
| 177 | - Switch test programs to a BSD license | 199 | - Switch test programs to a BSD license |
| 178 | - Fix remote buffer overflow vulnerability on write requests | 200 | - Fix remote buffer overflow vulnerability on write requests |
| 179 | - Avoid twice connect() in source code (closes #194) | 201 | - Avoid twice connect() in source code (closes #194) |
| 180 | - Fix compilation with MinGW (GCC 4.8.1) under Win7 (closes #163) | 202 | - Fix compilation with MinGW (GCC 4.8.1) under Win7 (closes #163) |
| 181 | - Thank you MarjanTomas and SwissKnife. | 203 | + Thank you MarjanTomas and SwissKnife. |
| 182 | - Fix TCP IPv4 modbus_connect() on win32 (closes #100 and #165) | 204 | - Fix TCP IPv4 modbus_connect() on win32 (closes #100 and #165) |
| 183 | - Thank you Petr Gladkiy and Marjan Tomas. | 205 | + Thank you Petr Gladkiy and Marjan Tomas. |
| 184 | - Fix 24a05ebd3c0 - win32: init of modbus_tcp_pi_listen (#187) | 206 | - Fix 24a05ebd3c0 - win32: init of modbus_tcp_pi_listen (#187) |
| 185 | -- INADDR_* macros are defined in host byte order | 207 | +- INADDR\_\* macros are defined in host byte order |
| 186 | - Filter of IP addresses in IPv4 server (closes #190) | 208 | - Filter of IP addresses in IPv4 server (closes #190) |
| 187 | - Allow to listen any hosts in IPv6 (closes #32) | 209 | - Allow to listen any hosts in IPv6 (closes #32) |
| 188 | - Define and public export of MODBUS_MAX_PDU_LENGTH (closes #167) | 210 | - Define and public export of MODBUS_MAX_PDU_LENGTH (closes #167) |
| 189 | - Truncate data from response in report_slave_id to new max arg (closes #167) | 211 | - Truncate data from response in report_slave_id to new max arg (closes #167) |
| 190 | - Fix response timeout modification on connect (closes #80) | 212 | - Fix response timeout modification on connect (closes #80) |
| 191 | - New API to set/get response and byte timeouts. | 213 | - New API to set/get response and byte timeouts. |
| 192 | - New unit tests and updated documentation. | 214 | + New unit tests and updated documentation. |
| 193 | - Export Modbus function codes supported by libmodbus | 215 | - Export Modbus function codes supported by libmodbus |
| 194 | - Fix bandwidth-server-one (closes #152) | 216 | - Fix bandwidth-server-one (closes #152) |
| 195 | - Check debug flag in RTU code | 217 | - Check debug flag in RTU code |
| 196 | - Remove warnings caused by shadowed 'index' variable. | 218 | - Remove warnings caused by shadowed 'index' variable. |
| 197 | - Thanks to Åke Forslund. | 219 | + Thanks to Åke Forslund. |
| 198 | - Use accept4 in TCP PI if available | 220 | - Use accept4 in TCP PI if available |
| 199 | -- Add documentation for tcp[_pi]_accept (closes #31) | 221 | +- Add documentation for tcp[_pi]\_accept (closes #31) |
| 200 | - Fix mistake in modbus_tcp_listen documentation | 222 | - Fix mistake in modbus_tcp_listen documentation |
| 201 | - Add documentation for modbus_tcp_pi_listen | 223 | - Add documentation for modbus_tcp_pi_listen |
| 202 | - Fix for MinGW and Windows (#144, #169, #175, #180, #181, #187) | 224 | - Fix for MinGW and Windows (#144, #169, #175, #180, #181, #187) |
| 203 | - Thanks to Marjan Tomas. | 225 | + Thanks to Marjan Tomas. |
| 204 | - Many other fixes (#134, #157, #158, #183, #184) and improvements. | 226 | - Many other fixes (#134, #157, #158, #183, #184) and improvements. |
| 205 | 227 | ||
| 206 | -libmodbus 3.1.1 (2013-10-06) | ||
| 207 | -============================ | 228 | +## libmodbus 3.1.1 (2013-10-06) |
| 208 | 229 | ||
| 209 | More robust to exploits, more compliant and better handling of connect/close | 230 | More robust to exploits, more compliant and better handling of connect/close |
| 210 | sequences. Windows support still broken. | 231 | sequences. Windows support still broken. |
| @@ -213,9 +234,9 @@ sequences. Windows support still broken. | @@ -213,9 +234,9 @@ sequences. Windows support still broken. | ||
| 213 | - Fix remote buffer overflow vulnerability (closes #25, #105) | 234 | - Fix remote buffer overflow vulnerability (closes #25, #105) |
| 214 | - Explain how to define response timeouts when many RTU slaves | 235 | - Explain how to define response timeouts when many RTU slaves |
| 215 | - Fix receiving of incorrect queries in write_single and mask_write_register | 236 | - Fix receiving of incorrect queries in write_single and mask_write_register |
| 216 | - Thanks to James Nutaro. | 237 | + Thanks to James Nutaro. |
| 217 | - Check return value of autoreconf. | 238 | - Check return value of autoreconf. |
| 218 | - Thanks to Lauri Nurmi | 239 | + Thanks to Lauri Nurmi |
| 219 | - Constant for broacast and test ordering | 240 | - Constant for broacast and test ordering |
| 220 | - Fix the fix of device string check | 241 | - Fix the fix of device string check |
| 221 | - Various changes to try to improve *broken* Windows support | 242 | - Various changes to try to improve *broken* Windows support |
| @@ -226,7 +247,7 @@ sequences. Windows support still broken. | @@ -226,7 +247,7 @@ sequences. Windows support still broken. | ||
| 226 | - Returns -1 on invalid mode in modbus_rtu_set_rts | 247 | - Returns -1 on invalid mode in modbus_rtu_set_rts |
| 227 | - Protect all public functions against invalid context | 248 | - Protect all public functions against invalid context |
| 228 | - Sleep for delay of response timeout before reconnect (closes #77). | 249 | - Sleep for delay of response timeout before reconnect (closes #77). |
| 229 | - Thanks to Karl Palsson. | 250 | + Thanks to Karl Palsson. |
| 230 | - Baud rate until 4,000,000 (POSIX), 1,000,000 (Windows) (closes #93) | 251 | - Baud rate until 4,000,000 (POSIX), 1,000,000 (Windows) (closes #93) |
| 231 | - New modbus_get|set_float_dcba to get|set float in inversed byte order | 252 | - New modbus_get|set_float_dcba to get|set float in inversed byte order |
| 232 | - Remove unsupported -Wtype-limits for GCC < 4.3.5 (closes #109) | 253 | - Remove unsupported -Wtype-limits for GCC < 4.3.5 (closes #109) |
| @@ -235,20 +256,20 @@ sequences. Windows support still broken. | @@ -235,20 +256,20 @@ sequences. Windows support still broken. | ||
| 235 | - Improvement to Debian package. Thanks to Alexander Klauer. | 256 | - Improvement to Debian package. Thanks to Alexander Klauer. |
| 236 | - Improve support of VS 2005. Thanks to Petr Gladkiy. | 257 | - Improve support of VS 2005. Thanks to Petr Gladkiy. |
| 237 | - Add documentation for modbus_mask_write_register (closes #91). | 258 | - Add documentation for modbus_mask_write_register (closes #91). |
| 238 | - Thanks to Martijn de Gouw. | 259 | + Thanks to Martijn de Gouw. |
| 239 | - Avoid C99 declaration in win32 section code (closes #92). | 260 | - Avoid C99 declaration in win32 section code (closes #92). |
| 240 | - Thanks to oldfaber and endrelovas. | 261 | + Thanks to oldfaber and endrelovas. |
| 241 | - Add a windows scripting host configure file. | 262 | - Add a windows scripting host configure file. |
| 242 | - Thanks to oldfaber and Stéphane Raimbault. | 263 | + Thanks to oldfaber and Stéphane Raimbault. |
| 243 | - Fix typo in modbus_strerror documentation. Thanks to Mirko Rajkovaca. | 264 | - Fix typo in modbus_strerror documentation. Thanks to Mirko Rajkovaca. |
| 244 | - Rename reserved C++ keywords of modbus_mask_write_register. | 265 | - Rename reserved C++ keywords of modbus_mask_write_register. |
| 245 | - Thanks Tobias Doerffel. | 266 | + Thanks Tobias Doerffel. |
| 246 | - Another quick workaround for deficient OS (closes #63) | 267 | - Another quick workaround for deficient OS (closes #63) |
| 247 | - Add support for Mask Write Register | 268 | - Add support for Mask Write Register |
| 248 | - Fix missing close on socket in random-test-server. | 269 | - Fix missing close on socket in random-test-server. |
| 249 | - Thanks to Damian Zieliński. | 270 | + Thanks to Damian Zieliński. |
| 250 | - Use nonblocking sockets on Win32 and OS X/iOS too. | 271 | - Use nonblocking sockets on Win32 and OS X/iOS too. |
| 251 | - Thanks to Julian Raschke. | 272 | + Thanks to Julian Raschke. |
| 252 | - Fix all compilations warnings spotted by new compilation flags | 273 | - Fix all compilations warnings spotted by new compilation flags |
| 253 | - Major update of build system | 274 | - Major update of build system |
| 254 | - Calculate RTS activation time by send length | 275 | - Calculate RTS activation time by send length |
| @@ -259,17 +280,16 @@ sequences. Windows support still broken. | @@ -259,17 +280,16 @@ sequences. Windows support still broken. | ||
| 259 | - Fix wrong constant names to create version number | 280 | - Fix wrong constant names to create version number |
| 260 | - More compilation fixes for Windows by oldfaber. | 281 | - More compilation fixes for Windows by oldfaber. |
| 261 | - Fix wrong constant names to create version number. | 282 | - Fix wrong constant names to create version number. |
| 262 | - Thanks to Denis Davydov. | 283 | + Thanks to Denis Davydov. |
| 263 | 284 | ||
| 264 | -libmodbus 3.1.0 (2012-06-22) | ||
| 265 | -============================ | 285 | +## libmodbus 3.1.0 (2012-06-22) |
| 266 | 286 | ||
| 267 | Major changes to handle many slaves in RTU mode, non blocking connections and | 287 | Major changes to handle many slaves in RTU mode, non blocking connections and |
| 268 | RTS flow control. | 288 | RTS flow control. |
| 269 | 289 | ||
| 270 | - Fixes for Microsoft Visual C++ compiler | 290 | - Fixes for Microsoft Visual C++ compiler |
| 271 | - Fixes for Windows. Thanks to oldfaber | 291 | - Fixes for Windows. Thanks to oldfaber |
| 272 | -- Return value of _modbus_tcp_pi_connect() on failure (closes #61) | 292 | +- Return value of \_modbus_tcp_pi_connect() on failure (closes #61) |
| 273 | - Avoid ioctl call on non-RS485 ports. Thanks to Michael Haberler | 293 | - Avoid ioctl call on non-RS485 ports. Thanks to Michael Haberler |
| 274 | - Display node and service in PI and port in IPv4 at connection | 294 | - Display node and service in PI and port in IPv4 at connection |
| 275 | - Return -1 on getaddrinfo error and print error in debug mode | 295 | - Return -1 on getaddrinfo error and print error in debug mode |
| @@ -285,159 +305,146 @@ RTS flow control. | @@ -285,159 +305,146 @@ RTS flow control. | ||
| 285 | - Provides a way to disable the byte timeout (Alex Stapleton) | 305 | - Provides a way to disable the byte timeout (Alex Stapleton) |
| 286 | - Added slave ID check for response messages (Alex Stapleton) | 306 | - Added slave ID check for response messages (Alex Stapleton) |
| 287 | - RTS flow control with modbus_rtu_set_rts and modbus_rtu_get_rts | 307 | - RTS flow control with modbus_rtu_set_rts and modbus_rtu_get_rts |
| 288 | - functions by Torello Querci <tquerci@gmail.com> and Stéphane Raimbault. | 308 | + functions by Torello Querci <tquerci@gmail.com> and Stéphane Raimbault. |
| 289 | 309 | ||
| 290 | -libmodbus 3.0.8 (2019-07-31) | ||
| 291 | -============================ | 310 | +## libmodbus 3.0.8 (2019-07-31) |
| 292 | 311 | ||
| 293 | - Fix awful typo in fix for VD-1301 vulnerability. | 312 | - Fix awful typo in fix for VD-1301 vulnerability. |
| 294 | - Thank you @karlp. | 313 | + Thank you @karlp. |
| 295 | 314 | ||
| 296 | -libmodbus 3.0.7 (2019-07-29) | ||
| 297 | -============================ | 315 | +## libmodbus 3.0.7 (2019-07-29) |
| 298 | 316 | ||
| 299 | - Backport fixes for VD-1301 and VD-1302 vulnerabilities | 317 | - Backport fixes for VD-1301 and VD-1302 vulnerabilities |
| 300 | - Move WINVER definition before other includes (closes #350) | 318 | - Move WINVER definition before other includes (closes #350) |
| 301 | - Replace signed int by unsigned | 319 | - Replace signed int by unsigned |
| 302 | 320 | ||
| 303 | -libmodbus 3.0.6 (2014-02-21) | ||
| 304 | -============================ | 321 | +## libmodbus 3.0.6 (2014-02-21) |
| 305 | 322 | ||
| 306 | - Backport fix remote buffer overflow vulnerability on write requests | 323 | - Backport fix remote buffer overflow vulnerability on write requests |
| 307 | - Replace deprecated INCLUDES by AM_CPPFLAGS | 324 | - Replace deprecated INCLUDES by AM_CPPFLAGS |
| 308 | 325 | ||
| 309 | -libmodbus 3.0.5 (2013-10-06) | ||
| 310 | -============================ | 326 | +## libmodbus 3.0.5 (2013-10-06) |
| 311 | 327 | ||
| 312 | - Fix remote buffer overflow vulnerability | 328 | - Fix remote buffer overflow vulnerability |
| 313 | - Fix receiving of incorrect queries in write_single | 329 | - Fix receiving of incorrect queries in write_single |
| 314 | 330 | ||
| 315 | -libmodbus 3.0.4 (2012-05-08) | ||
| 316 | -============================ | 331 | +## libmodbus 3.0.4 (2012-05-08) |
| 317 | 332 | ||
| 318 | - autogen.sh creates symlinks instead of copies | 333 | - autogen.sh creates symlinks instead of copies |
| 319 | - Add missing m4 directory (closes #103) | 334 | - Add missing m4 directory (closes #103) |
| 320 | - Fix alignment problem on ARMv5 platform | 335 | - Fix alignment problem on ARMv5 platform |
| 321 | - Thanks to Alexander Dahl | 336 | + Thanks to Alexander Dahl |
| 322 | - Remove useless test on error_recovery argument | 337 | - Remove useless test on error_recovery argument |
| 323 | - Thanks to Carlos Tangerino | 338 | + Thanks to Carlos Tangerino |
| 324 | 339 | ||
| 325 | -libmodbus 3.0.3 (2012-05-25) | ||
| 326 | -============================ | 340 | +## libmodbus 3.0.3 (2012-05-25) |
| 327 | 341 | ||
| 328 | - Fix another Visual C++ 2008/2010 deficiency (closes #53) | 342 | - Fix another Visual C++ 2008/2010 deficiency (closes #53) |
| 329 | - Add -lsocket to compile on QNX | 343 | - Add -lsocket to compile on QNX |
| 330 | - Fix TCP PI init under Windows. | 344 | - Fix TCP PI init under Windows. |
| 331 | - Thanks to oldfaber. | 345 | + Thanks to oldfaber. |
| 332 | - Fix a missing free in random-test-client | 346 | - Fix a missing free in random-test-client |
| 333 | - Thanks again to Stefan Finzel. | 347 | + Thanks again to Stefan Finzel. |
| 334 | - Fix OMG bug in modbus_mapping_free not freeing memory. | 348 | - Fix OMG bug in modbus_mapping_free not freeing memory. |
| 335 | - Thanks to Stefan Finzel for the bug report. | 349 | + Thanks to Stefan Finzel for the bug report. |
| 336 | - Fix semicolon typo and unistd.h include under Windows. | 350 | - Fix semicolon typo and unistd.h include under Windows. |
| 337 | - Thanks to Andrew Kravchuk. | 351 | + Thanks to Andrew Kravchuk. |
| 338 | 352 | ||
| 339 | -libmodbus 3.0.2 (2012-01-16) | ||
| 340 | -============================ | 353 | +## libmodbus 3.0.2 (2012-01-16) |
| 341 | 354 | ||
| 342 | - Update Debian package | 355 | - Update Debian package |
| 343 | - Documentation fixes and additions | 356 | - Documentation fixes and additions |
| 344 | - Add missing C++ macros in public headers. | 357 | - Add missing C++ macros in public headers. |
| 345 | - Thanks to Bernhard Agthe. | 358 | + Thanks to Bernhard Agthe. |
| 346 | - Protects modbus_mapping_free against NULL argument. | 359 | - Protects modbus_mapping_free against NULL argument. |
| 347 | - Thanks to Andrea Mattia | 360 | + Thanks to Andrea Mattia |
| 348 | - Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28) | 361 | - Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28) |
| 349 | - Close file descriptor when the settings don't apply in RTU. | 362 | - Close file descriptor when the settings don't apply in RTU. |
| 350 | - Original patch provided by Thomas Stalder. | 363 | + Original patch provided by Thomas Stalder. |
| 351 | - unit-test.h is now generated to avoid config.h dependency. | 364 | - unit-test.h is now generated to avoid config.h dependency. |
| 352 | - Request for Windows Sockets specification version 2.2 instead of 2.0 | 365 | - Request for Windows Sockets specification version 2.2 instead of 2.0 |
| 353 | - Thanks to Pavel Mazniker for the report. | 366 | + Thanks to Pavel Mazniker for the report. |
| 354 | 367 | ||
| 355 | -libmodbus 3.0.1 (2011-07-18) | ||
| 356 | -============================ | 368 | +## libmodbus 3.0.1 (2011-07-18) |
| 357 | 369 | ||
| 358 | - Avoid useless serial_mode integer when TIOCSRS485 isn't supported | 370 | - Avoid useless serial_mode integer when TIOCSRS485 isn't supported |
| 359 | - Fix compilation failure on Windows (RS485 support) by Tobias Doerffel | 371 | - Fix compilation failure on Windows (RS485 support) by Tobias Doerffel |
| 360 | - <tobias.doerffel@gmail.com> | 372 | + <tobias.doerffel@gmail.com> |
| 361 | - Properly check TIOCSRS485 define by Matthijs Kool | 373 | - Properly check TIOCSRS485 define by Matthijs Kool |
| 362 | - Rename package to libmodbus5 to fix lintian warning | 374 | - Rename package to libmodbus5 to fix lintian warning |
| 363 | 375 | ||
| 364 | -libmodbus 3.0.0 (2011-07-11) | ||
| 365 | -============================ | 376 | +## libmodbus 3.0.0 (2011-07-11) |
| 366 | 377 | ||
| 367 | - Revert libmodbus licence from LGPLv3 to LGPLv2.1 to avoid | 378 | - Revert libmodbus licence from LGPLv3 to LGPLv2.1 to avoid |
| 368 | - incompatibility with GPLv2 program. This change has been approved | ||
| 369 | - by Tobias Doerffel, Florian octo Forster and Hannu Vuolasaho. | 379 | + incompatibility with GPLv2 program. This change has been approved |
| 380 | + by Tobias Doerffel, Florian octo Forster and Hannu Vuolasaho. | ||
| 370 | - Enable RS485 support only when available | 381 | - Enable RS485 support only when available |
| 371 | - Export modbus_set/get_serial_mode functions on all platforms | 382 | - Export modbus_set/get_serial_mode functions on all platforms |
| 372 | - API change for read/write multiple registers function: | 383 | - API change for read/write multiple registers function: |
| 373 | - * modbus_read_and_write_registers -> modbus_write_and_read_registers | ||
| 374 | - The function name was confusing because the write operation is performed | ||
| 375 | - before the read. Take care to swap the arguments in the migration process. | ||
| 376 | -- Documentation of modbus_write_and_read_registers, modbus_mapping_new/free, | ||
| 377 | - report_slave_id. modbus_get_byte_from_bits, modbus_set_bits_from_byte(s), | ||
| 378 | - modbus_[gs]et_float, modbus_reply and modbus_reply_exception. | 384 | + - modbus_read_and_write_registers -> modbus_write_and_read_registers |
| 385 | + The function name was confusing because the write operation is performed | ||
| 386 | + before the read. Take care to swap the arguments in the migration process. | ||
| 387 | +- Documentation of modbus*write_and_read_registers, modbus_mapping_new/free, | ||
| 388 | + report_slave_id. modbus_get_byte_from_bits, modbus_set_bits_from_byte(s), | ||
| 389 | + modbus*[gs]et_float, modbus_reply and modbus_reply_exception. | ||
| 379 | - Enhanced report slave ID | 390 | - Enhanced report slave ID |
| 380 | - New RPM spec file to package documentation and development files | 391 | - New RPM spec file to package documentation and development files |
| 381 | 392 | ||
| 382 | -libmodbus 2.9.4 (2011-06-05) | ||
| 383 | -============================ | 393 | +## libmodbus 2.9.4 (2011-06-05) |
| 384 | 394 | ||
| 385 | - IPv6 support | 395 | - IPv6 support |
| 386 | - Make the TCP implementation "protocol independent" by Florian Forster | ||
| 387 | - and Stéphane Raimbault. | 396 | + Make the TCP implementation "protocol independent" by Florian Forster |
| 397 | + and Stéphane Raimbault. | ||
| 388 | - Fix compilation on Windows 7 (x64) with MinGW/MSYS and GCC 4.5 | 398 | - Fix compilation on Windows 7 (x64) with MinGW/MSYS and GCC 4.5 |
| 389 | - Reported by Patsy Kaye. | 399 | + Reported by Patsy Kaye. |
| 390 | - Documentation of libmodbus functions with AsciiDoc (man and HTML) by Stéphane | 400 | - Documentation of libmodbus functions with AsciiDoc (man and HTML) by Stéphane |
| 391 | - Raimbault | 401 | + Raimbault |
| 392 | - Avoid an iteration in flush function | 402 | - Avoid an iteration in flush function |
| 393 | - New functions to send and receive raw requests (modbus_send_raw_request, | 403 | - New functions to send and receive raw requests (modbus_send_raw_request, |
| 394 | - modbus_receive_confirmation) | 404 | + modbus_receive_confirmation) |
| 395 | - Fix flush function of TCP backend on Windows | 405 | - Fix flush function of TCP backend on Windows |
| 396 | - API changes for server/slave: | 406 | - API changes for server/slave: |
| 397 | - * modbus_receive doesn't take socket/fd argument anymore | ||
| 398 | - * new function modbus_set_socket to set socket/fd | 407 | + - modbus_receive doesn't take socket/fd argument anymore |
| 408 | + - new function modbus_set_socket to set socket/fd | ||
| 399 | - API changes for timeout functions: | 409 | - API changes for timeout functions: |
| 400 | - * modbus_get_timeout_begin -> modbus_get_response_timeout | ||
| 401 | - * modbus_set_timeout_begin -> modbus_set_response_timeout | ||
| 402 | - * modbus_get_timeout_end -> modbus_get_byte_timeout | ||
| 403 | - * modbus_set_timeout_end -> modbus_set_byte_timeout | 410 | + - modbus_get_timeout_begin -> modbus_get_response_timeout |
| 411 | + - modbus_set_timeout_begin -> modbus_set_response_timeout | ||
| 412 | + - modbus_get_timeout_end -> modbus_get_byte_timeout | ||
| 413 | + - modbus_set_timeout_end -> modbus_set_byte_timeout | ||
| 404 | - Fix longstanding limitation of server to wait forever | 414 | - Fix longstanding limitation of server to wait forever |
| 405 | - New functions modbus_set/get_serial_mode by Manfred Gruber and Stéphane | 415 | - New functions modbus_set/get_serial_mode by Manfred Gruber and Stéphane |
| 406 | - Raimbault for RS485 communications | 416 | + Raimbault for RS485 communications |
| 407 | - Improved recovery mode (see modbus_set_error_recovery documentation) for | 417 | - Improved recovery mode (see modbus_set_error_recovery documentation) for |
| 408 | - data link and protocol errors. | 418 | + data link and protocol errors. |
| 409 | - Fix compilation issue with Microsoft Visual Studio 2008. | 419 | - Fix compilation issue with Microsoft Visual Studio 2008. |
| 410 | - Reported by Allan Cornet. | 420 | + Reported by Allan Cornet. |
| 411 | 421 | ||
| 412 | -libmodbus 2.9.3 (2011-01-14) | ||
| 413 | -============================ | 422 | +## libmodbus 2.9.3 (2011-01-14) |
| 414 | 423 | ||
| 415 | - Major rewriting of the message reading (no more timeouts on exception) | 424 | - Major rewriting of the message reading (no more timeouts on exception) |
| 416 | - by Stéphane Raimbault | 425 | + by Stéphane Raimbault |
| 417 | - New function to reply to an indication with an exception message | 426 | - New function to reply to an indication with an exception message |
| 418 | - modbus_reply_exception() | ||
| 419 | -- New function modbus_get_header_length(modbus_t *ctx) | 427 | + modbus_reply_exception() |
| 428 | +- New function modbus_get_header_length(modbus_t \*ctx) | ||
| 420 | - New functions to manipulate data: | 429 | - New functions to manipulate data: |
| 421 | - * MODBUS_GET_INT32_FROM_INT16 | ||
| 422 | - * MODBUS_GET_INT16_FROM_INT8 | ||
| 423 | - * MODBUS_SET_INT16_TO_INT8 | ||
| 424 | -- Fix GH-2. Read/write were swapped in _FC_READ_AND_WRITE_REGISTERS | ||
| 425 | -- Install an ignore handler for SIGPIPE on *BSD | ||
| 426 | - Original patch by Jason Oster. | 430 | + - MODBUS_GET_INT32_FROM_INT16 |
| 431 | + - MODBUS_GET_INT16_FROM_INT8 | ||
| 432 | + - MODBUS_SET_INT16_TO_INT8 | ||
| 433 | +- Fix GH-2. Read/write were swapped in \_FC_READ_AND_WRITE_REGISTERS | ||
| 434 | +- Install an ignore handler for SIGPIPE on \*BSD | ||
| 435 | + Original patch by Jason Oster. | ||
| 427 | - Fix closing of Win32 socket. | 436 | - Fix closing of Win32 socket. |
| 428 | - Reported by Petr Parýzek. | 437 | + Reported by Petr Parýzek. |
| 429 | - Fix unit identifier not copied by the TCP server. | 438 | - Fix unit identifier not copied by the TCP server. |
| 430 | - Reported by Antti Manninen. | 439 | + Reported by Antti Manninen. |
| 431 | - Fix missing modbus_flush() in unit tests | 440 | - Fix missing modbus_flush() in unit tests |
| 432 | - Fixes for OpenBSD by Barry Grumbine and Jason Oster | 441 | - Fixes for OpenBSD by Barry Grumbine and Jason Oster |
| 433 | 442 | ||
| 434 | - | ||
| 435 | -libmodbus 2.9.2 (2010-12-05) | ||
| 436 | -============================ | 443 | +## libmodbus 2.9.2 (2010-12-05) |
| 437 | 444 | ||
| 438 | - Win32 support by Tobias Doerffel | 445 | - Win32 support by Tobias Doerffel |
| 439 | - Split source code around RTU and TCP (backends) | 446 | - Split source code around RTU and TCP (backends) |
| 440 | -- Rename modbus_[listen|accept] to modbus_tcp_[listen|accept] | 447 | +- Rename modbus*[listen|accept] to modbus_tcp*[listen|accept] |
| 441 | - Remove slave argument from modbus_new_rtu() | 448 | - Remove slave argument from modbus_new_rtu() |
| 442 | - Check received function code | 449 | - Check received function code |
| 443 | - Fix segfault in bandwidth-server-many-up on inet_ntoa() call | 450 | - Fix segfault in bandwidth-server-many-up on inet_ntoa() call |
| @@ -446,9 +453,7 @@ libmodbus 2.9.2 (2010-12-05) | @@ -446,9 +453,7 @@ libmodbus 2.9.2 (2010-12-05) | ||
| 446 | - Correctly detect if we are cross-compiling for win32 by Kirill Smelkov. | 453 | - Correctly detect if we are cross-compiling for win32 by Kirill Smelkov. |
| 447 | - Fix setting of the broadcast address | 454 | - Fix setting of the broadcast address |
| 448 | 455 | ||
| 449 | - | ||
| 450 | -libmodbus 2.9.1 (2010-08-16) | ||
| 451 | -============================ | 456 | +## libmodbus 2.9.1 (2010-08-16) |
| 452 | 457 | ||
| 453 | - Brand new API (see MIGRATION notes)! | 458 | - Brand new API (see MIGRATION notes)! |
| 454 | - Remove the internal function set_message_length_tcp | 459 | - Remove the internal function set_message_length_tcp |
| @@ -459,20 +464,18 @@ libmodbus 2.9.1 (2010-08-16) | @@ -459,20 +464,18 @@ libmodbus 2.9.1 (2010-08-16) | ||
| 459 | - OpenBSD support by Anibal Limón. | 464 | - OpenBSD support by Anibal Limón. |
| 460 | - New read and write registers function by Hannu Vuolasaho. | 465 | - New read and write registers function by Hannu Vuolasaho. |
| 461 | - Versioning infrastructure | 466 | - Versioning infrastructure |
| 462 | - Inspired by the Clutter project and the work done by Florian Forster. | 467 | + Inspired by the Clutter project and the work done by Florian Forster. |
| 463 | - Fix the broadcast constant (255 -> 0) | 468 | - Fix the broadcast constant (255 -> 0) |
| 464 | - Reported by David Olivari. | 469 | + Reported by David Olivari. |
| 465 | - Fix #463299 - New functions to define the timeouts of begin and end of trame | 470 | - Fix #463299 - New functions to define the timeouts of begin and end of trame |
| 466 | - Original patch by Sisyph (eric-paul). | 471 | + Original patch by Sisyph (eric-paul). |
| 467 | - Fix #591142 - Slave id check should be disabled in TCP connection | 472 | - Fix #591142 - Slave id check should be disabled in TCP connection |
| 468 | - Reported by aladdinwu. | ||
| 469 | - | 473 | + Reported by aladdinwu. |
| 470 | 474 | ||
| 471 | -libmodbus 2.1.0 (2010-03-24) | ||
| 472 | -============================ | 475 | +## libmodbus 2.1.0 (2010-03-24) |
| 473 | 476 | ||
| 474 | - New API to read and write float values by Stéphane Raimbault and Florian | 477 | - New API to read and write float values by Stéphane Raimbault and Florian |
| 475 | - Forster. | 478 | + Forster. |
| 476 | - New API for slave server (see MIGRATION) | 479 | - New API for slave server (see MIGRATION) |
| 477 | - New slave server able to handle multiple connections | 480 | - New slave server able to handle multiple connections |
| 478 | - Slave only replies to broadcast queries or queries with its slave ID | 481 | - Slave only replies to broadcast queries or queries with its slave ID |
| @@ -481,76 +484,69 @@ libmodbus 2.1.0 (2010-03-24) | @@ -481,76 +484,69 @@ libmodbus 2.1.0 (2010-03-24) | ||
| 481 | - Better error management and SIGPIPE signal is blocked | 484 | - Better error management and SIGPIPE signal is blocked |
| 482 | - Faster | 485 | - Faster |
| 483 | - Fix #333455 - Cygwin IPTOS_LOWDELAY not supported on cygwin | 486 | - Fix #333455 - Cygwin IPTOS_LOWDELAY not supported on cygwin |
| 484 | - Reported by Jeff Laughlin and Yishin Li. | 487 | + Reported by Jeff Laughlin and Yishin Li. |
| 485 | - Fix #375926 - modbus.c:164: error: `MSG_DONTWAIT' undeclared | 488 | - Fix #375926 - modbus.c:164: error: `MSG_DONTWAIT' undeclared |
| 486 | - Reported and tested by Yishin Li. | 489 | + Reported and tested by Yishin Li. |
| 487 | - Fix #378981 - CRC error on RTU response doesn't return negative value | 490 | - Fix #378981 - CRC error on RTU response doesn't return negative value |
| 488 | - Reported by Henrik Munktell. | 491 | + Reported by Henrik Munktell. |
| 489 | - Fix report slave ID request | 492 | - Fix report slave ID request |
| 490 | - Patch (bzr) provided by Paul Fertser. | 493 | + Patch (bzr) provided by Paul Fertser. |
| 491 | - Fix #425604 - Conditional jump or move depends on uninitialised value(s) | 494 | - Fix #425604 - Conditional jump or move depends on uninitialised value(s) |
| 492 | - Occurs on first occurrence of slave timeout. | ||
| 493 | - Reported by Henrik Munktell. | 495 | + Occurs on first occurrence of slave timeout. |
| 496 | + Reported by Henrik Munktell. | ||
| 494 | - Fix #457200 - FreeBSD support | 497 | - Fix #457200 - FreeBSD support |
| 495 | - Patch provided by Norbert Koch. | 498 | + Patch provided by Norbert Koch. |
| 496 | 499 | ||
| 497 | Other changes: | 500 | Other changes: |
| 498 | 501 | ||
| 499 | - The code is now published and developed on | 502 | - The code is now published and developed on |
| 500 | - http://github.com/stephane/libmodbus | 503 | + <http://github.com/stephane/libmodbus> |
| 501 | - Waf support has been removed | 504 | - Waf support has been removed |
| 502 | 505 | ||
| 503 | - | ||
| 504 | -libmodbus 2.0.3 (2009-03-22) | ||
| 505 | -============================ | 506 | +## libmodbus 2.0.3 (2009-03-22) |
| 506 | 507 | ||
| 507 | - Fix CRC error when a slave RTU send a response. | 508 | - Fix CRC error when a slave RTU send a response. |
| 508 | - Thanks to Justin Carroll to have reported and tested my patch. | 509 | + Thanks to Justin Carroll to have reported and tested my patch. |
| 509 | - Remove an assignment in compute_response_length() | 510 | - Remove an assignment in compute_response_length() |
| 510 | - Remove duplicate counter in read_io_status() | 511 | - Remove duplicate counter in read_io_status() |
| 511 | - Fix #274511 reported by 'Kylesch' | 512 | - Fix #274511 reported by 'Kylesch' |
| 512 | - Invalid error check in modbus_init_listen_tcp | 513 | + Invalid error check in modbus_init_listen_tcp |
| 513 | 514 | ||
| 515 | +## libmodbus 2.0.2 (2008-08-10) | ||
| 514 | 516 | ||
| 515 | -libmodbus 2.0.2 (2008-08-10) | ||
| 516 | -============================ | ||
| 517 | - Fix a bug reported by email by Davide Pippa | 517 | - Fix a bug reported by email by Davide Pippa |
| 518 | - The function modbus_receive must check the number of values | ||
| 519 | - indicated in the response accordingly to the query. | 518 | + The function modbus_receive must check the number of values |
| 519 | + indicated in the response accordingly to the query. | ||
| 520 | - Fix #241006 reported by Jesus Hernandez Tapia | 520 | - Fix #241006 reported by Jesus Hernandez Tapia |
| 521 | - modbus_check_response() crashes on an invalid exception code | 521 | + modbus_check_response() crashes on an invalid exception code |
| 522 | - Reduce the number of function calls (read_reg_response and | 522 | - Reduce the number of function calls (read_reg_response and |
| 523 | - preset_response have been removed) | 523 | + preset_response have been removed) |
| 524 | - Add a new unit test for bad response | 524 | - Add a new unit test for bad response |
| 525 | - Catch the timeout even if the length is equal to a exception trame | 525 | - Catch the timeout even if the length is equal to a exception trame |
| 526 | - Test only msg_length_computed on change | 526 | - Test only msg_length_computed on change |
| 527 | - Many comments and cleanups | 527 | - Many comments and cleanups |
| 528 | 528 | ||
| 529 | - | ||
| 530 | -libmodbus 2.0.1 (2008-07-02) | ||
| 531 | -============================ | 529 | +## libmodbus 2.0.1 (2008-07-02) |
| 532 | 530 | ||
| 533 | - Include libmodbus.spec in the tarball | 531 | - Include libmodbus.spec in the tarball |
| 534 | - Fix #241006 reported by Jesus Hernandez Tapia | 532 | - Fix #241006 reported by Jesus Hernandez Tapia |
| 535 | - modbus_check_response() crashes on an invalid exception code | ||
| 536 | - | 533 | + modbus_check_response() crashes on an invalid exception code |
| 537 | 534 | ||
| 538 | -libmodbus 2.0.0 (2008-05-18) | ||
| 539 | -============================ | 535 | +## libmodbus 2.0.0 (2008-05-18) |
| 540 | 536 | ||
| 541 | - Slave API | 537 | - Slave API |
| 542 | - https://blueprints.launchpad.net/libmodbus/+spec/slave-api | 538 | + <https://blueprints.launchpad.net/libmodbus/+spec/slave-api> |
| 543 | - No more glib dependency | 539 | - No more glib dependency |
| 544 | - https://blueprints.launchpad.net/libmodbus/+spec/glib-dependency | 540 | + <https://blueprints.launchpad.net/libmodbus/+spec/glib-dependency> |
| 545 | - Unit testing and many test programs | 541 | - Unit testing and many test programs |
| 546 | - Waf build support | 542 | - Waf build support |
| 547 | - https://blueprints.launchpad.net/libmodbus/+spec/waf-support | 543 | + <https://blueprints.launchpad.net/libmodbus/+spec/waf-support> |
| 548 | - MacOS X support by Matthew Butch | 544 | - MacOS X support by Matthew Butch |
| 549 | - https://blueprints.launchpad.net/libmodbus/+spec/macosx-support | 545 | + <https://blueprints.launchpad.net/libmodbus/+spec/macosx-support> |
| 550 | - Unit testing (unit-test-slave and unit-test-master) | 546 | - Unit testing (unit-test-slave and unit-test-master) |
| 551 | - Port number is now defined at initialisation by Dirk Reusch | 547 | - Port number is now defined at initialisation by Dirk Reusch |
| 552 | -- Better memory management (uint8_t *data and packing of | ||
| 553 | - modbus_param_t) | 548 | +- Better memory management (uint8_t \*data and packing of |
| 549 | + modbus_param_t) | ||
| 554 | - Better error management | 550 | - Better error management |
| 555 | - Declare many static functions and const arrays | 551 | - Declare many static functions and const arrays |
| 556 | - Enhance an integer division | 552 | - Enhance an integer division |
| @@ -558,67 +554,55 @@ libmodbus 2.0.0 (2008-05-18) | @@ -558,67 +554,55 @@ libmodbus 2.0.0 (2008-05-18) | ||
| 558 | - Debian and RPM packages (#224496) | 554 | - Debian and RPM packages (#224496) |
| 559 | - Many cleanups | 555 | - Many cleanups |
| 560 | - Fix #159443 reported by Stefan Bisanz | 556 | - Fix #159443 reported by Stefan Bisanz |
| 561 | - Index of incoming data in force multiple coils function | 557 | + Index of incoming data in force multiple coils function |
| 562 | - Fix #161989 reported by Konstantinos Togias | 558 | - Fix #161989 reported by Konstantinos Togias |
| 563 | - Serial device paths more than 10 chars long (eg. /dev/ttyUSB0) don't | ||
| 564 | - fit to modbus_param_t -> device char[11] var. | 559 | + Serial device paths more than 10 chars long (eg. /dev/ttyUSB0) don't |
| 560 | + fit to modbus_param_t -> device char[11] var. | ||
| 565 | - Fix #188189 reported by Chris Hellyar | 561 | - Fix #188189 reported by Chris Hellyar |
| 566 | - Compute_response_size() no entry for read_input_status() | 562 | + Compute_response_size() no entry for read_input_status() |
| 567 | - Fix #191039 reported by Todd Denniston | 563 | - Fix #191039 reported by Todd Denniston |
| 568 | - modbus.h is not installed at prefix. | 564 | + modbus.h is not installed at prefix. |
| 569 | - Fix #211460 reported by Todd Denniston | 565 | - Fix #211460 reported by Todd Denniston |
| 570 | - With TCP, automatic reconnect on error may not be desired. | 566 | + With TCP, automatic reconnect on error may not be desired. |
| 571 | - Fix #224485 reported by Todd Denniston | 567 | - Fix #224485 reported by Todd Denniston |
| 572 | - libmodbus does not link with c++ code. | 568 | + libmodbus does not link with c++ code. |
| 573 | - Fix #224496 reported by Todd Denniston | 569 | - Fix #224496 reported by Todd Denniston |
| 574 | - It is easier to install on rpm based systems with a spec file. | 570 | + It is easier to install on rpm based systems with a spec file. |
| 575 | 571 | ||
| 576 | - | ||
| 577 | -libmodbus 1.2.5 (2008-05-18) | ||
| 578 | -============================ | 572 | +## libmodbus 1.2.5 (2008-05-18) |
| 579 | 573 | ||
| 580 | - Fix #224485 reported by Todd Denniston | 574 | - Fix #224485 reported by Todd Denniston |
| 581 | - libmodbus does not link with c++ code. | ||
| 582 | - | 575 | + libmodbus does not link with c++ code. |
| 583 | 576 | ||
| 584 | -libmodbus 1.2.4 (2008-03-14) | ||
| 585 | -============================ | 577 | +## libmodbus 1.2.4 (2008-03-14) |
| 586 | 578 | ||
| 587 | - Fix #191039 reported by Todd Denniston | 579 | - Fix #191039 reported by Todd Denniston |
| 588 | - modbus.h is not installed at prefix. | ||
| 589 | - | 580 | + modbus.h is not installed at prefix. |
| 590 | 581 | ||
| 591 | -libmodbus 1.2.3 (2008-02-03) | ||
| 592 | -============================ | 582 | +## libmodbus 1.2.3 (2008-02-03) |
| 593 | 583 | ||
| 594 | - Fix #188189 reported by Chris Hellyar | 584 | - Fix #188189 reported by Chris Hellyar |
| 595 | - Compute_response_size() no entry for read_input_status() | 585 | + Compute_response_size() no entry for read_input_status() |
| 596 | - Fix #181887 reported by Jesus Hernandez Tapia. | 586 | - Fix #181887 reported by Jesus Hernandez Tapia. |
| 597 | - Slave address in build_request_packet_tcp() is hardcoded as 0xFF. | 587 | + Slave address in build_request_packet_tcp() is hardcoded as 0xFF. |
| 598 | 588 | ||
| 599 | - | ||
| 600 | -libmodbus 1.2.2 (2007-11-12) | ||
| 601 | -============================ | 589 | +## libmodbus 1.2.2 (2007-11-12) |
| 602 | 590 | ||
| 603 | - Fix #161989 reported by Konstantinos Togias | 591 | - Fix #161989 reported by Konstantinos Togias |
| 604 | - Serial device paths more than 10 chars long (eg. /dev/ttyUSB0) don't | ||
| 605 | - fit to modbus_param_t -> device char[11] var. | 592 | + Serial device paths more than 10 chars long (eg. /dev/ttyUSB0) don't |
| 593 | + fit to modbus_param_t -> device char[11] var. | ||
| 606 | - Structure is also bit better 'packed' to conserve memory (see the | 594 | - Structure is also bit better 'packed' to conserve memory (see the |
| 607 | - trunk for a real enhancement). | ||
| 608 | - | 595 | + trunk for a real enhancement). |
| 609 | 596 | ||
| 610 | -libmodbus 1.2.1 (2007-11-02) | ||
| 611 | -============================ | 597 | +## libmodbus 1.2.1 (2007-11-02) |
| 612 | 598 | ||
| 613 | - Fix #159443 reported by Stefan Bisanz | 599 | - Fix #159443 reported by Stefan Bisanz |
| 614 | - Index of incoming data in force multiple coils function | 600 | + Index of incoming data in force multiple coils function |
| 615 | - Deleted useless code in check_crc16() | 601 | - Deleted useless code in check_crc16() |
| 616 | - Untabify source code | 602 | - Untabify source code |
| 617 | - Changed author's email to Stéphane Raimbault | 603 | - Changed author's email to Stéphane Raimbault |
| 618 | 604 | ||
| 619 | - | ||
| 620 | -libmodbus 1.2.0 (2007-05-10) | ||
| 621 | -============================ | 605 | +## libmodbus 1.2.0 (2007-05-10) |
| 622 | 606 | ||
| 623 | - FIX Compilation GCC-4.0 | 607 | - FIX Compilation GCC-4.0 |
| 624 | - Project name in autogen.sh | 608 | - Project name in autogen.sh |
configure.ac
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | # | 13 | # |
| 14 | m4_define([libmodbus_version_major], [3]) | 14 | m4_define([libmodbus_version_major], [3]) |
| 15 | m4_define([libmodbus_version_minor], [1]) | 15 | m4_define([libmodbus_version_minor], [1]) |
| 16 | -m4_define([libmodbus_version_micro], [8]) | 16 | +m4_define([libmodbus_version_micro], [9]) |
| 17 | 17 | ||
| 18 | m4_define([libmodbus_release_status], | 18 | m4_define([libmodbus_release_status], |
| 19 | [m4_if(m4_eval(libmodbus_version_minor % 2), [1], [snapshot], [release])]) | 19 | [m4_if(m4_eval(libmodbus_version_minor % 2), [1], [snapshot], [release])]) |