Age | Commit message (Collapse) | Author |
|
|
|
When the font is changed in the Terminal application, we now resize the
terminal window to accomodate the new font.
|
|
|
|
|
|
This reverts commit 8bf98eb581e6297e732bd442cd5c95cf2e8940ad.
Terminal uses LaunchServer to open URLs that you click on. Oopsie!
|
|
|
|
|
|
Remove Widget::find_child_by_name and Widget::find_descendant_by_name,
and convert all users to using the type-safer version in Core::Object.
|
|
The ellipsis (...) in a menu item traditionally means that the action
will require more input before executing. In this case, you need to
provide a search string. :^)
|
|
|
|
|
|
|
|
|
|
|
|
This matches other similar hook names.
|
|
|
|
|
|
Let's leave all the Ctrl+Letter shortcuts for the TTY itself.
|
|
This is no longer needed as a global one is now available
under mouse settings.
|
|
|
|
Instead of hard-coding 22 in random places, just make the following
widgets have a fixed height of 22 by default: Button, CheckBox,
ColorInput, ComboBox, RadioButton, SpinBox, TextBox.
In the future we can make this relative to the current font size,
but for now at least this centralizes the setting a bit better.
|
|
This patch removes size policies and preferred sizes, and replaces them
with min-size and max-size for each widget.
Box layout now works in 3 passes:
1) Set all items (widgets/spacers) to their min-size
2) Distribute remaining space evenly, respecting max-size
3) Place widgets one after the other, adding spacing in between
I've also added convenience helpers for setting a fixed size (which is
the same as setting min-size and max-size to the same value.)
This significantly reduces the verbosity of widget layout and makes GML
a bit more pleasant to write, too. :^)
|
|
This is simply a gui wrapper around the pre-existing TerminalWidget
methods for finding and scrolling.
|
|
|
|
Make it a little taller so we can see the focus rect around the radio
buttons when they are focused.
|
|
|
|
|
|
New serenity_app() targets can be defined which allows application
icons to be emedded directly into the executable. The embedded
icons will then be used when creating an icon for that file in
LibGUI.
|
|
This solves utmpupdate zombies hanging around until Terminal
terminates.
|
|
Closes #4238.
|
|
|
|
|
|
Not sure why I put this into LibGUI in the first place.
|
|
The qualified name of a font is "<Family> <Size> <Weight>". You can
get the QN of a Font via the Font::qualified_name() API, and you can
get any system font by QN from the GUI::FontDatabase. :^)
|
|
|
|
We now put entries for interactive terminal sessions in the utmp file.
They are removed when you exit the terminal.
|
|
Drops the '16' suffix from filenames. Resizes inconsistent
audio-volume icons to intended size.
|
|
This is a follow up to #2936 / d3e3b4ae56aa79d9bde12ca1f143dcf116f89a4c.
Affected programs:
- Applications: Browser (Download, View source, Inspect DOM tree, JS
console), Terminal (Settings)
- Demos: Cube, Eyes, Fire, HelloWorld, LibGfxDemo, WebView,
WidgetGallery
- DevTools: HackStudio, Inspector, Profiler
- Games: 2048, Minesweeper, Snake, Solitaire
- Userland: test-web
A few have been left out where manual positioning is done on purpose,
e.g. ClipboardManager (to be close to the menu bar) or VisualBuilder (to
preserve alignment of the multiple application windows).
|
|
This enables a nice warning in case a function becomes dead code.
|
|
|
|
This will let the WindowManager choose the location of the window
|
|
Sometimes you just want to get rid of all your scrollback history in
the terminal, and now there's a way to do that.
|
|
|
|
|
|
During app teardown, the Application object may be destroyed before
something else, and so having Application::the() return a reference was
obscuring the truth about its lifetime.
This patch makes the API more honest by returning a pointer. While
this makes call sites look a bit more sketchy, do note that the global
Application pointer only becomes null during app teardown.
|
|
Having this on the stack makes whole-program teardown iffy. Turning it
into a Core::Object allows anyone who needs it to extends its lifetime.
|
|
The scroll length is the number of lines by which the terminal will go
up/down when scrolling the mouse wheel once.
|
|
It's less code, and it's potentially more efficient once
posix_spawn is a real syscall.
|
|
* In some cases, we can first call sigaction()/signal(), then *not* pledge
sigaction.
* In other cases, we pledge sigaction at first, call sigaction()/signal()
second, then pledge again, this time without sigaction.
* In yet other cases, we keep the sigaction pledge. I suppose these could all be
migrated to drop it or not pledge it at all, if somebody is interested in
doing that.
|
|
|