Skip to content

Commit 82b03e1

Browse files
Merge pull request #15 from Autodesk/release/1.4.0
Release/1.4.0
2 parents 8fe5406 + 1cddb12 commit 82b03e1

File tree

87 files changed

+2237
-2197
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+2237
-2197
lines changed

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Configuration file for Travis CI (https://travis-ci.org)
2+
#
3+
# It used as a status check for all PRs and
4+
# to generate the build-status-icon in the main README.md-file.
5+
6+
language: go
7+
8+
go:
9+
- 1.11.x
10+
11+
matrix:
12+
include:
13+
- os: linux
14+
compiler: gcc
15+
- os: osx
16+
osx_image: xcode7.2
17+
18+
before_script:
19+
- cd Build
20+
21+
script:
22+
- sh build.sh

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ You can also contribute by reporting bugs in the [Issue tracker](../../issues),
1616

1717
2. When contributing to this repository, please first discuss the change you wish to make via issue with the [maintainers](#maintainers) of this repository. This way, we can ensure that there is no overlap between contributions or internal development work.
1818

19+
3. Adhere to the [code of conduct](CODE_OF_CONDUCT.md).
20+
1921
## Submitting a pull request
2022
When ready to contribute, fork this repository and submit a pull request that references the issue it resolves. Be sure to include a clear and detailed description of the changes you've made so that we can verify them and eventually merge.
2123

Documentation/IDL.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66

7-
| **Version** | 0.1.0 |
7+
| **Version** | 1.3.2 |
88
| --- | --- |
99

1010
## Disclaimer
@@ -76,6 +76,7 @@ Element **\<component>** of type **CT\_Component**
7676
| namespace | **ST\_NameSpace** | required | | Specifies the namespace for the components's functionality. |
7777
| copyright | **xs:string** | required | | The legal copyright holder. |
7878
| basename | **ST\_BaseName** | required | | The basename will be used as prefix for generated filenames and all sorts of identifiers in the generated source code. |
79+
| version | **ST\_Version** | required | | The three digit vesion of this component. |
7980
| year | **ST\_Year** | optional | the current year | The year associcated with the copyright. |
8081
| @anyAttribute | | | | |
8182

@@ -97,13 +98,13 @@ Element **\<license>** of type **CT\_License**
9798

9899
![element license](images/element_license.png)
99100

100-
The \<license> element contains a list of at least one child [license line](#3-license-line) element.
101+
The \<license> element contains a list of at least one child [line](#3-line) element.
101102
The license lines will be included as comments at the start of all generated source code files.
102103

103-
## 3. License Line
104-
Element **\<licenseline>** of type **CT\_LicenseLine**
104+
## 3. Line
105+
Element **\<line>** of type **CT\_LicenseLine**
105106

106-
![element licenseline](images/element_licenseline.png)
107+
![element line](images/element_line.png)
107108

108109
##### Attributes
109110
| Name | Type | Use | Default | Annotation |
@@ -163,7 +164,10 @@ Element **\<global>** of type **CT\_Global**
163164
The \<global> element contains a list of [method](#9-function-type) elements that define the exported global functions of the component.
164165
The names of the \<method> elements MUST be unique within the \<global> element.
165166

166-
TODO: explanation of siganture of release and version method.
167+
The `releasemethod`-attribute must be the name of a \<method> within the \<global> element of a method that has exactly one parameter with `type="handle"`, `class="BaseClass"` and `pass="in"`.
168+
The `versionmethod`-attribute must be the name of a \<method> within the \<global> element of a method that has exactly three parameters with `type="uint32"` and `pass="out"`.
169+
170+
If the `journalmethod` attribute is given, it must be the name of a \<method> within the \<global> element of a method that has exactly one parameter with `type="string"` and `pass="in"`.
167171

168172
## 8. Class
169173
Element **\<class>** of type **CT\_Class**
@@ -314,6 +318,11 @@ TODO: add all simple types here.
314318
ST_Type `string` denotes a null-terminated string. If a component requires arbitrary strings that can contain null-characters, on should use the type `basicarray` of class `uint8`.
315319

316320
### 17.2 ScalarType
321+
ST_ScalarType `bool` denotes a boolean value (`true` or `false`).
322+
Although this can be encoded in a single bit, the thin C89-layer APIs generated by ACT will use a unsigned 8 bit value (a `uint8` in ACT terms) to encode a boolean value.
323+
A numerical value of `0` encodes `false`, all oher values encode `true`.
324+
Implementations and bindings should use the definition of a boolean value native to the respective language of the implementation or binding.
325+
317326
### 17.3 ComposedType
318327
### 17.4 Name
319328
### 17.5 Description
@@ -332,8 +341,7 @@ ST_Type `string` denotes a null-terminated string. If a component requires arbit
332341

333342

334343
# Appendix A. XSD Schema of ACT-IDL
335-
See [ACT.xsd](../Source/ACT.xsd).
336-
TODO: include the .xsds content here.
344+
See [ACT.xsd](../Source/ACT.xsd)
337345

338346
# Appendix B. Example of ACT-IDL
339-
dolor sit amen
347+
See [libPrimes.xml](../Examples/Primes/libPrimes.xml)
-21.2 KB
Loading
-3.54 KB
Loading
-2.47 KB
Loading

Documentation/images/element_enum.png

-4.36 KB
Loading
-3.36 KB
Loading
-4.78 KB
Loading
-5.95 KB
Loading
-4.92 KB
Loading
-3.57 KB
Loading
-11.3 KB
Binary file not shown.

Documentation/images/element_line.png

9.17 KB
Loading
-5.24 KB
Loading
-3.54 KB
Loading
-3.66 KB
Loading
-5.51 KB
Loading

Documentation/images/type_export.png

-2.05 KB
Loading
-4.43 KB
Loading

Examples/Primes/LibPrimes_component/Bindings/CDynamic/libprimes_dynamic.cpp

Lines changed: 0 additions & 193 deletions
This file was deleted.

0 commit comments

Comments
 (0)