Andrew Stewart
ca2bf7e5a9
Merge branch 'dev' into servo-level-up
...
* dev:
Remove `self` references in favor of #bind
Stop using #fetch here for now, it just breaks tests
Just use arguments directly instead of array
Remove Utils#bind in preference of built-in fn
Consolidate logstring generation into private fn
Experiment with Utils.fetch in Driver class
Add #fetch Utility function
Fix JSHint errors
Fix an edge case and improve tests for API
2014-07-03 11:52:02 -07:00
Andrew Stewart
8ba5bb0e6a
Working tests for Adaptor#_noop
2014-07-03 11:51:51 -07:00
Edgar Silva
1eabab6ec9
WIP: Change noop to use anonymous function and added tests.
2014-07-03 13:42:43 -05:00
Andrew Stewart
f0d8b0360b
Remove `self` references in favor of #bind
2014-07-03 09:35:24 -07:00
Edgar Silva
ed8d6faeee
Chance Adaptor#noop for Adaptor#_noop.
2014-07-02 20:06:40 -05:00
Edgar Silva
afa7fe7495
Adds noop function to base adaptor.
2014-07-02 19:42:39 -05:00
Edgar Silva
c4b10e66f4
Merge branch 'master' into servo-level-up
2014-07-02 17:05:15 -05:00
Andrew Stewart
5ce0d37640
Stop using #fetch here for now, it just breaks tests
2014-06-24 10:37:59 -07:00
Andrew Stewart
5974eb80cd
Just use arguments directly instead of array
2014-06-18 16:02:54 -07:00
Andrew Stewart
a9b874a917
Merge branch 'master' into dev
...
* master:
Bump version to 0.15.1
Only require the API/Express when using it
2014-06-18 15:19:53 -07:00
Andrew Stewart
c5989c2028
Bump version to 0.15.1
2014-06-18 15:19:26 -07:00
Ron Evans
22ea099b79
Merge pull request #206 from hybridgroup/hotfix/tessel-express
...
Only require the API/Express when using it.
2014-06-18 14:54:20 -07:00
Andrew Stewart
856619e902
Only require the API/Express when using it
...
Fixes an issue with the Tessel, which cannot load Express.
2014-06-18 14:44:46 -07:00
Ron Evans
d35b3d8438
Merge pull request #205 from hybridgroup/remove/utils-bind
...
Remove Utils#bind in preference of built-in function
2014-06-17 21:21:43 -07:00
Andrew Stewart
5acfd4aed4
Remove Utils#bind in preference of built-in fn
...
We were re-implementing Function.prototype.bind, so let's just use that.
2014-06-17 19:35:07 -07:00
Andrew Stewart
6fa87fbf7c
Consolidate logstring generation into private fn
2014-06-17 19:18:12 -07:00
Andrew Stewart
e8520e3de2
Experiment with Utils.fetch in Driver class
2014-06-17 19:15:38 -07:00
Ron Evans
7a3b1ddf59
Merge pull request #204 from hybridgroup/add/utils-fetch
...
Add #fetch Utility function
2014-06-17 16:06:32 -07:00
Andrew Stewart
6f42b061b3
Add #fetch Utility function
...
The #fetch utility acts in (roughly) the same way as Ruby's Hash#fetch function.
This addition should hopefully make constructors more rigorous and help to
prevent a few classes of errors.
2014-06-17 16:02:54 -07:00
Andrew Stewart
af8cfbe333
Fix JSHint errors
2014-06-16 13:09:13 -07:00
Andrew Stewart
ca749fd03e
Fix an edge case and improve tests for API
2014-06-16 12:22:11 -07:00
Andrew Stewart
587efe2fee
Rename API variables for less confusion
...
api.express => the Express instance
api.server => the actual server (@express or a https.Server instance)
2014-06-16 08:44:52 -07:00
Andrew Stewart
b49c2da3f1
Remove site config from travis-ci
2014-06-13 15:54:45 -07:00
Andrew Stewart
62b3df12a5
Bump version to 0.15.0
2014-06-13 10:50:57 -07:00
deadprogram
52ac9fce8d
Update list of contributors
2014-06-12 19:43:38 -07:00
deadprogram
fbb8a6a192
Correct links to new docs site repo
2014-06-12 19:43:21 -07:00
Ron Evans
cc9b06285e
Merge pull request #203 from hybridgroup/refactor/halt
...
Make halting on SIGINT async
2014-06-12 17:22:29 -07:00
Andrew Stewart
d90c4eef7c
Fix broken specs
2014-06-12 15:40:08 -07:00
Andrew Stewart
6de922f2fc
Make halting on SIGINT async
...
This change gives adaptors/drivers more flexibility in halting. Additionally,
now, by default, all Adaptors/Drivers will remove all their event listeners
before halting, which should prevent some additional commands from being sent to
the adaptor during shutdown.
2014-06-12 15:31:49 -07:00
Andrew Stewart
a44154b1f4
Change README image source to cylon-site repo
2014-06-12 09:36:58 -07:00
Ron Evans
f1c82f6021
Merge pull request #202 from andrew/patch-1
...
Fixed logo in readme
2014-06-12 07:49:05 -07:00
Andrew Nesbitt
8206ac67af
Fixed logo
2014-06-12 15:42:47 +01:00
Ron Evans
613326b902
Merge pull request #201 from hybridgroup/upd-from-scale-util
...
Updated fromScale util to return top or bottom of scale, updated specs t...
2014-06-11 17:35:03 -04:00
edgarsilva
0869909521
Updated fromScale util to return top or bottom of scale, updated specs to reflect new fromScale behavior.
2014-06-11 16:32:40 -05:00
Andrew Stewart
9e1ffad6f6
Add more tests for BasicLogger class
2014-06-10 19:05:41 -07:00
Andrew Stewart
9bbc7faf5e
Misc. JSHint-suggested cleanups in BasicLogger
2014-06-10 18:50:10 -07:00
Andrew Stewart
682bfc6536
Add missing semicolon to appease JSHint
2014-06-10 18:45:08 -07:00
Andrew Stewart
f797cf4c48
Misc. cleanup in Basestar
2014-06-10 18:44:40 -07:00
Andrew Stewart
9c60700c0f
Clean up declaration of default work block
2014-06-10 18:38:55 -07:00
Andrew Stewart
b66a1d3fee
Remove unused param for #start callback
2014-06-10 18:38:00 -07:00
Andrew Stewart
594c73dc60
Declare missingModuleError before it's used
2014-06-10 18:37:19 -07:00
Andrew Stewart
3b312def0d
Small cleanups in Device
2014-06-10 18:19:04 -07:00
Andrew Stewart
8d3c89076d
Allow easier extension in subclasses w/ prototypes
2014-06-10 14:18:35 -07:00
Ron Evans
bdf3c24388
Merge pull request #200 from hybridgroup/refactor/commands
...
Expose commands as array, instead of function
2014-06-10 16:06:19 -04:00
Andrew Stewart
1832e20e17
Expose commands as array, instead of function
...
For appropriate classes, #commands is now an array, instead of a function that
returns the same array.
2014-06-10 12:29:44 -07:00
Andrew Stewart
9406fddaad
Use same formatting for all log strings
2014-06-10 11:33:52 -07:00
Ron Evans
17c1d4609f
Merge pull request #198 from hybridgroup/refactor/robot
...
Robot Refactors
2014-06-10 13:52:00 -04:00
Ron Evans
2d88470bbe
Merge pull request #199 from hybridgroup/remove/events
...
Remove the 'connect' and 'start' events from Adaptors/Drivers
2014-06-10 12:58:44 -04:00
Andrew Stewart
0517942253
Remove the 'connect' and 'start' events
...
These events are being removed, as they're essentially useless in most cases, as
the events will already have been emitted before the work block is run to set up
handlers for them.
2014-06-10 09:20:23 -07:00
Andrew Stewart
3672a1b712
General cleanup of single-line statements
2014-06-09 14:02:06 -07:00