Commit Graph

1712 Commits

Author SHA1 Message Date
baldurk ea748177e1 Compile fix for linux isinf/isnan 2016-11-14 16:32:10 +01:00
baldurk 86c9742309 Let capture context manage singleton window panes 2016-11-14 15:20:51 +01:00
baldurk f44970d4ca Refresh event selection after texture output is created 2016-11-14 15:19:24 +01:00
baldurk 7161891d2d Fix QDateTime format string - yyyy not YYYY 2016-11-14 15:18:43 +01:00
baldurk c39fe4a6c0 Add some TODO notes 2016-11-14 14:21:23 +01:00
baldurk d2c55377f3 Add live capture connection dialog 2016-11-14 14:12:51 +01:00
baldurk 10d1dc6e53 Add extended RDListWidget, which adds mouse click/double-click 2016-11-14 14:12:51 +01:00
baldurk 04004e3243 Add mousemove event to RDLabel 2016-11-14 14:12:50 +01:00
baldurk c0c6712140 Check thread is non-NULL before seeing if it's running 2016-11-14 14:12:49 +01:00
baldurk 893fa6d53b Assign the temp path properly when fetching it as a default 2016-11-14 14:12:48 +01:00
baldurk 1ddac3da54 Add a ToQStr overload for rdctype::str 2016-11-14 14:12:48 +01:00
baldurk 3441ce608b Add static member for Yes|No|Cancel buttons 2016-11-14 14:12:47 +01:00
baldurk 07b4ebb3ba Add a static function for programmatically closing tool windows 2016-11-14 14:12:46 +01:00
baldurk e65ca2937a Add a call to checkAllowClose slot (if it exists) when closing windows 2016-11-14 14:12:46 +01:00
baldurk 936d86d7c3 Remove leftover declaration of closeEvent that was removed 2016-11-12 19:16:22 +01:00
baldurk b509599a54 Fix a clang-format issue that somehow got in past my pre-commit hook... 2016-11-11 20:56:13 +01:00
baldurk 097b93ce9c Default to deleting windows from ToolWindowManager when closed 2016-11-11 20:35:59 +01:00
baldurk 614c15d669 Create config path if it doesn't already exist 2016-11-11 20:35:59 +01:00
baldurk 3290dd1448 Move version information to public API so that all projects can share it 2016-11-11 20:35:59 +01:00
baldurk 1c61b82221 Add stub ToStr copied functions to fix up some implementations
* Eventually the main project's ToStr will move into a header file so
  that we don't have to duplicate any code.
2016-11-11 20:35:59 +01:00
baldurk 9fd1e6bae2 Add qprocessinfo from https://github.com/baldurk/qprocessinfo
* This lets us enumerate processes and fill the inject list on windows
  and linux at least.
2016-11-11 20:35:59 +01:00
baldurk 9e22509521 Add resource file to qrenderdoc for icon and version embedded data 2016-11-10 16:22:35 +01:00
baldurk b843c38bdc Categorise remaining TODOs somewhat 2016-11-09 19:27:44 +01:00
baldurk d6a3086394 Pass in environment modification list when capturing 2016-11-09 19:27:18 +01:00
baldurk cff5da63eb Cache method index for GUIInvoke invokes to avoid string compares 2016-11-09 19:13:22 +01:00
baldurk 28f5bdcf9d Add a mostly-complete capture dialog 2016-11-09 18:35:48 +01:00
baldurk 27f1aa71a6 Use absoluteFilePath() when the filename is needed in the path 2016-11-09 18:34:08 +01:00
baldurk 2ccc157114 Add TempLogFilename() utility function 2016-11-09 18:33:38 +01:00
baldurk e53a854de3 Handle drag and drop into the main window 2016-11-09 18:18:56 +01:00
baldurk 9d264e1998 Fix error message when failing to load a capture 2016-11-09 18:17:57 +01:00
baldurk 2175404d4e Ensure message boxes happen on the main thread 2016-11-09 18:09:56 +01:00
baldurk 8b697f7055 Fix issues with FlowLayout not resizing properly in some cases 2016-11-09 13:26:21 +01:00
baldurk 5c850ac03a Enable action buttons in texture viewer when log is loaded 2016-11-09 13:24:10 +01:00
baldurk bb2f3a205c Move common Qt utility functions & JSON I/O together in a single place 2016-11-09 13:23:53 +01:00
baldurk 66298ea1ce Output moc/uic/rcc directly into generated/ folder for VS to use 2016-11-09 13:12:28 +01:00
baldurk 5a243c4b42 Add an implementation of QOverload to avoid depending on Qt 5.6
* Also switch travis to 5.6 so we don't add a dependency on 5.7 by
  accident.
2016-11-07 19:22:56 +01:00
baldurk 7e7b3d3f80 Add supporting desktop files for QRenderDoc and thumbnail handler etc 2016-11-02 23:39:35 +01:00
Alberto Taiuti d1e5149527 Fix missing <math.h> header in qrenderdoc for Arch/clang++
Add the <math.h> header to some of the source files for the target
qrenderdoc. The build would not have succeded without these headers
declaration under Arch Linux/clang++.
2016-10-19 18:55:50 +02:00
baldurk 4cd31908b4 Update qrenderdoc for API changes 2016-10-14 19:38:11 +02:00
baldurk d869222eed Linux build fixes 2016-10-12 17:36:35 +02:00
baldurk 18898b7f09 Set up proper log loading/closing
* This includes the recent log menu list, progress bars and popup.
2016-10-12 16:59:25 +02:00
baldurk c5973d1ed6 Add centralised reset function for restoring to clean state 2016-10-12 16:54:14 +02:00
baldurk 8a375abe41 Add self-deletion and waiting to LambdaThread 2016-10-12 16:51:29 +02:00
baldurk a601462de0 Set locked tab proprety early so we can pick it up when it activates 2016-10-12 13:24:28 +02:00
baldurk 791599b48c Cache texture lookup and only update whenever it changes 2016-10-12 13:24:14 +02:00
baldurk 402ef54f0d Enable QT_MESSAGELOGCONTEXT and debugging info in release builds 2016-10-12 13:02:03 +02:00
baldurk ec1ce1d738 Fix bool checks across threads to be correct, so it's not optimised out 2016-10-12 13:01:09 +02:00
baldurk d316701f61 Ignore warning 4714 which fires in Qt headers 2016-10-12 11:44:57 +02:00
baldurk fbcb04944d Add texture saving dialog 2016-10-12 00:26:15 +02:00
baldurk f0c359b329 Remove include guards and change to #pragma once 2016-10-11 21:38:16 +02:00