William Woodall
|
f1e53d17fb
|
remove vestigial read_cache_ member variable
|
2014-07-02 15:07:38 -07:00 |
|
William Woodall
|
76c5575f80
|
Merge pull request #66 from bakercp/bugfix_osx_compiling
Add defines to new list_ports methods to compile on OSX.
|
2014-07-02 15:05:15 -07:00 |
|
William Woodall
|
033b009480
|
Merge pull request #65 from wjwwood/fix_locking
fix usage of scoped locks
|
2014-07-02 15:03:41 -07:00 |
|
William Woodall
|
23770f9581
|
Merge branch 'Konstantinacc-master'
|
2014-07-02 15:02:06 -07:00 |
|
William Woodall
|
051824894b
|
style fixup
|
2014-07-02 15:01:53 -07:00 |
|
Christopher Baker
|
24a8722f3e
|
Fix typo.
|
2014-07-02 11:18:11 -05:00 |
|
Christopher Baker
|
b46681e8cc
|
Add defines to new list_ports methods to compile on OSX.
|
2014-07-02 10:47:45 -05:00 |
|
William Woodall
|
72af8435c5
|
fix usage of scoped locks
previously they were getting destroyed
immediately because they were not stored in a
temporary scope variable
|
2014-06-23 11:23:27 -07:00 |
|
Konstantina Kastanara
|
04d4763926
|
Added return value control in Serial::SerialImpl::close () in unix.cc and win.cc
|
2014-05-07 18:49:37 +03:00 |
|
William Woodall
|
2df3499e81
|
Merge pull request #49 from clearpathrobotics/wait-functions
Wait functions
|
2014-04-28 10:58:55 -07:00 |
|
Mike Purvis
|
2906a6fe90
|
Add missing stubs to serial/impl/win.h header
|
2014-04-28 07:30:40 -04:00 |
|
William Woodall
|
be80973ee7
|
Merge pull request #59 from LilleySavij/list_ports
List ports
|
2014-04-27 23:28:59 -07:00 |
|
Craig Lilley
|
10fa977dad
|
Fixed a syntax error.
In list_ports_win.cc.
|
2014-04-28 00:01:42 +01:00 |
|
Craig Lilley
|
5d0c5335fa
|
Updated documentation.
|
2014-04-26 13:22:45 +01:00 |
|
Craig Lilley
|
31a589e6e7
|
Added osx implementation to list_ports.
|
2014-04-26 12:49:30 +01:00 |
|
Craig Lilley
|
301a3d4b27
|
Changed the serial::PortDescription struct.
- Renamed to PortInfo.
- "friendly_name" field is now "description".
|
2014-04-24 02:23:26 +01:00 |
|
Craig Lilley
|
b8479822f7
|
Refactored list_ports to return a vector of serial::PortDescription.
|
2014-04-22 01:02:58 +01:00 |
|
William Woodall
|
9f89596e85
|
return a vector<array<string, 3> > from list_ports
instead of a vector<vector<string> >
|
2014-04-17 19:54:29 +01:00 |
|
Craig Lilley
|
72604cec0e
|
Added ability to enumerate ports on linux and windows.
Updated serial_example.cc to show example of port enumeration.
|
2014-04-17 19:54:29 +01:00 |
|
William Woodall
|
4e5f143121
|
fix compile on VS2013
|
2014-04-16 14:32:28 -07:00 |
|
William Woodall
|
17afacc625
|
1.1.7
1.1.7
|
2014-02-20 17:37:00 -08:00 |
|
William Woodall
|
0fb1a6de87
|
update changelogs
|
2014-02-20 17:35:39 -08:00 |
|
Mike Purvis
|
5ec56d8294
|
Stubs for waitReadable and waitByteTimes on Windows.
|
2014-02-17 22:50:16 -05:00 |
|
William Woodall
|
15d37ac3aa
|
Merge pull request #55 from dawid-aurobit/mingw
support for mingw (mxe.cc)
|
2014-01-05 23:34:52 -08:00 |
|
dawid
|
780f76c40d
|
support for mingw (mxe.cc)
|
2014-01-05 18:29:04 +01:00 |
|
William Woodall
|
b1f25e884a
|
Merge pull request #54 from nbigaouette/master
Fix compilation warning
|
2013-12-27 13:38:58 -08:00 |
|
Nicolas Bigaouette
|
feb667cc97
|
Fix compilation warning
See issue #53
|
2013-12-27 16:31:24 -05:00 |
|
William Woodall
|
f051c0a613
|
Merge pull request #45 from clearpathrobotics/timespec-refactor2
Timespec refactor (again)
|
2013-11-20 13:24:30 -08:00 |
|
Mike Purvis
|
d74c74bf15
|
Fill out waitByteTimes, integrate it into read as discussed in ticket #37
|
2013-11-19 12:27:56 -05:00 |
|
Mike Purvis
|
28025034bd
|
Add waitReadable and waitByteTimes stubs.
|
2013-11-19 12:27:56 -05:00 |
|
Mike Purvis
|
a633418771
|
Build tests on Travis.
|
2013-11-18 21:35:13 -05:00 |
|
Mike Purvis
|
9c432f9bb1
|
Add unix timer tests, clarify tests are only on unix at present, move test builds into separate makefile.
|
2013-11-18 21:35:07 -05:00 |
|
Mike Purvis
|
a9bf8d804d
|
Pre-fill buffer at start of read, to avoid the select if unnecessary.
|
2013-11-18 11:26:04 -05:00 |
|
Mike Purvis
|
c3855adbb0
|
Wrap nanoseconds when >= 1e9, rather than > 1e9.
|
2013-11-14 22:02:07 -05:00 |
|
Mike Purvis
|
fbffc18dd7
|
Fix for computing an expiry without rollover.
|
2013-11-08 10:03:27 -05:00 |
|
Mike Purvis
|
2e5e8f940b
|
Divide by 1e9 to get seconds from nanoseconds, instead of 1e6.
|
2013-10-31 21:48:44 -04:00 |
|
William Woodall
|
cfac5bbcc9
|
use static casts rather than C-style casting
C-style casting can result in undesired reinterpret_casts
So we should avoid them, see:
http://stackoverflow.com/questions/332030/when-should-static-cast-dynamic-cast-and-reinterpret-cast-be-used
|
2013-10-31 19:44:34 -04:00 |
|
Mike Purvis
|
3f2ed36849
|
Of course, the timespec_from_ms function must return its result.
|
2013-10-31 19:43:49 -04:00 |
|
Mike Purvis
|
5820056aef
|
Remove TimerExpiredException.
|
2013-10-31 19:43:49 -04:00 |
|
Mike Purvis
|
589e7b9a3b
|
Eliminate modulus operator.
|
2013-10-31 19:43:49 -04:00 |
|
Mike Purvis
|
d8a1ef4ecf
|
Rename now function to timespec_now and timeout_time to expiry, for greater clarity.
|
2013-10-31 19:43:49 -04:00 |
|
Mike Purvis
|
6747711632
|
Implement MillisecondTimer in the unix read() and write() functions.
|
2013-10-31 19:43:49 -04:00 |
|
Mike Purvis
|
16a024691b
|
Add MillisecondTimer class.
|
2013-10-31 19:43:49 -04:00 |
|
William Woodall
|
dd7259149f
|
if not windows guard for unix.h
|
2013-10-30 11:54:59 -07:00 |
|
William Woodall
|
e8f913b4a4
|
Contributor notice
|
2013-10-30 11:53:06 -07:00 |
|
William Woodall
|
348cb9bdc5
|
fix broken ifdef _WIN32
|
2013-10-30 11:42:59 -07:00 |
|
William Woodall
|
092836d78f
|
[style] whitespace changes only
|
2013-10-30 11:42:35 -07:00 |
|
William Woodall
|
5a43c628df
|
Merge branch 'master' of https://github.com/bakercp/serial into bakercp-master
|
2013-10-30 10:49:07 -07:00 |
|
William Woodall
|
22f5e302be
|
fix warnings about uninitialized class members
|
2013-10-28 15:10:38 -07:00 |
|
William Woodall
|
32b3631285
|
[style] white space clean up
|
2013-10-28 15:09:53 -07:00 |
|