Commit Graph
135 Commits
Author SHA1 Message Date
Ivan Molodetskikh e40ce11ba9 Link NFD statically
Currently, the profiler will build against the git NFD, but link it as a
shared library. Since libnfd is not installed when building Tracy as a
distro package, it will end up actually depending on and running against
an older distro-provided NFD, hitting an unresolved function error due
to the newly added NFD function in git.

Other deps fetched with CPM are linked statically, avoiding this
problem.
2026-07-09 10:46:00 +03:00
Bartosz Taudul 5be36d732b Bump nfd to current master. 2026-07-02 01:29:50 +02:00
Bartosz Taudul 280af2e7bd Bump curl. 2026-07-02 00:30:53 +02:00
Bartosz Taudul 83298a3459 Bump usearch. 2026-07-02 00:30:48 +02:00
Bartosz Taudul 21f9c00e9f Bump md4c to current master. 2026-07-02 00:24:57 +02:00
Bartosz Taudul 781938317d Bump pugixml to 1.16. 2026-06-16 18:10:38 +02:00
Bartosz Taudul f9365abe4f Do not use samplers in renderer.
Tracy requires some textures to have repeat wrapping mode set. The ImGui
implementation of samplers doesn't make it easy to achieve. Disalbe use
of samplers and rely on texture flags, as done originally.
2026-06-16 16:02:08 +02:00
Bartosz Taudul f8aa88d522 Explicitly disable shared libs for md4c.
Fixes emscripten build.
2026-06-14 15:06:36 +02:00
Bartosz Taudul 3974cc8026 Add support for proper rendering of markdown footnotes. 2026-06-05 19:09:49 +02:00
Bartosz Taudul 9f88bc6d04 Bump capstone. 2026-05-29 18:16:14 +02:00
Clément Grégoire aaf1304308 Options.cmake: unify set_options* and tracy_set_options
Renamed `tracy_*` versions to short version without prefix
2026-05-26 12:50:19 +02:00
Bartosz Taudul 215199239f Merge pull request #1370 from siliceum/feature/custom-platform-hooks
Add `TRACY_PLATFORM_HEADER` hook for unsupported platforms
2026-05-24 15:48:43 +02:00
Clément Grégoire 84570487bf Move CMake option wrappers into cmake/options.cmake.
Move `tracy_set_option` and `tracy_set_option_value` from `CMakeLists.txt` into `cmake/options.cmake`. Add `tracy_set_option_value_as_string` for options whose value is embedded as a C string literal. All three accept an optional trailing target argument; when provided, the option is also propagated as a PUBLIC compile definition on that target.

Existing `set_option`/`set_option_value` are unchanged but will be replaced later by the `tracy_*` versions.
2026-05-24 15:42:42 +02:00
Bartosz Taudul cffd0007c5 Bump libs. 2026-05-23 23:41:39 +02:00
Bartosz Taudul 6ded0d1d7b Bump imgui to 1.92.8-docking. 2026-05-12 18:03:45 +02:00
Bartosz Taudul 5bbafeabd7 Patch ppqsort to fix binary_semaphore release race. 2026-05-04 01:13:53 +02:00
Bartosz Taudul bb1d4ad580 Revert usearch bump – broken on windows. 2026-04-02 21:05:35 +02:00
Bartosz Taudul d5eb85e4c4 Bump deps. 2026-04-02 21:00:14 +02:00
Bartosz Taudul d8139f2058 Allow disabling LTO, mold linker, ccache. 2026-03-31 23:15:15 +02:00
Bartosz Taudul 5877db5411 Move NO_ISA_EXTENSIONS option to config.cmake. 2026-03-31 23:15:14 +02:00
Bartosz Taudul b6b1eed1d5 Externalize option setting macros. Add one for non-booleans. 2026-03-31 23:15:14 +02:00
Bartosz Taudul e89eadf91a Fix copy pasta. 2026-03-31 23:15:11 +02:00
Bartosz Taudul 8bd49317ca Set include list for GitRef. 2026-03-28 21:38:27 +01:00
Bartosz Taudul 1b34592d80 Move git ref CMake extractor to a separate file. 2026-03-28 19:23:15 +01:00
Bartosz TaudulandGrégoire Roussel 49590756a0 Extract broadcast message parsing into TracyBroadcast
Move broadcast message parsing logic from profiler/src/main.cpp into
server/TracyBroadcast.cpp/hpp. This reduces code duplication and enables
reuse by other tools (e.g., multi-capture).

ParseBroadcastMessage() handles all broadcast protocol versions (0-3) and
returns std::optional<BroadcastMessage>. ClientUniqueID() generates a unique
identifier from IP address and port.

