Commit Graph

1280 Commits

Author SHA1 Message Date
Bartosz Taudul
0246cec0a7 System reminder is no longer in use. 2025-12-29 20:43:26 +01:00
Bartosz Taudul
d385328a16 Remove prefill of assistant messages.
Does not work with models implementing reasoning in a standarized way.
2025-12-29 20:43:26 +01:00
Bartosz Taudul
1708a88445 Remove AssistantDebug LLM role. 2025-12-29 20:43:25 +01:00
Bartosz Taudul
6f9504c50a Redo message filtering UI. 2025-12-28 16:56:09 +01:00
Bartosz Taudul
2a9ab49d13 Use constexpr for tables. 2025-12-28 16:26:19 +01:00
Bartosz Taudul
f649943e93 Fix text formatting. 2025-12-28 16:03:44 +01:00
Clément Grégoire
b2a7bb64ff Add tooltip for message source filters 2025-12-28 14:50:41 +01:00
Clément Grégoire
3e99b0e7c2 Add severity name tooltip 2025-12-28 14:50:41 +01:00
Clément Grégoire
a0016be7ff Allow filtering Messages by source and severity 2025-12-28 14:50:41 +01:00
Clément Grégoire
35a05aea62 Optimize message filtering a bit
Instead of decompressing and checking visibility of the thread all the time, cache the previous result.
2025-12-28 14:50:41 +01:00
Clément Grégoire
615db1a78c Refactor message filtering
This now uses a single path for all cases (filter/threads changed, new message).
Note this no longer discriminates against `m_messageFilter.IsActive()` to skip the message filter. `ImGui::PassFilter already` early outs, and if performance is a concern we might as well start by caching the result of `VisibleMsgThread` which always does a hashmap lookup.
2025-12-28 14:50:41 +01:00
Bartosz Taudul
1ad248892d Fix time range limits button id overlap. 2025-12-23 14:03:54 +01:00
Clément Grégoire
0eb9f4acb6 Fix frame image race condition + refactor
- In the connection state, retrieve the FrameImage while owning the data lock.
- Use actual image data pointer as caching key instead of the address of ImageCache which may change during executation (unstable).
- Fixes scale Messages image tooltip scale.
- Free the connection image
2025-12-18 15:44:58 +01:00
Bartosz Taudul
f1efafe825 Do not show external frames in DrawCallstackCalls(). 2025-12-12 01:23:36 +01:00
Bartosz Taudul
4fe1e00696 IsFrameExternal() can be const. 2025-12-12 01:23:19 +01:00
Bartosz Taudul
49ab593247 Change DrawCallstackCalls() limit logic. 2025-12-12 01:16:14 +01:00
Bartosz Taudul
29e8bbbbb2 Add user manual viewer. 2025-12-01 00:29:42 +01:00
Bartosz Taudul
6489874327 Extract links from manual section titles. 2025-11-30 22:05:20 +01:00
Bartosz Taudul
8c8cb8899f Store manual chunk level. 2025-11-30 21:54:19 +01:00
Bartosz Taudul
eec5444d84 Fix invalid chapter names for unnumbered manual sections. 2025-11-30 02:39:16 +01:00
Bartosz Taudul
154712bc81 Keep user manual chunks in a separate object.
This makes the user manual available outside of the LLM context.

The code is also more readable, as splitting the manual into sections and
splitting section content into chunks fit for embeddings is now separated.
A bug has been fixed, where the above splits were mixed up for the last
manual section, producing invalid data.

The unembedded manual contents are no longer held in the memory. The only
use case for this was to calculate the manual contents hash. The hash is
now precalculated and cached.
2025-11-29 20:16:00 +01:00
Bartosz Taudul
b74cac005d Retrieve manual chunk only once. 2025-11-29 19:56:07 +01:00
Igor S. Gerasimov
de3cca3b97 Construct full type: std::vector<tracy::TracyLlmTools::ManualChunk>::emplace_back<std::string> is not available 2025-11-26 13:34:17 +01:00
Igor S. Gerasimov
e612c2674d Use std::string instead of std::format: Apple Clang 15 does not support it 2025-11-26 13:32:02 +01:00
ZeWaka
e38ab2260d fix CPUID parsing in TraceInfo
the extended model was 4 bytes too low, as well as the extended family

