Commit Graph

556 Commits

Author SHA1 Message Date
Bartosz Taudul
0d82d6fe63 Add missing htons() call. 2020-10-02 18:46:11 +02:00
Stone Tickle
b424bb4881
fix Wayland window transparency
https://github.com/glfw/glfw/issues/1434
2020-10-01 20:07:24 +09:00
Stone Tickle
a4f83c55a6
Add Wayland build option 2020-10-01 20:07:13 +09:00
Bartosz Taudul
d530472045 No need to format string without formatting. 2020-09-27 20:56:37 +02:00
Bartosz Taudul
1d106097e3 Don't require GLFW 3.3. 2020-09-26 12:26:18 +02:00
Bartosz Taudul
1a91acc661 Handle client disappearance broadcasts. 2020-09-20 22:40:38 +02:00
Bartosz Taudul
0a5de933c4 Don't assert on malformed broadcasts, just skip them. 2020-09-20 22:27:49 +02:00
Bartosz Taudul
5c826c2723 Send signed active time in broadcast message.
This allows special treatment of negative values.
2020-09-20 22:15:10 +02:00
Bartosz Taudul
6eaf0b06fd Process multiple broadcast messages in a single frame. 2020-09-20 22:08:34 +02:00
Bartosz Taudul
0814812e9b Don't block when polling for broadcast messages. 2020-09-20 22:06:28 +02:00
Bartosz Taudul
4a33dcc1bc Support DPI scaling on Linux. 2020-09-20 14:33:42 +02:00
Bartosz Taudul
f50c5d8ff4 Use domain name, not IP address for update checks. 2020-09-14 22:36:52 +02:00
Bartosz Taudul
de8e5eb6e2 Add missing header. 2020-09-12 13:30:47 +02:00
Bartosz Taudul
6f009fa890 Display release notes for new releases. 2020-09-12 13:22:02 +02:00
Bartosz Taudul
80e0941520 Extract HTTP request functionality. 2020-09-12 12:46:00 +02:00
Bartosz Taudul
990ad36ae5 Display update notification. 2020-09-10 21:53:03 +02:00
Bartosz Taudul
f5073e628d Receive up-to-date tracy version. 2020-09-10 21:53:03 +02:00
Bartosz Taudul
944625b94b Update ImGui to 1.78 + docking. 2020-08-20 17:53:14 +02:00
Bartosz Taudul
52039e80f2 Add native window retrieval on Linux.
Functionality had to be moved to a separate source file due to namespace
pollution from X11 headers.

Note that this doesn't set proper parent of file dialogs on Linux, as
GTK is broken and requires passing a GtkWindow parent.
2020-08-15 16:53:07 +02:00
Bartosz Taudul
046df82ccc Always set proper numeric locale. 2020-08-15 16:19:36 +02:00
Bartosz Taudul
a3d8b5d225 Allow running specific tasks on main thread. 2020-08-15 14:59:16 +02:00
Bartosz Taudul
ea9475dfdf Add Tracy's name to window title. 2020-08-11 21:07:28 +02:00
Bartosz Taudul
6836014caa Capture ImGui mouse state. 2020-08-01 12:02:11 +02:00
Bartosz Taudul
6866d8f429 Update stb_image to 2.26. 2020-07-31 01:42:57 +02:00
Bartosz Taudul
402bfd3ba4 Properly cleanup View. 2020-07-19 14:50:09 +02:00
Bartosz Taudul
aa2757526a Join loading thread on exit. 2020-07-19 14:39:50 +02:00
Bartosz Taudul
4881f7aa54 Bump ImGui to ~1.77. 2020-06-30 18:48:47 +02:00
Bartosz Taudul
cbcf393332 Release 0.7.0. 2020-06-11 14:30:34 +02:00
Bartosz Taudul
d1ef8ea90b Set owner of file dialogs on windows. 2020-06-10 01:52:17 +02:00
Bartosz Taudul
de357b6193 Update ImGui to docking@5d472c489. 2020-06-05 19:21:07 +02:00
Bartosz Taudul
0891245b49 Describe incompatible protocol in the tooltip. 2020-06-04 02:15:21 +02:00
Bartosz Taudul
1ddd395aad Properly setup View, when using command line parameters. 2020-05-23 16:49:27 +02:00
Bartosz Taudul
b166451750 Keep viewShutdown in atomic. 2020-05-13 19:20:20 +02:00
Bartosz Taudul
211dfd7f7e Bump imgui to ecf82ca8066. 2020-05-08 00:05:59 +02:00
Bartosz Taudul
c87d8f017f Disable viewports. 2020-05-05 00:48:53 +02:00
ikrima
1b5879e176 ImGui Multiviewport fixes
- set ImGuiConfigFlags_ViewportsEnable
- correct render loop logic with viewport api calls, SetNextWindowViewport(), UpdatePlatformWindows(), RenderPlatformWindowsDefault()
- Fix: coords in abs space now, SetNextWindowPos()

