Cheng Zhao
|
14c851e9f8
|
Reset handle in weak callback.
This doesn't seem to be neccesary, but we had better follow what upstream does.
|
2014-07-18 09:37:07 +08:00 |
|
Cheng Zhao
|
e6db1875d0
|
Some more APIs fixes.
|
2014-06-28 22:32:35 +08:00 |
|
Cheng Zhao
|
8e056672bc
|
Bring back ScopedPersistent.SetWeak.
|
2014-06-28 21:26:34 +08:00 |
|
Cheng Zhao
|
6f574c3802
|
Add APIs to match new V8 APIs.
|
2014-06-28 19:48:49 +08:00 |
|
Cheng Zhao
|
bfd5f5d221
|
Strictly check for boolean type.
|
2014-06-23 21:47:39 +08:00 |
|
Cheng Zhao
|
94044b2950
|
Mark Dictionary.Get as const.
|
2014-06-23 21:39:03 +08:00 |
|
Cheng Zhao
|
51a55810b9
|
Enable creating empty Dictionary directly.
|
2014-06-23 21:38:46 +08:00 |
|
Cheng Zhao
|
1884b9a235
|
Add converter for const char*.
|
2014-06-23 21:24:18 +08:00 |
|
Cheng Zhao
|
730acd59c7
|
Add object() accessor for Dictionary.
|
2014-06-23 21:11:00 +08:00 |
|
Cheng Zhao
|
c79aecf64d
|
Call object._init if we have one.
|
2014-05-27 08:47:06 +08:00 |
|
Cheng Zhao
|
f033e23ea3
|
No need to reset wrapper_ when we would run destructor.
|
2014-04-23 12:29:22 +08:00 |
|
Cheng Zhao
|
3d219b4be6
|
Do not wrap an object when it's already wrapped.
|
2014-04-22 15:57:23 +08:00 |
|
Cheng Zhao
|
d950fe3736
|
Add Arguments.Length method.
|
2014-04-22 15:57:11 +08:00 |
|
Cheng Zhao
|
9cc90ac7d5
|
Make ScopedPersistent do type conversion.
|
2014-04-18 16:45:44 +08:00 |
|
Cheng Zhao
|
94dec0ff85
|
Add v8::Handle<v8::String> to converter.
|
2014-04-16 15:28:43 +08:00 |
|
Cheng Zhao
|
c9fa29ef64
|
Enable setting method in Dictionary.
|
2014-04-16 15:13:44 +08:00 |
|
Cheng Zhao
|
213ac43721
|
Enable converting void*.
|
2014-04-16 14:56:33 +08:00 |
|
Cheng Zhao
|
d0bf1a842f
|
Support function with 7 parameters.
|
2014-04-16 14:56:05 +08:00 |
|
Cheng Zhao
|
2d3af6fc38
|
Remove helper typedefs.
|
2014-04-16 14:29:45 +08:00 |
|
Cheng Zhao
|
ace550d6b2
|
Simplify Wrappable API.
|
2014-04-16 11:58:17 +08:00 |
|
Cheng Zhao
|
ac5be7dad7
|
Constructor should wrap the this pointer.
|
2014-04-16 10:36:54 +08:00 |
|
Cheng Zhao
|
bdfbef41c6
|
Cleanup.
|
2014-04-16 10:25:22 +08:00 |
|
Cheng Zhao
|
e2e1faa225
|
Make the Constructor accept arbitrary callback.
|
2014-04-16 09:50:51 +08:00 |
|
Cheng Zhao
|
78ab726ec7
|
Fix passing the wrong parameter.
|
2014-04-15 15:39:13 +08:00 |
|
Cheng Zhao
|
caa5ea0316
|
Add initial Constructor type.
|
2014-04-15 15:30:46 +08:00 |
|
Cheng Zhao
|
a20e02ee23
|
Fix compilation error of function_template.
|
2014-04-15 15:30:30 +08:00 |
|
Cheng Zhao
|
6ac926aa32
|
Enable modifying existing ObjectTemplate.
|
2014-04-15 11:34:07 +08:00 |
|
Cheng Zhao
|
4cada31f80
|
Do not rely on latest base/template_util.
|
2014-04-15 11:15:19 +08:00 |
|
Cheng Zhao
|
ff65b7dae1
|
Initial commit.
|
2014-04-15 11:04:36 +08:00 |
|