Robo
d3055a5ca0
session: api to set proxy
2015-07-20 15:21:47 +05:30
Michael S. Barthelemy
6656afd57f
fix bug with computing the case where we should constrain via height
2015-07-17 10:25:30 -04:00
Cheng Zhao
3145c78b61
Merge pull request #2207 from deepak1556/fetch_job_patch
...
protocol: create separate request context for fetch job
2015-07-16 15:14:45 -07:00
Robo
de3ccc4b98
use current session when not defined
2015-07-17 02:00:43 +05:30
Michael S. Barthelemy
d0c6176640
wrap lines to meet Travis CI build requirements
2015-07-16 14:45:27 -04:00
Michael S. Barthelemy
7cdfa44438
shorten names
2015-07-16 14:31:01 -04:00
Michael S. Barthelemy
10faf314d4
fix line length issue
2015-07-16 14:26:48 -04:00
Michael S. Barthelemy
423ea00263
Merge branch 'master' into msb/aspect-ratio
2015-07-16 13:57:38 -04:00
Michael S. Barthelemy
666aca7803
add function maintainAspectRatioOfInteriorContent to BrowserWindow in order to enforce an aspect ratio for an electron window
2015-07-16 13:54:51 -04:00
Cheng Zhao
135aca02af
Bump v0.30.0
2015-07-17 01:01:25 +08:00
Robo
57244e4718
use request context from session if provided
2015-07-16 20:18:33 +05:30
Robo
8eb87c5d2b
protocol: create separate request context for fetch job
2015-07-16 20:18:33 +05:30
Cheng Zhao
02cadde8de
Merge pull request #2200 from atom/input_accept_attr
...
Enable 'accept' attribute in 'input' label.
2015-07-16 07:20:30 -07:00
Haojian Wu
21e5054fac
Make <input type="file"\> remember last used directory.
2015-07-16 19:29:12 +08:00
Cheng Zhao
a2c26b8c74
Fix hanlding trailing slash in asar package, close #2222
2015-07-16 03:49:26 -07:00
Haojian Wu
2cd6ad1a97
More code style fixing.
2015-07-16 18:42:20 +08:00
Haojian Wu
736fe0c1db
Fix OS X build error.
2015-07-16 11:43:42 +08:00
Haojian Wu
ed4c69343f
Add 'tray.popContextMenu()' Windows implementation.
2015-07-16 11:42:43 +08:00
Haojian Wu
4421fbf9f3
Implement 'tray.popContextMenu' API on OS X.
2015-07-16 10:50:53 +08:00
Haojian Wu
002eb1a326
Simplify code logic and fix object-c code style.
2015-07-16 10:49:55 +08:00
Cheng Zhao
9ee0d46734
Use CTRL+SHIFT+I for toggling devtools, fix #2205
2015-07-15 13:11:01 -07:00
Haojian Wu
5ad3fff6a0
Implement 'right-clicked' tray event on Windows.
2015-07-15 20:03:05 +08:00
Haojian Wu
cca4f4abd5
Implement 'right-clicked' tray event on OS X.
2015-07-15 19:32:00 +08:00
Haojian Wu
e54fda6b34
Introduce Electron custom statusItem view.
...
Reimplement tray functions on OS X by using custom statusItem view.
2015-07-15 18:26:39 +08:00
Cheng Zhao
1e9eccf959
Forward the crashed event to BrowserWindow, fix #2201
2015-07-14 15:13:41 -07:00
Cheng Zhao
c6f870d4e4
Fix cpplint warnings
2015-07-14 12:16:13 -07:00
Cheng Zhao
053594eae8
Set default user agent for WebContents
2015-07-14 12:13:25 -07:00
Cheng Zhao
1615c97ce8
Don't set two "Electron"s in user agent
2015-07-14 12:12:55 -07:00
Cheng Zhao
940db1d1dd
Provide default user agent in BrowserContext
2015-07-14 11:40:15 -07:00
Cheng Zhao
3ffd774405
Merge pull request #2197 from deepak1556/user_agent_patch
...
webContents: set http useragent settings when overriding user agent
2015-07-14 09:59:09 -07:00
Cheng Zhao
096439dce7
Don't expose "global" when node integration is off
2015-07-14 09:15:03 -07:00
Cheng Zhao
7f06072420
Avoiding creating static STL containers
...
It is OK under most cases, but if you happen to also use COM in your
application, you will have heap corruptions.
2015-07-14 17:33:16 +08:00
Cheng Zhao
5863ed4c33
win: Also map MESSAGE_BOX_TYPE_QUESTION to TD_INFORMATION_ICON
2015-07-13 21:51:19 -07:00
Cheng Zhao
14388feb23
Merge pull request #2187 from jprichardson/patch-1
...
emit error object on process.on('uncaughtException') in renderer
2015-07-13 21:46:06 -07:00
Cheng Zhao
868dee55de
The options of clearStorageData should be optional
2015-07-13 15:13:17 -07:00
Cheng Zhao
7dba4d1d8d
Call callback of ClearCache after cache is doomed
2015-07-13 14:27:07 -07:00
Cheng Zhao
34819140c3
Merge pull request #2102 from deepak1556/storage_cleanup_api_patch
...
app: api to clear data from different storage types
2015-07-13 12:34:48 -07:00
Cheng Zhao
9e8a118d10
Cleanup code
2015-07-14 03:23:19 +08:00
Cheng Zhao
0c7c6ddcc9
Merge pull request #2175 from atom/propagate-app-model-id
...
Propagate App Model User ID on Windows
2015-07-13 12:16:10 -07:00
Haojian Wu
04606a9f97
Enable 'accept' attribute in 'input' label.
2015-07-13 14:47:30 +08:00
Robo
cb4309bbd9
webContents: set http useragent settings when overriding user agent
2015-07-13 02:20:15 +05:30
JP Richardson
d6ae874038
emit error object on process.on('uncaughtException') in renderer
...
Chromium added the actual `error` object to the 5th parameter in `window.onerror`. This should be emitted as opposed to the `errorMsg` string. Worse yet, since `errorMsg` wasn't an instance of `Error`, any code that assumes this in any `process.on('uncaughtException')` handler would fail. Also, correctly emitting the error provides the stack trace.
This is now an HTML5 standard.
Sources:
- https://html.spec.whatwg.org/multipage/webappapis.html#errorevent
- https://mikewest.org/2013/08/debugging-runtime-errors-with-window-onerror
- https://code.google.com/p/chromium/issues/detail?id=147127
2015-07-10 14:38:03 -05:00
Robo
628fb5f5e9
app: api to clear data from different storage types
2015-07-10 11:31:30 +05:30
Cheng Zhao
967c273ddb
Always use top window's context for resolving url
...
Refs #2166 .
2015-07-10 13:57:09 +08:00
Cheng Zhao
5ae57baf11
Allow more insecure content when web-security is off
...
Close #2076
2015-07-10 13:29:46 +08:00
Cheng Zhao
7a390bdd4c
Merge pull request #2125 from deepak1556/protocol_cleanup
...
protocol: cleanup
2015-07-10 12:16:17 +08:00
Cheng Zhao
72f4884127
Merge pull request #2144 from deepak1556/clipboard_multiwrite_patch
...
clipboard: api to write multiple formats to same writer
2015-07-10 12:14:58 +08:00
Robo
c56b3425a9
read/write protocol handler map in IO
2015-07-10 09:33:36 +05:30
Robo
2d3e938a7f
clipboard: api to write multiple formats to same writer
2015-07-10 09:20:52 +05:30
Cheng Zhao
260ec96edd
Resolve relative urls in window.open, fix #2166
2015-07-10 11:36:41 +08:00
Cheng Zhao
4379d24e9d
Event "close" => "closed", fix #2149
2015-07-10 10:38:15 +08:00
Paul Betts
39c6e2d2e5
Linter fixes
2015-07-09 17:00:19 -07:00
Paul Betts
35aaad68d7
Set the AppUserModelId on the renderer side
2015-07-09 16:48:02 -07:00
Paul Betts
779583adf5
Append the app user model ID as a switch
2015-07-09 16:37:12 -07:00
Paul Betts
a0784bd038
Add a new renderer switch to pass down the app model ID
2015-07-09 16:37:11 -07:00
Robo
2cd5fb5694
add compatibility will old api
2015-07-09 14:48:58 +05:30
Robo
da00329d78
protocol: cleanup
2015-07-09 14:48:58 +05:30
Cheng Zhao
001b4a3179
Final cleanup
2015-07-08 16:24:39 +08:00
Cheng Zhao
aab78db8b8
On Windows "Cancel" button is also forced to be canclId
2015-07-08 16:00:30 +08:00
Cheng Zhao
9793473b10
Show custom buttons as links
2015-07-08 15:57:45 +08:00
Cheng Zhao
a89e5592f2
Use stock buttons on Windows when possible
2015-07-08 15:55:53 +08:00
Cheng Zhao
989351a41d
Show user's icon when specified
2015-07-08 15:04:34 +08:00
Cheng Zhao
6fb8b2ce4f
Show icon according to dialog's type
2015-07-08 14:46:06 +08:00
Cheng Zhao
f0be4025a5
If "detail" is empty then don't make message hilighted
2015-07-08 14:41:19 +08:00
Cheng Zhao
49da74f976
Handle when dialog is cancelled
2015-07-08 14:35:28 +08:00
Cheng Zhao
1146441c2a
Implement ShowMessageBox with TaskDialog
2015-07-08 14:12:11 +08:00
Cheng Zhao
d01c200345
Set compilation requirements for using TaskDialogIndirect
...
* Link with Comctl32.lib
* Update manifest file to use common controls v6
Thanks @vinnyp for finding out how to make it work
2015-07-08 13:30:04 +08:00
Cheng Zhao
fdc01b8ba8
Merge pull request #2146 from atom/cancel-id
...
Add "cancelId" option for showMessageBox
2015-07-08 10:08:39 +08:00
Cheng Zhao
e0528655a8
Merge pull request #2133 from atom/app_dir_api
...
Implment app.getAppPath API.
2015-07-08 10:08:22 +08:00
Cheng Zhao
df4b5f4ede
On OS X the "Cancel" is always get selected when dialog is cancelled
2015-07-07 18:45:43 +08:00
Cheng Zhao
fb537d91fc
Set default cancelId in JavaScript
2015-07-07 18:39:08 +08:00
Cheng Zhao
b158427271
Add cancelId option for showMessageBox
2015-07-07 18:39:08 +08:00
Cheng Zhao
083d0b8b60
Merge pull request #2145 from atom/gtk-message-box
...
Use GtkMessageBox for dialog.showMessageBox on Linux
2015-07-07 18:08:06 +08:00
Haojian Wu
a2857d2dca
Implment app.getAppPath API.
2015-07-07 17:37:53 +08:00
Cheng Zhao
a90a994a89
Bump v0.29.2
2015-07-07 17:22:05 +08:00
Cheng Zhao
a2d1ec2c1f
Make "title" work
2015-07-07 17:21:30 +08:00
Cheng Zhao
9b25c16980
Allow "detail" to be empty
2015-07-07 17:21:30 +08:00
Cheng Zhao
810f14aecb
Simplify the code
2015-07-07 17:21:30 +08:00
Cheng Zhao
e627592eed
Reuse ShowMessageBox in ShowErrorBox
2015-07-07 17:21:30 +08:00
Cheng Zhao
3e6394a004
gtk: Map dialog type to message box type
2015-07-07 17:21:30 +08:00
Cheng Zhao
02e28ea758
Fix focusing message box
2015-07-07 17:21:30 +08:00
Cheng Zhao
b98cdf71c4
gtk: Implement message box APIs
2015-07-07 17:21:26 +08:00
Cheng Zhao
8fca1f52d3
Use SetGtkTransientForAura from libgtk2ui
2015-07-07 15:12:08 +08:00
Cheng Zhao
1ff00281f3
Seperate linux's implementation of message box
2015-07-07 15:12:08 +08:00
Cheng Zhao
74603624df
Merge pull request #2138 from atom/window-move-issue
...
Fix a type error on window.moveTo API.
2015-07-07 11:29:06 +08:00
Haojian Wu
41c1a34b4f
Fix a type error on window.moveTo API.
2015-07-07 07:25:58 +08:00
Cheng Zhao
f8786e9d17
No need to send message to embedder after it is closed
2015-07-06 21:28:09 +08:00
Cheng Zhao
85a4ff83da
Some methods can be accessed after object is destroyed
2015-07-06 21:26:50 +08:00
Cheng Zhao
ae52af3870
Check BrowserWindow's lifetime
2015-07-06 18:28:42 +08:00
Cheng Zhao
1569dfa2e8
Remove manual lifetime check for Tray
2015-07-06 18:24:40 +08:00
Cheng Zhao
54dac0f37a
Check whether WebContents lives before using its methods
...
Close #2064 .
2015-07-06 18:21:04 +08:00
Cheng Zhao
ae3b47aa75
Inherit current window's node-integration in window.open by default
...
Fix #2100 .
2015-07-06 16:21:08 +08:00
Cheng Zhao
f5a1ffcbd4
win: Build with cursors from Chromium
2015-07-06 15:19:28 +08:00
Cheng Zhao
0e888ccf22
Merge pull request #2105 from deepak1556/ppapi_browser_patch
...
plugin: dont check renderer flags for adding pepper browser host filters
2015-07-05 22:54:35 +08:00
Cheng Zhao
3315e6bda5
Merge pull request #2080 from deepak1556/linux_fullscreen_patch
...
window: use _NET_WM_STATE_FULLSCREEN before window is mapped
2015-07-05 16:44:42 +08:00
Cheng Zhao
506d6688e0
Merge pull request #2074 from ankitaggarwal011/windows-fullscreen-bug
...
🐛 Solves issue #2047 [Windows fullscreen bug]
2015-07-05 16:25:26 +08:00
Cheng Zhao
2bcf8c7bc2
Bump v0.29.1
2015-07-03 23:33:49 +08:00
Cheng Zhao
dadd34249a
Bump v0.29.0
2015-07-03 16:45:56 +08:00
Robo
7576de639b
plugin: dont check for renderer flags for adding pepper browser host filters
2015-07-03 13:50:16 +05:30
Kevin Sawicki
69ef175ac5
Merge pull request #2083 from johnhaley81/patch-1
...
Fix `window.open` with wrong name
2015-07-01 09:12:02 -07:00
Kevin Sawicki
d6e25af59a
Merge pull request #2095 from atom/fix-page-key-error
...
Fix the wrong reverse `pageup` and `pagedown` keys.
2015-07-01 09:07:33 -07:00
Haojian Wu
c01a79de6b
Fix the wrong reverse pageup
and pagedown
keys.
2015-07-01 21:24:51 +08:00
Cheng Zhao
b1db947def
Fix compilation errors due to compiler change
2015-07-01 07:56:29 +00:00
John Haley
565a500320
Fix window.open
with wrong name
...
When calling `window.open` the newly created window would have the name of the last option in the `features` argument as the title. I think it's supposed to be pointed to `frameName`.
2015-06-29 10:32:27 -07:00
Robo
b5c5cce725
window: use _NET_WM_STATE_FULLSCREEN before window is mapped
2015-06-29 19:44:56 +05:30
Cheng Zhao
ebfbbc0801
Don't override user's menu in default_app
...
Close #2068 .
2015-06-29 13:11:53 +08:00
ankitaggarwal011
1c907ffa36
🐛 Solves issue #2047 [Windows fullscreen bug]
2015-06-29 00:10:51 +05:30
Cheng Zhao
1e514620b5
Remove window from window list before notifying closed event
2015-06-27 17:11:36 +08:00
Antonin Hildebrand
a8d58ea448
Missing overrides
...
ninja compilation failed for me under OS X 10.11
2015-06-26 11:43:39 +02:00
Cheng Zhao
637b642837
Fix building on Windows
2015-06-26 12:04:15 +08:00
Cheng Zhao
e6f3c4c22b
Merge pull request #2002 from atom/app-commands-win32
...
Windows App Commands
2015-06-26 11:43:08 +08:00
Cheng Zhao
b5ff77ef0d
Small cleanups
2015-06-26 11:20:12 +08:00
Cheng Zhao
bff66caaa6
Only convert command ID on Windows
2015-06-26 11:16:50 +08:00
Cheng Zhao
aa20f75335
Clean up ResolveProxyHelper
...
Since the ResolveProxyHelper is deleted after the callback is called,
there is no need to use weak reference.
2015-06-26 11:04:12 +08:00
Cheng Zhao
143a5e1178
Merge pull request #2054 from deepak1556/proxy_patch
...
session: using storageparttion to retrieve requestcontext
2015-06-26 10:54:47 +08:00
Cheng Zhao
a96ff85005
Clean up code in AtomBrowserClient
2015-06-26 10:53:37 +08:00
Cheng Zhao
a3ec50437d
Rename event name to gpu-process-crashed
2015-06-26 10:34:38 +08:00
Cheng Zhao
ffd9c743de
Move gpu-crashed event to app
2015-06-26 10:33:52 +08:00
Paul Betts
58efb3c018
I forget cpplint every time
2015-06-25 15:09:25 -06:00
Paul Betts
cde7c6a4ef
Move app commands to strings
2015-06-25 11:29:57 -06:00
Paul Betts
210417b428
cpplint see me rollin', he hatin'
2015-06-25 11:29:28 -06:00
Paul Betts
1509aca788
Invisible character tyranny
2015-06-25 11:29:27 -06:00
Paul Betts
c2290ad058
Add enum for media keys on Win32
2015-06-25 11:29:23 -06:00
Paul Betts
cec6895e67
Emit the message as an event
2015-06-25 11:29:22 -06:00
Paul Betts
794f89abf5
In our widget delegate, signal our Observer
2015-06-25 11:29:21 -06:00
Paul Betts
37d18d512b
Create a method to signal our Observer method
2015-06-25 11:29:21 -06:00
Paul Betts
d98cece115
Create a new method for NativeWindowObserver for AppCommands
2015-06-25 11:29:20 -06:00
deepak1556
0fbd908fb6
app: event to pass client certificate data
2015-06-25 21:29:21 +05:30
deepak1556
c15a9e7d5c
session: using storageparttion to retrieve requestcontext
2015-06-25 19:55:57 +05:30
Cheng Zhao
9f52b11761
Remove NativeWindow::GetWebContents
2015-06-25 14:54:00 +08:00
Cheng Zhao
01dc0f973c
Remove inspectable_web_contents_
2015-06-25 14:32:38 +08:00
Cheng Zhao
b2a8678c47
Move BrowserPluginGuestDelegate to a separate class
2015-06-25 14:28:13 +08:00
Cheng Zhao
9974a238c2
Fix the order of function definitions
2015-06-25 13:29:30 +08:00
Cheng Zhao
62c44ee47b
Rename CloseWebContents to RequestToClosePage
2015-06-25 13:27:51 +08:00
Cheng Zhao
e41b0d4d2c
Remove NativeWindow::ActivateContents
2015-06-25 13:18:36 +08:00
Cheng Zhao
eb370ba22a
Allowing destroying a closed window
2015-06-25 13:08:11 +08:00
Cheng Zhao
afa9f30aac
Add InspectableWebContentsViewDelegate
2015-06-25 12:30:04 +08:00
Cheng Zhao
2ea2413752
Set sender in EventEmitter.emit
2015-06-25 11:16:42 +08:00
Cheng Zhao
fb5fe7a714
Decouple WebContentsDelegate from NativeWindow
2015-06-25 11:07:23 +08:00
Cheng Zhao
5236b0c067
Don't create WebContents in NativeWindow
2015-06-25 09:47:57 +08:00
Cheng Zhao
081a4597e9
Pass isGuest when creating WebContents
2015-06-24 23:29:32 +08:00
Cheng Zhao
4b61683cdf
Store NativeWindow in weak ptr
2015-06-24 22:29:44 +08:00
Cheng Zhao
19ca011735
Discard is_guest_, use type_ instead
2015-06-24 22:23:38 +08:00
Cheng Zhao
2bfa9da82e
Store NativeWindow's weak ptr in WebContents
2015-06-24 22:14:46 +08:00
Cheng Zhao
2532318bee
Add type for WebContents
2015-06-24 21:44:27 +08:00
Cheng Zhao
87f44c42df
Handle close cancel in BeforeUnloadDialogCancelled
2015-06-24 21:28:36 +08:00
Cheng Zhao
b822a83bc2
Remove usages of NotificationObserver
2015-06-24 20:16:51 +08:00
Cheng Zhao
7d05a12ee9
Remove ActivateContents and DeactivateContents
2015-06-24 20:10:07 +08:00
Cheng Zhao
bd4d6dcda2
Merge pull request #2046 from atom/id-weak-map
...
Track native JS objects in C++
2015-06-24 20:01:42 +08:00
Cheng Zhao
9b9108f789
Remove JS override of setMenu
2015-06-24 19:51:11 +08:00
Cheng Zhao
f198148c79
Always initailize webContents in BrowserWindow
2015-06-24 19:04:08 +08:00
Cheng Zhao
8c83dfe918
Remove usages of JS IDWeakMap in browser-window
2015-06-24 19:01:44 +08:00
Cheng Zhao
f93d50c380
Merge pull request #2025 from atom/power-save-blocker-api
...
Power save blocker API
2015-06-24 18:53:10 +08:00
Cheng Zhao
cc8b22b5ff
Make each class only have one weak map
2015-06-24 17:58:12 +08:00
Cheng Zhao
28d1fb8cad
Add Values() method for IDWeakMap
2015-06-24 16:54:20 +08:00
Cheng Zhao
5e62b5975b
Move "id" and "fromId" to C++
2015-06-24 16:37:48 +08:00
Cheng Zhao
c2f14e6053
Initialize defaultSession after app is ready
2015-06-24 16:14:49 +08:00
Cheng Zhao
0ebd4d04ad
Make Session trackable
2015-06-24 15:39:05 +08:00
Cheng Zhao
1023b67d59
Make sure each C++ WebContents has only one JS WebContents
2015-06-24 15:22:11 +08:00
Cheng Zhao
552a12d2ee
Enable storing TrackableObject in other C++ class
2015-06-24 14:49:08 +08:00
Cheng Zhao
7f0658efa7
Add mate::TrackableObject
2015-06-24 14:36:05 +08:00
Cheng Zhao
15f350edcb
Don't make IDWeakMap public API
2015-06-24 13:38:55 +08:00
Cheng Zhao
d02413de00
Make the JS IDWeakMap a thin wrapper of C++ IDWeakMap
2015-06-24 13:35:39 +08:00
Cheng Zhao
cd93b9412c
Add C++ version of IDWeakMap
2015-06-24 13:22:09 +08:00
Haojian Wu
13784e6551
More updates: use string instead of integer to identify blocker type.
2015-06-24 13:06:39 +08:00
Cheng Zhao
b8cf9a2788
Merge pull request #2043 from atom/default-session
...
Add app.defaultSession
2015-06-24 12:25:06 +08:00
Cheng Zhao
09a6e37a09
Keep compatibility with app.resolveProxy
2015-06-24 12:01:19 +08:00
Cheng Zhao
ea69e91e49
Move resolveProxy From app to session
2015-06-24 11:59:11 +08:00
Cheng Zhao
ab6ed823d1
Merge pull request #2027 from deepak1556/devtools_file_save_patch
...
devtools: writing to filesystem in FILE thread
2015-06-24 10:45:22 +08:00
Cheng Zhao
33c2768a77
Add app.defaultSession
2015-06-23 23:40:41 +08:00
deepak1556
1f3a73e802
devtools: write to file in FILE thread
2015-06-23 20:58:56 +05:30
Cheng Zhao
4359eb4472
mac: Set NSHighResolutionCapable in Info.plist, close #2020
2015-06-23 23:02:49 +08:00
Cheng Zhao
3b762fddfb
Merge pull request #2039 from atom/cleanup-web-contents-js
...
Some cleanup of WebContents and BrowserWindow code
2015-06-23 22:57:08 +08:00
Cheng Zhao
6d9ca4f52b
Clean up coffee files
2015-06-23 22:11:59 +08:00
Cheng Zhao
77dbec305f
Emit ATOM_BROWSER_RELEASE_RENDER_VIEW in C++
2015-06-23 21:27:50 +08:00
deepak1556
8f429bc25a
browser: creating download manager delegate to handle downloads
2015-06-23 17:54:07 +05:30
Cheng Zhao
42e21d15bf
Remove all calls to node::MakeCallback
...
node::MakeCallback is doing too much for us, avoid calling it.
2015-06-23 20:14:03 +08:00
Cheng Zhao
78459b913b
Add EmitEvent function to replace node::MakeCallback
2015-06-23 19:46:37 +08:00
Cheng Zhao
197a9b4165
Remove calls to v8::Isolate::GetCurrent
...
It is generally a bad thing to do since we might have multiple Isolates.
2015-06-23 17:22:14 +08:00
Cheng Zhao
1f97cee7c9
Fix release render view with wrong ID
2015-06-23 16:43:55 +08:00
Cheng Zhao
015ef3e014
Omit extra transfer of new-window event
2015-06-23 16:34:22 +08:00
Cheng Zhao
2d65c3bcd0
Clean up SetAllowTransparency
2015-06-23 16:19:12 +08:00
Cheng Zhao
52789ab96f
Implement getId in C++
2015-06-23 16:16:10 +08:00
Cheng Zhao
89c7028ed1
Don't include routing ID in WebContents's ID
2015-06-23 16:09:34 +08:00
Cheng Zhao
b3905e867e
Bump v0.28.3
2015-06-23 14:22:17 +08:00
Cheng Zhao
aba517d4fd
Merge pull request #2014 from atom/enable-zygote
...
Use zygote process on Linux
2015-06-23 13:34:40 +08:00
Cheng Zhao
4f6e70a75c
Merge pull request #2034 from hongrich/internalModuleReadFile-asar-unpack
...
Update internalModuleReadFile to support unpacked asar files
2015-06-23 12:38:02 +08:00
Cheng Zhao
1ce86b6dfc
win: Fix building, close #2018
2015-06-23 10:18:43 +08:00
Cheng Zhao
19963bfcd1
Merge pull request #1981 from atom/cookies-api
...
Implement Cookies api
2015-06-23 10:04:42 +08:00
Cheng Zhao
2fca10ac98
Merge pull request #2009 from deepak1556/webview_patch
...
override: set window.opener to null for webview
2015-06-23 10:03:40 +08:00
Rich Hong
f51103f44a
Update internalModuleReadFile to support unpacked asar files
...
Add tests for reading unpacked files using both fs.readFileSync and
internalModuleReadFile
2015-06-22 19:38:47 -04:00
Haojian Wu
532f75fcab
Update PowerSaveBlocker APIs design.
2015-06-22 12:08:09 +08:00
Haojian Wu
7c5afdd388
Add PowerSaveBlocker APIs.
2015-06-21 21:14:14 +08:00
Haojian Wu
bafbee805c
Fix more code styles.
2015-06-20 10:41:40 +08:00
Cheng Zhao
ef59f4f243
Move headers to atom/common
2015-06-19 23:11:53 +08:00
Cheng Zhao
83fe340b98
Make process.argv work with zygote
2015-06-19 22:56:10 +08:00
Cheng Zhao
a1cbd11b5b
Only append --register-standard-schemes when needed
2015-06-19 21:53:29 +08:00
Cheng Zhao
befdfceada
Merge pull request #1998 from deepak1556/process_patch
...
process: add hang method
2015-06-19 16:21:29 +08:00
Cheng Zhao
49e1316f7f
Merge pull request #1970 from deepak1556/scheme_patch
...
protocol: api to register custom schemes to standard schemes
2015-06-19 16:16:46 +08:00
Haojian Wu
c164da5a38
Make cookie aligns to Chrome's.
2015-06-19 14:18:22 +08:00
Haojian Wu
969916442f
Use webContents BrowserContext.
...
Also fix some code styles.
2015-06-19 13:57:54 +08:00
Haojian Wu
99bfc9b7f5
Move cookies APIs to webContents.session.cookies namespace.
2015-06-19 10:30:08 +08:00
Haojian Wu
98adcac5df
Move set status code into error.
2015-06-19 10:29:17 +08:00
Haojian Wu
19e96cc212
Fix cpplint.
2015-06-19 10:29:17 +08:00
Haojian Wu
cfffe39151
Add cookies.set API.
2015-06-19 10:29:17 +08:00
Haojian Wu
0dfd00f664
Add cookies.remove API.
2015-06-19 10:29:17 +08:00
Haojian Wu
dbbc2f19f4
Implement cookies.get API.
2015-06-19 10:29:17 +08:00
deepak1556
cb1d9f60ec
override: set window.opener to null for webview
2015-06-18 21:14:45 +05:30
Cheng Zhao
91f3b3955a
Remove AtomBrowserContext::Get
2015-06-18 17:19:29 +08:00
Cheng Zhao
923296b4ee
Use the BrowserContext from protocol
2015-06-18 17:18:11 +08:00
Cheng Zhao
e209312459
Replace a few calls to AtomBrowserMainParts::Get.
...
These calls replies on global BrowserContext, we can just make them use
the future default BrowserContext.
2015-06-18 17:01:23 +08:00
Cheng Zhao
b47fae7393
Make api::Protocol per-context
2015-06-18 16:59:03 +08:00
deepak1556
8e05fe3350
process: add hang method
2015-06-18 14:14:29 +05:30
Cheng Zhao
e6341ceaaa
Move BrowserProcess to BrowserMainParts
2015-06-18 16:34:02 +08:00
Cheng Zhao
19436358fb
win: Fix setContentSize changing window position
...
Close #1934 .
2015-06-18 16:17:13 +08:00
Cheng Zhao
2cb1aa6639
Merge pull request #1997 from deepak1556/api_app_patch
...
app: adding focus/blur events
2015-06-18 15:55:59 +08:00
deepak1556
2f36f5ca78
app: adding browser-window-focus/blur events
2015-06-18 11:29:08 +05:30
Cheng Zhao
25a7bcef82
Bump v0.28.2
2015-06-18 13:15:13 +08:00
Cheng Zhao
c8eaaaea83
mac: Use NSFileManager::resultingItemURL for moving file to trash
...
This allows the deleted file to be restored, fixes #2001 .
2015-06-18 13:09:02 +08:00
deepak1556
663a48ee38
protocol: api to register custom schemes to standard schemes
2015-06-17 14:43:04 +05:30
Cheng Zhao
db8ffe1dc7
Handle ".." in asar path, fix #1982
2015-06-17 15:52:49 +08:00
Cheng Zhao
a751f4c689
Merge pull request #1835 from hokein/pdf-api
...
Add `BrowserWindow.printToPDF` API Implementation
2015-06-17 12:22:56 +08:00
Cheng Zhao
b3e9d35667
Merge pull request #1995 from atom/request-http-job
...
Implement protocol.RequestHttpJob
2015-06-17 12:00:26 +08:00
Cheng Zhao
c2aa7d538f
Fix cpplint warnings
2015-06-17 11:34:47 +08:00
Cheng Zhao
92f3371118
Use |request|'s headers if possible
2015-06-17 11:30:31 +08:00
Cheng Zhao
543c4d5597
Allow setting referrer
2015-06-17 11:22:02 +08:00
Cheng Zhao
e07f5cd53f
Use |request|'s method if |method| is not specified
2015-06-17 11:11:13 +08:00
Cheng Zhao
66c4c7e77b
Clear pending_buffer_ at correct time
2015-06-17 11:04:15 +08:00
Cheng Zhao
274854876c
Allow setting method for RequestHttpJob
2015-06-17 10:57:26 +08:00
Cheng Zhao
81db8e098e
Don't need buffer for piping data
2015-06-17 10:19:58 +08:00
Cheng Zhao
af05f26a5f
Make URLRequestFetchJob actually work
2015-06-17 09:31:33 +08:00
Haojian Wu
1eba552a8d
Also Expose printToPDF to BrowserWindow.
2015-06-16 20:08:30 +08:00
Haojian Wu
47eac062f6
Expose Print API to webContents and webView.
...
Also move the print implementation from window to webContents.
2015-06-16 20:08:30 +08:00
Haojian Wu
57580e00f9
Fix code style.
2015-06-16 20:07:45 +08:00
Haojian Wu
559eb20e7f
Fixing type: printBackgrounds => printBackground
2015-06-16 20:07:44 +08:00
Haojian Wu
ccbe554ec0
Make callback aligns node.js style.
2015-06-16 20:07:44 +08:00
Haojian Wu
93243ef223
Remove some unused IPC messages.
2015-06-16 20:07:44 +08:00
Haojian Wu
47439cd77c
Fix a type error.
2015-06-16 20:07:44 +08:00
Haojian Wu
ac62871645
Return node::Buffer as a printToPDF callback result.
2015-06-16 20:07:44 +08:00
Haojian Wu
ab40da3f31
Add silent and savePath options.
2015-06-16 20:07:43 +08:00
Haojian Wu
6e099af5fe
Move PDF printing setting in JS part.
2015-06-16 20:07:43 +08:00
Haojian Wu
c0a6cb69bf
Move printToPDF API to WebContents.
...
Also expose in webview.
2015-06-16 20:06:52 +08:00
Haojian Wu
2597ded985
Cleanup.
2015-06-16 20:02:25 +08:00
Haojian Wu
10da361db1
Fix a type error in checking function options.
2015-06-16 20:02:25 +08:00
Haojian Wu
8572ccb807
Add callback function in printToPDF API.
2015-06-16 20:02:24 +08:00
Haojian Wu
ce8bbb689c
Add options to custom print settings in printToPDF API.
2015-06-16 20:02:24 +08:00
Haojian Wu
7ffa7042b1
Add printToPDF Implementation.
2015-06-16 20:02:23 +08:00
Haojian Wu
b360f7d86a
Add printToPDF API skeleton.
2015-06-16 20:02:23 +08:00
Cheng Zhao
44f8bfc550
Don't leak URLFetcher
2015-06-16 17:09:25 +08:00
Cheng Zhao
bd704dd8aa
Merge pull request #1979 from deepak1556/remote_args_patch
...
remote: handle circular reference in wrapArgs
2015-06-16 16:40:06 +08:00
deepak1556
193f95a888
remote: handle circular reference in wrapArgs
2015-06-16 13:43:30 +05:30
Magica
8aa559fe51
Add setAudioMuted to webContents
2015-06-15 21:40:49 +08:00
deepak1556
a5e2f8e79e
protocol: adding requestHttpJob method
2015-06-15 03:20:45 +05:30
Cheng Zhao
8b8a6aea74
Bump v0.28.1
2015-06-12 16:26:51 +08:00
Cheng Zhao
16e224bb86
Don't set browser_handles_all_top_level_requests
...
POST requests currently can not be handled on browser side.
Fix #1945 .
2015-06-12 16:26:04 +08:00
Cheng Zhao
c97c3fb9a1
Use LSGetApplicationForURL to search for app
...
It costs less.
2015-06-12 13:54:42 +08:00
Cheng Zhao
7ce8156691
Merge branch 'master' of https://github.com/mattotodd/electron into mattotodd-master
2015-06-12 13:49:51 +08:00
Cheng Zhao
5fe130a684
Bump v0.28.0
2015-06-11 12:13:18 +08:00
msullivan
b4674923c9
return bool on shell.openExternal
2015-06-10 11:06:22 -04:00
Cheng Zhao
cd3c061448
win: Fix compilation error
2015-06-10 19:34:30 +08:00
Cheng Zhao
2fdc5780ff
Merge pull request #1859 from deepak1556/client_certificate_patch
...
browser: support client certificate
2015-06-10 19:17:41 +08:00
Cheng Zhao
605722c397
Make asar work with internalModuleReadFile and internalModuleStat
2015-06-10 16:18:55 +08:00
Cheng Zhao
132c13a11b
Fix calls to deprecated node::ThrowError API
2015-06-10 14:21:09 +08:00
Cheng Zhao
d12697c657
Merge pull request #1918 from kirkouimet/master
...
Fixing an issue compiling on Windows and improving webview interopability with other JavaScript libraries
2015-06-10 12:48:45 +08:00
Cheng Zhao
db9615f5cd
Don't rely on JS for setting optional argument
...
It makes the code much shorter and cleaner.
2015-06-10 12:12:37 +08:00
Kirk Ouimet
09c5da7147
Fixing cpplint line width
2015-06-09 21:06:40 -07:00
Cheng Zhao
4b12a95d37
Transfer Buffer through "remote"
2015-06-10 11:58:15 +08:00
Cheng Zhao
200a19dad9
linux: Don't use clipboard module in renderer process
2015-06-10 11:57:28 +08:00
Kirk Ouimet
0fef09281b
Guarding webview attributes against polluted Object.prototypes
...
Ran into an error with the buildParams function breaking when using a JavaScript library that modified the Object.prototype, this small fix resolves the issue.
2015-06-09 16:17:00 -07:00
kirkouimet
f91a81fe77
Convert std::string path to a FilePath to get compiling working on Windows
2015-06-09 15:56:54 -07:00
Cheng Zhao
4c48f0cd36
Merge pull request #1882 from atom/get_uploaded_report_api
...
Implement crash-reporter.getUploadedReports API
2015-06-09 16:35:08 +08:00
Cheng Zhao
9f0ac13edc
Pass embedder when creating WebContents
2015-06-09 15:50:20 +08:00
Cheng Zhao
5459137d3d
Remove unused options for WebContents.create
2015-06-09 15:40:04 +08:00
deepak1556
52b2c0d27f
default to first certificate from cert store
2015-06-09 13:00:20 +05:30
Cheng Zhao
89087d402d
Merge pull request #1873 from atom/multiline-headers
...
Support multiple-line headers in `did-get-response-details'
2015-06-09 12:03:45 +08:00
Haojian Wu
64e84b8f6a
Support multiple-line headers in web-contents `did-get-response-details' event.
2015-06-09 11:18:46 +08:00
Cheng Zhao
24586c1330
Merge pull request #1883 from atom/http-referer-doc
...
📝 Add missing `httpreferer` option doc.
2015-06-09 11:15:44 +08:00
Cheng Zhao
03ab9b2686
Merge pull request #1848 from Bitbored/master
...
Added `bounds` payload to tray `clicked` event on Windows
2015-06-09 10:49:01 +08:00
Haojian Wu
f1a8c5a1ca
Use httpReferrer and userAgent new names in webview.
2015-06-09 10:44:54 +08:00
Haojian Wu
488801e244
Rename httpreferrer to httpReferrer, useragent to userAgent.
2015-06-09 10:10:29 +08:00
Seppe Stas
cac97cca0d
Initialized rect with zeros
...
As per @zcbenz 's remark: The rect should be initialized with zeros to prevent random values being passed to the click event handler when `Shell_NotifyIconGetRect` fails.
2015-06-08 19:07:46 +02:00
Seppe Stas
16c08e7e37
Switched to gfx::Rect
constructor that takes a RECT
...
As per @zcbenz's suggestion the rect passed to the click event handler now passes a rect constructed using `gfx::Rect(const RECT& r)`.
2015-06-08 19:04:56 +02:00
deepak1556
2de5f9de6c
browser: support client certificate
2015-06-08 21:00:32 +05:30
Cheng Zhao
1ae8bed96a
Merge pull request #1899 from kirkouimet/guard-for-in-loop
...
Guarding against polluted Object.prototypes
2015-06-08 22:45:43 +08:00
Cheng Zhao
fed9ef0687
Merge pull request #1860 from atom/dialog-show-file-name
...
Fix dialog.showSaveDialog doesn't show the non-exist file name on Linux.
2015-06-08 19:41:33 +08:00
Kirk Ouimet
75448ad7ed
Guarding against polluted Object.prototypes
2015-06-07 23:59:49 -07:00
Cheng Zhao
8363a39a56
Bump v0.27.3
2015-06-08 13:24:47 +08:00
Cheng Zhao
5ae9c633ca
Fix building on Windows, close #1896
2015-06-08 13:19:56 +08:00
Haojian Wu
cd1c331112
Fix coffeelint error.
2015-06-06 17:59:20 +08:00
Haojian Wu
c821a06e2f
Implement crash-reporter.getUploadedReports API.
...
Also redefine the getLastCrashReport API implementation using
getUploadedReports API.
2015-06-05 18:59:03 +08:00
Cheng Zhao
bb42c2c7b6
Avoid destorying api::WebContents for twice
2015-06-05 18:13:30 +08:00
Cheng Zhao
af62b7b5c9
Put common code of OpenURLFromTab to CommonWebContentsDelegate
2015-06-05 17:45:17 +08:00
Cheng Zhao
8f9a109fa6
Implement HTML5 fullscreen in CommonWebContentsDelegate
2015-06-05 17:27:24 +08:00
Cheng Zhao
05468cc3fa
Remove devtools APIs from NativeWindow
2015-06-05 17:01:17 +08:00
Cheng Zhao
94d69777fa
Enable calling WebContents::openDevTools for BrowserWindow's WebContents
2015-06-05 15:41:03 +08:00
Cheng Zhao
67144aaf2a
Remove duplicate def of is_guest
2015-06-05 15:18:15 +08:00
Cheng Zhao
d9efc3b4bf
Move more methods to CommonWebContentsDelegate
2015-06-05 15:12:38 +08:00
Cheng Zhao
c32aac0a56
Manage webview with CommonWebContentsDelegate
2015-06-05 15:01:51 +08:00
Cheng Zhao
92b15c81e9
Manage InspectableWebContents in CommonWebContentsDelegate
2015-06-05 14:55:07 +08:00
Cheng Zhao
19d742de37
Add CommonWebContentsDelegate
2015-06-05 13:49:24 +08:00
Cheng Zhao
e8f33f51fb
Use DefaultWebContentsDelegate in api::WebContents
2015-06-05 13:41:45 +08:00
Cheng Zhao
7f7cdbf775
Remove NativeWindow::CallDevToolsFunction
2015-06-05 13:32:01 +08:00
Cheng Zhao
8306dc427a
Merge pull request #1867 from deepak1556/devtools_workspace_patch
...
devtools: supporting workspace usage
2015-06-05 13:26:37 +08:00
Cheng Zhao
66b3972fbc
Fix typo
2015-06-05 10:03:01 +08:00
deepak1556
790fba598e
devtools: supporting workspace usage
2015-06-05 01:06:53 +05:30
Cheng Zhao
f4c696b922
Merge pull request #1863 from atom/default-menu
...
Create a default menu for apps ran by default_app
2015-06-04 22:36:33 +08:00
Cheng Zhao
f54506acc0
Merge pull request #1822 from hokein/crashpad-mac
...
Crashpad!
2015-06-04 22:11:14 +08:00
deepak1556
683917ae67
renderer: option to override page visiblity state
2015-06-04 14:40:13 +05:30
Cheng Zhao
a22b9be681
mac: Do nothing if calling Menu.setApplicationMenu(null)
2015-06-04 16:14:19 +08:00
Cheng Zhao
5d23b7468e
Allow removing menu bar
2015-06-04 16:10:19 +08:00
Haojian Wu
d5b47d1059
Simplify and polish the code.
2015-06-04 15:53:37 +08:00
Cheng Zhao
47e9deeb9a
Remove Menu::AttachToWindow
...
It makes the logic more complex without any benefit
2015-06-04 15:32:33 +08:00
Cheng Zhao
6d6e75795f
Allow settting menu to null
2015-06-04 15:14:43 +08:00
Cheng Zhao
cc3066e746
Create a default menu for apps ran by default_app
2015-06-04 14:54:53 +08:00
Haojian Wu
da83ba6c06
Fix dialog.showSaveDialog doesn't show the non-exist file name on Linux.
2015-06-04 14:16:53 +08:00
Cheng Zhao
31beee9599
Check for nullness when comparing webContents, close #1838
2015-06-03 18:48:10 +08:00
Cheng Zhao
912ed2ca10
Merge pull request #1839 from deepak1556/devtools_api_patch
...
devtools: initialise devtoolsWebContents when opened with inspect* apis
2015-06-03 18:31:25 +08:00
Cheng Zhao
3a3b05b2f0
Clean up code
2015-06-03 14:53:19 +08:00
Cheng Zhao
95a8f3fc70
Fix changing src would calling loadUrl for twice
2015-06-03 14:33:22 +08:00
Cheng Zhao
34cd1435b4
Clean up code
2015-06-03 14:17:28 +08:00
Cheng Zhao
d4be2da70e
Don't rely on process_id to search for NativeWindow
2015-06-03 14:08:56 +08:00
Seppe Stas
e5c4e34ac4
Ow 💩 , where did that extra space come from?
2015-06-03 07:54:38 +02:00
Cheng Zhao
6dfa7b5383
Don't rely on guest_process_id for searching guest
2015-06-03 13:45:06 +08:00
Haojian Wu
94382cbaa2
Fix cpplint error.
2015-06-03 11:31:34 +08:00
Cheng Zhao
3ee054e316
Merge pull request #1849 from atom/remove-devtools-hack
...
Remove AtomResourceDispatcherHostDelegate
2015-06-03 10:48:31 +08:00
Cheng Zhao
f22d4bf0c0
Merge pull request #1814 from fraserxu/master
...
convert message to string for window.alert method
2015-06-03 10:20:59 +08:00
Cheng Zhao
d46e986e80
Remove AtomResourceDispatcherHostDelegate
2015-06-03 10:08:05 +08:00
Haojian Wu
4457edb1d3
Implement crash-reporter.getLastLastCrashReport API on OS X.
2015-06-03 09:47:42 +08:00
Seppe Stas
ce8aa073ee
Added bounds
payload to tray clicked
event
...
Used [Shell_NotifyIconGetRect function](https://msdn.microsoft.com/en-us/library/windows/desktop/dd378426 ) to get the bounds of the application's tray icon.
Note: only works with Windows 7 and later.
Related to #1159 , #1500 .
2015-06-02 21:43:37 +02:00
Haojian Wu
317406f26d
Update crashpad implementation after code review.
2015-06-02 11:41:47 +08:00
deepak1556
67a9931b55
devtools: initialise devtoolsWebContents when opened with inspect* apis
2015-06-01 17:23:44 +05:30
Cheng Zhao
fe631e6eeb
Bump v0.27.2
2015-06-01 12:22:36 +08:00
Yeechan Lu
c026863d48
Print real error messages even if it looks like an invalid app
2015-06-01 10:13:33 +08:00
Haojian Wu
cd8ceec62e
Send all crash reports to collection server.
...
Crashpad client only send reports once per hour. It's different with breakpad.
With this behavior, the other reports generated within an hour will be totally
skipped, which causes the crash api test only run once with an hour.
This patch unrestricts this time limit.
2015-05-30 08:47:52 +08:00
Haojian Wu
4e2f242ad0
Use Crashpad instead of Breakpad on OS X.
2015-05-29 23:25:11 +08:00
Cheng Zhao
02bdace366
Delete Node's symbols after Environment has been loaded
...
Fix #1803 .
2015-05-29 22:20:20 +08:00
Cheng Zhao
fb37b5720d
Update brightray to use correct Chrome version string
...
Close #1808
2015-05-29 17:52:46 +08:00
fraserxu
57ab704300
convert message to string for window.alert method
2015-05-29 15:55:11 +08:00
Cheng Zhao
a9ad783bca
The ElementSizeChanged has been removed
2015-05-29 13:52:14 +08:00
Cheng Zhao
b5c9fe78f1
Listen to ElementSizeChanged event
2015-05-29 13:47:09 +08:00
Cheng Zhao
e4bb456964
Pass element size when attaching
2015-05-29 11:47:54 +08:00
Cheng Zhao
b45ed8d9a2
pendingGuestCreation is removed
2015-05-29 11:20:28 +08:00
Cheng Zhao
bdf73fcd4c
Update to the new algorithm of setting webview size
2015-05-29 11:12:55 +08:00
Cheng Zhao
3e720bd611
Bump v0.27.1
2015-05-28 16:23:29 +08:00
Cheng Zhao
ad89a923e9
Merge pull request #1785 from deepak1556/browser_client_patch
...
browserClient: dont restart render process for javascript scheme
2015-05-28 16:22:45 +08:00
Cheng Zhao
d9102efff7
Merge pull request #1752 from deepak1556/clipboard_patch
...
clipboard: api to list supported types, reading and writing markup
2015-05-28 15:29:36 +08:00
Cheng Zhao
895ab49857
Merge pull request #1797 from deepak1556/response_headers_patch
...
fix accessing headers from resourcerequestdetails
2015-05-28 14:44:46 +08:00
deepak1556
f98da217e1
fix accessing headers from resourcerequestdetails
2015-05-28 11:20:07 +05:30
deepak1556
9b7ad675c6
browserClient: dont restart render process for javascript: scheme
2015-05-27 16:39:02 +05:30
Cheng Zhao
6ee8f6e4f2
Bump v0.27.0
2015-05-27 16:57:41 +08:00
deepak1556
4d56281972
restore clipboard.has api and fix docs
2015-05-27 13:35:51 +05:30
deepak1556
5584e3fd49
clipboard: api to list supported types, reading and writing markup
2015-05-27 13:21:56 +05:30
Cheng Zhao
4a376694b4
Merge pull request #1719 from deepak1556/service_worker_patch
...
devtools: api to inspect service worker
2015-05-27 15:47:41 +08:00
Cheng Zhao
1c60575dc0
Merge pull request #1738 from deepak1556/http_ptach
...
webContents: providing header details with response event
2015-05-27 15:05:55 +08:00
Cheng Zhao
abf8ffd3a2
Merge pull request #1689 from deepak1556/ftp_patch
...
protocol: adding ftp scheme support
2015-05-27 15:04:21 +08:00
Cheng Zhao
c244e83e10
Merge pull request #1633 from deepak1556/window_event_patch
...
window: adding resize and move events
2015-05-27 14:54:36 +08:00
deepak1556
2de0b025f1
retrieve headers from response info
2015-05-24 10:56:25 +05:30
deepak1556
2b9826404a
using mate::Dictionary instead of base::DictionaryValue
2015-05-23 19:26:47 +05:30
deepak1556
4d5790dc09
return headers as object
2015-05-23 19:26:47 +05:30
deepak1556
c22b138b67
webContents: providing header details with response event
2015-05-23 19:26:47 +05:30
Haojian Wu
c3791bba78
Remove duplicated macro.
2015-05-23 19:24:37 +08:00
Haojian Wu
5ede62459c
Rename PrintHandler to PrintHandlerWin since only used on Windows.
2015-05-23 19:24:29 +08:00
Haojian Wu
abd97a7513
Load pdf component dynamically.
...
Ship pdf as dll library, electron only loads pdf.dll when calling print
API. In this way, the developer who don't need print feature can safe
remove the pdf.dll in saving their binary size.
2015-05-23 19:24:27 +08:00
Cheng Zhao
e233eab4f2
HandleMouseDown is deprecated
2015-05-23 11:58:20 +08:00
Cheng Zhao
b202bba2e6
Don't read Buffer in IO thread
2015-05-22 22:15:13 +08:00
Cheng Zhao
d78efe7c22
Use Local instead of Handle
2015-05-22 19:11:22 +08:00
Cheng Zhao
b169ac016e
Start AtomRenderFrameObserver
2015-05-22 15:59:29 +08:00
Cheng Zhao
d1685f79a2
Initialize V8 in browser process
...
Previously it was initialized by ProxyResolverV8, but after Chrome 43 V8
started to initialize V8 lazily.
2015-05-22 15:30:02 +08:00
Cheng Zhao
01e891652f
Fix compilation errors
2015-05-22 15:24:34 +08:00
Cheng Zhao
c82d21b39f
Add AtomRenderFrameObserver
2015-05-22 15:01:13 +08:00
deepak1556
9a60fde59b
alias move and moved event on OS X
2015-05-22 12:24:12 +05:30
Robo
f46fcd158a
chnage move hook and add details to doc
2015-05-22 12:13:01 +05:30
Robo
1b1735bca9
avoid unnecessary api calls
2015-05-22 12:13:00 +05:30
deepak1556
3a5977e09f
window: adding resize and move events
2015-05-22 12:13:00 +05:30
Cheng Zhao
c372dcb462
Merge pull request #1706 from hammerandchisel/crash-reporter-reinit
...
Explicitly null the crash reporter before assigning it
2015-05-22 10:17:00 +08:00
Andy Dill
9a768dd4f0
Remove explicit nullptr and add clarifying comment.
2015-05-21 09:02:17 -07:00
Cheng Zhao
82377cbfd5
Bump v0.26.1
2015-05-21 15:52:42 +08:00
Cheng Zhao
f31bfab127
gtk: Notify the click event
2015-05-21 15:22:52 +08:00
Cheng Zhao
fd41f1e8bc
Merge pull request #1616 from deepak1556/webview_fullscreen_patch
...
webContents: override fullscreen notification apis for webview
2015-05-21 15:03:48 +08:00
Cheng Zhao
32b2ef3539
Merge pull request #1710 from deepak1556/screen_patch
...
screen: initialise displays_ vector with primary display
2015-05-21 14:58:27 +08:00
Cheng Zhao
cde6b41a05
Merge pull request #1730 from deepak1556/webview_navigation_patch
...
navigation: adding clearHistory method
2015-05-21 14:56:30 +08:00
deepak1556
3ecfadf367
screen: initialise displays_ vector with available displays
2015-05-21 11:28:48 +05:30
deepak1556
27c3727ddb
use generated constants
2015-05-21 11:07:25 +05:30
deepak1556
ea147c588f
protocol: adding ftp scheme support
2015-05-21 10:59:56 +05:30
deepak1556
e8a02316ce
also emit html fullscreen notification on windows when its webview contents trigger it
2015-05-21 10:41:53 +05:30
deepak1556
0dcf061dc1
check if window is html or forced fullscreen
2015-05-21 10:16:11 +05:30
deepak1556
f2d91bc53c
adding events to notify fullscreen state
2015-05-21 10:16:11 +05:30
deepak1556
ddda8e4197
track html api triggered fullscreen separaely
2015-05-21 10:16:11 +05:30
deepak1556
4fe294ed04
check for renderviewhost availability before using
2015-05-21 10:16:10 +05:30
deepak1556
be57151037
webContents: override fullscreen notification apis for webview
2015-05-21 10:16:10 +05:30
Cheng Zhao
427b9567ca
Merge pull request #1713 from deepak1556/navigation_patch
...
navigation: fix accessing url from history array for goToIndex
2015-05-21 10:43:34 +08:00
Cheng Zhao
dbecc8d5f5
Merge pull request #1701 from CharlieHess/paste-and-match-style
...
Paste and Match Style
2015-05-20 23:12:46 +08:00
Cheng Zhao
4ae1998d09
Revert #1604
2015-05-20 20:35:54 +08:00
deepak1556
e80e4ae02c
remove usage global browser context
2015-05-20 16:14:57 +05:30
deepak1556
04b797ff0c
webContents: providing response headers in did-get-response-details event
2015-05-20 15:54:30 +05:30
Cheng Zhao
9b445c27a2
Merge pull request #1668 from deepak1556/carsh_events_patch
...
webContents: adding events to detect gpu and plugin process crashes
2015-05-20 17:51:06 +08:00
deepak1556
c548b9c87e
webContents: adding events to detect gpu and plugin process crashes
2015-05-20 15:05:48 +05:30
Cheng Zhao
097d4d9870
Merge pull request #1734 from atom/forked-original-fs
...
Make "original-fs" available in forked scripts
2015-05-20 16:57:35 +08:00
Cheng Zhao
b238ac5981
Merge pull request #1660 from deepak1556/filesysem_patch
...
browser: create quota permission context to allow quota request
2015-05-20 14:05:53 +08:00
Cheng Zhao
fa169ee7ff
Remove the original-fs.js
...
It is acutally not needed.
2015-05-20 13:31:28 +08:00
Cheng Zhao
0e7bc6b8ec
Make "original-fs" available as built-in module
2015-05-20 13:29:05 +08:00
Cheng Zhao
4129d45d21
Merge pull request #1596 from deepak1556/protocol_interceptor_patch
...
protocol: wrapping HttpJobFactory with a default protocol handler to intercept
2015-05-20 11:52:52 +08:00
Cheng Zhao
361505661f
Merge pull request #1651 from magicae/ppapi-description-patch
...
ppapi: fix PPAPI flash plugin description as chromium does
2015-05-20 11:32:09 +08:00
Cheng Zhao
b558485394
Merge pull request #1732 from atom/web-preferences
...
Simplify how we find NativeWindow from WebContents
2015-05-20 10:45:01 +08:00
Cheng Zhao
7c69c2846b
Simplify how we find NativeWindow from WebContents
2015-05-20 10:27:16 +08:00
Paul Betts
975978b414
Don't be so paranoid about empty opts
2015-05-19 14:27:15 -07:00
Paul Betts
5ee0ff9ee9
Fixup code review items
2015-05-19 14:27:15 -07:00
Paul Betts
22f51372f5
Fix typo
2015-05-19 14:27:15 -07:00
Paul Betts
e4d90f747f
Pass user agent along like http referrer and set user agent in C++
2015-05-19 14:27:15 -07:00
Paul Betts
4a8d7c1819
Right before navigate, set the user agent
2015-05-19 14:27:15 -07:00
Paul Betts
3a81a5224d
Set up a class for it in web-view-attributes
2015-05-19 14:27:14 -07:00
Paul Betts
3993161a63
Define a new useragent attribute on WebView tag
2015-05-19 14:27:14 -07:00
deepak1556
b0e8cafa00
navigation: adding clearHistory method
2015-05-19 22:41:03 +05:30
deepak1556
9963ddc485
implement method on browser window
2015-05-18 20:08:08 +05:30
deepak1556
46d80e8f05
devtools: api to inspect service worker for current webcontents
2015-05-18 19:19:33 +05:30
deepak1556
ef30adcaef
navigation: fix accessing url from history array for goToIndex
2015-05-17 03:31:24 +05:30
Andy Dill
dcbc6a127b
Explicitly null the crash reporter before assigning it to allow the EH to unregister.
2015-05-15 22:37:00 -07:00
Charlie Hess
3913e18447
Add WebContents API for PasteAndMatchStyle.
2015-05-15 00:15:19 -07:00
joshaber
76d33c37d7
Use the textured window for the frameless case too.
2015-05-12 21:11:43 -04:00
joshaber
033f9bcced
If the window's transparent it also needs to be textured.
2015-05-12 21:05:48 -04:00
deepak1556
32ba219146
allowing file:// URI to access other file:// URIs for filesytem api use
2015-05-12 18:21:48 +05:30
deepak1556
add7f8a4aa
add test
2015-05-12 18:03:00 +05:30
deepak1556
2785a4cc48
browser: create quota permission context to allow quota request
2015-05-12 17:52:30 +05:30
Cheng Zhao
827741a9c6
Bump v0.26.0
2015-05-12 17:24:00 +08:00
Magica
e1beeb95e3
Fix PPAPI flash plugin description
...
Fix https://github.com/atom/electron/issues/1637
2015-05-12 06:02:42 +08:00
Cheng Zhao
e817192df3
Make history.go work
2015-05-11 16:44:01 +08:00
Cheng Zhao
2bb7497312
Handle when in-page entries are cleared
2015-05-11 16:37:53 +08:00
Cheng Zhao
82ffa4d2b1
Send history operations as asynchronous messages
...
Sending as sync message will cause weird results for
NavigationController
2015-05-11 16:03:25 +08:00
deepak1556
707503ac40
support https, ws, wss builtin schemes to be intercepted
2015-05-11 12:56:36 +05:30
deepak1556
7fee639edf
protocol: wrapping httpjobfactory with a default protocol handler to intercept
2015-05-11 12:32:17 +05:30
Cheng Zhao
d1545a64ae
Don't force restart renderer process for in-page navigation
2015-05-11 14:40:40 +08:00
Cheng Zhao
40631edb70
Use Chrome's navigation controller for in-page navigations
2015-05-11 14:30:26 +08:00
Cheng Zhao
4d1cd7e15f
Redirect history operations in renderer to browser
2015-05-11 14:29:44 +08:00
Cheng Zhao
4c10925694
Add remote.getCurrentWebContents API
2015-05-11 14:05:20 +08:00
Cheng Zhao
fc2bc20572
Determine wheter a navigation entry is in-page
2015-05-11 13:51:52 +08:00
deepak1556
24bcd3b21e
provide default error message
2015-05-11 10:24:44 +05:30
deepak1556
9ab53b0e4b
protocol: adding error job to log error with custom protocols
2015-05-11 10:17:31 +05:30
Cheng Zhao
d9c769fa69
Reuse archive's fd in Node asar API
2015-05-11 11:10:50 +08:00
Cheng Zhao
d8d7e5b9bb
Add Archive::GetFD
2015-05-11 11:02:17 +08:00
Cheng Zhao
f8e1dfbbc6
Keep archive's file opened in the archive's whole life time
2015-05-11 10:47:29 +08:00
Cheng Zhao
75e5695317
Merge pull request #1554 from deepak1556/favicon_patch
...
webContents: removing getFavicon api
2015-05-10 21:22:01 +08:00
Cheng Zhao
66ef52197a
mac: Make "standard-window" option default to true
2015-05-10 21:16:08 +08:00
Cheng Zhao
9e3f108fad
Merge pull request #1585 from joshaber/no-texture
...
Use the standard window background
2015-05-10 21:09:38 +08:00
Cheng Zhao
1571c3537d
Merge pull request #1601 from hokein/fix-out-of-bound
...
Fix a potential out-of-bound issue in Accelerator.
2015-05-10 21:04:45 +08:00
Cheng Zhao
ce042d0524
mac: Don't use [NSScreen mainScreen]
2015-05-10 16:51:18 +08:00
deepak1556
15ae6b8d36
fix lint errors and add documentation
2015-05-10 10:25:19 +05:30
deepak1556
853ce0bbd7
provide flag to set flash version
2015-05-10 09:22:09 +05:30
deepak1556
1c190388e5
flash_drm_host not required
2015-05-10 09:22:09 +05:30
deepak1556
3fdc4543b8
ppapi flash plugin support
2015-05-10 09:22:09 +05:30
Cheng Zhao
95e72c24cc
Merge pull request #1532 from hokein/win-print
...
Make Print API work on Windows.
2015-05-10 11:40:19 +08:00
joshaber
85119db81a
Use a new option to opt into the standard window.
2015-05-08 16:28:24 -04:00
Cheng Zhao
4d9470c24e
Bump v0.25.3
2015-05-08 14:28:30 +08:00
Haojian Wu
2b82e523bf
Fix a potential out-of-bound issue in Accelerator.
2015-05-07 15:46:38 +08:00
Cheng Zhao
9d54092f41
Merge pull request #1512 from hokein/add-win-key
...
Add `Super` key support in global-shortcut API.
2015-05-07 10:35:56 +08:00
joshaber
5f357d39b2
If it's frameless then use the textured background.
2015-05-06 10:08:24 -04:00
joshaber
102fb66461
Remove the textured background.
2015-05-05 20:53:26 -04:00
Haojian Wu
0f67b1866a
Add Super
key support in global-shortcut API.
2015-05-05 22:49:32 +08:00
Haojian Wu
298d3a0144
Fix compilation error on OS X.
2015-05-04 20:58:48 +08:00
deepak1556
22c50d0800
webContents: removing getFavicon api
2015-05-04 13:39:13 +05:30
Cheng Zhao
06834b723b
Merge pull request #1568 from atom/tray-getposition
...
Pass bounds instead of position in "clicked" event of "tray"
2015-05-04 13:13:33 +08:00
Cheng Zhao
0d4d2080ca
Implement size and position APIs with bounds API
2015-05-04 12:47:56 +08:00
Cheng Zhao
7142cae041
mac: Also use [NSScreen mainScreen] in other places
2015-05-04 12:33:51 +08:00
Cheng Zhao
1835d90bb7
Merge pull request #1551 from atom/log-preload-errors
...
Log errors in preload script instead of rethrowing
2015-05-04 12:10:21 +08:00
Cheng Zhao
f5cf3556b1
Pass bounds in clicked event of tray
2015-05-04 11:43:22 +08:00
Cheng Zhao
a53b1f7edf
win: Mouse position is not notify icon's position
2015-05-04 11:37:23 +08:00
Cheng Zhao
294dbac869
Merge pull request #1543 from deepak1556/tray_icon_patch
...
tray: send tray icon position as payload onclick OSX and windows
2015-05-04 11:11:13 +08:00
Cheng Zhao
5f27bb597f
Merge pull request #1545 from deepak1556/windows_patch
...
window: adding setBounds and getBounds api
2015-05-04 11:03:50 +08:00
Paul Betts
4f67415607
Enable NPAPI by default, trump Chromium's default
2015-05-01 16:59:40 -07:00
Paul Betts
e2ec50173f
Log errors in preload script instead of rethrowing
...
At some point, unhandled errors in preload scripts stopped being logged
to console, meaning that preload scripts were very difficult to debug.
Instead, print the error to console (which is what we wanted to have
happen anyways)
2015-05-01 16:11:56 -07:00
deepak1556
9ae59e8ac7
removed move utility and replaced with setbounds
2015-05-01 20:10:46 +05:30
deepak1556
6d7d068e49
tray: send tray icon position as payload onclick OSX
2015-05-01 19:30:01 +05:30
deepak1556
ae6a1b409f
window: adding setBounds and getBounds api
2015-05-01 16:20:53 +05:30
Cheng Zhao
4608f5e9cd
Bump v0.25.2
2015-05-01 14:57:25 +08:00
Cheng Zhao
9300859983
Merge pull request #1535 from deepak1556/contents_patch
...
webContents: adding serviceworker helper utilities
2015-05-01 14:56:35 +08:00
deepak1556
d76bd4a103
webContents: adding serviceworker helper utilities
2015-05-01 12:02:57 +05:30
Cheng Zhao
bfac7f7a17
Make beforeunload work in webview
2015-05-01 13:48:39 +08:00
Cheng Zhao
817dfbdc27
Merge pull request #1525 from deepak1556/dom_event_patch
...
webContents: providing dom-ready event
2015-05-01 12:08:03 +08:00
Cheng Zhao
72f5381c31
Merge pull request #1521 from deepak1556/title_patch
...
webContents: check for navigation entry before using
2015-04-30 16:54:14 +08:00
Haojian Wu
ff87592722
Make Print API work on Windows.
2015-04-30 13:42:08 +08:00
deepak1556
8c5f171a93
webContents: providing dom-ready event
2015-04-30 09:58:29 +05:30
Cheng Zhao
23afffa46d
Chaning src of webview should always do a load
...
Previously changing src to the same value won't have any effect, which
does not follow the behavior of browsers.
2015-04-29 17:57:16 +08:00
Cheng Zhao
8d3404d26c
win: Fix compilation error
2015-04-29 15:13:46 +08:00
Cheng Zhao
05e0564426
Merge pull request #1477 from atom/dont-rig-app-name
...
Provide an optional way to explicitly set the AppUserModelID
2015-04-29 14:10:12 +08:00
deepak1556
d8be645d5a
webContents: check for navigation entry before using
2015-04-29 08:57:49 +05:30
Cheng Zhao
c6cf91d11f
Add 'disable-auto-hide-cursor' option
2015-04-29 10:26:31 +08:00
Cheng Zhao
3a50c9e48c
Update to the new patch for acceptsFirstMouse
2015-04-29 10:26:31 +08:00
Paul Betts
7c2b1468c8
Fix typo
2015-04-28 15:49:16 -07:00
Paul Betts
fb6c80d12e
Create an explicit API for setting the App User Model ID
2015-04-28 12:23:58 -07:00
Kevin Sawicki
fdfd8807a0
Tweak path docs
2015-04-27 10:17:15 -07:00
Kevin Sawicki
da07e72f20
Add -h/--help usage message
2015-04-27 10:17:14 -07:00
Kevin Sawicki
f4a27f699a
Add help menu to electron site
2015-04-27 10:17:14 -07:00
Kevin Sawicki
e3c21424de
Add default help menu
2015-04-27 10:17:14 -07:00
Kevin Sawicki
b5aa2a31a1
Make full screen menu a toggler
2015-04-27 10:17:14 -07:00
Cheng Zhao
dde791d475
Allow calling goBack for multiple times
2015-04-27 15:11:59 +08:00
Cheng Zhao
16b2f08cd3
Don't use Chromium's history list
2015-04-27 15:11:59 +08:00
Cheng Zhao
0143a45488
Implement our own NavigationController
2015-04-27 15:11:59 +08:00
Cheng Zhao
2f1683445b
Only append command line params for renderer process
2015-04-27 15:11:59 +08:00
Cheng Zhao
4c78f98da6
Check if it is guest process before updating process ID
2015-04-27 15:11:59 +08:00
Cheng Zhao
36c4b1705d
Update guest process id when navigating
2015-04-27 15:11:58 +08:00
Cheng Zhao
d8adbc0875
NULL => nullptr
2015-04-27 15:11:58 +08:00
Cheng Zhao
b527846ee4
Use our new way to restart renderer process
...
As a side effect, it will also restart the renderer process of webview
tag guests.
2015-04-27 15:11:58 +08:00
Cheng Zhao
ecf29f72bc
mac: Remove unused action handler
2015-04-25 20:41:12 +08:00
Cheng Zhao
c811beb1e2
mac: Remove all unnecessary default menu items
2015-04-25 20:36:09 +08:00
Cheng Zhao
0c091428d3
Merge pull request #1455 from deepak1556/fullscreen_patch
...
window: supports HTML5 fullscreen api
2015-04-25 16:16:57 +08:00
Cheng Zhao
858198a2bd
Merge pull request #1461 from deepak1556/webview_devtools_patch
...
webview: add inspectElement method
2015-04-25 16:14:13 +08:00
Cheng Zhao
1649d8f900
Merge pull request #1438 from deepak1556/api_web_view_patch
...
webview: page-favicon-updated navigation event and getFavicon api
2015-04-25 13:04:43 +08:00
deepak1556
6cc571bdfe
include headers only in places used
2015-04-25 10:13:52 +05:30
deepak1556
da648511b3
asar: make fs async methods create errors asynchronously
2015-04-25 10:08:02 +05:30
deepak1556
18b3dfa350
removed will-navigate and did-navigate events
2015-04-25 09:50:28 +05:30
deepak1556
05be71e9bc
fix getFavcion api in webview to return dataUrl
2015-04-25 09:50:28 +05:30
deepak1556
36819e2638
added did-navigate event, getFavicon api and workaround webview spec
2015-04-25 09:50:28 +05:30
deepak1556
9b585458c1
webview: will-navigate and page-favicon-set navigation events
2015-04-25 09:50:28 +05:30
Cheng Zhao
80c8ab4c39
Style fix
2015-04-25 10:35:28 +08:00
Cheng Zhao
826a4e0e48
Merge branch 'master' of https://github.com/MaxGraey/electron into MaxGraey-master
2015-04-25 10:29:34 +08:00
deepak1556
cdb1711fe1
webview: add inspectElement method
2015-04-23 15:18:13 +05:30
deepak1556
20b4cae980
window: supports HTML5 fullscreen api
2015-04-23 12:14:29 +05:30
Cheng Zhao
67bc4afe88
Bump v0.25.1
2015-04-23 13:29:34 +08:00
Cheng Zhao
500d15f53a
Also remove user-defined search paths in renderer
2015-04-23 13:17:18 +08:00
Cheng Zhao
fad977e27d
Simplify how we remove user-defined search paths
2015-04-23 13:13:58 +08:00
deepak1556
4983ef77bd
module: remove system paths from search
2015-04-23 12:55:34 +08:00
Cheng Zhao
1690df9bcf
Merge branch 'api_content_tracing_patch' of https://github.com/deepak1556/atom-shell into deepak1556-api_content_tracing_patch
2015-04-23 10:21:15 +08:00
Cheng Zhao
e3109c9f1f
Bump v0.25.0
2015-04-22 05:50:55 +00:00
Cheng Zhao
a213a8639f
win: OpenItemViaShell is removed
2015-04-22 10:04:30 +08:00
Cheng Zhao
23833cf7f4
Update user agent
2015-04-21 19:01:29 +08:00
Cheng Zhao
b37c73436b
Fix API changes
2015-04-21 18:56:08 +08:00
Max Graey
916fa4b9a8
Merge pull request #1 from atom/master
...
Merge with forked
2015-04-21 04:39:54 +07:00
Cheng Zhao
51b5e953f4
Align the " in #1426
2015-04-20 20:04:02 +08:00
Cheng Zhao
5bdb4b9aa1
Merge pull request #1426 from deepak1556/api_pm_patch
...
pm: throw when initialising module before ready event
2015-04-20 20:02:44 +08:00
deepak1556
1f580cbb67
pm: throw when initialising module before ready event
2015-04-20 13:47:36 +05:30
Cheng Zhao
c1737e5c16
Parse the debug args of Node
2015-04-20 15:12:46 +08:00
Cheng Zhao
1d148fe2fb
Remove our own debugger implementation
...
Previously it was used because Node doesn't provide one for latest V8.
2015-04-20 14:35:57 +08:00
Cheng Zhao
88a1c7973c
Set node::node_isolate to fix crash
2015-04-20 14:32:41 +08:00
Cheng Zhao
7a52a4cff1
Also enable the debugger
2015-04-20 14:10:15 +08:00
Robo
ee08d98d2e
node: start debugger for node run during a forked process
2015-04-20 14:06:56 +08:00
Max Graey
0d3cc8aaa7
Fix some draw issues in native mac os window
...
Fix some non-transparent corners and lacking redraw while resizing non-frame window
2015-04-18 19:08:22 +07:00
deepak1556
51cadc6e90
nativemate: moved std::set converter
2015-04-18 01:29:57 +05:30
Cheng Zhao
0033240c1f
Bump v0.24.0
2015-04-17 15:30:17 +08:00
Cheng Zhao
d0d6512330
win: Update the rc file
...
We should find a way to generate from atom.gyp.
2015-04-17 15:29:47 +08:00
Cheng Zhao
cd0aa4a956
Merge pull request #1389 from atom/rename-to-electron
...
Rename to electron
2015-04-17 15:22:07 +08:00
Cheng Zhao
0bab50ed80
Fix typo
2015-04-17 15:10:48 +08:00
simurai
95250f4940
Replace icons
2015-04-17 00:38:14 +09:00
Cheng Zhao
76316e5e65
Forgot to set default version in crash reporter
2015-04-14 17:37:22 +08:00
Cheng Zhao
14e05c6d68
mac: Remove "Atom"s from default menu
2015-04-14 17:27:04 +08:00
Cheng Zhao
c7468278df
Change the window class names
2015-04-14 16:18:57 +08:00
Cheng Zhao
e04c58f398
mac: Generate Info.plist from gyp variables
2015-04-14 16:09:34 +08:00
Cheng Zhao
2d8d328f02
Rename hard-coded application names in code
2015-04-14 15:55:41 +08:00
Cheng Zhao
c6c305a827
Don't hard-code product name in crash-repoter
2015-04-14 15:39:48 +08:00
Cheng Zhao
b86f149512
Set process.versions['electron']
2015-04-14 14:18:20 +08:00
Cheng Zhao
ecc14dd023
mac: Avoid making frameworks_path for twice
2015-04-14 14:15:53 +08:00
Cheng Zhao
c20dc06c96
PRODUCT_NAME => ATOM_PRODUCT_NAME
2015-04-14 14:13:03 +08:00
Cheng Zhao
a72c7b38a5
Don't hard code exec path in child_process.fork
2015-04-14 14:05:30 +08:00
Cheng Zhao
4353c6d402
mac: Allow modifying helper app's name
2015-04-14 13:51:08 +08:00
Cheng Zhao
29338e2fa4
Lines should have <= 80 columns
2015-04-13 20:10:51 +08:00
Cheng Zhao
c10b9ea511
Merge pull request #1411 from theojulienne/accessibility-support
...
mac: Dynamically enable accessibility based on VoiceOver status
2015-04-13 19:57:32 +08:00
Cheng Zhao
fc7bddf0d9
Merge pull request #1409 from deepak1556/webcontents_geturl_patch
...
webContents: fix dereferencing null in getURL
2015-04-13 17:07:36 +08:00
Cheng Zhao
e28fc190f2
Merge pull request #1382 from deepak1556/webcontents_patch
...
webContents: workaround reloadIgnoringcache without breaking node integration
2015-04-13 14:54:06 +08:00
Cheng Zhao
eddb23d56b
Merge pull request #1387 from deepak1556/shell_patch
...
shell: fix regression for moveItemToTrash on mac
2015-04-13 14:51:59 +08:00
deepak1556
a3f630e55c
webContents: workaround reloadIgnoringcache without breaking node integration
2015-04-13 11:03:16 +05:30
deepak1556
175f397173
shell: fix regression for moveItemToTrash on mac
2015-04-13 10:57:58 +05:30
Cheng Zhao
64f9f7e906
Merge pull request #1386 from deepak1556/web_contents_patch
...
webContents: event to detect status of requested resource
2015-04-13 11:59:37 +08:00
Cheng Zhao
91c9f590dd
Remove the NativeImage::MakeTemplateImage method
...
Is duplicate with SetTemplateImage.
2015-04-13 11:53:24 +08:00
Cheng Zhao
f11988a354
Merge pull request #1383 from deepak1556/nativeimage_patch
...
nativeImage: adding setTemplateImage method
2015-04-13 11:47:58 +08:00
Cheng Zhao
6137c2317d
Improves #1373
...
* Don't pollute Menu API.
* Add examples in docs.
* Moves the docs from menu-item.md to menu.md.
2015-04-13 11:22:33 +08:00
Cheng Zhao
7a97488023
Merge pull request #1373 from FoldingText/position-menu-items
...
Add position attribute for menu items
2015-04-13 09:46:13 +08:00
Theo Julienne
ddfd2bc4be
[mac] Dynamically enable accessibility based on VoiceOver status
2015-04-12 10:44:27 -07:00
Cheng Zhao
43fe82e1e5
Merge branch 'master' into rename-to-electron
2015-04-12 21:49:08 +08:00
Robo
847ae5abe4
webContents: fix dereferencing null in getURL
2015-04-12 10:51:05 +05:30
Cheng Zhao
a724d6d684
Bump v0.23.0
2015-04-12 12:59:04 +08:00
Cheng Zhao
252ac465c5
Merge pull request #1384 from atom/component_build
...
Links with Chromium directly instead of linking its shared library
2015-04-11 14:12:16 +08:00
Cheng Zhao
1f66006c93
win: Fix link errors caused by libicu
2015-04-10 15:35:25 +08:00
Cheng Zhao
3a5bb588e5
No more need to reference node's symbols
2015-04-10 15:20:45 +08:00
Kevin Sawicki
6615ef1054
Atom Shell -> Electron
2015-04-08 10:16:10 -07:00
deepak1556
15a648a879
webContents: event to detect status of requested resource
2015-04-08 19:14:47 +05:30
Cheng Zhao
1b3b2cd402
linux: Don't dynamically load libgio
...
It conflicts with statically linked libgio.
2015-04-08 19:15:48 +08:00
deepak1556
efd294d69d
nativeImage: adding setTemplateImage method
2015-04-08 14:39:14 +05:30
Cheng Zhao
4ce3b407ab
Merge pull request #1363 from deepak1556/native_window_mac_patch
...
nativeWindowMac: check for web_contents before clipping
2015-04-08 09:04:16 +08:00
Jesse Grosjean
c8a3c14a8c
Add position attribute for menu items
...
This commit adds a position attribute for menu items defined in menu
templates. When the final menu is built the position attribute is used
to determine menu item positions in a similar design to how Eclipse
positions menu items.
2015-04-07 11:14:28 -04:00
Cheng Zhao
f169772031
Link boringssl and node together in one binary
2015-04-07 12:28:57 +08:00
Cheng Zhao
fb00c28026
Merge pull request #1356 from deepak1556/web_view_patch
...
webview: adding page-title-set event
2015-04-07 10:54:07 +08:00
Cheng Zhao
54bb072ae0
Merge pull request #1353 from deepak1556/args_patch
...
atomMain: initialise uv_setup_args
2015-04-07 09:59:10 +08:00
Cheng Zhao
e95ab2ddb8
Merge pull request #1337 from deepak1556/api_devtools_window_patch
...
browserWindow: adding devtools-focused event
2015-04-07 09:50:31 +08:00
deepak1556
1d97c2c8f2
nativeWindowMac: check for web_contents before clipping
2015-04-06 15:22:26 +05:30
Cheng Zhao
938069a389
win: Fix linking
2015-04-06 14:21:21 +08:00
Robo
87af6f9c80
webview: adding page-title-set event
2015-04-05 14:50:42 +05:30
Robo
8e8c5e1846
atomMain: initialise uv_setup_args
2015-04-04 19:20:21 +05:30
Cheng Zhao
ca161e29ce
Fix calling our new APIs in patch
2015-04-02 23:02:22 +08:00
Robo
3aefa5f549
browserWindow: adding devtools-focused event
2015-04-02 12:23:57 +05:30
Cheng Zhao
211e386c89
win: Fix linking errors
2015-04-01 21:33:08 +08:00
Cheng Zhao
2915774644
No more need to reference node's native bindings
2015-04-01 21:07:29 +08:00
Cheng Zhao
ce3d9f44ff
win: Fix compilation error
...
MSDN said, "These are pre-Win32 error codes and are no longer supported or
defined in any public header file."
2015-03-30 09:55:02 +08:00
Cheng Zhao
c5c686fe8c
linux: Fix compilation error
2015-03-29 21:35:40 +08:00
Cheng Zhao
59c95f6a7d
Bump v0.22.3
2015-03-29 21:16:42 +08:00
Cheng Zhao
9b68777b4b
Minor fixes of #1309
...
* Line length should <= 80 cols.
* Add missing "s".
2015-03-29 20:40:02 +08:00
Cheng Zhao
3b1be743ef
Merge pull request #1309 from hokein/workspace-visible-api
...
Add workspace visible APIs
2015-03-29 20:37:07 +08:00
Cheng Zhao
b987656f1f
It is not safe to get exit code once the child is reaped
...
Continues #1311 .
2015-03-29 20:32:23 +08:00
Cheng Zhao
e0d0e7651f
Merge pull request #1311 from deepak1556/api_shell_patch
...
shell: return status for moveitemtotrash operation
2015-03-29 20:02:13 +08:00
Cheng Zhao
922def8ce0
Cleanup command line handling code
2015-03-29 19:59:16 +08:00
Cheng Zhao
d9c22396ea
Revert "Don't store args as std::string"
...
This reverts commit 8482575d1f
.
There is weird thing happened if we tried to store raw "argv" on Linux.
2015-03-29 19:53:47 +08:00
Cheng Zhao
8482575d1f
Don't store args as std::string
2015-03-29 19:11:25 +08:00
Haojian Wu
0342854e25
Update workspace visible APIs.
2015-03-29 10:01:52 +08:00