Francis Gulotta
efee0cd46f
remove pre 4.0 stuff
2016-12-20 20:56:11 -05:00
Francis Gulotta
223d39ff3f
Remove readable-stream
...
Streams3 are stable in node 4+ so we don't need readable-stream anymore
2016-12-13 23:55:42 -05:00
greenkeeperio-bot
01dddc0d71
chore(package): update eslint to version 3.12.1
...
https://greenkeeper.io/
2016-12-13 18:56:03 -05:00
Francis Gulotta
1643dd1c81
Remove Polyfills and upgrade node-pre-gyp
...
- Remove object.assign
- Remove buffer-indexof
- Remove lie
2016-12-12 22:26:47 -05:00
Francis Gulotta
d5b09aed6c
Remove node 0.10 0.12 & bump electron to 1.4.12
...
Too many build issues with older versions of node. LTS has left them behind and alas so will we. serialport@4 will be the last version to support node 0.10 and 0.12.
2016-12-12 22:26:47 -05:00
Francis Gulotta
cd6a065ec9
Add 4.0.7 info
2016-12-12 00:00:55 -05:00
Francis Gulotta
c2b840219d
don't ship the changelog
2016-12-11 19:44:56 -05:00
Francis Gulotta
adccc6dfde
[unix] Correct error messages on .set unix bindings
2016-12-11 18:48:43 -05:00
Francis Gulotta
61d44cd39d
Fix baud rate parsing in serialport-terminal
...
Fixes #1023
2016-12-11 12:47:17 -05:00
Francis Gulotta
9ed782e8eb
Auto generate authors file from git-extras
2016-12-10 14:11:17 -05:00
Francis Gulotta
b80025ea10
Merge pull request #1018 from munyirik/win32read
...
Adding WindowsBinding reading
2016-12-10 13:15:48 -05:00
Anton Litvinov
f24110b196
Refactoring of EIO_List for Windows: … ( #1019 )
...
* Refactoring of EIO_List for Windows: …
1. use single API -- SetupAPI directly without COM-object
2. supply ResultItem with vendorId, productId and locationId (issue #877 )
3. solve problem with pnpId not being returned on some systems
2016-11-27 22:09:24 -05:00
Munyiri Kamau
91d7f4a55c
Remove space before function parentheses
2016-11-21 19:11:04 -08:00
Munyiri Kamau
72768179df
Fix build and test issues + updates based on review feedback
...
- Fix CI failure to build
- Tests (including read) now pass locally
- Changes based on review feedback
2016-11-21 16:30:24 -08:00
greenkeeperio-bot
8b52112004
chore(package): update eslint to version 3.10.0
...
https://greenkeeper.io/
2016-11-19 11:29:45 -05:00
Francis Gulotta
ef709d7dd2
Merge pull request #1015 from Mike-Dax/electron-binaries
...
Electron binaries
2016-11-19 11:17:17 -05:00
Francis Gulotta
90ffa54905
Merge pull request #1017 from EmergingTechnologyAdvisors/greenkeeper-readable-stream-2.2.2
...
readable-stream@2.2.2 breaks build 🚨
2016-11-19 10:53:59 -05:00
Michael Orenstein
e442963e32
Added electron builds to travis and appveyor.
2016-11-18 20:54:30 +10:00
Munyiri Kamau
975b270ba3
Adding WindowsBinding reading
2016-11-16 19:30:47 -08:00
greenkeeperio-bot
17f403e35f
chore(package): update readable-stream to version 2.2.2
...
https://greenkeeper.io/
2016-11-14 08:10:04 -05:00
Francis Gulotta
908b75356e
Add info for 4.0.6 release
2016-11-11 00:23:17 -05:00
greenkeeperio-bot
67b506556f
chore(package): update debug to version 2.3.2
...
https://greenkeeper.io/
2016-11-10 23:04:08 -05:00
greenkeeperio-bot
f10e7aacc4
chore(package): update debug to version 2.3.1
...
https://greenkeeper.io/
2016-11-10 00:36:57 -05:00
Francis Gulotta
d96010ad55
Add docs about error handling
2016-11-06 14:05:28 -05:00
Francis Gulotta
3ca8d5c0f9
fix codecov for appveyor
2016-11-06 02:05:50 -05:00
Francis Gulotta
777cd99619
Ensure we always call callbacks asynchronously
...
- Some code cleanup too
- docs on debugging + some more debugging
2016-11-06 01:46:34 -04:00
Francis Gulotta
27788ceae9
Stop autoOpening on next tick
...
This allows for catching TypeErrors when open gets called
- Change MockBinding to properly throw and return errors on open
- Enforce bindings throwing on empty string paths
2016-11-06 00:23:29 -04:00
Francis Gulotta
5306b7f5e1
Give anonymous functions names for debugging
...
Also throw in some manual testing scripts.
2016-11-05 23:56:22 -04:00
Francis Gulotta
03fda1f0af
forgot to give credit where credit was due
2016-11-05 00:08:53 -04:00
Francis Gulotta
672e8319c3
Conform to NodeJS error message formats ( #998 )
...
https://github.com/nodejs/node/pull/3374
2016-11-04 23:29:07 -04:00
Francis Gulotta
77c351e46a
Remove v8 deprecation warnings
2016-11-04 22:54:09 -04:00
Francis Gulotta
39d0103937
Streams rewrite
...
This is a major change. To reading, the poller and the bindings layer, there isn’t a great way to do this piecemeal. The goal here is to make bindings a plugin layer, our c++ bindings isolated and tested, and make Serialport a streams object.
- Move all bindings into platform specific modules DarwinBinding LinuxBinding, and WindowsBinding
- Separate out the bindings from the SerialPort class so it can be required by itself.
- Provide mock bindings as a tested first class bindings layer
- Mixin stream methods with `pushBindingWrap`, inspired from fs.readStream
- All integration tests now require an Arduino
- Ditch sandboxed modules as we don't need to be that heavy handed to test anymore
TODO
- windows binding
- performance test
- memory leak test
- 🎉
2016-11-04 21:03:35 -04:00
Francis Gulotta
9f8a359a86
Test changes
...
- Increase code coverage of parsers
- Ask mocha to fail fast
- Auto detect arduino for tests
2016-11-04 17:26:41 -04:00
Francis Gulotta
d3479f0a83
Version 4.0.5 changelog from 4x branch
2016-11-03 16:11:40 -04:00
Francis Gulotta
ecc4c31bd8
Fix memory-leaks in SerialPortParity and cleanup ( #989 )
...
This should stop a leak in bindings.open() which calls ToParityEnum().
Thanks to @indutny for walking me through the changes and teaching me about valgrind!
2016-11-03 15:24:20 -04:00
Francis Gulotta
11c86495f5
Try out codecov.io
2016-11-01 15:34:33 -04:00
Francis Gulotta
75d34f8b84
reference to node-gyp for windows install
2016-11-01 02:11:42 -04:00
Francis Gulotta
0c422b5fde
Cleanup alpine linux and sudo sections and add a link
2016-10-31 13:36:47 -04:00
Francis Gulotta
95717ec91e
Make the issue template a little more simple
2016-10-30 19:33:45 -04:00
Francis Gulotta
725ae86326
Add notes to readme
...
- on Sudo
- On node 7
- sort install special cases
2016-10-30 19:26:41 -04:00
Brian White
d4b4d2f210
Remove unnecessary 'inherits' dependency
2016-10-30 19:08:57 -04:00
greenkeeperio-bot
4c9b9be436
chore(package): update eslint to version 3.9.0
...
https://greenkeeper.io/
2016-10-30 19:05:47 -04:00
Francis Gulotta
066dc1ead7
Update docs with 4.0.4
2016-10-30 18:57:57 -04:00
Francis Gulotta
79e4497a0c
Add node 7
2016-10-30 18:05:30 -04:00
Francis Gulotta
dd911656ab
Upgrade NAN for some bugfixes
2016-10-27 14:31:03 -04:00
Greenkeeper
7aee9cca9e
chore(package): update node-pre-gyp to version 0.6.31 ( #979 )
...
https://greenkeeper.io/
2016-10-25 19:42:32 -07:00
Francis Gulotta
db22b19a80
Merge pull request #978 from enami/plug_handle_leak_on_windows
...
Plug windows handle leak when open failed.
2016-10-24 01:09:38 -04:00
enami tsugutomo
f25563dded
Plug windows handle leak when open failed.
2016-10-24 12:35:20 +09:00
Francis Gulotta
23de171055
Do error checking when getting modem control flags
2016-10-21 21:35:50 -04:00
Francis Gulotta
0d757fd72c
Merge pull request #967 from jgillick/master
...
Get modem status bits (CTS, DSR, DCD)
2016-10-21 17:50:49 -04:00