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
|
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 |
|
Christopher Baker
|
0e5f7fa317
|
Fix broken ioctl calls, add exception handling.
|
2013-10-27 18:50:06 -05:00 |
|
Christopher Baker
|
9d04c09f10
|
Code guards for platform-specific implementations.
(when not using cmake / catkin)
|
2013-10-27 18:49:07 -05:00 |
|
Christopher Baker
|
5bcbbfb09c
|
Explicit using.
|
2013-10-27 18:42:53 -05:00 |
|
William Woodall
|
d06b2f94dd
|
"1.1.6"
1.1.6
|
2013-10-17 11:13:00 -07:00 |
|
William Woodall
|
3d0537ceb8
|
update changelog
|
2013-10-17 11:12:18 -07:00 |
|
William Woodall
|
863aee8795
|
Merge pull request #41 from clearpathrobotics/one-point-five-fix
Fix aliasing of stopbits_one_point_five
|
2013-10-09 10:47:57 -07:00 |
|
Mike Purvis
|
8f01d23249
|
Move stopbits_one_point_five to the end of the enum, so that it doesn't alias with stopbits_two.
|
2013-10-06 01:24:42 -04:00 |
|
William Woodall
|
0c7a1f59c3
|
1.1.5
1.1.5
|
2013-09-23 21:20:33 -07:00 |
|
William Woodall
|
dc9282862c
|
updating changelogs
|
2013-09-23 21:20:22 -07:00 |
|
William Woodall
|
f1885c60c0
|
Merge pull request #38 from wmhilton/master
Windows build instructions
|
2013-08-28 16:30:17 -07:00 |
|
William Woodall
|
bed25fd8a2
|
Fix license labeling, I put BSD, but the license has always been MIT...
|
2013-08-28 15:01:13 -07:00 |
|
William Hilton
|
737cf2a04d
|
Added Microsoft Visual Studio 2010 project to make compiling on Windows easier.
|
2013-08-25 19:22:11 -04:00 |
|
William Woodall
|
ae34a17364
|
Merge pull request #33 from wjwwood/fix_custom_baudrate_osx
Update how custom baudrates are handled on OS X
|
2013-08-13 13:53:14 -07:00 |
|
William Woodall
|
a20acb2a00
|
Merge pull request #35 from daniser/patch-1
Implemented Serial::available() for Windows
|
2013-08-06 17:38:24 -07:00 |
|
daniser
|
079615f11f
|
Update win.cc
|
2013-08-06 02:08:22 +03:00 |
|
daniser
|
125c105e3f
|
Implemented Serial::available() for Windows
|
2013-08-06 01:28:46 +03:00 |
|
William Woodall
|
c455d053bf
|
Fixup unix case for strerror
|
2013-08-02 14:24:39 -07:00 |
|
William Woodall
|
e11abb04f2
|
Fix compiler warnings on Windows
|
2013-08-02 21:20:25 -07:00 |
|
William Woodall
|
3db36faa14
|
Update how custom baudrates are handled on OS X
This is taken from the example serial program
on Apple's developer website, see:
http://free-pascal-general.1045716.n5.nabble.com/Non-standard-baud-rates-in-OS-X-IOSSIOSPEED-IOCTL-td4699923.html
|
2013-07-31 16:54:15 -07:00 |
|
William Woodall
|
3292f2b682
|
Fix up linking on Linux for the tests
Conflicts:
CMakeLists.txt
tests/serial_tests.cc
|
2013-07-31 16:52:19 -07:00 |
|
William Woodall
|
e1138fda9e
|
Merge pull request #32 from wjwwood/fix_timeout_windows
Setting timeout throws an exception on Windows
|
2013-07-30 16:17:00 -07:00 |
|
William Woodall
|
2143e8d475
|
Apply the timeout settings with reconfigurePort
|
2013-07-30 14:08:06 -07:00 |
|
William Woodall
|
a0a586cf5b
|
[style] always use curly braces with if statements
|
2013-07-30 14:04:30 -07:00 |
|
William Woodall
|
329545b282
|
Merge pull request #30 from wjwwood/fix_wstring_windows
Fix wide string usage in Windows impl
|
2013-07-30 11:26:31 -07:00 |
|
William Woodall
|
9d20d1a07f
|
convert wstring into string when printing
|
2013-07-30 11:06:47 -07:00 |
|
William Woodall
|
7e04501d99
|
Merge pull request #31 from nbigaouette/fix_doc
Fix a typo in documentation
|
2013-07-30 11:02:29 -07:00 |
|