Commit Graph

1204 Commits

Author SHA1 Message Date
baldurk cafa6901bb Implement copy-paste handler for RDTableView 2018-02-19 00:52:13 +00:00
baldurk 49123db49f Add arrow_refresh into project properly 2018-02-19 00:52:13 +00:00
baldurk f9decacf0a Link against Qt5Networkd.lib in QTDebug target 2018-02-19 00:52:13 +00:00
baldurk 96faed6961 Call QHeaderView::initializeSections() to initialise QHeaderView
* Because many of QHeaderView's functions are annoyingly not virtual,
  we need some stub data available in QHeaderView even if it won't be
  used for anything much, like the number of sections.
2018-02-19 00:52:13 +00:00
baldurk 934800793a Improve workflow for capture import/export
* If the export doesn't need buffers, we export directly from the loaded
  capture file instead of re-loading it.
* Add progress bars for the load step so it shows what's happening
  instead of looking stalled.
* Reduce compression rate on XML+ZIP buffers as it took too long trying
  to compress when exporting large captures.
2018-02-19 00:52:13 +00:00
baldurk dda5629426 Don't sort resource list in resource inspector every time 2018-02-16 13:33:58 +00:00
baldurk 0c7408b91e Don't allow single clicking on autofit to toggle auto-autofit 2018-02-15 11:23:52 +00:00
baldurk 64406b47a3 Add an SDBasic type for ResourceId.
* This type is core enum and used globally (not API specific) that it
  merits becoming a specific structured data type
2018-02-15 10:21:52 +00:00
baldurk 5c859b20a6 Don't use undefined map[index] = map.size()
* The LHS map[index] can get executed first before map.size() and we end
  up with indices that are 1 higher than we expect
2018-02-13 21:10:07 +00:00
baldurk cad5520238 Tweak the event browser to support richtext in drawcall names
* This lets Resource ID text become links to the resource inspector even
  in drawcall names (like glBlitFramebuffer(src, dst)).
2018-02-13 21:10:06 +00:00
baldurk 8368f9b8be Stringify ResourceIds consistently as "ResourceId::12345"
* This means even strings generated in the core code will become
  richtext in the UI.
2018-02-13 21:10:01 +00:00
baldurk 2f41469228 clang compile fix - missing override specifier 2018-02-13 10:08:58 +00:00
baldurk bb2c98795c Hook up autofit right-click shortcut, to always autofit 2018-02-12 20:48:10 +00:00
baldurk db7050c4d4 Set a minimum width for popup menus in RDStyle 2018-02-12 20:48:08 +00:00
baldurk 48fd9bf1ed Fix sizing of stretch columns when one column is hidden 2018-02-12 20:48:06 +00:00
baldurk f2ece44e49 Implement sorting for RDTreeWidget 2018-02-12 20:48:05 +00:00
baldurk ea5e88b99d Use current item instead of last selected item in onclick handler 2018-02-12 20:48:04 +00:00
baldurk d7ecf8a1b3 Add a context menu item in texture viewer to open in resource inspector 2018-02-12 20:48:02 +00:00
baldurk c437772271 Fix painting of frame borders in RDStyle 2018-02-12 20:48:01 +00:00
baldurk eaa57f3e11 Add UI menu for importing from/exporting to other formats. 2018-02-12 20:48:00 +00:00
baldurk 57712ea691 Fix mesh output 'sync views' - need to walk parent stack to tableview 2018-02-12 20:47:59 +00:00
baldurk 8de37336ad Adjust capture connection scrolling to be reasonable on the mouse wheel 2018-02-12 20:47:58 +00:00
baldurk 770903c9dd Raise limit on number of frames to queue to 10 for now. Refs #871 2018-02-12 20:47:50 +00:00
baldurk 10649d9af3 Set number of frames to capture with instantaneous trigger. Refs #871 2018-02-12 16:58:05 +00:00
baldurk 6e96ef86c3 Remove our own PID from list of injectable processes 2018-02-12 12:53:35 +00:00
baldurk a11adc72d0 Don't highlight capture commends as python 2018-02-12 11:32:14 +00:00
baldurk 1854eb3c85 Tweak analytics prompt wording and fix a typo 2018-02-12 11:31:57 +00:00
baldurk 80af9cfebf Rename "Hook into Children" option
* Because holy moly that's a really strange way to shorten the option.
2018-02-09 21:14:32 +00:00
baldurk 2300a94252 Linux compile fix 2018-02-09 19:36:04 +00:00
baldurk d3bf628394 Handle opening vulkan shaders that are not in a pipeline.
* Previously we were relying on the pipeline info create to initialise
  the reflection for an entry point, now we do it on demand wherever it
  is needed.
