Cheng Zhao
8d20dda6d7
No need to override TitleWasSet in NativeWindow
2015-12-01 17:51:09 +08:00
Cheng Zhao
1b3eb1cc5d
Delay the did-fail-provisional-load event to next tick
...
Chrome is doing some stuff after the DidFailProvisionalLoad event, if we
call LoadURL at this time crash would happen.
2015-12-01 17:00:42 +08:00
Luke Westby
df9ecefe01
fix typo in "rotation" string
2015-11-29 12:22:53 -06:00
Cheng Zhao
932cd92bf6
Fix wrong deprecation wrappers of BrowserWindow
2015-11-27 10:30:51 +08:00
Cheng Zhao
b0d4aa211d
Fix compatibility with activate-with-no-open-windows event
2015-11-26 13:57:48 +08:00
Cheng Zhao
9c62be8fc9
Improve the deprecation notice for ipc module
...
Close #3577 .
2015-11-26 11:06:56 +08:00
Cheng Zhao
360a747acf
Merge pull request #3542 from etiktin/fix_menu_item_using_deprcated_api
...
Fix menu-item using deprecated API
2015-11-23 17:11:44 +08:00
Eran Tiktin
6db6842c14
Fix menu-item using deprecated API
...
Some of the roles in menu-item use methods on BrowserWindow instead of
WebContents which outputs a deprecation warning.
I changed it to use the correct methods.
2015-11-22 01:13:57 +02:00
Eran Tiktin
18de28c3ff
Make BrowserWindow options argument optional
...
Resolves #3473
2015-11-21 06:22:19 +02:00
Cheng Zhao
08c13cf446
Deprecate app.resolveProxy
...
There is now a public API to get default session, this helper is no
longer necessary.
2015-11-19 21:32:46 +08:00
Cheng Zhao
1392873cbc
Add session.defaultSession and remove app.defaultSession
...
The latter has never been a public API, no need to keep it.
2015-11-19 21:03:42 +08:00
Cheng Zhao
47d7d49d19
Add session module
2015-11-19 20:47:11 +08:00
Cheng Zhao
9a20b33d97
Add isDestroyed method for classes with destroy method
2015-11-19 17:08:16 +08:00
Cheng Zhao
47d7f2c050
Fix cpplint warning
2015-11-18 11:45:15 +08:00
Cheng Zhao
9ca022c98a
docs: Update the certificate APIs
2015-11-18 11:35:26 +08:00
Cheng Zhao
c5bfac1969
Add session.setCertificateVerifyProc
2015-11-18 11:17:08 +08:00
Cheng Zhao
e432abfb42
Add certificate-error event
2015-11-18 10:39:25 +08:00
Cheng Zhao
341341bf28
Rename select-certificate to select-client-certificate
2015-11-18 10:10:21 +08:00
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