deepak1556
fdd574cea5
browser: implement pdf renderer as webui
2017-03-14 00:25:59 +05:30
Thiago de Arruda
da023b72ee
Dynamically generate dependencies of browserify build actions
...
Instead of having to list in filenames.gypi every javascript file that may go
into a browserify build, generate this list dynamically when the build files are
created by gyp.
2017-03-10 16:30:23 -03:00
Thiago de Arruda
dda2288541
Remove lib/renderer/api/ipc-renderer-setup.js
...
This file is no longer required since sandboxed renderer directly imports
ipc-renderer.js.
2017-03-09 20:40:32 -03:00
Thiago de Arruda
cd05834d96
Refactor sandboxed renderer init scripts
...
This change gives sandboxed renderer scripts a similar structure to what already
exists in the lib/{browser,renderer,common} directories.
It also allows sandboxed renderer initialization to share more code with
non-sandboxed renderers (ipcRenderer is now imported directly from
lib/renderer/api/ipc-renderer).
2017-03-09 20:39:14 -03:00
Thiago de Arruda
d78f3cae7b
Expose builtin v8 modules to AtomSandboxedRendererClient
...
- Adapt node.cc code that implements `process.binding` to create a similar
object in AtomSandboxedRendererClient.
- Replace the ipc binding object passed to `lib/sandboxed_renderer/init.js` by
the new binding object.
- Refactor the initialization script to use this new object to fetch the ipc
binding and store as a hidden value using the `v8_util` module.
This change also required applying a patch to node.js, so the submodule commit
was updated.
2017-03-09 20:39:14 -03:00
Thiago de Arruda
44bd93589a
Refactor electron exports to keep module list in separate files
2017-03-09 19:08:01 -03:00
Kevin Sawicki
b632cdd37d
Extract helper class to encapsulate touch bar items
2017-03-03 14:00:38 -08:00
Kevin Sawicki
52905ae9b3
Get compiling against 10.10 SDK
2017-03-03 14:00:38 -08:00
Samuel Attard
7857c83ea1
Make dynamic buttons work along with click events
2017-03-03 14:00:38 -08:00
Kevin Sawicki
be79417a03
Include CanFocus on Windows and map to state
2017-02-15 08:28:55 -08:00
deepak1556
63c0e4cbb1
Add ZoomController to manager zoom changes for webcontents
2017-02-12 00:49:17 +05:30
deepak1556
ff3aaa55f7
define icon loader for liunx as separate target
2017-02-07 09:52:11 -08:00
Robo
b25b141642
create iconmanager as singleton class and cleanup code ( #1 )
...
* create iconmanager as singleton class and cleanup code
2017-02-07 09:52:11 -08:00
Yury Solovyov
d118fed5c2
Try my own class
2017-02-07 09:48:12 -08:00
Yury Solovyov
8e4ed664d9
Add icon fetching sources
2017-02-07 09:48:12 -08:00
Cheng Zhao
1a15b45736
--cipher-suite-blacklist is also removed
2017-02-06 10:34:29 -08:00
Cheng Zhao
13a1d79ca6
Deperecate AtomSecurityStateModelClient with SecurityStateTabHelper
2017-02-06 10:34:28 -08:00
Kevin Sawicki
3f7b3c4bd7
Implement window overrides in main context
2017-01-16 12:38:16 -08:00
Kevin Sawicki
d194a84ae4
Setup isolated context from AtomRenderFrameObserver
2017-01-16 12:38:16 -08:00
Kevin Sawicki
736befe90f
Add initial support for loading into isolated world
2017-01-16 12:38:15 -08:00
deepak1556
a0065e62fa
add about: protocol handler
2016-11-09 13:22:58 +05:30
Kevin Sawicki
e0afb814aa
Only call browserify when one of sandbox sources change
2016-11-07 08:19:59 -08:00
Cheng Zhao
dfefa00a50
Merge pull request #7577 from thomsonreuters/net_module
...
net module
2016-10-31 10:31:56 +09:00
ali.ibrahim
61278f9ace
Fixing code review issues.
2016-10-25 12:41:01 +02:00
Kevin Sawicki
144a61c5a3
Add find text support to clipboard
2016-10-25 14:15:54 +09:00
Kevin Sawicki
39a5c7dab9
Merge pull request #7631 from beakerbrowser/webview-policy-flags2
...
Add 'webpreferences' attribute to webview
2016-10-25 12:14:25 +09:00
Kevin Sawicki
2556ed8744
Add parse-features-strings.js
2016-10-25 10:28:36 +09:00
deepak1556
5cbbd6efe6
session: exclude hosts from CT verification if they are handled by custom cert verifiers
2016-10-17 16:35:28 +05:30
ali.ibrahim
7521aeea09
Implement URLRequest::Delegate, handle thread sync.
2016-10-12 14:54:15 +02:00
ali.ibrahim
e8d4abe78f
Adding net module and URLRequest class.
2016-10-12 14:54:15 +02:00
Kevin Sawicki
24bcf6ac16
Add initial cookie changed event support
2016-09-29 09:16:29 -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
Thiago de Arruda
72154b64ed
Embed setup bundle for preload scripts in sandboxed renderers.
...
Add a gyp target that creates a browserify bundle starting with
`lib/sandboxed_renderer/init.js`, which is embedded into the executable using
the `atom_js2c` target.
The goal of this bundle is to provide a very basic environment for preload
scripts where a `require` function is available.
2016-09-27 06:01:47 -03:00
Thiago de Arruda
0f7652dc85
Move code that defines ipcRenderer methods into another file.
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
deepak1556
ed465208a2
renderer: add content settings class for managing storage
2016-09-21 21:47:30 +05:30
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
9714348260
Merge pull request #6941 from deepak1556/blob_data_patch
...
protocol: provide blob uuid with uploadData
2016-09-16 17:01:15 +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
Cheng Zhao
41df037f64
Show dummy view under offscreen mode
2016-08-04 15:35:08 +09:00
Cheng Zhao
921aaf9aa3
Move osr related files to atom/browser/osr
2016-08-03 13:05:47 +09:00
Heilig Benedek
4088f0eb33
remove unneeded windows specific things
2016-08-02 12:57:23 +02:00
gellert
6abf7475b8
cleaning up osr pt1
2016-07-29 14:50:27 +02:00
gellert
8090278708
breaks down osr api to separate files
2016-07-25 19:44:44 +02:00
gellert
96e1ba9c14
gpu acclereted osr added
2016-07-25 19:44:44 +02:00
Heilig Benedek
5371921f8a
speed(up) bump
2016-07-25 19:44:44 +02:00
Heilig Benedek
4a0f0063a0
speedup base
2016-07-25 19:44:44 +02:00
Cheng Zhao
1c9421bc89
Use ArrayBuffer.isView to detect Buffer and ArrayBuffer
2016-07-25 16:39:09 +09:00
haad
2757046e71
Add isTypedArray to Electron exports
2016-07-23 11:30:14 +01:00
Kevin Sawicki
d8eb8f4007
Sort filenames
2016-07-13 14:18:41 -07:00
Kevin Sawicki
7877fa7c0a
Add webContents.isFocused()
2016-07-13 14:16:56 -07:00
Cheng Zhao
7848608198
Replace DialogScope with UnresponsiveSuppressor
...
The latter is global-wide.
2016-07-11 15:29:03 +09:00
Kevin Sawicki
2faf00dc19
Only use default accelerator in Windows/Linux app menu
2016-07-07 11:50:19 -07:00
Kevin Sawicki
cf480f8e17
Set default app window icon on Linux
2016-07-06 11:47:21 -07:00
Cheng Zhao
13c668f22b
mac: Implement webContents.startDrag
2016-07-03 12:26:43 +09:00
Kevin Sawicki
25b2724ab9
Add menu item role defaults
2016-06-22 13:09:48 -07:00
Cheng Zhao
9aa7291627
linux: Implement win.disable/enable/isEnabled() API
2016-06-20 11:16:41 +09:00
Kevin Sawicki
3aecb11094
Extract Event clas to own file
2016-06-16 09:51:54 -07:00
Kevin Sawicki
7f9fa92e2d
Add chrome.webNavigation stubs
2016-06-16 09:46:26 -07: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
Jessica Lord
f121f46a24
Merge branch 'master' into chrome-storage-sync
2016-06-09 16:35:00 -07:00
Jessica Lord
41d6ddd588
Add storage file
2016-06-09 14:14:14 -07:00
Kevin Sawicki
84960af793
Add initial chrome.i18n.getMessage API
2016-06-09 13:57:08 -07:00
Cheng Zhao
0646f6ea9e
Implement Relaunch on Windows
2016-06-02 19:49:36 +09:00
Cheng Zhao
a3f39e9d0b
Implement Relaunch on Linux
2016-06-02 16:54:21 +09:00
Cheng Zhao
060829da64
Separate implementations of RelauncherMain and RelauncherSynchronizeWithParent
2016-06-02 09:09:32 +09:00
Cheng Zhao
6df18956cd
Get ready to make relauncher cross-platform
2016-06-01 22:04:20 +09:00
Cheng Zhao
7b3ba739bf
Import chrome/browser/mac/relauncher.{cc,h}
2016-06-01 16:26:08 +09:00
deepak1556
db4dc4757a
move bluetooth_chooser to atom/browser/lib
2016-06-01 11:43:39 +05:30
deepak1556
a70749e80a
browser: implement bluetooth chooser interface
2016-06-01 11:43:39 +05:30
Cheng Zhao
49d9446cce
Implement a simple content script injector
2016-05-27 10:29:57 +09:00
Cheng Zhao
4fb9e20c33
Add API to set render process preferences
2016-05-27 08:51:02 +09:00
cdaringe
32073fa079
🎨 Support non-native promises
2016-05-25 10:11:18 -06:00
Cheng Zhao
5f6c468f0f
Handle keyboard events for WebContents that do not have owner window
2016-05-18 13:57:48 +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
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
0f52a6da39
Merge branch '1-0-release'
2016-05-11 15:14:56 +09:00
Kevin Sawicki
1e140fb32c
Remove ipc.js files
2016-05-06 10:12:54 -07: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
60bd60e1ed
Fully support converting NSDictionary to JS userInfo object
2016-05-05 16:26:44 +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
Daniel Pham
0fffbea79d
Add 'context-menu' event to 'WebContents'
2016-05-03 17:50:54 -04:00
Charlie Hess
03d25ce6c0
Revert "Add some shady methods to get V8 objects or arrays from NSDictionary or NSArray."
...
This reverts commit 2295f3a832
.
2016-05-03 10:32:42 -07:00
Charlie Hess
2295f3a832
Add some shady methods to get V8 objects or arrays from NSDictionary or NSArray.
2016-05-02 14:45:59 -07:00
Charlie Hess
92606579d3
Generalize this mate converter for reuse.
2016-04-29 17:32:25 -07: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
deepak1556
2d8286515d
expose api only on platforms using nss cert database
2016-04-19 11:29:24 +05:30
deepak1556
e81cec4058
app: api to import client certificate
2016-04-18 10:54:43 +05:30
deepak1556
54545a8a6e
provide security style for devtools security panel
2016-04-14 16:20:14 +05:30
Cheng Zhao
cb470cb94b
Use BrowserWindow's backgroundColor as renderer view's background color
2016-04-02 20:46:50 +09:00
Kevin Sawicki
ee9128268e
Rename atom.icns to electron.icns
2016-04-01 16:12:12 -07:00
Kevin Sawicki
464dad3135
Store default_app in .asar archive
2016-04-01 12:40:32 -07:00
Paul Betts
7f15a77f3c
startup helper is renamed
2016-03-10 17:06:21 +09:00
Kevin Sawicki
6e3cb9e8eb
Update paths for new JS location
2016-03-08 11:14:21 -08:00