No description
Find a file
Vadim Macagon 7c5d3296e7 Prevent undefined behavior when some Node Buffer objects are destroyed
If node::Buffer::New() is used to wrap an existing chunk of memory
without providing a custom callback to release that memory then Node
will just use `free()`. In a couple of places Node buffer objects were
constructed from chunks of memory that were allocated with `new[]`, but
a custom callback to release that memory was omitted, this resulted in
undefined behavior when those buffers were destroyed because `free()`
was used to release memory allocated with `new[]`.

To avoid undefined behavior the aforementioned buffer objects are now
constructed with a custom callback that safely releases the underlying
chunk of memory.
2016-10-03 10:26:26 +07:00
atom Prevent undefined behavior when some Node Buffer objects are destroyed 2016-10-03 10:26:26 +07:00
chromium_src Prevent undefined behavior when some Node Buffer objects are destroyed 2016-10-03 10:26:26 +07:00
default_app Use const instead of var 2016-09-06 11:58:06 -07:00
docs Document cookie changed event 2016-09-29 09:16:35 -07:00
docs-translations Update ko-KR/api/session.md 2016-09-30 15:09:11 +00:00
lib Add initial cookie changed event support 2016-09-29 09:16:29 -07:00
script Embed setup bundle for preload scripts in sandboxed renderers. 2016-09-27 06:01:47 -03:00
spec Ensure webviews get reset after spec finishes 2016-09-30 10:15:11 -07:00
tools Refactor the atom_js2c target to include javascript from multiple dirs. 2016-09-27 06:01:46 -03:00
vendor Upgrade brightray for merged cookie delegate support 2016-09-29 09:18:21 -07:00
.gitignore Gitignore Visual Studio Files 2016-08-10 08:54:50 -07:00
.gitmodules Update crashpad with AppKit patch 2016-05-13 11:11:50 +09:00
.node-version Update .node-version 2016-07-21 01:17:07 -06:00
.travis.yml Update Travis config to build on node 4.5.0 2016-09-08 09:24:59 -07:00
appveyor.yml Use VS2015 on appveyor 2016-05-13 11:12:15 +09:00
CODE_OF_CONDUCT.md 📝 Update to v1.4 of the Code of Conduct 2016-05-05 13:48:44 -07:00
common.gypi Update to Node 6.5.0 2016-09-14 16:23:00 +09:00
CONTRIBUTING.md Link to translations 2016-09-06 14:58:50 -07:00
electron.gyp Bump v1.4.2 2016-09-30 17:39:27 +08:00
filenames.gypi Add initial cookie changed event support 2016-09-29 09:16:29 -07:00
ISSUE_TEMPLATE.md Remove all but prompts for version numbers 2016-02-18 08:57:31 -08:00
LICENSE Switch to use MIT license. 2014-05-04 20:29:08 +08:00
package.json Bump v1.4.2 2016-09-30 17:39:27 +08:00
README.md Link to translations 2016-09-06 14:58:50 -07:00
toolchain.gypi Replace OS X and Mac OS with macOS 2016-06-18 15:26:26 +02:00

Electron Logo

Travis Build Status AppVeyor Build Status devDependency Status Join the Electron Community on Slack

📝 Available Translations: Korean | Simplified Chinese

The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by the Atom editor and many other apps.

Follow @ElectronJS on Twitter for important announcements.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to electron@github.com.

Downloads

Prebuilt binaries and debug symbols of Electron for Linux, Windows and macOS can be found on the releases page.

You can also use npm to install prebuilt electron binaries:

# Install the `electron` command globally in your $PATH
npm install electron -g

# Install as a development dependency
npm install electron --save-dev

Mirrors

Documentation

Guides and the API reference are located in the docs directory. It also contains documents describing how to build and contribute to Electron.

Documentation Translations

Quick Start

Clone and run the electron/electron-quick-start repository to see a minimal Electron app in action.

Community

You can ask questions and interact with the community in the following locations:

Check out awesome-electron for a community maintained list of useful example apps, tools and resources.