Cheng Zhao
55640a3ff7
win: Make sure shell.showItemInFolder in called on browser side.
...
Fixes #341 .
2014-05-21 22:31:44 +08:00
Cheng Zhao
dc907f501c
win: Fix the resizable flag, closed #316 .
2014-05-20 23:37:14 +08:00
Cheng Zhao
972bb2e9fb
Make sure webContents is created when opening devtools.
...
Fixes atom/atom#2270 .
2014-05-20 20:58:11 +08:00
Cheng Zhao
754abbd39c
Bump v0.12.5.
2014-05-19 02:02:33 +00:00
Cheng Zhao
8ae66cab9d
win: Implement setContentSize API.
2014-05-18 21:27:23 +08:00
Cheng Zhao
0b202a2df1
win: Setting menu shouldn't change client area size.
2014-05-18 21:19:38 +08:00
Cheng Zhao
ee336b4218
win: Convert content size to window size.
2014-05-18 21:16:33 +08:00
Cheng Zhao
0dc3e6ac7c
💄 Fix cpplint warning.
2014-05-15 16:44:56 +08:00
Cheng Zhao
64da04777e
gtk: Fix setting content size.
2014-05-15 16:27:18 +08:00
Cheng Zhao
5150fd6946
Add BrowserWindow::setContentSize.
2014-05-15 16:06:12 +08:00
Cheng Zhao
511a49f6fb
gtk: Respect use-content-size when creating window.
2014-05-15 15:38:22 +08:00
Cheng Zhao
76cc3eeb6d
Get BrowserWindow::getContentSize API.
2014-05-15 15:30:04 +08:00
Cheng Zhao
8d5fbe525d
Use content size in default_app.
2014-05-15 15:29:53 +08:00
Cheng Zhao
074ac051d2
mac: Respect use-content-size when creating window.
2014-05-15 15:19:02 +08:00
Cheng Zhao
e22a8d0a49
Add use-content-size switch.
2014-05-15 15:18:46 +08:00
Cheng Zhao
afd927f749
Use system's setting for font renderering, fixes #301 .
2014-05-14 16:54:07 +08:00
Cheng Zhao
cfeb00e629
Only report "app invalid" error when app could not be loaded, fixes #294 .
2014-05-14 16:27:40 +08:00
Kramer Campbell
59ecf7bb50
Add missing graphics switching attribute.
...
Atom Shell was causing the GPU to be switched to the discrete card as
this attribute was missing from Info.plist files in common/ and
renderer/
2014-05-13 09:33:54 -07:00
Cheng Zhao
64bc157d1a
Only open url in browser for GET request, fixes #299 .
2014-05-13 14:49:48 +08:00
Cheng Zhao
cf887379e1
Bump v0.12.4.
2014-05-12 21:44:33 +08:00
Cheng Zhao
90477321fe
gtk: Show the menu after it has been added to window, fixes #292 .
2014-05-12 21:33:08 +08:00
Cheng Zhao
77d6bb2c3f
Bring the close timeout back to 5s.
2014-05-09 12:10:37 +08:00
Cheng Zhao
3e6df19eff
Do not send "unresponsive" when window is closed.
2014-05-09 12:08:15 +08:00
Cheng Zhao
a070f0fdb6
Only cancel unresponsive event when window close is cancelled.
2014-05-09 11:40:48 +08:00
Cheng Zhao
146ce284de
Do not override pending unresponsive counter.
2014-05-09 11:38:57 +08:00
Cheng Zhao
d10292d95c
Do not receive notifications after window is closed, fixes #265 .
2014-05-09 09:47:11 +08:00
Cheng Zhao
676b1e0bc7
Fix closing a crashed window, closes #269 .
2014-05-09 09:26:46 +08:00
Cheng Zhao
1b3658171f
Bump v0.12.3.
2014-05-07 15:33:32 +08:00
Pascal Borreli
831c7f5924
Fixed typos
2014-05-07 07:34:53 +01:00
Cheng Zhao
a69c312389
Fixes auto updater regression, closes atom/atom#1949 .
2014-05-07 11:32:06 +08:00
Cheng Zhao
a67c54869f
Make sure the job factory is created when initializing protocol module.
...
Fixes atom/atom#1963 , the regression came when moving to use native-mate
to reimplment the APIs.
2014-05-07 09:17:46 +08:00
Cheng Zhao
c841d90529
linux: Be quiet when uploading crash report.
2014-05-07 09:05:00 +08:00
Hugh Kennedy
da0eee6298
Enable WebGL
...
Enabling the `experimental_webgl_enabled` preference allows you
to create a WebGL context from within atom-shell.
While not necessarily important for the Atom editor, for others
to use atom-shell in substitution for node-webkit this is a
potentially useful feature, e.g. for packaged HTML5 games.
2014-05-06 10:43:58 +02:00
Corey Johnson
1515ff1a08
Merge pull request #235 from atom/open-source
...
Open source atom-shell
2014-05-05 11:19:49 -07:00
Cheng Zhao
9e80010e1a
Bump v0.12.2.
2014-05-05 17:13:13 +08:00
Cheng Zhao
e5e3a6837a
Better window height for default_app.
2014-05-05 17:12:39 +08:00
Cheng Zhao
0e7c7ca34b
Also report when user provided strange files.
2014-05-05 16:50:11 +08:00
Cheng Zhao
f0e5cae9bb
Disable elastic scrolling.
2014-05-05 16:48:58 +08:00
Cheng Zhao
f943f54ad5
Linkify the docs in default_app.
2014-05-05 16:46:25 +08:00
Cheng Zhao
c6448d0607
Use dialog to report invalid app.
2014-05-05 16:35:06 +08:00
Cheng Zhao
84bf956725
Enable dragging to open an app.
2014-05-05 16:30:37 +08:00
Cheng Zhao
854295c0a6
Add some styles.
2014-05-05 16:02:52 +08:00
Cheng Zhao
a132d2e5a0
Show a friendly guide when atom-shell is opened without app.
2014-05-05 15:45:50 +08:00
Cheng Zhao
de0be312be
Bump v0.12.1.
2014-05-05 01:47:46 +00:00
Cheng Zhao
f176b2c58f
Switch to use MIT license.
2014-05-04 20:29:08 +08:00
Cheng Zhao
a85db2d780
Deprecate the BrowserWindow.restart.
...
Now BrowserWindow.reload would just do the same thing.
2014-04-29 15:44:41 +08:00
Cheng Zhao
19698fc739
Move "restart()" API to webContents.
2014-04-29 15:22:06 +08:00
Cheng Zhao
8342c7cfe1
Bump v0.12.0.
2014-04-29 12:02:53 +08:00
Cheng Zhao
dc9778f0f2
Fix compilation error on Windows.
2014-04-29 11:39:31 +08:00
Cheng Zhao
97006bcbc3
Bump the close timeout to 10s.
...
Fixes atom/atom#1838 .
2014-04-26 13:15:41 +08:00
Cheng Zhao
1bba15cb7f
Avoid using processId and routingId directly.
2014-04-25 16:45:14 +08:00
Cheng Zhao
23ccad4915
Separate the webContents code in a new file.
2014-04-25 16:23:40 +08:00
Cheng Zhao
c0875864dc
Handle IPC messages in webContents instead of BrowserWindow.
2014-04-25 16:13:16 +08:00
Cheng Zhao
1815f8b40d
Make send and loadUrl also supported methods of BrowserWindow.
2014-04-25 13:14:11 +08:00
Cheng Zhao
272effd470
Add send for webContents.
2014-04-25 13:10:16 +08:00
Cheng Zhao
c8a82e6e50
Move navigator related APIs to webContents.
2014-04-25 12:52:30 +08:00
Cheng Zhao
e70d195cde
Fix releasing the wrong renderer view.
2014-04-25 12:40:04 +08:00
Cheng Zhao
4135040449
Move loading events to webContents.
2014-04-25 12:22:16 +08:00
Cheng Zhao
744895f9d8
Add destroyed event for webContents.
2014-04-25 11:59:33 +08:00
Cheng Zhao
859606e88c
Move webContents events away from window.
2014-04-25 11:51:05 +08:00
Cheng Zhao
9eeec9aa0b
Be safe on lifetime of webContents.
2014-04-25 11:22:51 +08:00
Cheng Zhao
b02bcc0016
Get webContents on request.
2014-04-25 10:57:45 +08:00
Cheng Zhao
c5f8fbf471
Add getter for devToolsWebContents.
2014-04-25 10:48:11 +08:00
Cheng Zhao
00ed814962
Add executeJavaScript method for webContents.
2014-04-25 10:34:40 +08:00
Cheng Zhao
79babe858d
Move some APIs from Window to WebContents.
2014-04-24 17:00:41 +08:00
Cheng Zhao
26e93e8798
Initial empty api_web_contents.
2014-04-24 16:45:25 +08:00
Cheng Zhao
486dd9edfa
mac: Avoid sending "blur" event when closing window.
2014-04-24 16:17:35 +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
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
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
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
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
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
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