electron/shell/app
Charles Kerr dffe00b232
fix: -Wunsafe-buffer-usage warnings with argc, argv (#44366)
* refactor: move uv_setup_args() calls to startup

* refactor: call base::CommandLine::Init() before ContentMain()

* feat: add ElectronCommandLine::AsUtf8()

* refactor: call base::CommandLine::Init() before NodeMain()

* refactor: use ElectronCommandLine::AsUtf8() in NodeMain()

* fix: -Wunsafe-buffer-usage warning in ElectronCommandLine::Init()

* chore: add a DCHECK to confirm ElectronCommandLine was initialized before AsUtf8() is called

* chore: const correctness in ElectronCommandLine::Init() args

* chore: add ElectronCommandLine to macOS Electron Helper app

* chore: move argc, argvc setup into electron_library_main on macOS

* chore: revert BUILD.gn changes

* fix: WideToUTF8() call in ElectronCommandLine::AsUtf8()

* build: add uv to the include paths for app/electron_main_linux

* build: add uv to the include paths for app/electron_library_main.mm

* chore: revert unrelated changes

these were intended for another branch
2024-10-29 13:23:08 +01:00
..
resources/mac revert: disable rosetta as Electron does not run under rosetta 2020-11-18 09:04:16 -08:00
BRANDING.json refactor: rename the atom directory to shell 2019-06-19 17:33:28 -07:00
command_line_args.cc fix: -Wunsafe-buffer-usage warnings in IsUrlArg() (#43477) 2024-09-03 21:51:39 -04:00
command_line_args.h fix: -Wunsafe-buffer-usage warnings in IsUrlArg() (#43477) 2024-09-03 21:51:39 -04:00
electron_content_client.cc refactor: prefer `inline constexpr string_view` for string constants (#44405) 2024-10-29 10:30:12 +01:00
electron_content_client.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_crash_reporter_client.cc chore: bump chromium to 129.0.6650.0 (main) (#43266) 2024-08-12 10:28:33 +02:00
electron_crash_reporter_client.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_library_main.h chore: remove unused #includes (#42971) 2024-07-22 11:31:32 +02:00
electron_library_main.mm fix: -Wunsafe-buffer-usage warnings with argc, argv (#44366) 2024-10-29 13:23:08 +01:00
electron_login_helper.mm refactor: migrate `electron_login_helper` to non-deprecated API (#43182) 2024-08-05 09:56:18 +02:00
electron_main_delegate.cc fix: trace-startup crashing child process on macOS (#44257) 2024-10-16 11:03:00 -04:00
electron_main_delegate.h fix: trace-startup crashing child process on macOS (#44257) 2024-10-16 11:03:00 -04:00
electron_main_delegate_mac.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_main_delegate_mac.mm refactor: replace base::EndsWith() with std::ends_with() (#41937) 2024-04-23 21:13:59 -05:00
electron_main_linux.cc fix: -Wunsafe-buffer-usage warnings with argc, argv (#44366) 2024-10-29 13:23:08 +01:00
electron_main_mac.cc refactor: prefer `inline constexpr string_view` for string constants (#44405) 2024-10-29 10:30:12 +01:00
electron_main_win.cc fix: -Wunsafe-buffer-usage warnings with argc, argv (#44366) 2024-10-29 13:23:08 +01:00
node_main.cc fix: -Wunsafe-buffer-usage warnings with argc, argv (#44366) 2024-10-29 13:23:08 +01:00
node_main.h fix: -Wunsafe-buffer-usage warnings with argc, argv (#44366) 2024-10-29 13:23:08 +01:00
uv_stdio_fix.cc chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
uv_stdio_fix.h fix: re-enable PartitionAlloc on macOS (#32442) 2022-01-17 16:46:33 +09:00
uv_task_runner.cc fix: delete UvTaskRunner's timers only after they're closed (#43561) 2024-09-06 07:16:56 -05:00
uv_task_runner.h fix: delete UvTaskRunner's timers only after they're closed (#43561) 2024-09-06 07:16:56 -05:00