electron/shell/common
Fedor Indutny 99909baeac
fix: allow Node.js to manage microtasks queue (#28957)
* fix: allow Node.js to manage microtasks queue

When `uv_run()` resulted in invocation of JS functions the microtask
queue checkpoint in Node's CallbackScope was a no-op because the
expected microtask queue policy was `kExplicit` and Electron ran under
`kScoped` policy. This change switches policy to `kExplicit` right
before `uv_run()` and reverts it back to original value after `uv_run()`
completes to provide better compatibility with Node.

* add comment
2021-05-03 14:30:12 -07:00
..
api 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
asar Merge branch 'master' into roller/chromium/master 2021-03-15 18:43:25 -04:00
extensions chore: bump chromium to 92.0.4475.0 (master) (#28462) 2021-04-15 10:44:35 -07:00
gin_converters chore: bump chromium to 92.0.4475.0 (master) (#28462) 2021-04-15 10:44:35 -07:00
gin_helper chore: bump chromium to 92.0.4488.0 (master) (#28676) 2021-04-27 14:27:34 -07:00
mac fix: build when some buildflags are disabled (#23307) 2020-04-28 23:16:10 -07:00
resources/mac revert: disable rosetta as Electron does not run under rosetta 2020-11-18 09:04:16 -08:00
application_info.cc refactor: rename the atom namespace to electron 2019-06-19 17:33:28 -07:00
application_info.h more windows build fix 2021-03-23 11:12:59 -07:00
application_info_linux.cc chore: bump chromium to 98ebf6c3f0b7bd96bdb1a4b42208f (master) (#22999) 2020-04-13 16:39:26 -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 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
color_util.cc Merge branch 'master' into roller/chromium/master 2021-03-15 18:43:25 -04:00
color_util.h Merge branch 'master' into roller/chromium/master 2021-03-15 18:43:25 -04:00
crash_keys.cc feat: Electron Fuses, package time feature toggles (#24241) 2020-10-27 10:49:25 -07:00
crash_keys.h fix: crashReporter incompatible with sandbox on Linux (#23265) 2020-05-07 13:31:26 -07:00
electron_command_line.cc style: use build/include_directory for NOLINT (#23266) 2020-04-24 12:57:41 -07:00
electron_command_line.h chore: rename atom -> electron (#21986) 2020-02-04 12:19:40 -08:00
electron_constants.cc fix: crashReporter incompatible with sandbox on Linux (#23265) 2020-05-07 13:31:26 -07:00
electron_constants.h fix: crashReporter incompatible with sandbox on Linux (#23265) 2020-05-07 13:31:26 -07:00
electron_paths.h chore: bump chromium to 0e4ca9c0a63d7a39bd910997ad4c6 (master) (#24687) 2020-08-12 11:33:58 -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 2752406: [LSC] Replace base::string16 with std::u16string in //ui 2021-03-15 21:21:27 -04:00
keyboard_util.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 13:58:27 -04:00
language_util.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
language_util_linux.cc fix: respect system language preferences on Win/macOS (#23247) 2020-05-04 10:49:29 -07:00
language_util_mac.mm fix: respect system language preferences on Win/macOS (#23247) 2020-05-04 10:49:29 -07:00
language_util_win.cc 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-18 15:55:51 -04:00
mouse_util.cc chore: bump chromium to 580fe983e138952553cd6af11ee8b (master) (#23379) 2020-05-26 13:06:26 -07:00
mouse_util.h chore: bump chromium to bc8f70ed4cfe2262ea833750eaddb (master) (#22649) 2020-03-14 16:54:14 -04:00
node_bindings.cc fix: allow Node.js to manage microtasks queue (#28957) 2021-05-03 14:30:12 -07:00
node_bindings.h fix: libuv hang on Windows (#28175) 2021-03-22 13:11:03 -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: upgrade to Node.js v14.9.0 (#25249) 2020-09-17 16:08:57 -06:00
node_util.cc build: Wrap bundles using webpack (#25557) 2020-10-20 12:10:15 -07:00
node_util.h refactor: move CompileAndCall to a helper (#20675) 2019-10-23 09:26:32 -07:00
options_switches.cc chore: remove deprecated worldSafeExecuteJavaScript option (#28456) 2021-04-08 12:03:57 -04:00
options_switches.h chore: remove deprecated worldSafeExecuteJavaScript option (#28456) 2021-04-08 12:03:57 -04:00
platform_util.cc fix: shell.trashItem crash when called in renderer (#28748) 2021-04-22 13:46:41 -07:00
platform_util.h 2757472: Reland "Reland "[LSC] Remove base::string16 alias"" 2021-03-16 13:58:27 -04:00
platform_util_internal.h feat: add shell.trashItem() to replace shell.moveItemToTrash() (#25114) 2020-09-02 10:32:33 -07:00
platform_util_linux.cc feat: add shell.trashItem() to replace shell.moveItemToTrash() (#25114) 2020-09-02 10:32:33 -07:00
platform_util_mac.mm chore: remove deprecated shell.moveItemToTrash() (#26723) 2020-11-30 23:25:03 +03:00
platform_util_win.cc fix a messed up merge 2021-03-24 11:48:15 -07:00
process_util.cc fix: wrap EmitWarning with HandleScope (#23667) 2020-05-20 09:44:27 -07:00
process_util.h feat: enable native extensions support (#21814) 2020-02-03 14:01:10 -08:00
skia_util.cc chore: use auto to avoid repeating type (#26113) 2020-10-26 11:56:31 -07:00
skia_util.h refactor: move gfx::ImageSkia functions to their own util file (#19460) 2019-07-30 13:49:24 -07:00
v8_value_converter.cc 2720306: [api] Remove deprecated [Shared]ArrayBuffer API 2021-03-16 15:39:40 -04:00
v8_value_converter.h chore: remove native_mate (Part 12) (#20869) 2019-10-31 16:56:00 +09:00
v8_value_serializer.cc feat: MessagePorts in the main process (#22404) 2020-03-11 18:07:54 -07:00
v8_value_serializer.h feat: MessagePorts in the main process (#22404) 2020-03-11 18:07:54 -07:00
world_ids.h chore: bump chromium to 7264889ce3aad1568ff3d211c81fe (master) (#27003) 2020-12-22 14:14:44 -08:00