Co-authored-by: Grégoire Roussel <gregoire.roussel@wandercraft.eu>
2026-03-02 19:45:48 +01:00
Bartosz Taudul 95661c24df Revert "Bump usearch to 2.24.0."
This reverts commit 6de054002d.
2026-02-19 18:03:51 +01:00
Bartosz Taudul 6de054002d Bump usearch to 2.24.0. 2026-02-17 22:06:06 +01:00
Bartosz Taudul 9079baf0b3 Bump capstone to 6.0.0-Alpha7. 2026-02-17 22:01:39 +01:00
Bartosz Taudul a754bbe3a4 Bump imgui to 1.92.6-docking. 2026-02-17 21:49:11 +01:00
Bartosz Taudul a371325346 Bump dependencies. 2026-01-26 20:48:15 +01:00
Bartosz Taudul 38b73254e9 Add emoji font. 2026-01-14 01:51:32 +01:00
Bartosz Taudul e889fa17f3 Bump usearch to 2.22.0. 2025-12-29 20:46:48 +01:00
Alex Gunnarson 921d426488 Add conditional compilation option for MSVC 2025-12-17 15:26:58 -07:00
Louis Gombert 92ca07bb31 Link imgui against X11 libs
Imgui-docking >=v1.92.3 GLFW back-end requires linking against x11 libraries. This solves link failures when building tracy with the LEGACY option turned on.
2025-12-05 23:49:16 +01:00
Marco Treglia 951fc1b071 required pkg-config lib-curl v7.87.0 in the profiler
Resolving compiling issue when building with previous version of lib-curl.

If locally is present an older version of lib-curl the profiler build fails with:

```
   29 |     curl_easy_setopt( curl, CURLOPT_CA_CACHE_TIMEOUT, 604800L );
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
      |                             CURLOPT_DNS_CACHE_TIMEOUT
include/curl/curl.h:3109:68: note: expanded from macro 'curl_easy_setopt'
 3109 | #define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param)
      |                                                                    ^
include/curl/curl.h:1398:11: note: 'CURLOPT_DNS_CACHE_TIMEOUT' declared here
 1398 |   CURLOPT(CURLOPT_DNS_CACHE_TIMEOUT, CURLOPTTYPE_LONG, 92),
      |           ^
tracy/profiler/src/profiler/TracyLlmApi.cpp:144:46: error: use of undeclared identifier 'CURL_WRITEFUNC_ERROR'; did you mean 'CURLE_WRITE_ERROR'?
  144 |             if( !v.callback( json ) ) return CURL_WRITEFUNC_ERROR;
      |                                              ^~~~~~~~~~~~~~~~~~~~
      |                                              CURLE_WRITE_ERROR
include/curl/curl.h:524:3: note: 'CURLE_WRITE_ERROR' declared here
  524 |   CURLE_WRITE_ERROR,             /* 23 */
      |   ^
2 errors generated.
```

Both CURLOPT_CA_CACHE_TIMEOUT and CURL_WRITEFUNC_ERROR were added in
https://curl.se/ch/7.87.0.html

Now checking the version will avoid such issues:

-- Checking for module 'libcurl>=7.87.0'
--   Package dependency requirement 'libcurl >= 7.87.0' could not be satisfied.
Package 'libcurl' has version '7.84.0', required version is '>= 7.87.0'
-- CPM: Adding package libcurl@ (curl-8_17_0 to ...)
2025-12-05 10:51:29 +01:00
Bartosz Taudul 9aa78b224c Bump imgui to 1.92.5-docking. 2025-11-29 17:40:43 +01:00
Igor S. Gerasimov ade4182214 Tracy can not be compiled for too old target 2025-11-26 14:14:08 +01:00
Bartosz Taudul f79033efd0 Bump curl to 8.17.0. 2025-11-14 17:07:32 +01:00
Bartosz Taudul a257ccc3d0 Bump usearch to 2.21.3. 2025-11-14 17:05:56 +01:00
Bartosz Taudul a1ab2fe91e Bump ppqsort to 1.0.6. 2025-11-14 17:00:29 +01:00
Bartosz Taudul 879ddf881c Bump imgui to 1.92.4-docking. 2025-11-14 16:59:14 +01:00
Bartosz Taudul 226fa7eee5 Bump freetype to 2.14.1. 2025-11-14 16:53:41 +01:00
Bartosz Taudul 75e3073b2a Bump capstone to 6.0.0-Alpha5. 2025-11-14 16:51:58 +01:00
Bartosz Taudul 3d183e2da1 Markdown renderer is not strictly an LLM functionality. 2025-07-12 23:26:55 +02:00
Bartosz Taudul d4094f45cc Replace all deprecated ImGui functionality. 2025-07-12 19:50:37 +02:00
Bartosz Taudul fdeb33c566 Bump usearch, curl. 2025-07-12 18:27:43 +02:00
Bartosz Taudul b58388316a Fix emscripten build. 2025-07-12 18:19:56 +02:00
Bartosz Taudul 4a25079996 Disable demo window in release build.
Workarounds ImGui issue 8796.
2025-07-12 17:43:53 +02:00
Bartosz Taudul bd0591c4d5 Bump ImGui to 1.92.1-docking. 2025-07-12 17:08:13 +02:00
Bartosz Taudul 1dd4c2d670 Update ImGui to 1.92.0-docking. 2025-07-12 14:36:47 +02:00