| 1 |
commit bc8f88ef3399b76da7992a99badebada419d0e19 |
| 2 |
Author: Soeren Apel <[email protected]> |
| 3 |
Date: Sun Oct 13 13:22:29 2024 +0200 |
| 4 |
|
| 5 |
Doxyfile: Set version to 0.1.2. |
| 6 |
|
| 7 |
commit 21b3dfe5f68c205be4086469335fd2fc2ce11ed2 |
| 8 |
Author: Soeren Apel <[email protected]> |
| 9 |
Date: Tue Sep 24 23:51:24 2024 +0200 |
| 10 |
|
| 11 |
Bump libtool and package versions to 1:1:1 and 0.1.2 |
| 12 |
|
| 13 |
The last release (0.1.1) had the libtool version (current:revision:age) |
| 14 |
set to 1:0:1. Since this release doesn't change/remove any |
| 15 |
interfaces, 'current' and 'age' remain unchanged and |
| 16 |
'revision' is increased, resulting in 1:1:1. |
| 17 |
|
| 18 |
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info |
| 19 |
|
| 20 |
Programs using libserialport don't need to be recompiled or relinked. |
| 21 |
|
| 22 |
commit 953292743ca3430463a2ae53f29dffec4ed5a55b |
| 23 |
Author: Soeren Apel <[email protected]> |
| 24 |
Date: Tue Sep 24 23:42:44 2024 +0200 |
| 25 |
|
| 26 |
NEWS: Last updates for the upcoming 0.1.2 release. |
| 27 |
|
| 28 |
commit 0792b393b694f0fc8a45a7c7bb842cf94450a5af |
| 29 |
Author: Soeren Apel <[email protected]> |
| 30 |
Date: Sat Sep 7 22:51:29 2024 +0200 |
| 31 |
|
| 32 |
Add missing example files |
| 33 |
|
| 34 |
commit f0bed655a5d85057191d040097297e3638b36ba9 |
| 35 |
Author: Soeren Apel <[email protected]> |
| 36 |
Date: Fri Sep 6 22:40:18 2024 +0200 |
| 37 |
|
| 38 |
Changes to make "make distcheck" pass |
| 39 |
|
| 40 |
There were two errors: |
| 41 |
|
| 42 |
1) Changelog wasn't deleted by "make distclean" |
| 43 |
|
| 44 |
2) libsigrok.h wasn't treated as a distributable file and hence couldn't be found. This is a result of two commits: |
| 45 |
|
| 46 |
https://sigrok.org/gitweb/?p=libserialport.git;a=commit;h=f1c916ede191ec398cbe53d7f978078311c25785 marking libsigrok.h as non-distributable since it was build from libsigrok.h.in at the time and |
| 47 |
|
| 48 |
https://sigrok.org/gitweb/?p=libserialport.git;a=commit;h=f6e32b2dfa322aa4bd4a279a46d588e0e73ea238 which removed libsigrok.h.in in favor of a static libsigrok.h |
| 49 |
|
| 50 |
The second commit didn't revert the Makefile.am change that marked libsigrok.h as non-distributable, which this commit takes care of. |
| 51 |
|
| 52 |
commit 1136d76fd38d6b916f286419c152fed207d93e3f |
| 53 |
Author: Christian Seiler <[email protected]> |
| 54 |
Date: Sat Aug 31 22:27:23 2024 +0200 |
| 55 |
|
| 56 |
Windows: don't fail if WaitCommEvent was aborted due to thread exit |
| 57 |
|
| 58 |
This is a partial fix for #1603. |
| 59 |
|
| 60 |
commit 32b94b12cac47933b0e06d317eaa37a539d207c1 |
| 61 |
Author: J-P Nurmi <[email protected]> |
| 62 |
Date: Sun Aug 9 22:24:39 2020 +0200 |
| 63 |
|
| 64 |
sp_close(): disable exclusive mode to allow re-opening the port later |
| 65 |
|
| 66 |
commit 0221495d767626725657a366ab7826deb7b94529 |
| 67 |
Author: Hans <[email protected]> |
| 68 |
Date: Tue Sep 19 22:36:21 2023 +0200 |
| 69 |
|
| 70 |
Increase max class string length to 64 |
| 71 |
|
| 72 |
commit ea08028cc96ba82b73d2b1f64a4535f3dca9c1d4 |
| 73 |
Author: Alexander Batalov <[email protected]> |
| 74 |
Date: Fri Mar 29 12:25:51 2024 +0300 |
| 75 |
|
| 76 |
Fix xon_xoff not initialized |
| 77 |
|
| 78 |
commit 33feeb0516445cd32c113b9da34e25518d5b02fa |
| 79 |
Author: Patrick Dussud <[email protected]> |
| 80 |
Date: Mon Jun 17 11:58:36 2024 -0700 |
| 81 |
|
| 82 |
Add handling of ERROR_OPERATION_ABORTED in restart_wait for WIN32 |
| 83 |
|
| 84 |
It appears that the standard Win11 CDC driver does produce this case on occasion when the last byte of the IO has been transferred. |
| 85 |
|
| 86 |
commit fd20b0fc5a34cd7f776e4af6c763f59041de223b |
| 87 |
Author: André Fonseca <[email protected]> |
| 88 |
Date: Tue Aug 29 10:11:10 2023 +0200 |
| 89 |
|
| 90 |
change type of result variables to ssize_t |
| 91 |
|
| 92 |
These variables are being used to store the result of read/write calls, |
| 93 |
which return a ssize_t value, which depending on platform can be bigger |
| 94 |
than an int. |
| 95 |
|
| 96 |
commit 323881f8a48c582df8789240e666cc23ad21bf48 |
| 97 |
Author: André Fonseca <[email protected]> |
| 98 |
Date: Mon Aug 28 15:28:22 2023 +0200 |
| 99 |
|
| 100 |
rename deprecated constant kIOMasterPortDefault |
| 101 |
|
| 102 |
This constant is now deprecated since macOS 12.0 and a new constant |
| 103 |
named kIOMainPortDefault is provided. There is a fallback in place |
| 104 |
that retains compatibility for older macOS versions. |
| 105 |
|
| 106 |
https://developer.apple.com/documentation/iokit/kiomasterportdefault |
| 107 |
|
| 108 |
[ gsi: tweak style to match existing code base ] |
| 109 |
|
| 110 |
commit 6f9b03e597ea7200eb616a4e410add3dd1690cb1 |
| 111 |
Author: Karl Palsson <[email protected]> |
| 112 |
Date: Fri Jun 11 17:07:09 2021 +0000 |
| 113 |
|
| 114 |
HACK: don't even check for termiox |
| 115 |
|
| 116 |
termiox was removed from linux in e0efb3168d34 |
| 117 |
Some more information available in https://www.spinics.net/lists/linux-serial/msg41926.html |
| 118 |
|
| 119 |
Attempting to use the termiox ioctls on more modern kernels results in |
| 120 |
"Inappropriate IOCTL" errors. |
| 121 |
|
| 122 |
While the "right" solution might be to remove the termiox code from the |
| 123 |
linux path, simply not checking for termiox builds a libserialport that |
| 124 |
functions on modern linux kernels. |
| 125 |
|
| 126 |
Signed-off-by: Karl Palsson <[email protected]> |
| 127 |
|
| 128 |
commit 1abec205027bcecd7d69c0a37619e513de7c2440 |
| 129 |
Author: Jerry Jacobs <[email protected]> |
| 130 |
Date: Mon Jun 14 18:22:58 2021 +0200 |
| 131 |
|
| 132 |
Apply a default baudrate when the OS does not provide one. |
| 133 |
|
| 134 |
Handle the situation when the OS does not provide a baudrate in the code |
| 135 |
path which opens the serial port. See bug #1632 and PR #6 for details. |
| 136 |
|
| 137 |
https://sigrok.org/bugzilla/show_bug.cgi?id=1632 |
| 138 |
https://github.com/sigrokproject/libserialport/pull/6 |
| 139 |
|
| 140 |
This resolves bug #1632. |
| 141 |
|
| 142 |
[ gsi: adjust comment style, rephrase comment and commit message ] |
| 143 |
|
| 144 |
commit a06a765515482976bcbd60526bd638b3d10b14e7 |
| 145 |
Author: Gerhard Sittig <[email protected]> |
| 146 |
Date: Wed Jun 16 20:51:42 2021 +0200 |
| 147 |
|
| 148 |
doc: update IRC reference to Libera.Chat |
| 149 |
|
| 150 |
commit 1b011060df5579c15bd4e103c2d8afc4d442fd72 |
| 151 |
Author: Ben Gardiner <[email protected]> |
| 152 |
Date: Tue Sep 22 03:10:08 2020 +0000 |
| 153 |
|
| 154 |
sp: clear HUPCL to preserve control lines on close |
| 155 |
|
| 156 |
The comment and code are out of sync. The comments say "leave control |
| 157 |
lines alone on close." The HUPCL bit, when set, will "Lower modem control |
| 158 |
lines after last process closes the device (hang up)." |
| 159 |
|
| 160 |
To match the intent captured in the comment, the HUPCL bit should be |
| 161 |
cleared. |
| 162 |
|
| 163 |
Signed-off-by: Ben Gardiner <[email protected]> |
| 164 |
|
| 165 |
commit 086a4181459ff5723d71a1604ddef058030155dd |
| 166 |
Author: Wolfram Sang <[email protected]> |
| 167 |
Date: Sun Apr 5 23:24:50 2020 +0200 |
| 168 |
|
| 169 |
Return proper type when sp_get_port_transport() fails |
| 170 |
|
| 171 |
The above function must always return an 'enum sp_transport'. So, return |
| 172 |
NATIVE if no port is present because its effective meaning within the |
| 173 |
API is "you shouldn't call any transport-specific functions for this |
| 174 |
port handle". |
| 175 |
|
| 176 |
Fixes bug #1531. |
| 177 |
|
| 178 |
Signed-off-by: Wolfram Sang <[email protected]> |
| 179 |
|
| 180 |
commit ffbfc5c76ba8100d21d0141478a6c0d761ecfb2f |
| 181 |
Author: Leon Varga <[email protected]> |
| 182 |
Date: Tue Mar 3 14:18:53 2020 +0100 |
| 183 |
|
| 184 |
Open the file descriptor of a serial port on POSIX systems exclusively |
| 185 |
|
| 186 |
This fixes bug #1510. |
| 187 |
|
| 188 |
commit 0a24247de8f66911d062ec0e1ec8dfb7948bbf5a |
| 189 |
Author: Uwe Hermann <[email protected]> |
| 190 |
Date: Thu Mar 26 22:38:41 2020 +0100 |
| 191 |
|
| 192 |
examples/send_receive: Fix receive check. |
| 193 |
|
| 194 |
commit 251890e3b9393ddb968345e04aa29b1ca7aee410 |
| 195 |
Author: Martin Ling <[email protected]> |
| 196 |
Date: Fri Feb 7 14:09:06 2020 +0000 |
| 197 |
|
| 198 |
Fix use of variable length array in send_receive example, for MSVC. |
| 199 |
|
| 200 |
commit ba49ee82dbe6877eef992df29dd6d2ba5ad5625b |
| 201 |
Author: Martin Ling <[email protected]> |
| 202 |
Date: Fri Feb 7 13:56:45 2020 +0000 |
| 203 |
|
| 204 |
Add send/receive example to VS2019 examples solution. |
| 205 |
|
| 206 |
commit 2913355f7e78de7bd79d673b0b46dbcfc9fa687c |
| 207 |
Author: Martin Ling <[email protected]> |
| 208 |
Date: Fri Feb 7 11:16:32 2020 +0000 |
| 209 |
|
| 210 |
windows: Ignore fParity flag which is always 0 after GetCommState(). |
| 211 |
|
| 212 |
This is a known bug in Windows: https://stackoverflow.com/a/36650872 |
| 213 |
|
| 214 |
Reported here: https://github.com/martinling/libserialport/issues/36 |
| 215 |
|
| 216 |
commit 6711e43e9b1f12756eb0fd5272dbc4e2cd5a04df |
| 217 |
Author: Martin Ling <[email protected]> |
| 218 |
Date: Fri Feb 7 10:48:48 2020 +0000 |
| 219 |
|
| 220 |
README: Remove note about old MinGW, it actually works fine. |
| 221 |
|
| 222 |
commit 75a280a59701f4adb6ab7d32921585aeefced726 |
| 223 |
Author: Martin Ling <[email protected]> |
| 224 |
Date: Fri Feb 7 10:39:00 2020 +0000 |
| 225 |
|
| 226 |
configure.ac: remove broken handling for cygwin as $host_os. |
| 227 |
|
| 228 |
I don't think these two mentions of cygwin ever did anything useful. |
| 229 |
In fact they stop libserialport being buildable under cygwin. |
| 230 |
|
| 231 |
The first one caused builds on cygwin to try to build windows.c, |
| 232 |
which uses the Win32 API, not the POSIX layer provided by cygwin. |
| 233 |
|
| 234 |
The second asserts that enumeration and port metadata are supported |
| 235 |
on cygwin, but that isn't the case. |
| 236 |
|
| 237 |
Without these matches for cygwin as $host_os, libserialport builds |
| 238 |
and works just fine on old-school cygwin with the original mingw32. |
| 239 |
|
| 240 |
The only reason that MSYS2 worked better is that it uses "msys" as |
| 241 |
the $host_os identifier, not cygwin. |
| 242 |
|
| 243 |
commit 7b0686ed58811b9cd7d78701887900bfe556f6b0 |
| 244 |
Author: Martin Ling <[email protected]> |
| 245 |
Date: Sun Feb 2 10:57:27 2020 +0000 |
| 246 |
|
| 247 |
Add remaining examples to examples/README. |
| 248 |
|
| 249 |
commit 4349b1f6a291c408782c77bdad01991755932f8f |
| 250 |
Author: Martin Ling <[email protected]> |
| 251 |
Date: Sun Feb 2 10:51:47 2020 +0000 |
| 252 |
|
| 253 |
Formatting fix for example descriptions. |
| 254 |
|
| 255 |
commit cd1a7d4361a4074d0c6ce55527c735afd7bcad88 |
| 256 |
Author: Martin Ling <[email protected]> |
| 257 |
Date: Sun Feb 2 10:51:07 2020 +0000 |
| 258 |
|
| 259 |
Add example of sending and receiving data. |
| 260 |
|
| 261 |
commit d81a4dfdc6f9779c13c6dd10b342e9d4c5a7ff97 |
| 262 |
Author: Martin Ling <[email protected]> |
| 263 |
Date: Sun Feb 2 09:36:52 2020 +0000 |
| 264 |
|
| 265 |
unix: Fix calculation of poll() timeout in sp_wait(). |
| 266 |
|
| 267 |
commit 78c3db9bfb86f854df2b3c36a35f29b476e6deee |
| 268 |
Author: Uwe Hermann <[email protected]> |
| 269 |
Date: Sun Jan 26 21:18:49 2020 +0100 |
| 270 |
|
| 271 |
Minor whitespace- and consistency fixes. |
| 272 |
|
| 273 |
commit 42b3cf3b987d8fbeaba9b59cfa0ae788731953bb |
| 274 |
Author: Martin Ling <[email protected]> |
| 275 |
Date: Sat Jan 25 16:06:49 2020 +0000 |
| 276 |
|
| 277 |
README: Add note on building for MSYS2/Cygwin. |
| 278 |
|
| 279 |
commit fb58f12ee9f3e24209b58e8bfb2822c54ad729b1 |
| 280 |
Author: Martin Ling <[email protected]> |
| 281 |
Date: Sat Jan 25 14:54:39 2020 +0000 |
| 282 |
|
| 283 |
Relax timing test in the other direction. |
| 284 |
|
| 285 |
On my test system under MSYS (Cygwin64), a period of 991ms was |
| 286 |
measured after a sleep of 1s. |
| 287 |
|
| 288 |
commit 2be41b1265e9c433a1a2af435e040388453fc603 |
| 289 |
Author: Martin Ling <[email protected]> |
| 290 |
Date: Sat Jan 25 14:51:56 2020 +0000 |
| 291 |
|
| 292 |
Fix building on Cygwin. |
| 293 |
|
| 294 |
There were two issues: first, feature test macros were only defined |
| 295 |
for __linux__, so defintions we needed were not included. Enable the |
| 296 |
same feature test macros for __CYGWIN__. |
| 297 |
|
| 298 |
Second, the Cygwin headers do not define TIOCOUTQ, needed to use |
| 299 |
ioctl() to get the number of bytes in the output queue. Return |
| 300 |
SP_ERR_SUPP on Cygwin for this operation. |
| 301 |
|
| 302 |
This fixes bug #963. |
| 303 |
|
| 304 |
commit f6abee5c78b1d4d7bcfd8bd08bd57baa5f011ba2 |
| 305 |
Author: Martin Ling <[email protected]> |
| 306 |
Date: Fri Jan 24 08:02:36 2020 +0000 |
| 307 |
|
| 308 |
Relax timing test because it's too tight for Windows. |
| 309 |
|
| 310 |
On my test system, a delay of 1016ms was measured after a |
| 311 |
sleep of 1000ms. |
| 312 |
|
| 313 |
commit 6339fa04d6bee629606ec110bc726ad2181544bb |
| 314 |
Author: Martin Ling <[email protected]> |
| 315 |
Date: Fri Jan 24 07:54:50 2020 +0000 |
| 316 |
|
| 317 |
README: update instructions for building with MSYS2. |
| 318 |
|
| 319 |
commit 28981e079352923629def80af29437261911c586 |
| 320 |
Author: Martin Ling <[email protected]> |
| 321 |
Date: Fri Jan 24 07:05:50 2020 +0000 |
| 322 |
|
| 323 |
README: update build instructions with VS2019/MSBuild options. |
| 324 |
|
| 325 |
commit 67b55d10b8570d76dc579ab0ba5657d4645cbd19 |
| 326 |
Author: Martin Ling <[email protected]> |
| 327 |
Date: Fri Jan 24 05:59:29 2020 +0000 |
| 328 |
|
| 329 |
Add Visual Studio projects and solution to build example programs. |
| 330 |
|
| 331 |
commit d8c4d388e83085af859ab2a322707dceb6ac700d |
| 332 |
Author: Martin Ling <[email protected]> |
| 333 |
Date: Fri Jan 24 06:24:59 2020 +0000 |
| 334 |
|
| 335 |
Fix use of variable length local array in await_events example. |
| 336 |
|
| 337 |
This prevented building with MSVC. |
| 338 |
|
| 339 |
commit d6412d280180ed87cb07578d5d15d09d775b9f7d |
| 340 |
Author: Martin Ling <[email protected]> |
| 341 |
Date: Fri Jan 24 05:14:47 2020 +0000 |
| 342 |
|
| 343 |
windows: Fix another CreateFile usage. |
| 344 |
|
| 345 |
When built with MSVC with unicode enabled, this gave: |
| 346 |
|
| 347 |
warning C4133: 'function': incompatible types - from 'char *' to 'LPCWSTR' |
| 348 |
|
| 349 |
due to CreateFile expanding to CreateFileW which accepts UTF-16 filenames. |
| 350 |
|
| 351 |
The device name used here is in 8-bit format, having come from a call to |
| 352 |
wc_to_utf8() in either get_root_hub_name() or get_external_hub_name(). So |
| 353 |
we need to use CreateFileA. |
| 354 |
|
| 355 |
commit 60fc49ceab499a979ba9053cce86944335ab5488 |
| 356 |
Author: Martin Ling <[email protected]> |
| 357 |
Date: Fri Jan 24 05:06:55 2020 +0000 |
| 358 |
|
| 359 |
windows: Fix a warning on size_t to USHORT conversion. |
| 360 |
|
| 361 |
Building with MSVC gave: |
| 362 |
warning C4267: '=': conversion from 'size_t' to 'USHORT', possible loss of data |
| 363 |
|
| 364 |
The value here is known to be safe for the sizes involved. Add an |
| 365 |
explicit cast to suppress the warning. |
| 366 |
|
| 367 |
commit 41fc921ce47672ffc297c894c83e8469cfed6d3e |
| 368 |
Author: Martin Ling <[email protected]> |
| 369 |
Date: Fri Jan 24 05:03:49 2020 +0000 |
| 370 |
|
| 371 |
windows: Fix a warning on conversion to unsigned int. |
| 372 |
|
| 373 |
The result should be safe because we only use this function on time |
| 374 |
differences as part of timeout calculations, not on absolute times. |
| 375 |
|
| 376 |
Add an explicit cast to suppress the warning. |
| 377 |
|
| 378 |
commit 528e8c0002cf71b6f00602022dacd4996a213522 |
| 379 |
Author: Martin Ling <[email protected]> |
| 380 |
Date: Fri Jan 24 04:55:32 2020 +0000 |
| 381 |
|
| 382 |
windows: Fix warnings for conversions in time_as_timeval(). |
| 383 |
|
| 384 |
Building with MSVC gave: |
| 385 |
|
| 386 |
warning C4244: '=': conversion from 'LONGLONG' to 'long', possible loss of data |
| 387 |
|
| 388 |
when assigning the results of these calculation to the long fields |
| 389 |
of struct timeval. The result should be OK, but put an explicit |
| 390 |
cast in to make the change clear and suppress the warning. |
| 391 |
|
| 392 |
commit 988ace6c9f8035e5835847d38a6dbf654ea216da |
| 393 |
Author: Martin Ling <[email protected]> |
| 394 |
Date: Fri Jan 24 04:44:47 2020 +0000 |
| 395 |
|
| 396 |
windows: Avoid leak of write buffer on realloc failure. |
| 397 |
|
| 398 |
VS2019 IntelliSense reported: |
| 399 |
|
| 400 |
Warning C6308: 'realloc' might return null pointer: assigning null |
| 401 |
pointer to 'port->write_buf', which is passed as an |
| 402 |
argument to 'realloc', will cause the original memory |
| 403 |
block to be leaked. |
| 404 |
|
| 405 |
This is correct, we would leak the buffer on a realloc failure. |
| 406 |
|
| 407 |
Put the realloc result in a separate variable and handle the error |
| 408 |
path before assigning the result to port->write_buf. |
| 409 |
|
| 410 |
commit bf40b1cea9eb2e13d13f05118fe11b43be621485 |
| 411 |
Author: Martin Ling <[email protected]> |
| 412 |
Date: Fri Jan 24 04:30:22 2020 +0000 |
| 413 |
|
| 414 |
windows: Use correct variant of FormatMessage. |
| 415 |
|
| 416 |
When built with MSVC and unicode enabled, using 'message' gave: |
| 417 |
|
| 418 |
warning C4133: 'initializing': incompatible types - from 'TCHAR *' to 'char *' |
| 419 |
|
| 420 |
FormatMessage expands to either FormatMessageA or FormatMessageW |
| 421 |
depending if unicode is enabled, and generates either a char (8-bit) |
| 422 |
or WCHAR (UTF-16) string accordingly. |
| 423 |
|
| 424 |
Since sp_last_error_message() returns char *, we must use the 8-bit |
| 425 |
variant. The message will be encoded in the current code page. |
| 426 |
|
| 427 |
commit e47c7dcbffa04583d1e94d9c359784fc14a59d88 |
| 428 |
Author: Martin Ling <[email protected]> |
| 429 |
Date: Fri Jan 24 04:00:13 2020 +0000 |
| 430 |
|
| 431 |
windows: Use correct variant of CreateFile. |
| 432 |
|
| 433 |
When built with MSVC and unicode enabled, using CreateFile gave: |
| 434 |
|
| 435 |
warning C4133: 'function': incompatible types - from 'char *' to 'LPCWSTR' |
| 436 |
|
| 437 |
CreateFile is a macro expanding to either CreateFileW if unicode |
| 438 |
mode is enabled, or CreateFileA if not. |
| 439 |
|
| 440 |
For CreateFileW, the filename is a UTF-16 string. For CreateFileA |
| 441 |
it is an 'ANSI' string, meaning 8-bit chars in the current Windows |
| 442 |
code page. |
| 443 |
|
| 444 |
We do need to stick to 8-bit strings for port names, since |
| 445 |
sp_get_port_by_name() and sp_get_port_name() are defined with |
| 446 |
char * types, and that is what we store in struct sp_port. So |
| 447 |
CreateFileA is the correct version to use. |
| 448 |
|
| 449 |
Since Windows serial port names are always just 'COM' and a digit, |
| 450 |
with a '\\.\' prefix for higher numbers, encoding is fortunately |
| 451 |
not an issue - ASCII, UTF-8 and all the Windows code pages seem to |
| 452 |
be equivalent for these characters. |
| 453 |
|
| 454 |
We should however explicitly document what the encoding of strings |
| 455 |
accepted and returned by libserialport is. |
| 456 |
|
| 457 |
commit 2149db9e932c7e45c5f9b68465d5750ad94230a3 |
| 458 |
Author: Martin Ling <[email protected]> |
| 459 |
Date: Fri Jan 24 03:11:47 2020 +0000 |
| 460 |
|
| 461 |
Fix some warnings for size_t, DWORD and int conversions. |
| 462 |
|
| 463 |
These cases are all in the sp_[non]blocking_{read,write} functions. |
| 464 |
|
| 465 |
On MSVC, these conversions would generate warnings such as: |
| 466 |
warning C4267: '=': conversion from 'size_t' to 'DWORD', possible loss of data |
| 467 |
|
| 468 |
The warnings are genuine. There are some places where overflow is technically |
| 469 |
possible, due to our use of size_t for sizes in function parameters (unsigned |
| 470 |
64-bit on Windows x64), but an enum for return values (typically signed int |
| 471 |
and 32-bit, but not guaranteed to be so by the standards), plus the Win32 API |
| 472 |
usage of DWORD (unsigned 32-bit) for sizes in ReadFile/WriteFile. |
| 473 |
|
| 474 |
However, overflow in practice would require reading/writing more than 2GB |
| 475 |
over a serial port in a single call and is therefore unlikely to be a |
| 476 |
real-world concern. I have therefore not tried to catch those cases - but the |
| 477 |
places it is possible do now have explicit casts to the smaller types so that |
| 478 |
they are more obvious. |
| 479 |
|
| 480 |
We could document and test for a maximum read/write size of INT_MAX, but that |
| 481 |
would still depend on the storage of 'enum sp_return' being at least a signed |
| 482 |
int, which as I understand it the C standard does not require. |
| 483 |
|
| 484 |
To be absolutely correct we would need a different API where sp_return |
| 485 |
was only used for result codes, and the read/write functions took a |
| 486 |
pointer to size_t for result sizes. |
| 487 |
|
| 488 |
commit 4651adb4f6fb37dbd15d3d73ebf513bde1892b92 |
| 489 |
Author: Martin Ling <[email protected]> |
| 490 |
Date: Fri Jan 24 03:01:23 2020 +0000 |
| 491 |
|
| 492 |
Replace some usages of int with size_t to fix overflow warnings. |
| 493 |
|
| 494 |
On MSVC, these gave the following warning: |
| 495 |
|
| 496 |
warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data |
| 497 |
|
| 498 |
commit 75f468923b9805207ce62f007f85c13444df314b |
| 499 |
Author: Martin Ling <[email protected]> |
| 500 |
Date: Fri Jan 24 02:56:50 2020 +0000 |
| 501 |
|
| 502 |
Add project files for Visual Studio 2019. |
| 503 |
|
| 504 |
commit e919e2efaae2d5f41f56c568ceced843d24996d1 |
| 505 |
Author: Martin Ling <[email protected]> |
| 506 |
Date: Fri Jan 24 02:56:05 2020 +0000 |
| 507 |
|
| 508 |
Adjust headers and include ordering for MSVC support. |
| 509 |
|
| 510 |
commit a20ed2965bb4921215d3657546f5a09bfd57115e |
| 511 |
Author: Martin Ling <[email protected]> |
| 512 |
Date: Thu Jan 23 02:54:23 2020 +0000 |
| 513 |
|
| 514 |
Add example of waiting for events. |
| 515 |
|
| 516 |
commit 4720053160d21db8c4da8202a139be1935990e5e |
| 517 |
Author: Martin Ling <[email protected]> |
| 518 |
Date: Mon Jan 20 08:28:25 2020 +0000 |
| 519 |
|
| 520 |
Add an example of proper error handling. |
| 521 |
|
| 522 |
commit 6dba84477940e75c3ff13c84ce96610f657f50af |
| 523 |
Author: Martin Ling <[email protected]> |
| 524 |
Date: Mon Jan 20 07:40:10 2020 +0000 |
| 525 |
|
| 526 |
Add some more narrative docs on the configuration API. |
| 527 |
|
| 528 |
commit 9ddf08588d4915aa9a407525075d2d29951c8f16 |
| 529 |
Author: Martin Ling <[email protected]> |
| 530 |
Date: Mon Jan 20 06:58:54 2020 +0000 |
| 531 |
|
| 532 |
Add example of how to configure a port. |
| 533 |
|
| 534 |
commit 0838c979ccbf88bbad6598250237c248da790029 |
| 535 |
Author: Martin Ling <[email protected]> |
| 536 |
Date: Mon Jan 20 05:02:27 2020 +0000 |
| 537 |
|
| 538 |
Use SP_API prefix for functions in libserialport.h. |
| 539 |
|
| 540 |
For MSVC, we need to set the __declspec() for public symbols to |
| 541 |
dllexport or dllimport, depending if we are building or using the |
| 542 |
library. So, detect MSVC and define SP_API appropriately if found. |
| 543 |
We use the LIBSERIALPORT_MSBUILD define to distinguish between |
| 544 |
building and using the library, which will need to be set in the |
| 545 |
project configuration when building the library using MS tools. |
| 546 |
|
| 547 |
For normal client use of the header on other systems, we need to |
| 548 |
define SP_API to nothing to avoid it being undefined, but we need |
| 549 |
to avoid doing this in the case where we are including the header |
| 550 |
whilst building the library with autotools and SP_API is already |
| 551 |
set by autoconf. So define LIBSERIALPORT_ATBUILD in AM_CFLAGS, |
| 552 |
and don't touch SP_API in the header if that's set. |
| 553 |
|
| 554 |
commit f6e32b2dfa322aa4bd4a279a46d588e0e73ea238 |
| 555 |
Author: Martin Ling <[email protected]> |
| 556 |
Date: Mon Jan 20 04:51:52 2020 +0000 |
| 557 |
|
| 558 |
Use a static header file, not dependent on autoconf. |
| 559 |
|
| 560 |
commit 6aaf844863e63b71b5cf6b557bf3cd9257b5cffd |
| 561 |
Author: Martin Ling <[email protected]> |
| 562 |
Date: Sun Dec 29 17:15:08 2019 +0100 |
| 563 |
|
| 564 |
windows: wc_to_utf8: use some clearer variable names. |
| 565 |
|
| 566 |
commit fdbb55ae1ee5de5955dac808e468e540893f593b |
| 567 |
Author: Martin Ling <[email protected]> |
| 568 |
Date: Sun Dec 29 14:22:00 2019 +0100 |
| 569 |
|
| 570 |
windows: Don't try to include <unistd.h>. |
| 571 |
|
| 572 |
This should enable compatibility with MSVC. |
| 573 |
|
| 574 |
commit a9900f8b6463c3c4f8b34853156e9d49eadf4556 |
| 575 |
Author: Martin Ling <[email protected]> |
| 576 |
Date: Sat Dec 28 22:38:04 2019 +0100 |
| 577 |
|
| 578 |
windows: wc_to_utf8: Eliminate variable-length array. |
| 579 |
|
| 580 |
This should enable compatibility with MSVC. |
| 581 |
|
| 582 |
commit e9d78d82c4a2bc10863af5511baeae9a954f50db |
| 583 |
Author: Martin Ling <[email protected]> |
| 584 |
Date: Mon Jan 20 02:01:38 2020 +0000 |
| 585 |
|
| 586 |
windows: Use a fixed worst-case WRITEFILE_MAX_SIZE. |
| 587 |
|
| 588 |
This saves needing to include and isolate the DDK headers. |
| 589 |
|
| 590 |
commit 8488868187ed26f8abd057775ff3cfd2aaf7ea35 |
| 591 |
Author: Martin Ling <[email protected]> |
| 592 |
Date: Mon Jan 20 01:42:00 2020 +0000 |
| 593 |
|
| 594 |
windows: Handle the case where there are no serial ports at all. |
| 595 |
|
| 596 |
It's possible for the HARDWARE\DEVICEMAP\SERIALCOMM key to not exist in |
| 597 |
the registry if there are no serial ports at all and never have been, as |
| 598 |
discovered on my rather minimalist gaming machine. |
| 599 |
|
| 600 |
Handle that case gracefully and return an empty list. |
| 601 |
|
| 602 |
commit c79e0ac8ef8e978de0a5bc15af0b555ba59d7da0 |
| 603 |
Author: Martin Ling <[email protected]> |
| 604 |
Date: Mon Jan 20 01:28:17 2020 +0000 |
| 605 |
|
| 606 |
windows: Handle registry lookup failures correctly. |
| 607 |
|
| 608 |
RegOpenKeyEx() and RegQueryInfoKey() return system error codes directly, |
| 609 |
not by setting the thread-local errno equivalent that is returned by |
| 610 |
GetLastError(). |
| 611 |
|
| 612 |
When returning SP_ERR_FAIL, our API specifies that sp_last_error_code() |
| 613 |
may be called immediately afterwards to get the system error code. In |
| 614 |
this case that would not work, as it would call GetLastError() and miss |
| 615 |
the directly-returned result. |
| 616 |
|
| 617 |
We therefore need to call SetLastError() with the error code before |
| 618 |
returning with SP_ERR_FAIL. |
| 619 |
|
| 620 |
commit 060d1d8a7398851288caf66059b7858cdd6ee11c |
| 621 |
Author: Martin Ling <[email protected]> |
| 622 |
Date: Sat Jan 4 00:13:58 2020 +0000 |
| 623 |
|
| 624 |
windows: Loop over WriteFile() if write size exceeds limit. |
| 625 |
|
| 626 |
Fixes #1469. |
| 627 |
|
| 628 |
commit 8073f87d45ee9dab4789ede78454df9dd2a65a0d |
| 629 |
Author: Martin Ling <[email protected]> |
| 630 |
Date: Mon Jan 20 03:43:49 2020 +0000 |
| 631 |
|
| 632 |
Add test program for timing functions. |
| 633 |
|
| 634 |
commit 39acdc47db65e64e43d52bea2e425751a96f9780 |
| 635 |
Author: Martin Ling <[email protected]> |
| 636 |
Date: Sat Jan 4 00:43:41 2020 +0000 |
| 637 |
|
| 638 |
Move timing routines to separate file. |
| 639 |
|
| 640 |
commit bd72614f08d13a336403f8dbc3e41d038b7bf18b |
| 641 |
Author: Martin Ling <[email protected]> |
| 642 |
Date: Sat Jan 4 00:33:50 2020 +0000 |
| 643 |
|
| 644 |
Move commonly used start flag into timeout helpers. |
| 645 |
|
| 646 |
commit 9d1ca7c855fa612d623c44c5ca90ade0b5617a9e |
| 647 |
Author: Martin Ling <[email protected]> |
| 648 |
Date: Sat Jan 4 00:13:24 2020 +0000 |
| 649 |
|
| 650 |
Move special case for poll() timeout to call site. |
| 651 |
|
| 652 |
commit 3317d678de42aa183b88f466bd16459389d74828 |
| 653 |
Author: Martin Ling <[email protected]> |
| 654 |
Date: Fri Jan 3 23:50:31 2020 +0000 |
| 655 |
|
| 656 |
Support timing helpers on Windows. |
| 657 |
|
| 658 |
commit 08eb25f53a08e4ab26f4bb14fe7ba690c16e2fab |
| 659 |
Author: Martin Ling <[email protected]> |
| 660 |
Date: Fri Jan 3 23:33:48 2020 +0000 |
| 661 |
|
| 662 |
More generic solution for limiting per-call timeout. |
| 663 |
|
| 664 |
commit 32dbe2d2984c330642e2f7cad30fc7501a923e4c |
| 665 |
Author: Martin Ling <[email protected]> |
| 666 |
Date: Fri Jan 3 22:42:00 2020 +0000 |
| 667 |
|
| 668 |
Move repetitive timeout code into helper functions. |
| 669 |
|
| 670 |
commit 9a7945af84a4716af88c4c9b61fa35792174ddbb |
| 671 |
Author: Martin Ling <[email protected]> |
| 672 |
Date: Sun Sep 23 17:10:21 2018 +0100 |
| 673 |
|
| 674 |
Abstract all time handling operations. |
| 675 |
|
| 676 |
commit d9cc984fe7acc487d39366a98f1d3759f6129361 |
| 677 |
Author: Uwe Hermann <[email protected]> |
| 678 |
Date: Sun Jan 5 18:19:00 2020 +0100 |
| 679 |
|
| 680 |
Makefile.am: Add example files to the tarball. |
| 681 |
|
| 682 |
commit 44df4154801cb101d6f80d466e04ed19a1abac9c |
| 683 |
Author: Uwe Hermann <[email protected]> |
| 684 |
Date: Sun Jan 5 18:17:04 2020 +0100 |
| 685 |
|
| 686 |
Doxygen: Fix an issue causing missing #define documentation output. |
| 687 |
|
| 688 |
Searching for documented defines... |
| 689 |
[...]libserialport.h:1624: warning: documentation for unknown define SP_PACKAGE_VERSION_MAJOR found. |
| 690 |
[...]libserialport.h:1627: warning: documentation for unknown define SP_PACKAGE_VERSION_MINOR found. |
| 691 |
[...]libserialport.h:1630: warning: documentation for unknown define SP_PACKAGE_VERSION_MICRO found. |
| 692 |
[...]libserialport.h:1633: warning: documentation for unknown define SP_PACKAGE_VERSION_STRING found. |
| 693 |
[...]libserialport.h:1640: warning: documentation for unknown define SP_LIB_VERSION_CURRENT found. |
| 694 |
[...]libserialport.h:1643: warning: documentation for unknown define SP_LIB_VERSION_REVISION found. |
| 695 |
[...]libserialport.h:1646: warning: documentation for unknown define SP_LIB_VERSION_AGE found. |
| 696 |
[...]libserialport.h:1649: warning: documentation for unknown define SP_LIB_VERSION_STRING found. |
| 697 |
|
| 698 |
commit 89c3d63e1a36c243fa79edd8f914acd0c54f98db |
| 699 |
Author: Martin Ling <[email protected]> |
| 700 |
Date: Sun Jan 5 16:17:40 2020 +0000 |
| 701 |
|
| 702 |
Update Doxyfile for doxygen 1.8.16. |
| 703 |
|
| 704 |
commit ee12a01e52c19909b93ef4e23395a3374797d41e |
| 705 |
Author: Martin Ling <[email protected]> |
| 706 |
Date: Sun Jan 5 14:53:09 2020 +0000 |
| 707 |
|
| 708 |
Release examples as public domain. |
| 709 |
|
| 710 |
commit ad19d604936e55045bbb1b7c71fcd838035661d0 |
| 711 |
Author: Martin Ling <[email protected]> |
| 712 |
Date: Sun Jan 5 03:28:58 2020 +0000 |
| 713 |
|
| 714 |
Add some additional formatting hints to Doxygen comments. |
| 715 |
|
| 716 |
commit 7c8d67efdc711b9ba942a83153200d7185adf929 |
| 717 |
Author: Martin Ling <[email protected]> |
| 718 |
Date: Sun Jan 5 03:04:38 2020 +0000 |
| 719 |
|
| 720 |
Integrate examples into Doxygen. |
| 721 |
|
| 722 |
commit 8c1a14e65805727ec63f4c908eb0f253a04a738b |
| 723 |
Author: Martin Ling <[email protected]> |
| 724 |
Date: Sun Jan 5 02:04:06 2020 +0000 |
| 725 |
|
| 726 |
Add examples directory with two example programs. |
| 727 |
|
| 728 |
commit abd31fd9f99f225d11f9df1ae33f93a419c9d24d |
| 729 |
Author: Martin Ling <[email protected]> |
| 730 |
Date: Sat Jan 4 23:00:17 2020 +0000 |
| 731 |
|
| 732 |
android: Fix build compatibility with NDK platform 21 and up. |
| 733 |
|
| 734 |
In platforms 21 and higher of the NDK, linux/serial.h is available, |
| 735 |
which it was not before. This broke the build, because the configure |
| 736 |
script would detect the availability of 'struct serial_struct' in that |
| 737 |
header and set HAVE_STRUCT_SERIAL_STRUCT, but the #ifndef __ANDROID__ |
| 738 |
in libserialport_internal.h stopped us actually including the header. |
| 739 |
|
| 740 |
This change fixes things to build with all versions of the NDK, and is |
| 741 |
tested with builds for arm from versions 9 to 24. |
| 742 |
|
| 743 |
Version 21 also added availability of tcdrain(), so we also use that |
| 744 |
where available, and only use the direct ioctl() method on NDK < 21. |
| 745 |
|
| 746 |
Fixes #1078. |
| 747 |
|
| 748 |
commit 277f832a6a15cf54cfb1a45cc7f1462951bf42cd |
| 749 |
Author: Martin Ling <[email protected]> |
| 750 |
Date: Sat Jan 4 15:39:54 2020 +0000 |
| 751 |
|
| 752 |
Define _POSIX_C_SOURCE to 199309L to get clock_gettime(). |
| 753 |
|
| 754 |
commit 9118f753f42781b441dd44651d49ded4a195ba6b |
| 755 |
Author: Martin Ling <[email protected]> |
| 756 |
Date: Tue Dec 31 16:50:55 2019 +0100 |
| 757 |
|
| 758 |
linux: Fix compile warning on gcc 6+ for readlink() call. |
| 759 |
|
| 760 |
Fixes #1268. |
| 761 |
|
| 762 |
commit fa106ef155a8b18e1dc87ccc6d4cf102068fe114 |
| 763 |
Author: Christian Seiler <[email protected]> |
| 764 |
Date: Sun Oct 15 19:28:05 2017 +0200 |
| 765 |
|
| 766 |
Use O_CLOEXEC where available |
| 767 |
|
| 768 |
Ensures that the file descriptor is (by default) not passed to |
| 769 |
subprocesses spawned by applications using libserialport. |
| 770 |
|
| 771 |
This fixes bug #1051. |
| 772 |
|
| 773 |
commit bd0fb6094f3b3cf7368bb17b09e30dd3408f9eae |
| 774 |
Author: Uwe Hermann <[email protected]> |
| 775 |
Date: Sat Dec 28 23:39:15 2019 +0100 |
| 776 |
|
| 777 |
windows: Fix a build error. |
| 778 |
|
| 779 |
serialport.c: In function 'get_time': |
| 780 |
serialport.c:64:6: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] |
| 781 |
if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) |
| 782 |
^ |
| 783 |
serialport.c:64:20: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) |
| 784 |
if (clock_gettime(CLOCK_MONOTONIC, &ts) == -1) |
| 785 |
^ |
| 786 |
serialport.c:64:20: note: each undeclared identifier is reported only once for each function it appears in |
| 787 |
serialport.c:65:17: error: 'CLOCK_REALTIME' undeclared (first use in this function) |
| 788 |
clock_gettime(CLOCK_REALTIME, &ts); |
| 789 |
^ |
| 790 |
serialport.c: At top level: |
| 791 |
serialport.c:60:13: warning: 'get_time' defined but not used [-Wunused-function] |
| 792 |
static void get_time(struct timeval *time) |
| 793 |
^ |
| 794 |
|
| 795 |
commit 7fb9a7b0a72bea83d05ef19e09e6b95b066b523d |
| 796 |
Author: Martin Ling <[email protected]> |
| 797 |
Date: Sun Sep 23 18:03:32 2018 +0100 |
| 798 |
|
| 799 |
Fall back to CLOCK_REALTIME if CLOCK_MONOTONIC not usable. |
| 800 |
|
| 801 |
Sounds like this may be necessary on some older systems. |
| 802 |
|
| 803 |
commit 192e77492a2a53a89a6cb9f34f3aed634ffd6956 |
| 804 |
Author: Martin Ling <[email protected]> |
| 805 |
Date: Sun Sep 23 17:43:46 2018 +0100 |
| 806 |
|
| 807 |
Use mach_absolute_time() on OSX without clock_gettime(). |
| 808 |
|
| 809 |
This should fix #759 for OSX versions below 10.12. |
| 810 |
|
| 811 |
commit f40ea9d461dd270caefed6460c62ab142476b211 |
| 812 |
Author: Martin Ling <[email protected]> |
| 813 |
Date: Sun Sep 23 17:28:11 2018 +0100 |
| 814 |
|
| 815 |
Use clock_gettime(CLOCK_MONOTONIC) if available. |
| 816 |
|
| 817 |
Should fix #759 except on OSX versions below 10.12, which don't |
| 818 |
have clock_gettime. |
| 819 |
|
| 820 |
commit 46bdc20c26c595e958d33a72f5eb1c8055594a88 |
| 821 |
Author: Martin Ling <[email protected]> |
| 822 |
Date: Sun Sep 23 17:22:20 2018 +0100 |
| 823 |
|
| 824 |
configure: Check whether clock_gettime is available. |
| 825 |
|
| 826 |
commit 573feabc63340ef853108762682dce8aa4644cb5 |
| 827 |
Author: Martin Ling <[email protected]> |
| 828 |
Date: Sun Sep 23 17:19:50 2018 +0100 |
| 829 |
|
| 830 |
Move all gettimeofday() calls into a wrapper function. |
| 831 |
|
| 832 |
commit b457865b8f42b68953bf2910dcc02d3fe27fc2a8 |
| 833 |
Author: Martin Ling <[email protected]> |
| 834 |
Date: Sat Dec 28 19:47:06 2019 +0100 |
| 835 |
|
| 836 |
windows: Use architecture-specific size limit for WriteFile calls. |
| 837 |
|
| 838 |
commit 39df7833f717d172ed067cda4d3ad7f50e3ea0a5 |
| 839 |
Author: Martin Ling <[email protected]> |
| 840 |
Date: Mon Jul 3 21:43:38 2017 +0100 |
| 841 |
|
| 842 |
windows: Use an adaptively sized buffer for nonblocking writes. |
| 843 |
|
| 844 |
commit 6bd6a8b5203633baf5593eae72438a180c77b489 |
| 845 |
Author: Martin Ling <[email protected]> |
| 846 |
Date: Mon Jul 3 20:56:21 2017 +0100 |
| 847 |
|
| 848 |
windows: Await completion of previous write before changing config. |
| 849 |
|
| 850 |
commit 55ab7e0b6b814d68157aa83ba69f18135b1ab7c6 |
| 851 |
Author: Martin Ling <[email protected]> |
| 852 |
Date: Sat Dec 28 17:53:11 2019 +0100 |
| 853 |
|
| 854 |
unix: Fix handling of EAGAIN in sp_nonblocking_write(). |
| 855 |
|
| 856 |
commit 81243567bced0a1e6510811235c018fda0890285 |
| 857 |
Author: Uwe Hermann <[email protected]> |
| 858 |
Date: Sat Dec 28 19:23:30 2019 +0100 |
| 859 |
|
| 860 |
Random minor whitespace fixes. |
| 861 |
|
| 862 |
commit 2e0437c28e272ff6c64c58d9b032986979289fae |
| 863 |
Author: Uwe Hermann <[email protected]> |
| 864 |
Date: Sat Dec 28 17:08:49 2019 +0100 |
| 865 |
|
| 866 |
windows: Fix incorrect wc_to_utf8() calls. |
| 867 |
|
| 868 |
This fixes bug #1079. |
| 869 |
|
| 870 |
commit 38b71192dd70336eba219994b0a4219a48e4cbe1 |
| 871 |
Author: Martin Jackson <[email protected]> |
| 872 |
Date: Sun Sep 10 00:37:48 2017 +0200 |
| 873 |
|
| 874 |
windows: wc_to_utf8(): Fix a WCHAR related issue causing crashes. |
| 875 |
|
| 876 |
In wc_to_utf8() in windows.c, the zero terminator is written to an invalid |
| 877 |
array index, which results in 2 bytes being zeroed in a random place in the |
| 878 |
stack. This sometimes causes a crash when running sp_list_ports() (depending |
| 879 |
on string length and compiler optimisation settings). |
| 880 |
|
| 881 |
sizeof(wc_str) returns the size in bytes, so cannot be used directly as an |
| 882 |
index into that array, it should be divided by sizeof(WCHAR). Otherwise the |
| 883 |
zero terminator index is approximately twice what it should be. |
| 884 |
|
| 885 |
This fixes bug #1031. |
| 886 |
|
| 887 |
commit a84ffb537270666b652f70e4f836e88cd331d683 |
| 888 |
Author: Uwe Hermann <[email protected]> |
| 889 |
Date: Sun Dec 17 18:15:56 2017 +0100 |
| 890 |
|
| 891 |
README: Add link to bug tracker. |
| 892 |
|
| 893 |
commit 42ad781896eb0e3650100570721feba0576d0805 |
| 894 |
Author: Uwe Hermann <[email protected]> |
| 895 |
Date: Fri Dec 15 18:38:11 2017 +0100 |
| 896 |
|
| 897 |
README: Add missing contact info. |
| 898 |
|
| 899 |
commit 62ed9f801abe409d3f7c1cfa91287896187f2ac0 |
| 900 |
Author: Martin Ling <[email protected]> |
| 901 |
Date: Mon Jul 3 20:55:13 2017 +0100 |
| 902 |
|
| 903 |
windows: Break out helper function for awaiting previous write completion. |
| 904 |
|
| 905 |
commit 15541ebd7832406b89a47eebd2367ff8768c832e |
| 906 |
Author: Stefan Tauner <[email protected]> |
| 907 |
Date: Sun May 21 23:44:03 2017 +0200 |
| 908 |
|
| 909 |
Remove redundant inclusions of limits.h |
| 910 |
|
| 911 |
The first one would be included for Windows too which seems to be |
| 912 |
an error. The second one is obviously redundant. |
| 913 |
|
| 914 |
commit 95bad38c5b073f8e44e525de3846e5538373eb10 |
| 915 |
Author: Stefan Tauner <[email protected]> |
| 916 |
Date: Sun May 21 23:42:06 2017 +0200 |
| 917 |
|
| 918 |
Canonicalize symlinks in portnames |
| 919 |
|
| 920 |
This allows users to supply symlinks created e.g. by udev rules instead |
| 921 |
of the actual device names. |
| 922 |
|
| 923 |
commit 2a6c24be33d739798e8e82abdc99ce432bcd8da0 |
| 924 |
Author: Uwe Hermann <[email protected]> |
| 925 |
Date: Wed Sep 13 15:04:35 2017 +0200 |
| 926 |
|
| 927 |
FreeBSD: Add missing libusb-2.0 to pkg-config file. |
| 928 |
|
| 929 |
This fixes bug #1033. |
| 930 |
|
| 931 |
commit 6c8115820d2eb06ada96a48cdda7dc3467ae90d1 |
| 932 |
Author: Martin Ling <[email protected]> |
| 933 |
Date: Sun Mar 19 12:16:49 2017 +0000 |
| 934 |
|
| 935 |
Linux: fix for alpha where BOTHER is not defined. |
| 936 |
|
| 937 |
Fixes bug #363. |
| 938 |
|
| 939 |
commit d8de88de32a386cf21485898c6a9f8a4b5215a24 |
| 940 |
Author: Uwe Hermann <[email protected]> |
| 941 |
Date: Sun Mar 5 17:01:17 2017 +0100 |
| 942 |
|
| 943 |
configure summary: Show compiler version and flags. |
| 944 |
|
| 945 |
commit 0b53933127d00de8ae8e7ea11705942a62fbbc5d |
| 946 |
Author: Uwe Hermann <[email protected]> |
| 947 |
Date: Sun Mar 5 16:43:58 2017 +0100 |
| 948 |
|
| 949 |
configure summary: Show whether shared/static build is enabled. |
| 950 |
|
| 951 |
commit 5ec2f93bce2ec8d98b9c92e02dfb8a17fc9bb5df |
| 952 |
Author: Uwe Hermann <[email protected]> |
| 953 |
Date: Sun Mar 5 16:42:37 2017 +0100 |
| 954 |
|
| 955 |
configure summary: Slightly change formatting. |
| 956 |
|
| 957 |
commit df3b70a88849a50aad823a7c0a96ae83eb474a32 |
| 958 |
Author: Aurelien Jacobs <[email protected]> |
| 959 |
Date: Fri Oct 14 23:50:08 2016 +0200 |
| 960 |
|
| 961 |
use readdir() instead of the deprecated readir_r() |
| 962 |
|
| 963 |
readir() is threadsafe on both linux and freebsd anyway. |
| 964 |
The rationale behind the readdir_r() deprecation is in the glibc manual: |
| 965 |
https://www.gnu.org/software/libc/manual/html_node/Reading_002fClosing-Directory.html |
| 966 |
|
| 967 |
This fixes the following warning with recent glibc: |
| 968 |
|
| 969 |
linux.c: In function ‘list_ports’: |
| 970 |
linux.c:197:2: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations] |
| 971 |
while (!readdir_r(dir, &entry, &result) && result) { |
| 972 |
^~~~~ |
| 973 |
|
| 974 |
commit b2359c5c994c90f84b087cc4e463cdccf76ca1d7 |
| 975 |
Author: Paul Cercueil <[email protected]> |
| 976 |
Date: Mon Aug 29 15:05:20 2016 +0200 |
| 977 |
|
| 978 |
libserialport: Fix Linux files not compiled in with a toolchain for ucLinux |
| 979 |
|
| 980 |
Buildroot can create toolchains for the no-MMU flavour of Linux, with a triple |
| 981 |
containing 'uclinux' instead of just 'linux'. |
| 982 |
|
| 983 |
Signed-off-by: Paul Cercueil <[email protected]> |
| 984 |
|
| 985 |
commit 0c3f38b81b8968d78806a7a41ed351a870882b5e |
| 986 |
Author: Wolfram Sang <[email protected]> |
| 987 |
Date: Fri Feb 19 22:25:00 2016 +0100 |
| 988 |
|
| 989 |
linux: freebsd: do check on proper pointer |
| 990 |
|
| 991 |
We want to check here if we added something to the list, not if the |
| 992 |
function argument was valid. Problem spotted by Coverity, CID 50754. |
| 993 |
|
| 994 |
Signed-off-by: Wolfram Sang <[email protected]> |
| 995 |
|
| 996 |
commit 3fcdc9f7d5aa9bbae3041d80ab50b83e9bef182d |
| 997 |
Author: Uwe Hermann <[email protected]> |
| 998 |
Date: Sat Jan 9 01:13:45 2016 +0100 |
| 999 |
|
| 1000 |
Bump libtool version (not package version) to 1:0:1. |
| 1001 |
|
| 1002 |
The last release (0.1.0) had the libtool version (current:revision:age) |
| 1003 |
set to 0:0:0. Since this release doesn't change/remove any |
| 1004 |
interfaces (it does *add* new interfaces, though), 'current' and 'age' |
| 1005 |
are increased and 'revision' is set to 0, resulting in 1:0:1. |
| 1006 |
|
| 1007 |
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info |
| 1008 |
|
| 1009 |
Programs using libserialport don't need to be recompiled or relinked. |
| 1010 |
|
| 1011 |
commit 24a38c8094242cf4680d7f61508babdbb46bfdd5 |
| 1012 |
Author: Uwe Hermann <[email protected]> |
| 1013 |
Date: Sat Jan 9 00:48:39 2016 +0100 |
| 1014 |
|
| 1015 |
NEWS: Last updates for the upcoming 0.1.1 release. |
| 1016 |
|
| 1017 |
commit aee7d69195e25fb9e7b250e85df0b50368ddc810 |
| 1018 |
Author: Uwe Hermann <[email protected]> |
| 1019 |
Date: Wed Jan 27 08:19:38 2016 +0100 |
| 1020 |
|
| 1021 |
Fix ERROR_SEM_TIMEOUT issue on Windows. |
| 1022 |
|
| 1023 |
The sp_blocking_write() call was incorrectly returning an error upon |
| 1024 |
ERROR_SEM_TIMEOUT. It now returns 0 instead. |
| 1025 |
|
| 1026 |
commit 888fb45d66aada134f36fa9129499ec180161c0a |
| 1027 |
Author: Uwe Hermann <[email protected]> |
| 1028 |
Date: Fri Jan 22 15:30:44 2016 +0100 |
| 1029 |
|
| 1030 |
Fix sp_blocking_read_next() implementation on Windows. |
| 1031 |
|
| 1032 |
A ReadFile() call needed to check the actual number of bytes read, |
| 1033 |
instead of assuming all requested bytes were read. |
| 1034 |
|
| 1035 |
commit 02c8a1424d06cb97061a7ebf96231bdb08673b01 |
| 1036 |
Author: Martino Facchin <[email protected]> |
| 1037 |
Date: Wed Dec 16 19:07:49 2015 +0100 |
| 1038 |
|
| 1039 |
windows: Fix iSerial for composite devices. |
| 1040 |
|
| 1041 |
USB composite devices can contain an ACM serial interface. |
| 1042 |
On Windows, the correct iSerial descriptor field is assigned to the parent |
| 1043 |
(composite) device instead of to the actual serial interface. A bogus |
| 1044 |
value is returned if the serial interface is asked to provide the S/N. |
| 1045 |
This patch provides a fallback for this kind of device (tested on Android |
| 1046 |
with adb + cdc gadgets and on Arduino Zero Programming Port) |
| 1047 |
|
| 1048 |
commit aacba60dca204923c2be4ffbdd9e43cb795c4cce |
| 1049 |
Author: Martino Facchin <[email protected]> |
| 1050 |
Date: Fri Dec 18 12:40:58 2015 +0100 |
| 1051 |
|
| 1052 |
macosx: Fix port listing on ElCapitan. |
| 1053 |
|
| 1054 |
On OSX 10.11 (ElCapitan) the query for IOProviderClass fails to list ACM |
| 1055 |
devices as USB. |
| 1056 |
Add a fallback query using IOClass to correctly recognize these devices. |
| 1057 |
The fix has no effect on previous OSX versions (tested on Mavericks) |
| 1058 |
|
| 1059 |
commit 8062087ab346852563bf13eef38309c88d520bb7 |
| 1060 |
Author: Martin Ling <[email protected]> |
| 1061 |
Date: Tue Dec 29 02:36:04 2015 +0000 |
| 1062 |
|
| 1063 |
Change debug message to "Port not open" when a closed port is used. |
| 1064 |
|
| 1065 |
Fixes bug #710. |
| 1066 |
|
| 1067 |
commit 4d8195fe3f8b5d2a206b8c1c1edeb4e3e0208ccb |
| 1068 |
Author: Wolfram Sang <[email protected]> |
| 1069 |
Date: Mon Dec 28 14:33:40 2015 +0100 |
| 1070 |
|
| 1071 |
libserialport_internal: use new macro to enable timeradd, etc. |
| 1072 |
|
| 1073 |
Since glibc 2.20, the usage of _BSD_SOURCE is deprecated. Fix it like |
| 1074 |
described here: |
| 1075 |
|
| 1076 |
https://sourceware.org/glibc/wiki/Release/2.20#Deprecation_of__BSD_SOURCE_and__SVID_SOURCE_feature_macros |
| 1077 |
|
| 1078 |
This fixes bug #716. |
| 1079 |
|
| 1080 |
Signed-off-by: Wolfram Sang <[email protected]> |
| 1081 |
|
| 1082 |
commit ae2c5825e79ab5b38a8ca53941df6d73679a52e6 |
| 1083 |
Author: Martin Ling <[email protected]> |
| 1084 |
Date: Tue Dec 8 20:08:49 2015 +0000 |
| 1085 |
|
| 1086 |
windows: Handle ERROR_IO_PENDING from ReadFile in sp_nonblocking_read(). |
| 1087 |
|
| 1088 |
This fixes bug #707. |
| 1089 |
|
| 1090 |
commit 127d8d0ce7901d87b636efb8f865e80d3d2f08b4 |
| 1091 |
Author: Martin Ling <[email protected]> |
| 1092 |
Date: Tue Oct 13 15:04:03 2015 +0100 |
| 1093 |
|
| 1094 |
sp_wait: Avoid overflow of timeout parameter to poll(). |
| 1095 |
|
| 1096 |
commit 1a584c45b02456ebcb197ba801b0ceae810e84e3 |
| 1097 |
Author: Daniel Elstner <[email protected]> |
| 1098 |
Date: Sun Sep 13 20:04:31 2015 +0200 |
| 1099 |
|
| 1100 |
Build: Include config.h first in all source files |
| 1101 |
|
| 1102 |
commit 962143bc5c3a9a6e130cc1273ab465238c178d70 |
| 1103 |
Author: Daniel Elstner <[email protected]> |
| 1104 |
Date: Thu Sep 10 22:03:07 2015 +0200 |
| 1105 |
|
| 1106 |
Build: Use GNUMAKEFLAGS and $@ |
| 1107 |
|
| 1108 |
commit c37c9f348d015f1fcec1d8597458418bf1300565 |
| 1109 |
Author: Daniel Elstner <[email protected]> |
| 1110 |
Date: Thu Aug 27 11:46:06 2015 +0200 |
| 1111 |
|
| 1112 |
autogen.sh: Create autostuff/ dir if it does not exist |
| 1113 |
|
| 1114 |
commit 07f61c713133654cab842107570d9e75c23c89c7 |
| 1115 |
Author: Daniel Elstner <[email protected]> |
| 1116 |
Date: Wed Aug 26 22:49:40 2015 +0200 |
| 1117 |
|
| 1118 |
configure: Enable largefile support on 32-bit systems |
| 1119 |
|
| 1120 |
commit 87f4a6f0214fbb83ec5147d1d7effff954d21414 |
| 1121 |
Author: Daniel Elstner <[email protected]> |
| 1122 |
Date: Wed Aug 26 22:01:03 2015 +0200 |
| 1123 |
|
| 1124 |
Clean up .gitignore |
| 1125 |
|
| 1126 |
commit f1c916ede191ec398cbe53d7f978078311c25785 |
| 1127 |
Author: Daniel Elstner <[email protected]> |
| 1128 |
Date: Wed Aug 26 21:42:32 2015 +0200 |
| 1129 |
|
| 1130 |
Build: Clean up configure.ac and Makefile.am |
| 1131 |
|
| 1132 |
Among other things, rename some config defines so we can take |
| 1133 |
advantage of standard Autoconf macros. |
| 1134 |
|
| 1135 |
commit ef08a6d52bf273e832691ff8121c5e5da37554af |
| 1136 |
Author: Daniel Elstner <[email protected]> |
| 1137 |
Date: Wed Aug 26 19:46:43 2015 +0200 |
| 1138 |
|
| 1139 |
Build: Reduce autogen.sh to trivial stub |
| 1140 |
|
| 1141 |
Use autoreconf instead of invoking the various Auto tools |
| 1142 |
separately. Get rid of the Darwin-specific guesswork -- it does |
| 1143 |
not make sense to handle this at the level of libserialport. |
| 1144 |
|
| 1145 |
People should set up their ACLOCAL_PATH themselves as appropriate |
| 1146 |
for their own system; just as they already need to set up various |
| 1147 |
other paths. |
| 1148 |
|
| 1149 |
commit f77bb46df5d883527da8b7eb4a5328ea7e990dbb |
| 1150 |
Author: Martin Ling <[email protected]> |
| 1151 |
Date: Sun May 31 13:07:20 2015 +0100 |
| 1152 |
|
| 1153 |
Update copyright notices. |
| 1154 |
|
| 1155 |
commit d931da1042f225bdc1a13cb7bc94501dce69a11e |
| 1156 |
Author: Martin Ling <[email protected]> |
| 1157 |
Date: Sun May 31 12:32:21 2015 +0100 |
| 1158 |
|
| 1159 |
Update AUTHORS file. |
| 1160 |
|
| 1161 |
commit e2b7ba1214a5e16f767975098ae406bbd5aa3d6a |
| 1162 |
Author: Uwe Hermann <[email protected]> |
| 1163 |
Date: Sat May 30 22:04:56 2015 +0200 |
| 1164 |
|
| 1165 |
NEWS: Update for the upcoming 0.1.1 release. |
| 1166 |
|
| 1167 |
commit 56fe6e320780ad3fdae6a059a0a8379d850c7e35 |
| 1168 |
Author: Martin Ling <[email protected]> |
| 1169 |
Date: Sat May 30 21:03:38 2015 +0100 |
| 1170 |
|
| 1171 |
doc: Provided channel is binary, not necessarily 8-bit. |
| 1172 |
|
| 1173 |
commit 6b8eee06823c3ba843c10ea2c6c19be517d34512 |
| 1174 |
Author: Martin Ling <[email protected]> |
| 1175 |
Date: Wed May 27 11:21:56 2015 +0100 |
| 1176 |
|
| 1177 |
Fix possible use of uninitialised variable in poll() setup. |
| 1178 |
|
| 1179 |
commit 49fd7b1bc249a122e4f27c5d383d7789eac61da3 |
| 1180 |
Author: Martin Ling <[email protected]> |
| 1181 |
Date: Wed May 27 10:53:46 2015 +0100 |
| 1182 |
|
| 1183 |
doc: Additional introductory text. |
| 1184 |
|
| 1185 |
commit deef6e528cabe1858c2c3c5fa45f789f3d701366 |
| 1186 |
Author: Martin Ling <[email protected]> |
| 1187 |
Date: Sun May 24 13:47:38 2015 +0100 |
| 1188 |
|
| 1189 |
doc: Expanded introductory text. |
| 1190 |
|
| 1191 |
commit ec4b55ae25c368e30a5db6ab6cb33bb6abeca46c |
| 1192 |
Author: Martin Ling <[email protected]> |
| 1193 |
Date: Sun May 24 13:47:09 2015 +0100 |
| 1194 |
|
| 1195 |
doc: Additional notes on sp_last_error_{code,message}. |
| 1196 |
|
| 1197 |
commit 46d8b0a039965cf68fb27a3b88b3c23a1e34d912 |
| 1198 |
Author: silverbuddy <[email protected]> |
| 1199 |
Date: Wed May 20 15:51:47 2015 +0300 |
| 1200 |
|
| 1201 |
Handle the case when /sys/class/tty/ entries are not symlinks. |
| 1202 |
|
| 1203 |
For example: |
| 1204 |
|
| 1205 |
$ uname -a |
| 1206 |
Linux RT-N66U 2.6.22.19 #1 Thu Feb 12 20:33:36 CST 2015 mips GNU/Linux |
| 1207 |
|
| 1208 |
$ ls -lF /sys/class/tty/ |
| 1209 |
drwxr-xr-x 2 foo root 0 May 18 18:12 ttyACM0/ |
| 1210 |
|
| 1211 |
$ ls -lF /sys/class/tty/ttyACM0/ |
| 1212 |
-r--r--r-- 1 foo root 4096 May 18 18:12 dev |
| 1213 |
lrwxrwxrwx 1 foo root 0 May 18 18:12 device -> ../../../devices/pci0000:00/0000:00:04.1/usb1/1-1/1-1.1/1-1.1:1.0/ |
| 1214 |
lrwxrwxrwx 1 foo root 0 May 18 18:12 subsystem -> ../../../class/tty/ |
| 1215 |
-rw-r--r-- 1 foo root 4096 May 18 18:12 uevent |
| 1216 |
|
| 1217 |
commit e5c2630eeed1825889dfe7cf0aaeb734b047ea74 |
| 1218 |
Author: Martin Ling <[email protected]> |
| 1219 |
Date: Thu May 7 10:07:55 2015 +0100 |
| 1220 |
|
| 1221 |
Add new sp_blocking_read_next() function. |
| 1222 |
|
| 1223 |
commit 0188a545c75b1012054efef41b8fb465ca90a37a |
| 1224 |
Author: Martin Ling <[email protected]> |
| 1225 |
Date: Thu May 7 10:06:33 2015 +0100 |
| 1226 |
|
| 1227 |
windows: Always check and set ReadTotalTimeoutMultiplier. |
| 1228 |
|
| 1229 |
This is not currently touched, but will be by the upcoming |
| 1230 |
sp_blocking_read_next() function. |
| 1231 |
|
| 1232 |
commit 76222ee5786427210f9596988c473193d41089b0 |
| 1233 |
Author: Martin Ling <[email protected]> |
| 1234 |
Date: Thu May 7 10:04:11 2015 +0100 |
| 1235 |
|
| 1236 |
posix: Make sure blocking operations can't time out without trying. |
| 1237 |
|
| 1238 |
commit c3cee38c3b27071347811d742fec3a95ab8746a5 |
| 1239 |
Author: Martin Ling <[email protected]> |
| 1240 |
Date: Thu May 7 09:41:41 2015 +0100 |
| 1241 |
|
| 1242 |
posix: Consistent debug output when blocking operations time out. |
| 1243 |
|
| 1244 |
commit 772c586133ec5e069233bac08a0bb0e86b36a6e8 |
| 1245 |
Author: Martin Ling <[email protected]> |
| 1246 |
Date: Thu May 7 09:41:02 2015 +0100 |
| 1247 |
|
| 1248 |
posix: Move FD_ZERO() and FD_SET() calls outside loops. |
| 1249 |
|
| 1250 |
commit 27911925c11b01943e2a569ebb71fe259c387329 |
| 1251 |
Author: Martin Ling <[email protected]> |
| 1252 |
Date: Thu May 7 09:19:47 2015 +0100 |
| 1253 |
|
| 1254 |
windows: Always check return value of GetOverlappedResult(). |
| 1255 |
|
| 1256 |
commit bbe566fe1c02b97469f57e35d7b6b5cfcf0ee9fa |
| 1257 |
Author: Martin Ling <[email protected]> |
| 1258 |
Date: Thu May 7 00:09:49 2015 +0100 |
| 1259 |
|
| 1260 |
windows: Restructure if/else blocks with unnecessary indentation. |
| 1261 |
|
| 1262 |
commit 8ebfaf896690c8be6832ccb32780c2b83630b357 |
| 1263 |
Author: Martin Ling <[email protected]> |
| 1264 |
Date: Wed May 6 20:18:37 2015 +0100 |
| 1265 |
|
| 1266 |
windows: restart_wait_if_needed(): Inline receive buffer check. |
| 1267 |
|
| 1268 |
This removes all the debug spam arising from calling sp_input_waiting(). |
| 1269 |
|
| 1270 |
commit 21ae5ce1970c4a1b27461d65468c2fb4ffa7d726 |
| 1271 |
Author: Martin Ling <[email protected]> |
| 1272 |
Date: Wed May 6 20:15:46 2015 +0100 |
| 1273 |
|
| 1274 |
windows: restart_wait_if_needed(): Skip buffer check if no bytes read. |
| 1275 |
|
| 1276 |
commit 94a314a806f69343ca7280982be230bcf28d1c2c |
| 1277 |
Author: Martin Ling <[email protected]> |
| 1278 |
Date: Wed May 6 20:11:17 2015 +0100 |
| 1279 |
|
| 1280 |
windows: Refactor duplicated code into a static function. |
| 1281 |
|
| 1282 |
commit 27a58c0521dab37ba32264cd58a8354bc9a37382 |
| 1283 |
Author: Martin Ling <[email protected]> |
| 1284 |
Date: Wed May 6 16:40:41 2015 +0100 |
| 1285 |
|
| 1286 |
windows: Avoid unnecessary calls to SetCommTimeouts(). |
| 1287 |
|
| 1288 |
This fixes bug #586. |
| 1289 |
|
| 1290 |
commit 9a0c4bbdbea521433372fec48cee9d43328da268 |
| 1291 |
Author: Martin Ling <[email protected]> |
| 1292 |
Date: Wed May 6 16:12:27 2015 +0100 |
| 1293 |
|
| 1294 |
windows: Strip CR/LF from end of system error messages. |
| 1295 |
|
| 1296 |
This fixes bug #585. |
| 1297 |
|
| 1298 |
commit 480d750c59b23f7c6b6dd5c5dd32f697a0783221 |
| 1299 |
Author: Martin Ling <[email protected]> |
| 1300 |
Date: Thu Apr 23 22:23:14 2015 +0100 |
| 1301 |
|
| 1302 |
doc: correct structure name in sp_get_port_handle() documentation. |
| 1303 |
|
| 1304 |
commit ff6da776e809d75594aa45baf3bb39c7f4ba7d8c |
| 1305 |
Author: Uwe Hermann <[email protected]> |
| 1306 |
Date: Sat May 2 21:20:30 2015 +0200 |
| 1307 |
|
| 1308 |
libserialport.h.in: Fix/update some API docs. |
| 1309 |
|
| 1310 |
commit 6392641545bb9ea1ff908f29da3184dde6a0139b |
| 1311 |
Author: Uwe Hermann <[email protected]> |
| 1312 |
Date: Sat May 2 21:18:36 2015 +0200 |
| 1313 |
|
| 1314 |
sp_list_ports(): Actually set list_ptr NULL as documented. |
| 1315 |
|
| 1316 |
commit 6aad5bdd474f7d41e06ba4dc094f7db50f0f94cd |
| 1317 |
Author: Uwe Hermann <[email protected]> |
| 1318 |
Date: Sat May 2 21:10:21 2015 +0200 |
| 1319 |
|
| 1320 |
Fix a potential segfault in sp_get_config_*(). |
| 1321 |
|
| 1322 |
commit 5f64c28551d7ee7dbecf5215cb75d63c3cf8303b |
| 1323 |
Author: Uwe Hermann <[email protected]> |
| 1324 |
Date: Thu Apr 30 22:38:58 2015 +0200 |
| 1325 |
|
| 1326 |
Fix a potential segfault in sp_get_port_handle(). |
| 1327 |
|
| 1328 |
commit eb50b1aca66e01d7d7e06a867be85860597a8be1 |
| 1329 |
Author: Uwe Hermann <[email protected]> |
| 1330 |
Date: Sun Apr 19 19:33:22 2015 +0200 |
| 1331 |
|
| 1332 |
windows.c: Constify a few function parameters. |
| 1333 |
|
| 1334 |
commit 9eb9f07130243f0cf5f2ce6a6ae295001eda1c8b |
| 1335 |
Author: Uwe Hermann <[email protected]> |
| 1336 |
Date: Sun Apr 19 19:18:05 2015 +0200 |
| 1337 |
|
| 1338 |
sp_get_port_usb_vid_pid(): Document that usb_vid/usb_pid can be NULL. |
| 1339 |
|
| 1340 |
commit 1b91c6eadbcbd2356441920c11c9385083b93e91 |
| 1341 |
Author: Uwe Hermann <[email protected]> |
| 1342 |
Date: Sun Apr 19 18:53:26 2015 +0200 |
| 1343 |
|
| 1344 |
Rename timeout to timeout_ms for clarity in a few places. |
| 1345 |
|
| 1346 |
commit 025c264448de771ceb130d4d01aacbb9ca8453ea |
| 1347 |
Author: Uwe Hermann <[email protected]> |
| 1348 |
Date: Sun Apr 19 18:36:58 2015 +0200 |
| 1349 |
|
| 1350 |
autotools: Don't set/override "user variables". |
| 1351 |
|
| 1352 |
This fixes bug #577. |
| 1353 |
|
| 1354 |
commit a630a469f656ab9280f7f205eeca5064cde999d0 |
| 1355 |
Author: Uwe Hermann <[email protected]> |
| 1356 |
Date: Sun Apr 19 18:33:47 2015 +0200 |
| 1357 |
|
| 1358 |
Makefile.am: Simplify LDFLAGS handling a bit. |
| 1359 |
|
| 1360 |
commit f14809393ace8e5f9a664975f34b701d1e35d2fa |
| 1361 |
Author: Uwe Hermann <[email protected]> |
| 1362 |
Date: Sun Apr 19 19:00:52 2015 +0200 |
| 1363 |
|
| 1364 |
Constify the sp_get_port_description() parameter. |
| 1365 |
|
| 1366 |
commit ad036cc8efcdcae5d2b8727996108c38c4915d2b |
| 1367 |
Author: Uwe Hermann <[email protected]> |
| 1368 |
Date: Sun Apr 19 18:28:10 2015 +0200 |
| 1369 |
|
| 1370 |
Constify the sp_get_port_transport() parameter. |
| 1371 |
|
| 1372 |
commit 3dd4a2ae39a83f269272ee51698fc9d4e333bcd1 |
| 1373 |
Author: Uwe Hermann <[email protected]> |
| 1374 |
Date: Sun Apr 19 18:21:19 2015 +0200 |
| 1375 |
|
| 1376 |
configure.ac: Drop no longer needed SP_PKGLIBS. |
| 1377 |
|
| 1378 |
commit 35578b063e6899fad72f479d9004a54a66dd851a |
| 1379 |
Author: Uwe Hermann <[email protected]> |
| 1380 |
Date: Sat Apr 18 23:48:29 2015 +0200 |
| 1381 |
|
| 1382 |
Various Doxygen comment updates and fixes. |
| 1383 |
|
| 1384 |
- Add some missing @param lines. |
| 1385 |
|
| 1386 |
- Add [in], [out], or [in,out] markers for @param tags. |
| 1387 |
|
| 1388 |
- Add explicit "Must not be NULL" comments for parameters where |
| 1389 |
the caller should not pass in a NULL. |
| 1390 |
|
| 1391 |
commit e4f44cf5f22c40ec7daedc895458426de8340dff |
| 1392 |
Author: Uwe Hermann <[email protected]> |
| 1393 |
Date: Thu Apr 16 01:05:04 2015 +0200 |
| 1394 |
|
| 1395 |
libserialport.h.in: Drop unneeded <windows.h> #include. |
| 1396 |
|
| 1397 |
This is not needed and would pollute the namespace of every |
| 1398 |
libserialport user on Windows. |
| 1399 |
|
| 1400 |
commit 13efecf888bc4a8e6afb80f32763a3e4c8e796d3 |
| 1401 |
Author: Uwe Hermann <[email protected]> |
| 1402 |
Date: Thu Apr 16 00:53:50 2015 +0200 |
| 1403 |
|
| 1404 |
libserialport.h.in: Add @since tags for new enums. |
| 1405 |
|
| 1406 |
commit 3f2f48fc0101fe11dd6b3270474c1c2c9ed21e34 |
| 1407 |
Author: Uwe Hermann <[email protected]> |
| 1408 |
Date: Thu Apr 16 00:47:21 2015 +0200 |
| 1409 |
|
| 1410 |
Set package version to 0.1.1, use "@since 0.1.1" Doxygen tags. |
| 1411 |
|
| 1412 |
The next release will not contain any backwards-incompatible |
| 1413 |
API or ABI changes, thus changing the package version to 0.1.1. |
| 1414 |
|
| 1415 |
commit 777347a6bdea22744132af94f515c3c4b0d9ee41 |
| 1416 |
Author: Uwe Hermann <[email protected]> |
| 1417 |
Date: Thu Apr 16 00:40:49 2015 +0200 |
| 1418 |
|
| 1419 |
windows: Drop no longer needed -luuid. |
| 1420 |
|
| 1421 |
Also, use SP_LIBS in Makefile.am. |
| 1422 |
|
| 1423 |
This is build-tested using a native MinGW-w64 based toolchain |
| 1424 |
as well as a MinGW-w64 based cross-compile setup. |
| 1425 |
|
| 1426 |
commit 8c6de591a520de2b87671ea66f1887305b68325f |
| 1427 |
Author: Uwe Hermann <[email protected]> |
| 1428 |
Date: Wed Apr 15 21:40:32 2015 +0200 |
| 1429 |
|
| 1430 |
configure.ac: Minor whitespace cosmetics. |
| 1431 |
|
| 1432 |
commit 1ff591d7b34cdbe4bfcd8f004b141e4f41082870 |
| 1433 |
Author: Uwe Hermann <[email protected]> |
| 1434 |
Date: Wed Apr 15 21:20:18 2015 +0200 |
| 1435 |
|
| 1436 |
Doxyfile: Update to Doxygen 1.8.8 template. |
| 1437 |
|
| 1438 |
(by running 'doxygen -u') |
| 1439 |
|
| 1440 |
commit 5ca38cdfe07f5c8b92564c2934e65cda5cae9a8e |
| 1441 |
Author: Uwe Hermann <[email protected]> |
| 1442 |
Date: Wed Apr 15 21:15:04 2015 +0200 |
| 1443 |
|
| 1444 |
configure.ac: Add #include guard to config.h. |
| 1445 |
|
| 1446 |
commit 613c48f19198f53a8241114d89958c720fbc924a |
| 1447 |
Author: Uwe Hermann <[email protected]> |
| 1448 |
Date: Sat Apr 11 21:03:53 2015 +0200 |
| 1449 |
|
| 1450 |
Fix a compiler warning when -Wshadow is used. |
| 1451 |
|
| 1452 |
CC serialport.lo |
| 1453 |
In file included from ../serialport.c:25:0: |
| 1454 |
../serialport.c: In function 'get_config': |
| 1455 |
../libserialport_internal.h:227:25: warning: declaration of 'ret' shadows a previous local [-Wshadow] |
| 1456 |
#define TRY(x) do { int ret = x; if (ret != SP_OK) RETURN_CODEVAL(ret); } while (0) |
| 1457 |
^ |
| 1458 |
../serialport.c:1566:3: note: in expansion of macro 'TRY' |
| 1459 |
TRY(get_baudrate(port->fd, &config->baudrate)); |
| 1460 |
^ |
| 1461 |
../serialport.c:1543:6: warning: shadowed declaration is here [-Wshadow] |
| 1462 |
int ret = get_flow(port->fd, data); |
| 1463 |
^ |
| 1464 |
|
| 1465 |
Also, add -Wshadow to the list of default compiler options. |
| 1466 |
|
| 1467 |
commit b3e619c8b2d11c8d719a0d7714cfc024b45c5339 |
| 1468 |
Author: Uwe Hermann <[email protected]> |
| 1469 |
Date: Tue Apr 7 00:04:43 2015 +0200 |
| 1470 |
|
| 1471 |
autogen.sh: Drop obsolete MinGW/MSYS items. |
| 1472 |
|
| 1473 |
For Windows builds (which require MinGW-w64) we currently support: |
| 1474 |
|
| 1475 |
- cross-builds using MXE (mxe.cc) and possibly other cross-compile setups |
| 1476 |
|
| 1477 |
- native builds using MSYS2 (sf.net/projects/msys2/) |
| 1478 |
|
| 1479 |
Neither of those require explicitly specifying ACLOCAL_DIR. |
| 1480 |
|
| 1481 |
commit f11a67ed5f5c99fc47e66c9c5cc730b91356c488 |
| 1482 |
Author: Uwe Hermann <[email protected]> |
| 1483 |
Date: Mon Apr 6 20:25:42 2015 +0200 |
| 1484 |
|
| 1485 |
README: Refer to MSYS2 only. |
| 1486 |
|
| 1487 |
The "old" MSYS related to the "old" and unsupported MinGW (from |
| 1488 |
mingw.org) may or may not work properly, so only refer to MSYS2 which |
| 1489 |
we currently recommend and which has been tested. |
| 1490 |
|
| 1491 |
commit 144a598f190bbfe5244d6fb1192c7a1fae2cbbef |
| 1492 |
Author: Uwe Hermann <[email protected]> |
| 1493 |
Date: Mon Apr 6 18:51:17 2015 +0200 |
| 1494 |
|
| 1495 |
Minor Doxygen improvements and fixes. |
| 1496 |
|
| 1497 |
commit 3cb7aa98c2271081b80b0a2df7fc02be03e2a1bf |
| 1498 |
Author: Uwe Hermann <[email protected]> |
| 1499 |
Date: Sat Apr 4 18:10:18 2015 +0200 |
| 1500 |
|
| 1501 |
configure.ac: Use $host_os instead of $target_os. |
| 1502 |
|
| 1503 |
$build and $build_os refer to the machine on which the software is |
| 1504 |
built, $host and $host_os refer to the machine for which the software |
| 1505 |
is (cross-)built. |
| 1506 |
|
| 1507 |
The variables $target and $target_os (despite the confusing names) |
| 1508 |
are only relevant in the context of building cross-compilers. |
| 1509 |
|
| 1510 |
commit cd71af4b931d9773f698c792124a1c2a044d4772 |
| 1511 |
Author: Uwe Hermann <[email protected]> |
| 1512 |
Date: Fri Apr 3 22:18:56 2015 +0200 |
| 1513 |
|
| 1514 |
README: Add link to online API docs. |
| 1515 |
|
| 1516 |
commit a24671ade992c9cc1bfd2bd5092281aca3b75605 |
| 1517 |
Author: Uwe Hermann <[email protected]> |
| 1518 |
Date: Fri Apr 3 22:17:57 2015 +0200 |
| 1519 |
|
| 1520 |
README: Mention FreeBSD port enumeration support. |
| 1521 |
|
| 1522 |
commit 1cda3e3dfce5f698bf6da13b9d861303c681cbde |
| 1523 |
Author: Uwe Hermann <[email protected]> |
| 1524 |
Date: Fri Apr 3 22:04:20 2015 +0200 |
| 1525 |
|
| 1526 |
configure.ac: Add -Wmissing-prototypes. |
| 1527 |
|
| 1528 |
commit 23e7fa372a0a48d8f764de93d485af4c1316b124 |
| 1529 |
Author: Uwe Hermann <[email protected]> |
| 1530 |
Date: Fri Apr 3 22:03:26 2015 +0200 |
| 1531 |
|
| 1532 |
Fix two compiler warnings on platforms without enumeration support. |
| 1533 |
|
| 1534 |
serialport.c: In function 'sp_list_ports': |
| 1535 |
serialport.c:326:6: warning: unused variable 'ret' [-Wunused-variable] |
| 1536 |
int ret; |
| 1537 |
^ |
| 1538 |
serialport.c:325:19: warning: unused variable 'list' [-Wunused-variable] |
| 1539 |
struct sp_port **list; |
| 1540 |
^ |
| 1541 |
|
| 1542 |
commit ac323d80e0baaf6968c316dbcb2e5ffe4739cb2e |
| 1543 |
Author: Uwe Hermann <[email protected]> |
| 1544 |
Date: Fri Apr 3 22:02:00 2015 +0200 |
| 1545 |
|
| 1546 |
add_handle(): Fix a realloc() related issue. |
| 1547 |
|
| 1548 |
commit e019e72ec0bb04cb52d6b14810485ea8d96a97ee |
| 1549 |
Author: Uwe Hermann <[email protected]> |
| 1550 |
Date: Fri Apr 3 17:45:04 2015 +0200 |
| 1551 |
|
| 1552 |
Fix a compiler warning. |
| 1553 |
|
| 1554 |
This fixes the following scan-build warning: |
| 1555 |
|
| 1556 |
serialport.c: In function 'sp_list_ports': |
| 1557 |
serialport.c:354:1: warning: control reaches end of non-void function [-Wreturn-type] |
| 1558 |
|
| 1559 |
commit b344a40bb2c4ba82b3c51e7fb893d872a6302089 |
| 1560 |
Author: Uwe Hermann <[email protected]> |
| 1561 |
Date: Fri Apr 3 17:29:52 2015 +0200 |
| 1562 |
|
| 1563 |
Fix indentation of a switch(). |
| 1564 |
|
| 1565 |
commit 948f63f0fd0530c8653aa801f7e3d8a2cf2b12b2 |
| 1566 |
Author: Uwe Hermann <[email protected]> |
| 1567 |
Date: Fri Apr 3 17:17:49 2015 +0200 |
| 1568 |
|
| 1569 |
add_handle(): Fix a memory leak. |
| 1570 |
|
| 1571 |
This fixes the following scan-build warning: |
| 1572 |
|
| 1573 |
serialport.c:1170:3: warning: Potential leak of memory pointed to by 'new_handles' |
| 1574 |
RETURN_ERROR(SP_ERR_MEM, "Mask array realloc() failed"); |
| 1575 |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 1576 |
|
| 1577 |
commit 5122d608492d43d48f00e1fc13817f69eaa2a8b8 |
| 1578 |
Author: Uwe Hermann <[email protected]> |
| 1579 |
Date: Fri Apr 3 16:58:43 2015 +0200 |
| 1580 |
|
| 1581 |
Use libtool's -no-undefined option on all platforms. |
| 1582 |
|
| 1583 |
commit 8d12e620f255ef44da8d0c7ee810a7b3bcaf8807 |
| 1584 |
Author: Martin Ling <[email protected]> |
| 1585 |
Date: Wed Apr 1 00:24:27 2015 +0100 |
| 1586 |
|
| 1587 |
Clarify sp_list_ports() code. |
| 1588 |
|
| 1589 |
This also fixes the following scan-build warning: |
| 1590 |
|
| 1591 |
serialport.c:335:15: warning: Result of 'malloc' is converted to a |
| 1592 |
pointer of type 'struct sp_port *', which is incompatible with sizeof |
| 1593 |
operand type 'struct sp_port **' |
| 1594 |
if (!(list = malloc(sizeof(struct sp_port **)))) |
| 1595 |
^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 1596 |
|
| 1597 |
commit 34442106efcf0621f5bc2f77aab771407d9ae5c2 |
| 1598 |
Author: Martin Ling <[email protected]> |
| 1599 |
Date: Fri Mar 27 22:43:14 2015 +0000 |
| 1600 |
|
| 1601 |
windows: Set fAbortOnError=FALSE. |
| 1602 |
|
| 1603 |
Since we're not handling and clearing receive errors (framing, parity and |
| 1604 |
overrun), we should turn them off to avoid crashing out with |
| 1605 |
ERROR_OPERATION_ABORTED in various calls if they occur. Invalid data |
| 1606 |
will then simply not end up in the buffer. This is consistent with our |
| 1607 |
current behaviour on posix/termios systems. |
| 1608 |
|
| 1609 |
It might be nice to be able to inform calling code about receive errors, but I |
| 1610 |
can't see a good way to do this in a cross-platform way at the moment. |
| 1611 |
|
| 1612 |
This fixes (parts of) bug #341. |
| 1613 |
|
| 1614 |
commit 47fcf8ec8522d94f698b6c5a94deb30478f7ee26 |
| 1615 |
Author: Martin Ling <[email protected]> |
| 1616 |
Date: Wed Mar 25 18:03:17 2015 +0000 |
| 1617 |
|
| 1618 |
windows: Revise management of WaitCommEvent() operations. |
| 1619 |
|
| 1620 |
This fixes (at least parts of) bug #341. |
| 1621 |
|
| 1622 |
commit 6c6aebe78c91e92895c425decf1f4f5e3ce0ec53 |
| 1623 |
Author: Uwe Hermann <[email protected]> |
| 1624 |
Date: Wed Mar 25 23:38:04 2015 +0100 |
| 1625 |
|
| 1626 |
Make std_baudrates[] static (only used in one file). |
| 1627 |
|
| 1628 |
commit dc422c04af5c63e31de6af2eedcebbfc961ee9e2 |
| 1629 |
Author: Uwe Hermann <[email protected]> |
| 1630 |
Date: Wed Mar 25 20:28:48 2015 +0100 |
| 1631 |
|
| 1632 |
Various cosmetic and consistency fixes. |
| 1633 |
|
| 1634 |
commit 2b40f8145448dc0ef85ab95b779b83dac939837c |
| 1635 |
Author: Uwe Hermann <[email protected]> |
| 1636 |
Date: Wed Mar 25 20:29:41 2015 +0100 |
| 1637 |
|
| 1638 |
libserialport_internal.h: Add #include guard. |
| 1639 |
|
| 1640 |
commit cfa5af67fd2107c1f5c0a666826087214cb1ea4a |
| 1641 |
Author: Uwe Hermann <[email protected]> |
| 1642 |
Date: Wed Mar 25 20:13:57 2015 +0100 |
| 1643 |
|
| 1644 |
Fix some typos. |
| 1645 |
|
| 1646 |
commit 64155cba8aa1f009cbdda45becebc5f6fef52868 |
| 1647 |
Author: Uwe Hermann <[email protected]> |
| 1648 |
Date: Wed Mar 25 14:52:54 2015 +0100 |
| 1649 |
|
| 1650 |
linux_termios.h: Add missing #include of "config.h". |
| 1651 |
|
| 1652 |
commit 7c081505e5ccdfc6178855d65499121ef1e58e53 |
| 1653 |
Author: Martin Ling <[email protected]> |
| 1654 |
Date: Tue Mar 24 23:15:32 2015 +0000 |
| 1655 |
|
| 1656 |
Generate a config.h rather than passing defines on command line. |
| 1657 |
|
| 1658 |
Fixes bug #553. |
| 1659 |
|
| 1660 |
commit 7c1101dc083533c36df135e78f8e9174b4caf08d |
| 1661 |
Author: Uwe Hermann <[email protected]> |
| 1662 |
Date: Fri Feb 20 18:57:08 2015 +0100 |
| 1663 |
|
| 1664 |
Fix misleading snprintf() arguments. |
| 1665 |
|
| 1666 |
commit ea17bfca3d955fdf976ec13a0d6c3bb6a9f3b9e9 |
| 1667 |
Author: Uffe Jakobsen <[email protected]> |
| 1668 |
Date: Mon Feb 16 23:07:00 2015 +0100 |
| 1669 |
|
| 1670 |
If present, add usb_serial to description for better identification |
| 1671 |
|
| 1672 |
commit 54975208913f8f3f316173280a753a7322033575 |
| 1673 |
Author: Uffe Jakobsen <[email protected]> |
| 1674 |
Date: Mon Feb 16 14:13:01 2015 +0100 |
| 1675 |
|
| 1676 |
Handle enumeration of native UART ports on FreeBSD |
| 1677 |
|
| 1678 |
commit ccd512d51c94a4307e3f8e4975b3387e5bcb8715 |
| 1679 |
Author: Uffe Jakobsen <[email protected]> |
| 1680 |
Date: Tue Jan 13 23:14:54 2015 +0100 |
| 1681 |
|
| 1682 |
Implement FreeBSD OS-specific serial port detection and query |
| 1683 |
|
| 1684 |
commit f446cfbf652292f1167544078306cadb5f75ba3b |
| 1685 |
Author: Martin Ling <[email protected]> |
| 1686 |
Date: Wed Sep 24 15:30:39 2014 +0100 |
| 1687 |
|
| 1688 |
windows: Fix restart of RX/error wait operation after reads. |
| 1689 |
|
| 1690 |
This fixes bug #421. |
| 1691 |
|
| 1692 |
commit e31f2c6b8b8f2b7e554df911cc9a3482b99632b4 |
| 1693 |
Author: Boris Gjenero <[email protected]> |
| 1694 |
Date: Fri Dec 5 18:38:43 2014 +0100 |
| 1695 |
|
| 1696 |
Fix free() of uninitialized pointer. |
| 1697 |
|
| 1698 |
Explicitly set port->usb_path to NULL, otherwise a free(port->usb_path) |
| 1699 |
can happen where port->usb_path is uninitialized. |
| 1700 |
|
| 1701 |
This closes bug #512. |
| 1702 |
|
| 1703 |
commit b328a48b0fd8ce51f400b5e06bc1e2ab52e3c9ae |
| 1704 |
Author: Aurelien Jacobs <[email protected]> |
| 1705 |
Date: Thu Nov 27 17:41:23 2014 +0100 |
| 1706 |
|
| 1707 |
windows: Properly handle return value of SetupDiOpenDevRegKey(). |
| 1708 |
|
| 1709 |
This fixes bug #499. |
| 1710 |
|
| 1711 |
commit 59182fbbbf79b31552f84f875485bfaee1a34270 |
| 1712 |
Author: Martin Ling <[email protected]> |
| 1713 |
Date: Wed Sep 24 20:04:39 2014 +0100 |
| 1714 |
|
| 1715 |
linux: Check for BOTHER macro at configure time. |
| 1716 |
|
| 1717 |
This fixes bug #363. |
| 1718 |
|
| 1719 |
commit ad7498553c7951ae5a559bd25512297be253696c |
| 1720 |
Author: Janne Huttunen <[email protected]> |
| 1721 |
Date: Sat Oct 11 12:13:41 2014 +0300 |
| 1722 |
|
| 1723 |
Flush only the requested buffers |
| 1724 |
|
| 1725 |
Fix the sp_flush() so that it flushes only the requested buffers |
| 1726 |
also in unix. |
| 1727 |
|
| 1728 |
commit d66bbceaa7f86262bc8e758e7a665fcce7340f01 |
| 1729 |
Author: Bert Vermeulen <[email protected]> |
| 1730 |
Date: Sun Oct 5 02:38:35 2014 +0200 |
| 1731 |
|
| 1732 |
Fix typos. |
| 1733 |
|
| 1734 |
commit 78940e69219b6d9aee747bac0677b738531a089d |
| 1735 |
Author: Martin Ling <[email protected]> |
| 1736 |
Date: Wed Sep 24 20:53:03 2014 +0100 |
| 1737 |
|
| 1738 |
windows: Fix compile issues with multiply or not defined GUIDs. |
| 1739 |
|
| 1740 |
This fixes bug #416. |
| 1741 |
|
| 1742 |
commit 6c444ade550dcd1d911261a0e508f6fc1b17c973 |
| 1743 |
Author: Aurelien Jacobs <[email protected]> |
| 1744 |
Date: Wed Sep 24 12:47:58 2014 +0200 |
| 1745 |
|
| 1746 |
windows: Indentation (cosmetics only). |
| 1747 |
|
| 1748 |
commit 7aeb6736bdc64fcbb4ab682fe8b2110bfa77d5cd |
| 1749 |
Author: Aurelien Jacobs <[email protected]> |
| 1750 |
Date: Wed Sep 24 12:44:40 2014 +0200 |
| 1751 |
|
| 1752 |
windows: Fix various memory leaks. |
| 1753 |
|
| 1754 |
This fixes bug #419. |
| 1755 |
|
| 1756 |
commit 276ef1b92fe0a885c4e2156feeefb29ad67fc0c4 |
| 1757 |
Author: Aurelien Jacobs <[email protected]> |
| 1758 |
Date: Sat Sep 20 21:24:31 2014 +0200 |
| 1759 |
|
| 1760 |
Add SP_MODE_READ_WRITE enum value. |
| 1761 |
|
| 1762 |
commit eb82be98a7d5ac52dcafb27e3d3107b4741e4cbf |
| 1763 |
Author: Uwe Hermann <[email protected]> |
| 1764 |
Date: Sun Sep 7 19:31:23 2014 +0200 |
| 1765 |
|
| 1766 |
README: Add URL to the libserialport website. |
| 1767 |
|
| 1768 |
commit a46ee5b4d79311fe304c59ce115ebf3b725a295c |
| 1769 |
Author: Uwe Hermann <[email protected]> |
| 1770 |
Date: Sun Sep 7 19:27:02 2014 +0200 |
| 1771 |
|
| 1772 |
README: Mention that only MinGW-w64 works (but not MinGW). |
| 1773 |
|
| 1774 |
commit da8730199a215c9ccd938202fb55ac9e3f58a0b2 |
| 1775 |
Author: Michael B. Trausch <[email protected]> |
| 1776 |
Date: Sat Sep 6 21:39:40 2014 -0400 |
| 1777 |
|
| 1778 |
windows: -no-undefined is required to make a DLL. |
| 1779 |
|
| 1780 |
commit 6692d8c13f8829ae83fae33e9fdee9172e2ac1df |
| 1781 |
Author: Michael B. Trausch <[email protected]> |
| 1782 |
Date: Sat Sep 6 21:34:03 2014 -0400 |
| 1783 |
|
| 1784 |
windows: Add -lsetupapi when building for WIN32. |
| 1785 |
|
| 1786 |
commit d179da05c028e30c5323b318e6f171d68f3a38ce |
| 1787 |
Author: Michael B. Trausch <[email protected]> |
| 1788 |
Date: Sat Sep 6 20:23:16 2014 -0400 |
| 1789 |
|
| 1790 |
windows: Include proper GUID defining header to fix build. |
| 1791 |
|
| 1792 |
The initguid.h header must appear early or it does not have |
| 1793 |
an effect, at least on cross-build from Linux. |
| 1794 |
|
| 1795 |
commit 653cef3ab1a71a76c8c5a503af6ce74b731ecc42 |
| 1796 |
Author: Aurelien Jacobs <[email protected]> |
| 1797 |
Date: Thu Sep 4 20:13:55 2014 +0200 |
| 1798 |
|
| 1799 |
linux: remove readlinkat() dependency |
| 1800 |
|
| 1801 |
commit 546e9ae5c5b2fd488bb4267c0dfa57cdc751fb88 |
| 1802 |
Author: Aurelien Jacobs <[email protected]> |
| 1803 |
Date: Thu Sep 4 20:13:55 2014 +0200 |
| 1804 |
|
| 1805 |
linux_termios: fix return types to actually match returned values |
| 1806 |
|
| 1807 |
This fixes the following warning : |
| 1808 |
|
| 1809 |
linux_termios.c: In function 'get_termios_get_ioctl': |
| 1810 |
linux_termios.c:42:2: warning: overflow in implicit constant conversion [-Woverflow] |
| 1811 |
return TCGETS2; |
| 1812 |
^ |
| 1813 |
|
| 1814 |
This fixes bug #396. |
| 1815 |
|
| 1816 |
commit 23ef3bf125ead21c0cc4c49d70dd0b8877d8a5fe |
| 1817 |
Author: Uwe Hermann <[email protected]> |
| 1818 |
Date: Wed Aug 27 14:56:19 2014 +0200 |
| 1819 |
|
| 1820 |
Fix Mac OS X build (untested). |
| 1821 |
|
| 1822 |
commit d38c7d2c705a114bfe3204215c682da2e68d77db |
| 1823 |
Author: Uwe Hermann <[email protected]> |
| 1824 |
Date: Wed Aug 27 14:53:19 2014 +0200 |
| 1825 |
|
| 1826 |
Fix Windows build. |
| 1827 |
|
| 1828 |
commit 0666ccc7ca446ce2960630e2707389852c812284 |
| 1829 |
Author: Martin Ling <[email protected]> |
| 1830 |
Date: Sun Aug 24 14:08:00 2014 +0100 |
| 1831 |
|
| 1832 |
linux: Fix warning by marking vid, pid variables unsigned. |
| 1833 |
|
| 1834 |
commit 7f450f46bda085943df503d9d74ed1c8f9d42e7f |
| 1835 |
Author: Martin Ling <[email protected]> |
| 1836 |
Date: Sun Aug 24 14:00:43 2014 +0100 |
| 1837 |
|
| 1838 |
Compile with -pedantic. |
| 1839 |
|
| 1840 |
commit c51b846eee030002cc2d3b8faac1c373de02e10f |
| 1841 |
Author: Martin Ling <[email protected]> |
| 1842 |
Date: Sun Aug 24 13:34:33 2014 +0100 |
| 1843 |
|
| 1844 |
linux: Define feature macros to get required functions. |
| 1845 |
|
| 1846 |
This is needed to build with -std=c99. |
| 1847 |
|
| 1848 |
commit 7890cef6cf4f8496888f2a86593f9eff55244456 |
| 1849 |
Author: Martin Ling <[email protected]> |
| 1850 |
Date: Sun Aug 24 13:59:32 2014 +0100 |
| 1851 |
|
| 1852 |
Revise debug macros to work in strict C99. |
| 1853 |
|
| 1854 |
commit 9caa2e86aa14e347b0a274ac023d02582a217bc8 |
| 1855 |
Author: Martin Ling <[email protected]> |
| 1856 |
Date: Sun Aug 24 13:30:34 2014 +0100 |
| 1857 |
|
| 1858 |
Specialise RETURN_VALUE macro into RETURN_{INT,STRING,POINTER}. |
| 1859 |
|
| 1860 |
This avoids the need to pass the required format string on every |
| 1861 |
call and also eliminates the need for the non-standard typeof() call. |
| 1862 |
|
| 1863 |
commit 79a800463795e4114bc2f8d719c7f6d0cab49164 |
| 1864 |
Author: Antti Nykanen <[email protected]> |
| 1865 |
Date: Sun Aug 24 12:03:15 2014 +0300 |
| 1866 |
|
| 1867 |
libserialport.h.in: remove trailing commas in enum definitions |
| 1868 |
|
| 1869 |
This makes it easier to use libserialport on projects that build with |
| 1870 |
the GCC -pedantic flag enabled. |
| 1871 |
|
| 1872 |
commit 942a6d349eeab57367acd1f569118a9f1721b204 |
| 1873 |
Author: Bert Vermeulen <[email protected]> |
| 1874 |
Date: Wed Aug 20 23:38:24 2014 +0200 |
| 1875 |
|
| 1876 |
Bump package version to 0.2.0. |
| 1877 |
|
| 1878 |
commit f3ccf157cb6183c95365e3ba1791dc247150e872 |
| 1879 |
Author: Aurelien Jacobs <[email protected]> |
| 1880 |
Date: Wed Aug 20 17:40:22 2014 +0200 |
| 1881 |
|
| 1882 |
Rename sp_get_signals() parameter to avoid name clash with Qt headers. |
| 1883 |
|
| 1884 |
commit 900904638b0fd241d99bece8befb7ec1ff56d38b |
| 1885 |
Author: Uwe Hermann <[email protected]> |
| 1886 |
Date: Tue Aug 5 18:34:16 2014 +0200 |
| 1887 |
|
| 1888 |
configure.ac: We no longer need to set WINVER explicitly. |
| 1889 |
|
| 1890 |
Since we now require MinGW-w64, we no longer have to set WINVER manually, |
| 1891 |
since MinGW-w64 defaults to WINVER=0x0502 (which corresponds to |
| 1892 |
Windows Server 2003 SP1 / Windows XP SP2 apparently, which is fine for us). |
| 1893 |
|
| 1894 |
commit 34906a229bc1c7a92586cdbd71aa992314aa082f |
| 1895 |
Author: Uwe Hermann <[email protected]> |
| 1896 |
Date: Tue Aug 5 18:31:40 2014 +0200 |
| 1897 |
|
| 1898 |
windows.c: Remove MinGW workarounds, require MinGW-w64 instead. |
| 1899 |
|
| 1900 |
We're switching from MinGW (i686-pc-mingw32.static in MXE)... |
| 1901 |
|
| 1902 |
http://mingw.org/ |
| 1903 |
|
| 1904 |
...to MinGW-w64 (i686-w64-mingw32.static in MXE): |
| 1905 |
|
| 1906 |
http://mingw-w64.sourceforge.net/ |
| 1907 |
|
| 1908 |
The latter is a fork which nowadays seems to be more active and also to |
| 1909 |
have a more complete set of win32 API headers and libs. |
| 1910 |
|
| 1911 |
History: |
| 1912 |
http://sourceforge.net/p/mingw-w64/wiki2/History/ |
| 1913 |
|
| 1914 |
This closes bug #393. |
| 1915 |
|
| 1916 |
commit 8eb18f7b5a459cde640f307ce46248851fdaec42 |
| 1917 |
Author: Uwe Hermann <[email protected]> |
| 1918 |
Date: Thu Jul 31 23:14:35 2014 +0200 |
| 1919 |
|
| 1920 |
windows.c: Define a bunch of stuff that's not in MinGW, yet. |
| 1921 |
|
| 1922 |
Without these defineѕ the build fails with various (many) compile errors. |
| 1923 |
|
| 1924 |
commit 9a8d04bca6bab617793c0b077f115a19d8e68d65 |
| 1925 |
Author: Uwe Hermann <[email protected]> |
| 1926 |
Date: Thu Jul 31 23:11:40 2014 +0200 |
| 1927 |
|
| 1928 |
configure.ac: MinGW build fix (setting WINVER=0x0501). |
| 1929 |
|
| 1930 |
Without this the build fails with: |
| 1931 |
|
| 1932 |
windows.c:40:43: error: 'WC_NO_BEST_FIT_CHARS' undeclared (first use in |
| 1933 |
this function) |
| 1934 |
|
| 1935 |
commit 5a8810e2b2e0ccd2567306469f7fc668337af415 |
| 1936 |
Author: Uwe Hermann <[email protected]> |
| 1937 |
Date: Thu Jul 31 23:09:24 2014 +0200 |
| 1938 |
|
| 1939 |
serialport.c: Fix an 'unused variable' compiler warning. |
| 1940 |
|
| 1941 |
commit 12056e2f75c01a8512d046ce5d8ed9d72e7cf22b |
| 1942 |
Author: Marcus Comstedt <[email protected]> |
| 1943 |
Date: Fri Jul 4 00:04:31 2014 +0200 |
| 1944 |
|
| 1945 |
Avoid use of struct serial_struct on systems which don't have it (Android) |
| 1946 |
|
| 1947 |
This fixes bug #376. |
| 1948 |
|
| 1949 |
commit 5bd33b7c8be499b970192d144409bec7072fc701 |
| 1950 |
Author: Marcus Comstedt <[email protected]> |
| 1951 |
Date: Fri Jul 4 11:55:04 2014 +0200 |
| 1952 |
|
| 1953 |
Don't use readlinkat if it does not exist |
| 1954 |
|
| 1955 |
This fixes bug #377. |
| 1956 |
|
| 1957 |
commit 970f279ae4767819a816573ae354813d37d5091d |
| 1958 |
Author: Aurelien Jacobs <[email protected]> |
| 1959 |
Date: Mon Jun 16 00:40:37 2014 +0200 |
| 1960 |
|
| 1961 |
Introduce SP_API/SP_PRIV to mark visibility of functions. |
| 1962 |
|
| 1963 |
commit e4ce975a54c60cda6615e4829ae1408adaec8fcf |
| 1964 |
Author: Martin Ling <[email protected]> |
| 1965 |
Date: Sat Jun 14 12:25:18 2014 +0100 |
| 1966 |
|
| 1967 |
Fix build for platforms without enumeration & port metadata support. |
| 1968 |
|
| 1969 |
commit 48a4076f692ffe34026c37815580a32b2f70592b |
| 1970 |
Author: Aurelien Jacobs <[email protected]> |
| 1971 |
Date: Fri Jun 13 23:52:16 2014 +0200 |
| 1972 |
|
| 1973 |
Move list_ports() implementations to OS-specific files. |
| 1974 |
|
| 1975 |
commit 235269990bd62a906af871c34839ebb922eecb45 |
| 1976 |
Author: Aurelien Jacobs <[email protected]> |
| 1977 |
Date: Fri Jun 13 23:47:45 2014 +0200 |
| 1978 |
|
| 1979 |
Fix missing variable on macosx. |
| 1980 |
|
| 1981 |
commit e59ecb3359d02ec549acc230f1a7db118b67bb8a |
| 1982 |
Author: Bert Vermeulen <[email protected]> |
| 1983 |
Date: Wed Jun 11 20:39:09 2014 +0200 |
| 1984 |
|
| 1985 |
Ignore build leftovers. |
| 1986 |
|
| 1987 |
commit 65172beffe8d9c4aa4b72782a9b76a4972be3c69 |
| 1988 |
Author: Aurelien Jacobs <[email protected]> |
| 1989 |
Date: Wed Jun 11 17:21:51 2014 +0200 |
| 1990 |
|
| 1991 |
Check bus:address and vid:pid validity. |
| 1992 |
|
| 1993 |
commit e33dcf90a0b0e510eb990c657eab88243d0ac5fd |
| 1994 |
Author: Martin Ling <[email protected]> |
| 1995 |
Date: Wed Jun 11 15:10:29 2014 +0100 |
| 1996 |
|
| 1997 |
Tidy up and split most OS-specific code to separate files. |
| 1998 |
|
| 1999 |
commit a93fb468885de8775f1d200625dac114d3050b1d |
| 2000 |
Author: Aurelien Jacobs <[email protected]> |
| 2001 |
Date: Fri May 30 22:49:04 2014 +0200 |
| 2002 |
|
| 2003 |
Add new APIs to get some USB descriptor details for USB serial ports. |
| 2004 |
|
| 2005 |
commit 98cac5d63e047a633ac1078950840688c1d5234f |
| 2006 |
Author: Aurelien Jacobs <[email protected]> |
| 2007 |
Date: Sat May 31 00:48:54 2014 +0200 |
| 2008 |
|
| 2009 |
Remove the udev dependency and parse the /sys hierarchy instead. |
| 2010 |
|
| 2011 |
commit 073c86bd070a4a5d55c9971ad779a0da32835b17 |
| 2012 |
Author: Aurelien Jacobs <[email protected]> |
| 2013 |
Date: Fri May 30 23:40:45 2014 +0200 |
| 2014 |
|
| 2015 |
Simplify Mac OS implementation of sp_list_ports(). |
| 2016 |
|
| 2017 |
commit f095f8416453582c95f362434b5e00b26969f658 |
| 2018 |
Author: Aurelien Jacobs <[email protected]> |
| 2019 |
Date: Tue Jun 10 22:16:16 2014 +0200 |
| 2020 |
|
| 2021 |
Remove useless declaration. |
| 2022 |
|
| 2023 |
commit da2ede60e441566b074d512ad70b51b5751834ae |
| 2024 |
Author: Aurelien Jacobs <[email protected]> |
| 2025 |
Date: Tue Jun 10 22:12:21 2014 +0200 |
| 2026 |
|
| 2027 |
Remove duplicated include. |
| 2028 |
|
| 2029 |
commit 8edf649cafb84f8ca00b49412fd93829174438cb |
| 2030 |
Author: Aurelien Jacobs <[email protected]> |
| 2031 |
Date: Mon Jun 2 12:07:50 2014 +0200 |
| 2032 |
|
| 2033 |
Add format string support to RETURN_ERROR() and RETURN_FAIL(). |
| 2034 |
|
| 2035 |
commit 41a6f287186a337a3c95d235b291e0ceaf61562e |
| 2036 |
Author: Uwe Hermann <[email protected]> |
| 2037 |
Date: Tue May 6 20:49:11 2014 +0200 |
| 2038 |
|
| 2039 |
NEWS: Bump date. |
| 2040 |
|
| 2041 |
commit 67765669d53eb1e6512547ce455cd1d65a585209 |
| 2042 |
Author: Uwe Hermann <[email protected]> |
| 2043 |
Date: Sun Apr 13 19:51:01 2014 +0200 |
| 2044 |
|
| 2045 |
NEWS: Update for upcoming 0.1.0 release. |
| 2046 |
|
| 2047 |
commit 9fb991348dab69e93af6955eeec82502642dbb50 |
| 2048 |
Author: Uwe Hermann <[email protected]> |
| 2049 |
Date: Mon May 5 02:01:22 2014 +0200 |
| 2050 |
|
| 2051 |
configure.ac: Add 'check-news' automake option. |
| 2052 |
|
| 2053 |
This warns if the NEWS file hasn't been updated before a release. |
| 2054 |
|
| 2055 |
commit 1652aa869f3ed77ccbf44db0685d41f848e2fb0b |
| 2056 |
Author: Uwe Hermann <[email protected]> |
| 2057 |
Date: Sun May 4 21:06:31 2014 +0200 |
| 2058 |
|
| 2059 |
Add Doxygen @since tags to all public API functions. |
| 2060 |
|
| 2061 |
commit c01b8cae0c57d83aab78bd7cd20506755b80df05 |
| 2062 |
Author: Uwe Hermann <[email protected]> |
| 2063 |
Date: Sun May 4 17:56:49 2014 +0200 |
| 2064 |
|
| 2065 |
doxygen: Updated Doxyfile to doxygen 1.8.6. |
| 2066 |
|
| 2067 |
commit 60db41b9c5879dda64411e913e779e042f7ccbaf |
| 2068 |
Author: Uwe Hermann <[email protected]> |
| 2069 |
Date: Sun Apr 13 19:50:38 2014 +0200 |
| 2070 |
|
| 2071 |
Add the usual AUTHORS file. |
| 2072 |
|
| 2073 |
commit 6c4b27a8b88f032939294346e8e04eca5fb4d0e9 |
| 2074 |
Merge: 524b0e1 e48f0ec |
| 2075 |
Author: Martin Ling <[email protected]> |
| 2076 |
Date: Sat Mar 22 07:14:49 2014 +0000 |
| 2077 |
|
| 2078 |
Merge pull request #1 from silverbuddy/master |
| 2079 |
|
| 2080 |
Win32 issues |
| 2081 |
|
| 2082 |
commit e48f0ece0fc4164de01ab4fa11a1c2452ea39466 |
| 2083 |
Author: silverbuddy <[email protected]> |
| 2084 |
Date: Fri Mar 21 21:49:22 2014 +0400 |
| 2085 |
|
| 2086 |
Fix malloc size (Win32) |
| 2087 |
|
| 2088 |
commit 904ac164bf355dc87f6928cb132dc24ac1774188 |
| 2089 |
Author: silverbuddy <[email protected]> |
| 2090 |
Date: Fri Mar 21 21:43:19 2014 +0400 |
| 2091 |
|
| 2092 |
Fix compilation (Win32 UNICODE) |
| 2093 |
|
| 2094 |
commit 524b0e1454ad80c2f9c5840137324ab31941e589 |
| 2095 |
Author: Uwe Hermann <[email protected]> |
| 2096 |
Date: Wed Mar 12 19:30:55 2014 +0100 |
| 2097 |
|
| 2098 |
Add runtime version querying functions. |
| 2099 |
|
| 2100 |
This fixes bug #282. |
| 2101 |
|
| 2102 |
commit 3ceb8aecff49c9fc0df66274c7be3545979f8bea |
| 2103 |
Author: Martin Ling <[email protected]> |
| 2104 |
Date: Fri Jan 3 13:44:14 2014 +0100 |
| 2105 |
|
| 2106 |
linux_termios.c: fix check for termios speed fields. |
| 2107 |
|
| 2108 |
commit 5cea279a85e16d20247d911b060b6aff8186003a |
| 2109 |
Author: Martin Ling <[email protected]> |
| 2110 |
Date: Fri Jan 3 13:38:06 2014 +0100 |
| 2111 |
|
| 2112 |
linux: Speed fields may not be present in kernel termios structures. |
| 2113 |
|
| 2114 |
commit bd791fe121ccbaa3d3176b5fb64a92eef48f1183 |
| 2115 |
Author: Martin Ling <[email protected]> |
| 2116 |
Date: Fri Jan 3 12:16:41 2014 +0100 |
| 2117 |
|
| 2118 |
Remove need to include linux_termios.h on non-Linux. |
| 2119 |
|
| 2120 |
commit 27e231ff35ae02954b40bd81d015ab2eafbd87f2 |
| 2121 |
Author: Martin Ling <[email protected]> |
| 2122 |
Date: Fri Jan 3 11:52:53 2014 +0100 |
| 2123 |
|
| 2124 |
Only build linux_termios.c on Linux. |
| 2125 |
|
| 2126 |
commit 8814faa3b69668decb4917b6542be127e954b450 |
| 2127 |
Author: Uwe Hermann <[email protected]> |
| 2128 |
Date: Fri Dec 27 02:44:42 2013 +0100 |
| 2129 |
|
| 2130 |
Makefile.am: Add Doxyfile to the generated tarball. |
| 2131 |
|
| 2132 |
commit deaf0a63513aa275fb1acf901537382535f3be02 |
| 2133 |
Author: Uwe Hermann <[email protected]> |
| 2134 |
Date: Fri Dec 27 02:39:29 2013 +0100 |
| 2135 |
|
| 2136 |
Doxygen: Fix a warning / incorrect parameter name. |
| 2137 |
|
| 2138 |
commit 104f093dba21da6e88b3c6d3349c489a5ac51be8 |
| 2139 |
Author: Uwe Hermann <[email protected]> |
| 2140 |
Date: Fri Dec 27 02:39:06 2013 +0100 |
| 2141 |
|
| 2142 |
Makefile.am: Fix 'make doc' for out-of-tree builds. |
| 2143 |
|
| 2144 |
commit 7c3a1ee32aeae98f526120bcce51dfca00e3f16f |
| 2145 |
Author: Uwe Hermann <[email protected]> |
| 2146 |
Date: Fri Dec 27 02:28:10 2013 +0100 |
| 2147 |
|
| 2148 |
configure.ac: Cosmetics, fix typo. |
| 2149 |
|
| 2150 |
commit 6f1186aa827861cd862a555b18dcd8b715b65ced |
| 2151 |
Author: Martin Ling <[email protected]> |
| 2152 |
Date: Fri Dec 20 16:02:57 2013 +0000 |
| 2153 |
|
| 2154 |
Add API for waiting on port events. |
| 2155 |
|
| 2156 |
commit 2dcf83088840579c156d0b328f19675ed4c18f98 |
| 2157 |
Author: Martin Ling <[email protected]> |
| 2158 |
Date: Wed Dec 18 15:59:58 2013 +0000 |
| 2159 |
|
| 2160 |
Remove various unused code in configure.ac. |
| 2161 |
|
| 2162 |
commit f15a2349e28b2775e89a06df4f0fb3f3c70060e9 |
| 2163 |
Author: Uwe Hermann <[email protected]> |
| 2164 |
Date: Tue Dec 17 22:36:35 2013 +0100 |
| 2165 |
|
| 2166 |
Doxyfile: Update to Doxygen 1.8.5 config file. |
| 2167 |
|
| 2168 |
This is done via "doxygen -u". |
| 2169 |
|
| 2170 |
commit 0a1ab8bf8f4c76c809c63ff26d0aa4a5af418728 |
| 2171 |
Author: Uwe Hermann <[email protected]> |
| 2172 |
Date: Tue Dec 17 22:31:12 2013 +0100 |
| 2173 |
|
| 2174 |
Minor Doxygen updates/fixes. |
| 2175 |
|
| 2176 |
commit 1a2a1544d73ed288732b409eef95502228e1ed0a |
| 2177 |
Author: Uwe Hermann <[email protected]> |
| 2178 |
Date: Tue Dec 17 22:17:16 2013 +0100 |
| 2179 |
|
| 2180 |
win32: Add missing ClearCommError() error handling/reporting. |
| 2181 |
|
| 2182 |
commit 537942c9edb37ebfc88d8b06fd330e8492d36bee |
| 2183 |
Author: Martin Ling <[email protected]> |
| 2184 |
Date: Tue Dec 17 17:19:55 2013 +0000 |
| 2185 |
|
| 2186 |
Windows: clear errors after port open. |
| 2187 |
|
| 2188 |
commit 950faaa94adf538b7381566faf5737a88d2768e5 |
| 2189 |
Author: Martin Ling <[email protected]> |
| 2190 |
Date: Sun Dec 8 14:41:53 2013 +0000 |
| 2191 |
|
| 2192 |
Remove obsolete comment. |
| 2193 |
|
| 2194 |
commit 9af8cff38fe7aab2e93f5b0f28debeb4d65a4aaa |
| 2195 |
Author: Martin Ling <[email protected]> |
| 2196 |
Date: Sat Dec 7 20:18:27 2013 +0000 |
| 2197 |
|
| 2198 |
Remove stray periods from debug messages. |
| 2199 |
|
| 2200 |
commit 64d996216e5cea58192d7842e4b364e19fd3d698 |
| 2201 |
Author: Martin Ling <[email protected]> |
| 2202 |
Date: Sat Dec 7 20:16:38 2013 +0000 |
| 2203 |
|
| 2204 |
Windows nonblocking write: Dont't return if async I/O finishes immediately. |
| 2205 |
|
| 2206 |
commit 1622ef60b032522edfecca46bd23ec1bf4b0ee64 |
| 2207 |
Author: Martin Ling <[email protected]> |
| 2208 |
Date: Sat Dec 7 16:50:27 2013 +0000 |
| 2209 |
|
| 2210 |
Check return value of GetOverlappedResult(). |
| 2211 |
|
| 2212 |
commit 7c1eff54fd240441fb617dcd315117909cf847dd |
| 2213 |
Author: Martin Ling <[email protected]> |
| 2214 |
Date: Sat Dec 7 16:26:48 2013 +0000 |
| 2215 |
|
| 2216 |
Make RETURN_VALUE macro side effect safe. |
| 2217 |
|
| 2218 |
commit 33fd8804b8a81da4cc3ffcf43ded2288381aad49 |
| 2219 |
Author: Martin Ling <[email protected]> |
| 2220 |
Date: Thu Dec 5 20:24:05 2013 +0000 |
| 2221 |
|
| 2222 |
Fix building for Android. |
| 2223 |
|
| 2224 |
commit 397d89de3acc260d6246a3bfa3b59cee53aafe31 |
| 2225 |
Author: Martin Ling <[email protected]> |
| 2226 |
Date: Thu Dec 5 20:18:32 2013 +0000 |
| 2227 |
|
| 2228 |
Make libudev optional. |
| 2229 |
|
| 2230 |
commit 6c8716e9dabb5aece68eec87bbf4e322ff92e6a2 |
| 2231 |
Author: Uwe Hermann <[email protected]> |
| 2232 |
Date: Sun Dec 1 18:04:24 2013 +0100 |
| 2233 |
|
| 2234 |
TIOCINQ/TIOCOUTQ is not available everywhere. |
| 2235 |
|
| 2236 |
E.g. on NetBSD TIOCINQ is not available, but FIONREAD seems to |
| 2237 |
do pretty much the same thing. |
| 2238 |
|
| 2239 |
commit 2c827b218813f2663fc3fb09d2ad61f50c4ec1ff |
| 2240 |
Author: Martin Ling <[email protected]> |
| 2241 |
Date: Wed Nov 27 14:31:54 2013 +0000 |
| 2242 |
|
| 2243 |
Handle EINTR from tcdrain() in sp_drain(). |
| 2244 |
|
| 2245 |
commit b87deb7c70b739ffac312112950c4481f6f4666d |
| 2246 |
Author: Martin Ling <[email protected]> |
| 2247 |
Date: Wed Nov 27 14:12:12 2013 +0000 |
| 2248 |
|
| 2249 |
Clarify documentation regarding signals and EINTR. |
| 2250 |
|
| 2251 |
commit 859874648ee98385a9d8be76182157a40eca69c0 |
| 2252 |
Author: Martin Ling <[email protected]> |
| 2253 |
Date: Wed Nov 27 14:12:04 2013 +0000 |
| 2254 |
|
| 2255 |
Fix error in documentation. |
| 2256 |
|
| 2257 |
commit 2007ce5e143185d297a9fbf907c286da44f89e7c |
| 2258 |
Author: Martin Ling <[email protected]> |
| 2259 |
Date: Wed Nov 27 13:18:29 2013 +0000 |
| 2260 |
|
| 2261 |
Document EINTR handling. |
| 2262 |
|
| 2263 |
commit 63a17c64ae5222a218600ecb4d9f320a91e74cc9 |
| 2264 |
Author: Martin Ling <[email protected]> |
| 2265 |
Date: Wed Nov 27 12:42:27 2013 +0000 |
| 2266 |
|
| 2267 |
Handle EINTR by repeating the call. |
| 2268 |
|
| 2269 |
commit 1b34204261800897b46957bccd353470ef793a76 |
| 2270 |
Author: Martin Ling <[email protected]> |
| 2271 |
Date: Wed Nov 27 11:11:55 2013 +0000 |
| 2272 |
|
| 2273 |
Fix conversion of timeout to struct timeval. |
| 2274 |
|
| 2275 |
commit 3353c22f326c0b5d2db4360b70554b2f00f94cf7 |
| 2276 |
Author: Martin Ling <[email protected]> |
| 2277 |
Date: Wed Nov 27 02:55:18 2013 +0000 |
| 2278 |
|
| 2279 |
Add sp_input_waiting() and sp_output_waiting() functions. |
| 2280 |
|
| 2281 |
commit e3dcf9068e8b0e5d6b21a0203bfa963a8e0711d2 |
| 2282 |
Author: Martin Ling <[email protected]> |
| 2283 |
Date: Mon Nov 25 22:12:10 2013 +0000 |
| 2284 |
|
| 2285 |
New API and implementation for blocking and non-blocking I/O. |
| 2286 |
|
| 2287 |
commit 8fbf876dfd7dba622c1150cd886a30357374c5f4 |
| 2288 |
Author: Martin Ling <[email protected]> |
| 2289 |
Date: Wed Nov 27 01:16:51 2013 +0000 |
| 2290 |
|
| 2291 |
Set VMIN = 1, not zero which forces non-blocking reads. |
| 2292 |
|
| 2293 |
commit afb518f04aeab35d385bdbd77137a92045312b96 |
| 2294 |
Author: Martin Ling <[email protected]> |
| 2295 |
Date: Tue Nov 26 15:26:18 2013 +0000 |
| 2296 |
|
| 2297 |
Return SP_ERR_SUPP on attempt to set mark/space parity without CMSPAR. |
| 2298 |
|
| 2299 |
commit 00d8c56d91993fe8e575d0d4be9a6b25983d6557 |
| 2300 |
Author: Uwe Hermann <[email protected]> |
| 2301 |
Date: Tue Nov 26 16:12:20 2013 +0100 |
| 2302 |
|
| 2303 |
Minor cosmetics. |
| 2304 |
|
| 2305 |
commit dd7742fb15e32d457ea6a10a683bc349a8e6da6b |
| 2306 |
Author: Uwe Hermann <[email protected]> |
| 2307 |
Date: Tue Nov 26 08:29:18 2013 +0100 |
| 2308 |
|
| 2309 |
Use "sp: " as prefix for debug logs (nicer/shorter). |
| 2310 |
|
| 2311 |
commit c3e0509275d9991495789a3c3ab1cbbe605edeac |
| 2312 |
Author: Uwe Hermann <[email protected]> |
| 2313 |
Date: Tue Nov 26 08:12:15 2013 +0100 |
| 2314 |
|
| 2315 |
Fix the build on NetBSD/OpenBSD/FreeBSD, possibly others. |
| 2316 |
|
| 2317 |
Various termios flags used in sp_open() are Linux-specific (or even |
| 2318 |
specific to certain architectures / drivers) and not available on all |
| 2319 |
OSes (and/or versions or kernels thereof). |
| 2320 |
|
| 2321 |
Thus, #ifdef out flags that we know might not be available everywhere. |
| 2322 |
|
| 2323 |
commit bccc7c9fa0f00b762392438bea16d4672a984526 |
| 2324 |
Author: Martin Ling <[email protected]> |
| 2325 |
Date: Mon Nov 25 18:30:34 2013 +0000 |
| 2326 |
|
| 2327 |
Set some sane defaults in sp_open() on Windows too. |
| 2328 |
|
| 2329 |
commit 3f5c06d06712465cf76f1fe5b21aae5ea39e23f7 |
| 2330 |
Author: Martin Ling <[email protected]> |
| 2331 |
Date: Mon Nov 25 18:21:49 2013 +0000 |
| 2332 |
|
| 2333 |
Apply termios setting changes immediately. |
| 2334 |
|
| 2335 |
commit e432ce60065f9d073dca5d639a4fc179de566639 |
| 2336 |
Author: Martin Ling <[email protected]> |
| 2337 |
Date: Mon Nov 25 18:05:58 2013 +0000 |
| 2338 |
|
| 2339 |
Support mark/space parity settings. |
| 2340 |
|
| 2341 |
commit b251be4b261f37483571ca999a14bafbfffecd43 |
| 2342 |
Author: Martin Ling <[email protected]> |
| 2343 |
Date: Mon Nov 25 17:55:37 2013 +0000 |
| 2344 |
|
| 2345 |
Turn off all the fancy termios features. |
| 2346 |
|
| 2347 |
commit 0765af56440614d73c26944f811720d3a7124f29 |
| 2348 |
Author: Martin Ling <[email protected]> |
| 2349 |
Date: Mon Nov 25 15:21:19 2013 +0000 |
| 2350 |
|
| 2351 |
Windows nonblocking write: 1 byte at a time to know when buffer fills. |
| 2352 |
|
| 2353 |
commit a3cb91f5e1fc79ac089dc18299f5fe21026cafb0 |
| 2354 |
Author: Martin Ling <[email protected]> |
| 2355 |
Date: Mon Nov 25 11:47:19 2013 +0000 |
| 2356 |
|
| 2357 |
Implement non-blocking I/O on Windows. |
| 2358 |
|
| 2359 |
commit aac4d7f292e011e73a1bc04d089a43af5a40a1cf |
| 2360 |
Author: Martin Ling <[email protected]> |
| 2361 |
Date: Mon Nov 25 11:34:42 2013 +0000 |
| 2362 |
|
| 2363 |
Fix SET_FAIL macro. |
| 2364 |
|
| 2365 |
commit 33d5ff47b59c4a0d35a6794daf7733406b4f2080 |
| 2366 |
Author: Martin Ling <[email protected]> |
| 2367 |
Date: Mon Nov 25 10:23:13 2013 +0000 |
| 2368 |
|
| 2369 |
Handle -EAGAIN in non-blocking reads on Unix, and return 0 from sp_read(). |
| 2370 |
|
| 2371 |
commit 0ba3e49b45999e159dd8f9bda5abc1710d69eefb |
| 2372 |
Author: Martin Ling <[email protected]> |
| 2373 |
Date: Sat Nov 23 21:21:18 2013 +0000 |
| 2374 |
|
| 2375 |
Fix bug in debug message generation in sp_flush(). |
| 2376 |
|
| 2377 |
commit 59131d602894f5e2f8776fa9f4736d360f67579f |
| 2378 |
Author: Martin Ling <[email protected]> |
| 2379 |
Date: Sat Nov 23 20:55:18 2013 +0000 |
| 2380 |
|
| 2381 |
Initialise structure in sp_new_config(). |
| 2382 |
|
| 2383 |
commit 35ff018b49f28ea27b461f6353b862615d5d4a97 |
| 2384 |
Author: Martin Ling <[email protected]> |
| 2385 |
Date: Sat Nov 23 20:45:09 2013 +0000 |
| 2386 |
|
| 2387 |
Add generator program for configuration accessor headers. |
| 2388 |
|
| 2389 |
commit 9b1502efcee2d9b531320e759908e2b804fa909c |
| 2390 |
Author: Martin Ling <[email protected]> |
| 2391 |
Date: Sat Nov 23 20:41:01 2013 +0000 |
| 2392 |
|
| 2393 |
Make configuration structure opaque. |
| 2394 |
|
| 2395 |
commit 0151b15710ae685314c5f123e6796da606643f0c |
| 2396 |
Author: Martin Ling <[email protected]> |
| 2397 |
Date: Sat Nov 23 18:23:45 2013 +0000 |
| 2398 |
|
| 2399 |
Clarify documentation. |
| 2400 |
|
| 2401 |
commit 3c126654b3d92584d0a9cd4e13f1cee764146ca6 |
| 2402 |
Author: Martin Ling <[email protected]> |
| 2403 |
Date: Sat Nov 23 17:50:45 2013 +0000 |
| 2404 |
|
| 2405 |
Add sp_get_port_handle() function. |
| 2406 |
|
| 2407 |
commit 1c5aae9dc58995d202e30c356dcf25a8c1827558 |
| 2408 |
Author: Martin Ling <[email protected]> |
| 2409 |
Date: Sat Nov 23 17:11:19 2013 +0000 |
| 2410 |
|
| 2411 |
Make port structure opaque. |
| 2412 |
|
| 2413 |
commit 70cd37def2518cfa4c1170b16c94527b196a72a8 |
| 2414 |
Author: Martin Ling <[email protected]> |
| 2415 |
Date: Sat Nov 23 12:04:21 2013 +0000 |
| 2416 |
|
| 2417 |
Add back previously deleted sp_get_config function. |
| 2418 |
|
| 2419 |
commit a6cda1e8c71f08eee9bdeb862e26d7d4b943e997 |
| 2420 |
Author: Martin Ling <[email protected]> |
| 2421 |
Date: Sat Nov 23 11:59:42 2013 +0000 |
| 2422 |
|
| 2423 |
Fix swapped DCD & RI signals on Windows. |
| 2424 |
|
| 2425 |
commit 6b93ede4194fddb0a319fae9cce8bd2e8cea9982 |
| 2426 |
Author: Martin Ling <[email protected]> |
| 2427 |
Date: Sat Nov 23 11:57:17 2013 +0000 |
| 2428 |
|
| 2429 |
Return SP_ERR_SUPP from sp_list_ports() on unsupported platforms. |
| 2430 |
|
| 2431 |
commit 64690702cb0ee633211efbf83ec950063dc3149e |
| 2432 |
Author: Martin Ling <[email protected]> |
| 2433 |
Date: Sat Nov 23 11:49:35 2013 +0000 |
| 2434 |
|
| 2435 |
Generate debug output when returning using TRY() macro. |
| 2436 |
|
| 2437 |
commit dec10e31d02f644399d1204c95d50ce61f2ae655 |
| 2438 |
Author: Martin Ling <[email protected]> |
| 2439 |
Date: Sat Nov 23 11:39:59 2013 +0000 |
| 2440 |
|
| 2441 |
Additional argument checking. |
| 2442 |
|
| 2443 |
commit ea667be751d42100f5927b4ab49a02c9d207250d |
| 2444 |
Author: Martin Ling <[email protected]> |
| 2445 |
Date: Sat Nov 23 01:08:57 2013 +0000 |
| 2446 |
|
| 2447 |
Add additional debug messages. |
| 2448 |
|
| 2449 |
commit c33efc482e4717af368e22748142f959ac727243 |
| 2450 |
Author: Martin Ling <[email protected]> |
| 2451 |
Date: Sat Nov 23 00:26:44 2013 +0000 |
| 2452 |
|
| 2453 |
Add debug output for all entry and exit points. |
| 2454 |
|
| 2455 |
commit 92f756f8c1073908710df059b8350b7650c2ddc3 |
| 2456 |
Author: Martin Ling <[email protected]> |
| 2457 |
Date: Fri Nov 22 22:44:19 2013 +0000 |
| 2458 |
|
| 2459 |
Add debug macros. |
| 2460 |
|
| 2461 |
commit 863b35e69cbad5dce9f9f0547968730de8789256 |
| 2462 |
Author: Martin Ling <[email protected]> |
| 2463 |
Date: Fri Nov 22 22:41:03 2013 +0000 |
| 2464 |
|
| 2465 |
Add API for and default handler for debug messages. |
| 2466 |
|
| 2467 |
commit 71c8a9b906198155c2f494c4eef33b36577a1c2f |
| 2468 |
Author: Uwe Hermann <[email protected]> |
| 2469 |
Date: Fri Nov 22 22:37:15 2013 +0100 |
| 2470 |
|
| 2471 |
serialport.c: Add missing linux_termios.h #include. |
| 2472 |
|
| 2473 |
This is safe to include (at the moment) on all non-win32 OSes, since it |
| 2474 |
doesn't contain anything OS-specific. |
| 2475 |
|
| 2476 |
commit f36c639545ef04bf2340a09a34d3457719a3dcf4 |
| 2477 |
Author: Martin Ling <[email protected]> |
| 2478 |
Date: Fri Nov 22 20:27:39 2013 +0000 |
| 2479 |
|
| 2480 |
Remove dupliate/redundant return value documentation. |
| 2481 |
|
| 2482 |
commit 6aabf62a90915a94c8415ba4e29da96c05b0526b |
| 2483 |
Author: Martin Ling <[email protected]> |
| 2484 |
Date: Fri Nov 22 20:12:39 2013 +0000 |
| 2485 |
|
| 2486 |
Use new SP_ERR_SUPP error to indicate unsupported operations. |
| 2487 |
|
| 2488 |
commit 6a1d6318e5f518e0677339894d9c122fd4a55875 |
| 2489 |
Author: Uwe Hermann <[email protected]> |
| 2490 |
Date: Fri Nov 22 20:13:17 2013 +0100 |
| 2491 |
|
| 2492 |
Makefile.am: Add missing linux_termios.h. |
| 2493 |
|
| 2494 |
If the file is not listed in SOURCES, it won't end up in the tarball. |
| 2495 |
|
| 2496 |
Thanks to Dan HorĂ¡k for the report. |
| 2497 |
|
| 2498 |
commit 68ec29db5e728695590fbcfac19ef783d32c3ec5 |
| 2499 |
Author: Martin Ling <[email protected]> |
| 2500 |
Date: Fri Nov 22 19:00:24 2013 +0000 |
| 2501 |
|
| 2502 |
Check for termiox support at runtime. |
| 2503 |
|
| 2504 |
commit 8d43110ad72dbc729651101b7cd218a5a7441437 |
| 2505 |
Author: Martin Ling <[email protected]> |
| 2506 |
Date: Fri Nov 22 18:43:41 2013 +0000 |
| 2507 |
|
| 2508 |
Fix memory leaks. |
| 2509 |
|
| 2510 |
commit 7de20e391530026e9c7bce986dc5d212a48673e8 |
| 2511 |
Author: Uwe Hermann <[email protected]> |
| 2512 |
Date: Fri Nov 22 16:18:46 2013 +0100 |
| 2513 |
|
| 2514 |
Use common 3-digit package version number. |
| 2515 |
|
| 2516 |
commit 1d5d2a166f582e06aa2848fe9ca9c33f85acd45d |
| 2517 |
Author: Uwe Hermann <[email protected]> |
| 2518 |
Date: Fri Nov 22 16:07:32 2013 +0100 |
| 2519 |
|
| 2520 |
Temporarily disable USE_TERMIOX code (breaks the lib). |
| 2521 |
|
| 2522 |
On some systems the use of the code enabled by USE_TERMIOX leads to a |
| 2523 |
non-working sp_open() which breaks all functionality provided by the lib. |
| 2524 |
|
| 2525 |
Thus, temporarily disable that code until the details are investigated. |
| 2526 |
|
| 2527 |
This has been tested with a serial port DMM and the OLS logic analyzer |
| 2528 |
on an x86 64bit Linux system with kernel version 3.11. The code compiles |
| 2529 |
fine but doesn't work at runtime. The configure output included: |
| 2530 |
|
| 2531 |
checking for struct termios2... yes |
| 2532 |
checking for struct termiox... yes |
| 2533 |
|
| 2534 |
The root cause for the problem is that the ioctl(fd, TCGETX, data) call in |
| 2535 |
get_flow() returns -1 ("Invalid argument"), which in turn lets sp_open() |
| 2536 |
return SP_ERR_FAIL. |
| 2537 |
|
| 2538 |
commit 24abdb680fa5ab99b2e58b0196082c111f5baabc |
| 2539 |
Author: Uwe Hermann <[email protected]> |
| 2540 |
Date: Fri Nov 22 15:53:34 2013 +0100 |
| 2541 |
|
| 2542 |
Minor cosmetics. |
| 2543 |
|
| 2544 |
commit 8645feda604fadd077990dcbf90d687464fa9900 |
| 2545 |
Author: Uwe Hermann <[email protected]> |
| 2546 |
Date: Fri Nov 22 11:59:12 2013 +0100 |
| 2547 |
|
| 2548 |
Add missing #include guards. |
| 2549 |
|
| 2550 |
commit da21834e42bc58065de0871f49fffefa605d4c5b |
| 2551 |
Author: Uwe Hermann <[email protected]> |
| 2552 |
Date: Fri Nov 22 11:56:40 2013 +0100 |
| 2553 |
|
| 2554 |
Fix the build on non-Linux platforms. |
| 2555 |
|
| 2556 |
commit d2ac0e3bbe4d402353a5d31e143915c02a366713 |
| 2557 |
Author: Bert Vermeulen <[email protected]> |
| 2558 |
Date: Fri Nov 22 02:23:17 2013 +0100 |
| 2559 |
|
| 2560 |
Ignore linux_termios leftovers. |
| 2561 |
|
| 2562 |
commit 82f424e6cd5a911cfb1102f9d078436f9c0351c2 |
| 2563 |
Author: Martin Ling <[email protected]> |
| 2564 |
Date: Thu Nov 21 17:22:16 2013 +0000 |
| 2565 |
|
| 2566 |
Fix to sp_flush() on Unix. |
| 2567 |
|
| 2568 |
commit 3f099f4fe8d17e8acc43a04e38d7b6aacc9c6057 |
| 2569 |
Author: Martin Ling <[email protected]> |
| 2570 |
Date: Wed Nov 20 19:11:39 2013 +0000 |
| 2571 |
|
| 2572 |
Add missing @param port entries to documentation. |
| 2573 |
|
| 2574 |
commit 8cf7c6978f9fa9c7ec706440080c10755f357b5c |
| 2575 |
Author: Martin Ling <[email protected]> |
| 2576 |
Date: Wed Nov 20 18:56:35 2013 +0000 |
| 2577 |
|
| 2578 |
Add sp_get_signals() function. |
| 2579 |
|
| 2580 |
commit 90cc3ee62b267ba5009fddd72f63b411ad466faa |
| 2581 |
Author: Martin Ling <[email protected]> |
| 2582 |
Date: Wed Nov 20 18:11:17 2013 +0000 |
| 2583 |
|
| 2584 |
Add sp_start_break() and sp_end_break() functions. |
| 2585 |
|
| 2586 |
commit 69a3739ca07a87d56e376a02f3bc1f0a0a9b64e7 |
| 2587 |
Author: Martin Ling <[email protected]> |
| 2588 |
Date: Wed Nov 20 17:30:50 2013 +0000 |
| 2589 |
|
| 2590 |
Add sp_drain() function. |
| 2591 |
|
| 2592 |
commit ea34fba89980174892ef239ca752484055297f69 |
| 2593 |
Author: Martin Ling <[email protected]> |
| 2594 |
Date: Wed Nov 20 19:13:12 2013 +0000 |
| 2595 |
|
| 2596 |
Add missing @param port entry to documentation. |
| 2597 |
|
| 2598 |
commit fd8fd11a4e60a06b0d15f2c31df18752ee2d3563 |
| 2599 |
Author: Martin Ling <[email protected]> |
| 2600 |
Date: Wed Nov 20 17:22:50 2013 +0000 |
| 2601 |
|
| 2602 |
Make sp_flush take an option for what to flush. |
| 2603 |
|
| 2604 |
commit a036341bdf97dda25f715056a1c5a6a8b8be73af |
| 2605 |
Author: Martin Ling <[email protected]> |
| 2606 |
Date: Wed Nov 20 15:54:10 2013 +0000 |
| 2607 |
|
| 2608 |
Use a more logical set of SP_MODE_* flags. |
| 2609 |
|
| 2610 |
commit 20e63a77b58073e2dacdd85857a4f78b807a055c |
| 2611 |
Author: Martin Ling <[email protected]> |
| 2612 |
Date: Wed Nov 20 19:56:11 2013 +0000 |
| 2613 |
|
| 2614 |
Define SP_PARITY_* more logically. |
| 2615 |
|
| 2616 |
commit 70518e4fddf921fddf9af36f1b7aebeb9cd70a67 |
| 2617 |
Author: Martin Ling <[email protected]> |
| 2618 |
Date: Thu Nov 21 11:52:54 2013 +0000 |
| 2619 |
|
| 2620 |
Document this madness. |
| 2621 |
|
| 2622 |
commit 40978c2b4182d09b197a0218cc107e49509747ad |
| 2623 |
Author: Martin Ling <[email protected]> |
| 2624 |
Date: Thu Nov 21 11:52:41 2013 +0000 |
| 2625 |
|
| 2626 |
Support non-standard flow control modes on Linux. |
| 2627 |
|
| 2628 |
commit 7a6d2196e043a7de86a5675f9fffa0ff0ec33e72 |
| 2629 |
Author: Martin Ling <[email protected]> |
| 2630 |
Date: Thu Nov 21 00:35:51 2013 +0000 |
| 2631 |
|
| 2632 |
Support custom baudrates on Linux. |
| 2633 |
|
| 2634 |
commit 31b3a8f5b52aa90cf3795679da626255fd21c67a |
| 2635 |
Author: Matthias Heidbrink <[email protected]> |
| 2636 |
Date: Wed Nov 20 14:21:07 2013 +0100 |
| 2637 |
|
| 2638 |
Added support for non-standard baud rates for Apple. |
| 2639 |
|
| 2640 |
commit e29b93a572d68ba18b40a948ffc17934f0a1146c |
| 2641 |
Author: Martin Ling <[email protected]> |
| 2642 |
Date: Tue Nov 19 20:46:52 2013 +0000 |
| 2643 |
|
| 2644 |
Retrieve XON/XOFF setting on Unix. |
| 2645 |
|
| 2646 |
commit cf9d365ce06a033c5aca4641740ad347162026be |
| 2647 |
Author: Uwe Hermann <[email protected]> |
| 2648 |
Date: Tue Nov 19 19:55:02 2013 +0100 |
| 2649 |
|
| 2650 |
Doxygen cosmetics. |
| 2651 |
|
| 2652 |
commit 626d280fd3d4a12910a38041bf98bb2e962f3dcc |
| 2653 |
Author: Uwe Hermann <[email protected]> |
| 2654 |
Date: Tue Nov 19 19:37:03 2013 +0100 |
| 2655 |
|
| 2656 |
Consistently use the "@" notation for Doxygen tags. |
| 2657 |
|
| 2658 |
commit eac329d26be4e01824abaf97856b7d30a19bbadf |
| 2659 |
Author: Uwe Hermann <[email protected]> |
| 2660 |
Date: Tue Nov 19 19:31:23 2013 +0100 |
| 2661 |
|
| 2662 |
Cosmetics, whitespace, consistency fixes. |
| 2663 |
|
| 2664 |
commit 705bdc69470f98693afd065e6fd48bbc34872d6d |
| 2665 |
Author: Uwe Hermann <[email protected]> |
| 2666 |
Date: Tue Nov 19 19:20:50 2013 +0100 |
| 2667 |
|
| 2668 |
get_config(): Add a quickfix for xon_xoff. |
| 2669 |
|
| 2670 |
The config->xon_xoff variable is not filled correctly with data read |
| 2671 |
from the current serial port config. Without this, the value of the |
| 2672 |
variable will be bogus and some code that depends on the variable will fail. |
| 2673 |
|
| 2674 |
Note: This is just a temporary quickfix, not a proper final solution. |
| 2675 |
|
| 2676 |
commit 4b448bc5421c602cb2649990e4e67cdb905d1d9a |
| 2677 |
Author: Uwe Hermann <[email protected]> |
| 2678 |
Date: Tue Nov 19 17:58:48 2013 +0100 |
| 2679 |
|
| 2680 |
.gitignore: Add libserialport.h. |
| 2681 |
|
| 2682 |
commit 23922313b38239ee0965f88055e3c8b2bf342136 |
| 2683 |
Author: Uwe Hermann <[email protected]> |
| 2684 |
Date: Tue Nov 19 12:32:01 2013 +0100 |
| 2685 |
|
| 2686 |
set_config(): Add missing CS5 handling. |
| 2687 |
|
| 2688 |
commit c85d0a28de3bd50ff4237cbd44db28a9f449944f |
| 2689 |
Author: Uwe Hermann <[email protected]> |
| 2690 |
Date: Tue Nov 19 12:30:55 2013 +0100 |
| 2691 |
|
| 2692 |
Fix minor Doxygen warning. |
| 2693 |
|
| 2694 |
commit c200f5c1449bd3a82f166f8243e08a41530db3d1 |
| 2695 |
Author: Martin Ling <[email protected]> |
| 2696 |
Date: Tue Nov 19 03:14:09 2013 +0000 |
| 2697 |
|
| 2698 |
Clarify usage of -1 in configuration API. |
| 2699 |
|
| 2700 |
commit 091e75fedcefd97c531ab778462aec2fddc5c1de |
| 2701 |
Author: Martin Ling <[email protected]> |
| 2702 |
Date: Tue Nov 19 03:02:45 2013 +0000 |
| 2703 |
|
| 2704 |
Group functions for documentation. |
| 2705 |
|
| 2706 |
commit eb6ed20f5193475fe0535920e9631137d61aa8b7 |
| 2707 |
Author: Martin Ling <[email protected]> |
| 2708 |
Date: Tue Nov 19 02:36:22 2013 +0000 |
| 2709 |
|
| 2710 |
Use named enums instead of ints for clearer documentation. |
| 2711 |
|
| 2712 |
commit cd5f52812dfbf1f0ec4f72af9a35af2ef02b985a |
| 2713 |
Author: Martin Ling <[email protected]> |
| 2714 |
Date: Tue Nov 19 02:11:34 2013 +0000 |
| 2715 |
|
| 2716 |
Add doxygen documentation. |
| 2717 |
|
| 2718 |
commit bf2cbd652f9b520dcd3de9c98f000b85de00dba6 |
| 2719 |
Author: Martin Ling <[email protected]> |
| 2720 |
Date: Mon Nov 18 22:07:09 2013 +0000 |
| 2721 |
|
| 2722 |
Mark config argument to sp_set_config as const. |
| 2723 |
|
| 2724 |
commit 823690ae3e7c31cab9f14e7efe5402a49380b443 |
| 2725 |
Author: Martin Ling <[email protected]> |
| 2726 |
Date: Mon Nov 18 20:08:25 2013 +0000 |
| 2727 |
|
| 2728 |
Additional argument checking for config functions. |
| 2729 |
|
| 2730 |
commit 8f189c4c0f0b8fdf528688c9204c2e3a4e507659 |
| 2731 |
Author: Martin Ling <[email protected]> |
| 2732 |
Date: Mon Nov 18 20:04:54 2013 +0000 |
| 2733 |
|
| 2734 |
Remove sp_ prefix from private port data structure. |
| 2735 |
|
| 2736 |
commit 348e23ccbb785427a31a10b71db9cb70a5d70cf0 |
| 2737 |
Author: Martin Ling <[email protected]> |
| 2738 |
Date: Mon Nov 18 20:02:30 2013 +0000 |
| 2739 |
|
| 2740 |
Tidy up static functions. |
| 2741 |
|
| 2742 |
commit 8f471c669fb183ceaed529a773e71a67cc7fe4b7 |
| 2743 |
Author: Martin Ling <[email protected]> |
| 2744 |
Date: Mon Nov 18 20:00:15 2013 +0000 |
| 2745 |
|
| 2746 |
Make sure OS handles are set correctly for unopened / closed ports. |
| 2747 |
|
| 2748 |
commit c6754b4517d7c9764a887ee3078a3693bfa5c571 |
| 2749 |
Author: Martin Ling <[email protected]> |
| 2750 |
Date: Mon Nov 18 19:55:43 2013 +0000 |
| 2751 |
|
| 2752 |
Get Xon/Xoff status on Windows. |
| 2753 |
|
| 2754 |
commit e33ab9aaf2a405de8dd765a2a360b6ca44acc6c3 |
| 2755 |
Author: Martin Ling <[email protected]> |
| 2756 |
Date: Mon Nov 18 19:52:37 2013 +0000 |
| 2757 |
|
| 2758 |
Refactor port configuration code. |
| 2759 |
|
| 2760 |
commit 067417af4fd8b619ed5ede2184cb450e35dc3ecd |
| 2761 |
Author: Martin Ling <[email protected]> |
| 2762 |
Date: Sat Nov 16 20:55:53 2013 +0000 |
| 2763 |
|
| 2764 |
Add sp_get_config() function. |
| 2765 |
|
| 2766 |
commit 7e6fb0152c1adf7cba42b866332127dc97f1e64b |
| 2767 |
Author: Martin Ling <[email protected]> |
| 2768 |
Date: Fri Nov 15 00:20:01 2013 +0000 |
| 2769 |
|
| 2770 |
Update documentation. |
| 2771 |
|
| 2772 |
commit a33d84f6a0a30feebdb559162d00a936a468a887 |
| 2773 |
Author: Martin Ling <[email protected]> |
| 2774 |
Date: Fri Nov 15 00:12:50 2013 +0000 |
| 2775 |
|
| 2776 |
Remove disused flowcontrol field from sp_port_config. |
| 2777 |
|
| 2778 |
commit da2748bfb3b852551459604b04eece3aa8feb4fa |
| 2779 |
Author: Martin Ling <[email protected]> |
| 2780 |
Date: Thu Nov 14 23:24:51 2013 +0000 |
| 2781 |
|
| 2782 |
Eliminate lengthy switch/case blocks for baudrates. |
| 2783 |
|
| 2784 |
commit 18fc2dd12bdc4965f705d3bd6d1ebfda3abdbe80 |
| 2785 |
Author: Martin Ling <[email protected]> |
| 2786 |
Date: Thu Nov 14 22:43:03 2013 +0000 |
| 2787 |
|
| 2788 |
Add sp_set_flowcontrol helper function. |
| 2789 |
|
| 2790 |
commit 824dcb45618146cac9103e313e30290f749940d3 |
| 2791 |
Author: Martin Ling <[email protected]> |
| 2792 |
Date: Thu Nov 14 22:27:51 2013 +0000 |
| 2793 |
|
| 2794 |
Store control bits in sp_port_data on Unix. |
| 2795 |
|
| 2796 |
commit e96d8bd288cb6a63e287ef0e8e0f2426e8bb38a3 |
| 2797 |
Author: Martin Ling <[email protected]> |
| 2798 |
Date: Thu Nov 14 22:05:22 2013 +0000 |
| 2799 |
|
| 2800 |
Split up prototypes in include file for clarity. |
| 2801 |
|
| 2802 |
commit 9069c2fbb2f4b9f07e1bf9729e61044c65e09027 |
| 2803 |
Author: Martin Ling <[email protected]> |
| 2804 |
Date: Thu Nov 14 22:01:11 2013 +0000 |
| 2805 |
|
| 2806 |
Add functions for setting individual port parameters. |
| 2807 |
|
| 2808 |
commit 9cb98459a847c667d3a14677c8c57a54048e9e16 |
| 2809 |
Author: Martin Ling <[email protected]> |
| 2810 |
Date: Thu Nov 14 21:43:07 2013 +0000 |
| 2811 |
|
| 2812 |
Apply sane termios settings at port open time. |
| 2813 |
|
| 2814 |
commit 80186526b28fdd306148155cb9d4b2e78637783e |
| 2815 |
Author: Martin Ling <[email protected]> |
| 2816 |
Date: Thu Nov 14 21:39:56 2013 +0000 |
| 2817 |
|
| 2818 |
Add prototypes for config helper functions. |
| 2819 |
|
| 2820 |
commit 9f90173cbd7b3c79f51b4e9729bcbd91a5c30a71 |
| 2821 |
Author: Martin Ling <[email protected]> |
| 2822 |
Date: Thu Nov 14 21:27:06 2013 +0000 |
| 2823 |
|
| 2824 |
Retrieve current control line settings in start_config. |
| 2825 |
|
| 2826 |
commit d514a26f8167a3c3006f8b8c9ff3a4a836bcdd24 |
| 2827 |
Author: Martin Ling <[email protected]> |
| 2828 |
Date: Thu Nov 14 21:12:17 2013 +0000 |
| 2829 |
|
| 2830 |
New API for serial control lines. |
| 2831 |
|
| 2832 |
commit cbf628c7fe04cee7fb5b27f057ff065deea450b1 |
| 2833 |
Author: Martin Ling <[email protected]> |
| 2834 |
Date: Thu Nov 14 20:30:26 2013 +0000 |
| 2835 |
|
| 2836 |
Move cfset{i,o}speed() calls to set_baudrate(). |
| 2837 |
|
| 2838 |
commit a46f0960a2329b149213ce7252f5ecf25b8bd691 |
| 2839 |
Author: Martin Ling <[email protected]> |
| 2840 |
Date: Thu Nov 14 19:45:42 2013 +0000 |
| 2841 |
|
| 2842 |
Use negative values in sp_port_config to retain existing settings. |
| 2843 |
|
| 2844 |
commit d1202734fb67690997f5a74c236f4f1f7d1d2256 |
| 2845 |
Author: Martin Ling <[email protected]> |
| 2846 |
Date: Thu Nov 14 18:41:28 2013 +0000 |
| 2847 |
|
| 2848 |
Replace sp_set_params with sp_set_config, which takes a struct. |
| 2849 |
|
| 2850 |
commit 728f6de510c1a52a52a0deccbdf3dc5a10e2500c |
| 2851 |
Author: Uwe Hermann <[email protected]> |
| 2852 |
Date: Fri Nov 15 11:36:14 2013 +0100 |
| 2853 |
|
| 2854 |
Use new project URL. |
| 2855 |
|
| 2856 |
commit e4bffe06c2fc62c9bbc681c4faf83d3a7ac7b880 |
| 2857 |
Author: Uwe Hermann <[email protected]> |
| 2858 |
Date: Thu Nov 14 22:09:14 2013 +0100 |
| 2859 |
|
| 2860 |
pkg-config file: Use Requires.private to fix static build. |
| 2861 |
|
| 2862 |
Any libs needed when building static binaries must be listed in the |
| 2863 |
'Requires.private' field of the installed pkg-config file libserialport.pc. |
| 2864 |
|
| 2865 |
Currently, this is libudev (but only when building on/for Linux). |
| 2866 |
|
| 2867 |
commit baba075903320faffb5ae3c85169d7e72ba6330f |
| 2868 |
Author: Uwe Hermann <[email protected]> |
| 2869 |
Date: Thu Nov 14 22:16:11 2013 +0100 |
| 2870 |
|
| 2871 |
libserialport.h: Add package/lib version macros. |
| 2872 |
|
| 2873 |
These can be used by frontends e.g. for conditional compilation, or |
| 2874 |
simply for printing, logging to debug output, and so on. |
| 2875 |
|
| 2876 |
commit a3d4a56e1538be7353160061ee74e6d3a16d13da |
| 2877 |
Author: Uwe Hermann <[email protected]> |
| 2878 |
Date: Thu Nov 14 22:01:08 2013 +0100 |
| 2879 |
|
| 2880 |
configure.ac: Drop unneeded AC_MSG_ERROR. |
| 2881 |
|
| 2882 |
The default behaviour of PKG_CHECK_MODULES is to abort with an error |
| 2883 |
anyway, but it will also print a more usable error message and hints |
| 2884 |
for the user about how to use PKG_CONFIG_PATH and so on. |
| 2885 |
|
| 2886 |
commit 5ef8a1ed7fbd45aad65298d5a6c39056ed1a4fa3 |
| 2887 |
Author: Uwe Hermann <[email protected]> |
| 2888 |
Date: Thu Nov 14 21:58:03 2013 +0100 |
| 2889 |
|
| 2890 |
libserialport: Allow C++ frontends to use the lib easily. |
| 2891 |
|
| 2892 |
commit f92f1f0c20ca6ec520d43702ec5f51ca245d7ec9 |
| 2893 |
Author: Uwe Hermann <[email protected]> |
| 2894 |
Date: Thu Nov 14 17:33:53 2013 +0100 |
| 2895 |
|
| 2896 |
Minor cosmetics, typos, and so on. |
| 2897 |
|
| 2898 |
commit 8094e4a0ce07551d8df5fb9c94602d24e601bc5b |
| 2899 |
Author: Martin Ling <[email protected]> |
| 2900 |
Date: Thu Nov 14 13:09:52 2013 +0000 |
| 2901 |
|
| 2902 |
Divide sp_set_params into separate helper functions. |
| 2903 |
|
| 2904 |
commit 767c5ba80e7a1a20a6198701abfe9673d94eebe5 |
| 2905 |
Author: Martin Ling <[email protected]> |
| 2906 |
Date: Mon Nov 4 14:08:03 2013 +0000 |
| 2907 |
|
| 2908 |
Include <stdio.h> on Windows for sprintf, used in sp_open. |
| 2909 |
|
| 2910 |
commit d1d566f27f7896a2685651a43d8ffadeb2fb3a83 |
| 2911 |
Author: Martin Ling <[email protected]> |
| 2912 |
Date: Mon Nov 4 14:02:51 2013 +0000 |
| 2913 |
|
| 2914 |
Support 6-bit data on Unix. |
| 2915 |
|
| 2916 |
commit e4cc1a537a4508544bc27b072644e01feafd4e28 |
| 2917 |
Author: Martin Ling <[email protected]> |
| 2918 |
Date: Mon Nov 4 14:02:41 2013 +0000 |
| 2919 |
|
| 2920 |
Set data bits on Windows. |
| 2921 |
|
| 2922 |
commit 32b5ac05b4046261896729f7eb0e0c5100de98f9 |
| 2923 |
Author: Martin Ling <[email protected]> |
| 2924 |
Date: Mon Nov 4 13:42:55 2013 +0000 |
| 2925 |
|
| 2926 |
Add sp_copy_port() function. |
| 2927 |
|
| 2928 |
commit 99945a1fb53bf4b4d11e7bb54e097c57ea2a230e |
| 2929 |
Author: Martin Ling <[email protected]> |
| 2930 |
Date: Mon Nov 4 13:08:09 2013 +0000 |
| 2931 |
|
| 2932 |
On Windows, prefix port names with '\\.\' to work with ports above COM9. |
| 2933 |
|
| 2934 |
commit f6a1fb65ea9ccd285bf641a928e2421f347a76bc |
| 2935 |
Author: Martin Ling <[email protected]> |
| 2936 |
Date: Mon Nov 4 12:53:12 2013 +0000 |
| 2937 |
|
| 2938 |
Rename header to libserialport.h. |
| 2939 |
|
| 2940 |
commit d9573bad9adba41607514c803e2b1fce3c8d79ec |
| 2941 |
Author: Martin Ling <[email protected]> |
| 2942 |
Date: Mon Nov 4 02:16:21 2013 +0000 |
| 2943 |
|
| 2944 |
Fix enumeration on Windows. |
| 2945 |
|
| 2946 |
commit 0d34b4519cbdf65b4bbaa2eff6894d27a6ffaeba |
| 2947 |
Author: Martin Ling <[email protected]> |
| 2948 |
Date: Mon Nov 4 00:00:05 2013 +0000 |
| 2949 |
|
| 2950 |
Fix enumeration on OS X. |
| 2951 |
|
| 2952 |
commit c45eb4bee2533fc4ac65375c12ba8ed369f61379 |
| 2953 |
Author: Martin Ling <[email protected]> |
| 2954 |
Date: Sun Nov 3 23:12:03 2013 +0000 |
| 2955 |
|
| 2956 |
Update documentation. |
| 2957 |
|
| 2958 |
commit f9796bcb869e25c1a75e000150d7371fcec648f6 |
| 2959 |
Author: Martin Ling <[email protected]> |
| 2960 |
Date: Sun Nov 3 22:40:39 2013 +0000 |
| 2961 |
|
| 2962 |
Remove outdated inline documentation, README is now authoritative. |
| 2963 |
|
| 2964 |
commit b9a462bb47d8db62c118bed932e490ffe5b38a57 |
| 2965 |
Author: Martin Ling <[email protected]> |
| 2966 |
Date: Sun Nov 3 22:38:50 2013 +0000 |
| 2967 |
|
| 2968 |
Clarify return values of sp_get_port_by_name() and sp_list_ports(). |
| 2969 |
|
| 2970 |
commit 25ab82f6c061a92077aa1c2f62a2ceb3de02fdb5 |
| 2971 |
Author: Martin Ling <[email protected]> |
| 2972 |
Date: Sun Nov 3 22:34:17 2013 +0000 |
| 2973 |
|
| 2974 |
Clarify documentation for sp_read() and sp_write(). |
| 2975 |
|
| 2976 |
commit 016193288478dd146b8aec2f8d14945ccd4bd2aa |
| 2977 |
Author: Martin Ling <[email protected]> |
| 2978 |
Date: Sun Nov 3 22:30:46 2013 +0000 |
| 2979 |
|
| 2980 |
Update documentation. |
| 2981 |
|
| 2982 |
commit e3b2f7a4e3c1315d51d6a91eec7dde44ec0a623b |
| 2983 |
Author: Martin Ling <[email protected]> |
| 2984 |
Date: Sun Nov 3 22:27:59 2013 +0000 |
| 2985 |
|
| 2986 |
Add sp_free_port() function. |
| 2987 |
|
| 2988 |
commit 77f262c4f93264bf48b0832399528a557314eb5e |
| 2989 |
Author: Martin Ling <[email protected]> |
| 2990 |
Date: Sun Nov 3 22:15:54 2013 +0000 |
| 2991 |
|
| 2992 |
Make sp_list_ports and sp_get_port_by_name return int. |
| 2993 |
|
| 2994 |
commit d4babed247a917219709f5bb50241d54e1a037be |
| 2995 |
Author: Martin Ling <[email protected]> |
| 2996 |
Date: Sun Nov 3 21:35:46 2013 +0000 |
| 2997 |
|
| 2998 |
Add sp_get_port_by_name() function. |
| 2999 |
|
| 3000 |
commit 5919c9134abff82adeed3941fde27fed65d01dcb |
| 3001 |
Author: Martin Ling <[email protected]> |
| 3002 |
Date: Sun Nov 3 21:30:43 2013 +0000 |
| 3003 |
|
| 3004 |
Port name string length now no longer needs to be passed around. |
| 3005 |
|
| 3006 |
commit 8b532d9c1e91bb3e956a31b06f43b386bf7b7b68 |
| 3007 |
Author: Martin Ling <[email protected]> |
| 3008 |
Date: Sun Nov 3 21:22:21 2013 +0000 |
| 3009 |
|
| 3010 |
Handle conversion of unicode names to char * on Windows. |
| 3011 |
|
| 3012 |
commit d54e90047b0ef2ddf8aef2ff2ed14b84829671a0 |
| 3013 |
Author: Martin Ling <[email protected]> |
| 3014 |
Date: Sun Nov 3 21:17:21 2013 +0000 |
| 3015 |
|
| 3016 |
Identify ports by sp_port structure, not name. |
| 3017 |
|
| 3018 |
commit 24c1a4bb053e517a55eb0f6355b8f362659d4caf |
| 3019 |
Author: Martin Ling <[email protected]> |
| 3020 |
Date: Sun Nov 3 20:50:01 2013 +0000 |
| 3021 |
|
| 3022 |
Always return an empty port list unless allocation fails. |
| 3023 |
|
| 3024 |
commit e9a2f9c9d35624148b4715e80c2dc2ac0387ee6b |
| 3025 |
Author: Martin Ling <[email protected]> |
| 3026 |
Date: Sun Nov 3 20:21:36 2013 +0000 |
| 3027 |
|
| 3028 |
Add SP_ERR_MEM failure code. |
| 3029 |
|
| 3030 |
commit 1ebf4347e087d10ea7f9bd916c8bdc426ffd4b5e |
| 3031 |
Author: Martin Ling <[email protected]> |
| 3032 |
Date: Sat Nov 2 19:14:36 2013 +0000 |
| 3033 |
|
| 3034 |
Fix building on OSX and Linux. |
| 3035 |
|
| 3036 |
commit bdfb5b8c0893654b69d2149010c154c19b51c575 |
| 3037 |
Author: Martin Ling <[email protected]> |
| 3038 |
Date: Mon Oct 28 01:32:06 2013 +0000 |
| 3039 |
|
| 3040 |
Rename "name" to "value" to be more consistent with Windows terminology. |
| 3041 |
|
| 3042 |
commit ac74fdafca3200577b4d55b086a32a652282b267 |
| 3043 |
Author: Martin Ling <[email protected]> |
| 3044 |
Date: Sun Oct 27 17:24:12 2013 +0000 |
| 3045 |
|
| 3046 |
Add enum values for flow control settings. |
| 3047 |
|
| 3048 |
commit 0a16d4def93aa348fdd480222168d8e66afd1784 |
| 3049 |
Author: Martin Ling <[email protected]> |
| 3050 |
Date: Sun Oct 27 17:19:39 2013 +0000 |
| 3051 |
|
| 3052 |
Add documentation. |
| 3053 |
|
| 3054 |
commit e8ffaee986f4e77ce1d949971e1d9b8acc2fc831 |
| 3055 |
Author: Martin Ling <[email protected]> |
| 3056 |
Date: Sun Oct 27 15:42:08 2013 +0000 |
| 3057 |
|
| 3058 |
Add include guard. |
| 3059 |
|
| 3060 |
commit 4b97c9fc26b3eaca7609c6c475c0d1f803294b26 |
| 3061 |
Author: Martin Ling <[email protected]> |
| 3062 |
Date: Sun Oct 27 12:51:55 2013 +0000 |
| 3063 |
|
| 3064 |
Ignore non-existant serial8250 ports on Linux. |
| 3065 |
|
| 3066 |
commit 08fe0bdbdb1a3e10bc7e2b07b317e271ce99049a |
| 3067 |
Author: Martin Ling <[email protected]> |
| 3068 |
Date: Sun Oct 27 12:09:37 2013 +0000 |
| 3069 |
|
| 3070 |
On Linux, skip virtual ttys that have no parent device. |
| 3071 |
|
| 3072 |
commit 8683177b9d2a17ff40df49e0f90ce818a0b5e209 |
| 3073 |
Author: Martin Ling <[email protected]> |
| 3074 |
Date: Sun Oct 27 11:29:25 2013 +0000 |
| 3075 |
|
| 3076 |
Minor changes to port flags on Unix, to remain in sync with libsigrok. |
| 3077 |
|
| 3078 |
commit db2794cea96bcf2f953bc5da5071043e2dd665ce |
| 3079 |
Author: Martin Ling <[email protected]> |
| 3080 |
Date: Wed May 8 02:55:43 2013 +0100 |
| 3081 |
|
| 3082 |
Fix list append. |
| 3083 |
|
| 3084 |
commit 68ab64ccdcb6c0a845dce417c18a74fcf284f9d2 |
| 3085 |
Author: Martin Ling <[email protected]> |
| 3086 |
Date: Sun Apr 28 12:36:02 2013 +0100 |
| 3087 |
|
| 3088 |
Document enumeration functions. |
| 3089 |
|
| 3090 |
commit 3b63f34dcbf612a9cdd54d0963187f4348951cb5 |
| 3091 |
Author: Martin Ling <[email protected]> |
| 3092 |
Date: Sun Apr 28 11:56:06 2013 +0100 |
| 3093 |
|
| 3094 |
Add serial enumeration code. |
| 3095 |
|
| 3096 |
commit d22b213120f232db9bb5f448d78219f1e1634cd7 |
| 3097 |
Author: Martin Ling <[email protected]> |
| 3098 |
Date: Sun Apr 28 00:50:30 2013 +0100 |
| 3099 |
|
| 3100 |
Add .gitignore for build outputs. |
| 3101 |
|
| 3102 |
commit 0662f2bb88079a49ed6329e960aa57dabec5ba34 |
| 3103 |
Author: Martin Ling <[email protected]> |
| 3104 |
Date: Sun Apr 28 00:32:08 2013 +0100 |
| 3105 |
|
| 3106 |
Add build system. |
| 3107 |
|
| 3108 |
commit 64eec30d22f1b821a021bfd4a8d54e169e84731b |
| 3109 |
Author: Martin Ling <[email protected]> |
| 3110 |
Date: Sun Apr 28 00:17:46 2013 +0100 |
| 3111 |
|
| 3112 |
Avoid unused variable warning on non-Windows platforms. |
| 3113 |
|
| 3114 |
commit 954e81adaf8548cf9e11064e8862041cdb49df3f |
| 3115 |
Author: Martin Ling <[email protected]> |
| 3116 |
Date: Sun Apr 28 00:15:09 2013 +0100 |
| 3117 |
|
| 3118 |
Remove unused glob.h include. |
| 3119 |
|
| 3120 |
commit 74510d4b59f755dc2db687e0e321eed25181cc37 |
| 3121 |
Author: Martin Ling <[email protected]> |
| 3122 |
Date: Sat Apr 27 23:35:45 2013 +0100 |
| 3123 |
|
| 3124 |
Initial version. Builds for Linux and Windows. |