Brian Clifton
cf6e215a66
Properly handle borders for DPI > 100% on Windows
...
Fixes https://github.com/electron/electron/issues/4573
cc: @zcbenz, @kevinsawicki, @zeke
2017-01-13 00:18:42 -07:00
Kevin Sawicki
323edb9d53
Add read-only version to planned 2.0 API
2017-01-12 13:51:35 -08:00
Kevin Sawicki
8f63fdb278
Destroy web contents when preventing default
2017-01-12 10:28:08 -08:00
Kevin Sawicki
cfb6069b83
Bump v1.4.14
2017-01-10 11:01:39 -08:00
Kevin Sawicki
f3b03908f9
Revert "Smooth corners for vibrancy view"
2017-01-10 10:34:55 -08:00
Kevin Sawicki
5204d6ce45
Merge pull request #8354 from gerhardberger/vibrancy-corner-fix
...
Smooth corners for vibrancy view
2017-01-09 11:12:02 -08:00
Kevin Sawicki
e5aad9857d
Merge pull request #7765 from liusy182/maximize-fix
...
fix for Window hidden behind taskbar after maximize #7672
2017-01-09 09:47:39 -08:00
Kevin Sawicki
6ef1a9150c
Add OK button to alert
2017-01-09 08:30:13 -08:00
Kevin Sawicki
222734b5f5
Use correct param ordering in header file
2017-01-09 08:30:13 -08:00
Kevin Sawicki
1f08634d62
Implement alert/confirm through dialog manager
2017-01-09 08:30:13 -08:00
gellert
bfafc6d5fd
indentation fix
2017-01-06 23:54:24 +01:00
gellert
c5fe173e47
adds autorelease to nsimage
2017-01-06 14:32:34 +01:00
gellert
456ea04683
adds mask image for smooth vibrant view corners
2017-01-06 14:26:16 +01:00
Kevin Sawicki
e788b9f959
Merge pull request #8258 from deepak1556/net_header_patch
...
net: disallow cookies from cookie store
2017-01-05 16:47:44 -08:00
Phil Christensen
2c259990da
fix permissive C++ code (MSVC /permissive-)
...
These were found by the C++ compiler group when doing "Real world code"
build tests using /permissive-. We are sharing these with you to help clean up
your code before the new version of the compiler comes out. For more information on
/permissive- see https://blogs.msdn.microsoft.com/vcblog/2016/11/16/permissive-switch/ .
In paticular, see the "Do not treat copy initialization as direct initialization"
section of the blog.
2017-01-05 09:38:41 -08:00
Kevin Sawicki
fc75080c28
Merge pull request #8298 from electron/configure-throttling-on-created-callback
...
Configure background throttling on RenderViewCreated callback
2016-12-29 13:31:09 -08:00
Kevin Sawicki
6ea1bacc73
Merge pull request #8250 from gerhardberger/osr-window-size-fix
...
Always create offscreen window frameless
2016-12-29 09:10:14 -08:00
Kevin Sawicki
41afeb744a
Configure background throttling on RenderViewCreated callback
2016-12-28 15:52:47 -08:00
Kevin Sawicki
5d505f9139
Support cursive/fantasy default font families
2016-12-28 13:40:53 -08:00
Kevin Sawicki
1308f790ad
Don't load URL if web contents is destroyed
2016-12-28 13:40:06 -08:00
Kevin Sawicki
8c5f26373b
Add override
2016-12-22 09:33:21 -08:00
Kevin Sawicki
87f09131aa
Observe window and only use it when it is open
2016-12-22 09:33:21 -08:00
gellert
f81908711b
use only one if statement
2016-12-21 23:15:05 +01:00
deepak1556
f9417e3fcc
net: disallow cookies from the cookie store
2016-12-21 11:54:48 +05:30
gellert
1ef0f6beff
creates offscreen window frameless
2016-12-20 23:43:52 +01:00
Kevin Sawicki
c70eb81e32
Use firstObject instead of objectAtIndex:0
2016-12-20 13:49:35 -08:00
Kevin Sawicki
38681d0a2b
Bump v1.4.13
2016-12-20 10:37:16 -08:00
Kevin Sawicki
2a8b36c761
Merge pull request #8134 from deepak1556/empty_client_certificate_patch
...
app: select-client-certificate event callback can accept certificate optionally
2016-12-15 08:31:12 -08:00
liusi
b853671132
fix fullscreen, maximize, unmaximize
2016-12-15 14:01:03 +08:00
Kevin Sawicki
cd067bca37
Merge pull request #8175 from gerhardberger/createfrombuffer-bitmap
...
Add bitmap support to nativeImage.createFromBuffer
2016-12-14 13:24:45 -08:00
Kevin Sawicki
8680a08a8d
Add deprecated comment to scaleFactor parameter
2016-12-14 10:18:01 -08:00
Kevin Sawicki
590bde5e14
Remove unused include
2016-12-13 16:00:37 -08:00
Kevin Sawicki
7842040d9d
Add ToV8 converter for NativeWebKeyboardEvent
2016-12-13 15:54:13 -08:00
Kevin Sawicki
3237c6751a
Use DCHECK instead of assert
2016-12-13 15:54:13 -08:00
Birunthan Mohanathas
a3b65ad481
Add before-input-event event for webContents ( fixes #7586 )
...
Embedding arbitrary web content is problematic when it comes to keyboard
shortcuts because:
* Web content can steal app shortcuts (see e.g. brave/browser-laptop#4408 )
* Blocked web content (e.g. a focused <webview> performing expensive
computation) will also prevent app shortcuts from firing immediately
The new before-input-event event can be used to overcome these issues by
always handle certain keyboard events in the main process.
Note that this requires electron/brightray#261 to compile.
2016-12-13 15:54:13 -08:00
gellert
a609e52a14
moves bitmap parameters to options object
2016-12-13 21:32:17 +01:00
gellert
39875c90f1
adds bitmap support to createFromBuffer
2016-12-13 21:32:17 +01:00
Kevin Sawicki
2e1e893675
Merge pull request #8159 from seanchas116/devtools
...
Record JavaScript calls in DevTools timeline on Node/ipc callback
2016-12-12 13:50:42 -08:00
Kevin Sawicki
3796d7a6a1
Use trace event with zero args
2016-12-12 13:49:58 -08:00
Kevin Sawicki
b08bc02cde
Merge pull request #8137 from deepak1556/media_device_id_patch
...
session: reset media device id salt when cookies are cleared
2016-12-12 13:34:24 -08:00
Kevin Sawicki
f2aabeefd5
Merge pull request #8085 from deepak1556/protocol_http_session_patch
...
protocol: support custom session with interceptHttpProtocol
2016-12-12 13:07:14 -08:00
Kevin Sawicki
1d288b69e2
Merge pull request #7947 from beakerbrowser/register-standard-secure-schemes
...
Add {secure:} opt to protocol.registerStandardSchemes
2016-12-12 12:52:28 -08:00
Kevin Sawicki
cac85d2a12
Remove linter errors
2016-12-12 12:51:48 -08:00
Kevin Sawicki
381f55b3cb
Remove unneeded empty checks
2016-12-12 12:51:48 -08:00
Paul Frazee
04fa85f67f
removed unused iostream include
2016-12-12 12:51:48 -08:00
Paul Frazee
bacf6511a6
remove unneeded deprecations couts
2016-12-12 12:51:48 -08:00
Paul Frazee
a46040a4fa
log deprecation notices for webframe
2016-12-12 12:51:48 -08:00
Paul Frazee
b458201874
add deprecation notices to webframe
2016-12-12 12:51:48 -08:00
Paul Frazee
99ea50649a
finish implementation of {secure:true} opt on protocol.registerStandardScehesm, and add working test
2016-12-12 12:49:57 -08:00
Paul Frazee
9d2e23413e
add {secure:} opt to protocol.registerStandardSchemes
2016-12-12 12:49:57 -08:00
Kevin Sawicki
e77fa72d6d
Merge pull request #8167 from seanchas116/fix-modal-corner
...
🍎 Make sure no round corners for modal windows
2016-12-12 10:05:47 -08:00
Kevin Sawicki
2fa9ca1f6d
Merge pull request #8156 from sindresorhus/remove-dock-window-level
...
🍎 Document that the `dock` window level is deprecated
2016-12-12 09:39:08 -08:00
Kevin Sawicki
1a0fbf84f9
Merge pull request #8165 from geoff-addepar/geoff/fix-sandbox-printing
...
Fix printing with the sandbox enabled
2016-12-12 09:26:52 -08:00
Kevin Sawicki
de625bfb65
Bump v1.4.12
2016-12-09 21:43:27 -08:00
Kevin Sawicki
6a829e0179
Throw error when options object is invalid
2016-12-09 10:07:04 -08:00
deepak1556
7456b9ae17
net: add api to set request flags for testing
2016-12-09 09:54:30 -08:00
deepak1556
35349643af
session: api to clear auth cache
2016-12-09 09:54:30 -08:00
deepak1556
5d94221c61
fix code style
2016-12-09 09:37:46 -08:00
deepak1556
f124732431
add spec
2016-12-09 09:37:46 -08:00
deepak1556
86961d0f44
session: add api to create interrupted downloads
2016-12-09 09:37:46 -08:00
Sindre Sorhus
3dde669ee8
🍎 Remove deprecated dock
window level
...
According to the Apple docs, the `NSDockWindowLevel` constant is deprecated: https://developer.apple.com/reference/appkit/nsdockwindowlevel?language=objc
2016-12-09 12:46:49 +01:00
Ryohei Ikegami
ccdeb915fa
🍎 Make sure no round corners for modal windows
2016-12-08 12:12:53 +09:00
Geoff Lywood
5345b08d24
Fix printing with the sandbox enabled
...
Closes #7984
2016-12-07 17:40:18 -08:00
Kevin Sawicki
ea2e2def55
Bump v1.4.11
2016-12-07 08:53:58 -08:00
Ryohei Ikegami
a7a06a483e
Record JavaScript calls in DevTools timeline on Node/ipc callback
2016-12-07 20:22:13 +09:00
deepak1556
388b601503
URLRequestFetchJob should report start error
2016-12-07 16:34:28 +05:30
deepak1556
2b8b76a527
protocol: support custom session with interceptHttpProtocol
2016-12-07 16:22:34 +05:30
deepak1556
cbddbdb296
fix code style
2016-12-07 15:33:56 +05:30
deepak1556
18c0cfa6f5
app: optionally pass cert with select-client-certificate event
2016-12-07 13:26:06 +05:30
deepak1556
3de3fb53bd
session: reset media device id salt when cookies are cleared
2016-12-03 16:44:33 +05:30
Kevin Sawicki
2c8ab72269
Merge pull request #8084 from poiru/systempreferences-setuserdefault
...
Add systemPreferences.setUserDefault for macOS
2016-11-29 14:07:35 -08:00
Kevin Sawicki
3ec0e2f132
Add override to SetAutoHideCursor signature
2016-11-29 13:36:08 -08:00
Birunthan Mohanathas
486b6b9096
Add systemPreferences.setUserDefault for macOS
...
This API can be used to e.g. enable key repeat by setting
`ApplePressAndHoldEnabled` to `false` (see also #47 ).
2016-11-29 09:46:32 -08:00
Birunthan Mohanathas
18c49285a8
Add BrowserWindow.setAutoHideCursor for macOS
...
The `disableAutoHideCursor` BrowserWindow option can be used to control
auto-hiding behavior when the window is created. This new API is needed
to dynamically change the behavior after the fact.
2016-11-29 09:46:00 -08:00
Kevin Sawicki
07994f50f3
Remove include now included in parent header
2016-11-28 15:11:50 -08:00
Samuel Attard
2bf6f28152
shouldUpload --> uploadToServer
2016-11-28 15:08:28 -08:00
Samuel Attard
a7dedb3a13
Update crash_reporter.cc
2016-11-28 15:08:28 -08:00
Samuel Attard
285a36f9de
Use GetUploadsEnabled to return GetShouldUpload
2016-11-28 15:08:28 -08:00
Samuel Attard
5a1a2616aa
Fix build issues
2016-11-28 15:08:12 -08:00
Samuel Attard
0d1804b2a0
Fix issues and deprecate the old prop
2016-11-28 15:08:12 -08:00
Samuel Attard
7b8eb3e09c
Rename autoUpload to shouldUpload
2016-11-28 15:08:12 -08:00
Kevin Sawicki
774b2f99f2
Merge pull request #8038 from electron/danhp/close-file-preview
...
Add 'win.closeFilePreview()'
2016-11-28 14:47:06 -08:00
Kevin Sawicki
a7395118af
Merge pull request #7952 from the-ress/window-setappid
...
Added BrowserWindow.setAppDetails to set user model id, icon and relaunch command
2016-11-28 14:46:14 -08:00
Kevin Sawicki
fff59271af
Initialize app icon index to 0
2016-11-28 14:26:30 -08:00
Daniel Pham
d5a0dd39a1
🎁 Add 'win.closeFilePreview()'
2016-11-28 14:25:11 -08:00
Kevin Sawicki
ccabee764b
Bump v1.4.10
2016-11-28 12:50:12 -08:00
Cheng Zhao
8fd6463ab0
Merge pull request #8024 from pedro/handle-drop-mac-os-fix
...
Fix support for dragging urls in Mac
2016-11-27 14:24:35 +08:00
Kevin Sawicki
b036fdfee0
Bump v1.4.9
2016-11-23 14:36:32 -08:00
Kevin Sawicki
37b18243f4
Bump v1.4.8
2016-11-22 14:02:52 -08:00
Kevin Sawicki
e356168c9a
Merge pull request #8047 from electron/fix-incorrect-window-size
...
Fix incorrect window size after restore on Windows
2016-11-22 14:01:50 -08:00
Kevin Sawicki
d4368fabb9
Add 2.0 comment about setZoomLevelLimits
2016-11-22 08:09:14 -08:00
Kevin Sawicki
e887fb69bd
Export a setVisualZoomLevelLimits method
2016-11-22 07:53:02 -08:00
Samuel Attard
621a934160
Fix maximize --> unmaximize positioning issue
2016-11-22 16:07:05 +11:00
Samuel Attard
c65033a13b
Revert "incorrect position when restored from maximize-on-top-drag under Windows #7630 "
...
This reverts commit a2b3abbf47
.
2016-11-22 15:49:56 +11:00
Paul Betts
7445f9bdcc
Lint
2016-11-21 15:13:34 -05:00
Paul Betts
e2649ce7d8
Add new method to set layout-based zoom level limit
2016-11-21 14:59:55 -05:00
Kevin Sawicki
26137977cd
Fix crash when return value pointer is null
2016-11-21 09:22:30 -08:00
Kevin Sawicki
2fc46f638f
🎨
2016-11-21 08:45:46 -08:00
Kevin Sawicki
a991570677
intrinsicWidth -> pageWidth
2016-11-21 08:45:46 -08:00
Kevin Sawicki
b02c0e6f46
Remove unneeded proportion calculation
2016-11-21 08:45:46 -08:00
Kevin Sawicki
7916981da2
zoomToContentSize -> zoomToPageWidth
2016-11-21 08:45:46 -08:00
Kevin Sawicki
c5790e39dc
Add support for zooming to content size
2016-11-21 08:45:46 -08:00
Pedro Belo
89e8ad4947
Fix support for dragging urls in Mac
2016-11-19 21:18:24 -08:00
Tereza Tomcova
38b14fc912
Include shell.h only for Windows
2016-11-18 21:33:55 +01:00
Tereza Tomcova
ac9e0b458d
Added BrowserWindow.setAppDetails to set user model id, icon and relaunch command
2016-11-18 21:33:55 +01:00
Cheng Zhao
5639faf069
Also fix the Windows and Linux side of async openExternal
2016-11-17 12:13:07 +09:00
Cheng Zhao
090a5d9a61
platform_util code should not involve V8 code
2016-11-17 11:22:09 +09:00
Cheng Zhao
622bad1cff
Simplify getting callback
2016-11-17 10:36:16 +09:00
Gabriel Handford
5b260dbee3
Fix win/linux compile (again)
2016-11-17 10:33:24 +09:00
Gabriel Handford
f0ca9dff81
Fix win/linux compile
2016-11-17 10:33:24 +09:00
Gabriel Handford
54222bdf28
More general string for OSStatus
2016-11-17 10:33:24 +09:00
Gabriel Handford
2931c27395
More readable
2016-11-17 10:33:24 +09:00
Gabriel Handford
31123f908d
Fix ternary
2016-11-17 10:33:24 +09:00
Gabriel Handford
99a5258999
Callback uses (platform specific) error, with message
2016-11-17 10:33:24 +09:00
Gabriel Handford
5e8059e0fa
Fix method names, move to anon namespace
2016-11-17 10:33:24 +09:00
Gabriel Handford
08a9af3a85
Linting
2016-11-17 10:33:24 +09:00
Gabriel Handford (linux)
d186fd78e3
Fix header
2016-11-17 10:33:23 +09:00
Gabriel Handford
6524a33ffc
Include callback header
2016-11-17 10:33:23 +09:00
Gabriel Handford
cfd2a029ad
Fix linting
2016-11-17 10:33:23 +09:00
Gabriel Handford
9ca684d87f
Remove redundant method
2016-11-17 10:33:23 +09:00
Gabriel Handford
128feb17cb
Fix method call
2016-11-17 10:33:23 +09:00
Gabriel Handford
3eb5f8d521
Fix typo
2016-11-17 10:33:23 +09:00
Gabriel Handford
b266533dfc
Shell openExternal can take optional callback (macOS)
2016-11-17 10:33:23 +09:00
Kevin Sawicki
c4d74c48e4
Bump v1.4.7
2016-11-16 08:11:28 -08:00
Cheng Zhao
a1066617a8
Do permission check when calling guest window methods
2016-11-16 07:50:30 -08:00
Kevin Sawicki
11449b2e8c
Convert about credits to NSAttributedString
2016-11-16 07:42:24 -08:00
Greg Nolle
f767f0f048
Remove unnecessary ConvertToV8 calls.
2016-11-15 15:53:42 -08:00
Greg Nolle
5d028f9163
Expose extra certificate information: full breakdown of issuer and subject principals, as well as full structure of intermediate issuer certificates.
2016-11-15 15:53:42 -08:00
Greg Nolle
446399c3c1
Expose whole certificate chain to verify proc and certificate-error event.
2016-11-15 15:53:42 -08:00
Kevin Sawicki
301b8ec39a
Merge pull request #7962 from liusy182/disable-accelerator
...
disable accelerator when menu item is disabled
2016-11-15 11:05:36 -08:00
liusi
00d9baa605
fix linting error
2016-11-15 13:23:59 +08:00
liusi
9e91f319c1
fix linting error
2016-11-15 13:19:34 +08:00
Kevin Sawicki
dcb3a13361
Use values directly since constants are 10.11+
2016-11-14 16:43:05 -08:00
liusi
06cfcd612d
disable accelerator when menu item is disabled
2016-11-14 12:29:27 +08:00
deepak1556
61576c39be
uploadData => uploadRawData
2016-11-11 10:54:01 -08:00
deepak1556
9536ebc0ad
fix build error
2016-11-11 10:54:01 -08:00
deepak1556
a5fd6507a9
set default values in converter
2016-11-11 10:54:01 -08:00
deepak1556
ad5f944185
add spec
2016-11-11 10:53:36 -08:00
deepak1556
0410a184ce
webContents: handle POST navigation for new windows
2016-11-11 10:53:00 -08:00
Kevin Sawicki
483e007b69
🎨
2016-11-11 08:51:33 -08:00
Kevin Sawicki
2d8a61a775
autorelease NSVisualEffectView
2016-11-11 08:51:29 -08:00
gellert
5e62d28e50
adds test, adds view to AtomNSWindow and minor fixes
2016-11-11 08:49:57 -08:00
gellert
2cf30c0d63
remove method transferred to set with null
2016-11-11 08:49:57 -08:00
gellert
8ad50d1e35
adds vibrancy effect for macos
2016-11-11 08:49:57 -08:00
liusi
356d0520ae
fix linting error
2016-11-11 17:57:22 +08:00
Kevin Sawicki
7b463297c6
Merge pull request #7908 from deepak1556/about_scheme_patch
...
protocol: register about scheme handler
2016-11-09 16:13:27 -08:00
Kevin Sawicki
debdce1e66
Bump v1.4.6
2016-11-09 11:59:25 -08:00
Kevin Sawicki
709dd0bf18
Upgrade to Chrome 53.0.2785.143
2016-11-09 11:03:44 -08:00
deepak1556
a0065e62fa
add about: protocol handler
2016-11-09 13:22:58 +05:30
liusi
a69ee76705
fix review comments
2016-11-08 15:36:37 +08:00
liusi
0e9d973715
toggle thick_frame_ along with resizable change
2016-11-03 12:13:06 +08:00
Kevin Sawicki
6580088574
Bump v1.4.5
2016-11-01 08:51:10 -07:00
liusi
7880d37d73
merge changes from master
2016-11-01 10:20:47 +08:00
Cheng Zhao
92f8c105d9
Merge pull request #7766 from liusy182/window-size-restore
...
incorrect position when restored from maximize-on-top-drag under Windows #7630
2016-10-31 11:04:35 +09:00
Cheng Zhao
dfefa00a50
Merge pull request #7577 from thomsonreuters/net_module
...
net module
2016-10-31 10:31:56 +09:00
liusy182
c657186920
address review comments
2016-10-30 09:50:22 +08:00
liusi
a2b3abbf47
incorrect position when restored from maximize-on-top-drag under Windows #7630
2016-10-27 17:42:43 +08:00
liusi
c61414e11b
fix for Window hidden behind taskbar after maximize #7672
2016-10-27 17:14:31 +08:00
ali.ibrahim
6d92457095
Fixing code review issues: refactoring emit methods using CustomEmit.
2016-10-26 11:10:15 +02:00
Cheng Zhao
e97d3c21a3
Merge pull request #7719 from electron/find-pasteboard
...
Add macOS find pasteboard support
2016-10-26 11:23:14 +09:00
Kevin Sawicki
d85c4da11b
Minor formatting tweaks
2016-10-26 09:55:34 +09:00
Kevin Sawicki
d982376fc4
filename -> displayName
2016-10-26 09:47:38 +09:00
Pierre Laurac
d26601f695
Convention naming
2016-10-26 09:07:38 +09:00
Pierre Laurac
0ec57cca32
last linter commit
2016-10-26 09:06:50 +09:00
Pierre Laurac
cf5fc3f922
more linter
2016-10-26 09:06:44 +09:00
Pierre Laurac
1f60aff73d
linter
2016-10-26 09:06:39 +09:00
Pierre Laurac
9b19e6ee38
Changing names and memory leak fix
2016-10-26 09:05:42 +09:00
Pierre Laurac
6bac17fb9a
Linter
2016-10-26 09:05:36 +09:00
Pierre Laurac
e759ce72b5
Using UTF8 String for filepath and filename
2016-10-26 09:05:27 +09:00
Pierre Laurac
b44371f4bf
filename as Optional argument
2016-10-26 09:05:01 +09:00
Pierre Laurac
18ac4178fe
Validation with linter
2016-10-26 09:04:22 +09:00
Pierre Laurac
2f7cceb11c
Removing extra line break
2016-10-26 09:03:55 +09:00
Pierre Laurac
002462ce7b
Removing unused header dependencies
2016-10-26 09:03:49 +09:00
Pierre Laurac
9673cee4d7
Using string from the std
2016-10-26 09:02:36 +09:00
Pierre Laurac
526debb5ab
Adding easy way to preview files
2016-10-26 09:02:29 +09:00
Pierre Laurac
fb444f646b
default template for PreviewFile
2016-10-26 09:02:21 +09:00
ali.ibrahim
bdb3f4d4cb
Fixing code review issues: adding some test cases for partition/session options.
2016-10-25 16:19:26 +02:00
ali.ibrahim
b44d5290e2
Fixing code review issues: adding a partition options and making the session option only takes Session objects.
2016-10-25 15:47:54 +02:00
ali.ibrahim
6d7f179a9b
Fixing code review issues: making delegate_ a raw pointer.
2016-10-25 15:02:35 +02:00
ali.ibrahim
61278f9ace
Fixing code review issues.
2016-10-25 12:41:01 +02:00
Kevin Sawicki
1c3b5835f4
Add spec for read/write find text
2016-10-25 14:15:54 +09:00
Kevin Sawicki
144a61c5a3
Add find text support to clipboard
2016-10-25 14:15:54 +09:00
Cheng Zhao
775328d5d5
Merge pull request #7707 from electron/focus-window-on-menu-bar-click
...
Focus window on menu bar click
2016-10-25 09:09:45 +09:00
Kevin Sawicki
31b4f61815
Merge pull request #7651 from deepak1556/session_cert_verifier_patch
...
session: exclude hosts from CT verification if they are handled by custom cert verifiers
2016-10-24 16:53:04 +09:00
Kevin Sawicki
0841c4291a
Remove RegisterURLSchemeAsPrivileged lint error
2016-10-24 16:27:54 +09:00
Cheng Zhao
ad48aeeea4
Merge pull request #7665 from beakerbrowser/privilegedschemeopts
...
Add options to webFrame.registerURLSchemeAsPrivileged
2016-10-24 15:56:18 +09:00
Cheng Zhao
88ac376382
Merge pull request #7628 from deepak1556/geo_request_context_patch
...
browser: fix race in creation of default browser context by AtomAccessTokenStore
2016-10-24 14:57:37 +09:00
Kevin Sawicki
98387e50cc
Focus window on menu bar click
2016-10-24 11:49:51 +09:00
ali.ibrahim
7f8b180f70
Fixing authentication cancel with null/undefined credentials.
2016-10-20 11:43:26 +02:00
Zeke Sikelianos
147addbce1
Bump v1.4.4
2016-10-20 09:17:29 +09:00
Paul Frazee
a5c62bb264
add options to webFrame.registerURLSchemeAsPrivileged
2016-10-18 15:52:41 -05:00
Jacob Groundwater
9c9ba80978
Fire a11y event on touch screens using screen readers
2016-10-18 13:28:32 +09:00
ali.ibrahim
c198828e58
Adding gc tests: fixing a memory leak with C++ URLRequest objects.
2016-10-17 19:02:25 +02:00
Cheng Zhao
ce847fc3ca
Merge pull request #7578 from electron/windows-logging
...
Show console output from Windows when ELECTRON_RUN_AS_NODE is set
2016-10-17 20:22:39 +08:00
deepak1556
5cbbd6efe6
session: exclude hosts from CT verification if they are handled by custom cert verifiers
2016-10-17 16:35:28 +05:30
deepak1556
bd34db256b
browser: fix race in creation of default browser context by AtomAccessTokenStore
2016-10-15 01:00:54 +05:30
Paul Betts
6fdf40b038
Code Cleanup
2016-10-14 12:17:32 -07:00
ali.ibrahim
ac9e6eda95
Fixing a crash with pending URLRequests on shutdown.
2016-10-14 17:37:39 +02:00
ali.ibrahim
c0c9e3ac3d
Formatting C++ code using ClangFormat.
2016-10-14 11:51:45 +02:00
ali.ibrahim
4347ce4a53
Formatting C++ code using ClangFormat.
2016-10-14 11:50:47 +02:00
ali.ibrahim
9cc8bfae1c
fixing space formatting issues.
2016-10-14 10:58:16 +02:00
Paul Betts
0df21afcdf
Check harder before enabling Accessibility support
2016-10-13 11:46:55 -07:00
ali.ibrahim
de29f2dde5
Fixing build: removing constness on net::HttpResponseHeaders as otherwise we would need a change in libchromiumcontent.
2016-10-13 17:51:19 +02:00
ali.ibrahim
6f5b0a28c5
Fixing code review issues: function call formatting, renaming JS member variables, refactoring response headers conversion.
2016-10-13 17:14:23 +02:00
Kevin Sawicki
a8382d6794
Moving atom_bindings include to Windows block
2016-10-12 13:48:49 -07:00
Kevin Sawicki
b01fd9715b
Only expose process.log on Windows
2016-10-12 13:48:48 -07:00
Kevin Sawicki
0740b2f66b
Reuse Log method
2016-10-12 13:48:48 -07:00
Kevin Sawicki
d686916fe2
Expose process.log when running as node
2016-10-12 13:48:48 -07:00
Kevin Sawicki
fcfc13c1ea
Merge pull request #7579 from electron/tweak-about-panel-key-names
...
Use lower-case about panel option keys
2016-10-12 11:32:01 -07:00
Kevin Sawicki
1e4ef195bb
Use lower-case about panel option keys
2016-10-12 11:18:21 -07:00
ali.ibrahim
b290415bbd
Fixing build on Mac OS
2016-10-12 19:41:13 +02:00
ali.ibrahim
16069cd477
Commenting some test code.
2016-10-12 17:13:06 +02:00
ali.ibrahim
ae1c33b863
fixing linter issues.
2016-10-12 14:54:32 +02:00
ali.ibrahim
b731ca50bc
Adding HTTP request headers manipulation tests.
2016-10-12 14:54:30 +02:00
Ali Ibrahim
046f48db51
Fixing build on Linux
2016-10-12 14:54:28 +02:00
ali.ibrahim
42bae9d71d
Making the HTTP response a full-fledged Readable stream.
2016-10-12 14:54:27 +02:00
ali.ibrahim
8c5751e9f7
Adding systematic checks on the atom_request_ pointer as it may be reset to null.
2016-10-12 14:54:26 +02:00
ali.ibrahim
a655cca0a1
Request/Response state simplification. Removing redundant state flags.
2016-10-12 14:54:25 +02:00
ali.ibrahim
e472d11761
Caching response headers so that AtomURLRequest can be freed after the close event.
2016-10-12 14:54:25 +02:00
ali.ibrahim
ec1fc5a17b
Implementing error, close, finish, abort events management.
2016-10-12 14:54:24 +02:00
ali.ibrahim
bde30b90e8
Adding some implementation comments. Enforcing Chromium coding conventions.
2016-10-12 14:54:23 +02:00
ali.ibrahim
0588435882
Fixing cpplint issues.
2016-10-12 14:54:22 +02:00
ali.ibrahim
08947682b0
Implementing abort workflow, emitting error events.
2016-10-12 14:54:21 +02:00
ali.ibrahim
cbbc4376ca
Adding support for upload chunked encoding.
2016-10-12 14:54:20 +02:00
ali.ibrahim
9498a5738a
Refactoring net module, adding a ClientRequest and IncomingMessage classes.
2016-10-12 14:54:20 +02:00
ali.ibrahim
fcaf9cb031
Some code cleaning.
2016-10-12 14:54:19 +02:00
ali.ibrahim
f7525d7877
Adding support for POST requests.
2016-10-12 14:54:18 +02:00
ali.ibrahim
2b3b41d5f9
Implementing authentication callback.
2016-10-12 14:54:18 +02:00
ali.ibrahim
2d9d4af98d
Implementing URLRequest API, getting response body.
2016-10-12 14:54:17 +02:00
ali.ibrahim
81eab9887b
Adding URLResponse to emit response events, implementing status code.
2016-10-12 14:54:16 +02:00
ali.ibrahim
7521aeea09
Implement URLRequest::Delegate, handle thread sync.
2016-10-12 14:54:15 +02:00
ali.ibrahim
e8d4abe78f
Adding net module and URLRequest class.
2016-10-12 14:54:15 +02:00
Kevin Sawicki
ce694760bc
Remove const since SkColor is an int
2016-10-11 13:15:27 -07:00
Kevin Sawicki
c8189046fe
Emit color-changed event on Windows
2016-10-11 13:15:27 -07:00
Kevin Sawicki
1978b39337
Remove duplicate colors
2016-10-11 13:15:27 -07:00
Kevin Sawicki
663f8f4b54
Add systemPreferences.getColor on Windows
2016-10-11 13:15:26 -07:00
Kevin Sawicki
9b0a32f62c
Add ToRGBHex color helper
2016-10-11 13:15:26 -07:00
Cheng Zhao
4ae190dab9
Merge pull request #7549 from electron/about-panel-options
...
Support setting about panel options
2016-10-11 20:18:23 +09:00
Cheng Zhao
0baa60caab
Merge pull request #7528 from electron/key-and-code-on-sent-input-events
...
Set key and code on sendInputEvent keyboard events
2016-10-11 19:34:05 +09:00
Kevin Sawicki
7de6a06acf
Support setting about panel options
2016-10-10 13:30:58 -07:00
Kevin Sawicki
38281f3364
Implement SysColorChangeListener directly on Windows
2016-10-10 10:43:09 -07:00
Kevin Sawicki
25bcc2dd0d
🎨
2016-10-10 10:43:09 -07:00
Kevin Sawicki
af27c62b07
Doc inverted-color-scheme-changed event
2016-10-10 10:43:08 -07:00
Kevin Sawicki
8b16b82ce9
Add inverted-color-scheme-changed event
2016-10-10 10:43:08 -07:00
Kevin Sawicki
7b49d94e9f
Add systemPreferences.isInvertedColorScheme API
2016-10-10 10:43:08 -07:00
Kevin Sawicki
e4b0577cb0
Assert key and code in keyup input event spec
2016-10-10 09:35:44 -07:00
Kevin Sawicki
6fac14ad3f
Set key and code on keyboard events
2016-10-10 09:35:43 -07:00
Cheng Zhao
91591f37e6
Merge pull request #7500 from electron/store-crashes-in-configured-temp-dir
...
Store crash reports in configured temp dir
2016-10-10 10:19:02 +09:00
Kevin Sawicki
c37740273f
Add linux guard for SetGlobalAppName call
2016-10-07 13:44:54 -07:00
deepak1556
12fb9f1f18
media: set the application name for audio streams shown in external apps
2016-10-07 16:15:30 +05:30
Kevin Sawicki
d39182b41a
Pass crashes directory instead of product name and temp dir
2016-10-06 10:55:11 -07:00
Kevin Sawicki
f61ace74bb
Sort includes
2016-10-06 09:50:06 -07:00
Kevin Sawicki
30c6ca6751
Only call UTF8ToUTF16 on Windows
2016-10-06 09:14:16 -07:00
Kevin Sawicki
84b7bb29f0
Fix Windows compiler errors
2016-10-06 09:02:03 -07:00
Kevin Sawicki
9d1d1f21e9
Use FilePath for crash reporter temp directory
2016-10-06 09:02:03 -07:00
Kevin Sawicki
883c4b63d0
temp_path -> temp_dir
2016-10-06 09:02:02 -07:00
Kevin Sawicki
0380d3ae50
Pass crashes directory to crash service process
2016-10-06 09:02:02 -07:00
Kevin Sawicki
76abb2e18d
Add missing temp_dir arg to override
2016-10-06 09:02:02 -07:00
Kevin Sawicki
a0db484510
Use app.getPath directly for temp path
2016-10-06 09:02:02 -07:00
Kevin Sawicki
69a7025c96
Fix Linux compiler errors
2016-10-06 09:02:01 -07:00
Kevin Sawicki
81733a523e
DRY up temp directory logging
2016-10-06 09:02:01 -07:00
Kevin Sawicki
ac0658bbf1
Use PathService for temp dir path for crashes
2016-10-06 09:02:01 -07:00
Cheng Zhao
79a5de3fd8
Bump v1.4.3
2016-10-06 17:12:07 +09:00
Kevin Sawicki
abffd98e29
Resize images with preserve aspect ratio
2016-10-05 11:02:58 -07:00
Kevin Sawicki
56f9cc683a
bounds -> rect
2016-10-05 11:02:57 -07:00
Kevin Sawicki
2b4fff70d5
Add initial crop method
2016-10-05 11:02:57 -07:00
Kevin Sawicki
042684fb38
Add resize method to native image
2016-10-05 11:02:56 -07:00
Michael Vasseur
c811188e22
Updated required code to handle missing additional features for popup windows
2016-10-04 14:38:32 +09:00
Kevin Sawicki
9cae04edde
Remove unused ButtonListener
2016-10-03 10:26:18 -07:00
Kevin Sawicki
11684c2c73
Focus submenu buttons when clicked
2016-10-03 10:13:41 -07:00
Cheng Zhao
98333049ec
Merge pull request #7452 from enlight/node-buffer-safe-free
...
Prevent undefined behavior when some Node Buffer objects are destroyed
2016-10-03 21:57:37 +09:00
Cheng Zhao
ec34bfde26
Merge pull request #7432 from electron/check-if-window-closed
...
Ignore already closed windows
2016-10-03 21:21:35 +09:00
Cheng Zhao
772c456513
Merge pull request #7335 from miniak/set-default-error-mode
...
Add process.setDefaultErrorMode()
2016-10-03 20:53:42 +09:00
Cheng Zhao
4d8c1c61a5
Revert "Fix for issues seen on frameless window (Windows) when at 200% resolution"
2016-10-03 20:41:52 +09:00
Cheng Zhao
bee3abe334
Merge pull request #7416 from bsclifton/fix-windows-draggable-high-dpi
...
Fix for issues seen on frameless window (Windows) when at 200% resolution
2016-10-03 18:34:18 +09:00
Vadim Macagon
7c5d3296e7
Prevent undefined behavior when some Node Buffer objects are destroyed
...
If node::Buffer::New() is used to wrap an existing chunk of memory
without providing a custom callback to release that memory then Node
will just use `free()`. In a couple of places Node buffer objects were
constructed from chunks of memory that were allocated with `new[]`, but
a custom callback to release that memory was omitted, this resulted in
undefined behavior when those buffers were destroyed because `free()`
was used to release memory allocated with `new[]`.
To avoid undefined behavior the aforementioned buffer objects are now
constructed with a custom callback that safely releases the underlying
chunk of memory.
2016-10-03 10:26:26 +07:00
Kevin Sawicki
140651c258
Ignore already closed windows
2016-09-30 15:04:13 -07:00
Kevin Sawicki
1807458c66
Only begin sheet when no sheet parent
2016-09-30 10:43:43 -07:00
Cheng Zhao
5a56de501a
Bump v1.4.2
2016-09-30 17:39:27 +08:00
Cheng Zhao
11d16a7342
Merge pull request #7415 from electron/disable-tab-menu-on-sierra
...
Hide Show Tab Bar menu item on macOS Sierra
2016-09-30 17:23:54 +08:00
Cheng Zhao
1b5db42ec6
Merge pull request #7398 from electron/cookie-changed-event
...
Add cookie changed event
2016-09-30 17:10:44 +08:00
Milan Burda
5bfa898a02
Always drop SEM_NOGPFAULTERRORBOX flag from error mode (enables WER if crashReporter is not started)
2016-09-29 13:57:41 -07:00
Kevin Sawicki
770a3509cf
Add forward declaration of NSWindow.allowsAutomaticWindowTabbing
2016-09-29 10:54:59 -07:00
Brian Clifton
52340b43f5
Possible fix for issues seen on frameless window (Windows) when at 200%
2016-09-29 10:48:36 -07:00
deepak1556
1323542373
browser: allow filesystem access for devtools scheme
2016-09-29 22:54:39 +05:30
Kevin Sawicki
24b9313958
Disable Show Tab Bar menu item on macOS Sierrra
2016-09-29 10:18:15 -07:00
Kevin Sawicki
8abe8fe01d
Remove unneeded locker and handle scope
2016-09-29 09:16:35 -07:00
Kevin Sawicki
77b35ba7ab
Use separate session for cookies change event test
2016-09-29 09:16:35 -07:00
Kevin Sawicki
19c7ee0932
Use scoped_refptr for cookie delegate
2016-09-29 09:16:35 -07:00
Kevin Sawicki
24bcf6ac16
Add initial cookie changed event support
2016-09-29 09:16:29 -07:00
Kevin Sawicki
b3b9994ce8
Configure ink drops on menu bar buttons ( #7397 )
...
* Add ink drop to menu bar buttons
* Pass background color to submenu button
* Sort includes
2016-09-29 09:15:12 -07:00
Cheng Zhao
c51982a231
Merge pull request #7362 from bsclifton/fix-windows-draggable-high-dpi
...
Fixes mouse coordinates for Windows when display is set to a higher DPI
2016-09-28 19:42:17 +08:00
Cheng Zhao
de76bf5f63
Merge pull request #7296 from adammeyer/custom-window-level
...
Allow custom window level when sending window to top
2016-09-28 19:18:12 +08:00
Brian Clifton
13de65d310
Fixes mouse coordinates for Windows when display is set to a higher DPI (ex: enlarged by 150% using display settings)
2016-09-27 08:23:48 -07:00
Cheng Zhao
458c4dd129
Merge branch 'support-chromium-sandbox' of https://github.com/tarruda/electron into tarruda-support-chromium-sandbox
2016-09-27 20:02:23 +08:00
Cheng Zhao
604700187d
Merge pull request #7327 from MaxWhere/osr-fixes
...
Small fixes for offscreen rendering
2016-09-27 19:17:10 +08:00
Cheng Zhao
4c8d0ab804
Merge pull request #7298 from deepak1556/content_settings_patch
...
protocol: disable storage for non standard custom schemes
2016-09-27 18:52:36 +08:00
Thiago de Arruda
a64978b812
Use the routing id on api::WebContents::GetID
...
The sandbox option allows multiple webContents in one renderer process, so using
the only the renderer id to identify WebContents instances is no longer an
option.
WebContents::GetID now returns a 64-bit integer, which is composed of both the
process id(high 32), and the RenderViewHost routing id(low 32). Also add a
`GetProcessID` that retrieves the renderer process id, a requirement in some of
our javascript code.
2016-09-27 06:01:47 -03:00
Thiago de Arruda
524bab530a
Improve AtomSandboxedRendererClient to support preload scripts.
...
Add RenderFrameObserver/RenderViewObserver subclasses that implement the
necessary support for preload scripts in sandboxed renderers.
2016-09-27 06:01:47 -03:00
Thiago de Arruda
6afe8aa7f2
Move EmitIPCEvent into AtomRenderViewObserver.
...
Refactor this function as a method so it is possible to inherit most behavior
from AtomRenderViewObserver and override EmitIPCEvent.
2016-09-27 06:01:46 -03:00