Kevin Sawicki
2b4fff70d5
Add initial crop method
2016-10-05 11:02:57 -07:00
Kevin Sawicki
042684fb38
Add resize method to native image
2016-10-05 11:02:56 -07:00
Cheng Zhao
772c456513
Merge pull request #7335 from miniak/set-default-error-mode
...
Add process.setDefaultErrorMode()
2016-10-03 20:53:42 +09:00
Cheng Zhao
5a56de501a
Bump v1.4.2
2016-09-30 17:39:27 +08:00
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
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
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
Cheng Zhao
903bf444d9
Bump v1.4.1
2016-09-22 19:05:58 +09:00
Zeke Sikelianos
fa2aaa48b1
allow GOOGLE_API_KEY to be set in environment
2016-09-20 12:01:59 -07: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
Kevin Sawicki
1072519488
Mark atom-shell version as deprecated
2016-09-16 15:59:00 -07: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
Cheng Zhao
69d4cac760
Merge branch 'release'
2016-09-16 21:03:54 +09: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
Cheng Zhao
5ccd0a24e9
Fix compatibility with canScroll
2016-09-14 16:23:01 +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
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
Cheng Zhao
02ce727ff6
Bump v1.3.5
2016-09-02 13:59:28 +09:00
deepak1556
7b85ca0301
create helper class to read blob data
2016-09-01 08:52:44 +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
Kevin Sawicki
8a9776b227
Move IsExternal check to FromV8ValueImpl
2016-08-30 08:51:22 -07: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
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
Kevin Sawicki
6285500cdc
Sort includes alphabetically
2016-08-26 15:30:02 -07:00
Kevin Sawicki
7dd1a7e6f4
Only set _debugWaitConnect in main process
2016-08-26 12:30:27 -07:00
Kevin Sawicki
056e5b951b
Set process._debugWaitConnect with --debug-brk is specified
2016-08-26 12:06:15 -07:00
Kevin Sawicki
50e2e26e4f
Improve cycle detection in V8ValueConverter
2016-08-25 09:26:07 -07:00
Cheng Zhao
88979a9844
Bump v1.3.4
2016-08-23 17:03:07 +09:00
Cheng Zhao
103fea5cdf
Use scoped policy for micro tasks
2016-08-22 19:34:59 +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
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
deepak1556
ee298ea0e3
webContents: fix value of contextMenu hasImageContents property
2016-08-12 00:55:20 +05:30
Cheng Zhao
912c7716b3
Bump v1.3.3
2016-08-10 16:00:24 +09:00
Kevin Sawicki
42a1136c88
Remove HasRealNamedCallbackProperty check
2016-08-08 09:35:40 -07:00
Kevin Sawicki
fdc666708f
Use ATOM_COMMON_ATOM_VERSION_H_ as ifdef guar
2016-08-05 10:52:56 -07: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
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
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
Cheng Zhao
59076711cb
Bump v1.3.2
2016-08-03 07:18:31 +09:00
Cheng Zhao
8c3232dc56
Every native class now gets a name
2016-08-02 19:28:12 +09:00
Cheng Zhao
cb19efe49c
Pass FunctionTemplate in BuildPrototype
2016-08-02 18:08:12 +09:00
Cheng Zhao
8cd4612fe0
Get rid of Constructor class
2016-08-02 17:02:04 +09:00
Cheng Zhao
e1152ae96c
Remove usages of linked_ptr
...
It is no longer needed since we now have move semantic.
2016-08-01 20:26:06 +09:00
Heilig Benedek
7a471e1ab7
fix UTF character sending as suggested by @zcbenz
2016-08-01 02:14:11 +02:00
Heilig Benedek
bc7c5c567c
fix toBUFFER naming issue and cursor-changed parameter order
2016-08-01 02:13:31 +02:00
Heilig Benedek
21962be60e
Adds option to get raw data from NativeImage
2016-07-31 05:24:44 +02:00
Heilig Benedek
af80b9a7df
Fixes not being able to send UTF8 characters anymore
2016-07-31 05:24:28 +02:00
Cheng Zhao
242ce4f818
Fix building on non-Windows
2016-07-27 19:55:05 +09:00
Cheng Zhao
ff5b8047a1
Throw exception when ReadShortcutLink failed
2016-07-27 16:32:32 +09:00
Cheng Zhao
25538fe7fb
All fields are always returned
2016-07-27 16:23:35 +09:00
Cheng Zhao
60ba2d624e
Initialize COM before using the API
2016-07-27 16:20:53 +09:00
Cheng Zhao
7f3443b138
Add shell.writeShortcutLink/readShortcutLink
2016-07-27 16:16:21 +09:00
Cheng Zhao
367f94aa76
Bump v1.3.1
2016-07-27 13:21:17 +09:00
Kevin Sawicki
7a1b796dd0
Change registered flag from InitBreakpad
2016-07-26 10:54:30 -07:00
Kevin Sawicki
8956388804
Only register code range once
2016-07-26 10:40:11 -07:00
Cheng Zhao
c497765dea
Merge pull request #6524 from liusy182/painted-event-6426
...
add "view-painted" event to WebContent.
2016-07-25 16:02:50 +09:00
Cheng Zhao
c0f81d14e4
Bump v1.3.0
2016-07-25 12:57:10 +09:00
Cheng Zhao
d22dc6c7d3
Update to Chrome 52.0.2743.82
2016-07-21 06:07:05 -06:00
Cheng Zhao
b57665330c
Merge branch 'master' into chrome52
2016-07-21 05:34:36 -06:00
Cheng Zhao
39bd2bee8e
Avoid using CHECK in files using node headesr
...
Node has its own CHECK macro which requires linking with node::Assert.
2016-07-21 16:56:48 +09:00
Cheng Zhao
7d42797c1f
Update node headers including
2016-07-21 00:57:34 -06:00
Cheng Zhao
498e9089b3
Bump v1.2.8
2016-07-20 23:57:08 -06:00
Anthony Tseng
9e6f623a5c
Using base::HexEncode()
2016-07-19 11:06:56 +08:00
Anthony Tseng
42eb0c3eae
serial number in hex string
2016-07-18 23:42:42 +08:00
liusi
d335d7d706
add "view-painted" event to WebContent.
2016-07-18 14:54:52 +08:00
Anthony Tseng
02e89d60f1
Use CalculateFingerprint256()
2016-07-14 19:09:11 +08:00
Anthony Tseng
db39867ad9
Add more detail attributes for certificate-error
2016-07-13 22:14:47 +08:00
Cheng Zhao
13e1818bf7
Bump v1.2.7
2016-07-13 12:22:42 +09:00
Milan Burda
38016b8144
Remove unnecessary >= Windows Vista check
2016-07-11 18:23:33 +02:00
Cheng Zhao
5208bbd2e8
Remove unneeded include
2016-07-11 17:13:21 +09:00
Cheng Zhao
86338290fb
win: Fix openExternal not working with non-ASCII characters
2016-07-11 17:12:11 +09:00
Haojian Wu
4ac4dacffe
Some manual change to for-ranged loop.
...
Use "const auto&" where possible.
2016-07-10 15:57:51 +02:00
Haojian Wu
55b3f1936f
Modernize to C++11: Use for-range loop.
2016-07-10 13:33:15 +02:00
Haojian Wu
04f9d35312
Modernize to C++11: Use auto
key to improve code readability and maintainability.
2016-07-10 13:11:47 +02:00
Haojian Wu
fab02809c6
Modernize to C++11: NULL => nullptr.
...
No functional change.
2016-07-10 11:57:04 +02:00
Cheng Zhao
92b97d3576
Bump v1.2.6
2016-07-06 13:20:36 +09:00
Cheng Zhao
381689d3ed
Fix building on Windows
2016-07-05 09:31:29 +09:00
Cheng Zhao
8d3e09747a
directWrite option is removed
2016-07-05 09:20:57 +09:00
Cheng Zhao
d0719e9b4b
Fix cpplint warnings
2016-07-04 19:19:20 +09:00
Cheng Zhao
1ba3907038
Update to API changes of Chrome 52
2016-07-04 15:32:43 +09:00
Cheng Zhao
eb378bef3a
Upgrade to Chrome 52
2016-07-04 15:32:43 +09:00
Cheng Zhao
cd38e5c85e
Update to Chrome 51.0.2704.106
2016-07-02 13:54:34 +09:00
Milan Burda
a886261518
Fix crash in ReadImageSkiaFromICO when CreateSkBitmapFromHICON fails
2016-06-28 12:17:05 -07:00
Cheng Zhao
04b30afbed
Merge pull request #6233 from electron/clipboard-bookmark-support
...
Add support for reading/writing bookmarks from the clipboard
2016-06-25 05:23:32 +00:00
Kevin Sawicki
e802d0e4a0
Add bookmark key to clipboard.write
2016-06-24 15:14:28 -07:00
Kevin Sawicki
271808b278
Support reading/writing bookmarks to clipboard
2016-06-24 15:08:12 -07:00
Milan Burda
dfc2f3f0c6
Fix uninitialized member variable in CrashReporterWin
2016-06-24 18:30:38 +02:00
Cheng Zhao
ee28f4fc32
Handle v8::MicrotasksScope in the main process
2016-06-24 14:45:31 +09:00
Cheng Zhao
a00c5e3363
Bump v1.2.5
2016-06-23 14:37:58 +09:00
Kevin Sawicki
e9222583cb
toPng/toJpeg -> toPNG/toJPEG
2016-06-22 15:47:42 -07:00
Cheng Zhao
08a1e92650
Bump v1.2.4
2016-06-22 10:26:54 +09:00
Cheng Zhao
c9d5c4e45c
mac: Convert path to absolute path in ShowItemInFolder
2016-06-20 21:14:17 +09:00
Cheng Zhao
1104dded24
Handle multiple modal windows correctly
2016-06-20 11:16:41 +09:00
Cheng Zhao
6cef29e4ee
Add win.getChildWindows() API
2016-06-20 11:16:41 +09:00
Cheng Zhao
ce2199d96a
Update to Chrome 51.0.2704.103
2016-06-19 21:09:29 +09:00
Leonard Lamprecht
511bf83fe7
Improved wording
2016-06-18 15:28:22 +02:00
Leonard Lamprecht
67dd19ed0f
Replace OS X and Mac OS with macOS
2016-06-18 15:26:26 +02:00
Cheng Zhao
553341db87
Bump v1.2.3
2016-06-16 12:38:00 +09:00
Cheng Zhao
8eca728e0a
Add focusable option
2016-06-13 17:10:28 +09:00
Cheng Zhao
e2442fb052
Move converter for std::map to native_mate
2016-06-13 09:27:13 +09:00
Milan Burda
c89d8b19b6
Add optional requestHeaders argument to autoUpdater.setFeedURL + allow calling mulitple times
2016-06-12 12:46:16 +02:00
deepak1556
0e0235407b
fill net::URLRequest details on IO thread
2016-06-09 10:39:18 +05:30
Cheng Zhao
b2bea57eff
Bump v1.2.2
2016-06-08 16:47:41 +09:00
Cheng Zhao
920ebee333
Make sure standard schemes are also set in child process
2016-06-08 15:46:50 +09:00
Cheng Zhao
77dc08f2f9
Update to Chrome 51.0.2704.84
2016-06-08 11:08:24 +09:00
Kevin Sawicki
f7b0bb2bf3
Add TODO about blinkFeatures -> enableBlinkFeatures
2016-06-07 16:23:09 -07:00
Kevin Sawicki
ae71cf3df1
Add disableBlinkFeatures option
2016-06-07 13:42:42 -07:00
Cheng Zhao
adec511891
Update to Chrome 51.0.2704.79
2016-06-06 15:59:07 +09:00
Cheng Zhao
0646f6ea9e
Implement Relaunch on Windows
2016-06-02 19:49:36 +09:00
Cheng Zhao
97dd71d79e
Bump v1.2.1
2016-06-01 16:15:53 +09:00
Cheng Zhao
9f0fc96025
Merge pull request #5711 from electron/extension-code-cleanup
...
Implement partial chrome.* API for devtools extension
2016-05-29 23:29:08 +00:00
Cheng Zhao
9ab76fb884
Add webContents.sendToAll to send message to all frames
2016-05-27 16:58:49 +09:00
Cheng Zhao
4fb9e20c33
Add API to set render process preferences
2016-05-27 08:51:02 +09:00
Kevin Sawicki
23962e133e
Use correct TODO format
2016-05-26 14:28:33 -07:00
Kevin Sawicki
dc7316f52f
Upper case abbreviations
2016-05-26 14:23:20 -07:00
Cheng Zhao
c1272743b9
Bump v1.2.0
2016-05-26 18:07:52 +09:00
Cheng Zhao
eb8284e285
Update to Chrome 51.0.2704.63
2016-05-26 18:06:55 +09:00
Cheng Zhao
34c4e797bb
Truncate the strings passed to google_breakpad::CustomInfoEntry
2016-05-25 14:46:15 +09:00
Cheng Zhao
28e2058ff1
Merge pull request #5648 from electron/chrome51
...
Update to Chrome 51
2016-05-24 10:59:11 +00:00
Cheng Zhao
1dd98171f4
Bump v1.1.2
2016-05-24 15:59:21 +09:00
Cheng Zhao
a92b4a6da4
Make |button| default to left button
...
This fixes the failing test of sendInputEvent.
2016-05-23 14:27:39 +09:00
Cheng Zhao
06800940ec
Fix cpplint warnings
2016-05-23 13:03:43 +09:00
Cheng Zhao
a2bd55dd3c
Adapt to changes of Chrome 51 API changes (Part 2)
2016-05-23 12:29:14 +09:00
Cheng Zhao
7ba391da7c
Update to API changes of Chrome 51
2016-05-23 10:59:39 +09:00
Cheng Zhao
05c2999651
Update to Chrome 51.0.2704.54
2016-05-23 10:11:19 +09:00
Cheng Zhao
13b4c8bb06
Ignore invalid parameter error in crash service process
2016-05-23 08:59:34 +09:00
Cheng Zhao
4c531e909b
Update breakpad to lastest master
2016-05-22 22:06:12 +09:00
Cheng Zhao
48b161f210
Update crashpad to 35da3b6
2016-05-22 21:00:16 +09:00
Cheng Zhao
a93c9462ed
Add BrowserWindow.setIcon
2016-05-20 22:22:15 +09:00
Cheng Zhao
ea2807c890
Make it possible to get different size of icons from ICO
2016-05-20 17:51:05 +09:00
Cheng Zhao
0059e7bcf9
Use LoadIconMetric to load correct icon
2016-05-20 17:12:07 +09:00
Cheng Zhao
9e26e5c121
Load HICON directly in NotifyIcon
2016-05-20 16:55:22 +09:00
Cheng Zhao
adfd99f5f0
Convert to mate::Handle<NativeImage> instead of gfx::Image
2016-05-20 16:14:40 +09:00
Cheng Zhao
7c34d8333c
Store ico image in HCION
2016-05-20 11:31:02 +09:00
Cheng Zhao
d5f3e5d59a
Bump v1.1.1
2016-05-20 09:30:24 +09:00
Cheng Zhao
983d611e96
Cleanup the docs of process object
2016-05-19 20:12:56 +09:00
Cheng Zhao
0bd3e28a05
Merge pull request #5526 from electron/process-stats
...
Process and System memory statistics API
2016-05-19 10:34:01 +00:00
Cheng Zhao
e609a5bee2
Fix passing fd across modules
2016-05-19 16:38:37 +09:00
Paul Betts
e995befcd0
Move everything into atom_bindings
2016-05-18 11:07:30 -07:00
Paul Betts
60bc2acd6c
Linting
2016-05-17 14:47:56 -07:00
Paul Betts
cd7bc0e50c
Rename Metrics => MemoryInfo so it's consistent
2016-05-17 14:47:56 -07:00
Paul Betts
75362450cd
Everything is in KB
2016-05-17 14:47:56 -07:00
Paul Betts
191b054ff0
Implement process and system memory statistics
2016-05-17 14:47:56 -07:00
Paul Betts
a7ac7ba4c1
Add the dumbest new builtin that works
2016-05-17 14:47:56 -07:00
Cheng Zhao
d3e359ab2d
No need for explicit type conversion
2016-05-14 22:50:05 +09:00
Cheng Zhao
7459581d13
Fix cpplint warnings
2016-05-14 22:40:18 +09:00
Paul Betts
19cba3ff85
Use doubles to represent memory size in bytes
2016-05-13 10:54:10 -07:00
Paul Betts
6f0057532a
Forgot scripts
2016-05-13 10:54:10 -07:00
Paul Betts
61e775c055
Write native_mate converters for WebCache::ResourceTypeStat and friends
2016-05-13 10:54:10 -07:00
Cheng Zhao
847d9580b7
Bump v1.1.0
2016-05-13 17:00:02 +09:00
Cheng Zhao
525d456f7c
Update to Chrome 50.0.2661.102
2016-05-13 11:14:43 +09:00
Cheng Zhao
f1142cf2b5
Adapt to changes on hash functions of Chrome 50
2016-05-13 11:12:15 +09:00
Cheng Zhao
e77582baee
Fix compilation warnings introduced by VS 2015
2016-05-13 11:12:01 +09:00
Cheng Zhao
73223fe5c3
Upgrade to Node v6
2016-05-13 11:12:01 +09:00
Brian R. Bondy
a9652052c4
Update Brightray and libchromiumcontent v50 ref (Electron maintainer use
...
your refs)
2016-05-13 11:11:50 +09:00
Brian R. Bondy
02d72c81af
Fix linking problem with IPC::MessageT
...
IPC::MessageT<ChromeUtilityHostMsg_ProcessStarted_Meta, std::__1::tuple<>, void>::MessageT(IPC::Routing)
2016-05-13 11:07:17 +09:00
Brian R. Bondy
8a2aebd03f
PermissionStatus constant update
2016-05-13 11:07:17 +09:00
Cheng Zhao
57b0f288cb
Bump v1.0.2
2016-05-13 09:21:33 +09:00
Cheng Zhao
064af6ecb2
Merge branch '1-0-release'
2016-05-11 22:11:08 +09:00
Cheng Zhao
ff3104b44b
hash function for pair is already defined in VS
2016-05-11 21:32:28 +09:00
Cheng Zhao
12d40cd310
Add typename hint to fix compilation error on VS2015
2016-05-11 20:57:21 +09:00
Cheng Zhao
759a46f3d6
Use DoubleIDWeakMap for |rendererFunctions|
2016-05-11 20:40:48 +09:00
Cheng Zhao
6578c4f0b3
Bump v1.0.1
2016-05-11 20:10:38 +09:00
Cheng Zhao
49ac160ff7
Move createIDWeakMap to v8Util
2016-05-11 19:30:06 +09:00
Cheng Zhao
a077355d70
Turn api::IDWeakMap into api::KeyWeakMap<T>
2016-05-11 18:21:35 +09:00
Cheng Zhao
04d59991b0
Use create function instead of IDWeakMap constructor
2016-05-11 16:15:32 +09:00
Cheng Zhao
c708ae8eb5
Remove IDWeakMap
2016-05-11 15:51:22 +09:00
Cheng Zhao
ea93553225
Make KeyWeakMap a template class
2016-05-11 15:17:35 +09:00
Cheng Zhao
e6c0b1fe0c
Fix leak when KeyWeakMap::Remove is called directly
...
Usually the KeyObject would be destroyed when GC happens, but then
Remove is called before GC happens, the KeyObject would be leaked
forever. This fixes it by keeping KeyObject as a member of map.
2016-05-11 15:17:35 +09:00
Cheng Zhao
79c1ad85f9
Add KeyWeakMap without Add method
2016-05-11 15:17:35 +09:00
Cheng Zhao
7f2a46cdd5
Remove unused methods of IDWeakMap
2016-05-11 15:17:35 +09:00
Cheng Zhao
0f52a6da39
Merge branch '1-0-release'
2016-05-11 15:14:56 +09:00
Cheng Zhao
c40fb67890
Bump v1.0.0
2016-05-09 21:17:35 +09:00
deepak1556
1ff33b7c81
protocol: fix registerStandardSchemes api
2016-05-08 01:36:34 +05:30
Cheng Zhao
446da677b5
Remove NativeImage.toDataUrl
2016-05-06 10:12:56 -07:00
Cheng Zhao
df397dab30
Add scrollBounce option and disable it by default
2016-05-06 14:57:43 +09:00
Cheng Zhao
2c31d7c1e8
Revert "Generalize this mate converter for reuse."
...
This reverts commit 92606579d3
.
2016-05-05 17:26:31 +09:00
Cheng Zhao
3f2a25d07c
Merge pull request #5352 from CharlieHess/hands-on-hand-off
...
OS X Handoff Feature
2016-05-05 12:06:56 +09:00
Cheng Zhao
0901a70166
Merge pull request #5379 from danhp/context-menu
...
Expose the 'context-menu' event.
2016-05-05 11:12:58 +09:00
Daniel Pham
a6f2d401fa
Follow object naming conventions for params in the 'context-menu' event
2016-05-04 10:41:10 -04:00
Daniel Pham
0fffbea79d
Add 'context-menu' event to 'WebContents'
2016-05-03 17:50:54 -04:00
Ryan Patterson
b15c07e1a8
Use select to query the uv kqueue
...
This resolves #38 . I've verified that events still get processed like they
should on El Capitan 10.11.3 (15D21).
2016-05-02 23:54:21 -07:00
Charlie Hess
88805ec7e2
Make the Linter happy.
2016-04-29 22:05:36 -07:00
Charlie Hess
92606579d3
Generalize this mate converter for reuse.
2016-04-29 17:32:25 -07:00
Cheng Zhao
edb73fb734
Bump v0.37.8
2016-04-29 20:48:19 +09:00
Cheng Zhao
76a954077d
Simplify RemoteCallbackFreer
2016-04-26 16:37:46 +09:00
Cheng Zhao
d9778413e1
Should also destory RemoteCallbackFreer when page is reloaded
2016-04-26 16:30:26 +09:00
Cheng Zhao
06cf0406fe
Dereference remote objects with native code
...
Previously we rely on the v8util.setDestructor to dereference the remote
objects in JavaScript, however as documented in V8, it is forbidden to
call V8 APIs in object's destructor (e.g. the weak callback), and doing
so would result in crashs.
This commit removes the JavaScript setDestructor method, and avoids
doing the dereference work with V8.
2016-04-26 16:16:22 +09:00
Cheng Zhao
13f8599ba1
Add systemPreferences module
2016-04-25 11:32:33 +09:00
Cheng Zhao
2ae52d0ff4
Make Wrappable a template class
2016-04-25 10:17:54 +09:00
Cheng Zhao
c04d43ca13
Bump v0.37.7
2016-04-22 17:39:11 +09:00
deepak1556
ca756c3c24
session: allow providing permission to handle external protocols
2016-04-21 05:27:07 +05:30
deepak1556
919be67cd2
remove --client-certificate flag
2016-04-18 22:26:37 +05:30
Cheng Zhao
aefb672393
Bump v0.37.6
2016-04-15 16:48:09 +09:00
deepak1556
54545a8a6e
provide security style for devtools security panel
2016-04-14 16:20:14 +05:30
Pete Burgers
00ff209fe7
Ensure process is cleaned up, to avoid leaks
2016-04-08 08:35:35 +01:00
Pete Burgers
46365f4076
wait_for_exit param should be const
2016-04-08 08:32:45 +01:00
Pete Burgers
79ba8feaf8
Don't wait for xdg-open to exit when OpenExternal is called (Linux)
...
Some browsers (eg. Firefox) may not return until the browser window is
closed. This causes the Electron application to lock up while the browser
window is open.
See https://github.com/atom/atom/issues/6320
2016-04-07 17:04:15 +01:00
Cheng Zhao
55b8e9aa44
Bump v0.37.5
2016-04-07 10:34:25 +09:00
Cheng Zhao
fdb138f79c
Bump v0.37.4
2016-04-03 18:31:23 +09:00
Cheng Zhao
39a20ea4fb
Upgrade Node to v5.10.0
2016-04-03 15:05:47 +09:00
Cheng Zhao
8c3ff97ba4
Make the logic of ParseHexColor more easy to understand
...
This also fixes the #FFFF style of color hex.
2016-04-03 10:42:49 +09:00
Cheng Zhao
cb470cb94b
Use BrowserWindow's backgroundColor as renderer view's background color
2016-04-02 20:46:50 +09:00
Kevin Sawicki
ce95747a25
atom.asar -> electron.asar
2016-04-01 16:12:12 -07:00
Cheng Zhao
c307478d5d
Merge pull request #4892 from deepak1556/v8_util_patch
...
common: use v8::private symbols as identifiers for object properties
2016-03-31 10:22:23 +09:00
Cheng Zhao
e401335ebb
Get rid of the global_env
2016-03-27 19:21:12 +09:00
Cheng Zhao
70f9cb098f
Use Environment::KickNextTick
2016-03-27 19:13:44 +09:00
Cheng Zhao
d83cb53997
Type of native array has changed
2016-03-27 19:13:44 +09:00
Cheng Zhao
75f0942057
Bump v0.37.3
2016-03-27 12:16:12 +09:00
Robo
5fccbfc7c6
common: use v8::private symbols as identifiers for object properties
2016-03-24 01:24:01 +05:30
Cheng Zhao
52d09e9600
Run callback of setDestructor immediately when GC happens
...
Fix #4733 .
2016-03-21 21:42:12 +09:00
Cheng Zhao
939d69df6e
Throw error with message of "Not implemented".
2016-03-17 22:01:31 +09:00
Cheng Zhao
081ab17e13
Merge pull request #4791 from atom/nativeimage-as-nsimage
...
Convert NativeImage instances to OS-specific representations
2016-03-17 21:49:46 +09:00
Paul Betts
e94da877c2
Fix compile oopses on non-OS X
2016-03-16 12:49:34 -07:00
Paul Betts
d344c1e408
AsNativeRepresentation => getNativeHandle
2016-03-14 19:50:31 -07:00
Paul Betts
e3e6cd6fd8
Remove type parameter
2016-03-14 19:48:40 -07:00
Cheng Zhao
e92d002eec
Bump v0.37.2
2016-03-14 17:22:09 +09:00
Paul Betts
63d9174822
🔥 build warning on Win32
2016-03-13 20:27:44 -07:00
Paul Betts
7233c83874
Linting
2016-03-13 20:18:03 -07:00
Paul Betts
262abc43f8
First hack at being able to return NSImage pointers
2016-03-13 20:08:53 -07:00
Paul Betts
b3da5370c0
Add a new method to get the representation of an image
2016-03-13 20:08:09 -07:00
Cheng Zhao
d96e03c402
Bump v0.37.1
2016-03-13 10:11:26 +09:00
Cheng Zhao
b10f196d16
Bump v0.37.0
2016-03-12 09:54:10 +09:00
Cheng Zhao
cd327e65cb
Revert "Bump v0.37.0"
...
This reverts commit aebfbf7782
.
We have troubles with linux-ia32 release.
2016-03-11 22:20:11 +09:00
Cheng Zhao
aebfbf7782
Bump v0.37.0
2016-03-11 21:47:32 +09:00
Cheng Zhao
6aec1e6949
Merge pull request #4714 from atom/chrome49
...
Upgrade to Chrome 49
2016-03-11 21:39:52 +09:00
Cheng Zhao
ead94b7b1f
Bump v0.36.11
2016-03-11 20:09:19 +09:00
Cheng Zhao
5f63df248a
Fix the chrome version
2016-03-11 19:53:41 +09:00
Paul Betts
f4ec369873
More boring fixups
2016-03-10 17:06:22 +09:00
Cheng Zhao
d36b8bca86
Fix compilation errors on Linux
2016-03-10 17:06:22 +09:00
Cheng Zhao
5fae63a2f5
Fix compilation errors on OS X
2016-03-10 17:06:21 +09:00
Paul Betts
4503aafe64
int32 => int32_t
2016-03-10 17:06:21 +09:00
Paul Betts
d2944c62a5
basictypes.h => macros.h
2016-03-10 17:06:21 +09:00
Cheng Zhao
9bc9a1a2bd
Upgrade to Chrome 49
2016-03-10 17:06:20 +09:00
Kevin Sawicki
006c77a00f
Update requires paths
2016-03-08 11:14:22 -08:00
Kevin Sawicki
70aa9b06ee
Move JavaScript to root lib/ folder
2016-03-08 11:14:21 -08:00
Cheng Zhao
549cccfce4
Merge pull request #4715 from dongjoon-hyun/fix_typos_in_comments
...
Fix typos in comments.
2016-03-08 19:45:05 +09:00
Dongjoon Hyun
0c92d44077
Fix typos in comments.
2016-03-07 20:22:03 -08:00
Kevin Sawicki
022c2c0d8c
absolute_path -> normalize_path
2016-03-07 16:45:14 -08:00
Kevin Sawicki
0dba0b9cad
MakePathAbsolute -> NormalizePath
2016-03-07 16:45:14 -08:00
Kevin Sawicki
9c88a5c1ab
Check ReferencesParent before calling MakeAbsoluteFilePath
2016-03-07 16:45:14 -08:00
Kevin Sawicki
145d5abe80
Mention explicit using original path on failures
2016-03-07 16:45:14 -08:00
Kevin Sawicki
b90c0c7895
Use MakeAbsoluteFilePath when creating native image from path
2016-03-07 16:45:13 -08:00
Cheng Zhao
2515425cd5
Remove duplicated keyboard code
2016-03-06 15:04:05 +09:00
Cheng Zhao
33978455b8
Bump v0.36.10
2016-03-05 12:00:06 +09:00
gellert
070772b4b9
Added special key identifiers for OSX and Windows
2016-02-26 20:22:46 +08:00
Cheng Zhao
a21e095a59
Merge pull request #4515 from deepak1556/ipc_value_conversion_patch
...
ipc: allow passing date instances
2016-02-26 16:16:33 +08:00
Cheng Zhao
a67b29d8d2
Bump v0.36.9
2016-02-26 02:18:27 +00:00
Cheng Zhao
316e6850ae
Merge pull request #4592 from miniak/fix-url-request-converter-crash
...
Fix crash in mate::Converter<const net::URLRequest*>::ToV8
2016-02-25 21:11:43 +08:00
Robo
a1a17b7ee8
use v8::Object::Get
2016-02-25 11:21:21 +05:30
Milan Burda
d2b48b2aa7
Fix crash in mate::Converter<const net::URLRequest*>::ToV8
...
The net::URLRequest::url() method calls vector<GURL>::back(), which is undefined when the url_chain is empty
2016-02-24 14:01:26 +01:00
Robo
467870deb6
use builtin method
2016-02-24 16:30:23 +05:30
Robo
6fcc197db8
webview: api to get webcontents and associated host webcontents
2016-02-24 11:55:15 +05:30
Cheng Zhao
8ff30a2abc
Revert "protocol: respect requests from partition"
...
This reverts commit 85800256de
.
2016-02-24 13:25:30 +08:00
Cheng Zhao
a63193c826
Merge pull request #4551 from deepak1556/protocol_session_patch
...
protocol: respect requests from partition
2016-02-24 12:03:37 +08:00
Robo
367d12402a
ipc: allow passing date instances
2016-02-23 16:23:15 +05:30
Cheng Zhao
c65cfadd09
v8Util.createObjectWithName is no longer used
2016-02-22 13:05:58 +08:00
Robo
85800256de
protocol: respect requests from partition
2016-02-19 19:39:01 +05:30
Cheng Zhao
4b18317e7c
Bump v0.36.8
2016-02-19 14:38:36 +08:00
Kevin Sawicki
b3ac48cf52
Handle argument parsing in C++
2016-02-17 09:05:21 -08:00
Kevin Sawicki
04517caf36
Add missing semicolon
2016-02-17 08:56:59 -08:00
Kevin Sawicki
5e5313d8b1
Return value from bindings method
2016-02-17 08:56:59 -08:00
Kevin Sawicki
f5bed87199
without_activation -> activate
2016-02-17 08:56:58 -08:00
Ben Gotow
d8679b3899
Allow openExternal to open URLs in the background #3224
2016-02-17 08:56:58 -08:00
Max Brunsfeld
3e3e593366
👕 Add missing semicolons
2016-02-16 15:28:33 -08:00
Max Brunsfeld
ccef805e9b
Add API for custom handling of deprecations
2016-02-16 15:21:32 -08:00
Vjekoslav Ratkajec
252b12be13
Add readRtf feature with appropriate spec test. Docs updated as well.
2016-02-05 09:06:21 +01:00
Vjekoslav Ratkajec
acd5d40ab0
Adding support to write RTF to clipboard.
2016-02-04 19:38:47 +01:00
Cheng Zhao
69f93a7528
Merge pull request #4223 from deepak1556/notification_disable_patch
...
session: add setPermissionRequestHandler api
2016-02-01 20:51:22 +08:00
Robo
45eada306f
add pointerlock permission type
2016-02-01 15:13:49 +05:30
Cheng Zhao
e450d1586e
Merge pull request #4288 from MaxWhere/master
...
Adding cursor-changed event to webContents
2016-02-01 17:03:16 +08:00
Robo
db26dcaf4c
expose handler from session and remove permission-request event
2016-02-01 12:23:51 +05:30
Heilig Benedek
745253a369
Quick fix for the memory leak + docs
2016-02-01 07:17:58 +01:00
Heilig Benedek
066c189249
Renamed some cursor types to their CSS names and added a way to handle custom cursors properly.
2016-01-31 17:00:14 +01:00
Heilig Benedek
61e0219e91
Added documentation, restructured the files to fit better with electron's style and fixed a typo in keyboard_util's name.
2016-01-31 02:27:14 +01:00
Robo
f7556de9fb
add spec for new permissions
2016-01-30 19:10:52 +05:30
Cheng Zhao
0aa0efa439
Do not print warning for FILE_ERROR_NOT_FOUND
...
Close #4282 .
2016-01-30 20:49:35 +08:00
Robo
2a278ceb8f
delegate to permission manager for other permissions
2016-01-30 16:49:18 +05:30
Cheng Zhao
9d8e23c822
Bump v0.36.7
2016-01-30 13:20:46 +08:00
Cheng Zhao
899294a040
win: Don't close the handle since we already closed the fd
...
Fix #4266 .
2016-01-30 11:47:22 +08:00
Robo
85e13333c3
webview: add permission-request event
2016-01-29 15:23:28 +05:30
Cheng Zhao
30b35644f6
Bump v0.36.6
2016-01-29 12:43:35 +08:00
Cheng Zhao
516b01e398
win: Call _close before close file handle
...
Fix #4258 .
2016-01-28 22:38:53 +08:00
Paul Betts
05aeceeb52
Always fall back to OpenFolderViaShell when trying to reveal a file
...
We should always fallback to OpenFolderViaShell when revealing a file fails,
since this API seems to be highly subject to Random Bad Things happening to
you.
2016-01-28 19:05:16 +08:00
Cheng Zhao
30ff18ac64
Merge branch 'webrequest_upload_data_patch' of https://github.com/deepak1556/atom-shell into deepak1556-webrequest_upload_data_patch
2016-01-28 18:41:39 +08:00
Robo
a6bcc5d110
common: export hideInternalModules
2016-01-27 18:44:47 +05:30
Robo
dc0151099c
session: provide uploadData with webrequest api when available
2016-01-27 18:39:40 +05:30
Cheng Zhao
e1e58b642e
Merge pull request #4182 from deepak1556/debugger_api_patch
...
browser: add webContents.debugger api
2016-01-24 21:43:18 +08:00
Cheng Zhao
5372b6cd91
Fullscreenable => FullScreenable
2016-01-24 14:31:36 +08:00
Cheng Zhao
31624995bc
Merge pull request #4202 from evgenyzinoviev/shadow-pr
...
Added hasShadow option to BrowserWindow on OS X
2016-01-22 23:56:38 -08:00
Cheng Zhao
8cabe0f008
Merge pull request #4156 from evgenyzinoviev/windows-pr
...
Improvements in BrowserWindow
2016-01-22 23:42:41 -08:00
Robo
d938dd68b0
wrap debugger for lazy initialization
2016-01-23 09:32:21 +05:30
evgenyzinoviev
ff41b4a267
added hasShadow option to BrowserWindow (osx)
2016-01-23 01:16:08 +01:00
evgenyzinoviev
ef51e4e108
maximizable and fullscreenable
2016-01-22 23:21:46 +01:00
Cheng Zhao
a230a89de4
Bump v0.36.5
2016-01-21 17:04:38 -07:00
Ben Gotow
a3b6f69772
Log ASAR file access to build ordering hint file
...
This is a work in progress—need to make this behavior optional via a new flag.
2016-01-21 14:45:22 -08:00
Kevin Sawicki
16b4b58de1
e -> error
2016-01-21 09:32:21 -07:00
Kevin Sawicki
b1f679ff6d
Clean up semicolon lint errors
2016-01-21 09:32:21 -07:00
Kevin Sawicki
70bcb0ac5a
Clean up no-unused-vars lint errors
2016-01-21 09:32:21 -07:00
Kevin Sawicki
4f4456bde8
Clean up indent eslint errors
2016-01-21 09:32:21 -07:00
evgenyzinoviev
2a554cb138
added or/and improved closable, minimizable, movable, resizable features for windows on os x and windows
2016-01-19 16:14:57 +01:00
Cheng Zhao
3b62ce7fa6
modules.exports => module.exports
2016-01-16 14:26:01 +08:00
Cheng Zhao
25afcf2673
Merge pull request #4121 from atom/format-coffee-helpers
...
Format leftover CoffeeScript helpers
2016-01-16 13:24:26 +08:00
Cheng Zhao
b132c0dde8
Update brightray, close #4124
2016-01-16 11:43:46 +08:00
Eran Tiktin
85449e953e
Fix Windows crash when trying to free asar fd
2016-01-16 03:48:07 +02:00
Kevin Sawicki
f830af49c2
Use ES6 style class
2016-01-15 15:30:01 -08:00
Kevin Sawicki
2b95aeba3c
Declare vars one per line
2016-01-15 10:17:45 -08:00
Kevin Sawicki
741d148776
Add missing semicolon
2016-01-15 10:09:19 -08:00
Kevin Sawicki
b119704ea9
Use 2 space indent instead of 3
2016-01-15 10:05:35 -08:00
Cheng Zhao
63278aeec2
Merge pull request #4118 from Ivshti/patch-1
...
Ensure we close FD on Windows
2016-01-15 23:58:57 +08:00
Cheng Zhao
0937144849
Merge pull request #4111 from evgenyzinoviev/movable
...
Added an option to prevent a window from being moved on OS X
2016-01-15 23:24:22 +08:00
Ivo Georgiev
7586078d0a
Ensure we close FD on Windows
2016-01-15 16:54:29 +02:00
Cheng Zhao
3875b30fcf
Merge pull request #4109 from atom/const
...
[WIP] Use `const` for requires
2016-01-15 16:32:07 +08:00
Cheng Zhao
39225ac5ec
Bump v0.36.4
2016-01-15 14:27:19 +08:00
evgenyzinoviev
cda88db77c
Added option to prevent a window from being moved on OS X
2016-01-15 03:58:57 +01:00
Jessica Lord
ab8908a4af
Use const
2016-01-14 14:41:46 -08:00
Jessica Lord
1779701445
Use const
2016-01-14 14:40:12 -08:00
Kevin Sawicki
030d2a843c
Remove extra newlines around comments
2016-01-14 11:10:12 -08:00
Kevin Sawicki
990dc30e8d
Use // for multi-line comments
2016-01-14 10:44:21 -08:00
Kevin Sawicki
f4af744519
Use // for single line comments
2016-01-14 10:35:29 -08:00
Cheng Zhao
af02739c4e
Change webview's zoom level on JavaScript side
2016-01-13 12:50:02 +08:00
Cheng Zhao
55dfddba77
Handle executeJavaScript in JavaScript
2016-01-13 12:11:46 +08:00
Kevin Sawicki
b547a38b3f
Add wrapper functions to mirror old CoffeeScript
2016-01-12 16:24:06 -08:00
Kevin Sawicki
1f9691ae13
Convert all source files to JavaScript
2016-01-12 16:24:06 -08:00
Kevin Sawicki
403870a27e
Migrate to block comments
2016-01-12 16:22:34 -08:00
Cheng Zhao
df27cda36c
Bump v0.36.3
2016-01-08 13:40:47 +08:00
Cheng Zhao
3f2b26ddb7
Add blinkFeatures option
2016-01-07 14:10:18 +08:00
Cheng Zhao
bd20b3f32a
Rely on content switches for implementing experimental features
2016-01-07 12:49:00 +08:00
Cheng Zhao
16d23bbda5
Remove pageVisibility option
...
The original purpose of this option is not working anymore, also adds
docs on the current way to disable process backgrounding.
2016-01-07 12:28:20 +08:00
Cheng Zhao
c6e03f8390
Remove overlayScrollbars and sharedWorker options
...
They are already enabled by default.
2016-01-07 12:17:19 +08:00
Cheng Zhao
c4071a7f66
Throw ENOTDIR when calling mkdir inside asar archive
2016-01-06 12:04:16 +08:00
Cyrille Lebeaupin
9d878ad6b2
Add widevine third party
...
Add 2 new command options to use widevine:
- widevine-cdm-path: Path to widevine plugin
- widevine-cdm-version: Version of the widevine plugin
2015-12-29 14:50:59 +08:00
Cheng Zhao
2294a5ce69
Leak FunctionTemplateHandle
...
They are cached through the app's lifetime, and freeing them at the
right time is complicate, so just leak them.
2015-12-29 10:40:10 +08:00
Cheng Zhao
d8d963b780
Cache function templates created by CreateObjectWithName
2015-12-29 10:29:48 +08:00
Cheng Zhao
3d2163230b
Optimize the case when creating plain object
2015-12-28 22:51:40 +08:00
Cheng Zhao
9ffe502fb1
Bump v0.36.2
2015-12-25 13:45:07 +08:00
Cheng Zhao
6aa3464aad
Merge pull request #3912 from tylergibson/FixingMoveItemToTrash-Windows7
...
Adding check for Windows version and alternate flags for Windows Vista/7
2015-12-24 15:32:09 +08:00
Tyler Gibson
2d0e1c313a
Adding check for Windows version and alternate flags for Windows Vista/7
2015-12-24 06:08:43 +00:00
Cheng Zhao
7bd9f2e5d0
Fix converting string to NSURL
2015-12-24 12:43:07 +08:00
Robo
61004f0e46
fix cpplint warning
2015-12-21 19:16:02 +05:30
Robo
d162180196
add api to webview
2015-12-21 17:13:23 +05:30
Robo
39e615ed87
webContents: adding findInPage api
2015-12-21 17:09:56 +05:30
Cheng Zhao
bff2861311
Bump v0.36.1
2015-12-18 13:16:30 +08:00
Cheng Zhao
7d000807c5
Merge pull request #3849 from herrmannplatz/improvement/escape-url-openexternal
...
escape url string
2015-12-18 09:45:39 +08:00
rehez
9eb797296c
escape url string
2015-12-17 16:23:30 +01:00
Cheng Zhao
353f08e477
Remove sync call in remote module
2015-12-17 22:03:16 +08:00
Cheng Zhao
0282d424bf
Pass opener ID in command line
2015-12-17 21:27:14 +08:00
Kevin Sawicki
67c0de36a3
📝 Add missing period
2015-12-15 16:47:19 -08:00
Kevin Sawicki
d44a9d1fcc
🎨 Remove parens
2015-12-15 16:46:53 -08:00
Kevin Sawicki
aedfd3bf0e
Add specs for companyName/submitURL being required
2015-12-15 16:44:38 -08:00
Kevin Sawicki
80e9631220
Use better signature match in deprecation message
2015-12-15 16:27:01 -08:00
Kevin Sawicki
524649797f
Make companyName and submitURL required options
2015-12-15 16:22:31 -08:00
Kevin Sawicki
dcc99dd5cb
Remove duplicate start calls
2015-12-15 16:10:04 -08:00
Cheng Zhao
fed94aada0
Make the webRequest listener asynchronous
2015-12-12 00:09:03 +08:00
Cheng Zhao
98ba1a24db
Merge pull request #3640 from deepak1556/webrequest_api_patch
...
session: add webrequest api
2015-12-11 16:56:00 +08:00
Cheng Zhao
9495392a1a
Bump v0.36.0
2015-12-11 11:49:01 +08:00
Robo
658accab94
fix pointer usage
2015-12-11 00:25:25 +05:30
Cheng Zhao
a05aa81570
Merge pull request #3701 from deepak1556/protocol_post_data_patch
...
protocol: provide upload data when available
2015-12-10 19:38:35 +08:00
Robo
13b5cab738
session: add webrequest api
2015-12-09 20:14:18 +05:30
deepak1556
940289639e
protocol: provide upload data when available
2015-12-09 20:10:57 +05:30
Robo
855d49100f
protocol: api to register schemes that can handle service worker
2015-12-09 03:11:58 +05:30
Cheng Zhao
04f7ceab73
Merge branch 'master' into desktop-capture-api
2015-12-08 12:43:44 +08:00
Cheng Zhao
407e88cbad
Update brightray
2015-12-08 12:08:33 +08:00
Paul Betts
3931ebb7ef
Fix up Windows build errors
2015-12-07 10:02:06 -08:00
Cheng Zhao
73e7773d84
Update to API changes of Chrome 47
2015-12-07 19:56:23 +08:00
Cheng Zhao
e1d7ef7e24
Bump v0.35.4
2015-12-04 19:23:48 +08:00
Cheng Zhao
c8e2be7b28
Bump v0.35.3
2015-12-04 16:43:23 +08:00
Cheng Zhao
1e7c8c9fda
It is fine to leak a V8 handle on exit
2015-12-03 16:33:57 +08:00
Cheng Zhao
a15f9fab5b
Use BuildPrototype to build prototype
...
This saves the step of manually keeping the global template object,
which is easy to forget then leak.
2015-12-03 16:04:46 +08:00
Cheng Zhao
e5358d405a
Make sure V8 Function passed to native code are destroyed on UI thread
2015-12-03 11:24:33 +08:00
Cheng Zhao
c493bec089
Make sure temp file will be cleaned up when base::Move fails
2015-12-02 11:36:29 +08:00
Cheng Zhao
c3645e3f95
Don't call Move if there is no need to move
2015-12-02 11:07:48 +08:00
Juan Cruz Viotti
a99c193cf2
🏁 Preserve file extension when extracting from asar
...
Currently, when calling `copyFileOut`, the original extension from the
file is lost, and a generic `*.tmp` is added instead.
This becomes problematic in the scenario where we use
`child_process.execFile` on a Windows Batch script that lives inside the
`asar` package.
Windows relies on the extension being present in order to interpret the
script accordingly, which results in the following bug because the
operating system doesn't know what do to with this `*.tmp` file:
```
Error: spawn UNKNOWN
```
Steps to reproduce:
1. Create a dummy batch script (test.bat):
```
@echo off
echo "Hello world"
```
2. Create an electron app that attemps to call this script with
`child_process.execFile`:
```js
var child_process = require('child_process');
var path = require('path');
child_process.execFile(path.join(__dirname, 'test.bat'), function(error, stdout) {
if (error) throw error;
console.log(stdout);
});
```
3. Package this small application as an asar archive:
```sh
> asar pack mytestapp app.asar
```
4. Execute the application:
```sh
> electron.exe app.asar
```
2015-12-01 14:55:58 -04:00
Cheng Zhao
0f17a0163d
Put common constants in atom_constants
2015-12-01 16:21:15 +08:00
Cheng Zhao
e3ec1fe8ab
Add process.noAsar to turn off asar support
2015-12-01 13:09:37 +08:00
Cheng Zhao
62add3abcc
Bump v0.35.2
2015-11-27 22:23:19 +08:00
Cheng Zhao
cfdcfcbd80
Add executable permission in CopyFileOut
2015-11-27 22:06:37 +08:00
Juan Cruz Viotti
585ff9062c
🐛 Fix missing execution permission bit in execFile override
...
Consider an electron application that uses `execFile` to run a script
that lives within the application code base:
```coffee
child_process = require 'child_process'
child_process.execFile __dirname + '/script.sh', (error) ->
throw error if error?
```
An application like this will fail when being packaged in an `asar` with
an following error:
```
Error: spawn EACCES
```
Electron overrides certain `fs` functions to make them work within an
`asar` package. In the case of `execFile`, the file to be executed is
extracted from the `asar` package into a temporary file and ran from
there.
The problem is that during the extraction, the original permissions of
the file are lost.
We workaround this by:
1. Extending `asar.stat` to return whether a file is executable or not,
which is information that's already saved in the `asar` header.
2. Setting execution permissions on the extracted file if the above
property holds true.
Fixes: https://github.com/atom/electron/issues/3512
2015-11-26 23:30:23 -04:00
Cheng Zhao
29052b0498
Bump v0.35.1
2015-11-20 13:36:59 +08:00
Cheng Zhao
784d2633a9
Make child_process.execFileSync support asar
2015-11-20 10:33:57 +08:00
Cheng Zhao
24f573eceb
Merge pull request #3344 from deepak1556/certificate_verifier_api_patch
...
session: api to allow handling certificate verification
2015-11-17 18:53:35 +08:00
Cheng Zhao
202d2eeb8a
Merge pull request #3454 from brenca/keyboard-pr
...
Adding further options to specify the character being sent with sendInputEvent (keyboard)
2015-11-16 22:13:09 +08:00
Heilig Benedek
14740eeb8a
Merging keyCode and keyIdentifier and adjusting the docs accordingly
2015-11-16 14:51:26 +01:00