Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Initial commit from f5090258 of the internal arnold_usd repo.

Co-Authored-By: Pal Mezei <sirpalee@users.noreply.github.com>
Co-Authored-By: Sebastien Blaineau-Ortega <sebastienblor@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 12, 2019
0 parents commit fa60de1
Show file tree
Hide file tree
Showing 750 changed files with 113,022 additions and 0 deletions.
123 changes: 123 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -4
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: true
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeBlocks: Preserve
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeIsMainRegex: '([-_](test|unittest))?$'
IndentCaseLabels: true
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: false
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 1
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
RawStringFormats:
- Language: TextProto
Delimiters:
- 'pb'
- 'proto'
EnclosingFunctions:
- 'PARSE_TEXT_PROTO'
BasedOnStyle: google
- Language: Cpp
Delimiters:
- 'cc'
- 'cpp'
BasedOnStyle: llvm
CanonicalDelimiter: 'cc'
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Auto
TabWidth: 4
UseTab: Never
...

51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
*/build
*/install
*/download
.externalToolBuilders

# Python
*.py[cod]

# C++
*.so
*.a
*.lai
*.la
*.dylib
*.dll
*.o
*.os
*.slo
*.lo

# Compilation database
compile_commands.json

# SCons
.sconsign.dblite
custom*.py
dist
build
install

# Eclipse
.settings
.*project

# JetBrains
.idea
cmake-build-*

# Visual Studio Code
.vscode

# Generated plugInfo.json files
**/plugInfo.json

# backup and temp
*.swp
*.bak
*~

# mac cruft
.DS_Store
58 changes: 58 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
Contributing to Arnold USD
=======================

# Do’s and Don’ts

* **Search tickets before you file a new one.** Add to tickets if you have new information about the issue.
* **Keep tickets short but sweet.** Make sure you include all the context needed to solve the issue. Don't overdo it. Great tickets allow us to focus on solving problems instead of discussing them.
* **Take care of your ticket.** When you spend time to report a ticket with care we'll enjoy fixing it for you.
* **Use [GitHub-flavored Markdown](https://help.github.com/articles/markdown-basics/).** Especially put code blocks and console outputs in backticks (```` ``` ````). That increases the readability.
* **Do not litter.** Don’t add +1’s _unless_ specifically asked for and don’t discuss offtopic issues.

## Bug Reports

In short, since you are most likely a developer, provide a ticket that you
_yourself_ would _like_ to receive.

We depend on _you_ (the community) to contribute in making the project better
for everyone. So debug and reduce your own issues before creating a ticket and
let us know of all the things you tried and their outcome. This applies double
if you cannot share a reproduction with us because of internal company policies.

Please include steps to reproduce and _all_ other relevant information,
including any other relevant dependency and version information.

## Feature Requests

Please try to be precise about the proposed outcome of the feature and how it
would related to existing features.

## Pull Requests

We **love** pull requests!

All contributions _will_ be licensed under the Apache 2.0 license.

Code/comments should adhere to the following rules:

* All changes require test coverage (where it's applicable) to ensure it does
not break during refactor work, as well as ensure consistent behavior across
supported platforms.
* Comments are required for public APIs. See Documentation Conventions below.
* When documenting APIs and/or source code, don't make assumptions or make
implications about race, gender, religion, political orientation, or anything
else that isn't relevant to the project.
* Remember that source code usually gets written once and read often: ensure
the reader doesn't have to make guesses. Make sure that the purpose and inner
logic are either obvious to a reasonably skilled professional, or add a
comment that explains it.
* Pull requests will be squashed and merged. Please add a detailed description;
it will be used in the commit message and paraphrased in release notes.

## More Details

For coding and documentation conventions check out these sub-pages:

[Code Conventions](docs/conventions.md)

[Documentation Conventions](docs/documenting.md)
Loading

0 comments on commit fa60de1

Please sign in to comment.