Граф коммитов

271 Коммитов

Автор SHA1 Сообщение Дата
Abhilash Tiwari b38a2385c0 Fixed 8 typo errors in the log.md files (#274) 2018-10-29 13:43:13 -07:00
Rauf Islam 73460d2444 Update zone.md (#273)
fixed one sentence because english
2018-10-29 13:41:59 -07:00
Ruturaj Gujar 7e934ecc12 Update READMEs for the examples and fixed some grammatical errors in transport.md (#272)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Added capitalization for the points

* Fixed some typos and grammatical errors in transport.md
2018-10-29 13:41:12 -07:00
Pujan Mehta 02eb70c8b1 Made some fixes in transport-js-builtins.md (#271)
* Update memory.md

* Update transport-js-builtins.md

* Update transport-js-builtins.md

* Update transport-js-builtins.md

* Update README.md
2018-10-29 13:38:36 -07:00
Sunita Sen ff42fcb3bc fixed typos (#270) 2018-10-29 13:37:30 -07:00
hemirt 3e472ac555 Fix small typos (#269)
* Fix typos

* Fix typos

* Fix typos

* Fix typos

* Fix typos

* Fix typo

* Fix typo
2018-10-29 13:34:56 -07:00
Algram 1546003223 Change var to const in the README.md (#268) 2018-10-29 13:33:26 -07:00
Mason 4c8fd412f7 Fix some small typos (#267) 2018-10-29 13:32:43 -07:00
Raphael Miedl aa3200e44d Fix small typo (#266) 2018-10-22 11:40:44 -07:00
amiya-1998 7a6f354b24 Started sentence with 'A' instead of 'a'. (#264) 2018-10-22 11:39:44 -07:00
Akshit Bhalla 69b6d889de Fix Markdown and grammar (#261)
Corrected typos and grammar. Also made the Markdown lists more consistent.
2018-10-08 11:30:41 -07:00
Aman Kumar Gupta 96dd2e530a Fixed grammatical errors. (#262) 2018-10-08 11:22:06 -07:00
Josef Malacka Jr 8cb06f1922 Added periods to end of sentences in Features.
Added periods to end of sentences in Features.
2018-10-08 11:21:03 -07:00
Daniel Hegeman f337e2c6d2 Add cmake-js to devDependencies (#246) 2018-07-23 00:02:54 -07:00
Yulong Wang 833b3840f1
Fix assert.ifError() usage in test (#233) 2018-05-18 17:22:13 -07:00
Allen Yongshuang Wang 0c621aa113
fix and re-enable builtin type transportation (#235) 2018-05-09 12:12:40 -07:00
Yulong Wang 715b29357a
Set 'this' reference to module.exports in module's top level code (#232) 2018-05-04 12:27:09 -07:00
Yulong Wang 621ae944ef
[ci skip] Update Napa.js to version 0.2.3 (#230) 2018-05-01 18:41:15 -07:00
Yulong Wang b2c1398577
Fix crash on some linux environment (#229)
* Fix crash caused by incorrect symbol pickup

* set non-lazy binding

* Update build matrix

* Update g++ version in comments
2018-05-01 17:58:33 -07:00
Allen Yongshuang Wang 0ebf6d5a31 fix build/test break introduced by v8 breaking change from node v10.x (#224)
* because of v8 breaking change introduced from node v10.x, 1.disable test cases of builtin-type-transportation; 2.fix build break due

* make v8 version control more accurate

* Update lock-wrap.cpp
2018-04-24 20:32:41 -07:00
Yulong Wang 20f632dccd
[ci skip] Update Napa.js to version 0.2.2 (#222) 2018-04-20 12:11:37 -07:00
Yulong Wang e586b04404
Fix build: add missing header file (#221)
Add the missing header file <functional> which causes build break on g++7.x
2018-04-19 17:40:16 -07:00
Yulong Wang 9c9d8f611a
Fix load() implementation of transportable object (#216)
* Fix load() implementation of transportable object

* Add a test case for AutoTransport
2018-04-18 17:43:23 -07:00
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
Yulong Wang 77ecdf7f22
Update 3rd party library 'args' to latest version (7bf1700) (#215) 2018-04-03 23:11:37 -07:00
Yulong Wang 4604bc8718
Update function group `zone.broadcast` (#201)
* New 'broadcast' function group Proposal

* update function group `zone.broadcast`

* Delete temp file

* Trival fixes and comments resolve
2018-04-03 15:38:29 -07:00
Yulong Wang 3fb47871d9
Merge file src/utils/debug.h to inc/napa/log.h (#213) 2018-04-03 13:55:31 -07:00
Yulong Wang c8ddbc6f31
Trival fix on transport wiki (#212) 2018-04-03 13:22:09 -07:00
Allen (Yongshuang) Wang 377408dde8
Bugfix: make sure setting work idle happens after setup (#211)
* Update worker.cpp

* Update scheduler.h

* Update worker.cpp

idlenotification is not need in workerthreadfunc, because it will be executed at the first time of the following loop

* Update scheduler-tests.cpp

call _idleNotificationCallback in unittest/zone/TestWork

* Update scheduler.h
2018-03-29 18:35:35 -07:00
Yulong Wang 314227dd27
Optimize macro napa debug (#199)
* Optimize macro LOG_DEBUG

* Update debug.h

* use `(void)0`
2018-03-27 20:40:54 -07:00
Yulong Wang df0d5649f8
[ci skip] Update Napa.js to version 0.2.1 (#206) 2018-03-12 12:03:14 -07:00
Yulong Wang 5736763abf
Lock Node version on build matrix-(Ubuntu14.04) (#205) 2018-03-12 11:57:58 -07:00
Yulong Wang 73afc49c95
Fix node version check (#204)
Fix the bug in node version check in file lib/binding.js
2018-03-12 11:10:26 -07:00
Yulong Wang e5478c7bb7
Add Napa.js core modules development guideline (#191) 2018-03-07 10:50:02 -08:00
Yulong Wang 17e519be03
Allow both .js and .ts files in /lib/core (#190) 2018-02-02 15:01:23 -08:00
Yulong Wang 0c7355f887
Fix unittest build break in Clang (#189) 2018-02-01 17:17:07 -08:00
Yulong Wang 8f6b8b2efb [ci skip] Update Napa.js to version 0.2.0 (#182) 2018-01-05 16:10:20 -08:00
Yulong Wang f152547def Add an example that uses napa.sync.Lock (#179)
* Add example for napa/sync/Lock

* Update link to sync.md

* Update example and rename to 'synchronized-loading'

* Update README and API docs: add synchronized loading example

* Resolve comments

* fix grammer
2018-01-05 15:19:54 -08:00
Allen (Yongshuang) Wang 0f699c541b fix bug when transporting 'null' (#181) 2018-01-05 15:15:27 -08:00
Yulong Wang ab54a359fb Remove trailing semi-colon in macro definitions (#127)
* Remove ';' in macro definitions

* Update macro NAPA_DECLARE_PERSISTENT_CONSTRUCTOR to function-call style

* Fix build break in lock-wrap.cpp
2018-01-05 13:10:57 -08:00
Yulong Wang bf84f69cc7 Fix anchor name in sync.md (#177) 2018-01-04 13:12:26 -08:00
Allen (Yongshuang) Wang a382e59892 Update docs/api/transport.md about transporting JS built-in objects (#176)
* Update docs/api/transport.md about transporting JS built-in objects

* Update transport.md
2018-01-04 09:14:02 -08:00
Allen (Yongshuang) Wang 717095348f parallel quicksort example (#175)
* parallel quicksort example

* update Readme and doc/api/transport.md

* Remove changes in doc/api/transport.md

* Update parallel-quick-sort.js
2018-01-04 09:13:43 -08:00
Darío Hereñú 4e4b6d3d3e Minor fix (proposal) (#171) 2018-01-03 16:01:59 -08:00
Yulong Wang 5e74926738 Fix string encoding in Napa (#153)
The following components are supporting unicode string now.
napa.store APIs
FunctionSpec that used in zone.execute()
Fix: #144
2017-12-28 17:20:28 -08:00
Yulong Wang 46086015e1 Fix test failure in sync-test (#160)
Use a variable to keep the refenence to the store object, in order to prevent it from being destructed by GC
2017-12-28 16:02:51 -08:00
Yulong Wang 2207936df3 [ci skip] Update Napa.js to version 0.1.8 (#172) 2017-12-28 14:45:44 -08:00
Daiyi Peng aa5e979960 Fix module loader crash on package.json that doesn't have 'main' property. (#156)
* Fix module loader crash on package.json without 'main' property

* Fix module loader crash on package.json that does not have main property.

* Revert sync-test change since it's being fixed in another PR.

* Fix a missing bracket on sync-test
2017-12-27 16:33:04 -08:00
Reid Greer 313c8507a2 Fixes Angular typo (#169) 2017-12-27 15:51:26 -08:00
Allen (Yongshuang) Wang 191fe79030 convert transport builtin types test to TypeScript (#168) 2017-12-23 08:49:09 -08:00