electron/shell/common/api
Charles Kerr 06a99d6770
refactor: make node Buffers more friendly to base::span / std::span (#46724)
* refactor: add electron::Buffer namespace; move the Buffer as_byte_span() into it

* feat: add electron::Buffer::Copy()

a span-friendly version of node::Buffer::Copy()

* refactor: use electron::Buffer::Copy() in electron_api_base_window.cc

* refactor: use electron::Buffer::Copy() in electron_api_data_pipe_holder.cc

* refactor: use electron::Buffer::Copy() in electron_api_safe_storage.cc

* refactor: use electron::Buffer::Copy() in electron_api_clipboard.cc

* refactor: use electron::Buffer::Copy() in osr_converter.cc

* refactor: use electron::Buffer::Copy() in electron_api_native_image.cc

* refactor: use electron::Buffer::Copy() in net_converter.cc

* refactor: use electron::Buffer::Copy() in electron_api_web_contents.cc

* refactor: make NewEmptyBuffer() return a Local<Value>
2025-04-25 08:00:09 -05:00
..
api.mojom feat: route deprecated sync clipboard read through permission checks (#45377) 2025-02-05 15:13:29 +09:00
crashpad_support.cc chore: rename built-in modules to bindings to match naming update in node (#37182) 2023-02-09 10:31:38 +09:00
electron_api_asar.cc chore: bump chromium to 133.0.6878.0 (main) (#44831) 2024-12-10 13:16:07 -06:00
electron_api_clipboard.cc refactor: make node Buffers more friendly to base::span / std::span (#46724) 2025-04-25 08:00:09 -05:00
electron_api_clipboard.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_api_clipboard_mac.mm chore: bump chromium to 105.0.5173.0 (main) (#34770) 2022-07-13 17:26:16 -04:00
electron_api_command_line.cc fix: hard crash on invalid command line switches (#46004) 2025-03-26 08:14:03 -05:00
electron_api_environment.cc chore: remove unused internal env.unSetVar() (#43148) 2024-08-01 18:41:41 -05:00
electron_api_native_image.cc refactor: make node Buffers more friendly to base::span / std::span (#46724) 2025-04-25 08:00:09 -05:00
electron_api_native_image.h chore: bump chromium to 134.0.6998.10 (main) (#45564) 2025-02-11 17:26:39 -06:00
electron_api_native_image_mac.mm fix: -Wunsafe-buffer-usage warning in didRegisterForRemoteNotificationsWithDeviceToken (#44348) 2024-10-23 14:18:22 -05:00
electron_api_native_image_win.cc chore: bump chromium to 134.0.6998.10 (main) (#45564) 2025-02-11 17:26:39 -06:00
electron_api_net.cc chore: replace absl::optional<T> with std::optional<T> (#40928) 2024-01-10 16:23:35 -06:00
electron_api_shell.cc fix: crash parsing CLSID in shell.readShortcutLink() (#45195) 2025-01-27 15:22:56 -05:00
electron_api_testing.cc chore: bump chromium to 122.0.6261.6 (main) (#40949) 2024-01-25 12:46:30 -05:00
electron_api_url_loader.cc chore: bump chromium to 137.0.7128.1 (main) (#46482) 2025-04-22 15:53:29 -04:00
electron_api_url_loader.h chore: bump chromium to 137.0.7141.0 (main) (#46725) 2025-04-24 17:18:38 +09:00
electron_api_v8_util.cc refactor: return-braced-init-list pt 2 of 2 (#44870) 2024-11-29 11:44:33 -06:00
electron_bindings.cc refactor: reduce & remove no-op MicrotasksScope calls (#46681) 2025-04-19 12:18:03 -05:00
electron_bindings.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
features.cc feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00