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 | 32 | - Major rewrite of documentation with Material for mkdocs |
| 5 | 33 | - Reduce memory use of TCP PI backend (closes #621) |
| ... | ... | @@ -13,8 +41,7 @@ libmodbus 3.1.8 (2022-08-17) |
| 13 | 41 | - Fix network library detection on Haiku |
| 14 | 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 | 46 | - modbus_reply: fix copy & paste error in sanity check (fixes #614) |
| 20 | 47 | - Add SECURITY.md (closes #613) |
| ... | ... | @@ -30,23 +57,21 @@ libmodbus 3.1.7 (2022-01-09) |
| 30 | 57 | - Install the NEWS and AUTHORS files |
| 31 | 58 | - Update README.md |
| 32 | 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 | 61 | - Fix warning issues |
| 35 | 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 | 64 | - SPDX: change LGPL-2.1+ to LGPL-2.1-or-later |
| 38 | 65 | |
| 39 | 66 | Thank you to @yegorich, @i-ky, @jobol, @timgates42, @anton-bondarev, |
| 40 | 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 | 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 | 76 | - Fix URL |
| 52 | 77 | - Add appveyor.com config |
| ... | ... | @@ -80,11 +105,10 @@ libmodbus 3.1.5 (2019-07-29) |
| 80 | 105 | - Fix LIBMODBUS_VERSION_HEX encoding (closes #345) |
| 81 | 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 | 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 | 112 | - Improve Cygwin support. Thanks to StalderT. |
| 89 | 113 | - Another round of DRY in modbus_reply() |
| 90 | 114 | - Rename raw_rep to raw_rsp in unit-test-client |
| ... | ... | @@ -102,34 +126,33 @@ libmodbus 3.1.4 (2016-05-28) |
| 102 | 126 | - Add unit-tests.sh to tarball |
| 103 | 127 | - Add ./configure.scan to .gitignore |
| 104 | 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 | 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 | 134 | - New bswap macros for Max OSX by Jakob Bysewski. |
| 112 | 135 | - Fix "wildcard address" in TCP IPv6 by Shoichi Sakane. |
| 113 | 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 | 138 | - Fix address range in random-test-client. |
| 116 | - Thanks to Martin Galvan. | |
| 139 | + Thanks to Martin Galvan. | |
| 117 | 140 | - Add an option to disable tests compilation by Yegor Yefremov. |
| 118 | 141 | - Define MSG_DONTWAIT to MSG_NONBLOCK on AIX (#294). |
| 119 | - Thanks to Fabrice Cantos. | |
| 142 | + Thanks to Fabrice Cantos. | |
| 120 | 143 | - Fix building when byteswap.h is not defined by Tomasz Mon. |
| 121 | 144 | - Add some more macros for data manipulation and documentation. |
| 122 | 145 | - Remove duplicate install of modbus.h (closes #290). |
| 123 | - Thanks to Daniel Sutcliffe. | |
| 146 | + Thanks to Daniel Sutcliffe. | |
| 124 | 147 | - Move MIGRATION and README.md to dist_doc_DATA target. |
| 125 | 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 | 150 | - Implemented runtime configurable RTS delay by Jimmy Bergström. |
| 128 | 151 | - Add an entry in libmodbus index page for modbus_rtu_set_custom_rts. |
| 129 | 152 | - Add support for user defined RTS toggle function by Jimmy |
| 130 | - Bergström. | |
| 153 | + Bergström. | |
| 131 | 154 | - Added ILLEGAL_DATA_ADDRESS tests for modbus_write_register[|s]. |
| 132 | - Thanks to Andrey Skvortsov. | |
| 155 | + Thanks to Andrey Skvortsov. | |
| 133 | 156 | - Update documentation of modbus_rtu_set_rts |
| 134 | 157 | - Fix rts signal switch time by Hiromasa Ihara. |
| 135 | 158 | - Improve new_rtu and set_slave documentation (related to #276). |
| ... | ... | @@ -143,15 +166,14 @@ libmodbus 3.1.3 (2016-05-11) |
| 143 | 166 | - Do not reply on broadcast requests (fixes #153). Thanks to Michael. |
| 144 | 167 | - Add Travis support. |
| 145 | 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 | 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 | 173 | - Add new contributors to AUTHORS |
| 151 | 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 | 178 | If you still want to listen any addresses in your TCP IPv4 server, you must now |
| 157 | 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 | 188 | - Fix timeouts in unit tests |
| 167 | 189 | - Don't flush on illegal address errors in single write functions |
| 168 | 190 | - Fix compilation on compilers not supporting c99 mode. |
| 169 | - Thanks to Michael Heimpold. | |
| 191 | + Thanks to Michael Heimpold. | |
| 170 | 192 | - Update license for the tests in Debian packaging (#221) |
| 171 | 193 | - Move check of device earlier to avoid a free call |
| 172 | 194 | - Unit test for baud rate check and error message. |
| 173 | 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 | 197 | - Removed function prototype without implementation |
| 176 | - Thank you Andrej Skvortzov. | |
| 198 | + Thank you Andrej Skvortzov. | |
| 177 | 199 | - Switch test programs to a BSD license |
| 178 | 200 | - Fix remote buffer overflow vulnerability on write requests |
| 179 | 201 | - Avoid twice connect() in source code (closes #194) |
| 180 | 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 | 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 | 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 | 208 | - Filter of IP addresses in IPv4 server (closes #190) |
| 187 | 209 | - Allow to listen any hosts in IPv6 (closes #32) |
| 188 | 210 | - Define and public export of MODBUS_MAX_PDU_LENGTH (closes #167) |
| 189 | 211 | - Truncate data from response in report_slave_id to new max arg (closes #167) |
| 190 | 212 | - Fix response timeout modification on connect (closes #80) |
| 191 | 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 | 215 | - Export Modbus function codes supported by libmodbus |
| 194 | 216 | - Fix bandwidth-server-one (closes #152) |
| 195 | 217 | - Check debug flag in RTU code |
| 196 | 218 | - Remove warnings caused by shadowed 'index' variable. |
| 197 | - Thanks to Åke Forslund. | |
| 219 | + Thanks to Åke Forslund. | |
| 198 | 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 | 222 | - Fix mistake in modbus_tcp_listen documentation |
| 201 | 223 | - Add documentation for modbus_tcp_pi_listen |
| 202 | 224 | - Fix for MinGW and Windows (#144, #169, #175, #180, #181, #187) |
| 203 | - Thanks to Marjan Tomas. | |
| 225 | + Thanks to Marjan Tomas. | |
| 204 | 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 | 230 | More robust to exploits, more compliant and better handling of connect/close |
| 210 | 231 | sequences. Windows support still broken. |
| ... | ... | @@ -213,9 +234,9 @@ sequences. Windows support still broken. |
| 213 | 234 | - Fix remote buffer overflow vulnerability (closes #25, #105) |
| 214 | 235 | - Explain how to define response timeouts when many RTU slaves |
| 215 | 236 | - Fix receiving of incorrect queries in write_single and mask_write_register |
| 216 | - Thanks to James Nutaro. | |
| 237 | + Thanks to James Nutaro. | |
| 217 | 238 | - Check return value of autoreconf. |
| 218 | - Thanks to Lauri Nurmi | |
| 239 | + Thanks to Lauri Nurmi | |
| 219 | 240 | - Constant for broacast and test ordering |
| 220 | 241 | - Fix the fix of device string check |
| 221 | 242 | - Various changes to try to improve *broken* Windows support |
| ... | ... | @@ -226,7 +247,7 @@ sequences. Windows support still broken. |
| 226 | 247 | - Returns -1 on invalid mode in modbus_rtu_set_rts |
| 227 | 248 | - Protect all public functions against invalid context |
| 228 | 249 | - Sleep for delay of response timeout before reconnect (closes #77). |
| 229 | - Thanks to Karl Palsson. | |
| 250 | + Thanks to Karl Palsson. | |
| 230 | 251 | - Baud rate until 4,000,000 (POSIX), 1,000,000 (Windows) (closes #93) |
| 231 | 252 | - New modbus_get|set_float_dcba to get|set float in inversed byte order |
| 232 | 253 | - Remove unsupported -Wtype-limits for GCC < 4.3.5 (closes #109) |
| ... | ... | @@ -235,20 +256,20 @@ sequences. Windows support still broken. |
| 235 | 256 | - Improvement to Debian package. Thanks to Alexander Klauer. |
| 236 | 257 | - Improve support of VS 2005. Thanks to Petr Gladkiy. |
| 237 | 258 | - Add documentation for modbus_mask_write_register (closes #91). |
| 238 | - Thanks to Martijn de Gouw. | |
| 259 | + Thanks to Martijn de Gouw. | |
| 239 | 260 | - Avoid C99 declaration in win32 section code (closes #92). |
| 240 | - Thanks to oldfaber and endrelovas. | |
| 261 | + Thanks to oldfaber and endrelovas. | |
| 241 | 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 | 264 | - Fix typo in modbus_strerror documentation. Thanks to Mirko Rajkovaca. |
| 244 | 265 | - Rename reserved C++ keywords of modbus_mask_write_register. |
| 245 | - Thanks Tobias Doerffel. | |
| 266 | + Thanks Tobias Doerffel. | |
| 246 | 267 | - Another quick workaround for deficient OS (closes #63) |
| 247 | 268 | - Add support for Mask Write Register |
| 248 | 269 | - Fix missing close on socket in random-test-server. |
| 249 | - Thanks to Damian Zieliński. | |
| 270 | + Thanks to Damian Zieliński. | |
| 250 | 271 | - Use nonblocking sockets on Win32 and OS X/iOS too. |
| 251 | - Thanks to Julian Raschke. | |
| 272 | + Thanks to Julian Raschke. | |
| 252 | 273 | - Fix all compilations warnings spotted by new compilation flags |
| 253 | 274 | - Major update of build system |
| 254 | 275 | - Calculate RTS activation time by send length |
| ... | ... | @@ -259,17 +280,16 @@ sequences. Windows support still broken. |
| 259 | 280 | - Fix wrong constant names to create version number |
| 260 | 281 | - More compilation fixes for Windows by oldfaber. |
| 261 | 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 | 287 | Major changes to handle many slaves in RTU mode, non blocking connections and |
| 268 | 288 | RTS flow control. |
| 269 | 289 | |
| 270 | 290 | - Fixes for Microsoft Visual C++ compiler |
| 271 | 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 | 293 | - Avoid ioctl call on non-RS485 ports. Thanks to Michael Haberler |
| 274 | 294 | - Display node and service in PI and port in IPv4 at connection |
| 275 | 295 | - Return -1 on getaddrinfo error and print error in debug mode |
| ... | ... | @@ -285,159 +305,146 @@ RTS flow control. |
| 285 | 305 | - Provides a way to disable the byte timeout (Alex Stapleton) |
| 286 | 306 | - Added slave ID check for response messages (Alex Stapleton) |
| 287 | 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 | 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 | 317 | - Backport fixes for VD-1301 and VD-1302 vulnerabilities |
| 300 | 318 | - Move WINVER definition before other includes (closes #350) |
| 301 | 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 | 323 | - Backport fix remote buffer overflow vulnerability on write requests |
| 307 | 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 | 328 | - Fix remote buffer overflow vulnerability |
| 313 | 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 | 333 | - autogen.sh creates symlinks instead of copies |
| 319 | 334 | - Add missing m4 directory (closes #103) |
| 320 | 335 | - Fix alignment problem on ARMv5 platform |
| 321 | - Thanks to Alexander Dahl | |
| 336 | + Thanks to Alexander Dahl | |
| 322 | 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 | 342 | - Fix another Visual C++ 2008/2010 deficiency (closes #53) |
| 329 | 343 | - Add -lsocket to compile on QNX |
| 330 | 344 | - Fix TCP PI init under Windows. |
| 331 | - Thanks to oldfaber. | |
| 345 | + Thanks to oldfaber. | |
| 332 | 346 | - Fix a missing free in random-test-client |
| 333 | - Thanks again to Stefan Finzel. | |
| 347 | + Thanks again to Stefan Finzel. | |
| 334 | 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 | 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 | 355 | - Update Debian package |
| 343 | 356 | - Documentation fixes and additions |
| 344 | 357 | - Add missing C++ macros in public headers. |
| 345 | - Thanks to Bernhard Agthe. | |
| 358 | + Thanks to Bernhard Agthe. | |
| 346 | 359 | - Protects modbus_mapping_free against NULL argument. |
| 347 | - Thanks to Andrea Mattia | |
| 360 | + Thanks to Andrea Mattia | |
| 348 | 361 | - Fix check on file doc/libmodbus.7 in acinclude.m4 (closes #28) |
| 349 | 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 | 364 | - unit-test.h is now generated to avoid config.h dependency. |
| 352 | 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 | 370 | - Avoid useless serial_mode integer when TIOCSRS485 isn't supported |
| 359 | 371 | - Fix compilation failure on Windows (RS485 support) by Tobias Doerffel |
| 360 | - <tobias.doerffel@gmail.com> | |
| 372 | + <tobias.doerffel@gmail.com> | |
| 361 | 373 | - Properly check TIOCSRS485 define by Matthijs Kool |
| 362 | 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 | 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 | 381 | - Enable RS485 support only when available |
| 371 | 382 | - Export modbus_set/get_serial_mode functions on all platforms |
| 372 | 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 | 390 | - Enhanced report slave ID |
| 380 | 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 | 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 | 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 | 400 | - Documentation of libmodbus functions with AsciiDoc (man and HTML) by Stéphane |
| 391 | - Raimbault | |
| 401 | + Raimbault | |
| 392 | 402 | - Avoid an iteration in flush function |
| 393 | 403 | - New functions to send and receive raw requests (modbus_send_raw_request, |
| 394 | - modbus_receive_confirmation) | |
| 404 | + modbus_receive_confirmation) | |
| 395 | 405 | - Fix flush function of TCP backend on Windows |
| 396 | 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 | 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 | 414 | - Fix longstanding limitation of server to wait forever |
| 405 | 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 | 417 | - Improved recovery mode (see modbus_set_error_recovery documentation) for |
| 408 | - data link and protocol errors. | |
| 418 | + data link and protocol errors. | |
| 409 | 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 | 424 | - Major rewriting of the message reading (no more timeouts on exception) |
| 416 | - by Stéphane Raimbault | |
| 425 | + by Stéphane Raimbault | |
| 417 | 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 | 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 | 436 | - Fix closing of Win32 socket. |
| 428 | - Reported by Petr Parýzek. | |
| 437 | + Reported by Petr Parýzek. | |
| 429 | 438 | - Fix unit identifier not copied by the TCP server. |
| 430 | - Reported by Antti Manninen. | |
| 439 | + Reported by Antti Manninen. | |
| 431 | 440 | - Fix missing modbus_flush() in unit tests |
| 432 | 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 | 445 | - Win32 support by Tobias Doerffel |
| 439 | 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 | 448 | - Remove slave argument from modbus_new_rtu() |
| 442 | 449 | - Check received function code |
| 443 | 450 | - Fix segfault in bandwidth-server-many-up on inet_ntoa() call |
| ... | ... | @@ -446,9 +453,7 @@ libmodbus 2.9.2 (2010-12-05) |
| 446 | 453 | - Correctly detect if we are cross-compiling for win32 by Kirill Smelkov. |
| 447 | 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 | 458 | - Brand new API (see MIGRATION notes)! |
| 454 | 459 | - Remove the internal function set_message_length_tcp |
| ... | ... | @@ -459,20 +464,18 @@ libmodbus 2.9.1 (2010-08-16) |
| 459 | 464 | - OpenBSD support by Anibal Limón. |
| 460 | 465 | - New read and write registers function by Hannu Vuolasaho. |
| 461 | 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 | 468 | - Fix the broadcast constant (255 -> 0) |
| 464 | - Reported by David Olivari. | |
| 469 | + Reported by David Olivari. | |
| 465 | 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 | 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 | 477 | - New API to read and write float values by Stéphane Raimbault and Florian |
| 475 | - Forster. | |
| 478 | + Forster. | |
| 476 | 479 | - New API for slave server (see MIGRATION) |
| 477 | 480 | - New slave server able to handle multiple connections |
| 478 | 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 | 484 | - Better error management and SIGPIPE signal is blocked |
| 482 | 485 | - Faster |
| 483 | 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 | 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 | 490 | - Fix #378981 - CRC error on RTU response doesn't return negative value |
| 488 | - Reported by Henrik Munktell. | |
| 491 | + Reported by Henrik Munktell. | |
| 489 | 492 | - Fix report slave ID request |
| 490 | - Patch (bzr) provided by Paul Fertser. | |
| 493 | + Patch (bzr) provided by Paul Fertser. | |
| 491 | 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 | 497 | - Fix #457200 - FreeBSD support |
| 495 | - Patch provided by Norbert Koch. | |
| 498 | + Patch provided by Norbert Koch. | |
| 496 | 499 | |
| 497 | 500 | Other changes: |
| 498 | 501 | |
| 499 | 502 | - The code is now published and developed on |
| 500 | - http://github.com/stephane/libmodbus | |
| 503 | + <http://github.com/stephane/libmodbus> | |
| 501 | 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 | 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 | 510 | - Remove an assignment in compute_response_length() |
| 510 | 511 | - Remove duplicate counter in read_io_status() |
| 511 | 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 | 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 | 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 | 522 | - Reduce the number of function calls (read_reg_response and |
| 523 | - preset_response have been removed) | |
| 523 | + preset_response have been removed) | |
| 524 | 524 | - Add a new unit test for bad response |
| 525 | 525 | - Catch the timeout even if the length is equal to a exception trame |
| 526 | 526 | - Test only msg_length_computed on change |
| 527 | 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 | 531 | - Include libmodbus.spec in the tarball |
| 534 | 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 | 537 | - Slave API |
| 542 | - https://blueprints.launchpad.net/libmodbus/+spec/slave-api | |
| 538 | + <https://blueprints.launchpad.net/libmodbus/+spec/slave-api> | |
| 543 | 539 | - No more glib dependency |
| 544 | - https://blueprints.launchpad.net/libmodbus/+spec/glib-dependency | |
| 540 | + <https://blueprints.launchpad.net/libmodbus/+spec/glib-dependency> | |
| 545 | 541 | - Unit testing and many test programs |
| 546 | 542 | - Waf build support |
| 547 | - https://blueprints.launchpad.net/libmodbus/+spec/waf-support | |
| 543 | + <https://blueprints.launchpad.net/libmodbus/+spec/waf-support> | |
| 548 | 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 | 546 | - Unit testing (unit-test-slave and unit-test-master) |
| 551 | 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 | 550 | - Better error management |
| 555 | 551 | - Declare many static functions and const arrays |
| 556 | 552 | - Enhance an integer division |
| ... | ... | @@ -558,67 +554,55 @@ libmodbus 2.0.0 (2008-05-18) |
| 558 | 554 | - Debian and RPM packages (#224496) |
| 559 | 555 | - Many cleanups |
| 560 | 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 | 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 | 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 | 563 | - Fix #191039 reported by Todd Denniston |
| 568 | - modbus.h is not installed at prefix. | |
| 564 | + modbus.h is not installed at prefix. | |
| 569 | 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 | 567 | - Fix #224485 reported by Todd Denniston |
| 572 | - libmodbus does not link with c++ code. | |
| 568 | + libmodbus does not link with c++ code. | |
| 573 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 601 | - Deleted useless code in check_crc16() |
| 616 | 602 | - Untabify source code |
| 617 | 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 | 607 | - FIX Compilation GCC-4.0 |
| 624 | 608 | - Project name in autogen.sh | ... | ... |
configure.ac
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | # |
| 14 | 14 | m4_define([libmodbus_version_major], [3]) |
| 15 | 15 | m4_define([libmodbus_version_minor], [1]) |
| 16 | -m4_define([libmodbus_version_micro], [8]) | |
| 16 | +m4_define([libmodbus_version_micro], [9]) | |
| 17 | 17 | |
| 18 | 18 | m4_define([libmodbus_release_status], |
| 19 | 19 | [m4_if(m4_eval(libmodbus_version_minor % 2), [1], [snapshot], [release])]) | ... | ... |