Charlie Hess
78b856268e
Fix cpplint errors.
2015-02-25 21:57:25 -08:00
Charlie Hess
b6787a9b34
Emit a new before-quit event at the start of Browser::Quit, which gives us a chance to cancel before any windows are closed.
2015-02-25 19:33:42 -08:00
Mal Graty
7eecb84898
Prevent overflow on webview with height: 100%
...
Without this, the object element gets displayed `inline` which in chromium means that it slightly exceeds it's bounds. Unfortunately there's no nice way to mitigate this issue as I can't find a way to get extra css into this intermediate page. However, forcing a block display solves the issue.
2015-02-21 22:34:57 +00:00
Bundyo
43e44f8c35
Fix window.open options parsing:
...
remove excessive whitespace (gets inserted in property names),
avoid creating dummy properties if not needed,
turn 1/0 to true/false, convert integer strings to strings (fixes width/height).
2015-02-18 14:36:05 +02:00
Bundyo
4e82f4c672
Remove two semicolons.
2015-02-13 18:54:18 +02:00
Bundyo
7fa1296a17
Implement FakeWindow.postMessage, window.opener.postMessage and window.closed flag for popup windows.
2015-02-13 18:45:12 +02:00
Cheng Zhao
4834eed520
Set process.resourcesPath in C++
2015-02-13 13:32:58 +08:00
Cheng Zhao
0f15dd04af
Put compiled coffee sources into asar archive
2015-02-13 13:05:51 +08:00
Cheng Zhao
0b8efc434d
Use __dirname when setting globalPaths
2015-02-13 12:55:06 +08:00
Cheng Zhao
e81baf759a
Enable setting icon of menu item
2015-02-13 12:11:50 +08:00
Cheng Zhao
b28a241dbf
Simplify the code to call delegate method
2015-02-13 11:47:22 +08:00
Cheng Zhao
a8c227d5f5
Fix cpplint warnings
2015-02-12 19:50:28 +08:00
Cheng Zhao
3678f13dfb
Make NativeImage work with asar archive
2015-02-12 19:34:21 +08:00
Cheng Zhao
98a7f08be2
Move GetAsarArchivePath to asar_util.h
2015-02-12 17:31:14 +08:00
Cheng Zhao
3b3a025ed4
Move GetsOrCreateAsarArchive to asar_util.h
2015-02-12 17:23:49 +08:00
Cheng Zhao
c8738a88a4
Add nativeImage.createFromBuffer()
2015-02-12 15:19:05 +08:00
Cheng Zhao
353b485202
Add NativeImage.toDataUrl()
2015-02-12 14:32:51 +08:00
Cheng Zhao
8e94856cc8
Add nativeImage.createFromDataUrl()
2015-02-12 14:27:53 +08:00
Cheng Zhao
b9f6d6dffc
Add nativeImage.createEmpty()
2015-02-12 13:55:45 +08:00
Cheng Zhao
da407200d2
Return NativeImage in BrowserWindow.capturePage
2015-02-12 13:45:50 +08:00
Cheng Zhao
443a4b8f2f
mac: Use AsNSImage instead of ToNSImage
...
It can get rid of the empty check.
2015-02-12 12:29:49 +08:00
Cheng Zhao
509ce0d5cb
mac: Don't rely on NSImage to read file
...
It doesn't work with asar.
2015-02-12 12:24:18 +08:00
Cheng Zhao
2ca6be69e2
Fix cpplint warnings
2015-02-12 10:45:04 +08:00
Cheng Zhao
054b6a9817
Use NativeImage when converting images from V8
2015-02-12 10:45:04 +08:00
Cheng Zhao
6556602bdc
Enable creating NativeImage from file path
2015-02-12 10:45:04 +08:00
Cheng Zhao
2876f15063
Enable creating NativeImage with native-image module
2015-02-12 10:45:04 +08:00
Cheng Zhao
85f5ef2ab1
Enable creating NativeImage from PNG and JPEG
2015-02-12 10:45:04 +08:00
Cheng Zhao
53fca43d89
Add NativeImage.ToJPEG
2015-02-12 10:45:03 +08:00
Cheng Zhao
549df36f00
Add a few more methods for NativeImage
2015-02-12 10:45:03 +08:00
Cheng Zhao
aae576b484
Convert gfx::Image to NativeImage instance
2015-02-12 10:45:03 +08:00
Cheng Zhao
b76615f3e7
Add clipboard.readImage method
2015-02-12 10:45:03 +08:00
Cheng Zhao
878d25e91e
Enable converting gfx::Image to Buffer
2015-02-12 10:45:03 +08:00
Cheng Zhao
f0924df68a
Add "type" option to change window type
2015-02-11 12:19:39 +08:00
Paul Betts
86de75deef
Style fixups
2015-02-10 17:14:26 -08:00
Paul Betts
8a7acfc6c0
icon_util is Windows-only
2015-02-07 11:57:00 -08:00
Paul Betts
03a88883b6
Fix build on OS X
2015-02-07 11:56:03 -08:00
Paul Betts
f55379ed5b
Add missing trampoline method
2015-02-06 17:07:29 -08:00
Paul Betts
ef869fb2ff
We need a UTF-16 string here
2015-02-06 17:00:38 -08:00
Paul Betts
1b9649b481
Switch to gfx::Image
2015-02-06 17:00:26 -08:00
Paul Betts
fa6d499a4e
Come correct with line length and constness
2015-02-06 16:32:27 -08:00
Paul Betts
0afac1e05a
Plumb code all the way up
2015-02-06 16:12:32 -08:00
Paul Betts
66f2d18d8b
First hack at setting the window icon overlay
2015-02-06 15:58:49 -08:00
Cheng Zhao
b75bfe0e92
Bump v0.21.2
2015-02-05 13:46:09 -08:00
christoth
92ab227397
Update atom.rc
2015-02-05 14:55:32 -05:00
christoth
076535bc06
Remove MFC lib dependency
...
Replace afxres.h with windows.h to remove dependency on MFC for compilation on Windows
2015-02-05 13:09:19 -05:00
Cheng Zhao
071a55974a
A little clean up
2015-02-05 00:19:30 -08:00
Cheng Zhao
7c8bed7bfc
Get the WebViewManager from embedder WebContents
...
This make our lives easier when we have multiple BrowserContext support.
2015-02-04 15:52:59 -08:00
Cheng Zhao
209840871c
Seperate the API implementation of WebViewManager
2015-02-04 15:39:41 -08:00
Cheng Zhao
ea99037f3b
Clean up WebViewManager
2015-02-04 15:28:26 -08:00
Cheng Zhao
331d0481bb
Move web_view_manager to atom/browser
2015-02-04 15:17:28 -08:00
Cheng Zhao
2c61070b36
Avoid using global BrowserContext
2015-02-04 15:08:29 -08:00
Cheng Zhao
502c0f0df7
Remove the WebViewRendererState class
2015-02-04 14:58:03 -08:00
Cheng Zhao
aa49e4790f
Update WebViewRendererState immediately
2015-02-04 12:59:46 -08:00
Cheng Zhao
3490ce507a
Remove WebViewRendererState::IsGuest
2015-02-04 12:51:15 -08:00
Cheng Zhao
c1f3d22910
Add lock for WebViewRendererState
2015-02-04 12:50:24 -08:00
Cheng Zhao
7861eec426
linux: Fix building
2015-02-04 11:18:25 -08:00
Cheng Zhao
a02707f998
Fix cpplint warnings
2015-02-04 11:01:01 -08:00
Cheng Zhao
45e2dd2ab5
Init asar support without external .js files
2015-02-04 10:45:17 -08:00
Cheng Zhao
93a24ec672
Bump v0.21.1
2015-02-02 17:06:11 -08:00
Cheng Zhao
11cb777e35
win: Delete temp file on reboot, fix #1084
2015-02-02 17:03:52 -08:00
Cheng Zhao
27011ad0c8
win: Fix program not quitting, close #1084
2015-02-02 16:10:48 -08:00
Cheng Zhao
6e469df90e
Fix string escaping
2015-02-02 13:35:32 -08:00
Cheng Zhao
0c0a6bd939
Don't touch global fs object in graceful-fs
2015-02-02 13:35:32 -08:00
Cheng Zhao
afd6f41e08
Redirect process.binding('natives').fs to global fs object
2015-02-02 13:35:32 -08:00
Cheng Zhao
0a393eaa1c
Enable wrap arbitrary fs object
2015-02-02 13:35:32 -08:00
Cheng Zhao
23b5c1f782
Cleanup usaages of asar: protocol
2015-01-31 18:50:26 -08:00
Cheng Zhao
8b712bac8d
Remove the asar: protocol
2015-01-30 17:59:00 -08:00
Cheng Zhao
a1f26c4c93
Make file: protocol compatible with asar: protocol
2015-01-30 17:58:59 -08:00
Cheng Zhao
2ed7d58ac4
Fix loading node integration when page in webview navigates, close #1068
2015-01-29 16:49:34 -08:00
Cheng Zhao
4217b70331
Return null in window.open if failed to open new window, fixes #1067
2015-01-28 21:07:57 -08:00
Cheng Zhao
8947d54cc9
Bump v0.21.0
2015-01-27 17:33:13 -08:00
Cheng Zhao
0087f8da27
linux: Fix building for Chrome 40
2015-01-27 17:20:50 -08:00
Cheng Zhao
12998399f8
Do not warn about deprecated APIs
...
Some APIs deprecated by iojs is still in use.
2015-01-27 14:49:14 -08:00
Cheng Zhao
02c04cbf68
win: gfx::EnableHighDPISupport is dropped
2015-01-27 13:19:18 -08:00
Cheng Zhao
5523938a47
kDisableDirectWrite has been moved to ui/gfx
2015-01-27 13:19:18 -08:00
Cheng Zhao
fbe1abddf4
Upgrade libchromiumcontent to ship crypto headers
2015-01-27 13:19:18 -08:00
Cheng Zhao
86644543ed
Fix cpplint warning
2015-01-27 13:18:31 -08:00
Cheng Zhao
3dd9e4cdf8
uv_run_mode can not be used as bitmask
...
See http://git.io/9ou_MQ for more on this.
2015-01-27 13:18:31 -08:00
Cheng Zhao
9a5698807f
Update to latest URLRequestJobFactory API
2015-01-27 13:18:31 -08:00
Cheng Zhao
92142ee372
Fix the API to set opaque background
2015-01-27 13:18:31 -08:00
Cheng Zhao
715ac35672
Update to new FilesSelectedInChooser API
2015-01-27 13:18:30 -08:00
Cheng Zhao
750db6aed8
base/file_util.h has been moved to base/files/file_util.h
2015-01-27 13:18:30 -08:00
Cheng Zhao
5c78ecfe40
scoped_ptr.PassAs is removed
2015-01-27 13:18:30 -08:00
Cheng Zhao
43421aedcf
OVERRIDE macro is now removed
2015-01-27 13:18:30 -08:00
Cheng Zhao
13ed038082
Upgrade to Chrome 40.0.2214.72
2015-01-27 13:17:48 -08:00
Cheng Zhao
de151cef8e
Bump v0.20.8
2015-01-27 11:38:30 -08:00
Cheng Zhao
20431f4f2f
No need to route via ATOM_INTERNAL_MESSAGE
2015-01-27 10:47:11 -08:00
Cheng Zhao
ad16e9ea49
Check for the existence of "ipc" object
2015-01-26 18:47:23 -08:00
Cheng Zhao
a10782cdea
Don't rely on the global process object for message dispatching
2015-01-26 18:42:43 -08:00
Cheng Zhao
6c62895898
Merge pull request #1044 from atom/load-environment-later
...
Fix race condition when initializing node integration
2015-01-25 13:04:33 -08:00
Cheng Zhao
c2b109f7fc
Fix process.crash()
2015-01-23 21:55:42 -08:00
Cheng Zhao
a755edebfa
Simplify atom_bindings
2015-01-23 21:33:40 -08:00
Cheng Zhao
76fc62808c
Use FILE_PATH_LITERAL instead of AppendASCII
2015-01-23 21:12:45 -08:00
Cheng Zhao
54ab6744f1
Remove some unused virtual functions
2015-01-23 21:05:32 -08:00
Cheng Zhao
2d262d2dbd
Use node::CreateEnvironment to create environment
2015-01-23 21:02:31 -08:00
Cheng Zhao
de99c38fb6
Get rid of AtomRenderFrameObserver
2015-01-23 20:51:19 -08:00
Cheng Zhao
91320a9e55
Remove AtomRendererBindings
...
After the simplification of code this class is no longer needed.
2015-01-23 20:43:38 -08:00
Cheng Zhao
0bcc9b7713
Don't handle browser messages before document object is created
...
When we recevied messages from browser, we will try to transfer the
message to web page, and when we do that blink will create an empty
document when there is no document object yet, which will make our init
script run when window.location is still about:blank.
2015-01-23 18:33:01 -08:00
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
Cheng Zhao
c01e3cf9aa
Merge pull request #931 from atom/will-navigate
...
Add "will-navigate" event
2014-12-17 15:27:15 -08:00
Cheng Zhao
c2975d2bcc
Redirect BrowserWindow's "will-navigate" event to WebContents
2014-12-17 14:56:51 -08:00
Cheng Zhao
60df32aab5
Add "will-navigate" event for WebContents
2014-12-17 14:55:22 -08:00
Cheng Zhao
fd596d4a65
Add "will-navigate" event for BrowserWindow
2014-12-17 14:40:19 -08:00
Cheng Zhao
a8f5a4e2d4
Add sendToHost method
2014-12-17 11:09:11 -08:00
Cheng Zhao
d46300587a
Remove uses of deprecated APIs in remote module
2014-12-17 11:00:41 -08:00
Cheng Zhao
95793e410d
Redirect guest page's ipc message to embedder
2014-12-16 21:10:53 -08:00
Cheng Zhao
4fc14959a8
Allow same object to appear in one list when parsing V8 array
...
Fixes #874 .
2014-12-16 16:57:42 -08:00
Cheng Zhao
95dd73bd1d
Add maximum depth when converting V8 object to base::Value
2014-12-16 16:46:23 -08:00
Cheng Zhao
5bed184014
Merge pull request #922 from atom/dialog-thread
...
Run asynchronous file dialog in new thread on Windows
2014-12-16 14:01:05 -08:00
Cheng Zhao
4fa7e8e914
Merge pull request #919 from paulcbetts/nullref-in-webview-manager
...
Fix nullref crash in WebViewManager::RemoveGuest
2014-12-16 13:40:11 -08:00
Cheng Zhao
63e83a7ef8
win: Don't hang when failed to create thread
2014-12-16 12:33:17 -08:00
Cheng Zhao
c20e1e9d82
win: Run async save dialog in new thread
2014-12-16 12:27:26 -08:00
Cheng Zhao
253bacdf1d
win: Run async open dialog in new thread
2014-12-16 11:27:38 -08:00
Cheng Zhao
98127ba13c
linux: Fix building
2014-12-15 17:28:51 -08:00
Cheng Zhao
cb911b19dd
win: Fixes stopping FlashFrame, closes #906
2014-12-15 17:27:58 -08:00
Cheng Zhao
d50eeb04d5
Upgrade cpplint
2014-12-15 17:15:56 -08:00
Cheng Zhao
1641caf353
Fix cpplint warnings
2014-12-15 16:57:04 -08:00
Cheng Zhao
23951e6ef3
views: Implement CanMinimize, fixes #918
2014-12-15 16:46:37 -08:00
Cheng Zhao
c9a5c6515c
views: Make it possible to show a window in maximized state
...
Fixes #834 .
2014-12-15 16:38:20 -08:00
Cheng Zhao
0ab32bfe17
win: Reserve border space for maximized frameless window
...
Fixes #732 .
2014-12-15 16:01:11 -08:00
Cheng Zhao
3d30e6ddc4
win: Don't allow maximzing a unresiazble frameless window
...
Fixes #857 .
2014-12-15 12:55:16 -08:00
Paul Betts
ffdf2f7fcf
Check key via ContainsKey instead of null check
2014-12-15 11:22:14 -08:00
Paul Betts
974415f8a1
You're not my real Dad, cpplint
2014-12-15 06:23:00 -08:00
Paul Betts
3105092130
Fix nullref crash in RemoveGuest
2014-12-15 06:10:39 -08:00
Cheng Zhao
85b0885af7
Bump v0.20.0
2014-12-12 18:21:14 -08:00
Cheng Zhao
11cd301127
Only listen to its own events in <webview>, fixes #885
2014-12-12 17:16:12 -08:00
Cheng Zhao
5bd924a52d
mac: Use com.github.atom-shell as default CFBundleIdentifier
2014-12-12 15:37:13 -08:00
Cheng Zhao
e3ccb18696
win: Fix calculating window bounds on high DPI display
2014-12-12 09:04:43 -08:00
Cheng Zhao
7457f81283
mac: Fix installing view on frameless window
...
Closes #601 .
2014-12-11 14:25:51 -08:00
Cheng Zhao
0b668b8e17
Minor fixes on <webview>
2014-12-11 09:30:55 -08:00
Cheng Zhao
409f2b4d0f
win: Fix compilation errors
2014-12-10 14:17:07 -08:00
Cheng Zhao
64edede20d
Move handling of "preload" to web-view-attributes
2014-12-10 11:05:51 -08:00
Cheng Zhao
6624fd9a1b
Fix relative links in "src" of <webview>
2014-12-10 10:51:34 -08:00
Cheng Zhao
1853bef39a
views: SizeConstraintsChanged has become required
2014-12-09 16:55:01 -08:00
Cheng Zhao
22c4911b58
linux: GTK+ status icon has come back
2014-12-09 16:55:01 -08:00
Cheng Zhao
e58b3ddc86
Bump Chrome version
2014-12-09 16:37:40 -08:00
Cheng Zhao
da3a988c8c
Merge branch 'master' into chrome39
...
Conflicts:
vendor/brightray
2014-12-09 15:49:06 -08:00
Cheng Zhao
9d23cce2b6
Move "nodeintegration" and "plugins" to web-view-attributes
2014-12-09 14:51:35 -08:00
Cheng Zhao
68381e1b76
Use element instant id for GetGuestByInstanceID
2014-12-09 14:38:43 -08:00
Cheng Zhao
9fcb6b2cd1
Moved parseSrcAttribute() into the SrcAttribute object as parse()
...
Imported from:
3bc15760f9
%5E%21/
2014-12-08 21:35:10 -08:00
Cheng Zhao
cbafac774e
Various webview cleanup
...
Imported from:
848f1ed048
%5E%21/
2014-12-08 21:15:18 -08:00
Cheng Zhao
7f5fb4e6f9
Renamed "WebView" -> "WebViewImpl" in web_view.js and other files that import it
...
Imported from:
a615ea0839
%5E%21/
2014-12-08 21:10:59 -08:00
Cheng Zhao
ac51207860
Optimized the handling of webview attribute mutation
...
Imported from:
86dff6fc51
%5E%21/
2014-12-08 21:06:23 -08:00
Cheng Zhao
4348143fd9
Simplify web-view.coffee
...
Imported from:
3ef1fc1b72
%5E%21/
2014-12-08 17:15:50 -08:00
Cheng Zhao
b6b8b936f2
Automated the definitions of webview attributes as properties on the webview node
...
Imported from:
aef58f49f6
%5E%21/
2014-12-08 17:05:57 -08:00
Cheng Zhao
2c27b953b5
Got rid of the internal copies of webview attributes
...
Imported from:
abb035a09b
%5E%21/
2014-12-08 16:56:14 -08:00
Cheng Zhao
d7eae69587
Webview attributes overhaul
...
Imported from:
884a5b43cb
2014-12-08 16:14:12 -08:00
Cheng Zhao
e0f1433c12
Moved constants out of web-view.coffee and into a new file
...
Imported from:
ccbfe27c8d
2014-12-08 13:37:18 -08:00
Cheng Zhao
882a08f61a
Fix browser plugin API changes
2014-12-08 09:00:00 -08:00
Cheng Zhao
a9072049ea
Move webview code to atom/renderer/lib/web-view
2014-12-08 06:08:21 -08:00
Paul Betts
8eab230fe1
Delete OverrideChildProcessPath and OverrideFrameworkBundlePath altogether
2014-12-07 21:06:47 -08:00