Clicking a message marker on the timeline now selects that message, in addition to opening the messages window and scrolling to it. The selection persists until another message is clicked, and is only shown while the messages window is open.
- The selected message is drawn in yellow, both as a row in the messages and zone info lists and as a bouncing marker on the timeline. Hover keeps its red color and takes priority.
- Clicking a row in the messages list or in the zone info message list also selects it.
While connected, the messages list sticks to the bottom when it is already scrolled there, which is always the case for a window that was just opened. This would override the scroll to the message clicked on the timeline.
The request was only decayed when the row of the message to focus was drawn. If the message was filtered out of the messages list, the request would never expire and the whole list would be drawn without clipping on every frame.
The '<' of operator< and friends is part of the name, not the start of a
template argument list. ns::Foo::operator<(ns::Foo const&) shortens to
ns::Foo::operator<(), not ns::Foo::operator<>. The '::' inside a conversion
operator's type-id is part of the name as well.
ns::Widget::operator ns::Handle() shortens to operator ns::Handle(), not
Handle().
The shortcut letters were mapped from the physical key, so Ctrl+A needed the key where QWERTY has A, which is Q on AZERTY. Letters now come from `key`, so Ctrl+A is where the layout has A.
Other keys, and letters outside of the Latin alphabet, still use the physical key.
The character of a key can change before it is released (releasing AltGr first), so the key sent on the press is remembered for each physical key and released on key up. This works in every browser.
Dear ImGui only pastes on exactly Ctrl+V, so the chord was ignored even when the browser sent the paste event, which Chrome does. Don't treat Shift or Alt with Ctrl+V as the shortcut, and release the other modifiers when faking Ctrl+V. Firefox sends no paste event for this chord, so nothing changes there.
The paste shortcut flag was only cleared by the key up. Browsers don't send it after a window switch, and macOS drops it while Cmd is held, so the next paste from the browser menu did nothing. Clear the flag when the paste event arrives instead.
The paste shortcut did nothing. Its key event was default-prevented, so the browser sent no paste event. The text of that event was also typed in as characters, which text inputs ignore while Ctrl is held.
Let the browser handle the shortcut. Cache the text from the paste event, and let Dear ImGui paste it like on other platforms. Pastes without the shortcut (e.g. from the menu of the browser) are turned into one, so the text is filtered the same. A newline in a single line input becomes a space instead of being dropped.
Replace the binary connection.history file and the ConnectionHistory class
with History, which keeps the history in a JSON file and writes it back when
the profiler exits. Existing history is not migrated.
Pass the 50 ms budget as the timeout of wl_display_dispatch_timeout
instead of sleeping after a nonblocking dispatch. The dispatch flushes
before polling and wakes on any event, e.g. re-granted focus.