Cheng Zhao
|
f08ac07737
|
mac: Add showHiddenFiles property for showOpenDialog
|
2016-07-11 13:30:18 +09:00 |
|
Cheng Zhao
|
a1a870fe43
|
Auto-hide menubar when in fullscreen
|
2016-07-11 13:10:19 +09:00 |
|
Cheng Zhao
|
e8e2763131
|
win: Add toolbar type for BrowserWindow
|
2016-07-11 12:46:50 +09:00 |
|
Haojian Wu
|
4ac4dacffe
|
Some manual change to for-ranged loop.
Use "const auto&" where possible.
|
2016-07-10 15:57:51 +02:00 |
|
Haojian Wu
|
55b3f1936f
|
Modernize to C++11: Use for-range loop.
|
2016-07-10 13:33:15 +02:00 |
|
Haojian Wu
|
3bdeac98bf
|
Modernize to C++11: use override.
|
2016-07-10 13:21:42 +02:00 |
|
Haojian Wu
|
04f9d35312
|
Modernize to C++11: Use auto key to improve code readability and maintainability.
|
2016-07-10 13:11:47 +02:00 |
|
Haojian Wu
|
fab02809c6
|
Modernize to C++11: NULL => nullptr.
No functional change.
|
2016-07-10 11:57:04 +02:00 |
|
Cheng Zhao
|
f77b9db069
|
Fix unmaximize() not working
|
2016-07-09 23:16:57 +09:00 |
|
Cheng Zhao
|
5979c1464f
|
Remember bounds instead of size
|
2016-07-09 23:10:36 +09:00 |
|
Cheng Zhao
|
c4de246bfb
|
Correctly handle unmaximize
|
2016-07-09 23:04:42 +09:00 |
|
Cheng Zhao
|
baff744601
|
Use setBounds to implement maximize for window without thickFrame
|
2016-07-09 22:49:55 +09:00 |
|
Cheng Zhao
|
2ece9e2885
|
Add thickFrame option
|
2016-07-09 21:49:15 +09:00 |
|
Cheng Zhao
|
54f74e8160
|
Redirect relaunch process's stdout to /dev/null
|
2016-07-09 17:59:40 +09:00 |
|
Cheng Zhao
|
627028e3a0
|
Clear protocol handlers on exit
|
2016-07-09 17:02:55 +09:00 |
|
Cheng Zhao
|
6e81c55880
|
Merge pull request #6385 from electron/only-use-role-accelerator-in-app-menu
Only use default role accelerator in app menu
|
2016-07-08 11:22:21 +09:00 |
|
Cheng Zhao
|
5713e0599b
|
Merge pull request #6375 from electron/login-item
Add login item API
|
2016-07-08 10:39:20 +09:00 |
|
Kevin Sawicki
|
7326d3d3d5
|
🎨
|
2016-07-07 16:38:12 -07:00 |
|
Kevin Sawicki
|
2633c2f735
|
Add was prefix to current launch settings
|
2016-07-07 16:29:58 -07:00 |
|
Kevin Sawicki
|
c100300764
|
Update API to get/setLoginItemSettings
|
2016-07-07 16:29:09 -07:00 |
|
Kevin Sawicki
|
e4906f2d87
|
Add back getCurrentActivityType
|
2016-07-07 14:29:43 -07:00 |
|
Kevin Sawicki
|
cb943cec77
|
🎨
|
2016-07-07 14:28:01 -07:00 |
|
Kevin Sawicki
|
10a2454921
|
Remove unneeded atom:: prefix
|
2016-07-07 14:25:09 -07:00 |
|
Kevin Sawicki
|
2faf00dc19
|
Only use default accelerator in Windows/Linux app menu
|
2016-07-07 11:50:19 -07:00 |
|
Cheng Zhao
|
6381f44f26
|
mac: Pass useDefaultAccelerator to getAcceleratorForCommandId
|
2016-07-07 11:50:19 -07:00 |
|
Cheng Zhao
|
d23c1bf917
|
Cleanup the code of SetBounds
|
2016-07-07 20:02:18 +09:00 |
|
Cheng Zhao
|
43e9f30b21
|
Merge pull request #6363 from MarshallOfSound/master
Bound the target width and height of window when calling SetSize
|
2016-07-07 19:52:47 +09:00 |
|
Samuel Attard
|
ceb2864881
|
Move size bounding logic to SetBounds
|
2016-07-07 20:55:10 +12:00 |
|
Cheng Zhao
|
c7e0df09bc
|
Merge pull request #6370 from electron/send-key-event-to-main-menu
Give menu a chance to handle keydown event before window
|
2016-07-07 10:11:12 +09:00 |
|
Kevin Sawicki
|
60ab71a706
|
Combine launch and current status login item APIs
|
2016-07-06 13:57:46 -07:00 |
|
Kevin Sawicki
|
c5610b2186
|
Add API to add/remove app as login item
|
2016-07-06 13:26:16 -07:00 |
|
Kevin Sawicki
|
b55f55cfc4
|
Add app.getLoginItemStatus API
|
2016-07-06 13:17:39 -07:00 |
|
Kevin Sawicki
|
98a97a52ea
|
Add getLoginItemLaunchStatus API
|
2016-07-06 12:49:08 -07:00 |
|
Kevin Sawicki
|
bd33961964
|
Give menu a chance to handle key event before window
|
2016-07-06 10:12:40 -07:00 |
|
Kevin Sawicki
|
07ccb6af2b
|
🎨
|
2016-07-06 09:42:43 -07:00 |
|
Kevin Sawicki
|
b900ff93e4
|
Make OnCapturePageDone static
|
2016-07-06 09:32:58 -07:00 |
|
Kevin Sawicki
|
4a4a8528ea
|
Fix linter warnings
|
2016-07-06 09:21:29 -07:00 |
|
Kevin Sawicki
|
12dddae2ca
|
Remove unused callback
|
2016-07-06 09:21:28 -07:00 |
|
Kevin Sawicki
|
f7b72f0948
|
Move capturePage to WebContents
|
2016-07-06 09:21:28 -07:00 |
|
Samuel Attard
|
6bd343b112
|
Bound the target width and height of window when calling SetSize
|
2016-07-07 00:49:35 +12:00 |
|
Cheng Zhao
|
92b97d3576
|
Bump v1.2.6
|
2016-07-06 13:20:36 +09:00 |
|
Cheng Zhao
|
41b8dda071
|
For hidden window focus() should do nothing
|
2016-07-05 10:34:52 +09:00 |
|
Cheng Zhao
|
381689d3ed
|
Fix building on Windows
|
2016-07-05 09:31:29 +09:00 |
|
Cheng Zhao
|
8d3e09747a
|
directWrite option is removed
|
2016-07-05 09:20:57 +09:00 |
|
Cheng Zhao
|
d0719e9b4b
|
Fix cpplint warnings
|
2016-07-04 19:19:20 +09:00 |
|
Cheng Zhao
|
0a6bb9c36a
|
Fix crash when creating protocol module
|
2016-07-04 15:32:43 +09:00 |
|
Cheng Zhao
|
1ba3907038
|
Update to API changes of Chrome 52
|
2016-07-04 15:32:43 +09:00 |
|
Cheng Zhao
|
eb378bef3a
|
Upgrade to Chrome 52
|
2016-07-04 15:32:43 +09:00 |
|
Cheng Zhao
|
23582cc9d3
|
Reduce the scope of ScopedNestableTaskAllower
|
2016-07-03 15:30:27 +09:00 |
|
Cheng Zhao
|
7916f0ea18
|
win: Use drag_utils::CreateDragImageForFile
|
2016-07-03 14:44:47 +09:00 |
|
Cheng Zhao
|
63a8961ed1
|
views: Implement webContents.startDrag
|
2016-07-03 14:34:35 +09:00 |
|
Cheng Zhao
|
fa468a529b
|
Support dragging multiple files
|
2016-07-03 13:58:31 +09:00 |
|
Cheng Zhao
|
13c668f22b
|
mac: Implement webContents.startDrag
|
2016-07-03 12:26:43 +09:00 |
|
Cheng Zhao
|
14c4be50c1
|
Avoid calling GetWebContentsFromProcessID for twice
|
2016-07-02 16:54:12 +09:00 |
|
Cheng Zhao
|
b0faa62f76
|
Merge pull request #6313 from MarshallOfSound/silent-notification-when-muted
Override the Notification API constructor to create silent notificatons when the webContents is muted
|
2016-07-02 07:44:33 +00:00 |
|
Cheng Zhao
|
e76ec92812
|
Set window icon before showing window
|
2016-07-02 16:16:47 +09:00 |
|
Cheng Zhao
|
cd38e5c85e
|
Update to Chrome 51.0.2704.106
|
2016-07-02 13:54:34 +09:00 |
|
Cheng Zhao
|
ee0eb9ae08
|
Merge pull request #6309 from electron/app-launcher-rename
Implement app.setBadgeCount on Mac
|
2016-07-02 01:51:47 +00:00 |
|
Cheng Zhao
|
767124c45c
|
Update for reviews
|
2016-07-02 10:36:46 +09:00 |
|
Samuel Attard
|
4f660f3e6f
|
Implement WebContenstAudioMuted in AtomBrowserClient
|
2016-07-02 13:28:28 +12:00 |
|
Cheng Zhao
|
431ea61ff8
|
Don't use MatchesExtension for matching filters
MatchesExtension compares double extensions like .tar.gz, which does not
match the filters.
|
2016-07-01 22:55:15 +09:00 |
|
Cheng Zhao
|
1da2a1c2ae
|
app.setBadgeCount should return boolean
|
2016-07-01 22:20:05 +09:00 |
|
Cheng Zhao
|
cb00d3cfb3
|
mac: Implement app.setBadgeCount
|
2016-07-01 17:39:26 +09:00 |
|
Kevin Sawicki
|
45dbbfdfe9
|
Use nullptr comparisons
|
2016-06-29 11:52:58 -07:00 |
|
Kevin Sawicki
|
e797eb5ca3
|
Use set context menu when param is not specified
|
2016-06-29 11:52:58 -07:00 |
|
Jonas Schwabe
|
8ac205685d
|
Add ifdef for property, which should only be availabe on Linux
|
2016-06-29 20:22:17 +02:00 |
|
Jonas Schwabe
|
e2d389fbd4
|
Rename the unityLauncher api to launcher and make it available on linux in general. + Document it only works on ubuntu
|
2016-06-29 20:22:17 +02:00 |
|
Jonas Schwabe
|
e3ba6818af
|
Fix linter errors
|
2016-06-29 20:22:17 +02:00 |
|
Jonas Schwabe
|
b22ce93477
|
Implement libunity launcher badge counter to be set via electron, fixes #4193
|
2016-06-29 20:22:17 +02:00 |
|
Kevin Sawicki
|
8c52279531
|
Tweak cookie set failure message and add spec
|
2016-06-29 08:53:52 -07:00 |
|
Milan Burda
|
a886261518
|
Fix crash in ReadImageSkiaFromICO when CreateSkBitmapFromHICON fails
|
2016-06-28 12:17:05 -07:00 |
|
Cheng Zhao
|
e1ad64013e
|
Cleanup code of beginFrameSubscription
|
2016-06-26 11:46:40 +09:00 |
|
Cheng Zhao
|
3d2ad0080d
|
Merge pull request #6164 from MaxWhere/master
beginFrameSubscription bugfix and improvement
|
2016-06-26 02:39:59 +00:00 |
|
Heilig Benedek
|
5118def724
|
damaged -> dirty rename, fixed misc issues, changed signature, updated docs and added tests
|
2016-06-25 18:23:40 +02:00 |
|
Florent Delayen
|
4d55175649
|
Execute click handlers for top level menu items
|
2016-06-25 16:51:43 +02:00 |
|
Cheng Zhao
|
04b30afbed
|
Merge pull request #6233 from electron/clipboard-bookmark-support
Add support for reading/writing bookmarks from the clipboard
|
2016-06-25 05:23:32 +00:00 |
|
Kevin Sawicki
|
e802d0e4a0
|
Add bookmark key to clipboard.write
|
2016-06-24 15:14:28 -07:00 |
|
Kevin Sawicki
|
271808b278
|
Support reading/writing bookmarks to clipboard
|
2016-06-24 15:08:12 -07:00 |
|
Milan Burda
|
dfc2f3f0c6
|
Fix uninitialized member variable in CrashReporterWin
|
2016-06-24 18:30:38 +02:00 |
|
Cheng Zhao
|
ee28f4fc32
|
Handle v8::MicrotasksScope in the main process
|
2016-06-24 14:45:31 +09:00 |
|
Cheng Zhao
|
ed6213e951
|
Do not emit did-fail-load for canceled requests
|
2016-06-23 20:32:19 +09:00 |
|
Cheng Zhao
|
a00c5e3363
|
Bump v1.2.5
|
2016-06-23 14:37:58 +09:00 |
|
Cheng Zhao
|
7f3a296050
|
mac: Avoid calling setTitleVisibility for OS X 10.9
|
2016-06-23 13:00:14 +09:00 |
|
Kevin Sawicki
|
e9222583cb
|
toPng/toJpeg -> toPNG/toJPEG
|
2016-06-22 15:47:42 -07:00 |
|
Milan Burda
|
c243cf0c0f
|
Add BrowserWindow.prototype.setContentProtection(enable)
|
2016-06-22 10:40:33 +02:00 |
|
Cheng Zhao
|
6f9c4766fc
|
Fix usages of global BrowserContext in App::ImportCertificate
|
2016-06-22 16:10:36 +09:00 |
|
Cheng Zhao
|
01bc8305f8
|
Add ses.getUserAgent()/setUserAgent(...) APIs
|
2016-06-22 15:57:51 +09:00 |
|
Cheng Zhao
|
9c8e64f268
|
Cache the BrowserContext::GetUserAgent
|
2016-06-22 15:46:46 +09:00 |
|
Cheng Zhao
|
b0f04de50c
|
Do not force creating default session in C++
|
2016-06-22 15:41:56 +09:00 |
|
Cheng Zhao
|
8ffd069689
|
mac: Fix maximize/unmaximize event emitted before window is maximized
|
2016-06-22 14:06:54 +09:00 |
|
Cheng Zhao
|
8d08e215b2
|
Add "event" parameter for "click" handler of MenuItem
|
2016-06-22 11:22:14 +09:00 |
|
Cheng Zhao
|
e6327fb015
|
Add EventEmitter::CreateEventFromFlags
|
2016-06-22 11:00:45 +09:00 |
|
Cheng Zhao
|
08a1e92650
|
Bump v1.2.4
|
2016-06-22 10:26:54 +09:00 |
|
Cheng Zhao
|
4e811fc377
|
Merge pull request #6169 from electron/map-roles-by-command-id
Map roles by command id instead of index
|
2016-06-22 01:24:20 +00:00 |
|
Cheng Zhao
|
c0aebc9d4f
|
Merge pull request #6168 from electron/forward-delete
Support forward delete menu item accelerator
|
2016-06-22 01:12:10 +00:00 |
|
Kevin Sawicki
|
812dea9a8b
|
Add comment about map key/values
|
2016-06-21 15:28:02 -07:00 |
|
Kevin Sawicki
|
583cc925ac
|
Map roles by command id
|
2016-06-21 15:25:14 -07:00 |
|
Kevin Sawicki
|
738edb650d
|
Make NSDeleteFunctionKey to NSDeleteCharacter
|
2016-06-21 12:33:02 -07:00 |
|
Kevin Sawicki
|
2536e62fb0
|
Add togglefullscreen role selector
|
2016-06-21 09:34:29 -07:00 |
|
Kevin Sawicki
|
67f7b4d4c5
|
Map quit role to terminate selector
|
2016-06-21 09:08:13 -07:00 |
|
Heilig Benedek
|
3c92825e2a
|
Fix init list order
|
2016-06-21 14:32:22 +02:00 |
|
Cheng Zhao
|
aca37c8974
|
Update menubar color when theme changes
|
2016-06-21 18:05:01 +09:00 |
|
Cheng Zhao
|
816b2ea8f2
|
linux: Disable parent window when showing modal dialogs (#6160)
|
2016-06-21 08:54:55 +00:00 |
|
Cheng Zhao
|
324153d394
|
win: Use DIP rect for tray icon's bounds
|
2016-06-21 16:05:28 +09:00 |
|
Cheng Zhao
|
886ef1717c
|
win: Implement tray.getBounds() API
|
2016-06-21 15:49:22 +09:00 |
|
Cheng Zhao
|
db98e256f2
|
mac: Add tray.getBounds() API
|
2016-06-21 15:40:30 +09:00 |
|
Charlie Hess
|
74321dce74
|
Add systemPreferences.subscribeLocalNotification. (#6150)
|
2016-06-21 00:48:42 +00:00 |
|
Heilig Benedek
|
3529f8a40a
|
Frame subscriber bugfix + added only_damaged option
|
2016-06-21 02:42:00 +02:00 |
|
Cheng Zhao
|
c9d5c4e45c
|
mac: Convert path to absolute path in ShowItemInFolder
|
2016-06-20 21:14:17 +09:00 |
|
Cheng Zhao
|
5e459b057e
|
Use fixed ID for app indicators
|
2016-06-20 17:35:45 +09:00 |
|
Cheng Zhao
|
a3dd6c635f
|
Avoid calling Environment::GetCurrent for unjected contexts
It seems to cause crashes when it is called for contexts that do not
have node integrations.
|
2016-06-20 16:51:42 +09:00 |
|
Cheng Zhao
|
5674e8d114
|
Only define enable/disable API for views
|
2016-06-20 15:44:50 +09:00 |
|
Cheng Zhao
|
e33e4be257
|
macOS: Use sheet window as modal window
|
2016-06-20 14:49:24 +09:00 |
|
Cheng Zhao
|
1866dbe608
|
Move disable counter to NativeWindow from api::Window
|
2016-06-20 11:48:46 +09:00 |
|
Cheng Zhao
|
02acce8991
|
linux: Make modal dialog show more smoothly
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
9aa7291627
|
linux: Implement win.disable/enable/isEnabled() API
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
074903ca33
|
Do not emit "unresponsive" when there is modal dialog
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
f4bec78ccb
|
linux: Implement win.setParentWindow(parent)
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
4c3c4437da
|
win: Implement win.disable/enable/isEnabled() API
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
85ba382027
|
Add "parent" option for BrowserWindow
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
473413e874
|
views: Initial implementation of win.setParentWindow(parent)
But it doesn't work, aparrently Chromium doesn't support changing
parent window dynamically on desktop.
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
f2cbd7cb36
|
mac: Add win.beginSheet(sheet)/endSheet(sheet) API
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
1104dded24
|
Handle multiple modal windows correctly
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
1a4b4a65c9
|
mac: Add win.disable/enable/isEnabled() API
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
6cef29e4ee
|
Add win.getChildWindows() API
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
22513efd55
|
Add win.getParentWindow() API
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
fb7e7b315c
|
mac: Close all child windows before closing current window
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
fd42e3dc84
|
mac: Add win.setParentWindow(parent) API
|
2016-06-20 11:16:41 +09:00 |
|
Cheng Zhao
|
ce2199d96a
|
Update to Chrome 51.0.2704.103
|
2016-06-19 21:09:29 +09:00 |
|
Cheng Zhao
|
6f4899bd94
|
Merge pull request #6068 from electron/redispatch-events
Redispatch events to handle native OSX shortcuts
|
2016-06-19 11:22:02 +00:00 |
|
Cheng Zhao
|
d3bf400d56
|
Use class extension to avoid type conversion
|
2016-06-19 20:16:19 +09:00 |
|
Leonard Lamprecht
|
511bf83fe7
|
Improved wording
|
2016-06-18 15:28:22 +02:00 |
|
Leonard Lamprecht
|
67dd19ed0f
|
Replace OS X and Mac OS with macOS
|
2016-06-18 15:26:26 +02:00 |
|
Kevin Sawicki
|
754c4654d4
|
Add back window check
|
2016-06-17 16:23:54 -07:00 |
|
Daniel Pham
|
a8a6f6f856
|
🍎 Fix context menus selecting first item by default.
|
2016-06-17 17:03:15 -04:00 |
|
Kevin Sawicki
|
13e554ab11
|
🎨
|
2016-06-17 11:32:56 -07:00 |
|
Kevin Sawicki
|
711c3abaeb
|
Remove isKindOfClass check
|
2016-06-17 11:13:28 -07:00 |
|
Kevin Sawicki
|
0e65977a3c
|
Use EventDispatchingWindow from brightray
|
2016-06-17 11:11:50 -07:00 |
|
Kevin Sawicki
|
3bc4f188ef
|
Handle redispatch in devtools undocked windows
|
2016-06-17 10:27:53 -07:00 |
|
Kevin Sawicki
|
e0f06d582d
|
Remove unneeded method declaration
|
2016-06-17 10:02:35 -07:00 |
|
Kevin Sawicki
|
1e73d48198
|
🎨
|
2016-06-17 09:13:00 -07:00 |
|
Kevin Sawicki
|
02abda4be8
|
Use isKindOfClass
|
2016-06-17 09:13:00 -07:00 |
|
Kevin Sawicki
|
b80f20912f
|
Remove unused property
|
2016-06-17 09:12:59 -07:00 |
|
Kevin Sawicki
|
1762599df0
|
Remove unused variable
|
2016-06-17 09:12:59 -07:00 |
|
Kevin Sawicki
|
a2bbfea9e0
|
Redispatch events to handle native shortcuts
|
2016-06-17 09:12:59 -07:00 |
|
Cheng Zhao
|
57ed682e34
|
Merge pull request #6091 from electron/icon-progress-crash
Fix crash setting progress after setting dock icon
|
2016-06-17 03:29:49 +00:00 |
|
Cheng Zhao
|
6b20d6c189
|
Don't change the behavior of transparent window
|
2016-06-17 11:02:37 +09:00 |
|
Cheng Zhao
|
9eea973d31
|
Use the setTitleVisibility to control tittlebar's visibility
|
2016-06-17 10:54:50 +09:00 |
|
Kevin Sawicki
|
5f0238ebf4
|
Add subview whenever content view is empty
|
2016-06-16 14:57:23 -07:00 |
|
bridiver
|
2094b39460
|
set the title for hidden and hidden-inset windows so they show up in the window menu list
fixes #6088
|
2016-06-16 13:12:53 -07:00 |
|