Commit Graph

1264 Commits

Author SHA1 Message Date
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
Bartosz Taudul
93f88c20e3 Merge pull request #1116 from siliceum/bugfix/clipboard-button
Fix clipboard button and add code preview in Zone Info
2025-08-01 20:30:38 +02:00
Clément Grégoire
effb5fbed5 Allow to chhange clipboard button font + center-align based on previous font 2025-07-31 00:20:56 +02:00
Bartosz Taudul
23be6a0789 Split too long line. 2025-07-30 23:40:01 +02:00
Clément Grégoire
3751dc88c3 If we have samples in view and they are displayed, timeline should be displayed even without zones 2025-07-30 17:17:40 +02:00
Antoine Mura
301298d6f7 Fix clipboard button and add code preview in Zone Info 2025-07-30 16:07:56 +02:00
Fouad Valadbeigi
9e754e61bc Add p99 and p99.9 stats 2025-07-30 02:27:20 +02:00
Clément Grégoire
5bf53c1eb7 Fix formatting issues 2025-07-27 11:11:21 +02:00
Antoine Mura
80126ed1e0 Add lock struct with condition variable to main thread 2025-07-27 11:05:45 +02:00
Clément Grégoire
d1bb306dae Fix last cropper handle click 2025-07-23 15:33:44 +02:00
Clément Grégoire
c6e1bd40cd Auto-hide cropper when not actively limiting zones in view or mouse isn't hovering it 2025-07-23 15:33:20 +02:00
Clément Grégoire
6f0f26ebcc View::DrawThread now properly accounts for the additional margin caused by cropper 2025-07-22 22:07:53 +02:00
Clément Grégoire
9c3629ab28 Revert margin modifications 2025-07-22 22:02:47 +02:00
Clément Grégoire
ed569b20c2 Update colors to be more discrete 2025-07-22 20:04:40 +02:00
Clément Grégoire
ed6a6d1e92 Fix cropper positions and sizes. Display hint when cropped. Allow depth to be lower than limit. 2025-07-22 20:02:08 +02:00
Antoine Mura
f32d4e4b44 Adjust aligment 2025-07-22 16:37:53 +02:00
Bartosz Taudul
c03fdaec1e Merge pull request #1097 from erieaton-amd/rocprofv3-2
Collect dispatches and counter values with Rocprofv3
2025-07-22 13:33:15 +02:00