Thiago de Arruda
bbe21cce67
Expose more atom_bindings.cc functions to sandbox
2017-05-01 09:12:39 -03:00
Thiago de Arruda
19b6ba044b
Fix context leak in ObjectLifeMonitor.
...
The RemoteObjectFreer class is keeping the context alive even when the window is
closed. For electron applications that use sandbox, this will cause a memory
leak every time a new window is created with `window.open`.
Close #9191
2017-04-28 11:21:53 -03:00
Cheng Zhao
dd2d0b3f4f
Update to Chrome 58.0.3029.81
2017-04-27 18:57:04 +09:00
Cheng Zhao
4c47f2d15e
Update to Node v7.9.0
2017-04-27 17:20:01 +09:00
Cheng Zhao
301ed2d66c
Fix typo when updating code
2017-04-27 16:34:52 +09:00
Cheng Zhao
fb42a72ad8
Fix building on Windows
2017-04-27 16:34:52 +09:00
Cheng Zhao
b3d60bfb3a
Fix building on Linux
2017-04-27 16:34:52 +09:00
Cheng Zhao
08069e18db
Don't use gzip when uploading crash reports
2017-04-27 16:34:52 +09:00
Cheng Zhao
481b04358e
Fix blink API changes
2017-04-27 16:34:52 +09:00
Cheng Zhao
6be10ffef2
Fix more API changes due to name changes
2017-04-27 16:34:52 +09:00
Cheng Zhao
50e3bfa764
Fix API changes of base::Value
2017-04-27 16:34:52 +09:00
Cheng Zhao
fc2d62d5cb
Fix API changes of Chrome58
2017-04-27 16:34:52 +09:00
Cheng Zhao
453cb2c0b4
Upgrade to Chrome 58.0.3029.40
2017-04-27 16:34:52 +09:00
Ryohei Ikegami
1d73e84a29
Merge branch 'master' into native-window-open
2017-04-27 12:03:55 +09:00
Kevin Sawicki
a004cada7c
Merge pull request #9095 from seanchas116/better-path-resolve
...
Search for module from app path when URL is not file protocol
2017-04-20 10:49:53 -07:00
Kevin Sawicki
4a9383b50b
Bump v1.6.7
2017-04-18 09:17:16 -07:00
Ryohei Ikegami
8dff29185b
Merge branch 'master' into native-window-open
2017-04-18 21:59:22 +09:00
Birunthan Mohanathas
8b9f7e5b00
Implement initial, experimental BrowserView API
...
Right now, `<webview>` is the only way to embed additional content in a
`BrowserWindow`. Unfortunately `<webview>` suffers from a [number of
problems](https://github.com/electron/electron/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3Awebview%20 ).
To make matters worse, many of these are upstream Chromium bugs instead
of Electron-specific bugs.
For us at [Figma](https://www.figma.com ), the main issue is very slow
performance.
Despite the upstream improvements to `<webview>` through the OOPIF work, it is
probable that there will continue to be `<webview>`-specific bugs in the
future.
Therefore, this introduces a `<webview>` alternative to called `BrowserView`,
which...
- is a thin wrapper around `api::WebContents` (so bugs in `BrowserView` will
likely also be bugs in `BrowserWindow` web contents)
- is instantiated in the main process like `BrowserWindow` (and unlike
`<webview>`, which lives in the DOM of a `BrowserWindow` web contents)
- needs to be added to a `BrowserWindow` to display something on the screen
This implements the most basic API. The API is expected to evolve and change in
the near future and has consequently been marked as experimental. Please do not
use this API in production unless you are prepared to deal with breaking
changes.
In the future, we will want to change the API to support multiple
`BrowserView`s per window. We will also want to consider z-ordering
auto-resizing, and possibly even nested views.
2017-04-13 01:27:27 +03:00
Kevin Sawicki
8a324a9375
Bump v1.6.6
2017-04-07 09:01:28 -07:00
Kevin Sawicki
3e9014c371
Merge pull request #9099 from electron/certificate-trust
...
macOS: Add certificate trust API
2017-04-04 11:17:09 -07:00
joshaber
736d6afe73
As you wish linter
2017-04-04 09:23:30 -04:00
joshaber
0cab8a3322
Put CertFromData in an anon namespace
2017-04-04 09:19:23 -04:00
Ryohei Ikegami
61fa8693d2
Merge branch 'master' into native-window-open
2017-04-04 20:54:37 +09:00
Cheng Zhao
7265a0c1b4
Merge pull request #8528 from Anatzum/patch-1
...
Use kioclient for MoveItemToTrash on KDE
2017-04-04 12:15:21 +09:00
Ryohei Ikegami
4a7eec8f2d
Pass app path as command line argument
2017-04-04 09:36:01 +09:00
joshaber
370cf815d9
Get rid of intermediates
and rehydrate from issuerCert
2017-04-03 16:27:53 -04:00
joshaber
b0ef7ddf44
Use better iteration
2017-04-03 15:28:51 -04:00
Kevin Sawicki
f5a75c4e87
Merge pull request #9076 from electron/cleanup-cpp
...
Cleanup cpp codebase
2017-04-03 08:30:08 -07:00
Haojian Wu
f09e3f3835
Remove extra blank.
2017-04-01 15:09:53 +02:00
joshaber
ee7389bb6d
Rename to make VS happy
2017-03-31 22:57:56 -04:00
joshaber
bde2a597f3
Decode all the intermediates
2017-03-31 21:27:49 -04:00
joshaber
69defc5166
Encode all the intermediates
2017-03-31 21:27:33 -04:00
joshaber
302ca8669d
Slightly better conversion
2017-03-31 15:44:47 -04:00
Kevin Sawicki
a724b6555f
Bump v1.6.5
2017-03-31 12:10:09 -07:00
joshaber
141a5ad73f
Maybe this is a valid conversion?
2017-03-31 14:16:26 -04:00
Haojian Wu
8ae91682cb
Lines should be <= 80 characters.
2017-03-31 20:09:13 +02:00
joshaber
deae70de4d
Dummy out the certificate FromV8 converter
2017-03-31 13:53:31 -04:00
Kevin Sawicki
d677a436ec
🎨
2017-03-31 10:42:43 -07:00
Thiago de Arruda
f0d447cd68
Pass uploadToServer
to windows crash reporter
2017-03-31 13:46:30 -03:00
Haojian Wu
e8abee9ca9
Replace C-style casts with static_cast.
2017-03-30 23:05:47 +02:00
Haojian Wu
bb51401c4c
Use base::mac::NSToCast.
2017-03-30 22:33:09 +02:00
Haojian Wu
d425b63b0d
NULL => nullptr
2017-03-30 22:12:14 +02:00
Tony Ganch
a7565f0d57
Enable native tabs on macOS
2017-03-29 13:51:39 +02:00
Cheng Zhao
6db827cc9a
Use GetDesktopEnvironment to determien desktop env
...
Which can get a much more precise result for us.
2017-03-29 16:21:38 +09:00
Anatzum
f9dbdf4522
Updated MoveItemToTrash in platform_util_linux.cc
...
If ELECTRON_TRASH is null, first check the DESKTOP_SESSION variable and set trash accordingly. Additional desktop environments can be added easily this way with the fallback of ELECTRON_DEFAULT_TRASH.
2017-03-29 16:08:26 +09:00
Cheng Zhao
2ef1b70897
Fix crash happened in UvRunOnce
2017-03-28 17:19:14 +09:00
Ryohei Ikegami
6f9dbd4e04
Merge branch 'master' into native-window-open
2017-03-24 00:11:43 +09:00
Kevin Sawicki
46aed5ff6f
Bump v1.6.4
2017-03-22 09:16:08 -07:00
Cheng Zhao
a49af26e39
Add nodeIntegrationInWorker option
2017-03-20 12:52:46 -07:00
Cheng Zhao
e496e18f6e
Make Archive thread safe
2017-03-20 12:52:46 -07:00
Cheng Zhao
c068285ff8
AtomBindings should not use default uv loop
2017-03-20 12:52:46 -07:00
Cheng Zhao
d2f185bea5
Create new uv loop in each worker
2017-03-20 12:52:46 -07:00
Cheng Zhao
69df934710
Converter for base::Callback is not thread safe
2017-03-20 12:52:45 -07:00
Cheng Zhao
b467c3939e
Add a new type of NodeBindings
2017-03-20 12:52:45 -07:00
Ryohei Ikegami
a1f9a45276
Use native window.open implementation
2017-03-19 17:41:20 +09:00
Kevin Sawicki
f119bc0944
Remove unused args param
2017-03-17 10:35:54 -07:00
Kevin Sawicki
ab05346572
Add clipboard.readBuffer
2017-03-17 09:57:17 -07:00
Thiago de Arruda
a6e4867111
Handle Buffer deserialization in sandboxed renderers
...
In sandboxed renderers we use browserify to provide a node-like environment. The
Buffer class used by browserify is actually just a wrapper around Uint8Array,
but to deserialize Buffer correctly we must expose the class as a hidden value
and use it in V8ValueConverter.
2017-03-16 13:20:09 -03:00
deepak1556
d022d108a3
Dont intercept pdf request for subframes
...
Will not work without OOPIF support
2017-03-14 00:26:27 +05:30
deepak1556
3aba23b471
view_id=>stream_id and add some code comments.
2017-03-14 00:26:27 +05:30
deepak1556
e90fd1444f
move constants to atom_constants.h
2017-03-14 00:26:27 +05:30
deepak1556
6cb626db88
use existing ipc message generator
2017-03-14 00:26:27 +05:30
deepak1556
e767c59da2
enable pdf plugin by default
2017-03-14 00:26:27 +05:30
Thiago de Arruda
e03e37e984
Pass uploadToServer
parameter to linux crash reporter
2017-03-09 17:23:52 -03:00
Kevin Sawicki
7e039d92ec
Support adding representation from data URL
2017-03-09 09:56:42 -08:00
Kevin Sawicki
d67863aa9f
Add addRepresentation buffer support
2017-03-09 09:56:42 -08:00
Kevin Sawicki
8852b128ec
Add GetScaleFactorFromOptions helper
2017-03-07 12:27:55 -08:00
Kevin Sawicki
82a81bb26e
Support scale factor to buffer APIs
2017-03-07 12:27:55 -08:00
Kevin Sawicki
e4ead6d018
Remove hasRepresentation and just use 1x png result
2017-03-07 12:27:55 -08:00
Kevin Sawicki
c11cdf321b
Support toPNG on image without 1x representation
2017-03-07 12:27:55 -08:00
Kevin Sawicki
86babdd412
Remove unused include
2017-03-07 12:27:55 -08:00
Kevin Sawicki
0bbbeb307e
Support toDataURL without 1x representation
2017-03-07 12:27:55 -08:00
Kevin Sawicki
e0260d6f53
Bump v1.6.3
2017-03-07 09:49:39 -08:00
Cheng Zhao
24574f7299
Avoid touch an Environemnt after it gets destroyed
2017-03-02 17:19:00 +09:00
Cheng Zhao
d379b05890
async handles should be closed on exit
2017-03-02 17:19:00 +09:00
Kevin Sawicki
d009b3267a
Bump v1.6.2
2017-03-01 09:11:05 -08:00
Kevin Sawicki
92092bed41
Bump v1.6.1
2017-02-21 08:49:50 -08:00
Kevin Sawicki
3b7207da9f
Support removing extra parameters
2017-02-14 09:37:09 -08:00
Kevin Sawicki
9a434af03e
Clear crash keys in InitBreakpad
2017-02-14 09:37:09 -08:00
Kevin Sawicki
ba975d552a
Add setExtraParameter support on macOS
2017-02-14 09:37:09 -08:00
Kevin Sawicki
3e18d8baf5
Remove _ prefix on binding methods
2017-02-14 09:37:09 -08:00
deepak1556
7a0aff2bae
code cleanup
2017-02-12 01:48:24 +05:30
deepak1556
e3fe3cc490
map webframe zoom api to use HostZoomMap
2017-02-12 00:49:17 +05:30
Kevin Sawicki
852519a826
Bump v1.6.0
2017-02-06 16:42:00 -08:00
Cheng Zhao
ec650b3773
Update to Chrome 56.0.2924.87
2017-02-06 10:34:30 -08:00
Cheng Zhao
a98e69a80d
Work around the compilation error of v8_value_converter.cc
...
We should apply this patch in future:
0232f57400
%5E%21/
2017-02-06 10:34:29 -08:00
Cheng Zhao
be29ea4dad
libgtk2ui => libgtkui
2017-02-06 10:34:29 -08:00
Cheng Zhao
820c0827c0
Fix cpplint warnings
2017-02-06 10:34:29 -08:00
Cheng Zhao
8a6fd685e3
Interface of crashpad_client.StartHandler has changed
...
Refs:
7b9234c4b2
%5E%21/
2017-02-06 10:34:29 -08:00
Cheng Zhao
6d5339b74e
insertText is deprecated
2017-02-06 10:34:29 -08:00
Cheng Zhao
5e43ea227e
purgedSize and purgeableSize are removed by Chrome
2017-02-06 10:34:29 -08:00
Cheng Zhao
6d323dd6fe
web/WebInputEvent.h is moved to platform/WebInputEvent.h
2017-02-06 10:34:29 -08:00
Cheng Zhao
1a15b45736
--cipher-suite-blacklist is also removed
2017-02-06 10:34:29 -08:00
Cheng Zhao
dc9000f344
--ssl-version-fallback-min is removed by Chrome
2017-02-06 10:34:28 -08:00
Cheng Zhao
0a91779dfa
Node also defines LIKELY
2017-02-06 10:34:28 -08:00
Cheng Zhao
b83676f9e9
Update to Chrome 56
2017-02-06 10:34:28 -08:00
Kevin Sawicki
1518ff5ddf
Bump v1.5.1
2017-02-06 08:56:48 -08:00
Kevin Sawicki
604c2470bc
Merge pull request #8561 from liusy182/!-liusy182-br
...
add 'code' property in 'before-input-event''s 'input' argument
2017-02-02 10:33:20 -08:00
liusy182
2cf6a026d8
fix linting error
2017-02-02 21:16:30 +08:00
liusi
87392ff046
'before-input-event' is missing the code property #8471
2017-02-02 16:23:07 +08:00