NOTE:
- I have viewports turned on by default so you can easy test (comment out io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; and you get old behavior)
- Jankiness with multiviewports isn't bc perf hit; it's bc profiler reduces it's tick rate when it's not in focus. So, that bit of logic needs to be updated if you really care
- I haven't encountered any issues over past week but discount that by 50% since i'm new to tracy. No promises some UI wasn't regresssed
- Key things to watch out for is enabling viewports turns ImGui into using absolute monitor coords instead of window coords (ie SetPosition(0,0) => monitor top left, not window top/left
2020-05-04 02:17:15 -07:00
Bartosz Taudul
d896e51c5d Save/load discovered clients filters. 2020-05-03 21:19:40 +02:00
Bartosz Taudul
9c56626bdb Implement filtering of discovered clients. 2020-05-03 21:10:25 +02:00
Bartosz Taudul
bb39913339 Cosmetics. 2020-05-03 20:49:13 +02:00
Bartosz Taudul
476b809c4d Enable docking flag. 2020-05-03 13:21:04 +02:00
Bartosz Taudul
c5f1128209 Switch imgui to docking branch. 2020-05-03 13:20:50 +02:00
Bartosz Taudul
3f00f3f605 Add 'less-than of equal to' character to font. 2020-04-27 00:59:49 +02:00
Bartosz Taudul
c2d84fa288 Mute selectable colors. 2020-04-25 13:22:45 +02:00
Bartosz Taudul
747f26ef74 Display used CPUs as range, if possible. 2020-04-24 02:02:16 +02:00
Bartosz Taudul
aa8b84aa6c Update to ImGui 1.76. 2020-04-13 00:01:53 +02:00
Bartosz Taudul
0a8287c72d Link to manual at github releases page. 2020-04-11 01:41:03 +02:00
Bartosz Taudul
f8231bb109 Change main repository to github. 2020-04-10 17:48:59 +02:00
Bartosz Taudul
436bd6b9ff Smaller fixed font size. 2020-04-09 01:15:06 +02:00
Carsten Juttner
fbc7a1e452 Since the name is just the IP address it is not unique in case the difference is only in the port number.
So make it unique for selection to work not just for the first element in this case.
2020-04-05 16:19:43 +02:00
Bartosz Taudul
ddfd755ddc Add sponsor button to welcome dialog. 2020-03-29 14:06:54 +02:00
Bartosz Taudul
e30161c34e Add IP/port tooltip to discovered clients list. 2020-03-08 16:19:58 +01:00
Bartosz Taudul
a6deabaeee Allow port entry in address field. 2020-03-08 15:02:20 +01:00
Bartosz Taudul
ff37ab7bc6 Handle discovery of multiple clients on the same IP. 2020-03-08 14:51:56 +01:00
Bartosz Taudul
3c22134f78 Reconnect to client, if requested. 2020-03-06 22:11:29 +01:00
Bartosz Taudul
1492536bdb Handle FileReadError. 2020-02-12 19:53:37 +01:00
Bartosz Taudul
f149f353eb Update ImGui to 1.75. 2020-02-10 16:26:04 +01:00
Bartosz Taudul
022528bb47 Use Martin Ankerl's robin hood unordered map.
ska::flat_hash_map has bugs and its development is dead.
2020-01-28 21:49:36 +01:00
Bartosz Taudul
727ac634a9 Redraw window contents during resize. 2020-01-10 02:13:44 +01:00
Bartosz Taudul
5f48b08215 Move profiler render to a separate function. 2020-01-10 02:13:44 +01:00
Bartosz Taudul
c6b8c6a3a6 Update ImGui to 1.74. 2019-11-25 22:36:54 +01:00
Bartosz Taudul
31b6ff4bae Release 0.6.0. 2019-11-17 19:56:42 +01:00
Bartosz Taudul
e7578777c3 Update ImGui to 1.73. 2019-09-24 23:32:03 +02:00
Bartosz Taudul
82cd667b30 Allow specifying network port in server. 2019-09-21 15:43:01 +02:00
Bartosz Taudul
feddd58b46 Better way to scale ImGui style. 2019-09-21 00:52:13 +02:00
Bartosz Taudul
adfc4eb59b Store UdpListen instance in an unique ptr. 2019-08-29 18:36:55 +02:00
Bartosz Taudul
cef7e4b8d0 Save/load per-cpu context switches. 2019-08-16 16:51:18 +02:00
Bartosz Taudul
9e0fe226df Add small font. 2019-08-16 16:02:57 +02:00
Bartosz Taudul
9417ad994d Save/load context switch data. 2019-08-13 13:10:37 +02:00
Bartosz Taudul
154c902e03 Handle legacy file versions. 2019-08-12 12:36:37 +02:00
Bartosz Taudul
54076e717c Update font awesome to 5.10.1. 2019-08-12 12:36:37 +02:00
Bartosz Taudul
a9b41eb657 Rework processing bad files. 2019-08-12 12:04:27 +02:00
Bartosz Taudul
9b6328f962 Release 0.5.0. 2019-08-10 22:14:14 +02:00
Rokas Kupstys
b391e4c21a Fix multiple build errors when compiling with MinGW. 2019-08-04 15:49:46 +03:00
Bartosz Taudul
526f3a55bc Update imgui to 1.72. 2019-07-30 22:53:52 +02:00
Bartosz Taudul
7074b8ed8f Display notification popup during trace cleanup. 2019-07-24 23:54:47 +02:00
Bartosz Taudul
7fb9bde9e9 Pass big font to TracyView. 2019-07-12 19:16:56 +02:00
Bartosz Taudul
64980a1e6f Use async resolv service. 2019-06-26 18:49:21 +02:00
Bartosz Taudul
5e97e83401 Address can't change. 2019-06-26 18:46:51 +02:00
Bartosz Taudul
913c1e57a6 Add threaded resolv service. 2019-06-26 18:46:51 +02:00
Bartosz Taudul
fadf8e3e0a Can't read negative number of bytes.
This completely ignores error handling, which probably should be added.
The code behavior doesn't change, as the existing comparisons and
asserts already promoted the signed value to unsigned.
2019-06-22 14:08:48 +02:00
Bartosz Taudul
323f0e1ae3 Don't create variable for exception in catch block. 2019-06-22 13:41:24 +02:00
Bartosz Taudul
3fcd73680c Simulate client activity time advancement. 2019-06-18 20:56:42 +02:00
Bartosz Taudul
800d95c089 Display discovered clients activity times. 2019-06-18 20:51:12 +02:00
Bartosz Taudul
aa5259b20a Use the same port (8086) for both TCP and UDP traffic. 2019-06-18 20:28:03 +02:00
Bartosz Taudul
0e5a7263d9 Define broadcast message, add versioning. 2019-06-18 20:26:40 +02:00
Bartosz Taudul
2d3e7ee796 More aggressive broadcast repeat timeout. 2019-06-18 00:54:58 +02:00
Bartosz Taudul
b8b1fae900 Don't confuse user by suggesting the list is complete. 2019-06-17 20:24:47 +02:00
Bartosz Taudul
11dc8e67e5 Change broadcast rate from 5s to 3s. 2019-06-17 19:57:17 +02:00
Bartosz Taudul
5a359aa376 Allow connecting to broadcasting clients. 2019-06-17 19:50:34 +02:00
Bartosz Taudul
67daff1452 Display list of broadcasting clients. 2019-06-17 19:45:47 +02:00
Bartosz Taudul
36989da2c6 Also store client address. 2019-06-17 19:45:36 +02:00
Bartosz Taudul
265913d969 Process client broadcasts. 2019-06-17 19:34:48 +02:00
Bartosz Taudul
60f0b81faf More compact welcome dialog. 2019-06-17 01:21:55 +02:00
Bartosz Taudul
796ca57067 Update imgui to 1.71. 2019-06-12 22:53:23 +02:00
Bartosz Taudul
84a52c5d62 Add join discord button. 2019-06-11 02:12:34 +02:00
Bartosz Taudul
646e7327b8 Show loading progress of frame images. 2019-06-06 23:40:37 +02:00
Bartosz Taudul
76ed1e666f Remove unused variable. 2019-06-02 20:01:19 +02:00
Bartosz Taudul
d5b3ec9503 Locale keeps being changed by system libraries... 2019-06-02 19:59:31 +02:00
Bartosz Taudul
83b838f783 Use C locale for decimal point character. 2019-06-02 19:39:07 +02:00
Bartosz Taudul
7c7e32d49e Set window icon. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
9e3cf3d387 Add 64x64 embedded png icon. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
c0326b9ba0 Add stb_image. 2019-06-02 18:05:49 +02:00
Bartosz Taudul
273a874de9 Update imgui to 1.70. 2019-05-09 18:53:31 +02:00
Bartosz Taudul
cffc6e21d3 Use open to open webpage on osx. 2019-04-04 13:58:13 +02:00
Bartosz Taudul
b43d962194 Set labels for input text fields. 2019-03-15 02:35:27 +01:00
Bartosz Taudul
6a36bb2fc2 Add hints to input text fields. 2019-03-15 01:31:06 +01:00
Bartosz Taudul
98b4b69386 Update imgui to 1.69. 2019-03-15 00:55:53 +01:00
Bartosz Taudul
d3fdd6b1d1 Display standard deviation. 2019-03-14 01:14:06 +01:00
Bartosz Taudul
f69f9d4660 Disable window transparency. 2019-03-07 01:18:24 +01:00
Bartosz Taudul
d5914d2e7b Extract drawing waiting dots. 2019-03-06 18:16:21 +01:00
Bartosz Taudul
a4740c1b1c Add animation to loading progress window. 2019-03-06 02:49:21 +01:00
Bartosz Taudul
2ee86ef126 Display bigger program name in welcome dialog. 2019-02-22 02:44:41 +01:00
Bartosz Taudul
9bd13b02e9 Small string changes in the welcome dialog. 2019-02-22 02:41:13 +01:00
Bartosz Taudul
b33c61cead Update imgui to 1.68. 2019-02-21 18:40:27 +01:00
Bartosz Taudul
8717fe5730 Window position may be negative. 2019-02-12 01:26:14 +01:00
Bartosz Taudul
96e38501b6 Use unformatted text drawing where possible. 2019-02-10 02:50:34 +01:00
Bartosz Taudul
ecdb672130 Add simple checks against invalid window position. 2019-02-10 02:11:59 +01:00
Bartosz Taudul
b7fd0bdc9c Use proper type. 2019-01-29 21:53:56 +01:00
Bartosz Taudul
ac791fd19f Update imgui to 1.67. Also update imguicolortextedit. 2019-01-19 14:05:54 +01:00
Bartosz Taudul
e1bd5c092b Pressing enter key when entering client address automatically connects. 2018-12-22 17:14:22 +01:00
Bartosz Taudul
6fefffe8a5 Implement automated connection to a given IP address. 2018-12-20 17:07:15 +01:00
Bartosz Taudul
78beb7bd81 Allow removal of addresses from connection history. 2018-10-23 19:59:11 +02:00
Bartosz Taudul
2af941eadc Allow selection from the 5 most commonly used addresses. 2018-10-23 19:50:09 +02:00
Bartosz Taudul
1eb46042be Track connection history. 2018-10-23 19:50:09 +02:00
Bartosz Taudul
ec50d16076 Add new feature videos to tutorial button. 2018-10-09 19:28:24 +02:00
Bartosz Taudul
28c176d3aa Fix loss of window size and position, if it was maximized. 2018-10-05 20:23:54 +02:00
Bartosz Taudul
9eb04ea817 Update to ImGui 1.65. 2018-09-08 20:31:38 +02:00
Bartosz Taudul
0f72461c3e Fix for GLFW 3.1. 2018-08-31 20:06:38 +02:00
Bartosz Taudul
00fb98ed64 Only show window when it's ready. 2018-08-31 19:40:08 +02:00
Bartosz Taudul
a9dd70251b Save window position, size, maximized state. 2018-08-31 19:38:19 +02:00
Bartosz Taudul
bc886e4287 Save path is not persistent. 2018-08-31 19:38:05 +02:00
Bartosz Taudul
d977fa004d Enable keyboard navigation. 2018-08-30 02:08:08 +02:00
Bartosz Taudul
f1e4d949a0 Update bindings. 2018-08-30 02:01:12 +02:00
Bartosz Taudul
d287250e25 Also update imgui_freetype. 2018-08-30 01:01:23 +02:00
Bartosz Taudul
411f956db2 Save imgui.ini in a common location. 2018-08-29 23:22:54 +02:00
Bartosz Taudul
aefa2a9573 Display dialog when CPU doesn't support AVX/AVX2. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
ddf889e8bc Move WinMain entry point to a separate source file. 2018-08-19 22:20:54 +02:00
Bartosz Taudul
ddbc7d5ac2 Add hourglass icon to loading pop-up. 2018-08-17 23:29:32 +02:00
Bartosz Taudul
940dda8fc1 Use helper header for icons. 2018-08-17 23:22:13 +02:00
Bartosz Taudul
bb6b646d6e Add icons to user manual, homepage and tutorial buttons. 2018-08-17 23:08:07 +02:00
Bartosz Taudul
914a1713e3 Use freetype to render fonts. 2018-08-17 21:40:15 +02:00
Bartosz Taudul
e6ab7692c8 Use Cousine-Regular as monospaced font. 2018-08-17 20:57:26 +02:00
Bartosz Taudul
fe37c4ab80 Scale scrollbar with DPI. 2018-08-17 19:06:30 +02:00
Bartosz Taudul
8eee82b0ce Scale cosmetic UI elements with DPI. 2018-08-17 19:06:14 +02:00
Bartosz Taudul
0de3e088d9 Use icons in main profiler window buttons. 2018-08-17 19:03:35 +02:00
Bartosz Taudul
7cfcdee053 Slightly reduce icons size. 2018-08-17 18:45:04 +02:00
Bartosz Taudul
92284b65e7 Use save file icon. 2018-08-17 18:36:06 +02:00
Bartosz Taudul
9b1af05472 Use power off icon. 2018-08-17 18:33:56 +02:00
Bartosz Taudul
97eb88a839 Use icons in initial connection window. 2018-08-17 18:28:21 +02:00
Bartosz Taudul
3d0b9da592 Merge font awesome into the default font. 2018-08-17 17:56:55 +02:00
Bartosz Taudul
337111f948 Add Font Awesome Solid 5.2.0. 2018-08-17 17:56:33 +02:00
Bartosz Taudul
7f6454d550 Setup window title setter callback. 2018-08-17 17:24:50 +02:00
Bartosz Taudul
b24d9fa044 Declare OpenWebpage() static. 2018-08-17 17:19:06 +02:00
Bartosz Taudul
df7db3bd2b Notify profiler about root window size. 2018-08-17 16:54:56 +02:00
Bartosz Taudul
c503e3760c Load fixed width font (the default ImGui one for now). 2018-08-17 15:18:37 +02:00
Bartosz Taudul
a54191cb3c Rename "standalone" to "profiler". 2018-08-07 22:26:37 +02:00