the extended family was also not properly masked and the reserved space bled into it

fixes #1193
2025-11-13 01:15:45 -08:00
Bartosz Taudul
e6b9ea4609 Release 0.13.0. 2025-11-11 16:31:54 +01:00
Bartosz Taudul
0cc8e29eb1 Fix copy pasta. 2025-11-06 12:29:25 +01:00
Bartosz Taudul
d7e1923a68 Fix nullptr deref. 2025-10-27 22:03:58 +01:00
Bartosz Taudul
6e3acecf54 Proper rounding for window size with fractional scaling.
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-10-24 22:09:38 +02:00
Bartosz Taudul
32cc0e5121 Take scale into account when creating window. 2025-10-23 19:30:26 +02:00
Bartosz Taudul
7428defab6 Don't attach wayland surface before acking configure. 2025-10-21 22:55:19 +02:00
redthing1
2625468615 remove (void) unused markers 2025-10-16 20:22:17 -07:00
redthing1
9580ad46c3 fix window icon/dock integration with objc on macos 2025-10-16 14:00:18 -07:00
Clément Grégoire
4be2e88292 Rework the way the cropper computes its sizes and position
- No long assumes timelines are on the left of the window
- Derive circle size from cropper width
2025-09-09 16:15:36 +02:00
Clément Grégoire
d61e4aee6c Fix cropper line position and draw order
No longer using the `ForegroundDrawList` by simply moving draw after zones.
2025-09-09 16:13:04 +02:00
Clément Grégoire
2396733f89 Fix timeline cropper triggered on hover of other windows 2025-09-09 14:29:50 +02:00
Bartosz Taudul
981717f3ef Workaround libwayland regression.
ddd348da7e
2025-08-25 17:08:21 +02:00
Bartosz Taudul
67ba5b7727 Fix possible crash. 2025-08-23 21:22:32 +02:00
Bartosz Taudul
69836f3166 Merge pull request #1108 from siliceum/feature/thread-cropping
Allow to limit zone depth
2025-08-22 18:12:14 +02:00
Martijn Courteaux
62e062ee82 Fix highlight on the asteriks label. 2025-08-22 16:08:23 +02:00
Martijn Courteaux
fbcd3c1ae2 Make markers subtle, and only clear when you hover the save-defaults button. 2025-08-22 13:05:21 +02:00
Clément Grégoire
a0ab47efad Fix lambda indent 2025-08-22 10:54:44 +02:00
Martijn Courteaux
ae523c9bbf Explain that you can also reset the values by deleting the config file. 2025-08-21 21:15:36 +02:00
Martijn Courteaux
039ea797fc Improve wording. 2025-08-21 17:58:00 +02:00
Martijn Courteaux
8e72e2bb78 Default markers * to indicate which options are saved in the defaults. 2025-08-20 16:26:21 +02:00
Martijn Courteaux
ba178ce3d3 Add more Timeline options to the defaults. 2025-08-20 15:46:24 +02:00
Martijn Courteaux
577e7a3074 feat(config): Button to save ViewData options to the defaults in TracyConfig. 2025-08-20 15:32:04 +02:00
Martijn Courteaux
ebc31f25e3 feat(config): Add default value for ghostZones. 2025-08-20 14:46:03 +02:00
Clément Grégoire
ba5a4b7ad1 Limit cropper display zone to window and only take margin into account when active, to avoid flickering when hovering 2025-08-12 18:07:24 +02:00
Clément Grégoire
11e3295275 Implement margin for text only. Unify text drawing for zone (als fixing missing clamp for the missing frame case) 2025-08-12 18:07:22 +02:00