Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into props-metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Gary Oberbrunner <[email protected]>
  • Loading branch information
garyo committed Oct 1, 2024
2 parents 4f99557 + a8f10e1 commit 54c6459
Show file tree
Hide file tree
Showing 61 changed files with 225 additions and 48 deletions.
71 changes: 71 additions & 0 deletions .github/workflows/release-sign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Contributors to the OpenFX Project.

#
# Releases are signed via https://github.com/sigstore/sigstore-python.
# See https://docs.sigstore.dev for information about sigstore.
#
# This action creates a .tar.gz of the complete OpenFX source tree at
# the given release tag, signs it via sigstore, and uploads the
# .tar.gz and the associated .tar.gz.sigstore credential bundle.
#
# To verify a downloaded release at a given tag:
#
# % pip install sigstore
# % sigstore verify github --cert-identity https://github.com/AcademySoftwareFoundation/openfx/.github/workflows/release-sign.yml@refs/tags/<tag> openfx-<tag>.tar.gz
#

name: Sign Release

on:
release:
types: [published]
workflow_dispatch:

permissions:
contents: read

jobs:
release:
name: Sign & upload release artifacts
runs-on: ubuntu-latest

env:
TAG: ${{ github.ref_name == 'main' && 'OFX_Release_1.5' || github.ref_name }}
permissions:
contents: write
id-token: write
repository-projects: write

steps:

