Cheng Zhao
0719650315
Leak the Node environment when context is released
2017-07-24 14:56:56 +09:00
Siyuan Liu
ae7c1ae741
#10039 add BrowserView.fromId
2017-07-24 11:32:30 +08:00
Aleš Pergl
54e03d6edd
Merge pull request #10053 from electron/debug_mode
2017-07-23 00:44:45 +02:00
Ales Pergl
8e34aad410
Fixed invalid empty vector subscript access
2017-07-22 14:45:50 +02:00
Ales Pergl
bdbf9e5d6a
Suppress assert dialog boxes when running CI tests
2017-07-22 14:45:50 +02:00
Cheng Zhao
edc2dae496
Make the status string shorter
2017-07-20 22:45:06 +09:00
Cheng Zhao
74df5f84fd
Only update dbus menu when it has been changed
...
The dbus menu implementaion of KDE would send the about-to-show signal
whenever the menu has been changed, resulting in infinite loop on our
side.
2017-07-20 20:50:14 +09:00
Cheng Zhao
52c6c7e676
Merge pull request #9819 from ferreus/dev/vladimir_fix9231
...
🐛 Fix #9231 : Don't load url when detached.
2017-07-19 11:15:30 +09:00
Kevin Sawicki
959231f766
Merge pull request #9834 from shubham2892/input-type-file-treating-packaged-app-as-directory
...
Fix treat packaged app as directory
2017-07-18 10:21:07 -07:00
Shubham
b25a1d10a2
🍎 Add treatPackageasDirectory as an option
2017-07-18 10:13:25 -07:00
Kevin Sawicki
1d9f69e742
Merge pull request #10008 from qazbnm456/fix-pdf-viewer
...
Fix a query string parsing problem happend to PDF Viewer
2017-07-18 09:10:55 -07:00
Kevin Sawicki
2bac358064
Merge pull request #10015 from electron/input-dialog-filter-titles
...
Add filter descriptions for common accept types
2017-07-18 09:10:11 -07:00
Kevin Sawicki
5b9d31d3ff
Bump v1.7.5
2017-07-17 12:45:30 -07:00
Kevin Sawicki
fdb1fddc26
Only reset preferences when conversion succeeds
2017-07-17 11:55:16 -07:00
Kevin Sawicki
06e60e5d4d
Map pending process id to webContents for frame host initiating navigation
2017-07-17 11:55:15 -07:00
Kevin Sawicki
34c5abfe43
Update web preferences when creating with existing webContents
2017-07-17 11:55:15 -07:00
Kevin Sawicki
25e1ed97b5
Use constants from content_switches.h
2017-07-17 11:55:15 -07:00
Kevin Sawicki
968759b823
Revert "Suppress assert dialog boxes when running CI tests"
...
This reverts commit 3574bcacca
.
2017-07-17 10:05:21 -07:00
Ales Pergl
3574bcacca
Suppress assert dialog boxes when running CI tests
2017-07-17 17:59:40 +02:00
Vladimir Vainer
e0518444da
Minor changes to match style, init variables
2017-07-17 16:52:02 +03:00
Cheng Zhao
a43553aa25
Merge pull request #9962 from ferreus/dev/vladimir_fix_8768
...
Fix #8768 : Show() on already open modal
2017-07-17 10:49:18 +03:00
Boik
4fb1fffe44
fix lint
2017-07-15 10:57:16 +08:00
Boik
8d6ee5aad2
add some minor fixes
2017-07-15 10:34:25 +08:00
Kevin Sawicki
5581d1d652
Merge pull request #9788 from shubham2892/Add-option-to-show-title-text-in-titlebar-in-fullscreen
...
Add alwaysShowTitleTextInFullscreen flag
2017-07-14 11:58:12 -07:00
Kevin Sawicki
c4ffb91190
🎨
2017-07-14 11:49:40 -07:00
Kevin Sawicki
9102c07ec7
always_show_title_text_in_full_screen -> fullscreen_window_title
2017-07-14 11:48:10 -07:00
Kevin Sawicki
c4956132d2
Add filter descriptions for common accept types
2017-07-14 11:04:06 -07:00
Kevin Sawicki
720755e124
Merge pull request #9745 from yuya-oc/input-allow-all-files
...
Add 'All Files (*.*)' filter for <input> file dialog
2017-07-14 10:41:11 -07:00
Kevin Sawicki
0a71a9b992
Merge pull request #9695 from shubham2892/alwaysOnTop-window-disappears-when-restored-fix
...
Fix an issue where alwaysOnTop window disappears when restore…
2017-07-14 10:09:13 -07:00
Kevin Sawicki
4935e8567f
Initialize level_ in initWithShell
2017-07-14 10:07:06 -07:00
Kevin Sawicki
48f5a66f87
Merge pull request #9983 from electron/devtools-mixed-sandbox
...
Fix devtools open in mixed sandbox
2017-07-14 09:41:56 -07:00
Boik
9a7651a93f
fix a pdf-viewer's parsing logic, and this should resolve the related issue at https://github.com/electron/electron/issues/10007
2017-07-14 12:09:14 +08:00
Birunthan Mohanathas
812b529881
Add app.disableDomainBlockingFor3DAPIs()
...
By default, Chromium disables 3D APIs (e.g. WebGL) until restart on a
per domain basis if the GPU processes crashes too frequently. This
function disables that behaviour.
2017-07-14 01:41:43 +03:00
Hari Juturu
80bd6a3e91
🎨
2017-07-11 18:36:01 -07:00
Hari Juturu
9a3b78d9fe
Fix devtools open in mixed sandbox mode
2017-07-11 18:36:00 -07:00
Vladimir Vainer
42cb3461af
🐛 Fix #9231 : Don't load url when detached.
2017-07-09 06:54:22 +03:00
Vladimir Vainer
06b5acdac0
Fix #8768 : Show() on already open modal
...
Calling show() on an already open modal causes the parent to become unusable
2017-07-09 06:49:12 +03:00
Milan Burda
d5df114bb4
🎨 Make Notification getters const methods
2017-06-30 16:54:31 +02:00
Milan Burda
a196bf97bc
🍎 Add subtitle to Notification properties
2017-06-30 16:54:28 +02:00
Ales Pergl
440b238157
Fixed build issues in debug mode
2017-06-30 12:28:01 +02:00
Kevin Sawicki
1c1cf0d1f2
Merge pull request #9857 from alexeykuzmin/add-enable-osr-flag
...
[WIP] Add enable_osr flag
2017-06-29 12:30:44 -07:00
Kevin Sawicki
4a7eb5077e
Bump v1.7.4
2017-06-28 14:37:04 -07:00
Kevin Sawicki
0f83180377
Merge pull request #9837 from electron/notification-actions
...
Notification actions
2017-06-28 12:59:10 -07:00
Kevin Sawicki
06a550b412
Autorelease tracking area
2017-06-28 12:37:31 -07:00
Kevin Sawicki
e44f655503
Merge pull request #9760 from shubham2892/Add-mouse-enter-and-mouse-exit-event-for-Tray
...
Add mouse-enter and mouse-exit events for tray
2017-06-28 12:15:32 -07:00
Kevin Sawicki
d53f07cc20
🎨
2017-06-28 12:13:12 -07:00
Kevin Sawicki
70544440f9
Add location and keyboard modifiers to tray mouse events
2017-06-28 12:10:24 -07:00
Kevin Sawicki
2406d6c279
Rename to mouse-leave for consistency with drag-leave
2017-06-28 11:40:21 -07:00
Kevin Sawicki
4958771b8a
Merge pull request #9852 from electron/webcontents-ignorekeyboardshortcuts
...
Add webContents.setIgnoreMenuShortcuts()
2017-06-28 10:35:02 -07:00
Kevin Sawicki
2cd49f3036
Merge pull request #9644 from electron/webview-sandbox
...
Enable sandbox on webview
2017-06-28 10:10:25 -07:00
Aleksei Kuzmin
da36bdfcc4
Add enable_osr build flag
2017-06-28 18:58:52 +02:00
Kevin Sawicki
628744f9e1
Put enableMixedSandbox before deprecation TODO
2017-06-28 08:37:56 -07:00
Kevin Sawicki
7fcc00f137
Add spec for app.enableMixedSandbox()
2017-06-28 08:33:11 -07:00
Samuel Attard
3774482859
Update notification PR as per feedback
2017-06-28 17:00:19 +10:00
Hari Juturu
1258240067
fixing build error
2017-06-26 16:20:12 -07:00
Hari Krishna Reddy Juturu
74196b96a1
Adding enableMixedSandbox api
2017-06-26 14:13:41 -07:00
Birunthan Mohanathas
f20f87829b
Add webContents.setIgnoreMenuShortcuts()
...
This allows you to disable application menu shortcut handling on a per
web contents basis.
2017-06-26 14:01:17 -07:00
Shubham
a38f0f5f46
rename alwaysShowTitleTextInFullscreen to fullscreenWindowTitle
2017-06-26 16:58:45 -04:00
Kevin Sawicki
14178d9826
Expose argv to preload process object
2017-06-26 13:52:19 -07:00
Kevin Sawicki
bda21216e7
Merge pull request #9743 from electron/number-accelerator-modifier
...
Don't mutate the accelerator character with the shift key if it's a number
2017-06-26 11:20:52 -07:00
Kevin Sawicki
4c8592b8ef
Merge pull request #9828 from electron/fix-browserview-file-chooser-crash
...
Fix crash when using file chooser in BrowserView
2017-06-26 09:54:31 -07:00
Cheng Zhao
00d023cd71
Merge pull request #9725 from danielma/dma/native-tab-new-button
...
Add "New Tab" button for Native macOS Tabs
2017-06-26 15:07:10 +09:00
Samuel Attard
7eb14243eb
Refactor notification options
2017-06-24 21:39:06 +10:00
Samuel Attard
17e737eba2
s/label/text
2017-06-23 21:04:39 +10:00
Samuel Attard
4f0d48f164
Add support for notification actions on macOS
2017-06-23 20:50:20 +10:00
Shubham
80e35b6682
🍎 Fix treat packaged app as directory
2017-06-22 17:10:22 -04:00
Birunthan Mohanathas
eb19562316
Fix crash when using file chooser in BrowserView
...
The crash was a segfault caused by a null `WebDialogHelper::window_`.
2017-06-21 16:26:38 -07:00
Tony Ganch
471f6e0fa5
Fix invisible titlebar on macOS 10.13
2017-06-19 14:34:37 +02:00
Shubham
25c651c40a
add alwaysShowTitleTextInFullscreen flag
2017-06-17 20:45:29 -04:00
Samuel Attard
231d4f7581
Use the isdigit helper
2017-06-17 03:52:19 +10:00
Shubham
12b90a2304
🐛 store current level fix
2017-06-15 18:05:58 -04:00
Kevin Sawicki
e8911fe48c
Merge pull request #9610 from shubham2892/incorrect-file-extension-with-showSaveDialog-fix
...
Fix incorrect extension when filters is used
2017-06-15 10:29:11 -07:00
Kevin Sawicki
15dd0eb583
Add braces to if statement
2017-06-15 10:27:34 -07:00
Shubham
8dbb8ccbab
add mouse-enter and mouse-exit events for tray
2017-06-14 18:00:29 -04:00
Kevin Sawicki
dae27de504
Merge pull request #9588 from electron/poiru/dialog-default-file-name
...
Use last selected directory when using default file name in dialog.showSaveDialog()
2017-06-14 14:41:45 -07:00
Kevin Sawicki
45dc6fc04f
Merge pull request #9645 from dharders/issue6036-fix-windows-fullscreen-startup-toggle
...
Fix unresponsive app after fullscreen->normal state toggle (Windows)
2017-06-14 14:10:00 -07:00
Cheng Zhao
fd0a742683
Merge pull request #9700 from brenca/pdf-zoom-improvements
...
Zoom controller improvements
2017-06-14 19:15:28 +09:00
Hari Juturu
421bf71b98
Adding no-sandbox to non sandbox webcontents
2017-06-13 18:45:24 -07:00
dharders
112f4656c3
👕 fix lint warning
2017-06-14 11:30:33 +10:00
dharders
265ab45bd7
🎨 Reuse existing function
2017-06-14 11:05:39 +10:00
Heilig Benedek
a3ec28ddf3
remove unused includes
2017-06-14 00:49:11 +02:00
Yuya Ochiai
be9463b7b7
Add 'All Files (*.*)' filter for <input> file dialog
...
The dialog would filter files as well as Chrome.
2017-06-13 22:33:06 +09:00
Samuel Attard
29dbb93f16
Don't mutate the accelerator character wuth the shift key if it's a number
2017-06-13 20:29:54 +10:00
deepak1556
538b97582a
app: add support for inspect/inspect-brk in forked node process
2017-06-13 00:23:11 +05:30
Daniel Ma
4fb9f825b1
Add "New Tab" button for Native macOS Tabs
...
Adds responders for `newWindowForTab` to `AtomApplicationDelegate` and
`NativeWindowMac`, so that `BrowserWindow`s with a `tabbingIdentifier`
will get the new tab button, and both `app` and `window` will emit a
`new-tab-for-window` event.
2017-06-11 02:26:26 -07:00
Hari Juturu
3ee55d9cd3
lint error
2017-06-08 23:46:37 -07:00
Hari Juturu
7bdd259d2e
Lint error
2017-06-08 23:39:53 -07:00
Hari Juturu
cbbd4a4a3b
Indentation
2017-06-08 23:31:58 -07:00
Hari Juturu
07f550a748
enable-mixed-sandbox option
2017-06-08 23:29:35 -07:00
Kevin Sawicki
4c00176599
Bump v1.7.3
2017-06-08 10:43:50 -07:00
Heilig Benedek
f8d3b363ea
🎨 lint fix
2017-06-08 09:57:24 +02:00
Heilig Benedek
0f4341da42
add zoom behaviour code from chromium and make pdf viewer use manual zoom behaviour to match chromium
2017-06-08 02:15:17 +02:00
Heilig Benedek
a47fe715d1
pass ref part of url to allow #page= for pdf viewer
2017-06-08 02:15:17 +02:00
Shubham
373decd07e
🎨
2017-06-07 19:01:06 -04:00
Shubham
f001377493
🍎 Fix an issue where alwaysOnTop window disappears when restored from the application icon
2017-06-07 12:28:50 -04:00
Kevin Sawicki
7a3a092c72
Merge pull request #9687 from electron/fix-custom-window-button-view
...
Simplify customButtonsOnHover implementation
2017-06-06 18:54:04 -07:00
Birunthan Mohanathas
391c07b80a
Simplify custom window button positioning
2017-06-07 03:33:33 +03:00
Kevin Sawicki
dc5221d551
Guard against null window like before
2017-06-06 17:02:23 -07:00
Birunthan Mohanathas
f60315141b
Remove unnecessary if check
2017-06-07 01:19:53 +03:00
Birunthan Mohanathas
3106478510
Rename SemaphoreView to CustomWindowButtonView
2017-06-07 01:18:22 +03:00
Birunthan Mohanathas
7d2226e05e
Let Chromium manage document.visibilityState
and document.hidden
...
Chromium already includes the necessary plumbing to manage the
visibility properties and `visibilitychange` event so this gets rid of
most of our custom logic for `BrowserWindow` and `BrowserView`.
Note that `webview` remains unchanged and is still affected by the issues
listed below.
User facing changes:
- The `document` visibility properties and `visibilitychange` event are
now also updated/fired in response to occlusion changes on macOS. In
other words, `document.visibilityState` will now be `hidden` on macOS
if the window is occluded by another window.
- Previously, `visibilitychange` was also fired by *both* Electron and
Chromium in some cases (e.g. when hiding the window). Now it is only
fired by Chromium so you no longer get duplicate events.
- The visiblity state of `BrowserWindow`s created with `{ show: false }`
is now initially `visible` until the window is shown and hidden.
- The visibility state of `BrowserWindow`s with `backgroundThrottling`
disabled is now permanently `visible`.
This should also fix #6860 (but not for `webview`).
2017-06-06 15:16:01 -07:00
Kevin Sawicki
4989b21dbc
Autorelease semaphore view
2017-06-05 14:28:58 -07:00
Kevin Sawicki
3a2abde804
Add TODO for hidden-inset deprecation
2017-06-05 13:58:50 -07:00
Kevin Sawicki
9537303e9a
Remove unused customWindowButtons switch
2017-06-05 13:57:25 -07:00
Kevin Sawicki
de0daa2481
Autorelease tracking area
2017-06-05 13:48:30 -07:00
Kevin Sawicki
7d10bf229d
Switch to titleBarStyle for custom window buttons on hover
2017-06-05 13:30:32 -07:00
Kevin Sawicki
566e04f1c0
🎨
2017-06-05 13:13:16 -07:00
Kevin Sawicki
37ba1b0a6b
Declare mouse inside variable in interface
2017-06-05 12:55:39 -07:00
Kevin Sawicki
1493d6763c
Make custom window buttons an option
2017-06-05 12:50:18 -07:00
Kevin Sawicki
2880cfdc9c
🎨 Minor formatting tweaks
2017-06-05 11:08:05 -07:00
mst128256
96251e55de
Removed commented code
2017-06-05 10:41:52 -07:00
mst128256
9b4664daa5
Area near the top border in frameless window is clickable
2017-06-05 10:41:52 -07:00
Kevin Sawicki
9a362eed53
Merge pull request #9572 from shubham2892/api-height-menubar-macos
...
API height menubar macos
2017-06-05 10:35:16 -07:00
Kevin Sawicki
653ef6f839
🎨
2017-06-05 10:33:46 -07:00
deepak1556
50ac7b2edd
Revert "Merge pull request #8724 from electron/defer_load_url"
...
Possible cause for #9121
This reverts commit 886b47e713
, reversing
changes made to 479af3c9e2
.
2017-06-05 19:04:21 +05:30
Shubham
c2603aaac2
🎨 Add documentation
2017-06-03 11:48:18 -04:00
Shubham
e9aa9eaf5e
🎨 code structure fix
2017-06-03 10:56:37 -04:00
Hari Juturu
3ba0e288f7
fix lint error
2017-05-31 23:20:13 -07:00
Hari Juturu
b5239754ba
Enable sandbox on webview
2017-05-31 23:01:14 -07:00
dharders
4c09b357a7
🏁 Fix #6036 . Ensure window is visible after fullscreen toggle
2017-06-01 14:38:51 +10:00
Kevin Sawicki
9250b559f9
Merge pull request #9623 from miniak/gpu-info
...
Add app.getGPUFeatureStatus
2017-05-31 08:11:50 -07:00
Cheng Zhao
e82af41591
Merge pull request #9269 from electron/main-notifications
...
Notifications from the main process
2017-05-31 17:21:05 +09:00
Cheng Zhao
5fa2831756
Coding style fixes
2017-05-31 16:17:29 +09:00
Shubham
62d9bf9bae
🎨 ✅ code comments and test for getMenuBarHeight function
2017-05-30 17:26:02 -04:00
Kevin Sawicki
bf2fca3dd1
Use base::DictionaryValue converter
2017-05-30 13:00:55 -07:00
Milan Burda
0ecfb4e2f8
Add app.getGPUFeatureStatus
2017-05-30 20:35:14 +02:00
Samuel Attard
3938373ecb
Fix linting errors and add isSupported
2017-05-30 20:27:24 +10:00
Samuel Attard
686b1388b1
Fix linting issues
2017-05-30 19:12:36 +10:00
Samuel Attard
5048425e6e
Update implementation as per feedback
2017-05-30 19:06:51 +10:00
Samuel Attard
6cdfb43e4e
Emit a close event
2017-05-29 21:33:43 +10:00
Samuel Attard
9aa6b83f86
Fix compilation and click events on macOS
2017-05-29 21:22:44 +10:00
Samuel Attard
c741b584a1
Remove OS specific implementations
2017-05-29 21:18:18 +10:00
Samuel Attard
058bdfbced
Use NotificationPresenter - macOS
2017-05-29 20:02:33 +10:00
Cheng Zhao
7d994f2a9e
Merge pull request #9535 from brenca/datalist-element
...
Add datalist element support
2017-05-29 16:01:40 +09:00
Shubham
217ddd629d
🍎 Fix incorrect extension when filters is used
2017-05-28 15:20:22 -04:00
Kevin Sawicki
44862a131c
Bump v1.7.2
2017-05-26 13:33:15 -07:00
Kevin Sawicki
0dff863e30
Add comment about CreateNewGuestWindow origins
2017-05-26 10:10:36 -07:00
Kevin Sawicki
dbd240a7cb
Return null from native window.open when allowpopups is unset
2017-05-26 10:10:36 -07:00
Kevin Sawicki
7baf472c0f
Implement BrowserPluginGuestDelegate::CreateNewGuestWindow for nativeWindowOpen
2017-05-26 10:10:36 -07:00
Kevin Sawicki
c43c3b3d80
Revert "protocol: use streaming interface between fetcher and requestjob"
...
This reverts commit 71b5d946e0
.
2017-05-26 09:47:22 -07:00
Kevin Sawicki
14c43f654f
🎨
2017-05-26 09:25:35 -07:00
Kevin Sawicki
1e4dd9b163
Store process type as int
2017-05-26 08:53:26 -07:00
Kevin Sawicki
7794cabd13
🎨
2017-05-26 08:35:43 -07:00
Kevin Sawicki
d6e626c7e3
Remove crashed render processes from metrics
2017-05-26 08:32:08 -07:00
Kevin Sawicki
b5879b7399
🎨 Minor formatting/doc changes
2017-05-26 07:51:17 -07:00
Heilig Benedek
192cd7787b
move popup related code to nativewindow
2017-05-26 03:39:36 +02:00
Birunthan Mohanathas
19555bbab2
Use last selected directory when using default file name in dialog.showSaveDialog()
...
Prior to this change, attempting to use
`dialog.showSaveDialog({ defaultPath: 'foo.png' })` would open the save
dialog to the current directory with the default file name set to
`foo.png`. We now use the last selected directory instead of the current
directory.
Absolute paths are not affected by this change.
2017-05-26 02:18:23 +03:00
Hari Krishna Reddy Juturu
c4e5ba6015
Fixing indentations
2017-05-24 21:15:34 -07:00
Hari Krishna Reddy Juturu
e5a9ef296d
Using process handle from RenderProcessHost
2017-05-24 21:07:35 -07:00
Hari Juturu
939747945e
Adding CPU & Memory metrics for App
2017-05-24 21:07:35 -07:00