Brian R. Bondy
5fda9bc6ae
LoadAccessTokensCallbackType -> LoadAccessTokensCallback
2016-05-13 11:07:17 +09:00
Brian R. Bondy
93e9cf4ac1
No more GetCookieMonster
2016-05-13 11:07:17 +09:00
Cheng Zhao
57b0f288cb
Bump v1.0.2
2016-05-13 09:21:33 +09:00
Cheng Zhao
b32bc8cf3e
Merge pull request #5502 from anthonyryan1/master
...
Replace gtk_widget_hide_all with gtk_widget_hide
2016-05-12 19:37:25 +09:00
Cheng Zhao
9a35d54ecf
Merge pull request #5500 from radarhere/master
...
Fixed typo
2016-05-12 10:26:39 +09:00
Andrew Murray
2d19d8108b
Fixed typo
2016-05-12 08:14:17 +10:00
Anthony Ryan
c29b844a97
Replace gtk_widget_hide_all with gtk_widget_hide
...
gtk_widget_hide_all was deprecated in gtk+ 2.24 and was removed
entirely in recent versions. This is a pretty straight forward
replacement.
2016-05-11 15:33:43 -04:00
deepak1556
64718888dd
dialog: resize icon on linux before showing
2016-05-11 22:30:10 +05:30
Cheng Zhao
064af6ecb2
Merge branch '1-0-release'
2016-05-11 22:11:08 +09:00
Cheng Zhao
6578c4f0b3
Bump v1.0.1
2016-05-11 20:10:38 +09:00
Cheng Zhao
c708ae8eb5
Remove IDWeakMap
2016-05-11 15:51:22 +09:00
Cheng Zhao
2cd41b2f84
Merge branch 'master' of https://github.com/electron/electron
2016-05-11 15:15:15 +09:00
Cheng Zhao
0f52a6da39
Merge branch '1-0-release'
2016-05-11 15:14:56 +09:00
Cheng Zhao
ed70a11ff8
Merge pull request #5477 from danhp/download-bounce
...
Add API: app.dock.downloadFinished(filePath)
2016-05-11 09:41:08 +09:00
Cheng Zhao
0dad2581ef
Fix passing paths in command line
2016-05-11 08:57:35 +09:00
Daniel Pham
6dae07b76f
Add API: app.dock.downloadFinished(filePath)
2016-05-10 15:02:56 -04:00
Cheng Zhao
c40fb67890
Bump v1.0.0
2016-05-09 21:17:35 +09:00
Cheng Zhao
af0afecb45
Merge pull request #5406 from deepak1556/protocol_standard_scheme_patch
...
protocol: fix registerStandardSchemes api
2016-05-09 09:12:35 +09:00
Cheng Zhao
6b79f53416
Merge pull request #5440 from electron/bengotow/remove-default-protocol
...
Implement RemoveAsDefaultProtocolClient on OS X
2016-05-09 08:36:21 +09:00
Ben Gotow
ac905e7080
Add docs, avoid side effects when not currently default
2016-05-08 10:50:17 -07:00
deepak1556
70dac71639
delay protocol object creation
2016-05-08 16:44:14 +05:30
Cheng Zhao
e24ce97731
Set expirationDate for persistent cookie
2016-05-08 14:38:07 +09:00
deepak1556
9c71c9fa6a
fix docs and spec
2016-05-08 01:37:57 +05:30
deepak1556
0f2ae385ed
allow protocol module initialization before app ready.
...
* ensure registerStandardSchemes can only be called before app ready
* ensure other protocol methods can only be used after app ready
2016-05-08 01:36:34 +05:30
deepak1556
1ff33b7c81
protocol: fix registerStandardSchemes api
2016-05-08 01:36:34 +05:30
Ben Gotow
19d5d3b7d1
Implement RemoveAsDefaultProtocolClient on OS X
2016-05-07 11:07:58 -07:00
Cheng Zhao
b05fa2ed5b
Merge pull request #5430 from deepak1556/ipc_renderer_patch
...
ipcRenderer: fix crash with multiple listeners to sync message
2016-05-07 16:32:54 +09:00
Cheng Zhao
e46a50512d
Merge pull request #5428 from miniak/update-app-manifest
...
Update app manifest
2016-05-07 11:20:25 +09:00
Cheng Zhao
767c235708
Fix compilation error
2016-05-07 10:38:41 +09:00
Milan Burda
bc8689889d
Add dpiAware to app manifest instead of calling SetProcessDpiAwareness / SetProcessDPIAware
2016-05-07 01:18:01 +02:00
Milan Burda
bb32039fde
Add disableWindowFiltering to app manifest to enable enumeration of modern app windows in node modules
2016-05-07 01:17:27 +02:00
deepak1556
53ac79cb19
devtools: handle file system indexing requests
2016-05-07 04:32:54 +05:30
Kevin Sawicki
ef459c7676
Remove support for options now on webPreferences
2016-05-06 10:12:56 -07:00
Kevin Sawicki
4cb620c195
Remove support for translating hyphenated options
2016-05-06 10:12:54 -07:00
Kevin Sawicki
6f0471f6cb
Remove deprecated options check in BrowserWindow
2016-05-06 10:12:53 -07:00
Cheng Zhao
df397dab30
Add scrollBounce option and disable it by default
2016-05-06 14:57:43 +09:00
deepak1556
45b3bd3a22
ipcRenderer: fix crash with multiple listeners to sync message
2016-05-06 02:52:59 +05:30
Cheng Zhao
2c31d7c1e8
Revert "Generalize this mate converter for reuse."
...
This reverts commit 92606579d3
.
2016-05-05 17:26:31 +09:00
Cheng Zhao
2f9fee0c8a
Move the job of creating userActivity to AtomApplication
2016-05-05 16:38:47 +09:00
Cheng Zhao
60bd60e1ed
Fully support converting NSDictionary to JS userInfo object
2016-05-05 16:26:44 +09:00
Cheng Zhao
7268f434b2
Fix code styling problems
2016-05-05 12:26:23 +09:00
Cheng Zhao
3f2a25d07c
Merge pull request #5352 from CharlieHess/hands-on-hand-off
...
OS X Handoff Feature
2016-05-05 12:06:56 +09:00
Cheng Zhao
0901a70166
Merge pull request #5379 from danhp/context-menu
...
Expose the 'context-menu' event.
2016-05-05 11:12:58 +09:00
Charlie Hess
b2fb95f857
Use scoped_nsobject to ensure our intermediate objects get cleaned up.
2016-05-04 11:28:49 -07:00
Cheng Zhao
540076e9d5
Fix code styling issue
2016-05-04 17:12:10 +09:00
Charlie Hess
12764a66ed
Add an accessor for the current activity type and write the simplest possible test.
2016-05-03 15:51:31 -07:00
Charlie Hess
42768bcc2b
Save the activity on the application instance to ensure we hold a reference. Activities that enable search need to persist.
2016-05-03 14:57:16 -07:00
Daniel Pham
0fffbea79d
Add 'context-menu' event to 'WebContents'
2016-05-03 17:50:54 -04:00
Charlie Hess
03d25ce6c0
Revert "Add some shady methods to get V8 objects or arrays from NSDictionary or NSArray."
...
This reverts commit 2295f3a832
.
2016-05-03 10:32:42 -07:00
Charlie Hess
f84a973d69
Revert "Use a DictionaryValue everywhere instead of a string map."
...
This reverts commit 90cc10944a
.
2016-05-03 10:31:53 -07:00
Charlie Hess
90cc10944a
Use a DictionaryValue everywhere instead of a string map.
2016-05-02 16:18:58 -07:00
Charlie Hess
2295f3a832
Add some shady methods to get V8 objects or arrays from NSDictionary or NSArray.
2016-05-02 14:45:59 -07:00
Adam Buckland
abb60ecd2e
Fix autoUpdater error on OS X
...
If there is no localizedFailureReason, then then this will no longer be
added to the error string (which would result previously in it printing
'(null)' as part of the string)
2016-05-01 13:43:56 +01:00
Charlie Hess
05493502ea
Value first, key second.
2016-04-30 11:17:29 -07:00
Charlie Hess
195940292d
This is preventDefault by convention.
2016-04-29 22:08:19 -07:00
Charlie Hess
88805ec7e2
Make the Linter happy.
2016-04-29 22:05:36 -07:00
Charlie Hess
3a9a1d35d7
Add the AppDelegate override for restoring from hand-off, and fire the app event.
2016-04-29 17:37:01 -07:00
Charlie Hess
c20acb0361
Implement a "continue-activity" event on app for resuming from hand-off.
2016-04-29 17:36:04 -07:00
Charlie Hess
6df4bb176d
Implement app.setUserActivity(type, userInfo).
2016-04-29 17:35:07 -07:00
Cheng Zhao
edb73fb734
Bump v0.37.8
2016-04-29 20:48:19 +09:00
Cheng Zhao
66853344c0
Make sure the userData directory is created before ready event
2016-04-29 20:20:52 +09:00
Milan Burda
340b7220f1
Fix #3075 by not caching the displays (id is not persistent on Windows)
2016-04-28 17:46:41 +02:00
deepak1556
d64e3784f4
renderer: fix desktop capture api not responding different subsequest calls
2016-04-28 14:24:22 +05:30
Cheng Zhao
d9db23185c
Merge pull request #5302 from ritazh/default-protocol-handler
...
Add API: IsDefaultProtocolClient
2016-04-28 16:13:06 +09:00
Rita Zhang
df2141d9e6
⚡ Add API: IsDefaultProtocolClient
2016-04-27 12:24:46 -07:00
deepak1556
6dbd2ce243
use DownloadItem to determine download initiator
2016-04-27 20:29:39 +05:30
deepak1556
46208b5b3e
session: dont attach download dialog to deleted webContents window
2016-04-27 20:00:31 +05:30
Cheng Zhao
7b8a05f01f
Merge pull request #5298 from phamdaniel/fix-mac-accelerators
...
Fix converting from windows virtual keycode back to mac keycode
2016-04-27 10:23:28 +09:00
Daniel Pham
21af03d71a
🍎 Fix converting from windows virtual keycode back to mac keycode
2016-04-26 10:53:26 -04:00
Cheng Zhao
4f21a50d23
Remove duplicated converter for content::WebContents
2016-04-26 16:31:56 +09:00
Cheng Zhao
570dc7ca9b
Merge branch 'MarshallOfSound-master'
2016-04-26 11:15:56 +09:00
Cheng Zhao
f081c77422
Fix compilation error
2016-04-26 11:15:36 +09:00
Samuel Attard
315cd9d2c8
Emit an error if quitAndInstall
is called without an update being available
2016-04-26 11:55:57 +10:00
Cheng Zhao
067e9c1a85
Add systemPreferences.getUserDefault
2016-04-25 15:35:52 +09:00
Cheng Zhao
a421c66f3f
Deprecate the platform-theme-changed event
2016-04-25 14:35:34 +09:00
Cheng Zhao
9557226223
Add systemPreferences.subscribeNotification
2016-04-25 14:25:14 +09:00
Cheng Zhao
ddd8eae661
Move isAeroGlassEnabled and isDarkMode to systemPreferences
2016-04-25 12:35:09 +09:00
Cheng Zhao
d72a0e452f
BuildPrototype should not be empty
2016-04-25 12:24:11 +09:00
Cheng Zhao
13f8599ba1
Add systemPreferences module
2016-04-25 11:32:33 +09:00
Cheng Zhao
9fe3dbcfe0
Make VS happy
2016-04-25 10:40:19 +09:00
Cheng Zhao
272592415d
Fix building on non-mac
2016-04-25 10:34:41 +09:00
Cheng Zhao
993695af07
Remove unneeded cleanup code
2016-04-25 10:23:36 +09:00
Cheng Zhao
60d2cb8a84
Remove the isolate parameter of GetWrapper
2016-04-25 10:19:25 +09:00
Cheng Zhao
2ae52d0ff4
Make Wrappable a template class
2016-04-25 10:17:54 +09:00
Milan Burda
e1516d4244
Fix BrowserWindow.maximize/unmaximize on Mac
2016-04-23 01:16:31 +02:00
Cheng Zhao
c04d43ca13
Bump v0.37.7
2016-04-22 17:39:11 +09:00
Cheng Zhao
df97be30e5
Do not create the folder passed to app.setPath
2016-04-21 14:37:29 +09:00
deepak1556
ca756c3c24
session: allow providing permission to handle external protocols
2016-04-21 05:27:07 +05:30
Cheng Zhao
aa29dc0c8a
Merge pull request #5199 from Mr0grog/5183-disambiguate-loading-from-main-frame-loading
...
Add `isLoadingMainFrame()` to WebContents
2016-04-20 20:49:56 +09:00
Cheng Zhao
965c3f605e
Merge pull request #5197 from deepak1556/client_certificate_patch
...
app: api to import client certificate
2016-04-20 14:35:00 +09:00
Rob Brackett
d3e879cd7f
Change WebContents::IsLoadingMainFrame
to compare SiteInstances
...
(per @deepak1556's recommendation)
Also updates tests to cover the situation where navigating between pages from the same potential "site" and adds generalized tests for `isLoadingMainFrame()`.
2016-04-19 22:05:09 -07:00
Cheng Zhao
d3bff7fffc
Merge pull request #5208 from deepak1556/devtools_dock_state_patch
...
devtools: allow opening in specified dock state
2016-04-20 13:34:52 +09:00
deepak1556
794d120754
rename importClientCertificate => importCertificate
2016-04-20 08:45:49 +05:30
Rob Brackett
942971b01a
Fix linting errors.
2016-04-19 19:20:59 -07:00
Cheng Zhao
18f5fcde60
Fix some coding style issues
2016-04-20 09:18:50 +09:00
Cheng Zhao
eb9e0e5534
Merge pull request #4922 from electron/bengotow/sheet-offset
...
Allow sheets to be attached at a custom offset #4679
2016-04-20 08:55:42 +09:00
Cheng Zhao
8ca1a6961c
Merge pull request #5147 from deepak1556/devtools_network_controller_patch
...
session: set client id when enabling network emulation
2016-04-20 08:52:59 +09:00
deepak1556
58dfad4d01
devtools: allow opening in specified dock state
2016-04-19 18:12:05 +05:30
deepak1556
2d8286515d
expose api only on platforms using nss cert database
2016-04-19 11:29:24 +05:30
Ben Gotow
414245f4d8
Keep function placement consistent
2016-04-18 22:45:38 -07:00
Ben Gotow
8f89cd2d59
Move "setSheetOffset" to the BrowserWindow
2016-04-18 22:39:12 -07:00
deepak1556
ddf962c6ea
client_id is accessed on different threads
2016-04-19 10:01:38 +05:30
Rob Brackett
64a84dee3b
Add isLoadingMainFrame
method to WebContents.
...
Also switch `webContents.executeJavaScript` to check it instead of `isLoading`.
There doesn’t seem to be a reasonable public way to get this information out of Chromium, so it’s synthesized here based on WebContentsObserver callbacks.
Fixes #5183 .
2016-04-18 10:37:08 -07:00
deepak1556
919be67cd2
remove --client-certificate flag
2016-04-18 22:26:37 +05:30
deepak1556
1240c83e40
set trust bits for CA certs
2016-04-18 21:05:33 +05:30
deepak1556
b8e04f4947
set client id on AtomNetworkDelegate instead of cmd line switch
2016-04-18 11:35:24 +05:30
Cheng Zhao
34319abf4a
Initialize the embedder_ member data
...
Otherwise it is going to be some random value and bite us.
2016-04-18 14:52:03 +09:00
deepak1556
e81cec4058
app: api to import client certificate
2016-04-18 10:54:43 +05:30
deepak1556
fcf04377d7
set network emulation client id in request headers
2016-04-18 10:49:00 +05:30
Cheng Zhao
0bf1e56156
Update brightray for electron/brightray#212
2016-04-18 13:59:15 +09:00
Ben Gotow
65c37fe64b
Create local variable to typecast view
2016-04-16 10:57:39 -04:00
Ben Gotow
c87c49f4c8
Allow sheets to be attached at a custom offset #4679
...
Adds a new "setSheetOffset" API to the `dialog` module, which allows you to change the attachment point for sheets on Mac OS X. I put the API on the dialog module, even though Mac OS X requires that the native window hold and return the desired offset.
1. I was originally hoping to make this an argument on the actual dialog.show* calls, but it seems the parameter set is defined in `libchromiumcontent` and I wasn't sure it would be appropriate to add there?
2. The API could also be on the BrowserWindow (eg `BrowserWindow.setSheetOffset`). I don't have a strong preference, but I think it's more discoverable on the `dialog` module.
2016-04-16 10:16:43 -04:00
Cheng Zhao
aefb672393
Bump v0.37.6
2016-04-15 16:48:09 +09:00
Cheng Zhao
075da45b74
Merge pull request #5155 from electron/mac-background-color
...
Set the backgroundColor of RenderWidgetHostView
2016-04-15 08:48:09 +09:00
Cheng Zhao
b84a178ceb
Set the backgroundColor of RenderWidgetHostView
2016-04-14 21:52:17 +09:00
Cheng Zhao
64d37065bd
Merge pull request #5117 from deepak1556/devtools_security_panel_patch
...
provide security style for devtools security panel
2016-04-14 20:23:58 +09:00
deepak1556
54545a8a6e
provide security style for devtools security panel
2016-04-14 16:20:14 +05:30
Cheng Zhao
11ba1832d1
Only transparent window does not have background color
2016-04-14 19:35:31 +09:00
Cheng Zhao
31eb793fb0
Avoid adding a new option to webPreferences
2016-04-14 10:50:07 +09:00
Cheng Zhao
43c44da50b
Correctly set initial visibilityState
2016-04-13 23:07:28 +09:00
Cheng Zhao
92882c358a
No more need to delay did-fail-load event
2016-04-13 19:33:59 +09:00
Cheng Zhao
3780d9f033
Use LowMemoryNotification for GC
2016-04-13 17:58:36 +09:00
Cheng Zhao
99a9aa085e
views: Delay the focus/blur event to next tick
2016-04-13 11:02:34 +09:00
Cheng Zhao
2fbe06a2a5
Handle the Page.reload command coming from devtools
2016-04-12 16:36:12 +09:00
Cheng Zhao
a07612c1ed
Merge branch '5074-did-get-response-details-resource-type' of https://github.com/Mr0grog/electron into Mr0grog-5074-did-get-response-details-resource-type
2016-04-11 21:05:40 +09:00
Cheng Zhao
5659ee5c0b
Merge pull request #5030 from deepak1556/webrequest_response_headers_patch
...
session: webRequest.OnHeadersReceived should accept status line.
2016-04-11 20:04:32 +09:00
Rob Brackett
1a842bf9d5
Fix trailing whitespace caught by linter.
2016-04-08 13:15:40 -07:00
Rob Brackett
c1b1348735
Add resourceType
arg to webContents did-get-response-details
event.
...
Fixes #5074 and follows @zcbenz's recommendation to expose ResourceTypeToString from atom_network_delegate publicly.
Also adds testing for other arguments to the `did-get-response-details` events, since there were no existing tests for them.
2016-04-08 11:19:36 -07:00
deepak1556
3fb39ad3ef
provide option to override status line
2016-04-08 14:03:57 +05:30
Cheng Zhao
d156846036
Add backgroundThrottling option to webPreferences
2016-04-08 15:54:33 +09:00
deepak1556
4fc35a4587
session: webRequest.OnHeadersReceived should follow server redirect
...
Its required to follow server redirects.
2016-04-08 11:40:43 +05:30
Cheng Zhao
82856eb099
Merge pull request #5029 from Mr0grog/5013-add-main-frame-param-for-did-fail-load
...
Add `isMainFrame` param to WebContents `did-fail-load` event
2016-04-07 20:22:02 +09:00
Cheng Zhao
7d3f8cb222
Merge pull request #5009 from deepak1556/context_creation_patch
...
browser: create cert verifier when browser context is created
2016-04-07 16:18:55 +09:00
Cheng Zhao
efb0fc2ea5
Merge pull request #4968 from phamdaniel/exit-events
...
Don't emit 'will-quit' when 'app.exit()' is called.
2016-04-07 16:14:35 +09:00
Cheng Zhao
adb112e970
Merge pull request #5056 from electron/fix-a11y-reader
...
Fix NVDA/JAWS support in Electron
2016-04-07 16:11:05 +09:00
Cheng Zhao
548febfa4c
Fix style issues
2016-04-07 15:23:16 +09:00
Ben Gotow
e0ee60f290
Fix memory leak
2016-04-07 15:21:07 +09:00
Ben Gotow
91457fe739
Support images larger than self.bounds
2016-04-07 15:21:07 +09:00
Ben Gotow
f9644463a9
Fix broken template image support in Tray icon
...
Between Electron `0.30.x` and `0.37.x`, the tray icon stopped automatically inverting template images when highlighted. NSImageView normally uses the correct color for template images magicaly, but I think the addition of event handlers in the container view prevents the image view from determining highlight state.
This PR switches to drawing the image manually. The `drawRect` function decides whether to use `image` or `alternateImage`(pressed image) and then if that image is marked as a template, it fills it with the same color used for the text before drawing it.
2016-04-07 15:21:07 +09:00
Cheng Zhao
55b8e9aa44
Bump v0.37.5
2016-04-07 10:34:25 +09:00
Paul Betts
6e7aa6d299
Even though this call is probably fast, it can potentially happen a lot, make it _really_ fast
2016-04-06 10:44:39 -07:00
Paul Betts
c474ad0913
Revert "Remove custom WM_GETOBJECT"
...
This reverts commit 705001a50e
.
2016-04-06 10:16:41 -07:00
Rob Brackett
f12f87d6f0
Add isMainFrame
as last argument to WebContents did-fail-load
event.
...
Fixes #5013 .
2016-04-04 19:26:06 -07:00
Kevin Sawicki
fc84c952f2
Update source code for new org
2016-04-04 12:07:22 -07:00
Cheng Zhao
fdb138f79c
Bump v0.37.4
2016-04-03 18:31:23 +09:00
deepak1556
769ba02b2a
browser: create cert verifier when browser context is created
2016-04-03 10:01:47 +05:30
Cheng Zhao
491bf30a15
Window with frame should have white background by default
2016-04-03 12:04:58 +09:00
Cheng Zhao
f94661547c
mac: backgroundColor should not change titlebar color
2016-04-03 11:59:21 +09:00
Cheng Zhao
9828875ebc
Set the background color of RenderViewHost to transparent
2016-04-03 10:42:49 +09:00
Cheng Zhao
1980d85f3e
Fix converting SkColor to NSColor
...
Close #4992 .
2016-04-02 21:18:15 +09:00
Cheng Zhao
cb470cb94b
Use BrowserWindow's backgroundColor as renderer view's background color
2016-04-02 20:46:50 +09:00
Kevin Sawicki
ee9128268e
Rename atom.icns to electron.icns
2016-04-01 16:12:12 -07:00
Cheng Zhao
576b54320a
Fix compilation errors on Windows
2016-04-01 16:34:20 +09:00
deepak1556
e14c91771b
removed redundant delegation
2016-04-01 08:14:29 +05:30
deepak1556
e0fe478ae7
decide early on render initiated window creations
2016-04-01 08:14:29 +05:30
Robo
7016fbe258
browser: fix disposition value for new-window event
2016-04-01 08:14:29 +05:30
Kevin Sawicki
daa09ea9e7
Remove path for nodeIntgration value of 'disable'
2016-03-31 08:33:38 -07:00
Daniel Pham
6e46753499
Don't emit 'will-quit' when 'app.exit()' is called. Fixes #4643
2016-03-31 10:18:18 -04:00
Cheng Zhao
293ca4ef55
Merge pull request #4929 from deepak1556/url_request_fetch_job_patch
...
protocol: return status of ReadRawData instead of relying on SetStatus
2016-03-31 19:37:28 +09:00
Cheng Zhao
c220753c60
Merge pull request #4896 from felixrieseberg/default-protocol-handler
...
Enable Electron to set/unset itself as default protocol handler (OS X, Windows)
2016-03-31 10:38:57 +09:00
Cheng Zhao
0e3737423b
Merge pull request #4843 from jwheare/mac-swipe-events
...
OSX: Expose 3-finger swipe events in browser-window
2016-03-31 10:37:27 +09:00
Felix Rieseberg
1231360b2f
⚡ Add API: RemoveAsDefaultProtocolHandler
2016-03-28 15:31:01 -07:00
deepak1556
73201e419d
protocol: return status of ReadRawData instead of relying on SetStatus
2016-03-28 02:09:56 +05:30
Cheng Zhao
e401335ebb
Get rid of the global_env
2016-03-27 19:21:12 +09:00
Cheng Zhao
75f0942057
Bump v0.37.3
2016-03-27 12:16:12 +09:00
Felix Rieseberg
d2567b0381
⚡ Add API: SetASDefaultProtocolHandler
...
This PR adds an API enabling Electron to set itself as the default
protocol handler for a custom porotocl on both oS X and Windows.
For details, please see `docs/app.md`.
Closes #4857
2016-03-23 22:12:17 -07:00
James Wheare
8482109dea
Switch to a single OS X swipe event with a direction argument
2016-03-23 15:20:11 +00:00
Kevin Sawicki
6aa452cda4
Set _setDeprecatedOptionsCheck on exports
2016-03-18 09:06:03 -07:00
James Wheare
03319a5426
OSX: Capture 3-finger swipe events in NativeWindow
2016-03-18 15:21:19 +00:00
Kevin Sawicki
c31882749d
Correct typos in comments
2016-03-17 13:37:08 -07:00
Kevin Sawicki
15397bf879
Report deprecated BrowserWindow options
2016-03-17 13:37:07 -07:00
Cheng Zhao
e50ba35871
Merge pull request #4777 from deepak1556/webview_background_patch
...
webview: allow setting background color
2016-03-15 21:12:04 +09:00
Robo
cdc7b8d15e
devtools: fix filesyatem api usage and use prefs to track filesystem paths
2016-03-15 07:51:36 +05:30
Robo
fd53a4b24d
modify default background for all render views
2016-03-14 19:26:20 +05:30
Robo
f8f3fba433
webview: allow setting background color
2016-03-14 15:01:36 +05:30
Cheng Zhao
e92d002eec
Bump v0.37.2
2016-03-14 17:22:09 +09:00
Cheng Zhao
17f97bed30
Merge pull request #4793 from atom/gtk-dialog-extension
...
Add extension to filename automatically for GTK+ save dialog
2016-03-14 17:21:49 +09:00
Cheng Zhao
c2797e1864
Replace extension with the one in filter
2016-03-14 17:08:32 +09:00
Cheng Zhao
81a16b424f
Add extension to filename automatically for GTK+ save dialog
2016-03-14 16:28:01 +09:00
Cheng Zhao
73a5f323e7
Merge pull request #4788 from deepak1556/find_in_page_patch
...
webcontents: provide position of match with found-in-page event
2016-03-14 15:03:38 +09:00
Cheng Zhao
9a13d559e9
Leak the JavascriptEnvironment on exit
...
This is to work around the bug that V8 would be waiting for background
tasks to finish on exit, while somehow it waits forever in Electron, more
about this can be found at https://github.com/atom/electron/issues/4767 .
On the other handle there is actually no need to gracefully shutdown V8
on exit in the main process, we already ensured all necessary resources get
cleaned up, and it would make quitting faster.
2016-03-14 13:59:31 +09:00
Robo
8378cbb1e8
webcontents: provide position of match with found-in-page event
2016-03-14 06:49:45 +05:30
Robo
48064ee7e9
browser: fix retrieving webcontents from associated process id
2016-03-14 04:14:04 +05:30
Cheng Zhao
d96e03c402
Bump v0.37.1
2016-03-13 10:11:26 +09:00
Cheng Zhao
b10f196d16
Bump v0.37.0
2016-03-12 09:54:10 +09:00
Cheng Zhao
cd327e65cb
Revert "Bump v0.37.0"
...
This reverts commit aebfbf7782
.
We have troubles with linux-ia32 release.
2016-03-11 22:20:11 +09:00
Cheng Zhao
aebfbf7782
Bump v0.37.0
2016-03-11 21:47:32 +09:00
Cheng Zhao
6aec1e6949
Merge pull request #4714 from atom/chrome49
...
Upgrade to Chrome 49
2016-03-11 21:39:52 +09:00
Cheng Zhao
ead94b7b1f
Bump v0.36.11
2016-03-11 20:09:19 +09:00
Cheng Zhao
03ec5ced05
Merge pull request #4751 from maxbeatty/window-blur
...
Add blur method to window
2016-03-11 19:15:51 +09:00
Max Beatty
704b8335aa
Add blur method to window ref #4724
2016-03-10 21:45:51 -08:00
Arek Sredzki
fcc1f4d7ed
Finalized browser-window show & hide events, added tests & fixed os x implementation
2016-03-10 13:51:31 -08:00
Arek Sredzki
c1267b2320
Added 'show' & 'hide' events to browser-window, fixed visibilitychange event in renderer
2016-03-10 13:51:31 -08:00
Cheng Zhao
20466bad8f
Fix cpplint warnings
2016-03-10 17:06:23 +09:00
Cheng Zhao
89f17e0baf
Create complete URLRequestContextGetter for URLRequestFetchJob
...
The trivial one is causing crashes.
2016-03-10 17:06:23 +09:00
Paul Betts
f4ec369873
More boring fixups
2016-03-10 17:06:22 +09:00
Paul Betts
1c01e4955f
Modifiers moved under UI
2016-03-10 17:06:22 +09:00
Paul Betts
12e9b7ab88
Use assignment operator since both sides are scoped now
2016-03-10 17:06:22 +09:00
Paul Betts
60a2495b30
Update Get() => get(), Set() => reset()
2016-03-10 17:06:22 +09:00
Cheng Zhao
bfc6d77bb3
Pending renderer process no longer has render view attached
2016-03-10 17:06:22 +09:00
Cheng Zhao
6de9c4332f
Fix passing Promise with remote
...
Somehow using value.then.bind(value) would result in infinite loop,
could be bug of Chromium.
2016-03-10 17:06:22 +09:00
Cheng Zhao
dd4d3db47b
Fix node integration not working
2016-03-10 17:06:21 +09:00
Cheng Zhao
a31cbd24a1
Final pieces of int16 and .Pass()
2016-03-10 17:06:21 +09:00
Cheng Zhao
f29d633563
Fix cpplint warnings
2016-03-10 17:06:21 +09:00
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Paul Betts
4503aafe64
int32 => int32_t
2016-03-10 17:06:21 +09:00
Paul Betts
d2944c62a5
basictypes.h => macros.h
2016-03-10 17:06:21 +09:00
Kevin Sawicki
c47ad29124
Move default_app to root of repo
2016-03-08 11:14:21 -08:00
Kevin Sawicki
70aa9b06ee
Move JavaScript to root lib/ folder
2016-03-08 11:14:21 -08:00
Cheng Zhao
a9c40de393
Merge pull request #4680 from atom/resizable-linux
...
Respect initial resizable window option on Linux
2016-03-08 19:46:40 +09:00
Cheng Zhao
549cccfce4
Merge pull request #4715 from dongjoon-hyun/fix_typos_in_comments
...
Fix typos in comments.
2016-03-08 19:45:05 +09:00
Dongjoon Hyun
0c92d44077
Fix typos in comments.
2016-03-07 20:22:03 -08:00
Machisté N. Quintana
2bfc7aa152
Add mapping for performZoom
2016-03-07 16:01:46 -08:00
Machisté N. Quintana
eae5cc9d2c
🎨 [ci skip]
2016-03-07 15:53:09 -08:00
Machisté N. Quintana
03434f45bb
Map webContents.delete to role
2016-03-07 15:50:33 -08:00
Machisté N. Quintana
4ded709307
Map selectors for delete and pasteAndMatchStyle to roles
2016-03-07 15:42:32 -08:00
Kevin Sawicki
ad3f4a26fd
Restore setting resizable property from ctor on Windows
2016-03-07 13:53:57 -08:00
Kevin Sawicki
7de37859f0
Set resizable on Linux from InitWithOptions
2016-03-07 13:48:33 -08:00
Kevin Sawicki
38acc7090b
Contrain size in ctor on non-resizable windows
2016-03-07 10:11:30 -08:00
Cheng Zhao
0e2ac2d802
Merge pull request #4646 from phamdaniel/dark-mode
...
Add API to check OSX's Dark theme
2016-03-07 09:53:03 +09:00
Daniel Pham
68b453770b
🍎 Rename 'isDarkModeEnabled' to 'isDarkMode'
2016-03-06 10:55:47 -05:00
Cheng Zhao
2a0be28111
Merge pull request #4682 from phamdaniel/ismaximized
...
Fix `isMaximized()` in window for when resizable is set to false on OSX
2016-03-06 19:23:46 +09:00
Cheng Zhao
d93ccd47a8
Merge pull request #4670 from atom/cmd-backtick-order
...
Use sendAction for cycling windows
2016-03-06 16:17:38 +09:00
Cheng Zhao
2515425cd5
Remove duplicated keyboard code
2016-03-06 15:04:05 +09:00
Cheng Zhao
114801d412
Remove the duplicate logic on OS X
2016-03-05 21:54:41 +09:00
Cheng Zhao
2be368bded
SetFullScreen should not work at all when not fullscreenable
...
This follows the logic of OS X.
2016-03-05 21:38:06 +09:00
Cheng Zhao
f5d79677fa
Merge branch 'will-fullscreen' of https://github.com/MaxWhere/electron
2016-03-05 21:30:41 +09:00
Cheng Zhao
c0b87c1a62
Merge pull request #4656 from princejwesley/menu-item-click
...
Add platform predicate for menu item action
2016-03-05 21:13:59 +09:00
Cheng Zhao
23b92ef9ec
Fix passing certificate to select-client-certificate's callback
2016-03-05 18:57:46 +09:00
Daniel Pham
d5f5cdb45a
🍎 Fix 'isMaximized()' for non resizable windows
2016-03-05 01:39:48 -05:00
Cheng Zhao
33978455b8
Bump v0.36.10
2016-03-05 12:00:06 +09:00
Kevin Sawicki
67edcc8f91
Initially set resizable property on Linux
2016-03-04 16:12:58 -08:00
Kevin Sawicki
fe9e026f9e
getObjectMemebers -> getObjectMembers
2016-03-04 15:57:21 -08:00
Daniel Pham
63294892f0
Rename dark-mode-changed to platform-theme-changed
2016-03-03 23:58:58 -05:00
Kevin Sawicki
be67dca686
Use _cycleWindows selector to implement cmd-`
2016-03-03 20:53:58 -08:00
Daniel Pham
b1eefbdcd9
Simplify the isDarkModeEnabled check
2016-03-03 23:48:30 -05:00
Prince J Wesley
f02affbc18
🐛 Add platform predicate for menu item action
2016-03-03 08:38:32 +05:30
Daniel Pham
c4049cb393
🍎 Add 'dark-mode-changed' event to app api
2016-03-01 15:43:38 -05:00
Daniel Pham
eaac67ac60
🍎 Add 'isDarkModeEnabled' to app api
2016-03-01 13:12:21 -05:00
brenca
a06392459e
Making fullsceenable work on Linux
2016-02-27 22:37:42 +01:00
Heilig Benedek
bb42c85df8
resolve update conflicts
2016-02-27 03:23:10 +01:00
Heilig Benedek
bb0ac688b2
Reverted SetFullscreenable disabling maximize button on Windows and removed that from the docs.
2016-02-27 03:07:53 +01:00
Cheng Zhao
7de97a55f7
Merge pull request #4609 from MaxWhere/framesubscriber-fix
...
🐎 framesubscriber speed and quality improvement
2016-02-26 23:21:42 +08:00
Cheng Zhao
b25c8ca621
Merge pull request #4616 from deepak1556/media_device_enumeration_patch
...
browser: allow enumeration of media device labels
2016-02-26 22:07:35 +08:00
Cheng Zhao
ebfc127628
Merge pull request #4522 from deepak1556/async_execute_javascript_patch
...
webContents: provide responses for executeJavscript method
2016-02-26 21:17:47 +08:00
Robo
fce641aab6
browser: allow enumeration of media device labels
2016-02-26 16:31:20 +05:30
Cheng Zhao
a67b29d8d2
Bump v0.36.9
2016-02-26 02:18:27 +00:00
Heilig Benedek
4bfa03e5f4
Removed an include no longer needed
2016-02-26 02:13:17 +01:00
Heilig Benedek
3f0d598a59
Merge atom/master
2016-02-26 02:05:57 +01:00
Robo
1235907835
run webframe methods for webview in its context
2016-02-26 05:14:45 +05:30
Heilig Benedek
9a0372b61b
Removed size_ since it's not needed anymore
2016-02-25 23:48:58 +01:00
Cheng Zhao
0ea80f674b
Merge pull request #4595 from dongjoon-hyun/rename_function_filter_accelerator
...
Rename function `FilterAccecelator` to `FilterAccelerator` in `submenu.cc`
2016-02-25 21:18:57 +08:00
Robo
8386baf267
add spec
2016-02-25 11:46:30 +05:30
Robo
a734326907
track async api requests
2016-02-25 11:45:59 +05:30
Robo
2b547bd44a
webContents: provide responses for executeJavscript method
2016-02-25 11:45:59 +05:30
Cheng Zhao
d00490271b
Merge pull request #4518 from deepak1556/webview_host_window_patch
...
webview: api to get host browser window
2016-02-25 12:26:53 +08:00
Dongjoon Hyun
fee56df400
Rename function FilterAccecelator
to FilterAccelerator
in submenu_button.cc
.
2016-02-24 11:15:21 -08:00
Robo
6fcc197db8
webview: api to get webcontents and associated host webcontents
2016-02-24 11:55:15 +05:30
Cheng Zhao
8ff30a2abc
Revert "protocol: respect requests from partition"
...
This reverts commit 85800256de
.
2016-02-24 13:25:30 +08:00
Cheng Zhao
bb1e4c2208
Revert "add docs"
...
This reverts commit bdfc19ad20
.
2016-02-24 13:25:22 +08:00
Cheng Zhao
a63193c826
Merge pull request #4551 from deepak1556/protocol_session_patch
...
protocol: respect requests from partition
2016-02-24 12:03:37 +08:00
Cheng Zhao
49f995925c
Notify the global menu bar when window is mapped
2016-02-23 15:43:32 +08:00
Robo
bdfc19ad20
add docs
2016-02-23 12:54:20 +05:30
Heilig Benedek
39bb670719
Revert will-enter-full-screen event, matching osx fullscreen: false behaviour on windows instead
2016-02-22 10:23:56 +01:00
Cheng Zhao
96b2705bd3
Fix render-view-deleted being emitted twice
2016-02-22 15:24:19 +08:00
Cheng Zhao
6753fcc1b4
Get rid of the ATOM_BROWSER_RELEASE_RENDER_VIEW event
2016-02-22 15:24:19 +08:00
Cheng Zhao
593a79ce20
Separate renderer functions by renderer process ID
...
Close #4324 .
2016-02-22 15:24:18 +08:00
Cheng Zhao
d4c954870a
Remove a few CoffeeScript generated junks
2016-02-22 15:24:18 +08:00
Cheng Zhao
59d6e7d6ef
ObjectsRegistry no longer needs to send events
2016-02-22 15:24:18 +08:00
Cheng Zhao
2b04af4349
No longer need to count the references in webContents
...
All remote objects are now cached in renderer process, so there is
always only one reference to one remote object for each webContents.
2016-02-22 15:24:18 +08:00
Cheng Zhao
c65cfadd09
v8Util.createObjectWithName is no longer used
2016-02-22 13:05:58 +08:00
Cheng Zhao
67324ce732
Keep the prototype chain in remote objects
2016-02-22 12:35:51 +08:00
Dongjoon Hyun
078c7bf8ab
Rename constant PERSIST_PERFIX
to PERSIST_PREFIX
in session.js
.
2016-02-21 00:16:53 -08:00
Robo
85800256de
protocol: respect requests from partition
2016-02-19 19:39:01 +05:30
Cheng Zhao
4b18317e7c
Bump v0.36.8
2016-02-19 14:38:36 +08:00
Kevin Sawicki
d3c6075841
Use background color as border color
2016-02-18 10:15:44 -08:00
Kevin Sawicki
1c37731065
under -> in
2016-02-18 10:15:44 -08:00
Kevin Sawicki
9b373f2e15
on -> to learn
2016-02-18 10:15:44 -08:00
Kevin Sawicki
4d011057b0
Only change background on hover
2016-02-18 10:15:44 -08:00
Kevin Sawicki
de37de1785
Add docs sentence in new paragraph
2016-02-18 10:15:43 -08:00
Kevin Sawicki
1520b2271a
Remove v before version
2016-02-18 10:15:43 -08:00
Kevin Sawicki
793527f82e
Update header style
2016-02-18 10:15:43 -08:00
Kevin Sawicki
db1c29f2f9
Remove parens around version
2016-02-18 10:15:43 -08:00
Kevin Sawicki
d48a61fdff
Tweak holder styles
2016-02-18 10:15:43 -08:00
Kevin Sawicki
c4859c3dc6
Use colors from Electron site
2016-02-18 10:15:43 -08:00
Cheng Zhao
a8cd435e30
Merge pull request #4538 from atom/cmd-tilde
...
mac: Simulate the behavior of cmd+~ when OS X didn't handle it
2016-02-18 18:57:04 +08:00
Cheng Zhao
12569f2c9d
mac: Simulate the behavior of cmd+~ when OS X didn't handle it
2016-02-18 18:32:13 +08:00
Heilig Benedek
2610aa60e9
🎨 lint fix
2016-02-18 01:19:41 +01:00
Heilig Benedek
7bf17f2541
Improved frame subscriber - now we only use framesubscription events as an event, and we copy from the backing store directly (instead of accessing it through a videoframe)
2016-02-18 01:15:00 +01:00
Kevin Sawicki
3f42909ecf
Call OpenExternal with new true default to activate arg
2016-02-17 08:56:59 -08:00
Ben Gotow
52db43eee5
Fix linter error
2016-02-17 08:56:58 -08:00
Ben Gotow
d8679b3899
Allow openExternal to open URLs in the background #3224
2016-02-17 08:56:58 -08:00
Cheng Zhao
7810f4293f
Merge pull request #4447 from KevinMartin/patch-3
...
Add ability to specify v8 flags in package.json
2016-02-17 10:42:29 +08:00
Kevin Jose Martin
ee0cac7d54
Remove command line switches, add v8 flags
2016-02-16 21:23:13 -05:00
Cheng Zhao
61a9316f67
Merge pull request #4496 from cesine/update/deps
...
fix dependencies badge which shows out of date
2016-02-16 22:18:51 +08:00
Cheng Zhao
44260634af
Merge pull request #4364 from atom/launch-url-or-file-directly-from-cli
...
Launch URL or HTML file directly
2016-02-16 16:13:10 +08:00
Cheng Zhao
7ca09de386
Merge remote-tracking branch 'origin/dont-write-empty-dev-tools-extensions-file'
2016-02-16 12:30:42 +08:00
cesine
2aff0c47d0
⬆️ 👕 updated to eslint 2.1.0
...
Verified migration doc (nothing to be done)
http://eslint.org/docs/user-guide/migrating-to-2.0.0
And made sure the eslint tasks passed
2016-02-15 22:30:29 -05:00
Cheng Zhao
66bb6a8534
Use weak pointer instead of manual bookkeeping
2016-02-16 10:44:10 +08:00
Cheng Zhao
1232a285e6
Merge pull request #4451 from MaxWhere/framesubscriber-fix
...
Fixing FrameSubscriber memory issue
2016-02-16 10:20:44 +08:00
Cheng Zhao
f3f6fa958e
Merge pull request #4449 from deepak1556/permission_helper_media_patch
...
browser: handle desktop capture devices in media permission request
2016-02-15 23:12:57 +08:00
Cheng Zhao
08e5c1f6fe
Merge branch 'webcontent_invalid_loadurl_patch' of https://github.com/deepak1556/atom-shell into deepak1556-webcontent_invalid_loadurl_patch
2016-02-15 21:14:54 +08:00
Cheng Zhao
e244d0db0c
Merge pull request #4421 from atom/dialog-icon-on-mac
...
Support configurable dialog icon on Mac
2016-02-15 16:48:43 +07:00
Cheng Zhao
18f31d7db9
Merge pull request #4398 from LartSimZ/master
...
Fix for issue #4369
2016-02-15 15:30:06 +07:00
Heilig Benedek
f36e2841bf
Don't fire callbacks after we end the subscription
2016-02-12 13:30:11 +01:00
Heilig Benedek
91c96559fa
Fixing the problem related to FrameSubscriber
2016-02-12 02:18:13 +01:00
Robo
c09ff40916
browser: handle desktop capture devices in media permission request
2016-02-12 05:07:06 +05:30
Kevin Sawicki
704bd4d191
Improve error message
2016-02-11 13:25:58 -08:00
Kevin Sawicki
c94f1fc857
Throw error when IPC channel is missing
2016-02-11 13:25:58 -08:00
Kevin Sawicki
55d4db1387
🎨
2016-02-11 13:25:57 -08:00
Kevin Jose Martin
dbb4e21684
Fix index increment
2016-02-11 15:41:36 -05:00
Kevin Jose Martin
6d2ad5ae58
Add ability to specify command line switches in package.json
2016-02-11 15:34:19 -05:00
Robo
5a8bebc2f8
browser: emit did-fail-load for invalid url
2016-02-12 01:52:42 +05:30
Kevin Sawicki
7da4c3acf7
Use const for util require
2016-02-09 14:54:18 -08:00
Kevin Sawicki
6617592224
Remove lint errors
2016-02-09 14:54:18 -08:00
Kevin Sawicki
c842ca1f12
Don't use ES6 class for AutoUpdater windows class
2016-02-09 14:54:17 -08:00
gellert
664f95a7b4
fixes osx request call
2016-02-09 01:39:27 +01:00
Heilig Benedek
a8ae14e94f
Introducing a will-enter-full-screen event that's cancellable
2016-02-09 01:17:05 +01:00
Kevin Sawicki
756aeffe03
Set icon on NSAlert when specified
2016-02-08 15:18:05 -08:00
Michael Vasseur
702455674b
Using node::Buffer::Copy() instead of node::Buffer::New() to copy the handle bytes to buffer make the buffer really contains the data.
2016-02-07 10:20:38 +01:00
Kevin Sawicki
fa4ad9d95f
Tweak help message for new path options
2016-02-04 10:45:52 -08:00
Kevin Sawicki
f482ea4902
loadPackagePath -> loadApplicationPackage
2016-02-04 10:35:17 -08:00
Kevin Sawicki
b74dd43ff5
Support opening file: URLs directly
2016-02-04 10:34:36 -08:00
Kevin Sawicki
312182e0bd
Add support for launching HTML files directly
2016-02-04 10:33:22 -08:00
Kevin Sawicki
69687c92e9
Add support for launching http URL directly
2016-02-04 10:26:11 -08:00
Kevin Sawicki
2e96cab6aa
Extract helper function to load specified app
2016-02-04 10:07:19 -08:00
Kevin Sawicki
8df3856c8f
Use const for fs/path requires
2016-02-04 09:16:40 -08:00
Kevin Sawicki
adfa4844d1
Don't return anything from will-quit handler
2016-02-03 17:15:28 -08:00
Kevin Sawicki
6252511b7f
Delete extensions file when there are no loaded extensions
2016-02-03 17:12:09 -08:00
Kevin Sawicki
8bd07af5e5
Correct typo in comment
2016-02-03 16:22:16 -08:00
Cheng Zhao
50d69fd9bb
Get rid of SavePathData
2016-02-02 20:11:39 +08:00
Cheng Zhao
eaa60e9c17
Destroy the item once item is downloaded
2016-02-02 19:54:41 +08:00
Cheng Zhao
12d311fd29
Gracefully destroy downloadItem
2016-02-02 19:52:09 +08:00
Cheng Zhao
65cf85808f
Calling cancel() should destroy the downloadItem
2016-02-02 19:05:58 +08:00
Cheng Zhao
f1f91828ba
Rely on OnDownloadDestroyed to destroy downloadItem
2016-02-02 18:49:43 +08:00
Cheng Zhao
f624800881
Merge pull request #4314 from deepak1556/download_cancel_patch
...
fix crash when default download is canceled
2016-02-02 18:40:44 +08:00
Robo
2819af9586
fix lifetime of downloadItem class when defaultdownload canceled
2016-02-02 15:54:51 +05:30
Cheng Zhao
b2d44a94ce
Merge pull request #4312 from deepak1556/host_resolver_cache_clear_patch
...
session: api to clear host resolver cache
2016-02-02 13:49:35 +08:00
Robo
ce2ea963b9
session: api to clear host resolver cache
2016-02-02 02:06:49 +05:30
Robo
045e42a10c
fix crash when default download is canceled
2016-02-02 00:26:37 +05:30
Cheng Zhao
7d68ca21c8
No need of DefaultWebContentsDelegate
2016-02-01 21:09:12 +08:00
Cheng Zhao
159fb857f4
No need to override RequestToLockMouse in CommonWebContentsDelegate
2016-02-01 21:05:29 +08:00
Cheng Zhao
69f93a7528
Merge pull request #4223 from deepak1556/notification_disable_patch
...
session: add setPermissionRequestHandler api
2016-02-01 20:51:22 +08:00
Robo
ff5fb512b8
use mediastreamdevicescontroller from brightray to enumerate available devices
2016-02-01 17:45:53 +05:30
Robo
b575cd0ef9
add fullscreen permission type
2016-02-01 16:22:05 +05:30
Cheng Zhao
6c282775a9
Merge pull request #4301 from ragingwind/set-icon-crash
...
Fix type cast of sharedApplication
2016-02-01 18:46:20 +08:00
Robo
45eada306f
add pointerlock permission type
2016-02-01 15:13:49 +05:30
Cheng Zhao
e450d1586e
Merge pull request #4288 from MaxWhere/master
...
Adding cursor-changed event to webContents
2016-02-01 17:03:16 +08:00
ragingwind
d2ec311c55
Fix type cast of sharedApplication
2016-02-01 17:17:22 +09:00
Robo
db26dcaf4c
expose handler from session and remove permission-request event
2016-02-01 12:23:51 +05:30
Heilig Benedek
745253a369
Quick fix for the memory leak + docs
2016-02-01 07:17:58 +01:00
Cheng Zhao
457c7f55e6
Merge pull request #4271 from thingsinjars/master
...
🍎 Add 'Hide' to App API for OS X only
2016-02-01 12:54:07 +08:00
Robo
04c3e083fb
remove unnecessary getter
2016-02-01 00:43:29 +05:30
Heilig Benedek
066c189249
Renamed some cursor types to their CSS names and added a way to handle custom cursors properly.
2016-01-31 17:00:14 +01:00
Heilig Benedek
61e0219e91
Added documentation, restructured the files to fit better with electron's style and fixed a typo in keyboard_util's name.
2016-01-31 02:27:14 +01:00
Simon Madine
f9efdc4435
🍎 Add Show to API for OS X
2016-01-30 22:30:38 +01:00
Robo
f7556de9fb
add spec for new permissions
2016-01-30 19:10:52 +05:30
Robo
2a278ceb8f
delegate to permission manager for other permissions
2016-01-30 16:49:18 +05:30
Heilig Benedek
0c9174bc7c
Introduced the cursor-changed event with one parameter - the name of the cursor type
2016-01-30 06:33:55 +01:00
Cheng Zhao
9d8e23c822
Bump v0.36.7
2016-01-30 13:20:46 +08:00
Cheng Zhao
11e2058136
Merge pull request #4281 from atom/fix-object-destroyed
...
Fix the occasional `Object has been destroyed` exception in the main process
2016-01-30 13:20:09 +08:00
Cheng Zhao
3f68b2f227
Check whether sender is destroyed before calling sender.send
...
Fix #4279 .
2016-01-30 12:58:21 +08:00
Cheng Zhao
5d16257c2d
Fix "Object has been destroyed" error in "page-title-updated" event
...
Close #4249 .
2016-01-30 12:20:28 +08:00
Simon Madine
6a643ec3c8
Only add Hide if OS_X is defined
2016-01-29 22:51:06 +01:00
Luke Adams
839612c9ae
Bump minimum OSX version to 10.9
2016-01-29 13:57:48 -06:00
Simon Madine
7a370ccd0f
🍎 Add 'Hide' to App API for OS X only
2016-01-29 16:09:54 +01:00
Robo
f32bf08eb3
add spec
2016-01-29 15:23:28 +05:30
Robo
85e13333c3
webview: add permission-request event
2016-01-29 15:23:28 +05:30
Cheng Zhao
30b35644f6
Bump v0.36.6
2016-01-29 12:43:35 +08:00
Cheng Zhao
30ff18ac64
Merge branch 'webrequest_upload_data_patch' of https://github.com/deepak1556/atom-shell into deepak1556-webrequest_upload_data_patch
2016-01-28 18:41:39 +08:00
Robo
dc0151099c
session: provide uploadData with webrequest api when available
2016-01-27 18:39:40 +05:30
Paul P
cbf11f38ca
remove unused variable
2016-01-26 14:55:31 +00:00
Paul P
864449db89
prevent assignment to constant variable (url)
2016-01-26 14:44:46 +00:00
Cheng Zhao
a83aee90e5
No need to use scoped_nsobject for id
2016-01-25 15:15:58 +08:00
Cheng Zhao
059d97e1aa
Merge pull request #4181 from bengotow/scroll-touch-events
...
Extend NativeWindow to track touch-based scroll events on OS X
2016-01-25 14:47:54 +08:00
Cheng Zhao
253a4f226f
Merge pull request #4211 from ragingwind/dock-seticon
...
Add app.dock.setIcon to change icon of dock
2016-01-24 22:36:28 +08:00
Cheng Zhao
93cdc91f1a
Merge pull request #4206 from ragingwind/paramter-consistency
...
Update name of paramter for consistency
2016-01-24 22:11:01 +08:00
Cheng Zhao
e1e58b642e
Merge pull request #4182 from deepak1556/debugger_api_patch
...
browser: add webContents.debugger api
2016-01-24 21:43:18 +08:00
Cheng Zhao
7761815339
Merge branch 'bg-color-pr' of https://github.com/evgenyzinoviev/electron
2016-01-24 21:33:53 +08:00
Cheng Zhao
cc560a3900
spec: Fix failing tests on Windows
2016-01-24 14:31:37 +08:00
Cheng Zhao
c41de501cb
spec: Test the -able methods
2016-01-24 14:31:37 +08:00
Cheng Zhao
010cc3276a
Simplify the setStyleMask calls
2016-01-24 14:31:37 +08:00
Cheng Zhao
239bfe970c
Make hasShadow work on Windows/Linux
2016-01-24 14:31:37 +08:00
Cheng Zhao
d704b3f7ba
Reorgnize how attributes work
2016-01-24 14:31:37 +08:00
Cheng Zhao
ae7e96f181
Fix fullscreenable on EL Capitan
2016-01-24 14:31:36 +08:00
Cheng Zhao
5372b6cd91
Fullscreenable => FullScreenable
2016-01-24 14:31:36 +08:00
ragingwind
7229d2462a
Add app.dock.setIcon to change icon of dock
2016-01-24 08:30:14 +09:00
ragingwind
09966aec38
Update name of paramter for consistency
2016-01-23 22:59:05 +09:00
Cheng Zhao
31624995bc
Merge pull request #4202 from evgenyzinoviev/shadow-pr
...
Added hasShadow option to BrowserWindow on OS X
2016-01-22 23:56:38 -08:00
Cheng Zhao
8cabe0f008
Merge pull request #4156 from evgenyzinoviev/windows-pr
...
Improvements in BrowserWindow
2016-01-22 23:42:41 -08:00
Robo
d938dd68b0
wrap debugger for lazy initialization
2016-01-23 09:32:21 +05:30
evgenyzinoviev
ff41b4a267
added hasShadow option to BrowserWindow (osx)
2016-01-23 01:16:08 +01:00
evgenyzinoviev
2fcd3ce7cd
Support alpha in backgroundColor
2016-01-23 00:55:08 +01:00
evgenyzinoviev
85991d312a
mac: SetResizable fix
2016-01-22 23:44:17 +01:00
evgenyzinoviev
ef51e4e108
maximizable and fullscreenable
2016-01-22 23:21:46 +01:00
Cheng Zhao
984462be44
Remove Menu::Popup
2016-01-22 11:59:08 -07:00
Cheng Zhao
ca77c95c6d
No more need to override Menu::Popup
2016-01-22 11:27:17 -07:00
Cheng Zhao
0e3a3d0748
views: Remove PopupAtPoint
2016-01-22 11:25:16 -07:00
Cheng Zhao
5f195a789a
mac: Remove duplicate code of Popup
2016-01-22 11:17:12 -07:00
Cheng Zhao
360266ba5b
positioningItem => positioning_item
2016-01-22 10:51:51 -07:00
Cheng Zhao
ea9b0cfed0
Merge pull request #4192 from evgenyzinoviev/menu-pr
...
Menu.popup: specify positioning item (OS X)
2016-01-22 10:49:17 -07:00
Robo
3a60ab386c
add spec
2016-01-22 19:10:48 +05:30
Robo
df5bad3f89
fix api and docs
2016-01-22 10:27:25 +05:30
evgenyzinoviev
072ab0ddea
specify positioning item for popup menus
2016-01-22 03:18:27 +01:00
Ben Gotow
d186dceb4b
Add correct window check for wheel events. See description
...
Tested that with two windows, events are fired on the correct BrowserWindow instance and not both, and that scrolling a window which is in the background works properly.
2016-01-21 16:36:48 -08:00
Ben Gotow
e96e674201
Properly clean up NSEvent monitor
2016-01-21 16:31:31 -08:00
Ben Gotow
d492ff45d5
Rename up/down => begin/end
2016-01-21 16:31:09 -08:00
Cheng Zhao
a230a89de4
Bump v0.36.5
2016-01-21 17:04:38 -07:00
Jessica Lord
980bc7bf32
Use Alt in accelerator
2016-01-21 15:48:06 -07:00
Cheng Zhao
21f5e27a5e
Merge pull request #4161 from gabriel/master
...
Support backgroundColor for window on mac
2016-01-21 15:42:21 -07:00
Cheng Zhao
bbf622187c
Merge pull request #4178 from deepak1556/webview_blinkfeatures_attributes_patch
...
webview: add blinkfeatures attribute
2016-01-21 15:03:33 -07:00
Cheng Zhao
a98d576b48
Merge pull request #4177 from deepak1556/default_download_dir_patch
...
browser: change location of default download dir
2016-01-21 14:54:21 -07:00
Cheng Zhao
000625e23f
Merge pull request #4163 from deepak1556/web_preferences_fonts_patch
...
browser: add font related settings to webpreferences
2016-01-21 14:35:30 -07:00
Gabriel Handford
239baa3e9a
Support backgroundColor for window on mac
2016-01-21 11:07:33 -08:00
Robo
0e2323c9c8
browser: add webContents.debugger api
2016-01-21 23:52:23 +05:30
Ben Gotow
bd2252ea55
Extend NativeWindow to track touch-based scroll events on OS X
...
In N1, we want to implement the famous "swipe to archive" action on threads in the user's inbox. Chrome exposes `scroll` and `wheel` events, but these aren't sufficient to implement the interaction because the element needs to "snap" when the user lifts their fingers from the trackpad, not when they / we stop receiving `wheel` / `scroll` events. These events may stop before the user lifts their fingers, or continue after the user has lifted their fingers if they had enough momentum for the gesture to continue.
This exposes BrowserWindow `scroll-touch-down` and `scroll-touch-up`, which fire immeditaely when the user touches two fingers to the trackpad, and again when the user lifts their fingers. Combined with the existing wheel event should allow for "swipe-to-archive" and other similar interactions.
Note: This is only implemented on Mac OS X and the events don't fire unless you're using a trackpad!
Related: #1486 , #2683 , https://github.com/nylas/N1/issues/541
2016-01-21 09:40:21 -08:00
Kevin Sawicki
16b4b58de1
e -> error
2016-01-21 09:32:21 -07:00
Kevin Sawicki
b1f679ff6d
Clean up semicolon lint errors
2016-01-21 09:32:21 -07:00
Kevin Sawicki
70bcb0ac5a
Clean up no-unused-vars lint errors
2016-01-21 09:32:21 -07:00
Robo
fab34b400e
webview: add blinkfeatures attribute
2016-01-21 15:43:41 +05:30
Robo
c14dd71df1
browser: change location of default download dir
2016-01-21 13:51:37 +05:30
Robo
8a00406862
browser: add font related settings to webpreferences
2016-01-21 13:30:05 +05:30
Cheng Zhao
40557083f0
Merge pull request #4164 from deepak1556/menu_toggle_crash_patch
...
browser: fix crash when switching to sibling menu from submenus
2016-01-20 15:32:53 -07:00
Robo
65325dc63f
browser: fix crash when switching to sibling menu from submenus
2016-01-20 10:54:12 +05:30
Kevin Sawicki
517dce443b
Remove unused errorMessage reference
2016-01-19 11:02:12 -08:00
evgenyzinoviev
fd5c249cb8
fix for windows
2016-01-19 16:58:19 +01:00
evgenyzinoviev
0a79204abb
IsMovable to return true on Linux
2016-01-19 16:44:04 +01:00
evgenyzinoviev
c3049e1e99
docs updated
2016-01-19 16:14:59 +01:00
evgenyzinoviev
2a554cb138
added or/and improved closable, minimizable, movable, resizable features for windows on os x and windows
2016-01-19 16:14:57 +01:00
Cheng Zhao
775e475d5c
Merge pull request #4131 from etiktin/add_is_DWM_enabled
...
Add API for checking if DWM composition (Aero Glass) is enabled
2016-01-16 14:16:22 +08:00
Cheng Zhao
25afcf2673
Merge pull request #4121 from atom/format-coffee-helpers
...
Format leftover CoffeeScript helpers
2016-01-16 13:24:26 +08:00
Eran Tiktin
83b36ce40b
Add API for checking if AeroGlass/DWM is enabled
...
Resolves #1020
2016-01-16 06:27:44 +02:00
Cheng Zhao
712f11a9a3
Merge pull request #4112 from evgenyzinoviev/resize-animate-pr
...
Animate window resizing on OS X
2016-01-16 12:12:00 +08:00
Kevin Sawicki
5fc671f522
Add back v8Util binding
2016-01-15 14:29:36 -08:00
Kevin Sawicki
aab1568682
Use ES6 style class
2016-01-15 14:16:38 -08:00
Kevin Sawicki
02f055b784
Use ES6 style class
2016-01-15 14:12:57 -08:00
Kevin Sawicki
34030d7b2b
Use util.inherits instead of CoffeeScript's extend function
2016-01-15 10:17:45 -08:00
Kevin Sawicki
2833db78ad
Use [].inclues where appropriate
2016-01-15 10:17:45 -08:00
Kevin Sawicki
c2d473cf65
Remove unneeded [].indexOf fallback
2016-01-15 10:17:45 -08:00
evgenyzinoviev
64f310168c
code style fix
2016-01-15 17:40:42 +01:00
evgenyzinoviev
b75dccb0be
arguments handing rewritten, doc updated
2016-01-15 17:31:31 +01:00
Cheng Zhao
0937144849
Merge pull request #4111 from evgenyzinoviev/movable
...
Added an option to prevent a window from being moved on OS X
2016-01-15 23:24:22 +08:00
Cheng Zhao
9ccc7ee30d
Small ajustments on lifetime of webContents
2016-01-15 16:36:35 +08:00
Cheng Zhao
c10c419f1d
No need to call sender.callbacks.remove
...
The IDWeakMap automatically removes the key when object is garbage
collected.
2016-01-15 16:36:35 +08:00
Cheng Zhao
3875b30fcf
Merge pull request #4109 from atom/const
...
[WIP] Use `const` for requires
2016-01-15 16:32:07 +08:00
Cheng Zhao
39225ac5ec
Bump v0.36.4
2016-01-15 14:27:19 +08:00
evgenyzinoviev
2598b00b41
Animate window resizing on OS X
2016-01-15 05:59:58 +01:00
evgenyzinoviev
cda88db77c
Added option to prevent a window from being moved on OS X
2016-01-15 03:58:57 +01:00
Jessica Lord
003de0debe
Clean up variable declarations
2016-01-14 18:07:29 -08:00
Jessica Lord
ae2893ceaa
Inline var
2016-01-14 15:44:33 -08:00