Commit graph

129 commits

Author SHA1 Message Date
Francis Gulotta
c93fb3b81f Move listUnix to its own module
- Refactor to fix bugs 
 - Remove the path behind `udevadm` as it’s not always in the same place but it’s so far it is always in the path
 - Tests listUnix, (`pnpId` assumes a lot about `udevadm` =( )
 - Adds `ttyMDF` to the list of serial ports for “High Speed UART device of Intel Medfield platform”
 - turn down the verboseness on appveyor nam installs
 - upgrade sandboxed-module for windows support

Fixes #650,  #651, #634, #697 and #621
2016-03-30 18:51:47 -04:00
Jacob Rosenthal
3469c1a013 Version 2.0.7-beta2 2016-03-28 23:12:30 -04:00
Linus Wallgren
090b26b58b Bugfixes around JS handling of file descriptors
This patch combines #586 and #686

 - A closed serialport now uses fd = null
 - Emulate a proper fd in mock hardware
 - Instead of using the device path as the file descriptor, use a generated
integer as the fd.

This have to use a starting fd of 1 as there are bugs when the fd is 0.
The open(2) manpage states that the file descriptor will be a small
nonnegative integer.

Checking if the fd is falsey leads to the incorrect classification of the
fd 0 as invalid. That is not the case, open(2) specifies the fd as "a
small, nonnegative integer".

This also adds tests for all the cases where the fd was previously
incorrectly considered invalid, which required adding three more methods
to the mock-hardware (update, set and drain).

This solves issue #472
2016-03-28 19:41:34 -04:00
Francis Gulotta
c2c424c620 Switch to eslint and fixup a lot of listing issues.
There are not a ton of open PRs that would be effected by this, I think it's a good time to go ahead and merge this right away.
2016-03-27 15:03:15 -04:00
Jacob Rosenthal
9f08b81c31 Version 2.0.7-beta1 2016-03-10 14:22:39 -05:00
Jacob Rosenthal
348ab17f91 Version 2.0.6 2015-12-23 12:17:35 -07:00
Jacob Rosenthal
02de1f6c18 update node-pre-gyp-github dep 2015-12-22 20:31:59 -07:00
Jacob Rosenthal
1af5a464ae Version 2.0.5 2015-11-11 22:58:49 -05:00
Jacob Rosenthal
525f254703 Version 2.0.4 2015-11-09 15:27:05 -05:00
Jacob Rosenthal
fd5168b455 fix ci 2015-11-08 22:37:16 -05:00
Jacob Rosenthal
402745d488 fix ci 2015-10-27 21:31:03 +01:00
Jacob Rosenthal
ce7392a928 fix ci 2015-10-27 21:19:03 +01:00
Jacob Rosenthal
d9a08ff620 Version 2.0.3 2015-10-27 11:17:30 +01:00
Jacob Rosenthal
888db7ebb5 release via github instead of aws 2015-10-27 07:08:33 +01:00
Jacob Rosenthal
c1439c57af Version 2.0.2 2015-10-24 04:59:53 +02:00
Chris Williams
57f1084467 Release 2.0.1 2015-10-14 09:44:20 -04:00
Chris Williams
9592ebb45a Adding Jacob as Maintainer 2015-10-14 09:44:07 -04:00
Jacob Rosenthal
a934652949 Version 2.0.0 2015-10-11 22:32:39 +02:00
Cong Liu
866e4153b2 Upgrade to Nan 2.0.0 2015-10-11 22:00:46 +02:00
Francis Gulotta
f9e3d7e106 Merge pull request #525 from pdehaan/patch-1
Update license attribute
2015-07-25 15:34:59 -04:00
Chris Williams
884b5f3da6 Version 1.7.4 Release. 2015-05-31 15:32:48 -04:00
Chris Williams
a99299db00 Version 1.7.3 2015-05-31 11:56:17 -04:00
Chris Williams
a5658ee0be Version 1.7.2 2015-05-31 11:46:12 -04:00
Peter deHaan
fa6ae535d7 Update license attribute
specifying the type and URL is deprecated:

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-21 08:46:26 -07:00
Chris Williams
1343881af6 Version 1.7.1 fixing broken code. 2015-05-09 11:30:42 -04:00
Chris Williams
02e872c016 Merge branch 'master' of github.com:voodootikigod/node-serialport 2015-05-09 11:18:32 -04:00
Chris Williams
d4a635c9c3 Version 1.7.0 2015-05-09 11:18:29 -04:00
Ilkka Myller
8f325c516b nan v1.8.4 for io.js v2.0.0 compatibility 2015-05-05 11:44:36 +03:00
Chris Williams
cec7c2740b Version 1.6.3 work ability to query based on different ids and reversion of break command (allow unix, windows to work). 2015-03-17 18:28:59 -07:00
Chris Williams
d77deb819b Version 1.6.2 [publish binary] 2015-03-14 21:26:53 -04:00
Chris Williams
938ed4cae6 Upgrading NAN version and refreshing changelog. 2015-03-06 09:57:24 -05:00
Chris Williams
47d371c201 Rev up for binary. 2015-03-05 23:48:41 -05:00
Chris Williams
94b7bdcc08 Preparing for 1.6.0 -- fixed hint issue. Tracking down invalid port issue. 2015-03-05 21:03:16 -05:00
Chris Williams
39c70d9bfc Update to version 1.5.0 for node.js 0.12.x and io.js 1.0.x [publish binary] 2015-02-11 10:20:15 -05:00
Chris Williams
d00984bd83 Adding the beginning stage of debugging output. Fixed jslint error that was brought in when removing console.log. 2015-01-21 09:44:18 -05:00
Rick Waldron
8d49486509 Update to nan 1.5.0 for iojs compat 2015-01-15 18:28:25 -05:00
Chris Williams
f3b1efaea6 End of year release 1.4.10 [publish binary] 2014-12-31 10:53:43 -05:00
Chris Williams
b0b9fbce20 Windows bug fix. [publish binary] 2014-12-10 21:50:29 -05:00
Chris Williams
8310b85cf0 Release of 1.4.8 [publish binary] 2014-12-10 20:12:16 -05:00
Rob Giseburt
b3d6c682e6 Version 1.4.7b breaks things. Making it 1.4.7. 2014-10-19 16:42:42 -05:00
Rob Giseburt
3bb0faacb7 Bumped version to 1.4.7v 2014-10-17 20:56:20 -05:00
Chris Williams
db706b0531 Version 1.4.6 [publish binary] 2014-09-03 15:00:43 -04:00
Chris Williams
cd1c7b272c Version 1.4.5 [publish binary] 2014-08-03 10:47:51 -04:00
Chris Williams
5c0131011a Version 1.4.4 [publish binary] 2014-08-02 21:07:03 -04:00
Chris Williams
ddd3c0415a Update. 2014-08-02 09:01:41 -04:00
Chris Williams
ce5af50bd7 Merge branch 'node-0.11' of github.com:asherkin/node-serialport into asherkin-node-0.11 2014-08-02 08:38:08 -04:00
Chris Williams
b7e0ae3364 Version up. 2014-07-27 11:34:25 -04:00
Asher Baker
1ceda2cecf Update for Node 0.11.x 2014-07-13 15:19:34 +01:00
Chris Williams
1e20c19c05 remove debug statements. 2014-07-07 12:00:21 -04:00
Chris Williams
88e02ef1ac Version 1.4.1 2014-07-07 11:56:23 -04:00