2018-02-09 19:03:55 +00:00
baldurk 5a5d8380ad Persist texture save config between saves. Refs #862 2018-02-09 17:51:32 +00:00
baldurk cbeb905ae6 Default to selected texture file format in save file browser. Refs #862
* We also do the reverse, if they selected a different extension we
  update the selected format.
2018-02-09 17:51:31 +00:00
baldurk b12475f808 Style scintilla to work on dark as well as light themes. Refs #862 2018-02-09 17:51:19 +00:00
baldurk f6ccd537b6 Change shader edit controls from Ctrl-S / save to F5 / Refresh
* This is a bit less ambiguous and less confusing in the case where
  someone is expecting a "compile" type button instead of "save changes"
  type button.
2018-02-09 17:19:29 +00:00
baldurk 4f59cdb23d Linux compile fix 2018-02-09 09:08:11 +00:00
baldurk 1f0fdcacce Update window title after fetching shader stage 2018-02-09 01:32:50 +00:00
baldurk e20a31d23f Add friendlier error message when overwriting current file. Refs #862
* Only the currently open capture can save over its file, other captures
  cannot overwrite it while it's in use.
2018-02-09 01:32:49 +00:00
baldurk 66d1157e3a Save config immediately after setting last opened capture filename
* This means that even if we crash while opening the capture it's set
  for the crash reporter to pick up.
2018-02-09 01:32:48 +00:00
baldurk f044719b9a Add file size limit of 2.25GB for uploaded captures 2018-02-09 01:32:46 +00:00
baldurk 7352ffb557 Tweak RDStyle to darken link colours on the light theme 2018-02-07 16:07:18 +00:00
baldurk 9f87e6e013 Add a function to reveal a file in the platform's external file browser 2018-02-07 16:07:08 +00:00
baldurk c1da9af62a Copy OpenSSL DLLs into windows build, if available 2018-02-07 15:57:30 +00:00
baldurk fc37a4fa54 Check that we have openssl available in crash report dialog 2018-02-07 15:57:17 +00:00
baldurk fd344b2803 Rename JDK browse button slot to properly get picked up 2018-02-07 12:09:30 +00:00
baldurk a2e0bc82e9 Allow double-click & other shortcuts to inject into processes. Refs #862 2018-02-06 21:25:07 +00:00
baldurk 55397e7295 Fix path checks on PySide2 file copies 2018-02-06 18:20:01 +00:00
baldurk 9614ee89c2 Use correct resource ID to fetch name in texture viewer status bar 2018-02-06 15:00:20 +00:00
baldurk ccffa7656a Specify byte range for cbuffers in D3D12 pipeline state 2018-02-06 00:21:10 +00:00
baldurk 6fd9b47d04 Compile fix on 32-bit or non-windows with analytics enabled 2018-02-06 00:21:10 +00:00
baldurk dfe5bbe4c0 Enable anonymous analytics by default
* If you have any questions about the analytics please contact me
  directly at baldurk@baldurk.org
* Enabling this now to give realistic usage for anyone testing over the
  next month, and also to pre-populate stats for the time 1.0 comes out.
2018-02-06 00:21:10 +00:00