0
0
mirror of https://github.com/wolfpld/tracy.git synced 2026-01-18 17:11:26 +01:00
Commit Graph

9531 Commits

Author SHA1 Message Date
Clément Grégoire
9acc186ceb Don't try to send callstacks of depth 0 (would trigger assert in tracy::Callstack) 2026-01-13 11:28:38 +01:00
Bartosz Taudul
76e0ab135b Keep window redrawing while waiting for message reply. 2026-01-11 22:32:25 +01:00
Bartosz Taudul
ed8fc7690f Implement automatic callstack annotation. 2026-01-11 20:54:10 +01:00
Bartosz Taudul
0b9dcc0fbe Add callstack annotations option. 2026-01-11 20:50:37 +01:00
Bartosz Taudul
b53e10b25e Fake a progress indicator. 2026-01-11 20:42:13 +01:00
Bartosz Taudul
3008cb8ad7 Add LLM summaries for callstacks. 2026-01-11 20:07:09 +01:00
Bartosz Taudul
1918667bbd Use proper types for RangeSlim init. 2026-01-11 19:37:38 +01:00
Bartosz Taudul
6f06a25669 Change messages icon to a single-way conversation. 2026-01-11 19:11:20 +01:00
Bartosz Taudul
3ae9db27de Change chat icon to a two-way conversation. 2026-01-11 19:10:58 +01:00
Bartosz Taudul
2ef21b93c5 More compact call stack window controls. 2026-01-11 19:06:01 +01:00
Bartosz Taudul
2bf0a3c7f9 Implement fast message queries. 2026-01-11 18:56:19 +01:00
Bartosz Taudul
9b5cbf835d Implement separate-channel non-streamed chat completion requests. 2026-01-11 18:54:11 +01:00
Bartosz Taudul
761cb1041b Add fast model selection to the UI. 2026-01-11 17:58:22 +01:00
Bartosz Taudul
caba47a66b Don't copy the string to print if no replacements are needed. 2026-01-11 16:52:35 +01:00
Bartosz Taudul
bf61589f3d Separate wrapped text printer from text fixup. 2026-01-11 16:20:06 +01:00
Bartosz Taudul
b26fefd325 Smaller header font sizes. 2026-01-10 15:22:29 +01:00
Bartosz Taudul
a04b0e515a Undo newline when the word position is already at the start of the line. 2026-01-10 15:10:49 +01:00
Bartosz Taudul
ec2ac9f227 Fix table rendering. 2026-01-10 01:14:03 +01:00
Bartosz Taudul
7268cd8c32 Include external jump destination names in LLM attachment. 2026-01-10 00:32:40 +01:00
Bartosz Taudul
c0acafea63 Assume paths containing hidden files are external.
A typical use case would be $(HOME)/.cache/cpm/somelib/file.h.

