baldurk
e57d9db9c4
Process scope declarations and identifiers in AST tree
...
* We don't generate type information yet, _get_type is stubbed out.
2026-08-13 17:46:41 +01:00
baldurk
b2b46e7e7c
Add structs for tracking identifiers and scopes
2026-08-13 17:46:41 +01:00
baldurk
08369056d3
Add python script for autocompletion parsing
...
* This tries to ast parse source that may contain an error.
* We don't try to fully error recover from unlimited problems, but a single
statement that is being edited can be tolerated by commenting out lines around
it
2026-08-13 17:46:41 +01:00
baldurk
23ca2cf053
Show syntax errors when editing in python script editor
2026-08-13 17:46:41 +01:00
baldurk
a70ee3a2eb
Watch python extensions for changes on disk and update status bar
...
* We show a button to quickly reload changed extensions.
2026-08-13 17:46:41 +01:00
baldurk
a995ded466
Add quick-helper to view extension output from manager dialog
2026-08-13 17:46:41 +01:00
baldurk
02ead51303
Add a status entry showing loaded python extensions & debugger status
2026-08-13 17:46:40 +01:00
baldurk
3c6dfd23b4
Add a drop-down for the script output panel to switch context
...
* By default we still display all messages, but this allows users to switch to
just seeing the output from one extension if desired.
2026-08-13 17:46:40 +01:00
baldurk
768d8fa615
Add a static context for connecting Qt signals for python extensions
2026-08-13 17:46:40 +01:00
baldurk
b1f0b9d310
Flush output before an exception
...
* We buffer output to avoid spamming huge numbers of signals especially when
single lines can be many write calls. This means if an exception is processed
immediately after a print the output from the print may come after the
extension.
2026-08-13 17:46:40 +01:00
baldurk
229c4c8746
Avoid polluting globals with completion objects
2026-08-13 17:46:40 +01:00
baldurk
60b989f2b7
Give extensions their own OutputRedirector object to identify them
2026-08-13 17:46:40 +01:00
baldurk
3ff393c91f
Add option to launch/wait for debugger on python contexts
2026-08-13 17:46:40 +01:00
baldurk
3dfd829331
Initialise debugpy on a thread to reduce startup time
2026-08-13 17:46:40 +01:00
baldurk
d71827d6a1
Load debugpy when possible to allow python debugging in-program
2026-08-13 17:46:39 +01:00
baldurk
9fc3c3cdcd
Use sys.settrace instead of PyEval_SetTrace for better compatibility
2026-08-13 17:46:39 +01:00
baldurk
e5f395497c
Allow custom python folder to contain platform-subfolders
...
* This is not the default python layout but is convenient for sharing the
standard library .zip and include folder with separate binary folders per-
platform. The layout mirrors what we include in the repository.
2026-08-13 17:46:39 +01:00
baldurk
7e11dc9cc5
Allow loading a custom PySide2 with a customised python location
...
* This is expected to be in a pyside\ subfolder, with an organisation matching
our default setup.
* We also now copy the shiboken2 python module (if it exists) as required by new
pyside2 versions.
2026-08-13 17:46:39 +01:00
baldurk
965d788fe5
Add a settings window entry to add extra python stubs paths
2026-08-13 17:46:39 +01:00
baldurk
26a84363b8
Embed stubsgen.py and automatically generate stubs into user folder
...
* We create both a stubs folder for each specific version, and a 'latest' that
is updated by newer RD versions.
* For development, the stubs will be regenerated any time the git commit hash
changes for development builds.
2026-08-13 17:46:39 +01:00
baldurk
a23ee5f526
Change documentation for callbacks to use Callable[]
2026-08-13 17:46:38 +01:00
baldurk
7567cc11c9
Fix GC collection of python contexts
2026-08-13 17:46:38 +01:00
baldurk
62b088319a
Detect struct array strides from BDA pointer decorations
2026-08-07 16:26:33 +01:00
baldurk
02e0f0983f
Handle mutually recursive cycles in declared pointer types
2026-08-03 21:30:51 +01:00
baldurk
c11d53b0d4
Handle mutually recursive pointer types in packing rules estimation
2026-08-03 21:15:19 +01:00
baldurk
1b9c13223f
Check for all possible GL matrix types in buffer formatter. Closes #3878
2026-08-03 21:15:19 +01:00
baldurk
63b38ef8b4
Encode information for ASTC/PVRTC blocks in ResourceFormat
2026-07-27 11:22:02 +01:00
Jake Turner
f8c90b0032
Tweak terminal emulator command line for RunProcessAsAdmin
...
Separate the arguments instead of a single argument
Use a different execute command line parameter for different terminal tools
-e : default
-x : for gnome-terminal
2026-07-22 07:46:21 +01:00
baldurk
4edf26d6f7
Choose native VS toolset per version as with SDK version
2026-07-02 16:24:42 +01:00
baldurk
06e8f370ba
Fix handling of some formats of scalar pointers in buffer formatter
2026-06-18 21:50:51 +01:00
baldurk
75ecc6ea1a
Return internal handle from sys
2026-05-15 13:15:45 +01:00
baldurk
206d732ade
Check serialised shader tool enums against known list
...
* Prevents an out of bound error from corrupt configs (or configs from the
future!)
2026-05-15 13:09:20 +01:00
baldurk
403725f69f
Check global handle from correct object in extension loading
2026-03-13 18:21:33 +00:00
baldurk
109e524d5c
Improve cross-module references in docstrings
2026-03-13 13:07:44 +00:00
baldurk
fc85e44a06
Output stderr as warnings, not necessarily errors
2026-03-13 13:07:44 +00:00
baldurk
a72ea34c6c
Don't use sys.stdout to find global handle
...
* Instead store sys._renderdoc_internal that won't be overwritten.
2026-03-13 13:07:44 +00:00
baldurk
6e3a0201a8
Determine python version from python module directly
2026-03-13 13:07:44 +00:00
baldurk
d32b8a0371
Fix compatibility with python 3.14
2026-03-13 13:07:44 +00:00
baldurk
09bce82078
Always try to use exception-based thread naming
...
* VS2015 doesn't support the windows 10 thread naming so we want to do both if
possible
2026-03-13 11:40:17 +00:00
Jake Turner
a72067cca5
AsyncInvoke operations related to embedded dependencies
2026-01-29 11:05:10 +13:00
baldurk
2d1c7653f5
Add an analytic flag for use of custom annotations API
2026-01-28 14:42:11 +00:00
baldurk
13ad7875f2
Add annotation display in resource inspector and as standalone panel
2026-01-28 14:42:10 +00:00
baldurk
5c8a4f144b
Add a custom annotation column to the event browser
2026-01-28 14:42:09 +00:00
qwmnerbvqwmn
d32454e8ff
Use UTF-8 encoding in shader viewer to fix character corruption
2026-01-19 19:20:14 +09:00
baldurk
856c838def
Update copyright years to 2026 and fix copyright ranges
...
* In a previous update in 2021 many copyright ranges were truncated
accidentally, and some files have been copy-pasted with wrong years. These
dates have been fixed based on git history and original copyright messages.
2026-01-05 14:17:28 +00:00
Jake Turner
3c407eee51
GetParentMarker: Search children if first child is less than eventId
...
Handle case where action->eventId > eventId but the action contains the event being searched for
2025-12-20 07:26:26 +13:00
Jake Turner
cf4e8b15fc
ICaptureContextx APIs for externally referenced dependency files
...
void EmbedDependentFilesIntoCapture();
void RemoveDependentFilesFromCapture();
2025-12-11 11:13:29 +13:00
baldurk
45eabffb54
Update mesh viewer to allow better customisation. Closes #1811
2025-12-08 18:24:19 +00:00
baldurk
7e518e813c
Add support for fully customised mesh viewer controls
2025-12-08 15:50:17 +00:00
Jake Turner
c2015de391
Resource Usage UI changes
...
Add a column that shows the parent marker for the event range (by default the end event ID)
Add an option to prevent combining resource usage across markers (group by marker)
The tooltip for a resource usage entry contains the full marker path
2025-12-03 11:20:23 +13:00