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

Commit Graph

  • c19a5a3cc9 Merge pull request #75 from Konstantinacc/master William Woodall 2014-08-19 10:16:54 -07:00
  • 7bce3e0fdc CloseHanle fd_ if SetCommState fails in function Serial::SerialImpl::reconfigurePort (). Konstantina Kastanara 2014-08-19 18:24:48 +03:00
  • 7de61c1603 Merge pull request #72 from dawid-aurobit/mxe-cross William Woodall 2014-08-16 20:26:21 -07:00
  • 49b6762927 support for mxe Dawid Piotrowski 2014-08-16 22:08:56 +02:00
  • 8fe085c45f Merge pull request #69 from linquize/vs William Woodall 2014-07-27 14:38:49 -07:00
  • b55e9f797f Can use the toolsets from Visual Studio 2010, 2012, 2013 Linquize 2014-07-26 22:00:10 +08:00
  • 54d7a9474a Fix warning in Win64 Linquize 2014-07-26 21:59:53 +08:00
  • 88ee4b3e3b Merge pull request #70 from bakercp/bugfix-availability-macros William Woodall 2014-07-21 13:04:49 -07:00
  • 3f0d49a602 Make sure AvailabilityMacros.h is included for build systems that do not include it by default. - Required for macros such as MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_MIN_REQUIRED, etc. Christopher Baker 2014-07-21 12:29:38 -05:00
  • 124e601d2f Add VS related ignore files to .gitignore Linquize 2014-07-19 20:21:02 +08:00
  • 60bb787f93 Add x64 Platform to VS project Linquize 2014-07-19 20:49:08 +08:00
  • d107487228 Add <SubSystem> tags to VS projects, specifically, test_serial is a console application Linquize 2014-07-19 20:46:16 +08:00
  • e315dc5a48 Make Release|Win32 configuration compile Linquize 2014-07-19 20:13:56 +08:00
  • 17aac9b77d Merge pull request #68 from bakercp/mingw_vs_text William Woodall 2014-07-15 13:35:28 -07:00
  • 24564c59d3 Remove confusing comment. Christopher Baker 2014-07-13 09:17:27 -05:00
  • 1697fe2c56 Merge pull request #67 from bakercp/no_cpp11_codeblocks_win William Woodall 2014-07-12 14:16:31 -07:00
  • d9847ff87b Fixes to allow cross correct encoding on both codeblocsk / mingw and visual studio. Christopher Baker 2014-07-11 09:28:55 -05:00
  • e16f43b1e4 Revert c++11 feature for better backward compatibility. Christopher Baker 2014-07-10 23:57:19 -05:00
  • 46802a9b3c 1.2.0 1.2.0 William Woodall 2014-07-02 15:59:39 -07:00
  • 3d1f802242 changelog William Woodall 2014-07-02 15:59:20 -07:00
  • dfc59a5f11 whitespace William Woodall 2014-07-02 15:23:23 -07:00
  • de704369db fixup removal of read_cache_ William Woodall 2014-07-02 15:17:02 -07:00
  • f1e53d17fb remove vestigial read_cache_ member variable William Woodall 2014-07-02 15:07:24 -07:00
  • 76c5575f80 Merge pull request #66 from bakercp/bugfix_osx_compiling William Woodall 2014-07-02 15:05:15 -07:00
  • 033b009480 Merge pull request #65 from wjwwood/fix_locking William Woodall 2014-07-02 15:03:41 -07:00
  • 23770f9581 Merge branch 'Konstantinacc-master' William Woodall 2014-07-02 15:02:06 -07:00
  • 051824894b style fixup William Woodall 2014-07-02 15:01:53 -07:00
  • 24a8722f3e Fix typo. Christopher Baker 2014-07-02 11:18:11 -05:00
  • b46681e8cc Add defines to new list_ports methods to compile on OSX. Christopher Baker 2014-07-02 10:47:45 -05:00
  • 72af8435c5 fix usage of scoped locks William Woodall 2014-06-23 11:13:46 -07:00
  • 04d4763926 Added return value control in Serial::SerialImpl::close () in unix.cc and win.cc Konstantina Kastanara 2014-05-07 18:49:37 +03:00
  • 2df3499e81 Merge pull request #49 from clearpathrobotics/wait-functions William Woodall 2014-04-28 10:58:55 -07:00
  • 2906a6fe90 Add missing stubs to serial/impl/win.h header Mike Purvis 2014-04-28 07:30:40 -04:00
  • be80973ee7 Merge pull request #59 from LilleySavij/list_ports William Woodall 2014-04-27 23:28:59 -07:00
  • 10fa977dad Fixed a syntax error. Craig Lilley 2014-04-28 00:01:42 +01:00
  • 5d0c5335fa Updated documentation. Craig Lilley 2014-04-26 13:22:45 +01:00
  • 31a589e6e7 Added osx implementation to list_ports. Craig Lilley 2014-04-25 02:50:40 +01:00
  • 301a3d4b27 Changed the serial::PortDescription struct. Craig Lilley 2014-04-24 02:17:07 +01:00
  • b8479822f7 Refactored list_ports to return a vector of serial::PortDescription. Craig Lilley 2014-04-22 01:02:58 +01:00
  • 9f89596e85 return a vector<array<string, 3> > from list_ports William Woodall 2014-04-16 15:07:36 -07:00
  • 72604cec0e Added ability to enumerate ports on linux and windows. Craig Lilley 2014-02-22 20:02:32 +00:00
  • 4e5f143121 fix compile on VS2013 William Woodall 2014-04-16 14:32:28 -07:00
  • 17afacc625 1.1.7 1.1.7 William Woodall 2014-02-20 17:37:00 -08:00
  • 0fb1a6de87 update changelogs William Woodall 2014-02-20 17:35:39 -08:00
  • 5ec56d8294 Stubs for waitReadable and waitByteTimes on Windows. Mike Purvis 2014-02-17 22:50:16 -05:00
  • 15d37ac3aa Merge pull request #55 from dawid-aurobit/mingw William Woodall 2014-01-05 23:34:52 -08:00
  • 780f76c40d support for mingw (mxe.cc) dawid 2014-01-02 19:47:39 +01:00
  • b1f25e884a Merge pull request #54 from nbigaouette/master William Woodall 2013-12-27 13:38:58 -08:00
  • feb667cc97 Fix compilation warning Nicolas Bigaouette 2013-12-27 16:31:24 -05:00
  • d74c74bf15 Fill out waitByteTimes, integrate it into read as discussed in ticket #37 Mike Purvis 2013-11-06 22:27:17 -05:00
  • 28025034bd Add waitReadable and waitByteTimes stubs. Mike Purvis 2013-11-06 21:53:08 -05:00
  • f051c0a613 Merge pull request #45 from clearpathrobotics/timespec-refactor2 William Woodall 2013-11-20 13:24:30 -08:00
  • a633418771 Build tests on Travis. Mike Purvis 2013-11-18 20:53:20 -05:00
  • 9c432f9bb1 Add unix timer tests, clarify tests are only on unix at present, move test builds into separate makefile. Mike Purvis 2013-11-18 20:50:21 -05:00
  • a9bf8d804d Pre-fill buffer at start of read, to avoid the select if unnecessary. Mike Purvis 2013-11-18 11:25:25 -05:00
  • c3855adbb0 Wrap nanoseconds when >= 1e9, rather than > 1e9. Mike Purvis 2013-11-14 22:02:07 -05:00
  • fbffc18dd7 Fix for computing an expiry without rollover. Mike Purvis 2013-11-08 10:02:54 -05:00
  • 2e5e8f940b Divide by 1e9 to get seconds from nanoseconds, instead of 1e6. Mike Purvis 2013-10-31 21:48:44 -04:00
  • cfac5bbcc9 use static casts rather than C-style casting William Woodall 2013-10-31 14:47:10 -07:00
  • 3f2ed36849 Of course, the timespec_from_ms function must return its result. Mike Purvis 2013-10-31 01:14:04 -04:00
  • 5820056aef Remove TimerExpiredException. Mike Purvis 2013-10-31 00:29:39 -04:00
  • 589e7b9a3b Eliminate modulus operator. Mike Purvis 2013-10-31 00:22:13 -04:00
  • d8a1ef4ecf Rename now function to timespec_now and timeout_time to expiry, for greater clarity. Mike Purvis 2013-10-28 20:22:55 -04:00
  • 6747711632 Implement MillisecondTimer in the unix read() and write() functions. Mike Purvis 2013-10-28 20:17:07 -04:00
  • 16a024691b Add MillisecondTimer class. Mike Purvis 2013-10-28 19:48:01 -04:00
  • de89af6050 Imported from https://github.com/wjwwood/serial.git William Woodall 2013-10-31 02:02:48 +00:00
  • dd7259149f if not windows guard for unix.h William Woodall 2013-10-30 11:54:59 -07:00
  • e8f913b4a4 Contributor notice William Woodall 2013-10-30 11:53:06 -07:00
  • 348cb9bdc5 fix broken ifdef _WIN32 William Woodall 2013-10-30 11:42:59 -07:00
  • 092836d78f [style] whitespace changes only William Woodall 2013-10-30 11:42:35 -07:00
  • 5a43c628df Merge branch 'master' of https://github.com/bakercp/serial into bakercp-master William Woodall 2013-10-30 10:49:07 -07:00
  • 1fec02beff Merge 0e5f7fa317f8cf08449139163ff3d39485e8ce8e into 22f5e302beda9b7285a7a410b2bdc445aa5d7000 Christopher Baker 2013-10-29 22:00:00 -07:00
  • 566e00a7c2 Rename now function to timespec_now and timeout_time to expiry, for greater clarity. origin/pr/45 Mike Purvis 2013-10-28 20:22:55 -04:00
  • dc693e150f Implement MillisecondTimer in the unix read() and write() functions. Mike Purvis 2013-10-28 20:17:07 -04:00
  • c8e8490fe3 Add MillisecondTimer class. Mike Purvis 2013-10-28 19:48:01 -04:00
  • 22f5e302be fix warnings about uninitialized class members William Woodall 2013-10-28 15:10:38 -07:00
  • 32b3631285 [style] white space clean up William Woodall 2013-10-28 15:09:53 -07:00
  • 0e5f7fa317 Fix broken ioctl calls, add exception handling. Christopher Baker 2013-10-27 18:50:06 -05:00
  • 9d04c09f10 Code guards for platform-specific implementations. (when not using cmake / catkin) Christopher Baker 2013-10-27 18:49:07 -05:00
  • 5bcbbfb09c Explicit using. Christopher Baker 2013-10-27 18:42:53 -05:00
  • 813e841853 Merge 8938a1375356b1563b2bb51359e381f0e4f4a459 into d06b2f94dddb80d7b3566837ecf717ef6e36c7f9 Mike Purvis 2013-10-18 17:50:55 -07:00
  • d06b2f94dd "1.1.6" 1.1.6 William Woodall 2013-10-17 11:13:00 -07:00
  • 3d0537ceb8 update changelog William Woodall 2013-10-17 11:12:18 -07:00
  • 8938a13753 Merge pull request #2 from wjwwood/clearpathrobotics-timespec-refactor Mike Purvis 2013-10-15 15:18:37 -07:00
  • bd0d938325 whitespace clean up William Woodall 2013-10-15 14:41:54 -07:00
  • d09e18774d Restore timespec comment. Mike Purvis 2013-10-15 17:15:08 -04:00
  • 79993c0928 Remove secondary credit from unix.cc; just the header is fine Mike Purvis 2013-10-15 15:12:13 -04:00
  • 82f1d8d294 Merge pull request #1 from wjwwood/clearpathrobotics-timespec-refactor Mike Purvis 2013-10-15 12:10:25 -07:00
  • cb4015705b just use inline, not static or static inline William Woodall 2013-10-15 11:55:29 -07:00
  • 80a087e606 use pass by reference in operator* for timespec William Woodall 2013-10-15 11:48:00 -07:00
  • 17e698ce94 use pass by reference in normalize function William Woodall 2013-10-15 11:47:45 -07:00
  • 282b79efc6 style changes to new/old timespec functions William Woodall 2013-10-15 11:45:53 -07:00
  • 9f63f4d2b5 move timespec funcs into unix.cc William Woodall 2013-10-15 11:43:00 -07:00
  • bd616be971 Remove the struct keywords from operator returns, as this is a problem for clang. Mike Purvis 2013-10-10 17:17:40 -04:00
  • e0967cd3fc Add time.h include to unix-timespec.h Mike Purvis 2013-10-10 16:32:04 -04:00
  • b992bce88f Add early-return possibility for the base read method. Mike Purvis 2013-10-10 15:26:33 -04:00
  • 863aee8795 Merge pull request #41 from clearpathrobotics/one-point-five-fix William Woodall 2013-10-09 10:47:57 -07:00
  • 2da275f51c Merge 8f01d232492fc9b67296ad0c7b9e717b783f6b2f into 0c7a1f59c388ed2d15569af636dca4c8620eeb5d Mike Purvis 2013-10-09 08:32:44 -07:00
  • 88b628ba98 Switch read and write functions to use cached timespec timeouts, new operator functions, and pselect in place of select. Mike Purvis 2013-10-06 11:19:47 -04:00
  • 452dd3e678 Add a bunch of clarifying comments to those timespec functions which are intended for duration timespecs. Mike Purvis 2013-10-06 11:16:55 -04:00