Special care is needed to avoid filtering out dot-dot path elements: /../
While these have been normalized for some time now on the client-side, old
traces might still contain the dot-dot elements.
2026-01-09 03:05:04 +01:00
Bartosz Taudul
aeadeace0f Check for both versions of Program Files in external paths. 2026-01-09 01:06:32 +01:00
Bartosz Taudul
d4c88dc7c4 Allow filtering out external functions in sampling statistics view. 2026-01-09 01:05:17 +01:00
Bartosz Taudul
560f8f935d Add ability to attach entry call stacks to LLM. 2026-01-08 22:35:03 +01:00
Bartosz Taudul
723bdc71dc Make GetCallstackJson available via View. 2026-01-08 22:34:45 +01:00
Bartosz Taudul
d9200351ef Allow case-insensitive code search. 2026-01-08 21:29:26 +01:00
Bartosz Taudul
d1a4746076 Add ParamOptBool(). 2026-01-08 21:19:08 +01:00
Bartosz Taudul
517366bec9 Use templates for GetParam() implementation. 2026-01-08 21:18:47 +01:00
Bartosz Taudul
c1ffbe8e0d Check if mouse is over the window before acting on mouse click. 2026-01-08 20:50:26 +01:00
Bartosz Taudul
825ab7f411 Implement search in code. 2026-01-08 20:48:19 +01:00
Bartosz Taudul
e4ff8d34be Move IsFrameExternal from View to TracyUtility.hpp. 2026-01-08 20:28:16 +01:00
Bartosz Taudul
a5e5e8a435 Workaround emscripten scroll issues.
Obviously not the correct fix, but whatever.
2026-01-07 23:29:35 +01:00
Bartosz Taudul
1413bb4b4d Merge pull request #1250 from YaLTeR/fix-scrolling
Fix scrolling speed for touchpads and high-res wheels on Wayland
2026-01-07 23:16:19 +01:00
Bartosz Taudul
e37d58c60c Better printing of tool calls. 2026-01-07 17:47:52 +01:00
Bartosz Taudul
2903fcabe4 Change default source_file context to 50 lines. 2026-01-07 17:03:42 +01:00
Bartosz Taudul
26c5999a6e Add callstack inspection workflow. 2026-01-07 17:02:24 +01:00
Bartosz Taudul
9774fdd017 System prompt reword. 2026-01-07 17:02:12 +01:00
Bartosz Taudul
14f0ed1cba Add hard limit on context usage.
Big MoE models + big context size = slow prompt processing. Limit tool
reply size to a reasonable amount.
2026-01-07 16:31:48 +01:00
Bartosz Taudul
f00694fae0 Add optional context parameter to source_file calls. 2026-01-07 16:24:34 +01:00
Bartosz Taudul
3c82b63046 Allow optional parameters with a default value. 2026-01-07 16:24:10 +01:00
Bartosz Taudul
82d47db47d Give LLM profiling instructions. 2026-01-07 16:13:00 +01:00
Ivan Molodetskikh
203f6cc508 timeline: Use fractional vertical scroll amount in calculation
Before this commit, vertical scroll was always discrete. At least on
Wayland, this caused extremely fast scrolling on touchpads (that send
lots of small axis events) and on mice with high-resolution wheels (that
also send lots of small axis events). After this commit, all of this
scrolling works correctly, at a speed matching regular wheels.
2026-01-05 19:46:37 +03:00
Ivan Molodetskikh
218265ad37 wayland: Adjust scroll scaling
Regular mice send a value of 15 for one wheel tick, not 8.

This currently doesn't change anything about vertical scrolling since
it's handled discretely, but that will change in the next commit.
2026-01-05 19:44:42 +03:00
Bartosz Taudul
189a4fc203 Glue together adjacent user messages.
In most cases this is not needed. However, some models, like Gemma3 or
Devstral require that user and assistant messages alternate.

The only case where this can happen in Tracy is when an attachment is added:

[
  {
    "role": "user",
    "content": "<attachment>\n..."
  },
  {
    "role": "user",
    "content": "Tell me something about..."
  }
]

It is trivial to glue these messages together. This is only done when sending
the data in the REST request, as the chat rendering logic expects these to be
separate and it would be too much work unnecessary work to do it "proper".
2026-01-05 13:45:50 +01:00
Bartosz Taudul
711771bc27 Replace narrow no-break space with no-break space in markdown text.
Nemotron 3 Nano outputs these spaces in the text. The currently used font
(or is it ImGui?) is not able to render this, and draws replacement character
instead.
2026-01-05 13:35:51 +01:00
Bartosz Taudul
1851743c9d Include offset data in assembly attachments. 2026-01-04 23:16:17 +01:00
Bartosz Taudul
405778acf3 Add button for attaching complete assembly to LLM. 2026-01-04 23:10:44 +01:00
Bartosz Taudul
4d7670bac5 Extract LLM assembly range attaching to a separate function. 2026-01-04 23:04:16 +01:00
Bartosz Taudul
51cee7f07d Inject sampled execution cost into assembly attachments. 2026-01-04 22:53:59 +01:00
Bartosz Taudul
14bdad425f No need for nesting source information. 2026-01-04 22:18:15 +01:00
Bartosz Taudul
29f304554d Explicitly say the frame and subframe numbers for each frame. 2026-01-04 21:56:19 +01:00