Commit Graph

44 Commits

Author SHA1 Message Date
Bartosz Taudul
249cd4783c Use C++17 in server. 2018-05-08 01:23:24 +02:00
Bartosz Taudul
e565f5cb74 Enable modern diagnostics format. 2018-05-08 01:17:53 +02:00
Bartosz Taudul
4c521ce92a Loaded traces may be unloaded. 2018-04-30 01:16:08 +02:00
Bartosz Taudul
28380f2d25 Move bad version dialogs to a separate file. 2018-04-21 23:19:48 +02:00
Bartosz Taudul
ac73b00540 Prevent nasal demons from appearing. 2018-04-21 19:37:55 +02:00
Bartosz Taudul
3b6b67b7ee Display a dialog when user tries to open invalid file. 2018-04-21 15:00:54 +02:00
Bartosz Taudul
764792d8db Try to not crash when opening invalid files.
Tracy will now perform a number of checks when trying to read a dump
file:
1. The file must have at least 4 bytes of data.
2. There should be a 4 byte header to indicate the file was saved by
   tracy. This is a breaking change in file format.
3. Old header-less files are still supported, but there's a new check
   for data validity. The first 4 bytes of file (as an uint32) must be
   less or equal to max LZ4 data packet size. This requires the first
   two bytes to be 00 00 or 00 01, which should catch most invalid
   files.
2018-04-21 14:53:40 +02:00
Bartosz Taudul
fefcbc6c35 Handle opening unsupported files. 2018-04-21 14:31:33 +02:00
Bartosz Taudul
645f312166 Enable imgui frame rounding. 2018-04-21 14:16:49 +02:00
Bartosz Taudul
07201a19ad Update imgui to 1.60. 2018-04-14 15:12:16 +02:00
Bartosz Taudul
16a98c8c17 Move benaphore to common directory. 2018-04-01 18:59:55 +02:00
Bartosz Taudul
685432a85f Add unaligned read/write helpers. 2018-03-31 14:15:04 +02:00
Bartosz Taudul
e69d71cd4d Open trace passed as standalone server argument. 2018-03-24 22:20:06 +01:00
Bartosz Taudul
e64e7ce3f1 Add TracyWorker.hpp to msvc project. 2018-02-23 15:13:30 +01:00
Bartosz Szreder
9e3f18a62a Split data handling code from the view. 2018-02-21 16:41:37 +01:00
Bartosz Taudul
142f94cc33 Small style adjustments. 2018-01-13 14:08:14 +01:00
Bartosz Taudul
e5317d9e40 Use dark style. 2018-01-13 13:59:16 +01:00
Bartosz Taudul
961a907e09 Remove obsolete window flag. 2018-01-13 13:56:02 +01:00
Bartosz Taudul
96cd782011 Enable AVX2 code generation. 2017-12-08 23:55:16 +01:00
Bartosz Taudul
0da09bc62b Use pdqsort. 2017-12-08 23:14:55 +01:00
Bartosz Taudul
9b0b3c99e3 Disable permissive mode. 2017-12-05 20:51:16 +01:00
Bartosz Taudul
74cd22e655 Add tracy vector visualizer. 2017-11-20 15:57:40 +01:00
Bartosz Taudul
519d40be69 Add TracyForceInline.hpp to msvc project. 2017-11-19 17:27:00 +01:00
Bartosz Taudul
abd0676cea Use flat_hash_map. 2017-11-15 23:15:59 +01:00
Bartosz Taudul
13d8d9255e Use benaphore instead of mutex. 2017-11-15 21:49:41 +01:00
Bartosz Taudul
eb842cd029 Disable asserts in release mode. 2017-11-06 02:04:57 +01:00
Bartosz Taudul
34123de977 Reduce custom vector size 16 -> 13 bytes. 2017-10-28 23:12:11 +02:00
Bartosz Taudul
01666ded2f Add TracyCharUtil.hpp to files list in msvc. 2017-10-28 21:35:26 +02:00
Bartosz Taudul
9e4bd2a645 Use arial font, if available. 2017-10-18 23:18:32 +02:00
Bartosz Taudul
0853a42f74 Target platform 10.0.16299.0. 2017-10-16 20:33:43 +02:00
Bartosz Taudul
361643ea8e Enable parallel compilation. 2017-10-15 16:03:23 +02:00
Bartosz Taudul
75457c1465 Remove +x flag from files. 2017-10-10 21:56:15 +02:00
Bartosz Taudul
72abdcaf8d Use gtk version of nfd on unix. 2017-10-01 02:37:52 +02:00
Bartosz Taudul
06949e2f99 Reading saved trace. 2017-09-30 16:58:02 +02:00
Bartosz Taudul
2021b7460a Add file wrappers. 2017-09-30 16:19:50 +02:00
Bartosz Taudul
c92715a6c0 Open file dialog. 2017-09-30 14:32:30 +02:00
Bartosz Taudul
7284d00965 Add a macro specifying that file selector is available. 2017-09-30 14:32:09 +02:00
Bartosz Taudul
9c207cb044 Add file selector to standalone tracy server. 2017-09-30 14:31:52 +02:00
Bartosz Taudul
2761c719de Update glfw to 3.2.1, vs2015. 2017-09-20 20:36:17 +02:00
Bartosz Taudul
8f29976237 Auto resize, add borders to connect... window. 2017-09-18 00:30:35 +02:00
Bartosz Taudul
0643fc436d Bring standalone msvc solution up-to-date. 2017-09-18 00:30:16 +02:00
Bartosz Taudul
b36c894fe7 Unix build files. 2017-09-15 22:45:23 +02:00
Bartosz Taudul
a2fa319a42 Allow connecting to remote client. 2017-09-15 21:37:28 +02:00
Bartosz Taudul
1955d50ff8 Standalone tracy server skeleton.
Copy pasta of imgui opengl3 example.
2017-09-15 21:25:47 +02:00