Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Updated cocopa to version 0.0.12
Browse files Browse the repository at this point in the history
* Implemented and tested support for `.cpp`-sketches.
* Done implementing the most relevant unit tests in cocopa.
* Two independent alpha testers confirmed proper working of the previous alpha releases.
* Updated to the latest revision of cocopa.
  • Loading branch information
elektronikworkshop authored and adiazulay committed Jan 19, 2021
1 parent b5714b6 commit 31e530c
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 8 deletions.
14 changes: 11 additions & 3 deletions BRANCHNOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ During merging I found some bugs within those functions - mainly due to the abov
**2020 02 21** Discovered problems and bugs in the current official release from Microsoft: Fixed event handling within board manager. Added validity checks when loading board configurations from arduino.json. Better error handling and code locality, for details see commit.
**2020 02 22** Worked on cocopa unit tests: restored broken tests and added platform test for built-in parser. Added path normalizing for include paths for both cocopa and vscode-arduino. Verified correct behaviour on Windows with latest release (alpha tester claimed it not to be working)
**2020 02 23** Several tests, fixes and improvements within cocopa. `Arduino.h` now added to forced includes. Fixed code which wasn't linted up to now. Added hint to end of build how to rebuild the IntelliSense configuration. Added missing version field to `c_cpp_properties.json`.
**2020 02 25** Implemented and tested support for `.cpp`-sketches. Done implementing the most relevant unit tests in cocopa. Two independent alpha testers confirm proper working of the previous alpha releases. Updated to the latest revision of cocopa.

## Status
| | Tasks |
Expand All @@ -112,8 +113,8 @@ During merging I found some bugs within those functions - mainly due to the abov
| **Configuration flags** | :heavy_check_mark: Provide global disable flag for IntelliSense auto-config |
| | :heavy_check_mark: Provide project specific override for the global flag - most users will likely use the default setup and disable auto-generation for very specific projects |
| **Unit tests** | :heavy_check_mark: Basic parser (known boards, match/no match)|
| | :white_check_mark: All unit tests in cocopa |
| | :white_check_mark: Test with cpp sketches |
| | :heavy_check_mark: All unit tests in cocopa |
| | :heavy_check_mark: Test with cpp sketches |
| **General** | :heavy_check_mark: Review and remove previous attempts messing with `c_cpp_properties.json` or IntelliSense (documented in the [General Tasks](#General-Tasks) section) `*` |
| | :heavy_check_mark: *Auto-run verify when* |
| |     :heavy_check_mark: a) setting a board `*` |
Expand Down Expand Up @@ -173,6 +174,7 @@ I will list every supporter here, thanks!
2020-02-21 Elektronik Workshop: 48 :beers: (12h coding)
2020-02-22 Elektronik Workshop: 44 :beers: (11h coding)
2020-02-23 Elektronik Workshop: 20 :beers: (5h coding)
2020-02-25 Elektronik Workshop: 12 :beers: (3h coding)

<!-- https://github.com/StylishThemes/GitHub-Dark/wiki/Emoji -->

Expand Down Expand Up @@ -219,7 +221,13 @@ I will list every supporter here, thanks!
* Load package.json and use values from therein instead of hard coding redundant values like shortcuts (like I did for the IntelliSense message in `arduino.ts`)
* Line splitting and other regexes
* Scan code for other hard coded stuff and take appropriate countermeasures

* Write good documentation/manual
* Integration of Arduino
* Project structure
* How does the compiling work
* Build/Arduino Backend
* Include paths
* Relation of IntelliSense and build
## Non-categorized Notes
### Integrate upstream changes into fork
```bash
Expand Down
29 changes: 28 additions & 1 deletion ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Visual Studio Code Extension for Arduino incorporates third party material from
18. vscode-extension-telemetry (https://github.com/Microsoft/vscode-extension-telemetry)
19. winreg (https://github.com/fresc81/node-winreg)
20. Winston (https://github.com/winstonjs/winston)

21. cocopa (https://github.com/elektronikworkshop/cocopa)

%% body-parser NOTICES, INFORMATION, AND LICENSE BEGIN HERE
=========================================
Expand Down Expand Up @@ -532,4 +532,31 @@ THE SOFTWARE.
=========================================
END OF Winston NOTICES, INFORMATION, AND LICENSE

%% cocopa NOTICES, INFORMATION, AND LICENSE BEGIN HERE
=========================================
Copyright (C) 2020 Uli Franke - Elektronik Workshop

All rights reserved.

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
=========================================
END OF cocopa NOTICES, INFORMATION, AND LICENSE

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
},
"dependencies": {
"body-parser": "^1.16.1",
"cocopa": "^0.0.10",
"cocopa": "^0.0.12",
"compare-versions": "^3.4.0",
"eventemitter2": "^4.1.0",
"express": "^4.14.1",
Expand Down

0 comments on commit 31e530c

Please sign in to comment.