Cheng Zhao
56f709ff1f
Continue fixing compilation erros on Windows.
2013-12-17 18:34:45 +08:00
Cheng Zhao
0215c2fbee
Make all the windows code compile for Chrome 31.
2013-12-17 17:52:57 +08:00
Cheng Zhao
7e67f7632d
💄 Fix cpplint warnings.
2013-12-15 17:09:35 +08:00
Cheng Zhao
474e1fcd3b
Fix protocol module specs.
2013-12-15 16:53:07 +08:00
Cheng Zhao
886ebdb002
Use node's Environment feature to add "require" in renderer.
2013-12-15 14:20:28 +08:00
Cheng Zhao
d53915c6ab
Fix recursive calling of handle().
2013-12-11 23:57:37 +08:00
Cheng Zhao
409a431892
Huge commit to use new V8 and Content APIs.
...
Still got a lots of linking errors!
2013-12-11 15:48:19 +08:00
Cheng Zhao
d82cfc023f
💄 There should be no space between & and type name.
2013-12-10 14:27:25 +08:00
Cheng Zhao
f9c41f33e5
node::ObjectWrap how had a handle() method.
2013-12-10 14:15:37 +08:00
Cheng Zhao
4ec4b01218
base/string16.h was moved to base/strings/string16.h.
2013-12-10 14:14:05 +08:00
Cheng Zhao
cb73a3c572
Remove the RestartHangMonitorTimeout API, which is useless now.
2013-12-09 14:17:56 +08:00
Cheng Zhao
085b1a45ee
Report the right render view that is deleted.
2013-12-06 15:53:40 +08:00
Cheng Zhao
623e0f3ae4
Release render view's remote objects when it's deleted.
...
Privously we release them when the window is unloaded, which is not
correct since a render view can have multiple windows (or js contexts)
and when the unload event is emitted the render view could already have
gone.
This PR does the cleaning work purely in browser, so here is no need to
worry about renderer's life time.
2013-12-06 14:44:25 +08:00
Cheng Zhao
4a1ee39156
Get rid of manually converting to base::Value when possible.
2013-12-05 23:47:07 +08:00
Cheng Zhao
a614134144
Simplify V8 operations.
2013-12-05 10:35:57 +08:00
Cheng Zhao
5670ee7693
Add API to get and override application name.
2013-12-05 10:32:58 +08:00
Cheng Zhao
420ae1a2cc
Add API to override browser version.
2013-12-05 10:26:01 +08:00
Cheng Zhao
02bbf07d3a
Enable overriding UA strings.
2013-12-05 10:08:11 +08:00
Cheng Zhao
e45f83e62a
Make sure browserWindow.destroy() doesn't leave zombie processes.
2013-12-04 22:00:20 +08:00
Cheng Zhao
02d14ed23b
Fix returning the chosen option for synchronous dialogs.
2013-11-29 15:19:00 +08:00
Cheng Zhao
59b3e74542
Merge branch 'master' into breakpad
2013-11-22 19:37:34 +08:00
Cheng Zhao
4af802f215
Enable ignoring |rect| when calling BrowserWindow.capturePage.
2013-11-22 14:29:20 +08:00
Cheng Zhao
3b4a45ac65
Add BrowserWindow.capturePage API.
2013-11-22 14:23:19 +08:00
Cheng Zhao
374cf948e4
Make the crash reporter available for both browser and renderer.
2013-11-13 17:29:35 +08:00
Cheng Zhao
dc1a8b644a
Get the status of devtools from brightray, fixed #27 .
2013-11-05 10:32:45 +08:00
Cheng Zhao
6a712d4db4
Merge pull request #105 from atom/windows-menu
...
Implement menu API on Windows, fixes #75 .
2013-10-06 17:58:42 -07:00
Cheng Zhao
a182de20a4
win: Newly created window should also be aware of application menu.
2013-10-07 08:56:52 +08:00
Cheng Zhao
1e1fec15b6
Make objects registry code more structured.
2013-10-05 20:47:49 +08:00
Cheng Zhao
1524ced816
Set application menu would set menu for all windows on Windows.
2013-10-05 14:31:30 +08:00
Cheng Zhao
93f1a3dbd5
Make app.setApplicationMenu an alias to Menu.setApplicationMenu.
2013-10-05 13:46:48 +08:00
Cheng Zhao
666f6b3a01
Add app.getBrowserWindows() API.
2013-10-05 13:13:04 +08:00
Cheng Zhao
587484a5d0
Make sure application menu always get referenced.
2013-10-05 12:56:30 +08:00
Cheng Zhao
88ce2a5390
Add BrowserWindow.isVisible() API.
2013-10-03 08:28:22 +08:00
Cheng Zhao
5c8566e0d4
win: Show popup menu at right place.
2013-10-02 21:43:52 +08:00
Cheng Zhao
5a6ff0f80d
win: Add BrowserWindow.setMenu API.
2013-10-02 21:24:21 +08:00
Cheng Zhao
54b0d0c9c0
Free the native window's memory after the event were sent for all observers.
...
If we delete the window immediately other observers may get a invalid
window and cause random crashes.
2013-09-27 15:24:03 +08:00
Cheng Zhao
6bee435170
Destroy the event object immediately after the reply is sent, fixes #102 .
2013-09-26 11:28:53 +08:00
Cheng Zhao
5480cf58c2
Add spec for destroying synchronous event.
2013-09-26 11:27:09 +08:00
Cheng Zhao
14de58a6b7
Calling asynchronous functions in renderer now doesn't block browser.
2013-09-24 18:01:12 +08:00
Cheng Zhao
11ca836afc
Use the convient V8 wrapper in all files.
2013-09-24 09:41:54 +08:00
Cheng Zhao
a824c88352
Use same name convention in string16_conversions.
2013-09-23 23:00:58 +08:00
Cheng Zhao
8fdd3b3044
Use FromV8Arguments in atom_api_dialog.cc.
2013-09-23 22:52:48 +08:00
Cheng Zhao
a0d1a7620c
Put FromV8Value and ToV8Value to a new header.
2013-09-23 21:30:54 +08:00
Cheng Zhao
770a0068a3
Simplify conversions between native types and v8 types.
2013-09-23 21:12:40 +08:00
Cheng Zhao
26f0e49c9a
Make dialog.showSaveDialog accept a callback.
2013-09-23 20:08:49 +08:00
Cheng Zhao
30ca085fd8
Make dialog.showSaveDialog accept no parent window.
2013-09-23 19:59:00 +08:00
Cheng Zhao
c95cfc9540
Make dialog.showOpenDialog accept callback.
2013-09-23 19:23:49 +08:00
Cheng Zhao
f444e9dc74
💄 CoffeeScript is cute.
2013-09-23 16:51:00 +08:00
Cheng Zhao
76ac8f2719
Enable taking window as parameter in dialog.showOpenDialog.
2013-09-23 16:36:33 +08:00
Cheng Zhao
a4262bc39d
mac: Make ShowOpenDialog able to be shown as sheet.
2013-09-23 16:27:22 +08:00