Francis Gulotta
cf678e6f0b
Small Update for windows bindings ( #785 )
...
- Error with the provided com port name instead of the mess we use under the hood to talk to the apis
- update _snprintf calls to _snprintf_s as the former is depreciated
- Add a binding test for bad ports
2016-05-05 10:30:50 -04:00
Francis Gulotta
a11e443f4a
Bump to v3.1.1
...
add instructions to fix issues with publishing when running a modern nodejs
2016-05-04 19:27:23 -04:00
Francis Gulotta
dfa80cc022
We only care about python if you're having issues building
2016-05-04 15:55:02 -04:00
Francis Gulotta
ec768ebd6d
bump to 3.1.0
2016-05-04 14:48:33 -04:00
Francis Gulotta
7262e5ca19
bump the nan version ( #783 )
2016-05-04 14:00:02 -04:00
Francis Gulotta
2ef07647ae
Try again to ignore these v6 failures
2016-05-01 18:49:54 -04:00
Francis Gulotta
7491b9b949
Merge pull request #778 from voodootikigod/upgrade-nan
...
Upgrade nan
2016-05-01 18:42:45 -04:00
Francis Gulotta
9f9693cb15
Update cli tools ( #776 )
...
- Better argument handling
- Switch to commander as optimist is deprecated
- more output formats for serial port list
- give serialportterm a list option
2016-05-01 18:19:54 -04:00
fivdi
cb64745486
Avoid deprecation warnings
2016-05-01 17:43:40 -04:00
Francis Gulotta
060285367f
ignore node 6 failing on linux and OSX
2016-05-01 17:20:04 -04:00
Francis Gulotta
566a8d48e9
Move some tests around
2016-05-01 16:53:49 -04:00
Francis Gulotta
528dd8afeb
upgrade nan
...
Have to remove memwatch-next again because of build issues =(
2016-05-01 13:08:31 -04:00
Francis Gulotta
f319970edd
Bump to 3.0.1
2016-04-30 21:37:08 -04:00
Francis Gulotta
98c79c98c5
rename the binary files per the usual conventions
2016-04-30 21:35:27 -04:00
Francis Gulotta
29ffb580f1
Add node 6 to the build matrix and define our support/build matrix in the docs ( #774 )
2016-04-30 19:52:44 -04:00
Francis Gulotta
0e8c4d4c6a
add memwatch-next to dev deps as it now builds on all platforms ( #773 )
2016-04-30 18:47:29 -04:00
Francis Gulotta
92ae904c51
Drop some dependencies for a smaller bundle size ( #767 )
...
- Drop `bluebird` 168kb for `es6-promise` 37.1kb (vs 18.1kb library code) bundled sizes
- Move `node-pre-gyp-github` to dev deps so it's not always installed (5.8MB package size)
- Stop bundling `node-pre-gyp-github` as it's only needed during publishing
2016-04-26 14:18:08 -04:00
Francis Gulotta
cab3589e53
Upgrade grunt to squash warnings and reduce packages ( #766 )
2016-04-25 11:32:00 -04:00
Francis Gulotta
2baab33a9f
bump package.json to 3.0.0
2016-04-25 11:25:00 -04:00
Francis Gulotta
1f0c7bd82d
another typo
2016-04-25 11:08:22 -04:00
Francis Gulotta
fda68c7d5d
typo
2016-04-25 11:07:00 -04:00
Francis Gulotta
356b908ae2
bump to 3.0
2016-04-25 10:56:51 -04:00
Francis Gulotta
edfa5e72bf
Remove the last bit of references to self ( #765 )
...
- Sometimes we didn’t need it, sometimes a bind was cleaner
2016-04-25 10:56:30 -04:00
Francis Gulotta
555136f36b
Stop removing all event listeners on close and disconnect ( #764 )
2016-04-25 10:02:24 -04:00
Francis Gulotta
ac82f855e5
Start bundling node-pre-gyp per #753
2016-04-24 23:59:37 -04:00
Francis Gulotta
a8df919971
Getting ready for the 2.1.1 release
2016-04-24 22:28:10 -04:00
Francis Gulotta
7b815fd6a4
Using clang and cpplint lint our c++ as much as I can ( #762 )
...
The `src/win/" vendor files are scary
2016-04-24 00:19:35 -04:00
Francis Gulotta
1bd3e06c58
SerialportList updates ( #761 )
...
- Errors are now consistent across platforms
- List is now completely async and promise ready
- Test the bindings abstraction not the bindings itself
2016-04-23 12:43:31 -04:00
Francis Gulotta
73509e34b3
Stop bundling node-pre-gyp to allow for upgrades ( #759 )
...
- The latest and greatest recommendation from node-pre-gyp
- Stops issues when people have different node-pre-gyp’s installed already
2016-04-19 17:51:25 -04:00
Francis Gulotta
6945217c0b
Isolate the bindings ( #755 )
...
- Test requiring the library as part of the build processes on all platforms
- move all js code into ./lib
- move all the easy stuff into ./lib/bindings the rest will bring breaking changes probably
2016-04-15 23:54:58 -04:00
Francis Gulotta
aff6e99708
Give instructions to link to different versions of our docs as the api will be different with different major version ( #756 )
2016-04-15 23:53:23 -04:00
Francis Gulotta
a39d612517
Bump to version 2.1.0
2016-04-10 20:26:30 -04:00
Francis Gulotta
b9304d5225
Update README on opening ports and cleanup examples ( #750 )
2016-04-10 11:41:04 -04:00
Francis Gulotta
0f158bbff1
Code of Conduct
2016-04-10 00:12:42 -04:00
Francis Gulotta
3749b7376b
Test on latest versions of node ( #745 )
...
- Appveryor won’t build `5` or `4` it needs the minor number specified so we have to be specific
- Appveyor also wont build `4.4` for unknown reasons
- Node 6 isn't on nvm yet, so we can't easily test against it.
2016-04-08 18:45:06 -04:00
Francis Gulotta
742779c66d
2.0.7-beta5 Release
2016-04-08 13:03:28 -04:00
Francis Gulotta
8342d1725c
Add support for bluetooth devices /dev/rfcomm ( #742 )
2016-04-08 12:50:56 -04:00
Francis Gulotta
156e405bbc
Define, document, and test flow control and setting port flags ( #726 )
...
We had ambiguous behavior and documentation around these settings and functions, this preserves all of the previous behavior and defines it in documentation and tests. This is a step towards separating out and cleaning up user supplied options to the constructor.
2016-04-08 11:44:18 -04:00
Francis Gulotta
8bc3eeab32
Update .list docs to be up to date
2016-04-08 11:22:59 -04:00
Francis Gulotta
39946c4bc0
Make the output of .list undefined if it’s an empty string ( #740 )
...
Add some tests to start defining the bindings.
2016-04-08 11:18:37 -04:00
Francis Gulotta
f0d7319149
Put all builds in /build/{Release,Debug}/ ( #737 )
...
* Put all builds in /build/{Release,Debug}/
Closes #736
* cleanup npm and git ignore
2016-04-07 13:22:03 -04:00
Francis Gulotta
b20ed9cd8d
Merge pull request #734 from fivdi/master
...
Fix typo
2016-04-06 18:33:15 -04:00
fivdi
e194b4cf82
Fix typo
2016-04-06 23:11:59 +02:00
Francis Gulotta
3ce0ea8f4c
Fix pre-gyp's binding paths so bindings can find it when not built locally.
2016-04-06 01:08:24 -04:00
Francis Gulotta
4f5442a9cd
Version 2.0.7-beta3
2016-04-05 23:59:02 -04:00
fivdi
b5a154f20c
Upgrade to NAN v2.2.1 for Node.js v6.0.0-nightly compatability
2016-04-05 23:21:28 -04:00
Francis Gulotta
7ee1c1e98d
Merge pull request #730 from voodootikigod/windows-error-handling
...
Fixes 100% cpu when serial ports disconnect on windows
2016-04-05 23:19:59 -04:00
Francis Gulotta
79ec1789e4
Fixes 100% cpu when serial ports disconnect on windows
...
- Fix a small memory leak
- some linting for whitespace and indentation
2016-04-05 23:01:15 -04:00
Paul Kaplan
6d2e4b5fa7
Return after encountering errors in windows write
...
The unix version breaks the while loop by returning on certain errors.
On Windows, the errors were being contained because the while loop was
never breaking. For example, pulling the USB cable out would raise
“Access Denied” errors but the while loop would run forever and contain
that error.
2016-04-05 23:01:15 -04:00
Francis Gulotta
59f281f136
Merge pull request #728 from voodootikigod/osx-fd-leaks
...
Fix double open and times when we don't close file descriptors for unix
2016-04-05 22:57:48 -04:00