Commit Graph
2146 Commits
Author SHA1 Message Date
Bartosz Taudul a9c2c41539 Merge pull request #1516 from Lectem/messages-selection
Messages selection from the timeline marker
2026-11-10 21:56:59 +01:00
Clément Grégoire 51b9084b6f Use designated initializers for MessagesDraw. 2026-11-10 21:55:32 +01:00
Clément Grégoire 0e8cc9c865 Keep the message clicked on the timeline selected.
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.
2026-11-10 18:32:09 +01:00
Clément Grégoire 5aa31f077c Don't scroll messages to bottom when focusing a message.
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.
2026-11-10 17:45:56 +01:00
Clément Grégoire 6dbc87ffc4 Always decay the message focus request.
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.
2026-11-10 17:45:56 +01:00
Bartosz Taudul 2f418252bc Always remove the return type in name shortening. 2026-11-08 15:38:29 +01:00
Bartosz Taudul ba019c3df2 Fix operator names broken by name shortening.
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().
2026-11-08 15:38:28 +01:00
Bartosz Taudul f264919609 Merge pull request #1512 from Lectem/emscripten-keyboard-layout
Use the keyboard layout for shortcut letters in the Emscripten build
2026-11-07 20:44:21 +01:00
Clément Grégoire c10baf286c Use the keyboard layout for shortcut letters in the Emscripten build.
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.
2026-11-07 15:50:05 +01:00
Bartosz Taudul fe72c165f7 Merge pull request #1510 from Lectem/emscripten-clipboard
Fix pasting in the Emscripten build.
2026-11-06 21:49:55 +01:00
Clément Grégoire e9613e1f83 Make Ctrl+Shift+V paste in the Emscripten build.
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.
2026-11-06 21:07:41 +01:00
Clément Grégoire d03b00915f Fix pasting with a lost key up in the Emscripten build.
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.
2026-11-06 20:04:27 +01:00
Clément Grégoire c137ee9830 Fix pasting in the Emscripten build.
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.
2026-11-06 09:01:52 +01:00
Bartosz Taudul f2a4f2529e Release 0.15.0. 2026-11-05 21:02:56 +01:00
Bartosz Taudul 7c6f7b637c Rearrange achievements. 2026-11-04 20:33:54 +01:00
Bartosz Taudul 02a825b393 Add a time range achievement. 2026-11-04 01:29:15 +01:00
Bartosz Taudul f86bdf7bb1 Add a wait stacks achievement. 2026-11-04 01:29:15 +01:00
Bartosz Taudul 458faecb34 Add a timeline navigation achievement. 2026-11-04 01:29:13 +01:00
Bartosz Taudul 3430cd8db8 Add a Tracy Assist achievement. 2026-11-02 01:05:43 +01:00
Bartosz Taudul 2e9dfb8fdf Add visibility predicates to achievements. 2026-11-02 00:59:04 +01:00
Bartosz Taudul 41ea9b8b31 Add a hardware counters achievement. 2026-11-02 00:59:04 +01:00
Bartosz Taudul 0342049936 Add a crash survival achievement. 2026-11-02 00:59:04 +01:00
Bartosz Taudul a6cb6ec3c2 Add an annotations achievement. 2026-11-02 00:59:04 +01:00
Bartosz Taudul d3fcf981c9 Add a frame statistics achievement. 2026-11-02 00:59:04 +01:00
Bartosz Taudul 000ae58203 Add a CPU data achievement. 2026-11-02 00:59:03 +01:00
Bartosz Taudul ecf9d08643 Add a context switches achievement. 2026-11-02 00:59:01 +01:00
Bartosz Taudul 18240d9212 Use a PNG image for the AppImage .DirIcon.
appimagetool now treats an SVG .DirIcon as a fatal packaging error.
2026-10-31 18:34:39 +01:00
Bartosz Taudul b131e114ac Add a zone call stacks achievement. 2026-10-31 18:13:33 +01:00
Bartosz Taudul 40032ed09a Add a frame sets achievement. 2026-10-31 18:13:32 +01:00
Bartosz Taudul 4fbd6010b3 Add a log messages achievement. 2026-10-31 18:13:32 +01:00
Bartosz Taudul de8962d117 Add an entry stacks achievement. 2026-10-31 18:13:32 +01:00
Bartosz Taudul d915345d91 Add a sampling statistics achievement. 2026-10-31 18:13:32 +01:00
Bartosz Taudul a51bb8c738 Add a memory pools achievement. 2026-10-31 18:13:32 +01:00
Bartosz Taudul a4595ee85d Add an allocation call stacks achievement. 2026-10-31 18:13:32 +01:00
Bartosz Taudul 97d9368741 Add a GPU statistics achievement. 2026-10-31 18:13:32 +01:00
Bartosz Taudul c6e8813c3a Add a thread naming achievement. 2026-10-31 18:13:31 +01:00
Bartosz Taudul 50f5bb674a Add a HeaderClicked hook to timeline item headers. 2026-10-31 18:13:31 +01:00
Bartosz Taudul 76bdf0cdb7 Achievements text tweaks. 2026-10-31 18:13:29 +01:00
Lectem 056faddb24 Store profiler history in a single history.json
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.
2026-10-29 20:36:22 +01:00
Bartosz Taudul 29aa268641 Add an assembly reading achievement. 2026-10-18 22:04:20 +02:00
Bartosz Taudul b8c32a326a Add a trace comparison achievement. 2026-10-18 21:57:52 +02:00
Bartosz Taudul 5c0dc013d1 Add a flame graph achievement. 2026-10-18 21:57:52 +02:00
Bartosz Taudul 7b3ace0d2b Add a source view achievement. 2026-10-18 21:57:51 +02:00
Bartosz Taudul 7cb1921808 Report file selector failure instead of crashing when NFD_Init failed. 2026-10-17 20:21:06 +02:00
Bartosz Taudul ee27a99188 Use the dispatch timeout as the unfocused throttle on Wayland.
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.
2026-10-17 20:21:06 +02:00
Bartosz Taudul f5290242f3 Don't throttle the first Wayland frame on unknown focus state. 2026-10-17 20:21:04 +02:00
Bartosz Taudul 9e2127e60a Glue admonition header to the icon unconditionally. 2026-10-17 15:37:48 +02:00
Bartosz Taudul 37d58eca7f Add a zone inspection achievement.
Find zone moves from the instrumentation intro under it: searching
builds on having inspected a zone, not the other way around.
2026-10-16 00:24:13 +02:00
Bartosz Taudul 248f8ececf Add a GPU profiling achievement. 2026-10-16 00:24:13 +02:00
Bartosz Taudul bf74c4cb8d Add a leak hunting achievement. 2026-10-16 00:24:12 +02:00