Vadim Macagon
747495e77c
Add a converter for nullptr_t
2017-08-16 00:24:20 +07:00
Kevin Sawicki
159a25d8e7
Merge pull request #13 from tsekityam/patch-1
...
Fix broken link
2017-05-09 16:14:28 -07:00
Tse Kit Yam
c8cc021ea1
Fix broken link
2017-05-09 15:24:43 +08:00
Cheng Zhao
7d9c1a80f0
Merge pull request #12 from brenca/add-high-memory-option
...
Add a flag that skips the two round GC and instead uses only one
2017-05-01 16:06:50 +09:00
Heilig Benedek
ff8f439afd
add ability to set high memory usage, skipping the second round of GC callbacks
2017-04-12 15:51:28 +02:00
Cheng Zhao
fd0e7dc4ab
Use gin to manage FunctionTemplate
...
Sadly there is no way for us to know when V8 is closing, thus it is
impossible for us to clean the FunctionTemplate on exit at the right
time, which is critcal for multi-thread environment.
2017-03-08 17:11:29 +09:00
Cheng Zhao
ed909cd54c
Make Wrappable thread safe
2017-03-08 16:33:05 +09:00
Kevin Sawicki
ad0fd82566
Merge pull request #10 from electron/five-argument-member-function
...
Remove template_util.h and use std functions
2017-02-17 10:25:02 -08:00
Kevin Sawicki
d2b9766886
Use std functions instead of template_util
2017-02-17 09:32:45 -08:00
Kevin Sawicki
f56ec818fb
Support 5 argument member function
2017-02-17 09:32:45 -08:00
Kevin Sawicki
11a1b824c0
Merge pull request #11 from electron/ci
...
Add Travis/AppVeyor CI build through Electron
2017-02-17 09:32:30 -08:00
Kevin Sawicki
db542f2a26
Add CI build through Electron
2017-02-17 08:39:54 -08:00
Cheng Zhao
eb109cf905
Merge pull request #9 from renaesop/master
...
Add Converter<std::map<std::string, T>>::ToV8
2017-02-13 17:04:05 +09:00
renaesop
7197368c6d
Add Converter<std::map<std::string, T>>::ToV8
2017-02-06 16:54:11 +08:00
Cheng Zhao
400d6c3de5
Merge pull request #8 from electron/set-read-only
...
Support setting read-only property value
2017-01-16 06:53:42 +09:00
Kevin Sawicki
c78a6fa7d4
Support setting read-only property value
2017-01-12 12:21:23 -08:00
Kevin Sawicki
6b7e73db92
Merge pull request #7 from deepak1556/empty_handle_converter_patch
...
create empty handle for null value
2016-12-12 12:55:31 -08:00
deepak1556
70092b493e
create empty handle for null or undefined value
2016-12-07 16:41:45 +05:30
Cheng Zhao
912307386c
Merge pull request #6 from enlight/add-readme
...
Add README
2016-08-12 20:48:19 +09:00
Vadim Macagon
03b4f57d23
Add README
2016-08-12 17:33:41 +07:00
Cheng Zhao
b5e5de626c
Merge pull request #5 from kevinsawicki/detail-string
...
Use ToDetailString for arguments error message
2016-08-11 17:22:39 +09:00
Kevin Sawicki
8155da152f
Add back empty handle string
2016-08-10 10:04:04 -07:00
Kevin Sawicki
1dbaec0edd
Use ToDetailString for processing error message
2016-08-10 09:34:33 -07:00
Cheng Zhao
fa483e1fe0
Do not set constructor name in SetConstructor
2016-08-02 19:27:58 +09:00
Cheng Zhao
4dbe051494
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:06:20 +09:00
Cheng Zhao
3a7a6efffb
GetConstructor should init default constructor
2016-08-02 17:20:41 +09:00
Cheng Zhao
2d26eebca8
Remove the Constructor class
2016-08-02 17:01:19 +09:00
Cheng Zhao
a259d10bcb
NewOperatorFactory is not used
2016-08-02 16:20:29 +09:00
Cheng Zhao
0a48af9ff7
Create objects from InstanceTemplate
2016-08-02 16:08:00 +09:00
Cheng Zhao
d55c3c5030
Turn Wrappable into using FunctionTemplate
2016-08-02 15:56:47 +09:00
Cheng Zhao
ab62755a88
Make InitWith virtual
2016-08-02 15:28:09 +09:00
Cheng Zhao
bd20bde1a2
Call the user call Init in Constructor
2016-08-02 15:14:48 +09:00
Cheng Zhao
d9bfe6a49d
CHECK is not needed
2016-07-21 16:51:48 +09:00
Cheng Zhao
8a31e2d9c0
Update to API changes of V8 5.2
2016-07-04 15:08:08 +09:00
Cheng Zhao
a1efa28520
Setup v8::MicrotasksScope for callbacks
2016-06-24 14:40:47 +09:00
Cheng Zhao
e75f2aa087
Add converter for std::map
2016-06-13 09:26:48 +09:00
Cheng Zhao
4ad6ecd196
Handle.ToV8 should return Object
2016-05-20 15:38:51 +09:00
Cheng Zhao
ea07d4c6c8
Leak Wrappable's template
...
Since it is declared as static variable it will be released
automatically when process exits, which causes crashes in
renderer process because the template will then be released
later than V8 is closed.
This commit simply leaks the template so the crash won't happen,
this leak should be fine since leaking resource on exit is not
a bad thing.
2016-05-10 16:07:04 +09:00
Cheng Zhao
0df2d882ea
Make Wrappable a template class
2016-04-25 10:17:39 +09:00
Cheng Zhao
553326b006
Merge pull request #4 from deepak1556/dictionary_patch
...
use v8::private symbols as identifiers for object properties
2016-03-31 10:18:26 +09:00
Robo
309887c444
use v8::private symbols as identifiers for object properties
2016-03-24 01:32:08 +05:30
Cheng Zhao
38834cb997
Merge pull request #3 from paulcbetts/chrome49
...
basictypes.h => macros.h
2016-03-08 17:43:54 +09:00
Paul Betts
16270fa080
basic_types.h => macros.h
2016-03-07 20:36:14 -08:00
Cheng Zhao
e719eab878
Clear internal field when Wrapper is destroyed
2016-02-02 19:50:27 +08:00
Cheng Zhao
26520c5cf4
Improve error message for type error
...
Close atom/electron#4307 .
2016-02-02 10:10:59 +08:00
Cheng Zhao
a3dcf8ced6
Fix converter for std::set
2015-12-11 21:13:33 +08:00
Cheng Zhao
5e70868fd0
isDestroy => isDestroyed
2015-12-04 19:23:13 +08:00
Cheng Zhao
e859228db1
Do not manually destroy native resources
2015-12-03 15:38:14 +08:00
Cheng Zhao
9398494100
Add Dictionary::Delete
2015-11-11 00:25:10 +08:00
Cheng Zhao
21cda4e7fc
Don't return v8::Maybe for std::vector
2015-11-02 20:45:29 +08:00