Cheng Zhao
9a0dc3bfd7
Add Delegate for AtomBrowserClient
2015-11-18 10:07:03 +08:00
Cheng Zhao
961ee5a4d9
Rename verify-certificate to untrusted-certificate
2015-11-17 21:41:36 +08:00
Cheng Zhao
ebe66daa56
Emit verify-certificate only when default verifier fails
2015-11-17 21:36:36 +08:00
Cheng Zhao
e3517b701e
Create a new CertVerifierRequest for each request
...
It greatly simplifies the code.
2015-11-17 19:44:55 +08:00
Cheng Zhao
37f355724a
Move AtomCertVerifier to atom/browser/net
2015-11-17 19:03:09 +08:00
Cheng Zhao
217311ef21
No need to use weak reference
...
Ref-counting manages everything.
2015-11-17 19:00:33 +08:00
Cheng Zhao
24f573eceb
Merge pull request #3344 from deepak1556/certificate_verifier_api_patch
...
session: api to allow handling certificate verification
2015-11-17 18:53:35 +08:00
Robo
92c3ee8e16
use delegate to notify verification requests
2015-11-16 20:45:49 +05:30
Cheng Zhao
1d800d5e26
Merge pull request #3432 from deepak1556/navigation_patch
...
browser: fix reloadignoringcache api
2015-11-16 20:55:16 +08:00
Heilig Benedek
9f9436d6dc
Moved scope creation before the allocation of the buffer in FrameSubscriber
2015-11-14 23:59:38 +01:00
Robo
2a7f874373
browser: fix reloadignoringcache api
2015-11-14 02:25:23 +05:30
Cheng Zhao
099278855c
Simplify how remote.require('electron') is optimized
2015-11-13 21:54:56 +08:00
Cheng Zhao
e76a7f7b7d
Fix typo, tray => Tray
2015-11-13 21:52:05 +08:00
Cheng Zhao
e8ffd24e4e
Rename the "clicked" event to "click" in Tray
2015-11-13 16:41:33 +08:00
Cheng Zhao
fbb8e61958
Replace "Url" in API names with "URL"
2015-11-13 16:03:40 +08:00
Cheng Zhao
860c46b3c1
Separate options from switches
...
On Windows the case sensitivity of command line switches are ignored, so
--nodeIntegraion will become --nodeintegration.
We should separate options from switches so we use "nodeIntegraion" in
options, while passing "--node-integration" in command line.
2015-11-13 14:05:49 +08:00
Cheng Zhao
d3caea91b0
Add paths from chrome_paths
2015-11-13 13:05:16 +08:00
Cheng Zhao
996a3c2a35
Merge branch 'content_tracing_patch' of https://github.com/deepak1556/atom-shell into deepak1556-content_tracing_patch
2015-11-13 12:29:18 +08:00
Cheng Zhao
f2439cefd0
linux: Don't throw error when using autoUpdater
...
Fix #3194 .
2015-11-13 10:58:10 +08:00
Robo
bfaa50a79e
retrieve download directory using on linux
2015-11-13 07:44:05 +05:30
Cheng Zhao
852500e5fa
Fix a few places using old style require
2015-11-13 09:38:22 +08:00
Robo
37e6e6fab7
emit verify-certificate event for handling verification
2015-11-13 06:44:49 +05:30
Robo
d072e61282
session: api to allow handling certificate verification
2015-11-13 01:27:30 +05:30
Cheng Zhao
edd807d227
Fix a typo
2015-11-12 22:56:18 +08:00
Cheng Zhao
8b2942c279
Optimize remote.require('electron')
2015-11-12 20:30:40 +08:00
Cheng Zhao
1d1f911b09
Use require('electron') in Electron's code
2015-11-12 20:29:30 +08:00
Cheng Zhao
c2c09daa23
Add "electron" module
2015-11-12 16:40:27 +08:00
Cheng Zhao
0a5b234e3d
Merge pull request #3354 from nishanths/master
...
Add drag-entered and drag-exited events to Tray
2015-11-11 22:44:05 +08:00
Cheng Zhao
ba457681b2
Avoid storing unrelated things in WebContentsPreferences
2015-11-11 10:37:34 +08:00
Cheng Zhao
960d325a58
Be compatible with old BrowserWindow options
2015-11-11 10:37:34 +08:00
Cheng Zhao
d37aa8bed9
Reorder switches
2015-11-11 10:37:34 +08:00
Nishanth Shanmugham
d1e8e71e3f
Tray: Add drag-end and drop events
2015-11-10 10:02:50 -06:00
Nishanth Shanmugham
f98147ea01
Tray: Rename events to drag-enter and drag-leave
...
Previously, the names were drag-entered and drag-exited. The new names mirror the HTML Drag and Drop event names
2015-11-10 09:27:39 -06:00
Levin Rickert
08e245e3dc
Fix typo
2015-11-10 12:42:05 +01:00
Cheng Zhao
751af25f37
Use ipcMain in Electron's code
2015-11-10 16:04:34 +08:00
Cheng Zhao
844cea8f21
Deprecate ipc module for ipcMain
2015-11-10 15:41:24 +08:00
Cheng Zhao
91c4ed26fc
Print warnings for deprecated APIs
2015-11-09 21:51:30 +08:00
Cheng Zhao
863199348f
Make process.exit() quit gracefully
...
Instead of abrupting the whole program immediately, we should close all
windows and release all native resources gracefully on exit. This avoids
possible crashes.
Fix #3350 .
2015-11-06 20:25:20 +08:00
Nishanth Shanmugham
818892d474
Tray: Add drag-entered and drag-exited events
2015-11-05 18:46:49 -06:00
Cheng Zhao
d56b34de3b
Make sure all native resources get freed on exit
2015-11-04 18:21:03 +08:00
Cheng Zhao
75f49477ca
Cleanup wrapper function when app has done quitting
...
The app may still do something when quitting, we need to make sure the
wrapper function is still there at that time.
2015-11-04 16:54:36 +08:00
Cheng Zhao
441cc3e57e
Style fix
2015-11-04 16:50:19 +08:00
Cheng Zhao
9047f81835
win: Set app user model ID in one place
...
Fix #3297 .
Fix #2573 .
2015-11-03 15:09:31 +08:00
Cheng Zhao
9236adfbf5
Translate menu template directly in C++
2015-11-02 23:31:44 +08:00
Cheng Zhao
56e6b28370
Merge pull request #3288 from deepak1556/flash_context_menu_pathc
...
browser: handle flash context menu request
2015-11-02 21:20:44 +08:00
Cheng Zhao
f7c0418bd8
Ignore case for type of savePage
2015-11-02 21:19:00 +08:00
Robo
c969052f12
browser: handle flash context menu
2015-11-01 01:13:17 +05:30
Cheng Zhao
917b33dbe7
Small code cleanup
2015-10-29 10:55:08 +08:00
Cheng Zhao
bf9e6ba11e
Merge pull request #3256 from omrilitov/master
...
Use WPARAM as uint64_t and LPARAM as int64_t
2015-10-29 10:41:11 +08:00
Omri Litov
ef038257d1
Returns buffer instead of WPARAM and LPARAM
2015-10-29 03:00:44 +02:00