1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 19:54:57 +08:00

344 Commits

Author SHA1 Message Date
William Woodall
937e834698 Updating the unix implementation to support the more sophisticated timeout system. 2012-05-09 19:51:56 -05:00
William Woodall
3039acbab9 Adding a convenience function for generating simple Timeouts based purely on the total time until a timeout occurs with no regard to inter byte timeout or timeout multipliers. 2012-05-07 13:06:28 -05:00
William Woodall
ba0c648119 Fixes #16. 2012-05-07 13:04:34 -05:00
William Woodall
0a66fa991d Changes to the documentation generation mechanism 2012-05-02 23:39:42 -05:00
William Woodall
194169e5e6 More updates to the documentation and new api after comments from john and michael. 2012-05-02 21:49:09 -05:00
William Woodall
8022c1b1ea Updating the API to fix some inconsistencies 2012-05-02 00:45:23 -05:00
David Hodo
3d6581ba6d fixed library name - hardcoded not based on project name v0.1 2012-04-27 18:02:21 -05:00
William Woodall
51e4755dd9 fixing bug in the Findserial.cmake file, reported by David Hodo. 2012-04-27 09:54:04 -05:00
William Woodall
81fc77dd47 Fixed some warnings from clang 2012-04-02 21:20:45 -05:00
William Woodall
a8259fcda2 Changing the throw to add file and line number 2012-02-07 14:11:17 -06:00
John Harrison
c3fb62a7d0 Missing a linked library on linux 2012-02-06 22:49:36 -06:00
John Harrison
7256b1462d Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-02-06 22:44:44 -06:00
John Harrison
68fb40e057 Adding my basic tests 2012-02-06 22:44:30 -06:00
John Harrison
b49cb92eba Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-02-06 18:31:16 -06:00
John Harrison
6138aceedf Removing a Clang specific compiler warning. 2012-02-06 18:31:06 -06:00
John Harrison
6871cf7d56 Removing a Clang specific compiler warning. 2012-02-06 18:29:06 -06:00
John Harrison
7d35eea4f7 Enabling warnings! They catch things, like Pokemon
And bad casts and bad constructors and and … Ya, Warnings good!
2012-02-06 18:27:39 -06:00
John Harrison
9734f943cb Fixing bad C++ constructors.
I am not sure if this is related to the random crashes on Linux, but the wrong C++ std::string constructors were being called because of bad use of c-style array dereferencing. The correct C++ std::string constructors are being called now.
2012-02-06 18:22:14 -06:00
John Harrison
61c193f5d8 Configuring CMake to link against thread libraries
This is used to link against pthread and friends that are used for threading and mutex's.
2012-02-06 18:20:15 -06:00
William Woodall
18f86ebf4b Tracking down segfaults on Linux 2012-02-05 22:31:06 -06:00
William Woodall
6853f8c05d Fixing a reading buffer bug and expanding the example 2012-02-04 21:56:10 -06:00
William Woodall
0eab7f1f38 fixing some stuff in unix.cc to match changes in enums 2012-02-04 21:20:21 -06:00
William Woodall
34ce959672 wtf: 'Users/william/devel/atrv_ws/serial/include/serial/serial.h:82: error: stray ‘\303’ in program', fixed... 2012-02-04 21:18:26 -06:00
William Woodall
6cdd3fe795 Merge branch 'boostless' of https://github.com/wjwwood/serial into boostless
Conflicts:
	include/serial/serial.h
2012-02-04 21:17:27 -06:00
William Woodall
aa59c9517f Some style changes 2012-02-04 21:15:23 -06:00
William Woodall
2978386696 Read/write seem to be working on linux, need to test on OS X. 2012-02-04 21:14:22 -06:00
William Woodall
c429b0eede Removed serial listener, reworking the example, completely removed boost. Builds on my laptop with boost uninstalled. 2012-02-03 01:43:42 -06:00
William Woodall
05fa4b8d77 Removing serial listener, next make sure I can compile without boost completely. 2012-02-02 23:35:40 -06:00
John Harrison
f7cee5e175 Testing my changes to make sure they are consistant. 2012-01-30 16:33:58 -06:00
John Harrison
119be4630e Testing the new buffer 2012-01-30 14:53:33 -06:00
John Harrison
7b027d39ef Merge branch 'stringbuffer' into boostless 2012-01-30 14:44:43 -06:00
William Woodall
cea751402e Adding some linux specific fixes. fixes #13 2012-01-29 15:41:38 -06:00
William Woodall
dc556c9f25 Merge branch 'boostless' into stringbuffer 2012-01-28 15:36:28 -06:00
William Woodall
c3a82750e6 Some small changes to fix things discovered while testing serial listener. 2012-01-28 14:39:55 -06:00
John Harrison
d8874120a5 Change the buffer to a generic C++ std::string 2012-01-27 20:21:10 -06:00
William Woodall
f610fb79ff fixing empty token bug, and adding some debugging stuff. 2012-01-24 23:05:28 -06:00
William Woodall
0d464469cc Serial listener tests complete and working 2012-01-24 14:19:09 -06:00
John Harrison
bca4eba672 Reverting the deletion of the baud rate validation. 2012-01-24 12:26:03 -06:00
William Woodall
20f552bc80 Got some serial listener tests working 2012-01-24 12:20:46 -06:00
John Harrison
6983d1145f Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-01-23 16:18:04 -06:00
John Harrison
9b0fdfc2f5 Validate bauds and add the ability to set custom bauds. 2012-01-23 16:17:57 -06:00
William Woodall
35c93caf42 Still working on the tests 2012-01-23 15:28:01 -06:00
John Harrison
c5de0744e6 Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-01-23 14:28:53 -06:00
William Woodall
2be24ab23c Merge branch 'boostless' of https://github.com/wjwwood/serial into boostless 2012-01-23 14:28:19 -06:00
John Harrison
49ae058770 Found an error in my buffering code and added a timeout
to write
2012-01-23 14:28:16 -06:00
William Woodall
0ea153a9b4 Updating tests while on the mac 2012-01-23 14:28:14 -06:00
Scott Martin
cac9ae42c0 Updating tests while testing on linux 2012-01-23 14:23:01 -06:00
John Harrison
8b2c7d4359 Updating the error handling. 2012-01-23 13:09:14 -06:00
John Harrison
382a7f68b0 Merge branch 'boostless' of github.com:wjwwood/serial into boostless 2012-01-23 11:55:34 -06:00
John Harrison
5324caf2a3 Updating the example to allow variable bauds 2012-01-23 11:55:17 -06:00