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

52 Коммитов

Автор SHA1 Сообщение Дата
Asi Bross a561556fd7 Merged PR 301401: First round cleanup - remove msbuild files and unnecessary folders
First round cleanup - remove msbuild files and unnecessary folders
2017-06-20 18:37:47 +00:00
Asi Bross 70831b61e2 Merged PR 300167: Support building napa with cmake
Support building napa with cmake
2017-06-19 22:16:49 +00:00
Daiyi Peng c7373d8342 Merged PR 297335: Replace timeout with ExecuteOptions in zone.execute.
Replace timeout with ExecuteOptions in zone.execute.
2017-06-16 21:25:47 +00:00
Asi Bross 9e3c9bf76a Merged PR 297468: Restructure napa core modules files
Restructure napa core modules files
2017-06-15 23:44:43 +00:00
Daiyi Peng b8f58f7ca0 Merged PR 293569: Implement anonymous function execution.
1. Support function transport.
2. Implement zone.execute on function.
2017-06-15 18:10:11 +00:00
Daiyi Peng a3f0bcaf05 Merged PR 287788: 1. Initial 'napajs' documentation.
1. Initial 'napajs' documentation.
2. Move ns 'memory.store' to 'store'.
2017-06-07 20:20:55 +00:00
Daiyi Peng a1170779d5 Merged PR 284817: Use module path to resolve relative path when 'require' is called with a module
Use module path to resolve relative path when 'require' is called with a module context.
2017-06-05 19:12:41 +00:00
Asi Bross f6026033b5 Merged PR 282183: Add support for logging providers
Add support for logging providers
2017-06-05 17:34:45 +00:00
Daiyi Peng 8c5d1b203f Merged PR 279204: Merge dev/dapeng/refine_store to master
1. Refine Store API.
2. Support function name with namespaces in zone.execute.
2017-05-27 00:13:04 +00:00
Sunghoon Choi 9e9037c1da Merged PR 278947: Using node from nuget package
node.exe and v8 libraries come from the same nuget package. I applied this into only vanilla and taster not to break the current indexserve.
2017-05-26 22:55:41 +00:00
Daiyi Peng f8551f93b0 Merged PR 277951: Remove legacy object-transporter.
Remove legacy object-transporter.
2017-05-26 00:11:45 +00:00
Daiyi Peng 7cc3a722bc Merged PR 276180: Merge dev/dapeng/refine_transport to master
This change fixes transport.register on addon Init, with a few tuning and adding tests.

