instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
AcademySoftwareFoundation__OpenColorIO__2202
AcademySoftwareFoundation/OpenColorIO
2,202
defect
337f7c761c8cfafa3297896840face1b394dd746
849e9bda4bc0064e54032f9bdf5f1b37c79dabcc
Update documentation for 2.5 release
Added a What's New page for the 2.5 release and made updates to existing documentation where necessary based on the new features. A preliminary description has been provided, but more work is needed for the config merge and hue curve transforms. To be done in a follow-up. I added a "Breaking Changes" section at t...
diff --git a/docs/concepts/publications/publications.rst b/docs/concepts/publications/publications.rst index 0a9152e5d3..467b7560aa 100644 --- a/docs/concepts/publications/publications.rst +++ b/docs/concepts/publications/publications.rst @@ -7,6 +7,11 @@ Presentations & Publications ============================ +*...
4
2
0
[{"id": "G0", "claim": "The Windows-OCIOZ-archive note should clarify what is actually broken: archives from Windows OCIO <= 2.4 still open fine in OCIO v2.5 on Windows, and only the (Windows < 2.5) -> (non-Windows 2.5+) path fails, e.g. by adding \"otherwise they may not open properly in Linux/MacOS systems\".", "cate...
null
AcademySoftwareFoundation__OpenCue__1106
AcademySoftwareFoundation/OpenCue
1,106
defect
6da47bab2ea621e0abf9d53348b3ccfd528b69d6
ab0d5875002d56b03f7e14e6e3df2e162ff54b4f
Fix NIMBY lock and refactor Nimby to Factory
**Summarize your change.** Refactor Nimby to a Factory, now has two modes, Select and Pynput. Windows hosts will activate the Pynput mode by default. Fixed Nimby lock override, revamped logging removed print statements. Nimby lock was reverting irregardless if the user was using the desktop, turning Nimby into a F...
diff --git a/rqd/rqd/__main__.py b/rqd/rqd/__main__.py index 4c0a46bfe..32e6dd38b 100755 --- a/rqd/rqd/__main__.py +++ b/rqd/rqd/__main__.py @@ -61,15 +61,13 @@ def setupLogging(): """Sets up the logging for RQD. + Logs to /var/log/messages""" - Logs to /var/log/messages""" - # TODO(bcipriano) The...
1
1
1
[{"id": "G0", "claim": "The pynput ImportError should not be silently swallowed: since the import should be required when rqd.rqconstants.USE_NIMBY_PYNPUT is True, add a check for that, or at least log something when the import fails.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr...
null
AcademySoftwareFoundation__OpenCue__1165
AcademySoftwareFoundation/OpenCue
1,165
defect
81a272a18c298ac1a3bbcd53b2cf9d7daad03248
74b05104ac81c72e47650aef88b4b30eb44467d6
pycue: Raise error if searching with incorrect parameter
**Link the Issue(s) this Pull Request is related to.** When using methods like opecue.api.getJobs and supplying wrong parameters such as ids instead of id, method returns all jobs on the farm. Instead, exception should be thrown in search.py::_setOptions to clearly state that the parameter supplied was wrong. **Sum...
diff --git a/pycue/opencue/search.py b/pycue/opencue/search.py index 1a42f696af..80ad0fa5e6 100644 --- a/pycue/opencue/search.py +++ b/pycue/opencue/search.py @@ -381,4 +381,8 @@ def _setOptions(criteria, options): criteria.first_result = int(v) elif k == "include_finished": criteria....
1
1
1
[{"id": "G0", "claim": "Add a test case for the new code to ensure an exception is thrown when incorrect search parameters are used.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__1284
AcademySoftwareFoundation/OpenCue
1,284
defect
388255c5a33c5774e470b5f28eea8f4d6d08d226
06368ccbb6daa953a66fcc80125086dcbce00d51
[cuesubmit] Cuesubmit jobs from config file
**Link the Issue(s) this Pull Request is related to.** https://github.com/AcademySoftwareFoundation/OpenCue/issues/1275 **Summarize your change.** - We are now able to declare jobs from the configuration file (see [cuesubmit/cuesubmit_config.example.yaml](https://github.com/AcademySoftwareFoundation/OpenCue/pull/...
diff --git a/cuesubmit/cuesubmit/Config.py b/cuesubmit/cuesubmit/Config.py index 3bfb443a7..b06a07ec8 100644 --- a/cuesubmit/cuesubmit/Config.py +++ b/cuesubmit/cuesubmit/Config.py @@ -35,19 +35,61 @@ def getConfigValues(): """Reads the config file from disk and returns the values it defines.""" - configData...
5
5
3
[{"id": "G0", "claim": "After merging master into the branch, the unit tests fail with AttributeError: module 'cuesubmit.Constants' has no attribute 'RENDER_CMDS'.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Gating core override on the new mandat...
null
AcademySoftwareFoundation__OpenCue__1337
AcademySoftwareFoundation/OpenCue
1,337
defect
5b9defd5f5fa87b49270bf7b5851f84066952ed6
29fdbeba99d132245ab25b46e521745d87027df1
Add frame range to Blender command in CueSubmit
**Link the Issue(s) this Pull Request is related to.** https://github.com/AcademySoftwareFoundation/OpenCue/issues/1334 https://github.com/AcademySoftwareFoundation/OpenCue/issues/1264 **Summarize your change.** Adds frame range to the Blender render command in CueSubmit. Required for when rendering animations. ...
diff --git a/cuesubmit/cuesubmit/Submission.py b/cuesubmit/cuesubmit/Submission.py index 94a1f97b9..9afd220e7 100644 --- a/cuesubmit/cuesubmit/Submission.py +++ b/cuesubmit/cuesubmit/Submission.py @@ -21,6 +21,7 @@ from __future__ import absolute_import from builtins import str +import re import outline import ...
3
3
2
[{"id": "G0", "claim": "Parsing the frame range and hardcoding the resulting start/end numbers into the command makes the layer command contain fixed -s/-e values (e.g. -s 1 -e 5 -a); instead the command should insert the FRAME_START/FRAME_END placeholder tokens so Cuebot can swap in the correct frame numbers for each ...
null
AcademySoftwareFoundation__OpenCue__1367
AcademySoftwareFoundation/OpenCue
1,367
defect
9a033a94848130d111f774f790da2d0ae09ef004
ac3294d36852b2f02df6db0f36480c8aca5cc5c9
Kill job reason
Adding requester information to JobKillRequest This feature requires more information from job kill actions requested through the API. **Link the Issue(s) this Pull Request is related to.** This feature is motivated by a situation where a script was misusing the API and calling kill on all the jobs for a show o...
diff --git a/.gitignore b/.gitignore index 7f4857d09..370dbd6b1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ htmlcov/ /.env .envrc .vscode -.venv/ \ No newline at end of file +.venv/ +.eggs/* diff --git a/cuebot/src/main/java/com/imageworks/spcue/Source.java b/cuebot/src/main/java/com/imageworks/spcue/...
2
2
2
[{"id": "G0", "claim": "ManageJob.killFrames dropped the `if (attemptChange(env, property, jobManager, job, responseObserver))` guard that PR #1164 had added, so the kill is dispatched without that check and the response is completed outside it.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc...
null
AcademySoftwareFoundation__OpenCue__1459
AcademySoftwareFoundation/OpenCue
1,459
defect
5d49cfa430a113cf82fda7133b0a03de2ca28da7
527751bfe30819506e0f1173a7061749193fe45b
[cuegui] Output viewer feature
Add a right click menu option on Layers, Frames and Jobs to open outputs on a Viewer. The feature requires setting the viewer command pattern and a regex to extract arguments from outputs. The config file has an example of how to use it for itView. ```yaml output_viewer: # Text to be displayed at the menu ac...
diff --git a/cuegui/cuegui/Constants.py b/cuegui/cuegui/Constants.py index 575d20918..78f398dcb 100644 --- a/cuegui/cuegui/Constants.py +++ b/cuegui/cuegui/Constants.py @@ -183,6 +183,11 @@ def __packaged_version(): RESOURCE_LIMITS = __config.get('resources') +OUTPUT_VIEWER_ACTION_TEXT = __config.get('output_viewe...
1
1
0
[{"id": "G0", "claim": "Replace \"ItView\" with \"Viewer\" in the viewOutput action's tooltip so it reads \"Open Viewer for the selected items\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__1477
AcademySoftwareFoundation/OpenCue
1,477
defect
0c2ccf235bca09f43d1428858eae0a5b38569541
e15f739d83ecc7c88af959ab4dc6f6a95ba54323
[cuegui] Add Request Core Buttons to MenuActions
This new feature adds a new menu action that opens a new `dialog` to request more cores via email for a given job. The `dialog` is an Email composed where the message is pre-populated with relevant data about the job. Fields, like `to`, `cc` and `bcc`, need to be filled manually. The content of the message is editab...
diff --git a/cuegui/cuegui/Constants.py b/cuegui/cuegui/Constants.py index 13b511317..b4422e809 100644 --- a/cuegui/cuegui/Constants.py +++ b/cuegui/cuegui/Constants.py @@ -115,12 +115,6 @@ def __packaged_version(): if not os.path.isabs(CONFIG_PATH): CONFIG_PATH = os.path.abspath(os.path.join(os.path.dirname(__fi...
2
1
0
[{"id": "G0", "claim": "Rename the camelCase local variables in appendToDefaultBody (fontMetrics, textSize, textHeight, textWidth) to snake_case, per the reviewer's suggested snippet.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Replace the So...
null
AcademySoftwareFoundation__OpenCue__1513
AcademySoftwareFoundation/OpenCue
1,513
defect
388255c5a33c5774e470b5f28eea8f4d6d08d226
7537f6d209a995d2fb461ca39514d6e3ae04648b
[cuegui] Add support for multiple viewers
**Summarize your change.** This adds support for multiple output viewers. The `cuegui.yaml` option `output_viewer_direct_cmd_call` is still kept as a single viewer command. It also changes the way that single frames are resolved. Instead of a hardcoded padding of 4, it will use the FileSequence and FrameSet classe...
diff --git a/cuegui/cuegui/Constants.py b/cuegui/cuegui/Constants.py index fef8da08f..80e7ae15e 100644 --- a/cuegui/cuegui/Constants.py +++ b/cuegui/cuegui/Constants.py @@ -183,11 +183,12 @@ def __packaged_version(): RESOURCE_LIMITS = __config.get('resources') -OUTPUT_VIEWER_ACTION_TEXT = __config.get('output_view...
1
1
0
[{"id": "G0", "claim": "job.getLayer() should query the server directly for the specific layer it needs, using the same logic as api.py's findLayer, instead of loading all the layers into memory to search for a single one.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__1559
AcademySoftwareFoundation/OpenCue
1,559
defect
f7244ddd0da060b04617d5cc6cab5fa3f9a0d07b
3170490a5857222ff64cd7660a5b403432e2e53d
[cuegui] Fix multiple jobs and frames visualization
**Link the Issue(s) this Pull Request is related to.** [cuegui] Cannot select and play multiple jobs and frames using viewers in OpenCue: https://github.com/AcademySoftwareFoundation/OpenCue/issues/1558 **Summarize your change.** This fixes the changes in PR: https://github.com/AcademySoftwareFoundation/OpenCue/pu...
diff --git a/cuegui/cuegui/FrameMonitorTree.py b/cuegui/cuegui/FrameMonitorTree.py index 9e29aa0b2..8131b6c2f 100644 --- a/cuegui/cuegui/FrameMonitorTree.py +++ b/cuegui/cuegui/FrameMonitorTree.py @@ -916,15 +916,22 @@ def __init__(self, widget, filterSelectedLayersCallback, readonly=False): if cuegui.Constant...
1
1
0
[{"id": "G0", "claim": "Add an empty comment line after the cmd_pattern line in the commented-out output_viewers block of cuegui.yaml to separate the different args.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__1577
AcademySoftwareFoundation/OpenCue
1,577
defect
eb494e700591247a473f05564b6f81f1047e2f87
1363010fe2c663249159511c55819a9a4b70f3f7
[rqd] [cuegui] Add support for Loki for frame logs
**Link the Issue(s) this Pull Request is related to.** #1571 **Summarize your change.** This adds the ability to use loki as the backend for frame logs in rqd. It also adds a new plugin/widget in cuegui to read the logs from the loki server. This enables logs files to not be bound by a single namespace and als...
diff --git a/VERSION.in b/VERSION.in index a58941b07..840ca8cbf 100644 --- a/VERSION.in +++ b/VERSION.in @@ -1 +1 @@ -1.3 \ No newline at end of file +1.4 \ No newline at end of file diff --git a/ci/run_python_lint.sh b/ci/run_python_lint.sh index 488b9c946..57d4f55b3 100755 --- a/ci/run_python_lint.sh +++ b/ci/run_pyt...
6
5
1
[{"id": "G0", "claim": "Add a comment on the new lokiEnabled/lokiURL fields in DispatchFrame.java explaining what they are and where they are set.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment on the new logLokiEnabled/logLokiURL fi...
null
AcademySoftwareFoundation__OpenCue__1614
AcademySoftwareFoundation/OpenCue
1,614
defect
189f17dc5d0af94b5511c845b1bb74c2f2906b3e
20057e005d2ffcd0ab3411f7d5b2f7c70ae72632
[rqd] Add frame recovery logic for docker mode
Whenever RQD restarts it loses track of all the frames launched by it that haven't finished. This change adds a new configurable option to backup frame states to a file, that is used to recover the frame cache state and try to re-bind to the running frames. This first version only works on docker mode
diff --git a/VERSION.in b/VERSION.in index c068b2447..c239c60cb 100644 --- a/VERSION.in +++ b/VERSION.in @@ -1 +1 @@ -1.4 +1.5 diff --git a/proto/rqd.proto b/proto/rqd.proto index 327233bb0..e02d1c636 100644 --- a/proto/rqd.proto +++ b/proto/rqd.proto @@ -117,6 +117,7 @@ message RunFrame { string os = 25; int...
3
2
0
[{"id": "G0", "claim": "The author should double-check the chained assignment `frameInfo.pid = runFrame.pid = frameInfo.forkedCommand.pid` and the other similar double assignments in the code.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix t...
null
AcademySoftwareFoundation__OpenCue__1649
AcademySoftwareFoundation/OpenCue
1,649
defect
19b0883bd13f95879abdfbbc790e3aff51f287ce
f6fe0a491b228516dd8d56b942286c87d7cda5c8
[rqd] Refactor runOnDocker and add gpu_mode
Docker features were spread between `rqconstants.py` and `rqcore.py` making it difficult to assess the impact of changes on the logic. Both configuring and using the Docker API have been moved to `rqdocker.py`. - Add config attribute DOCKER_GPU_MODE to allow passing "gpu=all" when calling docker run. - Add optional...
diff --git a/ci/run_python_tests.sh b/ci/run_python_tests.sh index 1259adf4c..1ca66c52c 100755 --- a/ci/run_python_tests.sh +++ b/ci/run_python_tests.sh @@ -13,6 +13,9 @@ echo "Will run tests using ${python_version}" pip install --user -r requirements.txt -r requirements_gui.txt +# Some rqd unit tests require dock...
8
8
0
[{"id": "G0", "claim": "Fix the rqconstants.py comment so it reads 'from both the config file and an environment variable, the latter takes precedence' instead of 'the later takes precedency'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Reword ...
null
AcademySoftwareFoundation__OpenCue__2022
AcademySoftwareFoundation/OpenCue
2,022
defect
44b49b30d74499d63092ecf79169e96a3616d2d5
e71058e64edcee0a5174a43e76bed3813fefcb0d
[cueman] Improve input validation and refactor duration/memory filters
**Link the Issue(s) this Pull Request is related to.** - https://github.com/AcademySoftwareFoundation/OpenCue/issues/1998 **Summarize your change.** Enhance and refactor input validation logic for duration and memory filters in `_get_proc_filters`, addressing bug reports and code review feedback. Changes: - ...
diff --git a/cueman/README.md b/cueman/README.md index 53020b614..e16f53749 100644 --- a/cueman/README.md +++ b/cueman/README.md @@ -246,7 +246,7 @@ cueman -lf job_name -layer render_layer comp_layer ### Memory Filter ```bash -# Frames using 2-4 GB +# Frames using 2-4 GB (both values must be positive, min < max) c...
4
4
1
[{"id": "G0", "claim": "In the memory filter parsing, the extra `\"--\" in memory_str` check is redundant because `memory_str.count(\"-\") > 1` already matches it, so the separate or condition should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
AcademySoftwareFoundation__OpenCue__2024
AcademySoftwareFoundation/OpenCue
2,024
defect
44b49b30d74499d63092ecf79169e96a3616d2d5
715af831519b72ee4977fe50033ae48fbc728bb9
[cuebot/pycue/cueadmin/docs] Add show archive automation feature
**Link the Issue(s) this Pull Request is related to.** - #1362 **Summarize your change.** Implement archive functionality to automate archiving inactive shows by creating aliases to target shows. This enables jobs submitted to archived shows to run on target show allocations. Changes: - Add Archive RPC method ...
diff --git a/VERSION.in b/VERSION.in index 096015870..809bdcb85 100644 --- a/VERSION.in +++ b/VERSION.in @@ -1 +1 @@ -1.11 +1.12 diff --git a/cueadmin/cueadmin/common.py b/cueadmin/cueadmin/common.py index 1c2b6a78b..eb1234ca5 100644 --- a/cueadmin/cueadmin/common.py +++ b/cueadmin/cueadmin/common.py @@ -288,6 +288,16 ...
1
1
0
[{"id": "G0", "claim": "Changing show.proto requires a version bump in VERSION.in, so the minor version should be increased.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__2215
AcademySoftwareFoundation/OpenCue
2,215
defect
6078c547135af412dd3a815d51803ce5b93e3f41
4fa51aa48eb28ebcd333aabce0a85d774cfcc84c
[pyoutline/rqd] Add pycuerun entry point, fix CLI bugs, and improve sandbox support
**Link the Issue(s) this Pull Request is related to.** - https://github.com/AcademySoftwareFoundation/OpenCue/issues/2214 **Summarize your change.** - Add `pycuerun` as a proper pip-installable entry point via `pyproject.toml` - Fix missing `--priority` option in CuerunOptionParser - Fix empty `--repos` argume...
diff --git a/ci/run_integration_test.sh b/ci/run_integration_test.sh index 19681f525..a04025539 100755 --- a/ci/run_integration_test.sh +++ b/ci/run_integration_test.sh @@ -182,6 +182,27 @@ test_cueadmin() { } run_job() { + SESSION_DIR="$(mktemp -d)" + export OUTLINE_CONFIG_FILE="$(mktemp)" + cat > "$OUTLI...
19
13
6
[{"id": "G0", "claim": "docker-compose.yml should not build rqd (and, per the follow-up remark, the other services) from source for testing; building should be optional and default to the published images.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T...
null
AcademySoftwareFoundation__OpenCue__2248
AcademySoftwareFoundation/OpenCue
2,248
defect
487a92bb03112822f32f959ef761ea7353efe90b
c79ce0fb66e6a0fb60969fbca566c46f89ea3d9d
[pycue/cuegui] Add external facility feature
## Summarize your change. The `cuebot.external_facility` setting allows you to restrict which facilities are visible to CueGUI and PyCue clients. When the active facility (determined by the `CUEBOT_FACILITY` environment variable or the `cuebot.facility_default` setting) is listed in `cuebot.external_facility`, only ...
diff --git a/docs/_docs/concepts/glossary.md b/docs/_docs/concepts/glossary.md index 17754e1a3..07e48c3b6 100644 --- a/docs/_docs/concepts/glossary.md +++ b/docs/_docs/concepts/glossary.md @@ -90,6 +90,11 @@ done based on physical locations to help guide jobs to hosts in that location. Both *jobs* and *allocations* be...
4
2
2
[{"id": "G0", "claim": "If the active facility is listed in cuebot.external_facility but missing from cuebot.facility, load_config_from_file raises KeyError and startup fails with an unhelpful traceback; add a guard that raises a clear ValueError before the filtering line.", "category": "correctness", "verdict": "suppo...
null
AcademySoftwareFoundation__OpenCue__2313
AcademySoftwareFoundation/OpenCue
2,313
defect
0ca6a107d3d99e78bfe5ad1c44e62f567f572fe4
8ee4437dcbcf68095c1eb20017c42705f90ca645
[cuegui] CueCommander > Monitor Hosts: Fix Temp bar overflow on stale hosts, split "Temp Free" column in two ("Temp Free" and "Temp Free %", and increase default widths for some columns
## Related Issues - https://github.com/AcademySoftwareFoundation/OpenCue/issues/2314 ## Summarize your change. Bug: Down host or misreporting hosts can publish free > total (seen on DOWN hosts where /mcp metrics were never refreshed), which makes used negative and the free-fill rect extend past the cell - bleeding...
diff --git a/cuegui/cuegui/HostMonitorTree.py b/cuegui/cuegui/HostMonitorTree.py index 0633514e8..37893db28 100644 --- a/cuegui/cuegui/HostMonitorTree.py +++ b/cuegui/cuegui/HostMonitorTree.py @@ -56,16 +56,18 @@ def _tempFreeRatio(host): return host.data.free_mcp / float(total) -def _formatTempCell(host): - ...
2
1
0
[{"id": "G0", "claim": "The clamp comment is too detailed for the code; keep only its first line.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The painter's clip region leaks into the selection overlay drawing; save/restore the painter state a...
null
AcademySoftwareFoundation__OpenCue__2325
AcademySoftwareFoundation/OpenCue
2,325
defect
be935507b6e84532948a7473efed4156356c1935
0bfb1a33d7f68408621677482239d8281af170ea
[cuebot/proto/pycue/cuegui/docs] Add eligibleTime() to Job, Layer, and Frame
## Related Issues - https://github.com/AcademySoftwareFoundation/OpenCue/issues/2319 ## Summarize your change. Exposes when an object became eligible to run (left DEPEND for WAITING, or the job's submission time when never blocked) so callers can measure how long a frame waited to be picked up by a render proc: ...
diff --git a/VERSION.in b/VERSION.in index 5fb5a6b4f..d2ab029d3 100644 --- a/VERSION.in +++ b/VERSION.in @@ -1 +1 @@ -1.20 +1.21 diff --git a/cuebot/src/main/java/com/imageworks/spcue/dao/postgres/NestedWhiteboardDaoJdbc.java b/cuebot/src/main/java/com/imageworks/spcue/dao/postgres/NestedWhiteboardDaoJdbc.java index ab...
8
5
2
[{"id": "G0", "claim": "The guide's layer \"Available\" row says the value defaults to the job's submission time, but the PR stores layer availability from layer.ts_wait (defaulting to layer creation time), so the wording should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P1", "sco...
null
AcademySoftwareFoundation__OpenCue__2337
AcademySoftwareFoundation/OpenCue
2,337
defect
6605da16290ce1c15ca6b37218811e6ff9379263
5fce3734ef3e4421cc7cdd7ec410e29da91edf11
[cuebot/proto/pycue/cuegui/docs] Add submissionTime() to Frame
## Related Issues - https://github.com/AcademySoftwareFoundation/OpenCue/issues/2326 ## Summarize your change. Adds `submissionTime()` to `Frame`, exposing the parent job's submission timestamp directly on the frame object. This avoids requiring callers to fetch the parent job or overload `eligibleTime()` to inf...
diff --git a/cuebot/src/main/java/com/imageworks/spcue/dao/postgres/WhiteboardDaoJdbc.java b/cuebot/src/main/java/com/imageworks/spcue/dao/postgres/WhiteboardDaoJdbc.java index 06239fbf4..4334090ab 100644 --- a/cuebot/src/main/java/com/imageworks/spcue/dao/postgres/WhiteboardDaoJdbc.java +++ b/cuebot/src/main/java/com/...
2
2
1
[{"id": "G0", "claim": "Adding the Submission Time column shifts the Last Line visual index while LASTLINE_COLUMN stays 15, so running-row redraws can miss the Last Line column; the constant should be bumped to 16.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2...
null
AcademySoftwareFoundation__OpenCue__2338
AcademySoftwareFoundation/OpenCue
2,338
defect
6605da16290ce1c15ca6b37218811e6ff9379263
fde0e9b296dc5171a4b22d2c804eada73e3b8432
[cuebot/proto/pycue/cuegui/docs] Add startTime() and stopTime() to Layer
## Related Issues - https://github.com/AcademySoftwareFoundation/OpenCue/issues/2339 ## Summarize your change. [cuebot/proto/pycue/cuegui/docs] Add Layer startTime() and stopTime() Layer previously had no start/stop time accessors. Callers that needed the execution window for a layer had to fetch every frame ...
diff --git a/VERSION.in b/VERSION.in index d2ab029d3..71f7f51df 100644 --- a/VERSION.in +++ b/VERSION.in @@ -1 +1 @@ -1.21 +1.22 diff --git a/cuebot/src/main/java/com/imageworks/spcue/dao/postgres/WhiteboardDaoJdbc.java b/cuebot/src/main/java/com/imageworks/spcue/dao/postgres/WhiteboardDaoJdbc.java index 06239fbf4..0eb...
2
1
1
[{"id": "G0", "claim": "The newly added public timestamp proto fields (submission_time, start_time, stop_time) are int32 and would overflow on January 19, 2038; they should be introduced as int64 epoch seconds or google.protobuf.Timestamp instead, since widening later would be a breaking change.", "category": "design",...
null
AcademySoftwareFoundation__OpenCue__2340
AcademySoftwareFoundation/OpenCue
2,340
defect
6605da16290ce1c15ca6b37218811e6ff9379263
a13476d9dc83c2bef37c2ed6bec7f510ff24c38c
[cuegui/pycue] Add "Take Ownership" action for hosts already owned by another user
## Related Issues - #2324 ## Summarize your change. This PR adds a **Take Ownership** action to the CueGUI Hosts context menu so users can reclaim NIMBY-locked hosts that are currently deeded to someone else, without requiring manual pycue scripting or admin intervention. ## Main changes: 1. New Hosts actio...
diff --git a/cuegui/cuegui/HostMonitorTree.py b/cuegui/cuegui/HostMonitorTree.py index f7ab3259e..469fe03a1 100644 --- a/cuegui/cuegui/HostMonitorTree.py +++ b/cuegui/cuegui/HostMonitorTree.py @@ -321,6 +321,8 @@ def contextMenuEvent(self, e): self.__menuActions.hosts().addAction(menu, "viewProc") sel...
5
4
3
[{"id": "G0", "claim": "The non-NIMBY test should assert that the external ownership APIs (owner resolution and transfer) are never invoked for OPEN hosts, since the stubbed host.takeOwnership assertion does not guard what the action actually calls.", "category": "testing", "verdict": "supported", "priority": "P2", "sc...
null
AcademySoftwareFoundation__OpenCue__259
AcademySoftwareFoundation/OpenCue
259
defect
1f1df3e10dee93876241c8ecaced57add63e26b6
fdb000819337cc8a31999c979b9664d9ef06f3e7
Improve PyOutline unit test coverage.
This brings coverage up to 76 percent, and ensures that all source files have at least some coverage.
diff --git a/pycue/FileSequence/FrameRange.py b/pycue/FileSequence/FrameRange.py index 602f9ee63..ca0718e80 100644 --- a/pycue/FileSequence/FrameRange.py +++ b/pycue/FileSequence/FrameRange.py @@ -76,6 +76,9 @@ def __str__(self): def __getitem__(self, key): return self.frameList[key] + def __len__(se...
2
2
1
[{"id": "G0", "claim": "The tests/backend/__init__.py should import local_test as well as cue_test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "pyoutline/tests/backend/local_test.py should have an `if __name__ == '__main__': unittest.main()` block.",...
null
AcademySoftwareFoundation__OpenCue__319
AcademySoftwareFoundation/OpenCue
319
defect
43d9cf498a813f0f001a7b2915790c2f2a4ce886
8f161f31fc955d84b27f6aab178718c4dada0ff2
Adding wrapper unittests for subscription, task, and util
Fixing bugs and adding wrapper unittests for * subscription * task * wrapper/util
diff --git a/pycue/opencue/wrappers/subscription.py b/pycue/opencue/wrappers/subscription.py index 38314d37a..59bfac4a1 100644 --- a/pycue/opencue/wrappers/subscription.py +++ b/pycue/opencue/wrappers/subscription.py @@ -13,7 +13,6 @@ # limitations under the License. - """ Project: opencue Library @@ -37,6 +3...
1
1
0
[{"id": "G0", "claim": "Break the get() call on the first paren, placing the SubscriptionGetRequest argument on its own indented line, for readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__441
AcademySoftwareFoundation/OpenCue
441
defect
95e39f35386dcd211f08da50b680d0fadf3e079a
8464b4dec6b2c3b458d19cbf3604707e6081f8c1
Add FrameAttendantThread unit tests.
**Link the Issue(s) this Pull Request is related to.** #396 **Summarize your change.** Basic tests for Linux/Windows/Mac. The tests are kind of a mess -- tons of mocks and a good amount of repeated code between the different tests -- but this kind of reflects the code they're testing. That main `run` method an...
diff --git a/rqd/rqd/rqcore.py b/rqd/rqd/rqcore.py index 6f3c8f5c6..dc46a5593 100644 --- a/rqd/rqd/rqcore.py +++ b/rqd/rqd/rqcore.py @@ -53,7 +53,7 @@ def __init__(self, rqCore, runFrame, frameInfo): @param rqCore: Main RQD Object @type runFrame: RunFrame @param runFrame: rqd_pb...
1
1
1
[{"id": "G0", "claim": "The new Linux frame test hardcodes `-c` as the `su` argument where, per the linked Azure CI build, `--session-command` may be required instead, so the test can fail on the CI nodes.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__514
AcademySoftwareFoundation/OpenCue
514
defect
277a0e872aad75c05e687cd4f9e12f8ca0873ac2
6b6482df0f8395046a436e8f03ba10e05bb67712
fix retry all dead frames on a layer
**Link the Issue(s) this Pull Request is related to.** Closes https://github.com/AcademySoftwareFoundation/OpenCue/issues/513 **Summarize your change.** Create a function to return the parent job.
diff --git a/cuegui/cuegui/MenuActions.py b/cuegui/cuegui/MenuActions.py index a8b43dceab..171a17dadd 100644 --- a/cuegui/cuegui/MenuActions.py +++ b/cuegui/cuegui/MenuActions.py @@ -637,7 +637,7 @@ def retryDead(self, rpcObjects=None): if cuegui.Utils.questionBoxYesNo(self._caller, "Confirm", ...
2
2
1
[{"id": "G0", "claim": "The continuation line starting with `state=` should be indented further right so it aligns with the `layer=` argument above it.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The tests are failing on this pull request."...
null
AcademySoftwareFoundation__OpenCue__536
AcademySoftwareFoundation/OpenCue
536
defect
911556e0525cc43998d6956d69c1e1b7c7fc2391
6fb307674cc7a70d12752adc9735ee34e37a2650
Add a connection exception and retries to the pycue grpc decorator
Fixes #534 Adds a new `ConnectionException` type and allows for retryable exceptions. `ConnectionException` errors will retry 3 times with a 0.5 second backoff by default.
diff --git a/pycue/opencue/cuebot.py b/pycue/opencue/cuebot.py index 4d8ef8b31..df8e6ce2a 100644 --- a/pycue/opencue/cuebot.py +++ b/pycue/opencue/cuebot.py @@ -54,6 +54,7 @@ from opencue.compiled_proto import subscription_pb2_grpc from opencue.compiled_proto import task_pb2 from opencue.compiled_proto import task_p...
1
1
1
[{"id": "G0", "claim": "The decorator should use `getRetryCount() + 1` instead of `getRetryCount()`, so that setting `exception_retries` to zero still makes the call once rather than never.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__573
AcademySoftwareFoundation/OpenCue
573
defect
01512832f8a733a1557f9707628ff6edb4a92577
60796ef1dd8de455e74669ab53e7248f20562fd6
Add Python 3 support to RQD.
**Link the Issue(s) this Pull Request is related to.** #557 **Summarize your change.** <!-- For a step-by-step list to walk you through the pull request process, see https://www.opencue.io/contributing/. -->
diff --git a/rqd/Dockerfile b/rqd/Dockerfile index 94e31e388..869605098 100644 --- a/rqd/Dockerfile +++ b/rqd/Dockerfile @@ -6,7 +6,11 @@ RUN yum -y install \ python-devel \ time -RUN yum -y install python-pip +RUN yum -y install \ + python-pip \ + python36 \ + python36-devel \ + python36-pip WORKDIR /op...
1
1
0
[{"id": "G0", "claim": "Asks whether the TODO left in the disabled Windows test — verifying that the log directory was created and used for stdout/stderr, which the PR substituted for the old assertions — should be addressed in this PR or later as part of Windows support.", "category": "testing", "verdict": "supported"...
null
AcademySoftwareFoundation__OpenCue__584
AcademySoftwareFoundation/OpenCue
584
defect
f7debdfdf14f4b029a6c9c645332a733800b0420
62ae46774770e3da3fe67b8db8a0049889cab447
Add retries to rqd grpc startup.
Fixes #583 Add configurable retries to RQD's startup. This allows rqd to continually attempt to make a grpc connection when using the sandbox environment.
diff --git a/rqd/rqd/rqconstants.py b/rqd/rqd/rqconstants.py index 7a873460c..436becc39 100644 --- a/rqd/rqd/rqconstants.py +++ b/rqd/rqd/rqconstants.py @@ -52,6 +52,8 @@ RQD_GRPC_MAX_WORKERS = 10 RQD_GRPC_PORT = 8444 RQD_GRPC_SLEEP = 60 * 60 * 24 +RQD_GRPC_CONNECTION_ATTEMPT_SLEEP = 15 +RQD_GRPC_RETRY_CONNECTION = ...
1
1
0
[{"id": "G0", "claim": "Rename RQD_GRPC_CONNECTION_ATTEMPT_SLEEP to include a time unit (RQD_GRPC_CONNECTION_ATTEMPT_SLEEP_SEC), and also the RQD_GRPC_SLEEP variable above it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__861
AcademySoftwareFoundation/OpenCue
861
defect
5b9defd5f5fa87b49270bf7b5851f84066952ed6
821d38a3f4961085469e98ba5571f15565d4ef88
Logview threadpool
**Link the Issue(s) this Pull Request is related to.** Users using the LogView were experiencing slowness on all opened widget when big log files were being streamed. **Summarize your change.** Add `QtCore.QThreadPool` logic for handling incoming log update requests.
diff --git a/cuegui/cuegui/Main.py b/cuegui/cuegui/Main.py index 24f08864b..567467216 100644 --- a/cuegui/cuegui/Main.py +++ b/cuegui/cuegui/Main.py @@ -78,6 +78,9 @@ def startup(app_name, app_version, argv): mainWindow.displayStartupNotice() mainWindow.show() + # Custom qt message handler to ignore know...
2
1
1
[{"id": "G0", "claim": "Some of the PySide2 references in the tests need to be updated to the new qtpy style.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "If _load_log makes no use of self, it could be a static method; otherwise a comment should e...
null
AcademySoftwareFoundation__OpenCue__916
AcademySoftwareFoundation/OpenCue
916
defect
9e49bc8149d1fb9c81bc5ae127bf15341fd88fca
67855c2f100f88339b077a6ea71890b3626943bc
Fix RQD_TAGS
- `RQD_TAGS` didn't work due to the method (`getint` vs `get`) in the first place :sweat_smile: - Added unit tests with mocking rqd.conf
diff --git a/rqd/rqd/rqconstants.py b/rqd/rqd/rqconstants.py index 0a1508e455..f2eeebcfb8 100644 --- a/rqd/rqd/rqconstants.py +++ b/rqd/rqd/rqconstants.py @@ -193,7 +193,7 @@ if config.has_option(__section, "RQD_BECOME_JOB_USER"): RQD_BECOME_JOB_USER = config.getboolean(__section, "RQD_BECOME_JOB_...
1
1
1
[{"id": "G0", "claim": "The new rqconstants unit tests fail on CY2019 (Python 2.7) CI for an unexplained reason and are skipped there; the failure should be investigated so the tests do not have to be disabled.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenCue__919
AcademySoftwareFoundation/OpenCue
919
defect
2ff7e237ff42d025157a71846ab0f5d76843547f
0a2ac30104a51522d8bf4077c1bdfd5106edcec2
[PyOutline] Add spec_version
Fix #918 It allows deploying clients (PyOutline) before updating Cuebot, with specifying spec_version in outline.cfg.
diff --git a/pyoutline/etc/outline.cfg b/pyoutline/etc/outline.cfg index b80006f0de..6d0f129a45 100644 --- a/pyoutline/etc/outline.cfg +++ b/pyoutline/etc/outline.cfg @@ -5,6 +5,7 @@ wrapper_dir = %(home)s/wrappers user_dir = bin_dir = %(home)s/bin backend = cue +spec_version = 1.11 facility = local domain = examp...
2
2
0
[{"id": "G0", "claim": "The `from packaging.version import Version` import should be moved above the `import six` line so third-party imports are grouped together alphabetically.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test file's...
null
AcademySoftwareFoundation__OpenImageIO__3994
AcademySoftwareFoundation/OpenImageIO
3,994
defect
d8f2aea7862a62a43d3f86619e0b86a4499bfa60
3948280c6a8d66e91953b142f1fbfef2807cdf78
testing: Set up placeholders for docs-examples-are-tests
I had previously prototyped an instance of this for the ImageOutput chapter. This patch makes empty placeholders for all of the other API chapters. They don't contain any actual tests or generate any output now, but they do build and run, so people can drop new examples into them without having to worry about how to...
diff --git a/testsuite/docs-examples-cpp/CMakeLists.txt b/testsuite/docs-examples-cpp/CMakeLists.txt index fab12b8e00..e468667498 100644 --- a/testsuite/docs-examples-cpp/CMakeLists.txt +++ b/testsuite/docs-examples-cpp/CMakeLists.txt @@ -27,19 +27,12 @@ if (DEFINED ENV{SANITIZE}) add_link_options (-fsanitize=$ENV...
1
1
0
[{"id": "G0", "claim": "The marker comments in testsuite/docs-examples-python/src/docs-examples-imagebuf.py are misnamed copy-pasta and should read BEGIN-imagebuf-example1 / END-imagebuf-example1 instead of the ImageInput names.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
AcademySoftwareFoundation__OpenImageIO__4016
AcademySoftwareFoundation/OpenImageIO
4,016
defect
94fc8f87c3adcc0e34f3280b4ccec578306796cf
772511903e374007efb8ca511f7f82a1be11cbd2
docs: Convert examples within the imagebufalgo chapter.
## Description Convert C++ and Python examples from the "imagebufalgo" chapter into tests within the "docs-examples" testsuites (#3992). ## Checklist: <!-- Put an 'x' in the boxes as you complete the checklist items --> - [x] I have read the [contribution guidelines](https://github.com/AcademySoftwareFoundati...
diff --git a/src/doc/imagebufalgo.rst b/src/doc/imagebufalgo.rst index ea2dd3f61f..e53a10da15 100644 --- a/src/doc/imagebufalgo.rst +++ b/src/doc/imagebufalgo.rst @@ -38,23 +38,19 @@ Most ImageBufAlgo functions that produce image data come in two forms: error, the result image returned can have any error conditions...
2
2
2
[{"id": "G0", "claim": "The trailing backtick added to the '.. code-tab:: c++' directive in src/doc/imagebufalgo.rst looks like a typo rather than needed RST syntax.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "Replacing the relative ../common p...
null
AcademySoftwareFoundation__OpenImageIO__4019
AcademySoftwareFoundation/OpenImageIO
4,019
defect
5731449d761b56c4772788a5155d84da880f8fe8
5c58a13258cfc9832aa5879706c41d9838d0ca05
Added tests for Simple Image input and updated rst
<!-- This is just a guideline and set of reminders about what constitutes --> <!-- a good PR. Feel free to delete all this matter and replace it with --> <!-- your own detailed message about the PR, assuming you hit all the --> <!-- important points made below. --> ...
diff --git a/src/doc/imageinput.rst b/src/doc/imageinput.rst index b03c057941..118caba08c 100644 --- a/src/doc/imageinput.rst +++ b/src/doc/imageinput.rst @@ -20,35 +20,16 @@ memory, even if that's not the way they're stored in the file): .. tabs:: - .. code-tab:: c++ - - #include <OpenImageIO/imageio.h>...
1
1
1
[{"id": "G0", "claim": "The SHA-1 reference values for text1.exr and text2.exr in testsuite/docs-examples-cpp/ref/out.txt should not have changed, since the pull request does not modify the code that produces them, and these unnecessary checksum changes are causing all the CI failures.", "category": "correctness", "ver...
null
AcademySoftwareFoundation__OpenImageIO__4027
AcademySoftwareFoundation/OpenImageIO
4,027
defect
413b49a412498cc74cf0f468103209319cdaf32f
e520ce1dcfc5c9dfd0ef7a736f1e5799f009d193
make_texture doc2test
## Description Takes the make_texture section of the imagebufalgo doc and turns it into a unit test in both python and c++. ## Tests This adds a make_texture section to the `docs-examples-cpp` test and the `docs-examples-python` test. ## Checklist: <!-- Put an 'x' in the boxes as you complete the checkli...
diff --git a/src/doc/imagebufalgo.rst b/src/doc/imagebufalgo.rst index 8f6c3068fc..55b3d55fa6 100644 --- a/src/doc/imagebufalgo.rst +++ b/src/doc/imagebufalgo.rst @@ -2926,32 +2926,20 @@ Import / export Examples: .. tabs:: - - .. code-tab:: c++ - - ImageBuf Input ("in.exr"); - ImageS...
4
4
1
[{"id": "G0", "claim": "Drop the redundant copy of grid-small.exr to texture_input.exr in the cpp and python test runs and just use the already-copied grid.exr as the make_texture input.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The make_textur...
null
AcademySoftwareFoundation__OpenImageIO__4148
AcademySoftwareFoundation/OpenImageIO
4,148
defect
372bb8eca379013cc43e2f39b395dcbf4f90e5b7
c2f1c06151c9eee0ccd974dfe0afdef18a8ff22c
refactor: Use spans to solve a number of memory safety issues
* exif.cpp: use spans to avoid several possible buffer overruns * paramlist_test.cpp: use spans to be sure we're ok on memory bounds * jpeg: use spans in jpeg icc profile manipulation for memory safety * psd output: switch cmyk conversion to use spans for memory safety I've been cobbling these together bit by bit...
diff --git a/src/include/OpenImageIO/span_util.h b/src/include/OpenImageIO/span_util.h index 4c2141beed..89063e7f90 100644 --- a/src/include/OpenImageIO/span_util.h +++ b/src/include/OpenImageIO/span_util.h @@ -69,6 +69,13 @@ make_span(T (&arg)[N]) // span from C array of known length return { arg }; } +templa...
2
1
0
[{"id": "G0", "claim": "Clarify why dspan is declared as an 8-bit cspan<uint8_t> even though it is created from a 16-bit type and dswab consumes it as if it were 16-bit.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new code copies dspan in...
null
AcademySoftwareFoundation__OpenImageIO__4187
AcademySoftwareFoundation/OpenImageIO
4,187
defect
12be3e864b6b9accb18dab6ba90e11453c459c9d
a348f15ff6b75da825109e73f96a803b2bce2622
refactor(simd.h): use default for ctrs and assignment where applicable
simd.h improvements and refactorization for consistency: * Use `= default` for all the uninitialized constructors, copy constructors, and assignment from the same type. * Fix the `operator=` to be more standard by returning a `vec&` instead of `const vec&`, which apparently is unusual. * Test that these all result...
diff --git a/src/include/OpenImageIO/simd.h b/src/include/OpenImageIO/simd.h index 46c8b392b8..6b3602627f 100644 --- a/src/include/OpenImageIO/simd.h +++ b/src/include/OpenImageIO/simd.h @@ -531,7 +531,7 @@ class vbool4 { static constexpr size_t size() noexcept { return elements; } /// Default constructor (...
1
1
0
[{"id": "G0", "claim": "The commented-out vfloat3 copy-constructor block left in simd.h should be deleted rather than kept.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenImageIO__4199
AcademySoftwareFoundation/OpenImageIO
4,199
defect
d743c6152d29ca60892921c694f36e34d778a7ce
d2c3a12ba736e78babb4c97541cfb10956b34f0c
build!: Move to C++17 minimum
These are build-breaking changes that impose a variety of new minimum dependencies for the toolchain. C++17 is the new minimum. All hail C++17. Bump minimum compiler versions to the respective releases of each one that is requred to fully support C++17 for us. This means new minimum changes of gcc 6.1 -> 9.3, cla...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61c43e39df..721cfc5068 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,29 +34,6 @@ jobs: fail-fast: false matrix: include: - - desc: gcc6/C++14 py2.7 boost1.66 exr2.4 ocio1.1 - n...
1
1
0
[{"id": "G0", "claim": "The `modelStr` variable in `Filesystem::unique_path` is not used (neither before nor after these changes) — is that a bug?", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
AcademySoftwareFoundation__OpenImageIO__4322
AcademySoftwareFoundation/OpenImageIO
4,322
defect
979e5f99f7c02efdf8da0ab92d64486153577394
3d30e3d4211b58a7831b7284fd077d3ad14edf5b
api: add pvt::heapsize() and pvt::footprint() methods and image cache memory tracking
## Description First PR of two, following @lgritz and I discussions on memory tracking in the OIIO::ImageCache. - Add two template methods and their specializations for types various to help memory tracking: ```c++ // return the total heap allocated memory held by the object and its members template<typename T> ...
diff --git a/src/include/OpenImageIO/imageio.h b/src/include/OpenImageIO/imageio.h index 0a02f751c0..f9779da3fb 100644 --- a/src/include/OpenImageIO/imageio.h +++ b/src/include/OpenImageIO/imageio.h @@ -817,6 +817,13 @@ class OIIO_API ImageSpec { { return { this, name }; } + + /// Return the total...
6
6
6
[{"id": "G0", "claim": "The string-vector helper fails to consider the short string optimization: strings small enough to be stored inline are counted both in the vector's capacity-based total and again via ref.capacity(), so they are double-counted.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
AcademySoftwareFoundation__OpenImageIO__4630
AcademySoftwareFoundation/OpenImageIO
4,630
defect
3a9cf59b3dcd36d4d690afff04e718beabbca6c2
5223dec44d09f8319bec251d779c8ebc3e0ed4bf
fix(ImageBuf): Fix bug in ImageBuf construction from ptr + neg strides
There was a bug in span_from_buffer when strides were negative (basically, we were subtracting, when adding was correct since those strides were negative values). Also added a negative stride test to imagebuf_test.cpp. Embarrassed that we didn't already have this, since it would have caught the problem.
diff --git a/src/libOpenImageIO/imagebuf.cpp b/src/libOpenImageIO/imagebuf.cpp index 1cae86b9c9..b015995e9c 100644 --- a/src/libOpenImageIO/imagebuf.cpp +++ b/src/libOpenImageIO/imagebuf.cpp @@ -99,20 +99,20 @@ span_from_buffer(void* data, TypeDesc format, int nchannels, int width, if (xstride >= 0) { buf...
1
1
1
[{"id": "G0", "claim": "Add a guard value (say {0.5, 0.5, 0.5}) to the negative-stride test so that it would catch writes overflowing outside the expected span.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenImageIO__4860
AcademySoftwareFoundation/OpenImageIO
4,860
defect
3c50c41a706cab23d2d69a6464b1dcecd3d70f41
bde6ca2346d269e21d21963609206b550edd2c0c
feat: color space renaming to adhere to CIF conventions
This doesn't really change any of the color management algorithms per se, or change how we use OCIO. That will come later. But this tries as best as we can to shift to CIF recommended interop names for color spaces. * "srgb_rec709_scene" as the canonical name for what we used to refer to as "sRGB". * "lin_rec709...
diff --git a/src/bmp.imageio/bmpinput.cpp b/src/bmp.imageio/bmpinput.cpp index 888a43e7ec..a39d0b2061 100644 --- a/src/bmp.imageio/bmpinput.cpp +++ b/src/bmp.imageio/bmpinput.cpp @@ -262,7 +262,7 @@ BmpInput::open(const std::string& name, ImageSpec& newspec, // Default presumption is that a BMP file is meant to lo...
8
8
2
[{"id": "G0", "claim": "The lin_ap0_scene entry should describe it as ACES2065-1, the recommended ACES space for interchange and archiving, instead of just \"ACES\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The srgb_rec709_scene entry should...
null
AcademySoftwareFoundation__OpenImageIO__5115
AcademySoftwareFoundation/OpenImageIO
5,115
defect
e399c8c04134b89e35daa4af0a540339526d6fb9
d9ab207ac075bc4822e31a09cef5283cacb41b6a
fix: fix possible fmt exceptions where we might have passed null string
I've heard occasional reports of uncaught exceptions in print statements. I haven't caught it in the act yet, but one set of reports involved the following output: OpenImageIO/detail/fmt/format-inl.h:40: assertion failed: string pointer is null So I'm proactively trying to find places that might be passing a ...
diff --git a/src/libutil/strutil_test.cpp b/src/libutil/strutil_test.cpp index f41538a530..98e3dfbd17 100644 --- a/src/libutil/strutil_test.cpp +++ b/src/libutil/strutil_test.cpp @@ -1328,6 +1328,14 @@ test_string_view() Strutil::print("addr cstr={:p}, s={:p}, ustring={:p}, sr={:p}, c_str(sr)={:p}\n", ...
2
1
0
[{"id": "G0", "claim": "The `ret` variable is not assigned from the `adjust_maximum()` call, so if that call fails the following `libraw_strerror(ret)` reports the stale return code left over from an earlier call instead of the actual failure.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop...
null
AcademySoftwareFoundation__OpenShadingLanguage__1309
AcademySoftwareFoundation/OpenShadingLanguage
1,309
defect
fc3d17acbafeccd63da61b6ec2efa6578000e578
344841c9546017a1fb139366a5ae1c09f5ccbea7
change how strings are handled n OptiX 7
## Description This patch changes how strings are handled in the OptiX 7 codepath. Strings are now handled as hashes which are computed at compile time. This means a few things: * strings are no longer copied to the GPU * we no longer have to create a special CUDA file that contains string pointers (which ...
diff --git a/site/spi/Makefile-bits b/site/spi/Makefile-bits index 1058e4ab25..aa4a2e2e4c 100644 --- a/site/spi/Makefile-bits +++ b/site/spi/Makefile-bits @@ -104,6 +104,7 @@ MY_CMAKE_FLAGS += -DOSL_NAMESPACE_INCLUDE_PATCH=1 REZ_PACKAGE_ROOT ?= /shots/spi/home/software/packages SPCOMP2_ROOT ?= /shots/spi/home/lib/SpC...
15
11
4
[{"id": "G0", "claim": "In the StringParam typedef the #if OPTIX_VERSION >= 70000 and #else branches are identical, so the conditional is pointless leftover code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In llvm_load_device_string the #if ...
null
AcademySoftwareFoundation__OpenShadingLanguage__1310
AcademySoftwareFoundation/OpenShadingLanguage
1,310
defect
fc3d17acbafeccd63da61b6ec2efa6578000e578
b64300ec4542aae22b2d556861cb9984bc8a5f41
Add ShadingSystem attribute "searchpath:library" (similar to searchpa…
(similar to searchpath:shader) it will be used to identify directories where target ISA optimized OSL shared libraries may exit. Make testshade set "searchpath:library" to ../lib64 and ../liboslexec relative to the path testshade is executed from ## Description <!-- Please provide a description of what this P...
diff --git a/src/liboslexec/oslexec_pvt.h b/src/liboslexec/oslexec_pvt.h index 267ecce59f..21e9845389 100644 --- a/src/liboslexec/oslexec_pvt.h +++ b/src/liboslexec/oslexec_pvt.h @@ -582,6 +582,9 @@ class ShadingSystemImpl ustring debug_groupname() const { return m_debug_groupname; } ustring debug_layername()...
5
4
2
[{"id": "G0", "claim": "Instead of adding the new helper get_executable_directory, testshade should use OIIO::Filesystem::parent_path(OIIO::Sysutil::this_program_path).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The attribute name 'searchpat...
null
AcademySoftwareFoundation__OpenShadingLanguage__1494
AcademySoftwareFoundation/OpenShadingLanguage
1,494
defect
d8000dfc2c9b31869fe8f4719ebd53fdc83d42d9
95c7922edec389b0d2140be528d9aed3ac1ac332
rs_free_function
## Description In order to move towards shader execution on devices, we need to replace host side interactions with new concepts that can exist on the device (or host). The current virtual function based RendererServices exemplifies this dependency on host side objects. To break the dependency we introduce free f...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e88ebc232..fc269cb59f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -161,6 +161,7 @@ include (pythonutils) include (externalpackages) include (flexbison) include (cuda_macros) +include (llvm_macros) # Include all our testing apparatus and utils, but not if...
3
2
1
[{"id": "G0", "claim": "The new EMBED_LLVM_BITCODE_IN_CPP macro largely duplicates MAKE_CUDA_BITCODE and should eventually be unified with it (or, as an interim step, at least moved into a common file next to it) and generalized to other targets like SPIR-V, but that can wait until non-host targets are compiled.", "cat...
null
AcademySoftwareFoundation__OpenShadingLanguage__1531
AcademySoftwareFoundation/OpenShadingLanguage
1,531
defect
8281721bded241926f3f070c8844764458d7aa47
43d62d0ed7cdbe2fdaf1baab8774c2eb5bc49ae6
GPU string overhaul
Big string cleanup, yet again, for GPU. We still had this tricky double indirection happening with strings for OptiX -- the string was a pointer to a "global", which in turn held the hash. No, throw all that out. Just directly store strings as the ustring hash on OptiX. No extra indirection. Many fewer differences...
diff --git a/src/include/OSL/llvm_util.h b/src/include/OSL/llvm_util.h index edb3a13394..85ef7ef81b 100644 --- a/src/include/OSL/llvm_util.h +++ b/src/include/OSL/llvm_util.h @@ -108,6 +108,12 @@ class OSLEXECPUBLIC LLVM_Util { void jit_aggressive(bool val) { m_jit_aggressive = val; } bool jit_aggressive() co...
3
3
1
[{"id": "G0", "claim": "RendererServices::register_string is vestigial after this overhaul and should be removed (unless there is a use for it beyond a fancy wrapper for ustring::hash).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After register_string...
null
AcademySoftwareFoundation__OpenShadingLanguage__1621
AcademySoftwareFoundation/OpenShadingLanguage
1,621
defect
bd7fd4cf8cd4b0b75c52715737b64b204bc585bf
4b7abc78ba2ba31ad68a5f40c780b603c0e3f482
Add new testshade closure to allow testing all parameter types
While working on #1620, it came up that it is currently difficult to test some closure parameter types. Folks seemed to agree that it would be a good idea to have a special closure supported by testshade which exercises all the parameter types defined in genclosure.h. This is a first pass at adding that test closur...
diff --git a/src/cmake/testing.cmake b/src/cmake/testing.cmake index 7928e51c54..183b8a6a9a 100644 --- a/src/cmake/testing.cmake +++ b/src/cmake/testing.cmake @@ -236,7 +236,7 @@ macro (osl_add_all_tests) bug-array-heapoffsets bug-locallifetime bug-outputinit bug-param-duplicate bug-pe...
4
3
1
[{"id": "G0", "claim": "Since the new test exposes the existing bug in the batched side, BATCHED should be left out until that issue (possibly PR #1620) is addressed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Many CI tests are failing with LL...
null
AcademySoftwareFoundation__OpenShadingLanguage__1662
AcademySoftwareFoundation/OpenShadingLanguage
1,662
defect
fff0c5985d32ae0ed871af8c1af0afb8d36dbd2d
b265c63c12c3eeb6eb9397682709a4e5749d602f
Switch lockgeom to interpolated and interactive
Establish two new metadata hints about shader parameters: - "interpolated" means that the parameter comes from the geometry somehow and may be bound with a different value at different points on the surfaces, or different values for different primitives that share the material. This corresponds to concepts known v...
diff --git a/src/include/OSL/oslexec.h b/src/include/OSL/oslexec.h index 6a9c885b5f..4a0eb0e717 100644 --- a/src/include/OSL/oslexec.h +++ b/src/include/OSL/oslexec.h @@ -111,6 +111,66 @@ struct SymLocationDesc { +/// Parameter property hint bitfield values +enum class ParamHints : uint32_t { + /// `none`: No ...
2
1
0
[{"id": "G0", "claim": "The doc comment word 'bitfield' should read 'bitflag' for the ParamHints enum.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ParamHints enum values (1 and 2) should be written in a bit-obvious notation such as hex or C...
null
AcademySoftwareFoundation__OpenShadingLanguage__1683
AcademySoftwareFoundation/OpenShadingLanguage
1,683
defect
abdc966a192f6ce19d2c752e49c44bfcc85f94aa
5d7fd28099062ecb911ee65f8bec34c5dfae261d
Introduce OptiX direct callable API that owns groupdata buffer
## Description On gpu, the renderer currently owns a shader's groupdata params buffer so that it can pass its pointer to both the init and entry functions. The downside of this approach is that in order to avoid dynamic memory allocation, the renderer must commit to a buffer size at build time. Using a conservati...
diff --git a/src/cmake/testing.cmake b/src/cmake/testing.cmake index 642a88e490..a4f68200fe 100644 --- a/src/cmake/testing.cmake +++ b/src/cmake/testing.cmake @@ -160,6 +160,11 @@ macro ( TESTSUITE ) # and optimized add_one_testsuite ("${_testname}.optix.opt" "${_testsrcdir}" ...
4
3
2
[{"id": "G0", "claim": "The three new static functions in oslexec_pvt.h cause \"unused function\" build errors in translation units that include the header without calling them.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Since callers know in ad...
null
AcademySoftwareFoundation__OpenShadingLanguage__1728
AcademySoftwareFoundation/OpenShadingLanguage
1,728
defect
a569d4f0bec54077d595eecdf6c5f054bf5c7148
38831bf2230e20cd7c695bd8755b3794c2a9c31e
LLVM opaque pointers support
## Description New LLVM versions require opaque pointers, that is you can no longer tell from a pointer value which data type it points to. * Remove deprecated `GEP` and `op_load` methods without type, and refactor code to always pass the type. * Add element type argument to `op_scatter` and `op_gather`. * Elim...
diff --git a/src/cmake/externalpackages.cmake b/src/cmake/externalpackages.cmake index 5d92614081..228923372b 100644 --- a/src/cmake/externalpackages.cmake +++ b/src/cmake/externalpackages.cmake @@ -161,6 +161,15 @@ if (LLVM_VERSION VERSION_GREATER_EQUAL 16.0) endif () endif () +# Use opaque pointers starting w...
7
6
1
[{"id": "G0", "claim": "The new `bool ptr_is_uniform` parameter name is confusing because varying pointers exist and the flag really says that what the ptr points to is uniform, so it should be renamed (e.g. `src_is_uniform`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
AcademySoftwareFoundation__OpenShadingLanguage__1808
AcademySoftwareFoundation/OpenShadingLanguage
1,808
defect
eb9b08789c1cbf0eeadc43bf2f8573b31795fc16
ed4a1a68813ca324b57f90645d7c3d4df863b7e7
Remove remaining traces of boost
## Description Replace the last few uses of boost with robin-map (which is already a dependency for OIIO, although it is new for OSL itself) and functions in OIIO. ## Tests Testsuite passes on my mac laptop. Will keep an eye on how the CI steps go. ## Checklist: - [x] I have read the [contribution guidel...
diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index b3d6c2dc6d..166cb121c5 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -39,7 +39,7 @@ jobs: fail-fast: false matrix: include: - - desc: sonar gcc9/C++14 llvm13 py3.9 boo...
2
2
0
[{"id": "G0", "claim": "Revert the whitespace-only changes to src/doc/languagespec.tex, which are noise unrelated to the boost removal.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Revert the whitespace-only changes to src/liboslexec/CMakeList...
null
AcademySoftwareFoundation__OpenShadingLanguage__1825
AcademySoftwareFoundation/OpenShadingLanguage
1,825
defect
28b71e7c859f8fb6e9f76798ac8feb0c39712315
9e5c6749f0faed043a912485ad68fea890a3bea6
Add support for b4_SSE2 batched mode.
## Description Add support for b4_SSE2 batched mode, enabling batched execution for all x86-64 CPUs that don't support AVX. Is there interest in adding this into OSL? I still support CPUs with vector width of 4 in my project that uses OSL and it would be nice to not to have to resort to scalar processing. ## T...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e627015940..f097b3f762 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,6 +49,17 @@ jobs: pybind11_ver: v2.7.0 simd: sse4.2 batched: b8_AVX2_noFMA + - desc: gcc9/C++17 llvm11...
8
3
1
[{"id": "G0", "claim": "The pull request should add a testing configuration that exercises batched<4> to .github/workflows/ci.yml, copying the existing batch-b8avx2 config.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In batched mode a string from a s...
null
AcademySoftwareFoundation__OpenShadingLanguage__1944
AcademySoftwareFoundation/OpenShadingLanguage
1,944
defect
e3aa2cf5a17a59e906c7125ff8d546b1561e812f
b112bb548297c548db4d243f769b0326c6087cc9
Add rs_allocate_closure free function.
## Description <!-- Please provide a description of what this PR is meant to fix, and --> <!-- how it works (if it's not going to be very clear from the code). --> Adds a new free function `rs_allocate_closure` which allows the renderer services to provide memory for closure storage, for both inbuilt (add/mul...
diff --git a/src/include/OSL/rs_free_function.h b/src/include/OSL/rs_free_function.h index de9b3316fa..0abf3fcf8f 100644 --- a/src/include/OSL/rs_free_function.h +++ b/src/include/OSL/rs_free_function.h @@ -316,6 +316,13 @@ OSL_RSOP OSL_HOSTDEVICE bool rs_trace_get(OSL::OpaqueExecContextPtr oec, OSL::ustringhash name,...
3
1
1
[{"id": "G0", "claim": "The #ifndef __CUDA_ARCH__ guard in the new rs_allocate_closure in rs_fallback.cpp should be removed, since rs_fallback.cpp is never compiled by CUDA.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CUDA rs_allocate_clo...
null
AcademySoftwareFoundation__OpenTimelineIO__1081
AcademySoftwareFoundation/OpenTimelineIO
1,081
defect
1ba6d7844b1b7b6f4e7e9cf13663c4c4d623b2b4
f10a882621b90e7c3da18c1782a9d00ecef5e7a6
Unicode file names on Windows
Fixes #1083 This PR allows Unicode file names to be used on Windows by using the WCHAR APIs: https://docs.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page#code-page-conversion https://docs.microsoft.com/en-us/cpp/c-language/using-wmain?view=msvc-160 Note that the first document describes u...
diff --git a/examples/conform.cpp b/examples/conform.cpp index b60b1ef740..4f76a3f53b 100644 --- a/examples/conform.cpp +++ b/examples/conform.cpp @@ -125,16 +125,17 @@ int conform_timeline( return count; } -int main(int argc, char** argv) +OTIO_EXAMPLES_MAIN() { - if (argc != 4) + const auto args = exam...
1
1
1
[{"id": "G0", "claim": "wmain is rare among the project's end users and plain main should be kept, converting UTF-8 to UTF-16/wchar_t only where files are opened, rather than adopting the OTIO_EXAMPLES_MAIN()/wmain convention.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenTimelineIO__1118
AcademySoftwareFoundation/OpenTimelineIO
1,118
defect
0cc00ce06bc97c7ec40bf2dea169911d15f92bf3
81f9a2100e9b518efa0b7a0834ac565a480f62c3
overload RationalTime.from_seconds with additional rate argument
Closes #818 **Summarize your change.** Work in progress!! I'm in over my head here so hacking together an attempt. Overload `RationalTime.from_seconds` with an additional "rate" argument to avoid having to rescale value to target rate. Before PR: ``` python now = datetime.datetime.now() tod = (now - no...
diff --git a/src/opentime/rationalTime.h b/src/opentime/rationalTime.h index 1d3a4c172d..47542af351 100644 --- a/src/opentime/rationalTime.h +++ b/src/opentime/rationalTime.h @@ -13,7 +13,7 @@ enum IsDropFrameRate : int { ForceNo = 0, ForceYes = 1, }; - + constexpr double fabs(double val) noexcept { ...
2
2
0
[{"id": "G0", "claim": "The new datetime-based time-of-day test block could be made more direct by reusing the previously computed values instead.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "If the simpler test is adopted, the then-unused `datetime` ...
null
AcademySoftwareFoundation__OpenTimelineIO__1136
AcademySoftwareFoundation/OpenTimelineIO
1,136
defect
89e5d8d179e15e4e13a1e0d894c30d4f1a1d3668
268c31ff7e00c5507ecfbe0af0e696c58a164d03
Support available_image_bounds in the "Example OTIO Reader" RV plugin
Fixes #1089 **Summarize your change.** This branch adds support for reading the `available_image_bounds` in the RV OTIO import plugin. This works by creating a `RvTransform2D` node for each media_reference we find that has `available_image_bounds` set. RV uses scale/translate properties on its 2D transforms...
diff --git a/contrib/opentimelineio_contrib/application_plugins/rv/example_otio_reader/otio_reader.py b/contrib/opentimelineio_contrib/application_plugins/rv/example_otio_reader/otio_reader.py index aa3afd3441..7586f26a0f 100644 --- a/contrib/opentimelineio_contrib/application_plugins/rv/example_otio_reader/otio_reader...
8
6
1
[{"id": "G0", "claim": "find_display_bounds would be more performant using try/except (ask forgiveness) than the hasattr checks, assuming most (>75%) clips have media references with available_image_bounds.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
AcademySoftwareFoundation__OpenTimelineIO__1199
AcademySoftwareFoundation/OpenTimelineIO
1,199
defect
7f3b381ea4002bd10f92c56544285e40a24fc5bc
3609d52305b74a5563d01c0d3e4351f615f46913
Add support for Premiere styled EDLs to the CMX 3600 adapter
```Fixes``` [[1178](https://github.com/PixarAnimationStudios/OpenTimelineIO/issues/1178)] Premiere style for cmx3600 **Summary.** Adds support for Premiere style for cmx3600 to limit the auto added comments that are added per clip when writing out an EDL. **Tests.** No new tests were added but the below ...
diff --git a/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py b/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py index ce82975406..2c187a9aa0 100644 --- a/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py +++ b/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py @@ -86,9 +86,16 @@ class ...
2
2
1
[{"id": "G0", "claim": "VALID_EDL_STYLES should map the premiere style to None instead of an empty string, so the empty string is not confused with a meaningful substitution spec.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A unittest should be added ...
null
AcademySoftwareFoundation__OpenTimelineIO__1241
AcademySoftwareFoundation/OpenTimelineIO
1,241
defect
aa5351cf50ff0792ece08d7382467a4b6c77c432
131857048be0d384f615befb1205dcb2291214d9
Media Multi-Reference Feature
Fixes #630 **Summarize your change.** This branch is an initial prototype for the changes and discussion initially proposed in this [working document](https://docs.google.com/document/d/13jrl2qtWBTSFqMTVQh28LWc16uYvQ79w-7TfX92JaIM/edit?usp=sharing). To summarize, there are often uses cases when a single conce...
diff --git a/docs/tutorials/otio-serialized-schema-only-fields.md b/docs/tutorials/otio-serialized-schema-only-fields.md index ef4c07485..765745e28 100644 --- a/docs/tutorials/otio-serialized-schema-only-fields.md +++ b/docs/tutorials/otio-serialized-schema-only-fields.md @@ -131,13 +131,14 @@ parameters: ## Module:...
13
9
3
[{"id": "G0", "claim": "The name MediaRepresentation for the new struct of predefined media keys should be confirmed with the community or replaced with a better suggestion.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The predefined set of media repre...
null
AcademySoftwareFoundation__OpenTimelineIO__1354
AcademySoftwareFoundation/OpenTimelineIO
1,354
defect
f54569f0f62edda8319d2c50e8b4894d3c12605b
5f087831ef0737adec93b48d6b45507705826f29
Add basic mingw_x86_64 build support
This is the minimal amount of changes required to add mingw_x86_64 support on windows and pass all the tests. This pull request is mainly for discussion as to if this is a platform OTIO wishes to support. I haven't looked into adding the platform to CI yet, but feels like it might be a bit of a headache to get worki...
diff --git a/setup.py b/setup.py index a61b76dec..8452cb5ab 100755 --- a/setup.py +++ b/setup.py @@ -99,9 +99,11 @@ def generate_cmake_arguments(self): # Python modules wil be installed by setuptools. '-DOTIO_INSTALL_PYTHON_MODULES:BOOL=OFF', ] - if platform.system() == "Wind...
1
1
0
[{"id": "G0", "claim": "The mingw platform-detection logic in setup.py should be factored into named helpers (e.g. Windows()/MinGW()) so the platform tests stay maintainable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenTimelineIO__1469
AcademySoftwareFoundation/OpenTimelineIO
1,469
defect
d59a358b19686200b3719aa9993ba2b3464fa274
e81d4cde3d0f0307283dbe22111ae7427709d463
Switch to using `importlib` from `pkg_resources`
Fixes #1426 As requested in the issue, this replaces `pkg_resources` with `importlib` for plugin detection. Quick and dirty benchmarks show an improvement in average runtime when accessing plugins: ![image](https://user-images.githubusercontent.com/1740063/198210346-15c93a17-3b32-4422-969b-d95871c52d3a.png) ...
diff --git a/docs/tutorials/otio-env-variables.md b/docs/tutorials/otio-env-variables.md index 88a15a530..70f80fdd6 100644 --- a/docs/tutorials/otio-env-variables.md +++ b/docs/tutorials/otio-env-variables.md @@ -18,11 +18,6 @@ OTIO_DEFAULT_MEDIA_LINKER The name of the default media linker to use after reading a fi...
7
6
1
[{"id": "G0", "claim": "Keep a plugin-disabling environment variable (renamed, since the pkg_resources one is gone) so users can still turn entry-point plugin discovery off.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Prefer parenthesized conte...
null
AcademySoftwareFoundation__OpenTimelineIO__1623
AcademySoftwareFoundation/OpenTimelineIO
1,623
defect
45c6cfdd2013a270303af6d5ed82887c8d23affc
5ff845aa6bc0c2455ef662b52763b808e38be4bd
Add utility functions for comparison and rounding
Fixes #1622 This PR adds a few utility functions to RationalTime for comparison and rounding: * A function that compares whether two RationalTimes have the same value and rate. This is different from the "==" operator which scales the time before comparison (e.g., otime::RationalTime(30.2) == otime::RationalTime(60...
diff --git a/src/opentime/rationalTime.h b/src/opentime/rationalTime.h index fbdd02d4ec..0d5463b2c6 100644 --- a/src/opentime/rationalTime.h +++ b/src/opentime/rationalTime.h @@ -77,6 +77,34 @@ class RationalTime return fabs(value_rescaled_to(other._rate) - other._value) <= delta; } + // Return wheth...
3
2
0
[{"id": "G0", "claim": "The floor/ceil/round method names should be self-describing, ultimately as floor_value/ceil_value/round_value.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The method exactly_equal should be renamed strictly_equal, sinc...
null
AcademySoftwareFoundation__OpenTimelineIO__1704
AcademySoftwareFoundation/OpenTimelineIO
1,704
defect
843806eb357cd3ca94bddbcfd5e70c63b10a90dc
92d5a9bf7b2912cc23e6237900c608727db1915b
Added support for pathlib.Path filepath arguments for adapter IO functions
Simple little PR: Currently the `read_from_file`, `write_to_file` of `opentimelineio.adapter` do not support `pathlib.Path` objects for their filepath argument. This addresses this.
diff --git a/src/py-opentimelineio/opentimelineio/adapters/__init__.py b/src/py-opentimelineio/opentimelineio/adapters/__init__.py index 6ed93684d6..19592cb8f3 100644 --- a/src/py-opentimelineio/opentimelineio/adapters/__init__.py +++ b/src/py-opentimelineio/opentimelineio/adapters/__init__.py @@ -15,6 +15,7 @@ impo...
1
1
0
[{"id": "G0", "claim": "Use os.fspath to convert pathlib.Path objects to strings instead of the manual isinstance/str conversion in read_from_file and write_to_file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenTimelineIO__412
AcademySoftwareFoundation/OpenTimelineIO
412
defect
7cb24b8bf2324bc0ab77144c5030ba85e519aa40
7fc4b85f9ca9748ea84476c31cfd1eca87ea2026
GStreamer Editing Services XML adapter
This implement the basic for a "xges" adapter, the native [GStreamer Editing Services] serialization format. ## Implemented features: - [x] Clip serialization/de-serialization - [x] Transitions ## Missing features - [ ] Stacks inside Tracks, we are missing [nested timelines](https://gitlab.freedesktop.org/...
diff --git a/opentimelineio_contrib/adapters/contrib_adapters.plugin_manifest.json b/opentimelineio_contrib/adapters/contrib_adapters.plugin_manifest.json index 9a1247a428..ceaf0a3067 100644 --- a/opentimelineio_contrib/adapters/contrib_adapters.plugin_manifest.json +++ b/opentimelineio_contrib/adapters/contrib_adapter...
7
7
1
[{"id": "G0", "claim": "The new files' license text differs from the one used in the rest of OTIO, and the author asks that the exact same license as in the other files be used.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whet...
null
AcademySoftwareFoundation__OpenTimelineIO__477
AcademySoftwareFoundation/OpenTimelineIO
477
defect
5352c9106ad144749bc06fc48d5af82a643f21c6
04de1f6910c3c1e71247bbf12000c49d460da110
Add global_start_time as a serializable_field.
- Also add the ability to layer over baselines in tests - global_start_time has a default value with a rate of 24
diff --git a/opentimelineio/schema/timeline.py b/opentimelineio/schema/timeline.py index 02c5d92d5b..6feb8b9d65 100644 --- a/opentimelineio/schema/timeline.py +++ b/opentimelineio/schema/timeline.py @@ -68,6 +68,11 @@ def __init__( dict, "Metadata dictionary." ) + global_start_time = core.seri...
1
1
1
[{"id": "G0", "claim": "Making global_start_time a serialized field with the default RationalTime(0, 24) implies an edit rate of 24 for the timeline, which jminor thinks will be a problem in practice, and the default should be None instead (possibly with a schema version bump).", "category": "design", "verdict": "suppo...
null
AcademySoftwareFoundation__OpenTimelineIO__488
AcademySoftwareFoundation/OpenTimelineIO
488
defect
878c67faa3da188afb419c48a67ee92806e8a05b
fa0c8126cc008d60971e307a674e052201678c78
Suggested fix for #476
Hey! This PR should produce the result @reinecke is after in #476 When passing an NDF timecode with a DF frame Rate to `opentime.from_timecode` calculation respects the NDF TC and does not remove frames.
diff --git a/opentimelineio/opentime.py b/opentimelineio/opentime.py index 492f8fba88..0a5a8722d7 100644 --- a/opentimelineio/opentime.py +++ b/opentimelineio/opentime.py @@ -595,6 +595,9 @@ def from_timecode(timecode_str, rate): # Check if rate is drop frame rate_is_dropframe = rate in VALID_DROPFRAME_TIMECO...
1
1
0
[{"id": "G0", "claim": "In from_timecode, the dropframe condition should be just `if treat_as_df:` because `rate_is_dropframe` is already factored into `treat_as_df` earlier.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenTimelineIO__493
AcademySoftwareFoundation/OpenTimelineIO
493
defect
878c67faa3da188afb419c48a67ee92806e8a05b
519ec93b900baa333078435efc48209716f66ba9
AAF Writer: Fixes the crash seen when running otio -> aaf, in some AAF files due to nesting
This makes sure that all nested groups are in stacks, then proceeds to do the nesting correctly. Roughly otio.schema.Stack = AAF Operation Group otio.schema.Track = AAF Sequence
diff --git a/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py b/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py index bc93c1324e..f54070e14a 100644 --- a/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py +++ b/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py @@ -75,6 +75,7 @@ def __i...
4
3
1
[{"id": "G0", "claim": "Make a copy of input_otio before modifying it, because someone calling write_to_file would be surprised if the timeline they passed in got modified.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment to _stackify_ne...
null
AcademySoftwareFoundation__OpenTimelineIO__506
AcademySoftwareFoundation/OpenTimelineIO
506
defect
e2eab9de217c1f2a7349354d9e0197f7e8f8e8f7
d92642a872237efd9ad5e918c9b2a41c3611cd97
Fix missing source clip start offset
Without this, the resulting AAF always use the full available media of a clip even the start_time in source_range has different value than that of availabe_range. I will make a test case for this fix.
diff --git a/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py b/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py index 06cd31d7e7..cd7f8d8e02 100644 --- a/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py +++ b/opentimelineio_contrib/adapters/aaf_adapter/aaf_writer.py @@ -363,9 +363,17 @@ def ...
1
1
1
[{"id": "G0", "claim": "Can you add a test to ensure the new source clip start offset round-trips properly through the AAF adapter?", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenTimelineIO__537
AcademySoftwareFoundation/OpenTimelineIO
537
defect
36fab853ed81cc2e669591784e504f02515f7747
08b52d8c5bd34c84ce1ee399742ff60cd994d03e
fcpx: Decode output of ffprobe before using it as string
Getting this stack trace otherwise: ``` Traceback (most recent call last): File "gesotioformatter.py", line 44, in do_save_to_uri File "/home/thiblahute/devel/gstreamer/gst-build/subprojects/OpenTimelineIO/opentimelineio/adapters/__init__.py", line 194, in write_to_file **adapter_argument_map File "/h...
diff --git a/opentimelineio_contrib/adapters/fcpx_xml.py b/opentimelineio_contrib/adapters/fcpx_xml.py index e219b58a1a..ccfa0d0efc 100644 --- a/opentimelineio_contrib/adapters/fcpx_xml.py +++ b/opentimelineio_contrib/adapters/fcpx_xml.py @@ -83,7 +83,7 @@ def format_name(frame_rate, path): "csv=s=x:p=...
2
1
1
[{"id": "G0", "claim": "Add a unittest catching the py2/py3 bytes-vs-str ffprobe issue, e.g. by injecting a mock for subprocess.check_output that fakes the ffprobe output.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The added mock-import fallback wit...
null
AcademySoftwareFoundation__OpenTimelineIO__561
AcademySoftwareFoundation/OpenTimelineIO
561
defect
689d3c481c84402688f1a20b037990e03126e139
6f0b1862bf9aab1770a6997590a95e487185f4c9
Add filebundle (otioz and otiod) adapters
# overview Introduces the idea of an OTIO "file bundle". This has two flavors: .otioz and .otiod. This PR includes documentation and implements adapters that can convert into those formats. # otioz - Adds .otioz suffix file - Bundles media and an otio file together into a libzip compatible zipfile (using pyth...
diff --git a/src/py-opentimelineio/opentimelineio/adapters/builtin_adapters.plugin_manifest.json b/src/py-opentimelineio/opentimelineio/adapters/builtin_adapters.plugin_manifest.json index 5e394a67d..e8abab931 100644 --- a/src/py-opentimelineio/opentimelineio/adapters/builtin_adapters.plugin_manifest.json +++ b/src/py-...
8
7
3
[{"id": "G0", "claim": "Requiring the internal otio file to share the zip file's name breaks when the zip is renamed, so the bundle should use a consistent internal name like content.otio.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reading side s...
null
AcademySoftwareFoundation__OpenTimelineIO__585
AcademySoftwareFoundation/OpenTimelineIO
585
defect
74c09514ddc240bce71ff9fde4dda3cc1c9ffe4a
a6fcc8679e4fdf90399c9dced984f6b7ffc8f223
Fix tests for Visual Studio 2019
A number of the core tests (OTIO_DISABLE_SHELLOUT_TESTS=true) were failing on Windows, this pull request has two changes to fix that. Tests were crashing on exit with the error message, "d:\agent\_work\2\s\src\vctools\crt\crtw32\stdcpp\thr\mutex.c(64): mutex destroyed while busy". To fix this I unlocked the mutex in...
diff --git a/src/opentimelineio/serializableObject.cpp b/src/opentimelineio/serializableObject.cpp index ad0acc1306..957e241d7b 100644 --- a/src/opentimelineio/serializableObject.cpp +++ b/src/opentimelineio/serializableObject.cpp @@ -133,6 +133,7 @@ void SerializableObject::_managed_release() { _mutex.lock(); ...
1
1
1
[{"id": "G0", "claim": "The rewrite from `with tempfile.NamedTemporaryFile` to a bare `tempfile.mkdtemp` should keep the exception-safe cleanup the old `with` syntax guaranteed (or the author should explain what motivated dropping it), since if `write_to_file` or the assertions throw, the temp directory is left behind....
null
AcademySoftwareFoundation__OpenTimelineIO__602
AcademySoftwareFoundation/OpenTimelineIO
602
defect
44a0c44735799c74146bff3619bab0ce0cda82d6
1f8f68c4b329889cab3725b6d0be8c59dc5d2bed
Initial implementation of ImageSequenceReference
This is meant to be an alternate approach to the one @apetrynet took in pr #536 as a point of discussion. This resolves #69. I wanted to try an approach that more explicitly broke out image sequence parameters and had awareness of timing associated with frames. This also avoids using format strings in urls which could ...
diff --git a/src/opentimelineio/CMakeLists.txt b/src/opentimelineio/CMakeLists.txt index 5e49c96e2..f2b2c7978 100644 --- a/src/opentimelineio/CMakeLists.txt +++ b/src/opentimelineio/CMakeLists.txt @@ -12,6 +12,7 @@ set(OPENTIMELINEIO_HEADER_FILES freezeFrame.h gap.h generatorReference.h + imageSequenc...
8
7
2
[{"id": "G0", "claim": "The attributes start_value, value_step and image_number_zero_padding should be renamed to frame-based names (start_frame, frame_step, frame_zero_padding) for clarity and consistency.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
AcademySoftwareFoundation__OpenTimelineIO__633
AcademySoftwareFoundation/OpenTimelineIO
633
defect
053d8717d13f02225c3617592b2bfb6c5d4aa19b
4d0c671e74554cbadc347535e21678269bf4d279
[WIP] Implement ImageSequenceReference in extern_rv
Quick implementation of `ImageSequenceReference` in the `extern_rv.py` adapter to get the ball rolling :) Added a sample file and test for it as well.
diff --git a/contrib/opentimelineio_contrib/adapters/extern_rv.py b/contrib/opentimelineio_contrib/adapters/extern_rv.py index f11295bb60..b927d0afa6 100755 --- a/contrib/opentimelineio_contrib/adapters/extern_rv.py +++ b/contrib/opentimelineio_contrib/adapters/extern_rv.py @@ -250,6 +250,19 @@ def _create_media_refere...
1
1
0
[{"id": "G0", "claim": "The variables `_in` and `_out` could be renamed to `in_frame` and `out_frame`, since the `_` prefix feels odd.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
AcademySoftwareFoundation__OpenTimelineIO__687
AcademySoftwareFoundation/OpenTimelineIO
687
defect
234b3f319e4e128674a2074364ae7a1077fbf3db
1311df6a295ea66b0d08a795506c822603e12ab9
cmx3600 reverse and dissolve fixes
- Addressed an issue where the speed change regex wouldn't properly parse reversed clips - Fixed assumption that clips used in a transition would always be continuous with the clips before and after the transition Additional notes: This fix works but is a touch messy. The parser is structured in a way that OTIO Cl...
diff --git a/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py b/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py index 9f724837a3..1f59c6aecd 100644 --- a/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py +++ b/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py @@ -52,7 +52,7 @@ class E...
2
2
0
[{"id": "G0", "claim": "The comment explaining why previous clip metadata can land in the transition clip should say that comments in an EDL are listed after transition events, rather than the vague 'how comments fall'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
AcademySoftwareFoundation__OpenTimelineIO__702
AcademySoftwareFoundation/OpenTimelineIO
702
defect
673ece951d38455592a6a03db9b1d90fd862eb7a
12608261649036175a59c00f5c7b94cc533b18a5
Addressing a handful of lint issues.
Somehow lint started failing for people on a lot of their branches due to issues in master, here is one such example: https://travis-ci.com/github/PixarAnimationStudios/OpenTimelineIO/jobs/333466701 Worth noting, there was one function in the kdenlive adapter I didn't know the correct fix for so I just muted the war...
diff --git a/contrib/opentimelineio_contrib/adapters/fcpx_xml.py b/contrib/opentimelineio_contrib/adapters/fcpx_xml.py index ca128cde03..4b757d1882 100644 --- a/contrib/opentimelineio_contrib/adapters/fcpx_xml.py +++ b/contrib/opentimelineio_contrib/adapters/fcpx_xml.py @@ -1140,7 +1140,7 @@ def _compound_clip_by_id(se...
1
1
0
[{"id": "G0", "claim": "The write_keyframes format line in the kdenlive adapter lacks the one-to-one mapping of braces to format arguments ('{}={}'.format() is missing an argument and .format(v) is applied to the wrong string), making the line incorrect rather than merely lint-noisy and likely to raise at runtime, and ...
null
AcademySoftwareFoundation__OpenTimelineIO__722
AcademySoftwareFoundation/OpenTimelineIO
722
defect
39aae41f23ce03a5a76808ca45d8b53c2d2c071f
ccea0d6e189bed6bc668f59b1d5e16c865465e06
Add ImageSequenceReference schema to OpenTimelineIO
This resolves #69 The image sequence is expressed with: - `target_url_base` - everything leading up to the file name in the `target_url` - `name_prefix` - everything in the file name leading up to the frame number - `name_suffix` - everything after the frame number in the file name - `start_frame` - first frame ...
diff --git a/contrib/opentimelineio_contrib/adapters/extern_rv.py b/contrib/opentimelineio_contrib/adapters/extern_rv.py index eaa65a986e..a2c20fb66d 100755 --- a/contrib/opentimelineio_contrib/adapters/extern_rv.py +++ b/contrib/opentimelineio_contrib/adapters/extern_rv.py @@ -250,6 +250,19 @@ def _create_media_refere...
3
2
0
[{"id": "G0", "claim": "The ImageSequenceReference documentation should flow through the python bindings so it shows up in the serialized help documentation and in help() in python.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The read_from bloc...
null
AcademySoftwareFoundation__OpenTimelineIO__730
AcademySoftwareFoundation/OpenTimelineIO
730
defect
635faee1bd0d74d37147c5003eb983604616b4de
e07711818d7f598c2babddc7ae91c9e36ca351ba
Implementation of post adapter write hook
Added support for "post_adapter_write" hooks. Post hooks are run _after_ the file is written to disk by an adapter and passes the file path to the hooks through `_filepath` key in the `argument_map`. Updated unit tests and added example in the hooks docs.
diff --git a/docs/tutorials/write-a-hookscript.md b/docs/tutorials/write-a-hookscript.md index 8ed46b7e13..1ad0d122a9 100644 --- a/docs/tutorials/write-a-hookscript.md +++ b/docs/tutorials/write-a-hookscript.md @@ -39,6 +39,7 @@ To create a new OTIO hook script, you need to create a file myhooks.py. Then add "hook...
4
3
0
[{"id": "G0", "claim": "Reword the post adapter write hook note in the docs to say that the API will not automatically update the already serialized file and that changes will only exist in the in-memory object, because the hook runs after the file is serialized to disk.", "category": "documentation", "verdict": "suppo...
null
AcademySoftwareFoundation__OpenTimelineIO__792
AcademySoftwareFoundation/OpenTimelineIO
792
defect
30530a20b476e222c27b1d69073137f2d9502cc9
51603d815de3c4bf2395d54cee4b40239140f1e6
xges: Add support for image sequences
**Link the Issue(s) this Pull Request is related to.** **Summarize your change.** ImageSequence somehow recently landed but no support was added for the xges format. This implements that support. Add a list of changes, and note any that might need special attention during review. **Reference associated tes...
diff --git a/contrib/opentimelineio_contrib/adapters/tests/tests_xges_adapter.py b/contrib/opentimelineio_contrib/adapters/tests/tests_xges_adapter.py index 67ee66999..a2b0e47ac 100644 --- a/contrib/opentimelineio_contrib/adapters/tests/tests_xges_adapter.py +++ b/contrib/opentimelineio_contrib/adapters/tests/tests_xge...
1
1
0
[{"id": "G0", "claim": "The new urllib imports should be grouped in parentheses from the same parent package, and lifting specific functions out of modules should be discouraged for consistency with the codebase, though the python2 module split makes lifting understandable.", "category": "maintainability", "verdict": "...
null
AcademySoftwareFoundation__OpenTimelineIO__868
AcademySoftwareFoundation/OpenTimelineIO
868
defect
bcdd9a72d48320a9986cf7654ebb32e566aa4c8d
a24cd544fd78258729609831b6f0c6aaa5397c4f
from_start_end_time_inclusive
Added duration_from_start_end_time_inclusive and range_from_start_end_time_inclusive to RationalTime and TimeRange respectively.
diff --git a/src/opentime/rationalTime.h b/src/opentime/rationalTime.h index 00256ac3a9..4589764964 100644 --- a/src/opentime/rationalTime.h +++ b/src/opentime/rationalTime.h @@ -62,6 +62,14 @@ class RationalTime { start_time._rate}; } + static RationalTime + duration_from_start_...
2
2
0
[{"id": "G0", "claim": "The alias line `duration_from_start_end_time_inclusive = RationalTime.duration_from_start_end_time_inclusive` in opentime.py is too long and triggers a lint failure; wrap it in parentheses as suggested.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
AcademySoftwareFoundation__OpenTimelineIO__892
AcademySoftwareFoundation/OpenTimelineIO
892
defect
06dc494056321e9cd24da9fbc5f067f8473c8619
bcfd7bb92f854489635c9679016524283ef58f71
Address big integers bug
Closes #884 - Asserts that the only integer data type that OTIO serializes/deserializes is `int64_t` - ...which means that OTIO serializes into JSON: - `bool` - `int64_t` - string - IEEE754 `double` (including `NaN`, `Inf`, `-Infinity` support) - list - dictionary - things that derive from `Se...
diff --git a/src/opentimelineio/deserialization.cpp b/src/opentimelineio/deserialization.cpp index 5e46c54a0..bb98e318d 100644 --- a/src/opentimelineio/deserialization.cpp +++ b/src/opentimelineio/deserialization.cpp @@ -37,10 +37,13 @@ class JSONDecoder : public OTIO_rapidjson::BaseReaderHandler<OTIO_rapidjson::UTF ...
5
3
3
[{"id": "G0", "claim": "The start_frame ivar should be changed to int64_t (truing the whole class up to int64_t) instead of reading int64 values and casting them to int.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Uint64 handler should mask the...
null
AcademySoftwareFoundation__OpenTimelineIO__894
AcademySoftwareFoundation/OpenTimelineIO
894
defect
45aee5114700e3ccbb3d22a4d040af2f4fad0ec1
94df91c4623b157bd2cec948f3403ddd6bdaeee4
Enable xges unit tests on all platform/python versions
After https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/873 was merged, this enables xges adapter tests on the same platforms/python version as other adapters.
diff --git a/contrib/opentimelineio_contrib/adapters/tests/tests_xges_adapter.py b/contrib/opentimelineio_contrib/adapters/tests/tests_xges_adapter.py index 59241d2e7a..5b0f119032 100644 --- a/contrib/opentimelineio_contrib/adapters/tests/tests_xges_adapter.py +++ b/contrib/opentimelineio_contrib/adapters/tests/tests_x...
2
2
1
[{"id": "G0", "claim": "The 'future' dependency was added to the general INSTALL_REQUIRES, but if it is only needed to enable the builtins module on python2 it should go in the python2-specific dependency block instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
AcademySoftwareFoundation__OpenTimelineIO__896
AcademySoftwareFoundation/OpenTimelineIO
896
defect
84c8245c070b12d7e627c145435a5db9add0d2de
551f8573c430c60885ef29305fcf45e5329f0c50
Change cmx_3600 adapter to use transition duration frames (Issue #895)
The [cmx_3600.py](https://github.com/PixarAnimationStudios/OpenTimelineIO/blob/master/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py) adapter appears to use a duration for Transitions that doesn't conform to the CMX 3600 spec. According to [this spec](https://xmil.biz/EDL-X/CMX3600.pdf) (Page 30), the dur...
diff --git a/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py b/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py index 4caeedcb64..bd1696260d 100644 --- a/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py +++ b/src/py-opentimelineio/opentimelineio/adapters/cmx_3600.py @@ -268,6 +268,7 @@ def a...
3
3
0
[{"id": "G0", "claim": "The pull request should include the 1988 CMX 3600 document as a citation/reference in a comment above the block where the transition duration is set.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code comment should li...
null
AcademySoftwareFoundation__OpenTimelineIO__926
AcademySoftwareFoundation/OpenTimelineIO
926
defect
d25cd1386fdc39007171d8a9ad06f7ec1df92eaa
61497dc70742f8856e30fe8526a49f3181fc9d04
Add C++ implementation of each_child()/each_clip()
```Fixes #925``` This is a draft PR for adding the each_child()/each_clip() functionality to C++, currently the functions are only available from Python. I took a look at the custom iterators suggested in the other PR (https://internalpointers.com/post/writing-custom-iterators-modern-cpp), but it seems like that'...
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index c0cb21293..de02cade0 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -5,6 +5,7 @@ include_directories(${PROJECT_SOURCE_DIR}/src ${PROJECT_SOURCE_DIR}/src/deps/optional-lite/include ${PYTHON_INCLUDE_DIRS}) +list(APPEND...
5
5
2
[{"id": "G0", "claim": "Add in-place documentation for the new each_child()/shallow_search parameters, since the meaning of shallow_search (do not recurse into compositions) is hard to discover.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "An er...
null
AcademySoftwareFoundation__openvdb__1010
AcademySoftwareFoundation/openvdb
1,010
defect
fcdf2a2892a291023142612a35935cf3db4fa350
6a823abacbdf75a4f99239a2eb7c46af9ca16d9a
Introduce multi-threaded methods to count active voxels and used memory
Thread the activeVoxelCount() method using the DynamicNodeManager. Performance on a 1 billion voxel VDB (32 threads): Original: 203 milliseconds New: 26 milliseconds There's still a bool to be able to optionally run single-threaded if desired. ~~I didn't add the deprecations to the original method, but my pro...
diff --git a/openvdb/openvdb/CMakeLists.txt b/openvdb/openvdb/CMakeLists.txt index 3961300f3f..063514a6ee 100644 --- a/openvdb/openvdb/CMakeLists.txt +++ b/openvdb/openvdb/CMakeLists.txt @@ -295,6 +295,7 @@ set(OPENVDB_LIBRARY_TOOLS_INCLUDE_FILES tools/ChangeBackground.h tools/Clip.h tools/Composite.h + tools...
3
2
0
[{"id": "G0", "claim": "The reviewer suggests the new counting code in Count.h might instead live in FindActiveValues, or that the two headers' functionality could be combined.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether the ...
null
AcademySoftwareFoundation__openvdb__1050
AcademySoftwareFoundation/openvdb
1,050
defect
5fe60eb0c2527f40f40ac87889fdfa4af40b48aa
163b61b66a71c751e00e4d81f7feba423796aed1
Blind Data (ABI=9)
Adding a transitive offset to the RootNode, InternalNode and LeafNodes. This is an ABI=9 feature and doesn't change the size of the nodes in memory, just adds a 32-bit integer to each. I hesitated on the naming and decided to call this a "transitive offset" - we use offset quite frequently in various contexts and ma...
diff --git a/openvdb/openvdb/tree/InternalNode.h b/openvdb/openvdb/tree/InternalNode.h index 82b862befc..634dec6d1a 100644 --- a/openvdb/openvdb/tree/InternalNode.h +++ b/openvdb/openvdb/tree/InternalNode.h @@ -268,6 +268,18 @@ class InternalNode /// Set the grid index coordinates of this node's local origin. ...
3
1
1
[{"id": "G0", "claim": "The transientData()/setTransientData() API should use Index32 instead of Index64, since the storage is only 32-bit and the 64-bit signature misleadingly suggests values (e.g. encoded points) can be safely passed through a cast.", "category": "design", "verdict": "supported", "priority": "P1", "s...
null
AcademySoftwareFoundation__openvdb__1202
AcademySoftwareFoundation/openvdb
1,202
defect
329dbcf6b59f2e97c5ddf263678431373334eca5
197f42ec44c6f6ccfcff43687e81fd78da2ef377
Added a trivial AX python hook and fixed a bug in ax::run
Signed-off-by: Nick Avramoussis <4256455+Idclip@users.noreply.github.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt index dd38750fec..e65310e678 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,7 +73,7 @@ option(OPENVDB_BUILD_DOCS "Build the OpenVDB documentation" OFF) option(OPENVDB_BUILD_HOUDINI_PLUGIN "Build the Houdini plugin" OFF) option(OPENVDB_BUILD_HOUDINI_ABITESTS "Build...
2
1
1
[{"id": "G0", "claim": "With OPENVDB_DSO_NAMES set and USE_AX ON while OPENVDB_BUILD_SOP_OpenVDB_AX is OFF, the new logic would still set OpenVDB_BUILD_SOP_AX ON.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new axrun function should probably ...
null
AcademySoftwareFoundation__openvdb__1368
AcademySoftwareFoundation/openvdb
1,368
defect
7a1c1764be8cc8d1295f2a02e1ca8a1364021947
eca97bf881405d024cc2641c686d59398b1971d7
CMake updates:
- Removed deprecated options, code paths and ABI 6 - Deprecated ABI 8 - Moved MINIMUM version defines to cmake/config/OpenVDBVersions.cmake - Renamed OpenVDBBuildTypes.cmake to OpenVDBCXX.cmake - Moved other CMake CXX options to OpenVDBCXX.cmake - Added deprecation warnings for C++14, CMake...
diff --git a/CMakeLists.txt b/CMakeLists.txt index f2afab66c4..af76d93367 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,8 +135,8 @@ Disable CMakes default system search paths when locating dependencies. When enab its default system search routine if it cannot find a dependency with the provided settings. Wh...
1
1
0
[{"id": "G0", "claim": "All the old ABI version checks should be dropped as well, such as the '#if OPENVDB_ABI_VERSION_NUMBER >= 7' guard at openvdb/openvdb/Grid.h line 102.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
AcademySoftwareFoundation__openvdb__1448
AcademySoftwareFoundation/openvdb
1,448
defect
33813dbef87734a7f0f70ca4cfed69474bce84fe
c9b5550c0eb7a9c5f40e6477e470f301b0e264ed
Various build fixes
Incorporatres some changes from #1445 but in summary: - Fixes #1447, where AX symbols were not being exported - Added python tests for AX - Fixed some CMake issues with TBB and Boost - CI and doc updates
diff --git a/.github/workflows/ax.yml b/.github/workflows/ax.yml index 1c262dc588..a179e04c2c 100644 --- a/.github/workflows/ax.yml +++ b/.github/workflows/ax.yml @@ -56,11 +56,11 @@ jobs: matrix: config: # Unified - - { image: '2021-clang10', cxx: 'clang++', build: 'Release', j: '2'...
3
1
1
[{"id": "G0", "claim": "The second verification loop should check the values of vec3_grid (which the ax assignment writes) instead of re-checking the float grid's values, so the test actually verifies the copied data.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
AcademySoftwareFoundation__openvdb__1452
AcademySoftwareFoundation/openvdb
1,452
defect
2e1904ac81dec803d623ed66b91205dd5678319d
2bb4a76f8dbba91f3dc96d4aa0859c5de0cbf7f4
ValueAccessor Buffer Cache
``` Improvements: - Significantly improved the performance of all ValueAccessor methods which access LeafNode value buffer data. This improvement applies to any type which is delay load compatible (all default types except for bool and mask grids). Bug Fixes: - Fixed a bug with ValueAccessor::ad...
diff --git a/openvdb/openvdb/tree/ValueAccessor.h b/openvdb/openvdb/tree/ValueAccessor.h index 91f96448cf..e6d7f13db9 100644 --- a/openvdb/openvdb/tree/ValueAccessor.h +++ b/openvdb/openvdb/tree/ValueAccessor.h @@ -37,6 +37,7 @@ #include <openvdb/Types.h> #include <cassert> #include <limits> +#include <mutex> #incl...
5
2
1
[{"id": "G0", "claim": "The probeNode/probeConstNode methods on the specialized accessors return nullptr when NodeT is not one of the cached node types, even though the node might exist in the tree.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Cac...
null
AcademySoftwareFoundation__openvdb__1936
AcademySoftwareFoundation/openvdb
1,936
defect
a824f1bfbafb8515a0ed068412203b1866b1095f
f9a34cb5662733c2adf0c9e1c63ea2fbbb010128
RootNode and InternalNode Probe Methods
This PR adds a bunch of new "probe" methods to fill in some gaps in the API in being able to query child nodes as well as adds some additional convenience methods. **RootNode** The root node adds convenience methods to query the child nodes (as opposed to needing to supply a template parameter `probeNode<ChildT>...
diff --git a/openvdb/openvdb/tree/InternalNode.h b/openvdb/openvdb/tree/InternalNode.h index 7cf653f901..356a3a9e8d 100644 --- a/openvdb/openvdb/tree/InternalNode.h +++ b/openvdb/openvdb/tree/InternalNode.h @@ -620,6 +620,41 @@ class InternalNode /// If no such node exists, return nullptr. template<typename N...
9
7
4
[{"id": "G0", "claim": "The offset-based InternalNode::probeChild(Index offset) should be renamed Unsafe and merely assert that the offset is in range, dropping the modulo masking of out-of-range offsets.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In...
null
AcademySoftwareFoundation__openvdb__1971
AcademySoftwareFoundation/openvdb
1,971
defect
58724e5111b73ae1a1d280e1a65075bf8ad0ef55
06bb33eaa51edf992e58fe297c9c92c96d6febfd
added read/write support of OFF files to vdb_tool
1 ) Added read and write support for OFF (Object File Format) files to vdb_tool 2) Optimized and improved readPLY/writePLY so it can handle more cases, eg vertex coordinates in double precision 3) Also expanded and fixed some bugs in the unit-test
diff --git a/openvdb_cmd/vdb_tool/README.md b/openvdb_cmd/vdb_tool/README.md index f64ebb6bea..0b34177cd1 100644 --- a/openvdb_cmd/vdb_tool/README.md +++ b/openvdb_cmd/vdb_tool/README.md @@ -10,8 +10,8 @@ This command-line tool, dubbed vdb_tool, can combine any number of the of high-l | **eval** | Evaluate an expressi...
1
1
1
[{"id": "G0", "claim": "The OFF parser should be robust to blank lines and comment lines between the header, vertices and faces sections, and to line breaks inside these sections.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AcademySoftwareFoundation__openvdb__2087
AcademySoftwareFoundation/openvdb
2,087
defect
345b74ef71731a16a2f26c9a949bfa9278e88e85
e1944e98e5c8684650a89e33fb28eecef36b154a
Remove Old IO Modes
This removes all code for reading VDB files earlier than 222 and generates an error instead. This was first introduced prior to VDB 1.0 (2013) and is primarily there to support Dreamworks adoption of earlier versions of the file format. This also removes LegacyFrustum and RootNodeMask - both classes which only exist...
diff --git a/openvdb/openvdb/CMakeLists.txt b/openvdb/openvdb/CMakeLists.txt index 88d9ee06a6..a7b5e758c1 100644 --- a/openvdb/openvdb/CMakeLists.txt +++ b/openvdb/openvdb/CMakeLists.txt @@ -413,7 +413,6 @@ set(OPENVDB_LIBRARY_MATH_INCLUDE_FILES math/DDA.h math/FiniteDifference.h math/Half.h - math/LegacyFrus...
3
3
1
[{"id": "G0", "claim": "In Archive::readGridCompression the new guard uses OPENVDB_FILE_VERSION_GRID_INSTANCING (216) where the previous check and the added error message point to NODE_MASK_COMPRESSION (222), so files with versions 216-221 would not be rejected as intended.", "category": "correctness", "verdict": "supp...
null
AcademySoftwareFoundation__openvdb__2103
AcademySoftwareFoundation/openvdb
2,103
defect
dd72d1f1373923c62afd59c571b21f7549899e3c
500f428f8333f0ad52599deb57b9491816d060d9
Add const mask access to bool LeafBuffer
This extends the bool partial specialization of LeafBuffer to allow direct const access to the mask outside of the Tree hierarchy classes.
diff --git a/openvdb/openvdb/tree/LeafBuffer.h b/openvdb/openvdb/tree/LeafBuffer.h index 6bdbdaf82b..0b9a7e21ef 100644 --- a/openvdb/openvdb/tree/LeafBuffer.h +++ b/openvdb/openvdb/tree/LeafBuffer.h @@ -514,6 +514,9 @@ class LeafBuffer<bool, Log2Dim> /// @warning This method should only be used by experts seeking ...
1
1
1
[{"id": "G0", "claim": "The new const accessor on LeafBuffer<bool> should not be named mask() (nor documented as returning a \"value mask\" / access to \"the mask\") because for a LeafBuffer this is the data payload, not a mask, which is confusing naming for the new API — rename it, e.g. to storage().", "category": "de...
null
AcademySoftwareFoundation__openvdb__2106
AcademySoftwareFoundation/openvdb
2,106
defect
3b64696777f11d3b2f87e7919f991b8bcee9c2df
4916a67158056ec6fd37315dd054a597644f8968
Minimum Viable Product for Half Grid Support
This PR is trying to offer a Minimum Viable Product for Half Grid Support in OpenVDB 13. Things covered in the PR are: - Native HalfGrid registration in the OpenVDB library.
diff --git a/openvdb/openvdb/CMakeLists.txt b/openvdb/openvdb/CMakeLists.txt index 88d9ee06a6..bfd1c6a661 100644 --- a/openvdb/openvdb/CMakeLists.txt +++ b/openvdb/openvdb/CMakeLists.txt @@ -413,6 +413,7 @@ set(OPENVDB_LIBRARY_MATH_INCLUDE_FILES math/DDA.h math/FiniteDifference.h math/Half.h + math/HalfDecl.h...
5
5
4
[{"id": "G0", "claim": "The SPDX license identifier in the new openvdb/openvdb/math/HalfDecl.h header (MPL-2.0) needs updating.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The instantiation implementation should be updated to add half support, ...
null
AcademySoftwareFoundation__openvdb__2109
AcademySoftwareFoundation/openvdb
2,109
defect
f564d35dca48d44118049ca2aa0579f91d2160d0
0a2da23cd0b4ea88cd9ae4daa899d29b0e225dca
Feature improvements to points::pca and points::rasterizeSdf
``` OpenVDB: New features: - Added customization of the output transformation attribute for points::pca(). Can be output as a quaternion or as a combined affine transform with the scale/stretch ommitted. - Added support for input quaternions attributes and affine transformations (th...
diff --git a/openvdb/openvdb/math/Mat3.h b/openvdb/openvdb/math/Mat3.h index b701b83351..c13ee80bb8 100644 --- a/openvdb/openvdb/math/Mat3.h +++ b/openvdb/openvdb/math/Mat3.h @@ -298,7 +298,7 @@ class Mat3: public Mat<3, T> } // opEqualToTest /// Return @c true if this matrix is equivalent to @a m within a ...
4
4
1
[{"id": "G0", "claim": "The doc comment for the rotation attribute setting needs updating to say 'xform' and to consider the combined transform output option.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The temporary stretch attribute name cont...
null
AcademySoftwareFoundation__openvdb__2152
AcademySoftwareFoundation/openvdb
2,152
defect
19013e3358971501b176b3e0816b1c3cf10633f5
7f4a717e85aaa6a7ab2cc069e801cc30b2b074a2
Fix Point Index I/O Bug
When using the `PointIndexLeafNode::readBuffers()` function without the `CoordBBox`, I/O is broken due to not reading the zero auxiliary data byte. This fixes that and adds a unit test to validate the fix.
diff --git a/openvdb/openvdb/tools/PointIndexGrid.h b/openvdb/openvdb/tools/PointIndexGrid.h index 463a07039f..7eddcd71c3 100644 --- a/openvdb/openvdb/tools/PointIndexGrid.h +++ b/openvdb/openvdb/tools/PointIndexGrid.h @@ -1728,6 +1728,10 @@ PointIndexLeafNode<T, Log2Dim>::readBuffers(std::istream& is, bool fromHalf) ...
1
1
1
[{"id": "G0", "claim": "The new non-CoordBBox readBuffers path must consume (eat) the dead auxiliary bytes from the stream, as the other version does.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
AcademySoftwareFoundation__openvdb__2189
AcademySoftwareFoundation/openvdb
2,189
defect
e1cd518163aea5ad3e10b812c72d805e16730b95
97f806d67c891b5eb24f95dcd57b95fbc9aece2a
NanoVDB: add CPU port of VoxelBlockManager and supporting utilities
## NanoVDB VoxelBlockManager: CPU Port — Phase 1 This PR is the first phase of a CPU port of the NanoVDB `VoxelBlockManager` (VBM) infrastructure. It covers the two foundational operations: - **Construction** (`buildVoxelBlockManager`): builds the VBM data structure from a NanoVDB grid on the CPU. - **Primary decod...
diff --git a/nanovdb/nanovdb/NanoVDB.h b/nanovdb/nanovdb/NanoVDB.h index 9d08c5e825..78955cd251 100644 --- a/nanovdb/nanovdb/NanoVDB.h +++ b/nanovdb/nanovdb/NanoVDB.h @@ -1242,19 +1242,21 @@ class Mask /// @brief Set the specified bit off. __hostdev__ void setOff(uint32_t n) { mWords[n >> 6] &= ~(uint64_t(1) ...
5
4
0
[{"id": "G0", "claim": "The public decodeInverseMaps method in cuda/VoxelBlockManager.cuh should have its arguments documented.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The arguments of the VoxelBlockManagerHandle constructor should be docum...
null
AcademySoftwareFoundation__openvdb__230
AcademySoftwareFoundation/openvdb
230
defect
94e0626a6774a6281d136ae1f4cef3ae38e7317a
1f5c7c84ec808f26ba5d59b3a2cd71892a9b6a50
points/PointSample.h for sampling numeric VDB volumes onto PointDataGrids
- Added point sample functionality for VDB Points to the Sample Points Houdini SOP - Moved filterPointCount functions on PointCount.h out of the internal namespace - Unit Tests
diff --git a/openvdb/points/PointCount.h b/openvdb/points/PointCount.h index bd907b810a..878fc5b4ff 100644 --- a/openvdb/points/PointCount.h +++ b/openvdb/points/PointCount.h @@ -117,6 +117,36 @@ Index64 inactiveGroupPointCount(const PointDataTreeT& tree, const Name& name, const bool inCoreOnly = false); +/// ...
16
15
1
[{"id": "G0", "claim": "The scalar/vector split of the sampling implementations appears unmotivated because IsVectorGrid seems unused, and the reviewer questions why the functionality is split this way.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Havi...
null
AcademySoftwareFoundation__openvdb__267
AcademySoftwareFoundation/openvdb
267
defect
e553d1c3c891ace4aa1d4270652844a1619f5b4c
7f1a646fbd7dab88d3ea18cba5d4f645414faf5f
Add methods to StringAttributeArray and StringAttributeWriteHandle
Added missing array() method for StringAttributeHandle and StringAttributeWriteHandle. Also added convenience hasIndex() method to StringAttributeWriteHandle for checking if a string exists in the metadata cache already. Updated StringAttributeWriteHandle unit tests to use hasIndex to verify it is working as intende...
diff --git a/openvdb/points/AttributeArrayString.cc b/openvdb/points/AttributeArrayString.cc index 7b19cb8b24..e680c07127 100644 --- a/openvdb/points/AttributeArrayString.cc +++ b/openvdb/points/AttributeArrayString.cc @@ -201,6 +201,12 @@ void StringAttributeHandle::get(Name& name, Index n, Index m) const } +cons...
2
2
0
[{"id": "G0", "claim": "Rename the new hasIndex method to contains to follow upcoming stdlib convention, per the suggested signature `bool contains(const Name& name) const;`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The two newly added methods (arr...
null
AcademySoftwareFoundation__openvdb__367
AcademySoftwareFoundation/openvdb
367
defect
afc1d7b333409625f4ddec2c03e9ab23cedf1a8f
aab8d68ed4cb35e0b28c00626bd4f2a79c5c584f
OVDB-42: TypeList-based alternative to UTvdbProcessTypedGrid
This PR introduces a generic type list class to the core library, along with a `GridBase::apply<TypeList, Op>` method that can be used in place of the `UTvdbProcessTypedGrid` family of functions. The latter are not obsolete, since they are implemented using a `UT_VDBType` switch, whereas `GridBase::apply` requires str...
diff --git a/openvdb/CHANGES b/openvdb/CHANGES index 8666514c7e..a03a2eb377 100644 --- a/openvdb/CHANGES +++ b/openvdb/CHANGES @@ -7,6 +7,9 @@ Version 6.0.1 - In development - Added new QuatTraits, MatTraits and ValueTraits type traits to complement VecTraits and added an IsSpecializationOf helper metafunct...
7
3
0
[{"id": "G0", "claim": "\"VolumeGridTypes\" would be a better name for NonPointGridTypes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Why is there no MaskGrid in the Houdini grid type lists (e.g. ScalarGridTypes)?", "category": "correctness",...
null