Paul Betts
7fd1db192b
Lint harder
2015-11-30 18:12:00 -08:00
Paul Betts
549da7fd91
Linting
2015-11-30 11:10:18 -08:00
Paul Betts
7cce3987eb
Add CORS header to file jobs
2015-11-30 11:08:45 -08:00
Paul Betts
65cb1488b0
Fix CORS header code to be cleaner
2015-11-30 11:08:44 -08:00
Paul Betts
7622bb40a9
Enable all origins via CORS header for custom schemes
...
This PR disables CORS for custom schemes, which allows you to serve Font
resources from custom schemes after using registerCustomSchemeAsSecure
2015-11-30 11:08:43 -08:00
Cheng Zhao
44e24ebf7a
Delete BridgeTaskRunner when main message loop is ready
2015-11-30 22:29:01 +08:00
Luke Westby
df9ecefe01
fix typo in "rotation" string
2015-11-29 12:22:53 -06:00
Cheng Zhao
62add3abcc
Bump v0.35.2
2015-11-27 22:23:19 +08: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
6c1878d15b
mac: Clears the delegate when window is going to be closed
...
Since EL Capitan it is possible that the methods of delegate would get
called after the window has been closed.
Refs atom/atom#9584 .
2015-11-26 13:56:56 +08:00
Cheng Zhao
8ce19d8059
Merge pull request #3586 from atom/ipc-fasterer
...
Ensure calling webview.send will not block the renderer
2015-11-26 13:15:08 +08:00
Cheng Zhao
9c62be8fc9
Improve the deprecation notice for ipc module
...
Close #3577 .
2015-11-26 11:06:56 +08:00
Paul Betts
789380dfad
Ensure calling webview.send will not block the renderer
...
When the browser process is busy, calling webview.send (a method that appears
on its face to be non-blocking) will actually block, because most webview methods
are remoted to a guest view instance in the browser. Instead, define a few methods
which will instead send its call over an async IPC message.
2015-11-25 15:54:30 -08:00
Ryan Prichard
0f5a3baff4
Fix https://github.com/atom/electron/issues/3565 by adding a typeof
2015-11-24 16:49:52 -06:00
Cheng Zhao
fe88cb01fc
Merge pull request #3531 from deepak1556/fetch_job_nocontent_patch
...
protocol: handle http responses with no content
2015-11-24 15:45:07 +08:00
Cheng Zhao
e98d4c4a2e
Merge pull request #3549 from bengotow/fix-hide-others
...
Remove trailing colons from default menu roles
2015-11-23 17:44:06 +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
Cheng Zhao
634fef2508
Merge pull request #3537 from etiktin/make_BrowserWindow_options_optional
...
Make BrowserWindow options argument optional
2015-11-23 16:56:30 +08:00
Robo
167f11e797
protocol: handle http responses with no content
2015-11-23 01:07:14 +05:30
Ben Gotow
fbdef9e112
Remove trailing colons from default menu roles
...
`hideothers` and `unhide` had trailing colons which prevented them from being enabled / working in the default app. #3543
2015-11-22 09:08:35 -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
Eran Tiktin
9341b9d640
Make links to docs, point to the correct version
...
- Links to docs in the default app, pointed to the docs in the master
branch. I changed them to point to the docs that match Electron's
version.
- Added Electron's version to the header of the default app, so it will
be easier to figure out what version is currently running.
2015-11-21 02:26:59 +02:00
Cheng Zhao
29052b0498
Bump v0.35.1
2015-11-20 13:36:59 +08:00
Cheng Zhao
8e2faba8f7
Small style fix
2015-11-20 13:06:42 +08:00
Cheng Zhao
c1d6d68783
Merge pull request #3509 from bengotow/macosx-desktop-window
...
Support the "desktop" window type on Mac OS X
2015-11-20 13:02:05 +08: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
Ben Gotow
d427ae1030
Support the "desktop" window type on Mac OS X
...
Adds the desktop window type referenced in https://github.com/atom/electron/issues/2899 for compatiblity with the linux version. Note that on Mac OS X, the desktop window cannot receive input events (seems to be a limitation of being behind the desktop).
In this diff I also removed the `standardWindow` option from the docs, in favor of an additional `textured` value for window `type` on Mac OS X. The old `standardWindow` option continues to work, but seemed more confusing. If this seems like a bad idea, I can revert that change.
2015-11-19 00:39:45 -08:00
Cheng Zhao
87546bd4f8
Merge pull request #3479 from bengotow/tray-resizing
...
Fix sizing of Mac OS X tray icon after image change
2015-11-18 18:49:15 +08:00
Cheng Zhao
1ee69540b0
Merge pull request #3484 from bengotow/remote-errors
...
Improve exception messages from remote calls
2015-11-18 18:21:02 +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
Ben Gotow
1022179a1f
Improve exception messages from remote calls
...
Spent a while tracking down `Error processing argument -1`, caused by a missing param (`app.exit()` now takes an exit code.) Improve the rpc-server so that it prints the function name when possible, so it's much easier to identify which remote call is causing the error.
2015-11-17 17:36:37 -08:00
Ben Gotow
9c69416e32
Fix sizing of Mac OS X tray icon after image change
...
- Consolidate logic that applies view dimensions into a function
- Use `NSVariableStatusItemLength` instead of trying to sync status item width
- Use modern Obj-C syntax `@[], @{}` in a few places
- Recompute view bounds after updating image in `setImage:`
2015-11-17 13:43:55 -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
ea1e4160ea
Move AtomSSLConfigService to atom/browser/net
2015-11-17 19:05:38 +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