Cheng Zhao
|
0b3b621f81
|
spec: Use random port when creating http server.
|
2014-04-24 15:42:37 +08:00 |
|
Cheng Zhao
|
d3cda97d50
|
Enable passing null to dialog API.
|
2014-04-24 13:10:04 +08:00 |
|
Cheng Zhao
|
83debe2e43
|
Avoid passing closures to browser when showing dialog.
It's resource-costy.
|
2014-04-24 12:26:28 +08:00 |
|
Cheng Zhao
|
9091a34675
|
Merge pull request #232 from atom/fix-devtools-menu
Fix crash when showing menu for devtools when there are multiple windows
|
2014-04-24 04:24:39 +00:00 |
|
Cheng Zhao
|
822bc2fd52
|
Only call getDevTools for windows that have devtools.
|
2014-04-24 12:04:23 +08:00 |
|
Cheng Zhao
|
e8bf798b52
|
Fix using an null dictionary.
|
2014-04-24 11:25:06 +08:00 |
|
Cheng Zhao
|
a365e0b032
|
Merge pull request #231 from atom/native-mate
Reimplement JS API with native-mate
|
2014-04-23 07:32:36 +00:00 |
|
Cheng Zhao
|
d67295888d
|
💄 Fix cpplint warning.
|
2014-04-23 14:17:13 +08:00 |
|
Cheng Zhao
|
3d267fc743
|
gtk: Free resources when closing window.
|
2014-04-23 12:59:03 +08:00 |
|
Cheng Zhao
|
0c9aea3308
|
Fix compilation under Linux.
|
2014-04-23 12:45:48 +08:00 |
|
Cheng Zhao
|
297ccbbe58
|
Update native_mate for fixing crash in GC.
|
2014-04-23 12:30:45 +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
|
babfbe40d2
|
Fix the capturePage method.
|
2014-04-23 11:39:40 +08:00 |
|
Cheng Zhao
|
f6cca0df48
|
Remove redundant call to NotifyWindowClosed.
|
2014-04-23 11:21:17 +08:00 |
|
Cheng Zhao
|
f3961a8007
|
Update brightray to fix crash from BRYInspectableWebContentsView.
|
2014-04-23 11:20:49 +08:00 |
|
Cheng Zhao
|
5e0dd5c687
|
Remove from notification center when web contents is destroyed.
|
2014-04-23 11:20:12 +08:00 |
|
Cheng Zhao
|
0eb982a972
|
Make sure window object is destryed.
|
2014-04-23 10:53:07 +08:00 |
|
Cheng Zhao
|
1cb23a958c
|
Should send "closed" event when native window is closed.
|
2014-04-23 10:24:46 +08:00 |
|
Cheng Zhao
|
8417f158b4
|
Do not free memory used by native window immediately.
Otherwise we would have two ways to destroy a window, making code much
more complicated.
|
2014-04-23 09:53:38 +08:00 |
|
Cheng Zhao
|
db39910455
|
Remove window from observers when it's closed instead of deleted.
|
2014-04-23 09:25:04 +08:00 |
|
Cheng Zhao
|
bccbc5e821
|
Fix parameter detection in capturePage.
|
2014-04-23 09:09:28 +08:00 |
|
Cheng Zhao
|
5037daadfb
|
Use closed event instead of destroyed event.
We now do not delete window manually so the destroyed would be delayed
until the object is GCed.
|
2014-04-23 08:50:33 +08:00 |
|
Cheng Zhao
|
5a316c0c41
|
Free memory when native window is closed.
|
2014-04-23 08:50:26 +08:00 |
|
Cheng Zhao
|
a040a96652
|
Discard all our custom V8 helpers, use native-mate instead.
|
2014-04-22 23:07:21 +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
|
ef5342b86e
|
Simplify atom_browser_bindings.
|
2014-04-22 11:06:13 +08:00 |
|
Cheng Zhao
|
3b8f959ddf
|
Simplify atom_bindings.
|
2014-04-22 11:01:37 +08:00 |
|
Cheng Zhao
|
7e1c86a105
|
Remove use of native_type_conversions.h when possible.
|
2014-04-21 23:49:53 +08:00 |
|
Cheng Zhao
|
2efed6f910
|
Simplify menu api.
|
2014-04-21 23:40:10 +08:00 |
|
Cheng Zhao
|
a13c29f0e6
|
Simplify protocol api.
|
2014-04-21 16:33:32 +08:00 |
|
Cheng Zhao
|
dd6caba082
|
Fix cpplint warning.
|
2014-04-18 17:28:05 +08:00 |
|
Cheng Zhao
|
e5176d6a0a
|
Use BrowserV8Locker when possible.
|
2014-04-18 17:25:22 +08:00 |
|
Cheng Zhao
|
1dd57bd3a4
|
Use the new function converter in dialog api.
|
2014-04-18 17:19:15 +08:00 |
|
Cheng Zhao
|
499c9bc3b9
|
Enable converting v8::Function to base::Callback.
|
2014-04-18 17:18:50 +08:00 |
|
Cheng Zhao
|
9cc90ac7d5
|
Make ScopedPersistent do type conversion.
|
2014-04-18 16:45:44 +08:00 |
|
Cheng Zhao
|
8f2b998718
|
Simpilfy auto_updater api.
|
2014-04-17 17:26:21 +08:00 |
|
Cheng Zhao
|
f36569c3b9
|
Use native_mate based Event in browser_ipc.
|
2014-04-17 17:14:05 +08:00 |
|
Cheng Zhao
|
da483ba7f3
|
Simplify app api.
|
2014-04-17 17:13:46 +08:00 |
|
Cheng Zhao
|
7c50393c72
|
Simplify power_monitor api.
|
2014-04-17 17:13:17 +08:00 |
|
Cheng Zhao
|
7106a36ccb
|
Add native_mate implemented Event and EventEmitter.
|
2014-04-17 17:12:27 +08:00 |
|
Cheng Zhao
|
77cccc2db6
|
Simplify browser_ipc api.
|
2014-04-17 13:51:59 +08:00 |
|
Cheng Zhao
|
5dae7b8658
|
Put converters under atom/common/native_mate_converters.
|
2014-04-17 13:45:14 +08:00 |
|
Cheng Zhao
|
84397052fd
|
Use base::File::StringType.
|
2014-04-16 15:45:28 +08:00 |
|
Cheng Zhao
|
a2407c6b02
|
Use Dictionary to set module.exports.
|
2014-04-16 15:43:06 +08:00 |
|
Cheng Zhao
|
94dec0ff85
|
Add v8::Handle<v8::String> to converter.
|
2014-04-16 15:28:43 +08:00 |
|
Cheng Zhao
|
aa1efe70e2
|
Use native_mate to simplify dialog api.
|
2014-04-16 15:14:44 +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 |
|