Detailed changes are:
1) Support module.require in Napa.
2) Support C++ accessibility to napa binding.
3) Remove non-transportable, as any object is not transportable is non-transportable.
4) Refine Store API.
5) Add tests for memory and transport.
2017-05-25 21:04:35 +00:00
Asi Bross 1ea9a4f603 Merged PR 276235: change getCurrentZone function to currentZone property
change getCurrentZone function to currentZone property
2017-05-24 23:19:33 +00:00
Asi Bross 7b592c682a Merged PR 275177: Fix swallowing failed tests
Fix swallowing failed tests
2017-05-23 23:37:40 +00:00
Asi Bross fb8175f0d1 Merged PR 275046: changed broadcast to return promise<void>
changed broadcast to return promise<void>
2017-05-23 21:24:04 +00:00
Sunghoon Choi 5d8958feff Merged PR 272334: Napa.dll linking with V8 library statically
This makes us export only one napa.dll, i.e. we don't need to publish multiple v8 related dlls. It's using v8 libraries built from node.js sources. There are two big reasons why node.js is the base, not v8. One is that NAN is based on node, not no v8. The other is that node.js building procedure is much simpler than v8. (it's much complicated to make v8 static library with dynamic runtime and with exporting all APIs.).

I described how to build v8 libraries from node.js sources at vanilla\deps\README.md and published Napa.V8.Library into Nuget repository.
2017-05-23 05:39:19 +00:00
Asi Bross 30fa24e01d Merged PR 268036: Remove initialization from bootstrap file feature
Remove initialization from bootstrap file feature
2017-05-18 17:06:03 +00:00
Asi Bross 08e974ac2e Merged PR 266728: Move dispatcher to runtime folder
Move dispatcher to runtime folder
2017-05-15 21:40:38 +00:00
Daiyi Peng beac8fa9d3 Merged PR 265435: Merge dev/dapeng/js_test to master 2017-05-15 21:13:21 +00:00
Asi Bross b853614d49 Merged PR 264966: Integrate napa addon with napa.dll
Integrate napa addon with napa.dll
2017-05-12 20:06:44 +00:00
Daiyi Peng 0e9fc19df4 Merged PR 257563: Store API
Store API
2017-05-08 21:54:23 +00:00
Sunghoon Choi ebbfc640a6 Merged PR 253472: Support Async at Napa.
Napa has two APIs to support async manner, PostAsyncWork and DoAsyncWork.
2017-05-02 20:32:11 +00:00
Asi Bross 93f19e06ca Merged PR 249141: Use transport context in execute
Use transport context in execute
2017-04-26 21:13:41 +00:00
Sunghoon Choi d872f569ed Merged PR 243812: Napa supports async.
Napa supports async.
2017-04-25 22:19:56 +00:00
Daiyi Peng dc8691044f Merged PR 245145: Merge dev/dapeng/allocator_support to master 2017-04-25 00:11:40 +00:00
Asi Bross 34201f1ee3 Merged PR 243993: Merge zone_changes to master 2017-04-20 21:17:22 +00:00
Sunghoon Choi e3cc462a48 Merged PR 236850: Add more APIs into core modules.
I borrowed assert.js and util.js from node.js.
2017-04-17 17:27:11 +00:00
Asi Bross 9d7f533b89 Merged PR 228477: Add support for running a function on all isolates
Add support for running a function on all isolates
2017-04-04 22:26:17 +00:00
Asi Bross 0a663cc7b6 Merged PR 223615: Set __dirname, __filename and script origin for top level js file
Set __dirname, __filename and script origin for top level js file
2017-03-30 18:00:28 +00:00
Sunghoon Choi 7daa633a32 Merged PR 219596: Add process.binding()
### Module loader has three kinds of core modules.
#### Built-in:
* It can be accessed with/without require() such as console, process, but can't be with process.binding().
* It's cached at both binding and module cache.
* If javascript core file exists, it overrides binary core module.
#### Binary core module:
* It can be accessed with only process.binding(), not with require().
* It's cached at only binding cache.
#### Javascript core module:
* It exists as Javascript file at './lib' or '../lib' directory.
* It can be accessed with only require() and cached at only module cache.
* If javascript core file exists, it overrides binary core module.
2017-03-28 22:34:58 +00:00
Sunghoon Choi 8038a45f8e Merged PR 217222: Refactor module loader.
- Module loader handle only built-in modules.
- All built-in modules move under core module since they also can be loaded by require().
- Each module type has its own module loader class.
- Doesn't support require('module', 'javascript string') extension any more.
- Clean up unit tests using incompatible node.js require.
2017-03-23 21:33:32 +00:00
Sunghoon Choi 74e838d035 Merged PR 211511: Module's package.json.
Module resolver now returns more resolution information, such as extension, package.json path.
2017-03-16 23:55:22 +00:00
Sunghoon Choi 2383840d93 Merged PR 210119: Module resolver class.
Module resolver class to resolve napa module path.
2017-03-16 00:35:15 +00:00
Asi Bross ff5abc9d85 Merged PR 210142: Fixed several bugs when calling run extension from command line
Fixed several bugs when calling run extension from command line
2017-03-15 22:47:05 +00:00
Sunghoon Choi d2e6eea12e Merged PR 206214: [Backlog] Move module related headers into inc/napa/module.
Move module related headers into inc/napa/module.
2017-03-11 01:04:35 +00:00
Sunghoon Choi 42f636b1eb Merged PR 206148: Add module loader into napa container
Add module loader into napa container
2017-03-11 01:03:32 +00:00
Sunghoon Choi a1d8f02af8 Merged PR 202377: Migrate module loader into vanilla napa.
Migrate module loader into vanilla napa.
2017-03-09 22:40:04 +00:00
Asi Bross eba8b1ef8e Merged PR 199269: Merge dev/asib/cleanup to master 2017-03-03 23:02:57 +00:00
Asi Bross 4203792489 Merged PR 197237: Added global store and cleaned TODOs
Added global store and cleaned TODOs
2017-03-02 18:00:43 +00:00
Asi Bross a1f27f05c1 Merged PR 191170: Change logging provider to receive an already formatted message
Change logging provider to receive an already formatted message
2017-02-23 17:49:41 +00:00
Asi Bross 03f7c2c610 Merged PR 189837: Add v8 string creation methods
Add v8 string creation methods
2017-02-21 22:50:52 +00:00
Asi Bross 889ab99b1c Merged PR 189548: Disable timeout tests due to inconsistency in build machines
Disable timeout tests due to inconsistency in build machines
2017-02-21 19:29:22 +00:00
Asi Bross e9a0c1acec Merged PR 187843: Add asserts and logs
Add asserts and logs
2017-02-21 16:39:44 +00:00
Asi Bross d963613b06 Merged PR 186654: Support timeout for run task
Support timeout for run task
2017-02-17 00:18:11 +00:00
Asi Bross 24da9ca1f5 Merged PR 182875: Merge dev/asib/api-tests to master 2017-02-14 01:16:22 +00:00
Asi Bross 64ef34e463 Merged PR 181672: Implement load and run tasks including tests
Implement load and run tasks including tests
2017-02-13 22:43:25 +00:00
Sunghoon Choi 97753dbfb5 Merged PR 178200: Example III - passing object instance from host to module 2017-02-09 23:45:18 +00:00
Asi Bross 42f3eee23e Merged PR 177190: Scheduler core implementation and tests
Scheduler core implementation and tests
2017-02-07 21:22:28 +00:00
Asi Bross 7a976ec3f1 Merged PR 174986: Load providers using boost.dll APIs
Load providers using boost.dll APIs
2017-02-03 17:03:07 +00:00
Asi Bross 65243b2e9f Merged PR 173861: Add scheduler implementation
Add scheduler implementation
2017-02-01 22:11:23 +00:00