Cheng Zhao
33b6876cc1
Add support for Plus
as accelerator key, fixes #1050
2015-01-23 15:26:54 -08:00
Cheng Zhao
81b370ee9f
Implement CheckMediaAccessPermission, fixes #1017
2015-01-23 15:13:49 -08:00
Cheng Zhao
4ba3e101f6
Clean the init.coffee
2015-01-21 17:38:26 -08:00
Cheng Zhao
ef15b670a9
Initialize node integration after window object is cleared
2015-01-21 16:40:19 -08:00
Cheng Zhao
706f547287
Don't insert node symbols in frames
...
This greatly simplified our code, and it is not useful to enable node
integrations in frames.
2015-01-21 15:42:57 -08:00
Cheng Zhao
f142f572c3
Add DidClearWindowObject for renderer client
2015-01-21 15:35:43 -08:00
Cheng Zhao
7e33e26465
Add atom-shell bindings before loading environment
2015-01-21 15:02:09 -08:00
Cheng Zhao
5e58915bdd
Separate LoadEnvironment from CreateEnvironment
2015-01-21 14:00:19 -08:00
Cheng Zhao
7c0f414881
Bump v0.20.7
2015-01-20 11:30:41 -08:00
Cheng Zhao
69092eee15
No need to preheat original-fs module
2015-01-19 15:47:21 -08:00
Cheng Zhao
3d858bee95
Guard against bad events in screen module
...
It can happen that the DisplayObserver methods are called without a
valid Display object passed.
2015-01-19 14:46:29 -08:00
Cheng Zhao
0933a7d1b2
Evaluate the "fs.js" in original-fs
...
Some high-level APIs in fs are using low-level APIs via "fs.xxx", which
will be overriden by our asar wrappers, so just shadow-copy those
methods is not enough.
By evaluating the whole "fs.js" we can make sure original-fs is not
polluted by the asar wrappers.
Fixes #782 .
2015-01-19 14:22:32 -08:00
Cheng Zhao
fe78c17ea6
Don't popup error if the user has a custom uncaught exception handler
...
Fix #1012 .
2015-01-19 12:50:44 -08:00
Cheng Zhao
ff856e679d
Make editing commands available in <webview>
2015-01-19 12:15:07 -08:00
Cheng Zhao
7fbf4246ac
Add editing commands for WebContents
2015-01-19 12:09:47 -08:00
Cheng Zhao
4604c9bb0e
Add a few more paths for app.getPath
2015-01-18 21:43:23 -08:00
Cheng Zhao
ce52a87477
Add "cache" and "userCache" directories
2015-01-18 21:43:22 -08:00
Cheng Zhao
3d398458a8
Throw error when PathService call failed
2015-01-18 21:43:21 -08:00
Cheng Zhao
a988b48016
Implement app.getHomeDir with app.getPath
2015-01-18 21:43:20 -08:00
Cheng Zhao
d31df439c3
Override default userData according to app's name
2015-01-18 21:43:19 -08:00
Cheng Zhao
06da5f254a
Add app.setPath and app.getPath APIs
...
They can be used to set/get any path defined in PathService
2015-01-18 21:43:19 -08:00
Cheng Zhao
2d1afbf51b
Call app.getDataPath after app is ready
...
It is possible for users to override the data path.
2015-01-18 21:43:18 -08:00
Cheng Zhao
45c26e0e5a
Add app.setDataPath API
2015-01-18 21:43:18 -08:00
Cheng Zhao
c6fb645f6b
Warning of app not ready in screen module
2015-01-18 21:42:46 -08:00
Cheng Zhao
e8f1f6819c
Merge pull request #1016 from atom/screen-improve
...
Add API to enumerate external displays in screen module
2015-01-18 10:23:18 -08:00
Cheng Zhao
b2be9373b0
linux,win: Initalize ICU for node mode
2015-01-16 16:12:12 -08:00
Cheng Zhao
51c03c3a71
mac: Initialize ICU in Node mode
2015-01-16 15:55:50 -08:00
Cheng Zhao
b3c3556286
Update the displays when there is metrics change
2015-01-16 12:04:35 -08:00
Cheng Zhao
50b96ca7ef
Pass the display in screen events
2015-01-16 12:02:32 -08:00
Cheng Zhao
7749484628
Make getAllDisplays return current displays.
2015-01-16 11:39:25 -08:00
Cheng Zhao
b5898d3355
Add events on display add/remove.
2015-01-16 11:01:38 -08:00
Cheng Zhao
809c995c0b
Make "screen" module a browser module
2015-01-16 11:01:38 -08:00
Cheng Zhao
551c39e241
Add some more attributes for Display
2015-01-16 11:01:38 -08:00
Cheng Zhao
97070246b7
Don't put gfx_converter's implementaion in header file
2015-01-16 11:01:38 -08:00
Cheng Zhao
029ee9aa1e
Add a few more API bindings
2015-01-16 11:01:38 -08:00
Cheng Zhao
509294b228
Don't hard-code API names
2015-01-16 11:01:38 -08:00
Cheng Zhao
482c740e61
Also unpack arguments in ipc-message-host message
2015-01-14 19:43:01 -08:00
Cheng Zhao
1a1cf57097
Unpack the arguments in ipc message
2015-01-14 19:33:24 -08:00
Cheng Zhao
f6f5ff4330
Fix converting ListValue to V8
2015-01-14 19:09:25 -08:00
Cheng Zhao
2d6dc9c527
Convert arguments to V8 directly in EventEmitter::Emmit
...
This gets rid of the extra conversion between ListValue.
2015-01-14 17:51:54 -08:00
Cheng Zhao
834d28f528
win: Fix building
2015-01-14 14:05:22 -08:00
Cheng Zhao
b4ba4a908e
Bump v0.20.6
2015-01-13 11:47:10 -08:00
Cheng Zhao
b4cdb546fe
Don't set contentWindow property for <webview>
...
This property is only available in Chrome and we don't need it in
atom-shell, so remove it to avoid confusions.
Fixes #997 .
2015-01-12 14:17:49 -08:00
Cheng Zhao
21ba5b867d
Merge branch 'master' into window-transparency
...
Conflicts:
script/lib/config.py
2015-01-12 13:39:32 -08:00
deepak1556
c0f0f4cdc6
ensuring single instance for loading and unloading extension
2015-01-10 04:12:13 +05:30
Cheng Zhao
bce8a3f835
Fix cpplint warning
2015-01-08 12:51:15 -08:00
Cheng Zhao
2d5b17552a
Add webFrame.registerUrlSchemeAsSecure API
2015-01-08 12:39:58 -08:00
Cheng Zhao
19d6d171b1
Don't show insecure content by default
...
This follows the behavior of Chrome.
2015-01-08 11:50:55 -08:00
Cheng Zhao
09acb9032a
Allow using blink's private headers
2015-01-08 11:50:55 -08:00
Cheng Zhao
506237f5d6
Bump v0.20.5
2015-01-07 23:27:58 -08:00
Cheng Zhao
609e3ec3ff
Don't allow duplicate object in a parsed array
...
This feature was introduced to fix #874 but caused the converter to go
through a deep nested object sometimes, which made program crash on
Windows. So we have to revert the fix even though it makes a regression.
Fixes atom/atom#4904 .
2015-01-07 23:20:03 -08:00
Cheng Zhao
640c8f88ff
Bump v0.20.4
2015-01-05 15:51:29 -08:00
Cheng Zhao
ecb9e93394
File dialogs don't need icon
2015-01-05 15:29:26 -08:00
Cheng Zhao
708e738521
views: Fix showing icon in message dialog
2015-01-05 15:26:35 -08:00
Cheng Zhao
8457090b18
Add "icon" option for message box
2015-01-05 15:08:42 -08:00
Cheng Zhao
513052de87
Enable initializing an empty image
2015-01-05 14:55:06 -08:00
Cheng Zhao
d65919d896
Add --disable-http-cache switch, fixes #891
2015-01-05 13:40:38 -08:00
Cheng Zhao
895ccf69a7
Avoid using app API in renderer process for #907
2015-01-04 22:51:00 -08:00
Cheng Zhao
335cd79b37
Don't call Screen functions until app is ready
...
Fixes #907 .
2015-01-04 22:27:02 -08:00
Cheng Zhao
bf14f67cb8
win: Fix building
2015-01-02 19:31:19 -08:00
Cheng Zhao
ef7a60807b
linux: Fix building
2015-01-02 19:26:17 -08:00
Cheng Zhao
079f81b304
mac: Add support for template image
2015-01-02 19:01:38 -08:00
Cheng Zhao
ab83b21fa6
Use gfx::Image instead of gfx::ImageSkia in API
...
The gfx::Image can use NSImage directly as underlying format, so we
don't have to decode images ourselves on Mac, and we will also be able
to make use of template images.
2015-01-02 18:43:56 -08:00
Cheng Zhao
3d7da455bc
mac: Check for invalid image
2015-01-02 18:35:33 -08:00
Cheng Zhao
ac8a9afada
mac: Initialize gfx::ImageSkia from gfx::Image
2015-01-02 18:34:13 -08:00
Cheng Zhao
8faab22f5e
mac: Initialize gfx::Image from NSImage
2015-01-02 18:24:23 -08:00
Cheng Zhao
40679ae82c
Simplify the image_converter.cc
2015-01-02 18:10:29 -08:00
Cheng Zhao
f972c38bc8
Add converters for gfx::Image
2015-01-02 17:13:26 -08:00
Cheng Zhao
7dc8ede90f
Bump v0.20.3
2014-12-29 12:21:35 -08:00
Cheng Zhao
9bd517e623
Use PRODUCT_NAME as application name
2014-12-29 09:46:27 -08:00
Cheng Zhao
3f307ea8a6
Revert #898
2014-12-29 09:35:08 -08:00
Cheng Zhao
ded58b8e65
mac: BrowserWindow.show() should also focus on window
2014-12-27 17:41:13 -08:00
Cheng Zhao
6939567cb4
win: Make transparent window resizable
2014-12-23 17:24:04 -08:00
Cheng Zhao
1a34e09a45
views: Make transparent window work
2014-12-23 16:55:57 -08:00
Cheng Zhao
85685feff4
mac: Simplify frameless window dragging code
2014-12-23 15:55:56 -08:00
Cheng Zhao
4ca0458b37
OVERRIDE => override in native_window_mac.h
2014-12-23 15:31:39 -08:00
Cheng Zhao
5b312e8f64
mac: Fix a crash when closing window
2014-12-23 12:31:27 -08:00
Cheng Zhao
8506725b54
mac: Don't show title text in transparent window
2014-12-23 11:48:20 -08:00
Cheng Zhao
45c41fe880
mac: Use transparent window
2014-12-23 11:17:56 -08:00
Cheng Zhao
4fc73117c4
Tell the render widget to use transparent background.
2014-12-23 11:17:32 -08:00
Cheng Zhao
9593c71f52
Add "transparent" option
2014-12-22 17:48:54 -08:00
Cheng Zhao
a23218c51d
Bump v0.20.2
2014-12-22 13:11:28 -08:00
Cheng Zhao
c0bf2facca
Merge pull request #942 from atom/spell-check-client
...
Add support for spell checking
2014-12-20 14:25:32 -08:00
Cheng Zhao
e7dfd48b1c
Spell check pasted text
2014-12-19 22:13:07 -08:00
Cheng Zhao
90b2d12371
Add option to turn on/off auto correct word
2014-12-19 21:01:47 -08:00
Cheng Zhao
f6c66e7ece
Use Chrome's policy for auto correct word
2014-12-19 20:56:16 -08:00
Cheng Zhao
c6a18b1b59
Split the words before sending it to spellCheck
2014-12-19 20:42:19 -08:00
Cheng Zhao
6cdc8e4b96
Small style fixes
2014-12-19 12:48:53 -08:00
Cheng Zhao
b801a93dc5
Also expose requestCheckingOfText
2014-12-18 17:41:42 -08:00
Hajime Morrita
dc9329ff43
Add BrowserWindow.showDefinitionForSelection()
...
This API shows the system-provided pop-up dictionary.
Some Mac apps including Chrome have "Look Up in in Dictionary" context
menu item. This API can be used to implement it.
2014-12-18 16:45:45 -08:00
Cheng Zhao
a61331a083
Call JavaScript to get spell check results
2014-12-18 16:44:38 -08:00
Cheng Zhao
f1fbc5c701
Add webFrame.setSpellCheckClient API
2014-12-18 13:54:01 -08:00
Cheng Zhao
896077222d
Add an empty SpellCheckClient
2014-12-18 13:43:51 -08:00
Cheng Zhao
47d7a355f2
Make file dialogs work in <webview>, fixes #930
2014-12-18 12:58:17 -08:00
Cheng Zhao
a1ae399d10
Make getUserMedia work in <webview>, fixes #845
2014-12-18 12:02:53 -08:00
Cheng Zhao
da54ac5f55
Don't leak listeners in embedder when guest is destroyed
2014-12-17 20:44:15 -08:00
Cheng Zhao
a26091e485
Suppress EventEmitter warnings
2014-12-17 20:33:47 -08:00
Cheng Zhao
947e6aca9b
Set web preferences for guest page
2014-12-17 18:13:39 -08:00
Cheng Zhao
c92d2531b5
Add "disablewebsecurity" attribute for <webview>
2014-12-17 18:13:20 -08:00
Cheng Zhao
55c8206bda
Bump v0.20.1
2014-12-17 15:27:42 -08:00