Cheng Zhao
11ba1832d1
Only transparent window does not have background color
2016-04-14 19:35:31 +09:00
Cheng Zhao
ae0d007c5e
Do no load PDF library from DLL
...
We already have them compiled in.
2016-04-14 17:15:20 +09:00
Cheng Zhao
31eb793fb0
Avoid adding a new option to webPreferences
2016-04-14 10:50:07 +09:00
Cheng Zhao
43c44da50b
Correctly set initial visibilityState
2016-04-13 23:07:28 +09:00
Cheng Zhao
92882c358a
No more need to delay did-fail-load event
2016-04-13 19:33:59 +09:00
Cheng Zhao
3780d9f033
Use LowMemoryNotification for GC
2016-04-13 17:58:36 +09:00
Cheng Zhao
99a9aa085e
views: Delay the focus/blur event to next tick
2016-04-13 11:02:34 +09:00
Cheng Zhao
2fbe06a2a5
Handle the Page.reload command coming from devtools
2016-04-12 16:36:12 +09:00
Cheng Zhao
17446f4284
Make sure every page will get a script context created
2016-04-12 15:11:10 +09:00
Cheng Zhao
a07612c1ed
Merge branch '5074-did-get-response-details-resource-type' of https://github.com/Mr0grog/electron into Mr0grog-5074-did-get-response-details-resource-type
2016-04-11 21:05:40 +09:00
Cheng Zhao
5659ee5c0b
Merge pull request #5030 from deepak1556/webrequest_response_headers_patch
...
session: webRequest.OnHeadersReceived should accept status line.
2016-04-11 20:04:32 +09:00
Cheng Zhao
107d759ea2
Merge pull request #5072 from sneakypete81/master
...
Don't wait for xdg-open to exit when OpenExternal is called (Linux)
2016-04-11 19:27:53 +09:00
Rob Brackett
1a842bf9d5
Fix trailing whitespace caught by linter.
2016-04-08 13:15:40 -07:00
Rob Brackett
c1b1348735
Add resourceType
arg to webContents did-get-response-details
event.
...
Fixes #5074 and follows @zcbenz's recommendation to expose ResourceTypeToString from atom_network_delegate publicly.
Also adds testing for other arguments to the `did-get-response-details` events, since there were no existing tests for them.
2016-04-08 11:19:36 -07:00
deepak1556
3fb39ad3ef
provide option to override status line
2016-04-08 14:03:57 +05:30
Pete Burgers
00ff209fe7
Ensure process is cleaned up, to avoid leaks
2016-04-08 08:35:35 +01:00
Pete Burgers
46365f4076
wait_for_exit param should be const
2016-04-08 08:32:45 +01:00
Cheng Zhao
d156846036
Add backgroundThrottling option to webPreferences
2016-04-08 15:54:33 +09:00
deepak1556
4fc35a4587
session: webRequest.OnHeadersReceived should follow server redirect
...
Its required to follow server redirects.
2016-04-08 11:40:43 +05:30
Pete Burgers
79ba8feaf8
Don't wait for xdg-open to exit when OpenExternal is called (Linux)
...
Some browsers (eg. Firefox) may not return until the browser window is
closed. This causes the Electron application to lock up while the browser
window is open.
See https://github.com/atom/atom/issues/6320
2016-04-07 17:04:15 +01:00
Cheng Zhao
82856eb099
Merge pull request #5029 from Mr0grog/5013-add-main-frame-param-for-did-fail-load
...
Add `isMainFrame` param to WebContents `did-fail-load` event
2016-04-07 20:22:02 +09:00
Cheng Zhao
7d3f8cb222
Merge pull request #5009 from deepak1556/context_creation_patch
...
browser: create cert verifier when browser context is created
2016-04-07 16:18:55 +09:00
Cheng Zhao
efb0fc2ea5
Merge pull request #4968 from phamdaniel/exit-events
...
Don't emit 'will-quit' when 'app.exit()' is called.
2016-04-07 16:14:35 +09:00
Cheng Zhao
adb112e970
Merge pull request #5056 from electron/fix-a11y-reader
...
Fix NVDA/JAWS support in Electron
2016-04-07 16:11:05 +09:00
Cheng Zhao
548febfa4c
Fix style issues
2016-04-07 15:23:16 +09:00
Ben Gotow
e0ee60f290
Fix memory leak
2016-04-07 15:21:07 +09:00
Ben Gotow
91457fe739
Support images larger than self.bounds
2016-04-07 15:21:07 +09:00
Ben Gotow
f9644463a9
Fix broken template image support in Tray icon
...
Between Electron `0.30.x` and `0.37.x`, the tray icon stopped automatically inverting template images when highlighted. NSImageView normally uses the correct color for template images magicaly, but I think the addition of event handlers in the container view prevents the image view from determining highlight state.
This PR switches to drawing the image manually. The `drawRect` function decides whether to use `image` or `alternateImage`(pressed image) and then if that image is marked as a template, it fills it with the same color used for the text before drawing it.
2016-04-07 15:21:07 +09:00
Cheng Zhao
55b8e9aa44
Bump v0.37.5
2016-04-07 10:34:25 +09:00
Paul Betts
6e7aa6d299
Even though this call is probably fast, it can potentially happen a lot, make it _really_ fast
2016-04-06 10:44:39 -07:00
Paul Betts
c474ad0913
Revert "Remove custom WM_GETOBJECT"
...
This reverts commit 705001a50e
.
2016-04-06 10:16:41 -07:00
Rob Brackett
f12f87d6f0
Add isMainFrame
as last argument to WebContents did-fail-load
event.
...
Fixes #5013 .
2016-04-04 19:26:06 -07:00
Kevin Sawicki
fc84c952f2
Update source code for new org
2016-04-04 12:07:22 -07:00
Cheng Zhao
fdb138f79c
Bump v0.37.4
2016-04-03 18:31:23 +09:00
Cheng Zhao
39a20ea4fb
Upgrade Node to v5.10.0
2016-04-03 15:05:47 +09:00
deepak1556
769ba02b2a
browser: create cert verifier when browser context is created
2016-04-03 10:01:47 +05:30
Cheng Zhao
491bf30a15
Window with frame should have white background by default
2016-04-03 12:04:58 +09:00
Cheng Zhao
f94661547c
mac: backgroundColor should not change titlebar color
2016-04-03 11:59:21 +09:00
Cheng Zhao
9828875ebc
Set the background color of RenderViewHost to transparent
2016-04-03 10:42:49 +09:00
Cheng Zhao
8c3ff97ba4
Make the logic of ParseHexColor more easy to understand
...
This also fixes the #FFFF style of color hex.
2016-04-03 10:42:49 +09:00
Cheng Zhao
1980d85f3e
Fix converting SkColor to NSColor
...
Close #4992 .
2016-04-02 21:18:15 +09:00
Cheng Zhao
cb470cb94b
Use BrowserWindow's backgroundColor as renderer view's background color
2016-04-02 20:46:50 +09:00
Kevin Sawicki
ee9128268e
Rename atom.icns to electron.icns
2016-04-01 16:12:12 -07:00
Kevin Sawicki
ce95747a25
atom.asar -> electron.asar
2016-04-01 16:12:12 -07:00
Cheng Zhao
576b54320a
Fix compilation errors on Windows
2016-04-01 16:34:20 +09:00
deepak1556
e14c91771b
removed redundant delegation
2016-04-01 08:14:29 +05:30
deepak1556
e0fe478ae7
decide early on render initiated window creations
2016-04-01 08:14:29 +05:30
Robo
7016fbe258
browser: fix disposition value for new-window event
2016-04-01 08:14:29 +05:30
Kevin Sawicki
daa09ea9e7
Remove path for nodeIntgration value of 'disable'
2016-03-31 08:33:38 -07:00
Daniel Pham
6e46753499
Don't emit 'will-quit' when 'app.exit()' is called. Fixes #4643
2016-03-31 10:18:18 -04:00