Skip to content

Commit

Permalink
Change draft for #93 (region improvements)
Browse files Browse the repository at this point in the history
  • Loading branch information
Larry Golding committed May 12, 2018
1 parent 5fd2a95 commit 499642b
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 5 deletions.
1 change: 1 addition & 0 deletions Agendas/20180516.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
1. Editors' report
1. Approval of new changes:
1. [Issue #93](https://github.com/oasis-tcs/sarif-spec/issues/93): "Problems with regions"
1. [Issue #149](https://github.com/oasis-tcs/sarif-spec/issues/149): "Support nested graphs"
1. [Issue #161](https://github.com/oasis-tcs/sarif-spec/issues/161): "Expand code flows to represent dynamic execution events"
1. [Issue #103](https://github.com/oasis-tcs/sarif-spec/issues/103): "Specify handling of line breaks"
Expand Down
Binary file not shown.
11 changes: 11 additions & 0 deletions Documents/Schema changes between SARIF v1 and v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,17 @@ These overrides are noted on the earlier change.

## Changes to review at TC #17

- [Issue #93](https://github.com/oasis-tcs/sarif-spec/issues/93): "Problems with regions"

In the `region` object:

- Remove the `offset` property.
- Remove the `length` property.
- Add a `charOffset` property of type `integer`, optional.
- Add a `charLength` property of type `integer`, optional.
- Add a `byteOffset` property of type `integer`, optional.
- Add a `byteLength` property of type `integer`, optional.

- [Issue #138](https://github.com/oasis-tcs/sarif-spec/issues/138): "Consider a download/install uri for the tool"

In the `tool` object:
Expand Down
2 changes: 2 additions & 0 deletions EditorsReports/Editor's report 2018-05-16.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Presented at TC Meeting #17, May 16th, 2018

1. The formal spec language for the following additional issues was made available for review on the specified dates, and we will move their adoption in today's meeting:

1. [Issue #93](https://github.com/oasis-tcs/sarif-spec/issues/93): "Problems with regions" -- made available on May 11th, 2018.

1. [Issue #103](https://github.com/oasis-tcs/sarif-spec/issues/103): "Specify handling of line breaks" -- made available on May 5th, 2018.

1. [Issue #138](https://github.com/oasis-tcs/sarif-spec/issues/138): "Consider a download/install uri for the tool" -- made available on May 1st, 2018.
Expand Down
22 changes: 17 additions & 5 deletions Schemata/sarif-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1158,19 +1158,31 @@
},

"endColumn": {
"description": "The column number of the last character in the region.",
"description": "The column number of the character following the end of the region.",
"type": "integer",
"minimum": 1
},

"offset": {
"description": "The zero-based offset from the beginning of the file of the first byte or character in the region.",
"charOffset": {
"description": "The zero-based offset from the beginning of the file of the first character in the region.",
"type": "integer",
"minimum": 0
},

"length": {
"description": "The length of the region in bytes or characters.",
"charLength": {
"description": "The length of the region in characters.",
"type": "integer",
"minimum": 0
},

"byteOffset": {
"description": "The zero-based offset from the beginning of the file of the first byte in the region.",
"type": "integer",
"minimum": 0
},

"byteLength": {
"description": "The length of the region in bytes.",
"type": "integer",
"minimum": 0
},
Expand Down

0 comments on commit 499642b

Please sign in to comment.