Commit Graph

571 Commits

Author SHA1 Message Date
baldurk 52cf19e3b3 Fix possible crashes if remote hosts are deleted during processing 2016-08-26 16:04:07 +02:00
baldurk 258da93e94 Speculative crash fix - ensure prev array slice is in valid range 2016-08-26 13:52:46 +02:00
baldurk 96e0444183 Hook up SO stream elements to open buffer viewers properly. 2016-08-25 21:07:40 +02:00
baldurk 963a2deb71 Fix if() being backwards 2016-08-24 18:39:59 +02:00
baldurk 17d53d8129 Fixes for browsing NT paths 2016-08-24 17:09:26 +02:00
baldurk e8e3d50c86 Expose the different local and remote renderers to the UI 2016-08-24 15:53:58 +02:00
baldurk c68d5d94b1 Make the live-status probe less aggressive 2016-08-24 15:53:56 +02:00
baldurk c9474f5bc3 Handle connection errors properly, displaying the error message 2016-08-24 15:53:55 +02:00
baldurk 3e5d55d1d6 Add an option to choose the default save folder for captures. Refs #335 2016-08-24 15:53:52 +02:00
baldurk f8bbedeb8b Ping the connected host regularly and check other hosts at lower freq.
* This lets us detect when a remote server has been disconnected and
  needs to be restarted, as well as alerting the user if this happens in
  the middle of a replay session.
* Pinging other hosts means the context switcher is reasonably up to
  date if one of them comes up.
2016-08-23 15:21:52 +02:00
baldurk 81b6b0653b Display the local filename even when copying to remote for replaying 2016-08-23 13:25:47 +02:00
baldurk 27b7077c36 Add versioning into remote server protocol 2016-08-23 13:02:07 +02:00
baldurk 4bc3dbcc9e Rejig update dialog to provide a bit more info and display RTF notes 2016-08-22 11:03:22 +02:00
baldurk a786ac2eab When switching textures/events, leave pixel pick result valid
* This avoids a flicker when using remote replay while the pick result
  comes in
2016-08-19 17:26:39 +02:00
baldurk 39b995fcfa Add a dialog to ask if the user wants to replay remotely 2016-08-19 17:26:37 +02:00
baldurk d2faf76356 Save machine ident in captures and compare to machine ident on open
* If the machine idents differ in significant ways that we'd consider
  it to be a different platform (currently just OS), and if so mark it
  as supported but suggested to be replayed remotely.
2016-08-19 17:26:36 +02:00
baldurk 027bcdb7e8 Don't validate existance of working directories on remote captures 2016-08-19 17:26:34 +02:00
baldurk b5e6f8bef2 Allow specifying environment variable modifications
* This works for local and remote invocations of programs, but is mostly
  useful on unix systems (Windows programs use env vars less often)
2016-08-19 17:26:33 +02:00
baldurk 2fe43fab79 Don't try to copy a non-local log to the remote thost 2016-08-19 17:26:32 +02:00
baldurk d04c06a229 Add a remote/virtual open file dialog for browsing over the network
* This needs some optimisation - the obvious one being to batch up
  requests for multiple children all at once.
2016-08-19 17:26:30 +02:00
baldurk fd1d7ef58c Disable config options by default, and also disable the buttons 2016-08-19 17:26:28 +02:00
baldurk 87c978f71a Add functionality to copy captures to the remote server for replaying 2016-08-19 17:26:25 +02:00
baldurk ebea48260d Mark blocking invokes for painting as lower priority
* This allows them to be enqueued without the usual synchronous block
  if there's something long-running on the queue while in remote mode.
