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

9568 Commits

Author SHA1 Message Date
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
Bartosz Taudul
b79f3232b6 Properly update system prompt on first message. 2026-01-04 15:29:05 +01:00
Bartosz Taudul
3f84749b05 Implement system prompt updates without clearing chat. 2026-01-04 15:28:49 +01:00
Bartosz Taudul
d146714185 Merge pull request #1249 from siliceum/fix/lua-message
Fix `TracyLua.hpp` compilation
2026-01-04 01:28:11 +01:00
Clément Grégoire
e5d251a0be Fix TracyLua.hpp build 2026-01-03 22:19:49 +01:00
Bartosz Taudul
9d5b380ea9 Implement markdown tables. 2026-01-03 21:22:38 +01:00
Bartosz Taudul
6f5fb3044a Add separation between multiple assistant responses. 2026-01-02 12:40:22 +01:00
Bartosz Taudul
b6f03ef75d Change assistant render order to reasoning -> content -> tool calls.
Previously reasoning and tool calls were rendered first, followed by
content. The tool call response was then rendered in the second reasoning
section. This made the tool call and response disjoint and, with the
current reasoning hiding logic, not visible at the same time.
2026-01-02 12:25:25 +01:00
Bartosz Taudul
b7a51d265c Update system prompt. 2026-01-02 03:05:01 +01:00
Bartosz Taudul
6323f1642d Refresh system prompt immediately before sending first message. 2026-01-01 17:36:46 +01:00
Bartosz Taudul
58dbde7b2f Move system prompt update to a separate function. 2026-01-01 17:33:23 +01:00
Bartosz Taudul
c2431d5c17 Bump copyright year. 2026-01-01 02:12:05 +01:00
Bartosz Taudul
63a8b4cfb4 Use proper UTF ellipsis. 2025-12-31 18:28:57 +01:00
Bartosz Taudul
34faaeb314 Display short snippet of thinking process. 2025-12-31 18:22:13 +01:00