1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:37:44 +00:00

Userland: Remove "Inspector" program and related utilities

This program has never lived up to its original idea, and has been
broken for years (property editing, etc). It's also unmaintained and
off-by-default since forever.

At this point, Inspector is more of a maintenance burden than a feature,
so this commit removes it from the system, along with the mechanism in
Core::EventLoop that enables it.

If we decide we want the feature again in the future, it can be
reimplemented better. :^)
This commit is contained in:
Andreas Kling 2023-04-24 10:31:49 +02:00
parent 203e84c378
commit c756e021a7
39 changed files with 11 additions and 1386 deletions

View file

@ -70,11 +70,11 @@ Application* Application::the()
return *s_the;
}
Application::Application(int argc, char** argv, Core::EventLoop::MakeInspectable make_inspectable)
Application::Application(int argc, char** argv)
{
VERIFY(!*s_the);
*s_the = *this;
m_event_loop = make<Core::EventLoop>(make_inspectable);
m_event_loop = make<Core::EventLoop>();
ConnectionToWindowServer::the();
Clipboard::initialize({});
if (argc > 0)

View file

@ -97,9 +97,9 @@ public:
void register_recent_file_actions(Badge<GUI::Menu>, Vector<NonnullRefPtr<GUI::Action>>);
private:
Application(int argc, char** argv, Core::EventLoop::MakeInspectable = Core::EventLoop::MakeInspectable::No);
Application(Main::Arguments const& arguments, Core::EventLoop::MakeInspectable inspectable = Core::EventLoop::MakeInspectable::No)
: Application(arguments.argc, arguments.argv, inspectable)
Application(int argc, char** argv);
Application(Main::Arguments const& arguments)
: Application(arguments.argc, arguments.argv)
{
}