1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:07: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

@ -11,7 +11,6 @@ alias iv=ImageViewer
alias pi=Piano
alias calc=Calculator
alias calendar=Calendar
alias ins=Inspector
alias sp=SoundPlayer
alias help=Help
alias br=Browser

View file

@ -11,7 +11,6 @@ alias iv=ImageViewer
alias pi=Piano
alias calc=Calculator
alias calendar=Calendar
alias ins=Inspector
alias sp=SoundPlayer
alias help=Help
alias br=Browser

View file

@ -57,11 +57,6 @@ Lazy=true
Priority=low
KeepAlive=true
[InspectorServer]
Socket=/tmp/session/%sid/portal/inspector,/tmp/session/%sid/portal/inspectables
SocketPermissions=600,666
KeepAlive=true
[AudioServer]
Socket=/tmp/session/%sid/portal/audio
Priority=high

View file

@ -23,6 +23,5 @@ Holding Ctrl accelerates mouse wheel interaction with sliders and spin boxes.
Selected files can be renamed by pressing F2.
Assistant can help you quickly find files and applications by pressing Super+Space.
Holding Ctrl while activating a menu item prevents that menu from closing.
Applications can be viewed with Inspector by including 'MAKE_INSPECTABLE=1' in their environment.
Pressing Ctrl+Shift+A on a focused widget or application activates the command palette, a searchable list of available actions.
Workspaces can be switched by pressing Ctrl+Alt+Arrows. Shift brings the active window along.

View file

@ -1,4 +0,0 @@
[App]
Name=Inspector
Executable=/bin/Inspector
Category=Development

View file

@ -26,7 +26,6 @@ Note that many applications can be disabled at SerenityOS build time if desired.
- [GML Playground](help://man/1/Applications/GMLPlayground)
- [Hex Editor](help://man/1/Applications/HexEditor)
- [Image Viewer](help://man/1/Applications/ImageViewer)
- [Inspector](help://man/1/Applications/Inspector)
- [Magnifier](help://man/1/Applications/Magnifier)
- [Mail](help://man/1/Applications/Mail)
- [Mouse Settings](help://man/1/Applications/MouseSettings)

View file

@ -1,31 +0,0 @@
## Name
![Icon](/res/icons/16x16/app-inspector.png) Inspector - Serenity process inspector
[Open](file:///bin/Inspector)
## Synopsis
```**sh
$ Inspector [pid]
```
## Arguments
* `pid`: Process ID to inspect
## Description
Inspector facilitates process inspection via RPC.
To inspect a process, it must have `MAKE_INSPECTABLE=1` in its environment,
and it must have previously allowed the
[`accept`(2)](help://man/2/accept) system call with
[`pledge`(2)](help://man/2/pledge) to allow inspection
via UNIX socket.
## Examples
```sh
$ Inspector $(pidof Shell)
```

View file

@ -41,8 +41,6 @@ $ watch -n 1 -- bt 124
## See also
* [`Inspector`(1)](help://man/1/Applications/Inspector)
* [`Profiler`(1)](help://man/1/Applications/Profiler)
* [`watch`(1)](help://man/1/watch)

View file

@ -52,11 +52,6 @@ This is a list of useful tips and tricks to help you make the most out of Sereni
## Development
* Supplying `# profile` with a process identifier (PID) of `-1` as root enables systemwide profiling.
* Make applications inspectable by including `MAKE_INSPECTABLE=1` in their environment. Inspectable processes can be examined with [Inspector](help://man/1/Applications/Inspector) via remote procedure calls (RPCs). For example, to make the Eyes application inspectable, enter the following Shell commands:
```sh
$ export MAKE_INSPECTABLE=1
$ Eyes &
```
## See also
* [Keyboard Shortcuts](help://man/7/KeyboardShortcuts)
* [Keyboard Shortcuts](help://man/7/KeyboardShortcuts)