Milan Burda
5bfa898a02
Always drop SEM_NOGPFAULTERRORBOX flag from error mode (enables WER if crashReporter is not started)
2016-09-29 13:57:41 -07:00
Kevin Sawicki
770a3509cf
Add forward declaration of NSWindow.allowsAutomaticWindowTabbing
2016-09-29 10:54:59 -07:00
Brian Clifton
52340b43f5
Possible fix for issues seen on frameless window (Windows) when at 200%
2016-09-29 10:48:36 -07:00
deepak1556
1323542373
browser: allow filesystem access for devtools scheme
2016-09-29 22:54:39 +05:30
Kevin Sawicki
24b9313958
Disable Show Tab Bar menu item on macOS Sierrra
2016-09-29 10:18:15 -07:00
Kevin Sawicki
8abe8fe01d
Remove unneeded locker and handle scope
2016-09-29 09:16:35 -07:00
Kevin Sawicki
77b35ba7ab
Use separate session for cookies change event test
2016-09-29 09:16:35 -07:00
Kevin Sawicki
19c7ee0932
Use scoped_refptr for cookie delegate
2016-09-29 09:16:35 -07:00
Kevin Sawicki
24bcf6ac16
Add initial cookie changed event support
2016-09-29 09:16:29 -07:00
Kevin Sawicki
b3b9994ce8
Configure ink drops on menu bar buttons ( #7397 )
...
* Add ink drop to menu bar buttons
* Pass background color to submenu button
* Sort includes
2016-09-29 09:15:12 -07:00
Cheng Zhao
c51982a231
Merge pull request #7362 from bsclifton/fix-windows-draggable-high-dpi
...
Fixes mouse coordinates for Windows when display is set to a higher DPI
2016-09-28 19:42:17 +08:00
Cheng Zhao
de76bf5f63
Merge pull request #7296 from adammeyer/custom-window-level
...
Allow custom window level when sending window to top
2016-09-28 19:18:12 +08:00
Brian Clifton
13de65d310
Fixes mouse coordinates for Windows when display is set to a higher DPI (ex: enlarged by 150% using display settings)
2016-09-27 08:23:48 -07:00
Cheng Zhao
458c4dd129
Merge branch 'support-chromium-sandbox' of https://github.com/tarruda/electron into tarruda-support-chromium-sandbox
2016-09-27 20:02:23 +08:00
Cheng Zhao
604700187d
Merge pull request #7327 from MaxWhere/osr-fixes
...
Small fixes for offscreen rendering
2016-09-27 19:17:10 +08:00
Cheng Zhao
4c8d0ab804
Merge pull request #7298 from deepak1556/content_settings_patch
...
protocol: disable storage for non standard custom schemes
2016-09-27 18:52:36 +08:00
Thiago de Arruda
a64978b812
Use the routing id on api::WebContents::GetID
...
The sandbox option allows multiple webContents in one renderer process, so using
the only the renderer id to identify WebContents instances is no longer an
option.
WebContents::GetID now returns a 64-bit integer, which is composed of both the
process id(high 32), and the RenderViewHost routing id(low 32). Also add a
`GetProcessID` that retrieves the renderer process id, a requirement in some of
our javascript code.
2016-09-27 06:01:47 -03:00
Thiago de Arruda
524bab530a
Improve AtomSandboxedRendererClient to support preload scripts.
...
Add RenderFrameObserver/RenderViewObserver subclasses that implement the
necessary support for preload scripts in sandboxed renderers.
2016-09-27 06:01:47 -03:00
Thiago de Arruda
6afe8aa7f2
Move EmitIPCEvent into AtomRenderViewObserver.
...
Refactor this function as a method so it is possible to inherit most behavior
from AtomRenderViewObserver and override EmitIPCEvent.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
c8629019f5
Expose atom_api_renderer_ipc module API
2016-09-27 06:01:46 -03:00
Thiago de Arruda
a7b6332ed0
Add atom::AtomSandboxedRendererClient class
2016-09-27 06:01:46 -03:00
Thiago de Arruda
06cc9a44fe
Add support for native chromium popups on sandboxed renderers.
...
- Allow `api::Window` instances to be created from existing `api::WebContents`.
- Override `WebContentsCreated` and `AddNewContents` to wrap renderer-created
`content::WebContents` into `api::WebContents`.
- For `content::WebContents` that should be displayed in new windows, pass the
wrapped `api::WebContents` object to window manager.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
0b3b29938f
Allow api::WebContents to fully wrap an existing content::WebContents.
...
- Add an overload to `WebContents::CreateFrom` that accepts a type parameter. If
type is `REMOTE`, initialization is the same as before(a thin wrapper). If
not, the `api::WebContents` will be fully initialized, as if it was created by
`api::WebContents::Create`.
- Move common initialization code to `InitWithSessionAndOptions`.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
1b1541fe1a
Decouple api::Window initialization from api::WebContents construction.
2016-09-27 06:01:46 -03:00
Thiago de Arruda
1d228446db
Expose --enable-sandbox
command-line switch.
...
When `--enable-sandbox` is passed, electron will use chromium sandbox to spawn
all renderers, and every new BrowserWindow will automatically have "sandboxed"
passed as a web preference(since the renderer would not work properly
otherwise).
2016-09-27 06:01:46 -03:00
Thiago de Arruda
c783ec72bc
Add "sandboxed" option to "webPreferences".
...
When "sandboxed" is passed as a web preference for `BrowserWindow`, the newly
created renderer won't run any node.js code/integration, only communicating with
the system via the IPC API of the content module. This is a requirement for
running the renderer under chrome OS-level sandbox.
Beyond that, certain behaviors of AtomBrowserClient are modified when dealing
with sandboxed renderers:
- `OverrideSiteInstanceNavigation` no longer create a new `SiteInstance` for
every navigation. Instead, it reuses the source `SiteInstance` when not
navigating to a different site.
- `CanCreateWindow` will return true and allow javascript access.
2016-09-27 06:01:46 -03:00
gellert
ab5e51c209
fixes software rendering on macos and small resizing addition
2016-09-23 20:27:05 +02:00
Kevin Sawicki
df03c92249
Compare against NSNormalWindowLevel in IsAlwaysOnTop
2016-09-22 09:41:06 -07:00
Kevin Sawicki
c336cf59c1
Ignore level when calling SetAlwaysOnTop on Widget
2016-09-22 09:38:04 -07:00
Kevin Sawicki
bce62622bb
Fix compiler errors
2016-09-22 09:22:28 -07:00
Cheng Zhao
903bf444d9
Bump v1.4.1
2016-09-22 19:05:58 +09:00
adammeyer
783d47f78b
custom window level as string
2016-09-21 22:49:06 -04:00
adammeyer
fbb3a288ec
Allow custom window level when sending window to top
2016-09-21 13:35:59 -04:00
deepak1556
ed465208a2
renderer: add content settings class for managing storage
2016-09-21 21:47:30 +05:30
Kevin Sawicki
ea1927f428
Store api_key_ on TokenLoadingJob
2016-09-20 13:24:45 -07:00
Zeke Sikelianos
fa2aaa48b1
allow GOOGLE_API_KEY to be set in environment
2016-09-20 12:01:59 -07:00
Cheng Zhao
30a6b597a5
Merge pull request #7239 from darkdh/6873
...
Emit scroll-touch-edge event instead of changing the behavior of scrollll-touch-begin/end
2016-09-20 14:51:10 +09:00
Cheng Zhao
e3e450613d
Merge pull request #7157 from Mossop/moveguest
...
Allow moving a webcontents to a different webview
2016-09-20 14:28:42 +09:00
Samuel Attard
456f102cdc
Fix k typo
2016-09-20 02:42:41 +10:00
Samuel Attard
1454510549
Alphabetical method ordering
2016-09-20 02:41:26 +10:00
Samuel Attard
5dd5dbb3d8
Add a systemPreferences API method to fetch the system ColorizationColor
...
This is useful for automatical app theming
* Fetches the color from the registry
* Returns an empty string if the fetch fails (a falsey value)
2016-09-20 02:41:26 +10:00
Cheng Zhao
5bf746700e
Unsubscribe observer when OffScreenRenderWidgetHostView is destroyed
2016-09-19 16:51:03 +09:00
Cheng Zhao
26004f1a66
Merge pull request #7241 from miniak/crashed-killed
...
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
2016-09-19 16:02:52 +09:00
Cheng Zhao
1fd819e500
Merge pull request #7231 from miniak/default-error-mode
...
Fix ELECTRON_DEFAULT_ERROR_MODE
2016-09-19 15:44:52 +09:00
Cheng Zhao
a260647b4f
Merge pull request #7062 from MaxWhere/osr-sizing-fix
...
Offscreen invalidate and sizing fix
2016-09-19 15:38:11 +09:00
Cheng Zhao
ffe931bde7
Merge pull request #7226 from electron/power-monitor-error
...
Rethrow caught errors from process.binding
2016-09-19 15:25:18 +09:00
Milan Burda
8567f79e67
Add killed argument for webContents.on("crashed") and app.on("gpu-process-crashed") events
2016-09-17 17:02:36 -07:00
Anthony Tseng
269a87b26f
Emit scroll-touch-edge event instead of changing the behavior of scroll-touch-begin/end
...
fix #6873
2016-09-17 22:50:10 +08:00
Kevin Sawicki
1072519488
Mark atom-shell version as deprecated
2016-09-16 15:59:00 -07:00
gellert
37de2301f7
moves setsize call to osr renderwidgethostview
2016-09-16 23:28:51 +02:00
gellert
fec5a7d67a
removes extra header
2016-09-16 23:27:51 +02:00
gellert
8baaad4e0d
cleanup and adds docs
2016-09-16 23:27:51 +02:00
gellert
10ea0268e5
calling setsize only on osr windows
2016-09-16 23:27:11 +02:00
gellert
b4c220613f
adds invalidate method and proper resizing
2016-09-16 23:27:11 +02:00
Milan Burda
12a2b144f3
Only drop the SEM_NOGPFAULTERRORBOX flag when calling SetErrorMode (ELECTRON_DEFAULT_ERROR_MODE)
2016-09-16 14:01:33 -07:00
Kevin Sawicki
0c3ad527e3
initialize -> require
2016-09-16 13:09:06 -07:00
Kevin Sawicki
577394442b
power-monitor -> powerMonitor
2016-09-16 09:58:27 -07:00
Cheng Zhao
da677b683b
Merge pull request #7163 from MaxWhere/frame-sub-scale-fix
...
Frame subscriber improvements
2016-09-16 21:24:53 +09:00
Cheng Zhao
9dad9478fa
Merge pull request #7169 from deepak1556/download_defaultname_patch
...
browser: provide a default filename when unable to generate from download data
2016-09-16 21:19:21 +09:00
Cheng Zhao
69d4cac760
Merge branch 'release'
2016-09-16 21:03:54 +09:00
deepak1556
e7f1265b64
add save-to-disk disposition for new-window event
2016-09-16 16:30:26 +05:30
deepak1556
94faaf7d58
provide a default file name for downloads
2016-09-16 16:02:57 +05:30
gellert
64e53a17bd
reverts subscriber api
2016-09-16 11:18:15 +02:00
Cheng Zhao
20d5a50ac9
Merge pull request #7178 from aichingm/master
...
🐧 Add support for different trash implementations
2016-09-16 17:43:09 +09:00
Cheng Zhao
9714348260
Merge pull request #6941 from deepak1556/blob_data_patch
...
protocol: provide blob uuid with uploadData
2016-09-16 17:01:15 +09:00
Cheng Zhao
e62e62292a
Bump v1.4.0
2016-09-15 14:44:38 +09:00
Cheng Zhao
5be8104104
Update to Chrome 53.0.2785.113
2016-09-15 14:27:56 +09:00
deepak1556
eafb6307d5
fix crash when using geolocation api with enableHighAccuracy option
2016-09-14 16:23:01 +09:00
Cheng Zhao
fbac635687
Only emit finalUpdate found-in-page events
...
Since Chrome 53 all meaningful results of found-in-page are finalUpdate.
2016-09-14 16:23:01 +09:00
Cheng Zhao
5ccd0a24e9
Fix compatibility with canScroll
2016-09-14 16:23:01 +09:00
Cheng Zhao
5708e86a05
Fix API change of findInPage API
2016-09-14 16:23:00 +09:00
Cheng Zhao
937ae7ef8f
Fix crash caused by new network parameters
2016-09-14 16:23:00 +09:00
Cheng Zhao
4c56c1c2b2
Fix crash in offscreen renderer
2016-09-14 16:22:59 +09:00
Cheng Zhao
6d8f900916
Fix building on Windows
2016-09-14 16:22:43 +09:00
Cheng Zhao
4aa292c7cd
Fix building on Linux
2016-09-14 16:22:43 +09:00
Cheng Zhao
f28e8d7168
Fix API changes of Chrome 53
2016-09-14 16:22:43 +09:00
Cheng Zhao
cfe7bfd7eb
Bump v1.3.6
2016-09-14 14:36:11 +09:00
Cheng Zhao
b13bab6fae
Merge pull request #7182 from electron/shell-return-values
...
Return booleans from more shell APIs
2016-09-13 16:46:05 +09:00
Cheng Zhao
4eba8094d4
Merge pull request #7096 from minggo/add-option-to-disable-devtools
...
add option to disable devtools
2016-09-13 16:01:56 +09:00
Kevin Sawicki
07304e5950
Add missing return value
2016-09-12 14:33:22 -07:00
Kevin Sawicki
55eab8e385
Return boolean from shell.openItem
2016-09-12 14:29:06 -07:00
Kevin Sawicki
72558654ef
Return boolean from shell.showItemInFolder
2016-09-12 14:22:29 -07:00
Mario Aichinger
893fc2cd53
🐧 Add support for different trash implementations
...
Make the trash implemantation in MoveItemToTrash selectable via an environment variable
2016-09-12 10:41:23 +02:00
gellert
2435f1b660
lint fix
2016-09-09 23:50:01 +02:00
gellert
d3dc66e308
adds scale factor check and simplifies frame subscription
2016-09-09 23:17:17 +02:00
Dave Townsend
313b2faa3c
Add a guestinstance attribute to webviews reflecting their current guest
...
instance ID and allowing moving a guest instance to a new webview.
2016-09-09 10:32:05 -07:00
Cheng Zhao
e189132176
Merge pull request #7123 from deepak1556/asar_range_patch
...
protocol: respect range header when reading from asar
2016-09-09 20:59:12 +09:00
Cheng Zhao
7ed33dfbee
Merge pull request #7077 from miniak/title-bar-style
...
Add support for titleBarStyle: 'hidden-inset' on OS X 10.9
2016-09-09 20:27:26 +09:00
Cheng Zhao
b6079ff90b
Merge pull request #7053 from electron/launch-from-notification
...
Send notification info to app.ready, on macOS
2016-09-09 20:01:39 +09:00
Charlie Hess
32e0e8a151
Use smart pointers in a couple places.
2016-09-08 16:23:55 -07:00
Kevin Sawicki
224d3aef3e
Mark detach option for 2.0 removal
2016-09-08 09:05:49 -07:00
deepak1556
bd291b9601
protocol: respect range header when reading from asar
2016-09-08 10:14:49 +05:30
Kevin Sawicki
8652888e27
End sheet in parent when closing modal window
2016-09-07 15:24:37 -07:00
minggo
3fdc99c3c6
change the option name to devTools
2016-09-07 10:16:52 +08:00
minggo
7d712b77ba
remove duplicate comment
2016-09-07 09:43:06 +08:00
minggo
91fb85947d
WebContents::InspectElement and WebContents::InspenctServiceWorker return immediately if DevTools is disabled
2016-09-06 17:53:42 +08:00
minggo
baa55caf83
remove unneeded whitespace
2016-09-06 11:48:48 +08:00
minggo
19f6811312
initialize disable_devtools_
2016-09-06 11:08:50 +08:00
minggo
1f1180f857
use webPreferences to disable devtools
2016-09-05 18:25:57 +08:00
minggo
0d7e7be748
add option to disable devtools
2016-09-05 16:27:56 +08:00
Milan Burda
9911e60f5b
Add support for titleBarStyle: 'hidden-inset' on OS X 10.9
2016-09-03 01:33:20 +02:00
Cheng Zhao
02ce727ff6
Bump v1.3.5
2016-09-02 13:59:28 +09:00
Cheng Zhao
cdfcca147a
Fix warning when compiling for win32 ia32 build
2016-09-02 13:59:28 +09:00
Cheng Zhao
14f625d61b
Merge pull request #6826 from enlight/set-jump-list
...
Extend the custom Jump List API provided by Electron
2016-09-01 15:35:21 +09:00
deepak1556
7b85ca0301
create helper class to read blob data
2016-09-01 08:52:44 +05:30
Vadim Macagon
c64294cf60
Extend the custom Jump List API
...
Add `app.getJumpListSettings()` and `app.setJumpList(callback)` that
make it possible to fully customize the Jump List of an Electron app.
It is now possible to:
- Add tasks to the standard `Tasks` category.
- Add separators to the standard `Tasks` category.
- Add custom categories containing tasks and file links.
- Add system managed Recent/Frequent categories.
- Remove the custom Jump List.
2016-09-01 09:56:14 +07:00
Charlie Hess
f0517812b1
Linter fascism.
2016-08-31 18:12:35 -07:00
Charlie Hess
cd25066c9f
Fix oops on Windows / Linux.
2016-08-31 17:26:25 -07:00
Charlie Hess
af9e010162
Send notification userInfo to app.ready, on macOS.
...
Check if the user launched the app from a notification and send the notification args across if so.
2016-08-31 17:17:44 -07:00
deepak1556
5cbc8d5c71
fix ambiguous constructor call
2016-09-01 01:01:52 +05:30
deepak1556
d2e40d4fc1
update api to work on public url and uuid
2016-09-01 01:01:52 +05:30
deepak1556
0fb2339e3d
session: api to retrieve blob data from uuid
2016-09-01 01:01:52 +05:30
deepak1556
2b0f632d51
provide blob uuid from upload data
2016-09-01 01:01:52 +05:30
Cheng Zhao
4833c4800e
Merge pull request #6998 from electron/ipc-v8-converter-crash
...
Don't serialize external values over IPC
2016-08-31 20:45:25 +09:00
Kevin Sawicki
8a9776b227
Move IsExternal check to FromV8ValueImpl
2016-08-30 08:51:22 -07:00
Cheng Zhao
e2d70fb92b
Merge pull request #7028 from electron/default-exit-code
...
Default app exit code to 0
2016-08-30 19:36:03 +09:00
Cheng Zhao
ee1571e556
Revert "exit tab fullscreen on destroy"
2016-08-30 17:08:51 +09:00
Samuel Attard
adf9acc468
Default app exit code to 0
2016-08-30 13:30:56 +10:00
Kevin Sawicki
58fc1b7933
Ignore external values when serializing
2016-08-29 10:38:16 -07:00
Kevin Sawicki
4579ec6094
Don't convert values with internal fields
2016-08-29 10:38:16 -07:00
Cheng Zhao
b5dec9990e
Merge pull request #7003 from brave/exit-tab-fullscreen
...
exit tab fullscreen on destroy
2016-08-29 16:36:44 +09:00
Cheng Zhao
4e800e7fef
Merge pull request #7002 from electron/include-alpha
...
Enable alphabetical include order cpplint rule
2016-08-29 15:19:05 +09:00
Kevin Sawicki
3dd5628ded
Include windows.h first
2016-08-26 16:00:05 -07:00
bridiver
4532114965
exit tab fullscreen on destroy
2016-08-26 15:52:15 -07:00
Kevin Sawicki
6285500cdc
Sort includes alphabetically
2016-08-26 15:30:02 -07:00
Kevin Sawicki
56c17ae516
Enable alphabetical include order lint filter
2016-08-26 15:29:53 -07:00
Kevin Sawicki
7dd1a7e6f4
Only set _debugWaitConnect in main process
2016-08-26 12:30:27 -07:00
Kevin Sawicki
a2f0111205
Remove v8debug flag no longer supported by node
2016-08-26 12:08:18 -07:00
Kevin Sawicki
056e5b951b
Set process._debugWaitConnect with --debug-brk is specified
2016-08-26 12:06:15 -07:00
Cheng Zhao
cd469b5f31
Merge pull request #6983 from electron/download-item-prompt
...
Check DownloadItem save path before prompting
2016-08-26 20:41:03 +09:00
Cheng Zhao
d35613b5ad
Merge pull request #6977 from electron/ipc-cycle-detection
...
Improve cycle detection in IPC arguments
2016-08-26 20:26:00 +09:00
Kevin Sawicki
cf93e3e713
Check download item save path before prompting
2016-08-25 14:34:48 -07:00
Kevin Sawicki
7a0129bbc7
Correct misspelling of destroy in method name
2016-08-25 12:28:57 -07:00
Kevin Sawicki
50e2e26e4f
Improve cycle detection in V8ValueConverter
2016-08-25 09:26:07 -07:00
Cheng Zhao
764c84f569
Merge pull request #6952 from deepak1556/custom_scheme_filesystem_patch
...
protocol: allow standard schemes to support filesystem api
2016-08-25 09:28:34 +09:00
Kevin Sawicki
459c80da4e
Only change window state when fullscreen is true
2016-08-24 14:30:29 -07:00
deepak1556
62cb8428fb
use schemes from global instead of commandline
2016-08-24 20:22:35 +05:30
deepak1556
ad0c86db7a
register custom schemes to access files through filesystem api
2016-08-24 05:46:54 +05:30
Kevin Sawicki
21de91d6e2
Don't open dev tools if already initialized
2016-08-23 15:26:13 -07:00
Kevin Sawicki
463b3de199
Use correct GetToplevelWindow signature
2016-08-23 10:12:55 -07:00
Kevin Sawicki
dd5ee28b2f
Access window through native view
2016-08-23 09:51:54 -07:00
Cheng Zhao
88979a9844
Bump v1.3.4
2016-08-23 17:03:07 +09:00
Kevin Sawicki
0485e9eb36
🎨 Go back to single line declaration
2016-08-22 16:26:31 -07:00
Kevin Sawicki
ad3dc3766e
Default network values to 0.0
2016-08-22 14:19:09 -07:00
Cheng Zhao
103fea5cdf
Use scoped policy for micro tasks
2016-08-22 19:34:59 +09:00
Cheng Zhao
c1989fb794
Merge pull request #6913 from markwylde/bugfix-spelling-fix
...
Fix spelling mistake from registred to registered
2016-08-22 11:19:09 +09:00
Cheng Zhao
31b82731ac
Cleanup the usages of std::wstring
2016-08-22 09:57:52 +09:00
Cheng Zhao
77dfd3a76c
Do not add extra space when args is empty
2016-08-22 09:50:58 +09:00
Cheng Zhao
8b9fd8a76e
Merge pull request #6858 from electron/default-protocol-launch-args
...
Allow settings of launch args when using defaultProtocol
2016-08-22 09:32:54 +09:00
Mark Wylde
c55b1e87ed
Fix spelling mistake from registred to registered
2016-08-20 14:25:13 +01:00
Samuel Attard
ab7899d0fb
Fix linting issues
2016-08-18 20:42:06 +10:00
Samuel Attard
73246112d2
Use base::string16 and base::JoinString instead of custom methods
2016-08-18 20:35:57 +10:00
Samuel Attard
ca971e978e
Return boolean instead of empty string when error occurs. Update docs
2016-08-18 18:02:13 +10:00
Cheng Zhao
105597c7e8
Merge pull request #6848 from miniak/titlebar-style-hidden
...
Add support for titleBarStyle: 'hidden' on OS X 10.9
2016-08-18 14:40:54 +09:00
Cheng Zhao
06d2dfe119
Merge pull request #6788 from electron/felix-progress-enum
...
Use enum to declare ProgressState
2016-08-18 14:35:00 +09:00
Cheng Zhao
56d17a1449
Merge pull request #6829 from electron/fix-thumbar-buttons-vanishing
...
Save the thumbar buttons when setting them to restore later
2016-08-18 14:34:26 +09:00
Cheng Zhao
0b7b6b38c0
Merge pull request #6872 from electron/only-show-extension-button-on-save-dialog
...
Only call setCanSelectHiddenExtension on save dialogs
2016-08-17 22:35:15 +09:00
Cheng Zhao
79f35fa475
Merge pull request #6850 from electron/disable-resize-when-changing-style-mask
...
Disable all resizes when changing the window's style mask
2016-08-17 21:19:35 +09:00
Cheng Zhao
8f9a0100e3
Certificate data is now a string
2016-08-17 20:48:09 +09:00
Cheng Zhao
47c37d6f51
Merge pull request #6814 from brave/net-converter-fix
...
don't convert a string to an array buffer
2016-08-17 20:44:13 +09:00
Cheng Zhao
bd03ae53f2
Merge pull request #6832 from hammerandchisel/bug/remote_object_freer_crash
...
fix intermittent crash in RemoteObjectFreer
2016-08-17 20:31:06 +09:00
Cheng Zhao
4e355355a9
Merge pull request #6851 from electron/focused-web-contents-from-hidden-windows
...
Prevent web contents in hidden windows from reporting as focused
2016-08-17 20:15:37 +09:00
Kevin Sawicki
4fc4f0ae53
Only call setCanSelectHiddenExtension for save dialogs
2016-08-16 17:22:44 -07:00
Samuel Attard
88bf089504
Pass args through correctly
2016-08-16 17:40:44 +10:00
Samuel Attard
14154e374a
Fix cpp linting issues
2016-08-16 15:54:30 +10:00
Samuel Attard
e5daf63b0e
Allow client to specify EXE file and args to set as default handler
...
* Optional path param to setAsDefaultProtocolClient
* Optional args param to setAsDefaultProtocolClient
2016-08-16 15:35:33 +10:00
bridiver
ca4cbe34a0
don't convert header names to nested values
...
fixes #6855
2016-08-15 17:21:14 -07:00
Kevin Sawicki
0755349e70
Ensure hidden windows don't have focused webContents
2016-08-15 14:13:24 -07:00
Kevin Sawicki
86e5bd3552
Disable resize during any stylemask change
2016-08-15 13:18:22 -07:00
Milan Burda
ab8fd49c72
Add support for titleBarStyle: 'hidden' on OS X 10.9 (hidden-inset falls back to hidden)
2016-08-15 22:10:38 +02:00
bridiver
94c60379d1
don't convert a string to an array buffer
2016-08-13 13:35:23 -07:00
Andy Dill
704561b255
use MSG_ROUTING_NONE to initialize routing_id_ rather than 0
2016-08-12 13:03:31 -07:00
Andy Dill
a3bd54a41a
👕 fix lint line length error in remote_object_freer
2016-08-12 09:38:49 -07:00
Andy Dill
067aa3dbef
cache routing_id so we can look up the render_view in RunDestructor with no v8 calls
2016-08-12 09:16:10 -07:00
Samuel Attard
2fa7aa3c71
Save the thumbar buttons when setting them
...
Then restore the buttons when restoring the taskbar icon
2016-08-13 01:55:42 +10:00
Cheng Zhao
05518ccd52
Merge pull request #6817 from deepak1556/context_menu_image_patch
...
webContents: fix value of contextMenu hasImageContents property
2016-08-12 17:51:40 +09:00
Cheng Zhao
d84098c4c1
Merge pull request #6816 from deepak1556/webframe_scheme_patch
...
webFrame: enable privileged schemes to send CORS requests
2016-08-12 17:48:50 +09:00
Cheng Zhao
620847d2fd
Merge pull request #6755 from electron/upgrade-clang
...
Upgrade clang
2016-08-12 17:38:03 +09:00
deepak1556
ee298ea0e3
webContents: fix value of contextMenu hasImageContents property
2016-08-12 00:55:20 +05:30
Haojian Wu
2e5eeef70e
Pass compilation on mac.
2016-08-11 20:59:06 +02:00
deepak1556
77173be1c6
webFrame: enable privileged schemes to send CORS requests
2016-08-11 23:01:10 +05:30
Samuel Attard
5b07e8dd5b
Send isMainFrame as argument to did-navigate-in-page event
2016-08-12 01:27:50 +10:00
Felix Rieseberg
8b85ee8a20
🔧 Use enum to declare ProgressState
...
As recommended in #6768 , this commit adds an enum for progress states for windows.
2016-08-10 08:56:26 -07:00
Cheng Zhao
912c7716b3
Bump v1.3.3
2016-08-10 16:00:24 +09:00
Kevin Sawicki
2802d2f3f9
Use gfx::Rect::ToRECT
2016-08-09 08:50:06 -07:00
Kevin Sawicki
5f2a13d01b
Convert dip to screen rect for thumbnail clip
2016-08-09 08:40:38 -07:00
Cheng Zhao
6cd99ebf6b
Merge pull request #6752 from lgalabru/feature/macos-native-notifications
...
Send events as native macOS notifications
2016-08-09 21:34:52 +09:00
Cheng Zhao
dd79c71302
Style fixes for SetProgressBar
2016-08-09 21:02:14 +09:00
Cheng Zhao
81244c2221
Merge pull request #6768 from electron/felix-set-progress
...
Enable mode indication for setProgressBar
2016-08-09 20:58:07 +09:00
Cheng Zhao
25f29e30f5
Merge pull request #6776 from electron/remove-has-real-name-callback-property-check
...
Remove HasRealNamedCallbackProperty check when converting objects
2016-08-09 20:26:26 +09:00
Ludovic Galabru
a5351407c5
Fixing indentation
2016-08-09 05:57:02 -04:00
Felix Rieseberg
73c91dae9e
🔧 Enable mode indication for setProgressBar
...
This commit enables setting a mode for the setProgressBar method.
Old behavior is kept intact, usage is entirely optional.
2016-08-08 15:52:20 -07:00
Kevin Sawicki
bcc372568f
Add zoom menu item roles
2016-08-08 11:09:30 -07:00
Kevin Sawicki
59ffe35781
Merge pull request #6765 from miniak/menu-speaking-roles
...
Add macOS specific speaking roles for MenuItem
2016-08-08 11:06:45 -07:00
Kevin Sawicki
42a1136c88
Remove HasRealNamedCallbackProperty check
2016-08-08 09:35:40 -07:00
Cheng Zhao
872fbe8ba0
Merge pull request #6762 from miniak/set-thumbnail-clip
...
Add BrowserWindow.prototype.setThumbnailToolTip
2016-08-08 20:27:15 +09:00
Cheng Zhao
f5abae31a3
Code cleanup for native_window_mac
...
Method definitions should matche sequence of declarations.
2016-08-08 20:15:45 +09:00
Milan Burda
a6125c538e
Add BrowserWindow.prototype.setThumbnailToolTip
2016-08-08 12:05:47 +02:00
Cheng Zhao
a432fb0c34
Merge pull request #6766 from miniak/set-user-tasks-result
...
Report app.setUserTasks success/failure
2016-08-08 17:43:08 +09:00
Cheng Zhao
d1b9d03c74
Merge pull request #6754 from darkdh/swipe_conflict
...
Fix scroll conflict
2016-08-08 16:23:52 +09:00
Cheng Zhao
b6becdeae7
Merge pull request #6741 from MaxWhere/native-window-widget-mac
...
Offscreen rendering fixes for macOS
2016-08-08 16:10:30 +09:00
Cheng Zhao
443761b047
Merge pull request #6745 from electron/remove-lint-ignore-files
...
Remove files from cpplint ignore list
2016-08-08 16:04:07 +09:00
Milan Burda
a0cf013112
Report app.setUserTasks success/failure
2016-08-08 02:22:51 +02:00
Milan Burda
edc1a9614c
Add macOS specific speaking roles for MenuItem
2016-08-08 00:02:32 +02:00
Ludovic Galabru
38cc56efee
🍎 Send events as native macOS notifications
2016-08-06 14:54:07 +02:00
Anthony Tseng
1aedccaeeb
Fix scroll conflict
2016-08-06 14:02:40 +08:00
gellert
541116ff24
removes recycling of compositors on mac
2016-08-06 00:00:32 +02:00
Kevin Sawicki
fdc666708f
Use ATOM_COMMON_ATOM_VERSION_H_ as ifdef guar
2016-08-05 10:52:56 -07:00
Kevin Sawicki
0c5b49c402
Add recovery suggestion to failure string
2016-08-05 09:24:13 -07:00
gellert
f29dc3402b
reverts AcceleratedWidgetMacNSView into offscreen class
2016-08-05 15:23:36 +02:00
Cheng Zhao
5eeadb0ad4
Merge pull request #6737 from MaxWhere/setpainting-fix
...
Fix for transparent frames when offscreen window restarted painting
2016-08-05 20:47:35 +09:00
Heilig Benedek
29f30aa6ba
added checks for painting_ when setting the outputdevice to active state and removed show/hide from start/stoppainting since during testing they caused transparent frames to appear when a window was set to paint again after stopping
2016-08-05 12:30:47 +02:00
gellert
795753286b
moves AcceleratedWidgetMacNSView to NativeWindowMac
2016-08-05 12:29:35 +02:00
Cheng Zhao
1be253e1aa
Cleanup the code of getBitmap
2016-08-05 18:05:44 +09:00
Heilig Benedek
37f5ef5712
add getBitmap to NativeImage
2016-08-05 17:40:42 +09:00
Cheng Zhao
8c4ebdc88e
Emit NativeImage objects in paint event
2016-08-05 17:40:42 +09:00
Cheng Zhao
3be68ba136
Merge pull request #6736 from electron/maximizable-state
...
Always restore maximizable state after changing window behavior/style
2016-08-05 17:25:22 +09:00
Cheng Zhao
8a33464d41
Merge pull request #6654 from electron/content-bounds
...
Add BrowserWindow.get/setContentBounds()
2016-08-05 17:23:24 +09:00
Cheng Zhao
a14b2c1cf8
Remove AtomBrowserContext::SetCookieableSchemes
...
The standard schemes are already stored, we don't have to duplicate the
list for every session.
2016-08-05 16:35:37 +09:00
Cheng Zhao
6cd1aa21af
Merge pull request #6708 from deepak1556/cookieable_schemes_patch
...
protocol: custom standard schemes should support cookies
2016-08-05 16:25:23 +09:00
Kevin Sawicki
b77a553de7
Always reset maximizable state
2016-08-04 16:50:22 -07:00
Kevin Sawicki
dbddf5028a
Adjust y position if menu bar is visible
2016-08-04 13:18:58 -07:00
Kevin Sawicki
7bca105e15
Set max size on window constraints
2016-08-04 12:14:23 -07:00
Kevin Sawicki
7ae9c7616d
Use empty origin when only adjusting size
2016-08-04 12:10:01 -07:00
Kevin Sawicki
52199a008d
Add initial setContentBounds method
2016-08-04 12:02:24 -07:00
Kevin Sawicki
5681ee5220
Use current content position when adjusting content size
2016-08-04 11:41:32 -07:00
Kevin Sawicki
a190495df3
Use bounds for converting window/content sizes
2016-08-04 11:27:27 -07:00
Kevin Sawicki
4751f971e2
Use View::GetBoundsInScreen to compute content bounds
2016-08-04 09:58:36 -07:00
Kevin Sawicki
4f90abce23
Set bounds size to content size
2016-08-04 09:58:36 -07:00
Kevin Sawicki
48cc13d009
Add BrowserWindow.getClientBounds API
2016-08-04 09:58:35 -07:00
gellert
0bb5dabf99
omits setMouseDownCanMoveWindow call for OffScreenView
2016-08-04 12:00:35 +02:00
deepak1556
2aa1c9e556
register cookieable schemes with browser context
2016-08-04 12:17:30 +05:30
Cheng Zhao
41df037f64
Show dummy view under offscreen mode
2016-08-04 15:35:08 +09:00
deepak1556
52431506ba
protocol: custom standard schemes should support cookies
2016-08-04 11:06:21 +05:30
Cheng Zhao
64334fd40b
Pass SkBitmap directly
2016-08-04 13:22:19 +09:00
Cheng Zhao
530fcc8de1
Pass OnPaint callback in constructor
...
This can catch the paint events happened before onload event.
2016-08-04 13:03:24 +09:00
Cheng Zhao
32d9382417
Merge pull request #6713 from MaxWhere/offscreen-rendering-fixes
...
Fixes buffer size in offscreen mode
2016-08-04 13:00:54 +09:00
Heilig Benedek
1b0af6f6f1
removed bpp (it can be calculated)
...
fixed buffer size calculation (we actually send the whole image, not just the dirty part)
removed the unnecessary resets and const
now we use Copy instead of New
2016-08-04 05:18:27 +02:00
Cheng Zhao
4a5a4729b4
Merge pull request #6720 from deepak1556/extension_scheme_patch
...
browser: register extension scheme as web safe scheme
2016-08-04 10:51:48 +09:00
Cheng Zhao
28cb0c7f6b
Merge pull request #6709 from saghul/uv-fixes
...
A couple of small libuv related fixes
2016-08-04 10:09:58 +09:00
Cheng Zhao
361161df0a
Merge pull request #6711 from miniak/cleanup
...
isSwipeTrackingFromScrollEventsEnabled cleanup
2016-08-04 10:09:39 +09:00
deepak1556
835891b373
browser: register extension scheme as web safe scheme
2016-08-04 04:30:25 +05:30
gellert
ca16132268
renames to bytesPerPixel and use nullptr
2016-08-03 19:39:23 +02:00
gellert
8a5e96056e
adds resets to destructor
2016-08-03 17:38:56 +02:00
Milan Burda
136f10c4e8
Remove unnecessary comment + respondsToSelector for isSwipeTrackingFromScrollEventsEnabled implementation
2016-08-03 15:46:39 +02:00
Saúl Ibarra Corretgé
d6ff804b9a
Remove unneeded flag check
...
stop_flag is only set if uv_stop was called, which is never the case, so
skipping the test should be harmless.
2016-08-03 12:52:17 +01:00
Saúl Ibarra Corretgé
0da72be8a9
Remove unneeded libuv callback
2016-08-03 12:48:58 +01:00
gellert
50485a28d3
fixes buffer size and adds pixel size to paint event
2016-08-03 13:28:19 +02:00
Cheng Zhao
1445ea8baf
Revert Node's call of SetAutorunMicrotasks(false)
2016-08-03 17:57:10 +09:00
Cheng Zhao
5dabc47440
Remove the view-painted event
2016-08-03 16:20:55 +09:00