1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

411 Commits

Author SHA1 Message Date
Bartosz Taudul ec0757c03a Change file selector to work with callbacks. 2022-10-06 18:12:50 +02:00
Bartosz Taudul 5d7cf137cf Convert std::string to const char* in printf call. 2022-10-05 23:45:59 +02:00
Bartosz Taudul 3ca61ad227 Extract file selector functionality. 2022-10-05 22:50:17 +02:00
Bartosz Taudul 7cdc60886c Add ZEN4 to microarchitecture selector. 2022-10-01 12:45:11 +02:00
Bartosz Taudul 62c4b70aaa Reenable ZEN4 cpuid. 2022-10-01 12:40:57 +02:00
Bartosz Taudul c2142279f1 But do not expose it yet. 2022-10-01 01:42:17 +02:00
Bartosz Taudul b3dcd57087 Add ZEN4 cpuid. 2022-10-01 01:39:53 +02:00
Bartosz Taudul e7184565b3 No need for more than one space between mnemonic and operands. 2022-09-24 00:39:04 +02:00
Bartosz Taudul da58c1f55e Make source location display a bit shorter in asm line. 2022-09-24 00:37:23 +02:00
Bartosz Taudul 55e78ba4f7 Use ellipsis for more condensed source file in asm line. 2022-09-24 00:29:38 +02:00
Bartosz Taudul 7ea063539c Take less space for asm address in relative mode. 2022-09-21 20:39:35 +02:00
Bartosz Taudul 3d0e461140 Assembly lines spacing improvements. 2022-09-21 20:26:17 +02:00
Bartosz Taudul 3fa5b8f15a Display local jump target source code preview in tooltip. 2022-09-19 00:33:45 +02:00
Bartosz Taudul 0596fac6f2 Display inline function name in local jump label. 2022-09-19 00:33:18 +02:00
Bartosz Taudul 8d626d25f0 Display call target function name more prominently. 2022-09-18 01:12:52 +02:00
Bartosz Taudul 4cf096d883 Mark privileged instructions in the tooltip. 2022-09-17 23:06:16 +02:00
Bartosz Taudul a8a4fe21b3 Adjust assembly register selection colors. 2022-09-17 22:03:41 +02:00
Bartosz Taudul 0a69ef3b9c Print asm operands taking tokens into account. 2022-09-16 00:30:56 +02:00
Bartosz Taudul d823a24534 Dummy tokenization of asm operands. 2022-09-16 00:30:29 +02:00
Bartosz Taudul 4913f0e1e6 Greatly simplify asm line text drawing.
This change also colors asm mnemonics and jump labels. Asm operands are not
yet colored.
2022-09-15 23:36:31 +02:00
Bartosz Taudul c27bcc524c Store syntax colors as 32-bit uints. 2022-09-11 00:46:27 +02:00
Bartosz Taudul 9372d9fb28 Collect asm operation type data. 2022-09-11 00:30:37 +02:00
Bartosz Taudul eee6cb06fa Align jump arrows to pixel boundaries. 2022-09-09 00:32:13 +02:00
Bartosz Taudul 414f467c6e More jump targets to normalize. 2022-08-19 12:50:47 +02:00
Bartosz Taudul 2f219188e1 Fix function normalization being forced on. 2022-08-18 14:13:53 +02:00
Bartosz Taudul d62f7d5d13 Shorten zone name in jump popup target submenu. 2022-08-18 00:49:42 +02:00
Bartosz Taudul f9a4bc55cc Normalize function names in jump popup. 2022-08-18 00:35:59 +02:00
Bartosz Taudul a1f09fab35 Assembly lines without source locations are navigatable to. 2022-08-18 00:19:32 +02:00
Bartosz Taudul 4bcb59bbe6 Update font awesome and migrate to v6 headers. 2022-08-17 12:07:38 +02:00
Bartosz Taudul ef35c01e14 Highlight jump line on hover over jump target label. 2022-08-17 00:30:07 +02:00
Bartosz Taudul 6659e9967a Fix alignment of inline function warning triangle. 2022-08-15 23:04:56 +02:00
Bartosz Taudul c6ad1c4969 Print file name in source view with big font. 2022-08-15 23:01:40 +02:00
Bartosz Taudul f39efbaa07 Normalize child call names in symbol view. 2022-08-15 22:58:35 +02:00
Bartosz Taudul 00e0187506 Print symbol name in symbol view with big font. 2022-08-15 22:53:32 +02:00
Bartosz Taudul d3cb8ccef2 Normalize jump names in assembly lines. 2022-08-15 22:44:31 +02:00
Bartosz Taudul a5998adf83 Normalize function name in assembly line location popup. 2022-08-15 22:16:05 +02:00
Bartosz Taudul 2031c92f7a Add source code tooltip to function selection list. 2022-08-15 22:10:59 +02:00
Bartosz Taudul 163e7fd490 Normalize names in function selection list in symbol view. 2022-08-15 22:06:35 +02:00
Bartosz Taudul dc84752fab Normalize symbol view symbol name. 2022-08-15 21:51:11 +02:00
Bartosz Taudul d12fa11762 Change magic value enums to constexprs. 2022-08-14 18:16:30 +02:00
Bartosz Taudul 86c2574848 Fix printing floats in source view. 2022-08-14 14:16:56 +02:00
Bartosz Taudul e289884395 Display jump target even if there's no source location. 2022-08-14 14:01:01 +02:00
Bartosz Taudul 99a110d5b1 Add asm line hover highlight for unknown locations.
In some cases there are many unknown locations next to each other. Having a
hover highlight helps to distinguish one from another.
2022-08-14 13:40:39 +02:00
Bartosz Taudul 7dbfed9aea Drop access to native window.
The new NFD library is not using this information, and the old one was using
it only on Windows. Oh well.

Removal of this functionality also removes some build-time decisions.
2022-08-12 21:44:24 +02:00
Bartosz Taudul baea6ddf11 More concise machine code display. 2022-08-09 01:17:24 +02:00
Bartosz Taudul 73be35ea98 Fix unknown source box style. 2022-08-06 23:41:47 +02:00
Bartosz Taudul bdd4d28770 Extend max asm line width, if needed. 2022-05-09 00:44:45 +02:00
Bartosz Taudul 76f3207bc4 Restore the intended spacing for extra asm comments. 2022-05-09 00:37:59 +02:00
Bartosz Taudul a354eb4ab8 Merge pull request #381 from bjacob/fix-layout-379
Fix layout bug (https://github.com/wolfpld/tracy/issues/379)
2022-05-04 21:48:34 +02:00
Benoit Jacob 2c4fe22f50 Fix layout bug (https://github.com/wolfpld/tracy/issues/379)
I had introduced this bug recently in https://github.com/wolfpld/tracy/pull/369

Fixes #379
2022-05-04 16:26:42 +00:00