Commit graph

318 commits

Author SHA1 Message Date
Chris Williams
c64ff97865 Releasing 1.2.4 2013-11-05 16:03:24 -05:00
Chris Williams
1cad7472a9 Merge branch 'databits' 2013-11-05 16:00:39 -05:00
Francis Gulotta
7f9bc646df Merge pull request #250 from andrew/patch-1
Fixed link to Reflecta repo in Readme
2013-11-05 08:33:04 -08:00
Andrew Nesbitt
f8821ab5e8 Fixed link to Reflecta repo 2013-11-05 12:40:09 +00:00
Adriano Raiano
e07ec47312 Rename read to read.js 2013-10-31 18:28:10 +01:00
Chris Williams
6163ee2e0b Fixing output error when no error is provided on serialport.js#L94. 2013-10-31 12:27:56 -04:00
Chris Williams
9763dda10a Merge pull request #243 from adrai/master
Extended tests and found fix for Issue #238
2013-10-31 08:07:57 -07:00
Chris Williams
08a06184f9 Attempting to resolve databits issue. 2013-10-30 22:19:37 -04:00
Adriano Raiano
c81a9bd5f5 fix for Issue #238 2013-10-30 15:48:10 +01:00
Adriano Raiano
17a2634bb4 added read tests 2013-10-30 15:37:06 +01:00
Adriano Raiano
24576256ef extended serialportBinding fake 2013-10-30 15:36:33 +01:00
Francis Gulotta
ef7156fad1 Merge pull request #242 from voodootikigod/mock-bindings
Mock SerialPortBindings
2013-10-29 13:02:26 -07:00
Francis Gulotta
d589347550 Fix spelling and whitespace 2013-10-29 15:57:20 -04:00
Francis Gulotta
86f5ffd9f0 Add a mock for SerialPortBinding and modify the tests to use it. This includes examples of mocking functions to simulate failures, spying on method calls to ensure they were called and the expects flavor of mocha assertions.
Also splits parsers into their own file.
2013-10-29 00:05:39 -04:00
Francis Gulotta
8268759c4d Modify the SerialPortFactory to keep the SerialPortBinding as a static property instead of using the modules variable. This allows the bindings to be replaced at run time for testing and other nefarious deeds. 2013-10-28 23:57:17 -04:00
Jay Beavers
5482ec7b6b Update README.md
Add travis status icon, update build number and date in readme
2013-10-28 10:07:29 -07:00
Jay Beavers
477eabecb4 Add an events based unit test to validate that open and close work as expected 2013-10-28 10:02:39 -07:00
Jay Beavers
a5d0bc6eac complete removal of options.errorCallback, remove tabs, assert comments 2013-10-28 09:53:04 -07:00
Jay Beavers
e325d22a3d Merge pull request #235 from JayBeavers/travis
Make changes to enable travis-ci to be enabled
2013-10-25 15:19:43 -07:00
Jay Beavers
34bf27ef61 Fix error event test to remove duplicate done calls 2013-10-25 15:17:55 -07:00
Jay Beavers
a7c04bf43a Merge branch 'master' of github.com:voodootikigod/node-serialport into travis
Conflicts:
	.travis.yml
	serialport.js
	test/basic.js
2013-10-25 15:12:39 -07:00
Jay Beavers
e86b9679da Merge pull request #233 from JayBeavers/fix226
Added SerialPortFactory with on('error')
2013-10-25 15:06:08 -07:00
Jay Beavers
6e831dea1a Working on sinon incompatibility with travis 2013-10-25 14:56:34 -07:00
Jay Beavers
c181f928ef Monkeying more with Travis 2013-10-25 14:48:49 -07:00
Jay Beavers
7f73eb0fba Add grunt for jshint and appropriate unit testing for travis 2013-10-25 14:43:40 -07:00
Jay Beavers
b6961eec04 Update travis, add test scripts 2013-10-25 13:40:23 -07:00
Jay Beavers
0028ac81c6 Update travis file 2013-10-25 13:33:10 -07:00
Jay Beavers
681f796c3d Merge branch 'master' of github.com:JayBeavers/node-serialport into fix226 2013-10-25 13:26:47 -07:00
Jay Beavers
e5fba8ac88 Added SerialPortFactory with on('error') 2013-10-25 11:35:16 -07:00
Chris Williams
899df08854 Releasing 1.2.3 2013-10-25 14:08:11 -04:00
Chris Williams
dcdefda461 Merge pull request #232 from JayBeavers/fix226
Fix226 and bring windows supported revision to the 1.2.x level.
2013-10-25 10:59:54 -07:00
Jay Beavers
9f2dd09f66 Add check for callback existance 2013-10-25 10:31:06 -07:00
Jay Beavers
2bbd0a8a90 Fix serialport.close(callback) on success, small jshint cleanup 2013-10-25 10:28:35 -07:00
Jay Beavers
7647ad6085 Remove 60 second timeouts on unit tests, not needed 2013-10-25 10:15:02 -07:00
Jay Beavers
ddba26544f Clean up unit tests, add echo test 2013-10-25 10:13:16 -07:00
Jay Beavers
6066c1008f Merge branch 'master' of github.com:voodootikigod/node-serialport into fix226 2013-10-25 09:11:06 -07:00
Jay Beavers
1a41d67be1 Modify Windows serial port behavior to follow new calling pattern used for Linux, fix #226 2013-10-23 14:52:04 -07:00
Jay Beavers
21bc92b7d0 Updates to the error handling to make it more consistent 2013-10-18 16:02:56 -07:00
Chris Williams
76cce08a8d Merge pull request #228 from reconbot/unit-test
Unit tests
2013-10-18 11:52:40 -07:00
Francis Gulotta
a09a06d61a Add travis to run our unit tests. 2013-10-12 00:18:14 -04:00
Francis Gulotta
f9429a4fbb Our first mocha and chai tests with a bit of sinon-chai for good measure. These are two simple tests for parser.raw and parser.readline, as well as a missing semicolon in readline. 2013-10-12 00:12:27 -04:00
Chris Williams
9b3ba57ac5 Reverting out the change from joshmh about size changes. 2013-10-03 19:01:58 -04:00
Chris Williams
7beff8a5a5 Release 1.2.1 2013-10-02 09:40:02 -04:00
Chris Williams
f859bf8002 Merge pull request #220 from joshmh/master
Parity shouldn't be changing data bits
2013-10-02 06:38:57 -07:00
Chris Williams
129e0016ab Update of valid JSON 2013-10-02 08:32:09 -04:00
Chris Williams
0e188bf744 Added rob to the maintainers. 2013-10-01 16:25:15 -04:00
Chris Williams
b19b2237b3 Merge pull request #221 from giseburt/fix_close_and_flowcontrol
Fix close and flowcontrol
2013-10-01 13:22:23 -07:00
Robert Giseburt
42451adcb2 Comment out extra logging. 2013-10-01 10:15:36 -05:00
Robert Giseburt
dcadb0d842 Fixing write to support non-blocking. 2013-10-01 10:15:35 -05:00
Josh Harvey
03ad3d2552 Parity shouldn't be changing data bits 2013-09-28 18:50:30 +01:00