electron/shell/common
Jeremy Apthorp 2fad53e66b refactor: use v8 serialization for ipc (#20214)
* refactor: use v8 serialization for ipc

* cloning process.env doesn't work

* serialize host objects by enumerating key/values

* new serialization can handle NaN, Infinity, and undefined correctly

* can't allocate v8 objects during GC

* backport microtasks fix

* fix compile

* fix node_stream_loader reentrancy

* update subframe spec to expect undefined instead of null

* write undefined instead of crashing when serializing host objects

* fix webview spec

* fix download spec

* buffers are transformed into uint8arrays

* can't serialize promises

* fix chrome.i18n.getMessage

* fix devtools tests

* fix zoom test

* fix debug build

* fix lint

* update ipcRenderer tests

* fix printToPDF test

* update patch

* remove accidentally re-added remote-side spec

* wip

* don't attempt to serialize host objects

* jump through different hoops to set options.webContents sometimes

* whoops

* fix lint

* clean up error-handling logic

* fix memory leak

* fix lint

* convert host objects using old base::Value serialization

* fix lint more

* fall back to base::Value-based serialization

* remove commented-out code

* add docs to breaking-changes.md

* Update breaking-changes.md

* update ipcRenderer and WebContents docs

* lint

* use named values for format tag

* save a memcpy for ~30% speedup

* get rid of calls to ShallowClone

* extra debugging for paranoia

* d'oh, use the correct named tags

* apparently msstl doesn't like this DCHECK

* funny story about that DCHECK

* disable remote-related functions when enable_remote_module = false

* nits

* use EnableIf to disable remote methods in mojom

* fix include

* review comments
2019-10-09 13:59:08 -04:00
..
api refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
asar fix: allow paths to asar archives to contain the .asar extension in directories (#20342) 2019-10-02 13:33:07 +09:00
crash_reporter fix: fix crash in crashReporter.getUploadedReports (#20428) 2019-10-08 16:35:28 -07:00
extensions feat: preliminary support for //extensions (#17440) 2019-07-24 16:01:08 -07:00
gin_converters refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
gin_helper chore: remove native_mate (Part 6) (#20391) 2019-10-02 09:30:55 +09:00
mac chore: bump chromium to 79eae5b7b2d9dac441ac0182ee160 (master) (#19166) 2019-07-24 15:58:51 -07:00
native_mate_converters refactor: use v8 serialization for ipc (#20214) 2019-10-09 13:59:08 -04:00
resources/mac refactor: rename the atom directory to shell 2019-06-19 17:33:28 -07:00
application_info.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
application_info.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
application_info_linux.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
application_info_mac.mm refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
application_info_win.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_command_line.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_command_line.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_constants.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
atom_constants.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
color_util.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
color_util.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
deprecate_util.cc chore: remove native_mate (Part 3) (#20131) 2019-09-06 14:52:54 +09:00
deprecate_util.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
heap_snapshot.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
heap_snapshot.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
key_weak_map.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
keyboard_util.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
keyboard_util.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
mouse_util.cc chore: bump chromium to f1d9522c04ca8fa0a906f88ababe9 (master) (#18648) 2019-07-02 18:22:09 -07:00
mouse_util.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
node_bindings.cc chore: remove native_mate (Part 3) (#20131) 2019-09-06 14:52:54 +09:00
node_bindings.h fix: bootstrap the node environment after we setup the InspectorAgent (#19317) 2019-07-18 16:54:23 -07:00
node_bindings_linux.cc refactor: run clang-tidy (#20231) 2019-09-16 18:12:00 -04:00
node_bindings_linux.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
node_bindings_mac.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
node_bindings_mac.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
node_bindings_win.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
node_bindings_win.h refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
node_includes.h chore: fix linting after shell rename 2019-06-19 17:33:28 -07:00
options_switches.cc feat: add --enable-api-filtering-logging commandline switch (#20335) 2019-10-04 10:49:09 -07:00
options_switches.h feat: add --enable-api-filtering-logging commandline switch (#20335) 2019-10-04 10:49:09 -07:00
platform_util.h feat: macOS removal fallback when moveItemToTrash fails (#19700) 2019-08-13 12:31:53 -07:00
platform_util_linux.cc feat: macOS removal fallback when moveItemToTrash fails (#19700) 2019-08-13 12:31:53 -07:00
platform_util_mac.mm feat: macOS removal fallback when moveItemToTrash fails (#19700) 2019-08-13 12:31:53 -07:00
platform_util_win.cc chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) 2019-09-18 15:58:00 -04:00
promise_util.cc refactor: make util::Promise type safe when chaining in native (#19809) 2019-08-22 17:03:28 -07:00
promise_util.h chore: bump chromium to 63be48daea281d4f8c834c2e707a7 (master) (#19923) 2019-09-18 15:58:00 -04:00
skia_util.cc refactor: move gfx::ImageSkia functions to their own util file (#19460) 2019-07-30 13:49:24 -07:00
skia_util.h refactor: move gfx::ImageSkia functions to their own util file (#19460) 2019-07-30 13:49:24 -07:00