- name: Set Prefix
# The tag name begins with a 'v', e.g. "v3.2.4", but the prefix
# should omit the 'v', so the tarball "openfx-3.2.4.tar.gz"
# extracts files into "openfx-v3.2.4/...". This matches
# the GitHub release page autogenerated artifact conventions.
run: |
echo OPENFX_PREFIX=openfx-${TAG//OFX_Release_}/ >> $GITHUB_ENV
echo OPENFX_TARBALL=openfx-${TAG//OFX_Release_}.tar.gz >> $GITHUB_ENV
shell: bash

- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 10 # use this if tag is older than current head
fetch-tags: true

- name: Create archive
run: git archive --format=tar.gz -o ${OPENFX_TARBALL} --prefix ${OPENFX_PREFIX} ${TAG}

- name: Sign archive with Sigstore
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
with:
inputs: ${{ env.OPENFX_TARBALL }}
upload-signing-artifacts: false
release-signing-artifacts: false

- name: Upload release archive
env:
GH_TOKEN: ${{ github.token }}
run: gh release upload ${TAG} ${OPENFX_TARBALL} ${OPENFX_TARBALL}.sigstore.json
2 changes: 2 additions & 0 deletions Documentation/genPropertiesReference.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause

import os,sys, getopt,re

badlyNamedProperties = ["kOfxImageEffectFrameVarying", "kOfxImageEffectPluginRenderThreadSafety"]
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX Programming Guide
========================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample1_Basics.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _basicExample:

This is a guide to the basic machinery an OFX plugin uses to communicate
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample2_Invert.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _invertExample:

This guide will take you through the fundamentals of processing images
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample3_Gain.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _gainExample:

This guide will take you through the basics of creating and using
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample4_Saturation.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _saturationExample:

This guide will take you through the basics of creating effects that can
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExample5_Circle.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _circleExample:

This guide will introduce the spatial coordinate system used by OFX and
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Guide/ofxExamples.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Foreword
========

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/DoxygenIndex.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _doxygenIndex:

==============================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/apiChanges_1_2_Chapter.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Changes to the API for 1.2
==========================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX reference
================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxClipPreferences.rst
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _ImageEffectClipPreferences:

Image Effect Clip Preferences
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxCoordSystem.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. CoordinateSystems:
Coordinate Systems
==================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxCoreAPI.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
The Generic Core API
====================

Expand Down
3 changes: 2 additions & 1 deletion Documentation/sources/Reference/ofxHostStruct.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxHost:

The OfxHost Struct
Expand Down Expand Up @@ -32,4 +33,4 @@ suite, or NULL if it does not support it. Please note that a suite
cannot be fetched until the very first action is called on the plug-in,
which is the load action.

.. doxygenstruct:: OfxHost
.. doxygenstruct:: OfxHost
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxImageClip.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _imageClip:
Images and Clips
================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxImageEffectAPI.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
The Image Effect API
====================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxImageEffectActions.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _ImageEffectActions:

Actions Passed to An Image Effect
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxImageEffectContexts.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _imageEffectContexts:
Image Effect Contexts
=====================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxInteractActions.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. InteractActions:
Actions Passed to an Interact
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxInteracts.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Interacts
=========

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxLoadingSequence.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Sequences of Operations Required to Load a Plug-in
---------------------------------------------------

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxPackaging.rst
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Packaging OFX Plug-ins
======================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxParameter.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Effect Parameters
=================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxPluginStruct.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxPlugin:

The OfxPlugin Struct
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxProcessingArch.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Image Processing Architectures
==============================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxPropertiesByObject.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. warning::

This section is outdated and should be properly generated automatically from source code instead
Expand Down
10 changes: 10 additions & 0 deletions Documentation/sources/Reference/ofxPropertiesReference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,18 @@ Properties Reference

.. doxygendefine:: kOfxImageEffectPropColourManagementAvailableConfigs

.. doxygendefine:: kOfxImageEffectPropColourManagementBasic

.. doxygendefine:: kOfxImageEffectPropColourManagementConfig

.. doxygendefine:: kOfxImageEffectPropColourManagementCore

.. doxygendefine:: kOfxImageEffectPropColourManagementFull

.. doxygendefine:: kOfxImageEffectPropColourManagementNone

.. doxygendefine:: kOfxImageEffectPropColourManagementOCIO

.. doxygendefine:: kOfxImageEffectPropColourManagementStyle

.. doxygendefine:: kOfxImageEffectPropComponents
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxRendering.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Rendering
=========

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxStatusCodes.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _statusCodes:

Status Codes
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxStructure.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
Structure of The OFX and the Image Effect API
=============================================

Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/Reference/ofxThreadSafety.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _threadRecursionSafety:
Thread and Recursion Safety
===========================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxDrawSuiteV1:
OfxDrawSuiteV1: Drawing Overlays
================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxImageEffectSuiteV1:
OfxImageEffectSuiteV1
=====================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxInteractSuiteV1:
OfxInteractSuiteV1
==================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxMemorySuiteV1:
OfxMemorySuiteV1
================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxMessageSuiteV1:
OfxMessageSuiteV1
=================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxMessageSuiteV2:
OfxMessageSuiteV2
=================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxImageEffectOpenGLRenderSuiteV1:
OfxImageEffectOpenGLRenderSuiteV1
=================================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxParameterSuiteV1:
OfxParameterSuiteV1
===================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxParametricParameterSuiteV1:
OfxParametricParameterSuiteV1
=============================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxProgressSuiteV1:
OfxProgressSuiteV1
==================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxPropertySuiteV1:
OfxPropertySuiteV1
==================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _suitesReference:

OpenFX suites reference
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxMultiThreadSuiteV1:
OfxMultiThreadSuiteV1
=====================
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. _OfxTimeLineSuiteV1:
OfxTimeLineSuiteV1
==================
Expand Down
1 change: 1 addition & 0 deletions Documentation/sources/ReleaseNotes/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX Release Notes
====================

Expand Down
3 changes: 2 additions & 1 deletion Documentation/sources/ReleaseNotes/relnotes-1.4.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX Release Notes for V1.4
=============================

Expand Down Expand Up @@ -43,5 +44,5 @@ Removals
- :c:macro:`kOfxInteractPropViewportSize`
- :c:macro:`kOfxParamPropPluginMayWrite`
- :c:macro:`kOfxImageEffectPropInAnalysis`
- :c:macro:`kOfxParamDoubleTypeNormalised*` - removed in favor of :c:macro:`kOfxParamDoubleType*`
- :c:macro:`kOfxParamDoubleTypeNormalised` - removed in favor of :c:macro:`kOfxParamDoubleType`

1 change: 1 addition & 0 deletions Documentation/sources/ReleaseNotes/relnotes-1.5.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
OpenFX Release Notes for V1.5
=============================

Expand Down
2 changes: 2 additions & 0 deletions Documentation/sources/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

# SPDX-License-Identifier: BSD-3-Clause

import subprocess, os, shutil
project = 'OpenFX'
copyright = '2024, Contributors to the OpenFX Project'
Expand Down
9 changes: 3 additions & 6 deletions Documentation/sources/index.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.. SPDX-License-Identifier: CC-BY-4.0
.. OpenFX documentation master file, created by
sphinx-quickstart on Tue Mar 29 18:02:16 2016.
You can adapt this file completely to your liking, but it should at least
Expand All @@ -15,15 +16,11 @@ The OpenFX documentation is organized as follows:
- The :doc:`release notes<ReleaseNotes/index>` contains release notes, documenting changes in recent OpenFX releases.

This documentation is also
`available online <http://openfx.readthedocs.io/en/master/>`__
and can be downloaded as a
`PDF <https://readthedocs.org/projects/openfx/downloads/pdf/master/>`_ or
`HTML zip <https://readthedocs.org/projects/openfx/downloads/htmlzip/master/>`__
file.
`available online <https://docs.openeffects.org>`__.

This manual is maintained largely by volunteers.

The `Creative Commons Attribution-ShareAlike 4.0 International License (CC-BY-SA 4.0) <https://creativecommons.org/licenses/by-sa/4.0/>`_ is used for this manual, which is a free and open license. Though there are certain restrictions that come with this license you may in general freely reproduce it and even make changes to it. However, rather than distribute your own version of this manual, we would much prefer if you would send any corrections or changes to the OpenFX association.
The `Creative Commons Attribution 4.0 International License (CC-BY 4.0) <https://creativecommons.org/licenses/by/4.0/>`_ is used for this manual, which is a free and open license. Though there are certain restrictions that come with this license you may in general freely reproduce it and even make changes to it. However, rather than distribute your own version of this manual, we would much prefer if you would send any corrections or changes to the OpenFX maintainers.

.. toctree::
:maxdepth: 1
Expand Down
Loading

0 comments on commit 54c6459

Please sign in to comment.