Cheng Zhao
8c5bb5969c
Merge pull request #10667 from dittos/window-opacity
...
Add window opacity support
2017-10-04 15:03:45 +09:00
Felix Rieseberg
a337b12877
Merge pull request #10680 from electron/idlewakeups-windows
...
Don't call GetIdleWakeupsPerSecond on Win
2017-10-03 22:04:55 -07:00
Felix Rieseberg
4e05d24d1b
Merge pull request #10661 from electron/browserview-multiple-screens
...
BrowserView: Allow dragging of window to screen above menubar
2017-10-03 16:09:11 -07:00
Felix Rieseberg
9fcf7eb27c
🔧 Don't call GetIdleWakeupsPerSecond on Win
2017-10-03 10:21:31 -07:00
Cheng Zhao
150a4797a4
Merge pull request #10676 from qazbnm456/fix-unhandle-null-pointer
...
Add a null-pointer check before processing base::SupportsUserData::GetUserData
2017-10-03 20:18:51 +09:00
Daniel Ma
1bb042a661
feat(NativeWindowMac): addTabbedWindow
...
Add support for the [`NSWindow addTabbedWindow`][nsw] method on MacOSX
This plays nicely with the changes from #9052 and #9725
Usage samples available in [this commit][c] in my fork of
`electron-quick-start`
[nsw]: https://developer.apple.com/documentation/appkit/nswindow/1855947-addtabbedwindow
[c]: 79f06591df
2017-10-03 20:11:16 +09:00
Boik
d594092675
add a null-pointer check before processing base::SupportsUserData::GetUserData
2017-10-03 12:42:35 +08:00
Taeho Kim
7570ec9d39
Add BrowserWindow.getOpacity for consistency
2017-10-03 00:08:10 +09:00
Taeho Kim
7df5182901
Fix lint
2017-10-02 09:52:27 +09:00
Felix Rieseberg
0cc1ebc021
🔧 Allow dragging window to screen above menubar (for real)
2017-09-29 14:20:34 -04:00
Zeke Sikelianos
9f895879bf
Merge pull request #10191 from electron/add_log_path_support
...
add ability to access logs in getPath()
2017-09-29 11:11:29 -07:00
Ted Kim
7f2c4a9e06
Add window opacity support
2017-09-29 17:49:10 +09:00
Shelley Vohr
5ef4caf8ab
add ability to access logs in getPath()
2017-09-28 13:35:22 -04:00
John Kleinschmidt
7788b33dc9
Bump v1.8.1
2017-09-28 13:13:49 -04:00
Felix Rieseberg
89246f3714
🔧 Allow dragging over menubar
2017-09-27 17:43:09 -04:00
Birunthan Mohanathas
044a3a29a6
Simplify checking for NSFullScreenWindowMask
2017-09-27 16:36:18 +03:00
Felix Rieseberg
d45788a7b8
🔧 Don't drag fullscreen window
2017-09-26 18:03:44 -04:00
Birunthan Mohanathas
e1ddd3bdbc
Stop sending resize event for minimized windows on Windows
...
This makes it consistent with macOS.
This also fixes BrowserView auto-resize on Windows when minimizing and
restoring the window. Previously it would incorrectly grow too in some
cases.
2017-09-25 11:44:32 +09:00
Birunthan Mohanathas
f3f6bedf8e
Make BrowserView auto-resize relative to window size on Windows/Linux
...
Previously it was relative to the window web contents size, which was
not consistent with macOS.
2017-09-25 11:44:32 +09:00
Cheng Zhao
b7119b5756
Create watcher when message loop is ready
2017-09-20 11:58:32 +09:00
Samuel Attard
4147fa4629
Appease the linting gods
2017-09-20 11:58:32 +09:00
Samuel Attard
0ab83b301d
Refactor as per @zcbenz comments
...
Also fix issue where we run the single instance callback *not* on the UI thread,
this apparently results in a hung process.
2017-09-20 11:58:32 +09:00
Samuel Attard
ecbeb0d117
Woops, how did that happen ;)
2017-09-20 11:58:32 +09:00
Samuel Attard
f928a399ae
Move OnBrowserReady call to PreMainMessageLoopRun to account for timing issues on macOS
2017-09-20 11:58:32 +09:00
Samuel Attard
28900a9b63
Fix app.makeSingleInstance hanging on posix systems
...
Wait for the IO thread to be a thing before attempting to listen on the socket
Fixes #9880
2017-09-20 11:58:32 +09:00
Shelley Vohr
27fd2dad59
update shell.OpenItem to use NSWorkspace
2017-09-19 18:15:37 -04:00
Cheng Zhao
b277353238
Set secure schemes in native code
...
Code with same functionalities should be put together.
2017-09-15 16:48:55 +09:00
Cheng Zhao
ff023115f5
Style fixes
2017-09-14 16:12:34 +09:00
Rafael Nobre
77a1c5d7fc
Avoids deadlock in case NSUserActivityDelegate method start being called from main thread.
2017-09-14 15:59:43 +09:00
Rafael Nobre
9483f0fc14
Adds synchronization logic to allow NSUserActivityDelegate to wait Javascript updating the NSUserActiity UserInfo if requested.
2017-09-14 15:59:43 +09:00
Rafael Nobre
c23b4a48ec
Fixes NSUserActivityDelegate that was called on a background thread thus not working.
2017-09-14 15:59:43 +09:00
Rafael Nobre
76efee675f
Requests updated user info data before each Handoff operation.
2017-09-14 15:59:43 +09:00
Rafael Nobre
a870799c32
Exposes more Handoff related APIs to Electron.
2017-09-14 15:59:43 +09:00
Cheng Zhao
19a7c7ac39
Styling fixes
2017-09-14 14:43:22 +09:00
xaviergonz
e18cdc185a
add the fix for showinactive
2017-09-14 14:35:53 +09:00
xaviergonz
d0c91daaed
make sure setparentwindow only shows the window if already visible
2017-09-14 14:35:53 +09:00
xaviergonz
dc7cc6921e
fix for mac child windows so they honor show option
2017-09-14 14:35:53 +09:00
xaviergonz
dae63d323c
add new internal set parent window method
2017-09-14 14:33:24 +09:00
Cheng Zhao
a19a229a59
Merge pull request #10254 from zachflower/feature/simple-fullscreen-mode
...
Feature/simple fullscreen mode
2017-09-14 09:39:50 +09:00
Zachary Flower
432b912c6a
🎨 Rename ambiguous simple_fullscreen_ variable to always_simple_fullscreen_
2017-09-13 12:16:37 -06:00
Cheng Zhao
2048a1a638
Merge pull request #10429 from qazbnm456/web-request-origin
...
Track the origin of webRequest events
2017-09-13 22:23:44 +09:00
Cheng Zhao
c34fb146f6
Fix styling
2017-09-13 21:40:29 +09:00
Vanessa Yuen
9a7d8a0511
merge master into fix-fullscreen-with-resizable-flag.
2017-09-12 18:34:23 -04:00
Zachary Flower
fa4d52f042
🎨 Track/restore original stylemask, rather than individual states.
2017-09-12 12:27:30 -06:00
Boik
e66341ec59
add back the missing 'resourceType' property
2017-09-12 21:27:49 +08:00
Boik
a01abd0fee
fix lint-cpp
2017-09-12 20:28:30 +08:00
Boik
2d771674bb
get webContentsId instead
2017-09-12 20:17:11 +08:00
Boik
13d363d1f1
fix lint-cpp
2017-09-12 15:40:35 +08:00
Boik
549c30f9b2
first attempt to track the origin requesters of webRequest events
2017-09-12 15:40:35 +08:00
Cheng Zhao
59cadf9e4b
Merge pull request #10366 from syohex/window-close-order
...
Close window in order from newer one on macOS
2017-09-12 16:22:38 +09:00