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
Francis Gulotta
22a369112e
put the dataCallback back for windows reads ( #976 )
2016-10-21 17:34:09 -04:00
jgillick
598c8e9ec8
Add basic tests
2016-10-21 00:07:41 -07:00
jgillick
c1d6786cbc
Generate docs
2016-10-20 23:25:17 -07:00
Francis Gulotta
007aef6870
Version 5.0.0-beta2
...
- [all] fixed a crash when pausing while reading thanks to @bminer and @baffo32 and others to debug and fix this
- [all] ReadLineParser has been renamed to ReadlineParser to match worldwide convention
- [windows] Fix flush behavior using PurgeComm fixing #962 via @samisaham
- [windows] Remove read and write timeouts solving #781 via @giseburt
- [docs] Electron build docs #965 via @chalkers
- [docs] Spelling fixes via @Awk34
- [docs] Update parser docs to be correct #970 via @jacobq
- [notes] buffer-indexof is now completely compliant with latest node 6 buffer.indexOf because it's nice to have and we now use it on older nodes
- [notes] dropped node 5 support, should still work but you shouldn't use it
2016-10-20 17:06:34 -04:00
Francis Gulotta
0018f0cd25
remove all read timeouts for windows ( #974 )
...
per #781
2016-10-19 23:17:49 -04:00
Francis Gulotta
566ca26d7f
Update docs from #970
2016-10-19 22:22:19 -04:00
Francis Gulotta
81ce9f3e27
Merge pull request #970 from jacobq/master
...
Flipped ByteLength & Delimiter descriptions in doc
2016-10-19 22:21:23 -04:00
Francis Gulotta
d26991187d
Use PurgeComm to flush all current reads and writes on windows ( #973 )
...
Fixes #962
2016-10-19 22:20:18 -04:00
Greenkeeper
03f1fbed46
chore(package): update jsdoc-to-markdown to version 2.0.1 ( #971 )
...
https://greenkeeper.io/
2016-10-19 22:14:53 -04:00
Francis Gulotta
ebad161050
Merge pull request #972 from giseburt/master
...
Fix for issue #781
2016-10-19 21:50:19 -04:00
Jacob
bd022bc44a
Flipped ByteLength & Delimiter descriptions
2016-10-19 15:16:32 -05:00
Francis Gulotta
bd2ef3fbaa
Add a warning not to edit the README.md file directly ( #968 )
2016-10-19 09:58:02 -04:00
Francis Gulotta
a2395b4388
Merge pull request #965 from thingsSDK/master
...
Added Electron Build Information
2016-10-17 03:27:28 +01:00
Andrew Chalkley
305b5a7d0b
Fixed link and title to be more consistant
2016-10-16 19:18:57 -07:00
Andrew Chalkley
9125639967
Don't know what happened there
2016-10-16 19:16:57 -07:00
Andrew Chalkley
103d04abf1
Removed IntelliJ ide folder from gitignore per @reconbot reques
2016-10-16 19:13:40 -07:00
Andrew Chalkley
24fd284e89
Moved in to installation
2016-10-16 19:12:37 -07:00
Andrew Chalkley
19b271007c
Added docs to .hbs
2016-10-16 19:06:07 -07:00
Andrew Chalkley
55c39a1af3
Added .vscode to gitignore
2016-10-16 18:30:44 -07:00
Andrew Chalkley
0aed561932
Removed VScode folder
2016-10-16 18:29:50 -07:00
Andrew Chalkley
337f6e514a
Added link to electron-rebuild docs
2016-10-16 18:28:55 -07:00
Andrew Chalkley
4599517027
Updated readme for Electron
2016-10-16 18:26:41 -07:00
Francis Gulotta
72fc5b2597
rename ReadLineParser to ReadlineParser
...
matches gnu and nodejs conventions for `readline`
2016-10-13 02:26:05 +01:00
Francis Gulotta
07fd5a47df
Merge pull request #961 from Awk34/awk34-patch-1
...
depreciated -> deprecated
2016-10-11 08:23:07 +01:00
Andrew Koroluk
672abb4936
depreciated -> deprecated
2016-10-11 01:15:53 -04:00
Francis Gulotta
f9547d9b40
Start failing on linter errors
2016-10-11 00:35:35 +01:00
Greenkeeper
20ffe24a0b
chore(package): update mocha to version 3.1.1 ( #960 )
...
https://greenkeeper.io/
2016-10-10 14:41:42 -04:00
Greenkeeper
0a8ae4d03d
chore(package): update eslint-plugin-promise to version 3.0.0 ( #956 )
...
https://greenkeeper.io/
2016-10-10 14:41:09 -04:00