2016-08-19 17:26:24 +02:00
baldurk d63e3b89ad Add support for copying files back from remote server 2016-08-19 17:26:24 +02:00
baldurk 96c777cb43 Set display properly when checking RemoteHost status 2016-08-19 17:26:22 +02:00
baldurk fe08662e38 Handle non-local logs, make sure they are properly owned and deleted 2016-08-19 17:26:21 +02:00
baldurk 0207c74b90 Check remote server status at startup to pre-populate context chooser 2016-08-19 17:26:20 +02:00
baldurk dca8fe7905 Actually use modified path in working dir hint 2016-08-19 17:26:20 +02:00
baldurk 2060173049 Track busy and active connections and display in UI 2016-08-19 17:26:19 +02:00
baldurk 8a5d300e78 Use custom exception for replay creation failures 2016-08-19 17:26:18 +02:00
baldurk 84baa6d752 Partially implemented support for capturing & opening logs in a context 2016-08-19 17:26:12 +02:00
baldurk b1fcea3c3e When switching context, make a remote connection in the render manager 2016-08-19 17:26:10 +02:00
baldurk fa0b13f2ed Add context chooser to main window for choosing between remote servers 2016-08-19 17:26:09 +02:00
baldurk 4fde9b065f Expand remote host selection for attaching to handle remote servers
* Also remove some of the old remote-replay single-shot code handling.
2016-08-19 17:26:07 +02:00
baldurk 9a544e61af Rename ModalPopup to ProgressPopup 2016-08-19 17:26:06 +02:00
baldurk 481a28dc29 Rename RemoteAccess to TargetControl to better disambiguate RemoteServer 2016-08-19 12:23:19 +02:00
baldurk c4310373fd clamp when assigning prevHighestMip, just in case 2016-08-12 15:57:00 +02:00
baldurk c674c27057 Make update dialog non-resizeable. Refs #321 2016-08-10 16:07:16 +02:00
baldurk 9d24013f3b Clamp the view-size specified number of rows to the max num rows. 2016-08-09 00:41:10 +02:00
baldurk 3dbd750846 Put more updater code inside the try { } catch(Exception)
* A crash was uploaded where File.Copy() failed due to permissions.
2016-08-06 19:23:30 +02:00
baldurk 9f9610ce6d Recreate output windows after use, since D3D12 breaks them 2016-08-06 18:31:33 +02:00
Matthäus G. Chajdas 1cb6890df9 Disable the "always show vertical scroll" bar in the settings menu.
The window is always big enough that the scroll bar remains disabled, so just get rid of it by default.
2016-08-05 15:39:51 +02:00
baldurk 59bc8254bd Fix potential crash if drawcall is null when showing empty ibuffer 2016-08-05 12:54:13 +02:00
baldurk 610b22f600 Fix a lot of high-contrast inconsistencies or brokenness. Refs #315
* In a couple of places I had to resort to if(IsHighContrast) but mostly
  this is just using system brushes consistently or not assuming black
  text.
* The default DockPanel theme doesn't work well, so make a minimal high-
  contrast theme for it and assign it everywhere.
* The pipeline flow was using fixed colours, use system brushes for the
  different elements and switch based on high-contrast to ensure active
  and inactive stages are visible (using ActiveCaption looks bad on
  normal themes because it's a big block of colour).
* For some reason the flat toolstrip renderer doesn't handle white-on-
  black themes, but the system one does. It's a little clunkier but it
  shows up correctly without writing tons of custom painting code.
* Range histogram uses a properly contrasting colour for the border.
* Treelist views use a better system colour for selected rows when
  inactive and hovered rows (when high contrast).
* Mesh view grids have a system background instead of white
* Various things (pipeline state, mesh viewe) set text colour when
  colourising backgrounds of things instead of assuming black.
2016-08-05 12:46:56 +02:00
baldurk 12e0c301af Handle themes with light text when picking contrasting colour. Refs #315 2016-08-05 11:19:56 +02:00
baldurk e8cb71a895 Add protection for buffer/texture viewer layouts failing to load. 2016-08-01 22:28:57 +02:00
baldurk 5508f9f599 Handle duplicate contents being returned and dummy them. Refs #310
* Unfortunately too late for v0.30, but at least this will help anyone
  who upgrades v0.29 -> v0.31 or such.
2016-08-01 22:22:50 +02:00
baldurk 39f453b166 Rename replay host to remote server, consistently. 2016-08-01 19:38:21 +02:00
baldurk 53f53dd1c2 Don't add mesh viewer to log viewer list twice 2016-07-30 12:42:19 +02:00
baldurk 4f06161fb9 Update template custom shader to include UV, add new globals. Refs #304 2016-07-26 15:18:45 +02:00