Skip to content

Commit

Permalink
Initial dev branch for maya-hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
roopavr-adsk committed Nov 6, 2023
0 parents commit d78bd1b
Show file tree
Hide file tree
Showing 309 changed files with 36,830 additions and 0 deletions.
92 changes: 92 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
Language: Cpp

BasedOnStyle: WebKit
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveMacros: 'true'
AlignConsecutiveDeclarations: 'true'
AlignEscapedNewlines: Left
AlignTrailingComments: 'true'
AllowAllConstructorInitializersOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: 'false'
AlwaysBreakTemplateDeclarations: MultiLine
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: 'true'
AfterEnum: 'true'
AfterFunction: 'true'
AfterStruct: 'true'
AfterUnion: 'true'
BreakBeforeTernaryOperators: 'true'
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
ColumnLimit: '100'
FixNamespaceComments: 'true'
IncludeBlocks: Regroup
IncludeCategories:

# Desired final ordering:
# 0. Glew must be included before any other GL header
# 1. Related header
# 2. All private headers
# 3. All public headers from this repository (maya-usd)
# 4. Pixar + USD headers
# 5. Autodesk + Maya headers
# 6. Other libraries' headers
# 7. C++ standard library headers
# 8. C system headers
# 9. Conditional includes

# 0. GL loaders must be included before any other GL header
# Negative priority puts it above the default IncludeIsMainRegex
- Regex: '<pxr/imaging/(garch/glApi.h|glf/glew.h)>'
Priority: -1

# 1. Related header
# Handled by the default IncludeIsMainRegex regex, and auto-assigned
# Priority 0

# 3. All public headers from this repository (maya-usd)
- Regex: '^<(mayaUsd.*|mayaHydraLib|AL|usdMaya)/'
Priority: 3

# 4. Pixar + USD headers
- Regex: '^<pxr/'
Priority: 4

# 5. Autodesk + Maya headers
- Regex: '^<(maya|ufe)/'
Priority: 5

# 7. C++ standard library headers
# angle brackets, no directory, no extension
- Regex: '^<[A-Za-z0-9_-]+>$'
Priority: 7

# 8. C system headers
# angle brackets, no directory, end with ".h"
- Regex: '^<[A-Za-z0-9_-]+\.h>$'
Priority: 8

# 2. All private headers
- Regex: '^"'
Priority: 2

# 6. Other libraries' headers
- Regex: '^<'
Priority: 6

# 9. Conditional includes
# Not reordered by clang-format, we need to manually make sure these come last

MaxEmptyLinesToKeep: '1'
NamespaceIndentation: None
UseTab: Never

...
Empty file added .clang-format-ignore
Empty file.
8 changes: 8 additions & 0 deletions .clang-format-include
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
\.c$
\.cc$
\.cpp$
\.cxx$
\.h$
\.hh$
\.hpp$
\.hxx$
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore clang-format commit
7c64b5df1f1cdbf879aaef12ed64b7fdd77a3af1
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: santosg87

---

**Describe the bug**
A clear and concise description of what the bug is.

**Steps to reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Attachments**
If applicable, add screenshots, sample files, etc to help explain your problem.

**Specs (if applicable):**
- OS & version [e.g. Windows 10]
- Compiler & version [e.g. gcc 6.3.1]
- Maya version [e.g. Maya 2020]
- Maya USD commit SHA [e.g. dev at caa921c1]
- Pixar USD commit SHA [e.g. dev at b85ddac2]

**Additional context**
Add any other context about the problem here.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/build-issue-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Build issue report
about: Before opening a new build issue, please review doc/build.md
title: ''
labels: help wanted
assignees: ''

---

**Describe the issue**
A description of what the issue is.

**Build log**
Please attach a build_log.txt

**Specs:**
- OS & version [e.g. Windows 10]
- Compiler & version [e.g. gcc 6.3.1]
- Maya version [e.g. Maya 2020]
- Maya USD commit SHA [e.g. dev at caa921c1]
- Pixar USD commit SHA [e.g. dev at b85ddac2]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
Loading

0 comments on commit d78bd1b

Please sign in to comment.