napajs/node
Zhang Lei a8d23e0d37
Timers related function, set/clear Immediate/Timeout/Interval (#207)
* Set/Clear Immedidate/Timeout/Interval.

* add test case for napa set/clear Immediate/Timeout/Interval.

* Fix build error on windows for Timer related.

* Fix timer queue loop wait too long on new urgent tasks.
More robust timer-test.

* More tolerant on timer scheduler error.

* Fix windows build break using node 6.

* Tolerant more on timer schedule error special in auto build environment.

* Using strick js function tradition in Binding export functions on timer.

* change module name from timer to timers.

* make timers a buildin module.

* Remove non-used code line caused by copy/paste

* Do not need varible arguments here when constructing Timeout.

* Free persistent handles saved for timers at correct time point.

* Add test program under misc/ to check the memory usage on timers.

* Fix build break under node 6 for v8 SetWeak api.
Free timer early when it is not used.

* Add condition on immediate where no timer is attached to Timeout.

* Remove release timer in advance.

* Reset to release persistent handle.

* Group timers test under napa/timers

* typo fix

* Add SchedulePhase to generalize immediate/normal task types and keep expansion for future.

* Remove internal memeroy test scripts

* Some name style changes according to review suggestions.

* modify unittest on worker schedule interface changed.

* Force node 8.9.4 to avoid auto build test tools fail on new node 8.10.0 temperately.

* Force windows build use node 8.9.4 to avoid 8.10.0 crash issue temperately.

* Force OSX build use node 8.9.4 to avoid node 8.10.0 crash issue temperately.

* Run timer related test in another standalone mocha.
So that timer scheduler error not affected by other tests.

* revert back node version related changes.

* fix commandline issue on windows

* Force OSX build use node 8.9.4 to avoid node 8.10.0 crash issue temperately.

* revert osx node version on 8.9.4

* working 1

* working binding build 2

* remove static function getzoneScheduler

* Hide CallbackTask inside cpp. Add more comments. And some other modifications according to review.

* Refactor the napa-bingding build related changes. Do not add any
timers logic into napa-binding.node, so original build works without
add the timer-warpper.cpp into its source.

* fix typo in comments.
2018-04-04 16:47:03 -07:00
..
CMakeLists.txt Timers related function, set/clear Immediate/Timeout/Interval (#207) 2018-04-04 16:47:03 -07:00
addon.cpp Merged PR 327797: Support Mac 2017-07-19 17:00:55 -07:00
node-zone-delegates.cpp Update function group `zone.broadcast` (#201) 2018-04-03 15:38:29 -07:00
node-zone-delegates.h Update function group `zone.broadcast` (#201) 2018-04-03 15:38:29 -07:00