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

Commit 31e530c

Browse files
elektronikworkshopadiazulay
authored andcommitted
Updated cocopa to version 0.0.12
* 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.
1 parent b5714b6 commit 31e530c

File tree

4 files changed

+43
-8
lines changed

4 files changed

+43
-8
lines changed

BRANCHNOTES.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ During merging I found some bugs within those functions - mainly due to the abov
9393
**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.
9494
**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)
9595
**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`.
96+
**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.
9697

9798
## Status
9899
| | Tasks |
@@ -112,8 +113,8 @@ During merging I found some bugs within those functions - mainly due to the abov
112113
| **Configuration flags** | :heavy_check_mark: Provide global disable flag for IntelliSense auto-config |
113114
| | :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 |
114115
| **Unit tests** | :heavy_check_mark: Basic parser (known boards, match/no match)|
115-
| | :white_check_mark: All unit tests in cocopa |
116-
| | :white_check_mark: Test with cpp sketches |
116+
| | :heavy_check_mark: All unit tests in cocopa |
117+
| | :heavy_check_mark: Test with cpp sketches |
117118
| **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) `*` |
118119
| | :heavy_check_mark: *Auto-run verify when* |
119120
| |     :heavy_check_mark: a) setting a board `*` |
@@ -173,6 +174,7 @@ I will list every supporter here, thanks!
173174
2020-02-21 Elektronik Workshop: 48 :beers: (12h coding)
174175
2020-02-22 Elektronik Workshop: 44 :beers: (11h coding)
175176
2020-02-23 Elektronik Workshop: 20 :beers: (5h coding)
177+
2020-02-25 Elektronik Workshop: 12 :beers: (3h coding)
176178

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

@@ -219,7 +221,13 @@ I will list every supporter here, thanks!
219221
* 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`)
220222
* Line splitting and other regexes
221223
* Scan code for other hard coded stuff and take appropriate countermeasures
222-
224+
* Write good documentation/manual
225+
* Integration of Arduino
226+
* Project structure
227+
* How does the compiling work
228+
* Build/Arduino Backend
229+
* Include paths
230+
* Relation of IntelliSense and build
223231
## Non-categorized Notes
224232
### Integrate upstream changes into fork
225233
```bash

ThirdPartyNotices.txt

+28-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Visual Studio Code Extension for Arduino incorporates third party material from
2525
18. vscode-extension-telemetry (https://github.com/Microsoft/vscode-extension-telemetry)
2626
19. winreg (https://github.com/fresc81/node-winreg)
2727
20. Winston (https://github.com/winstonjs/winston)
28-
28+
21. cocopa (https://github.com/elektronikworkshop/cocopa)
2929

3030
%% body-parser NOTICES, INFORMATION, AND LICENSE BEGIN HERE
3131
=========================================
@@ -532,4 +532,31 @@ THE SOFTWARE.
532532
=========================================
533533
END OF Winston NOTICES, INFORMATION, AND LICENSE
534534

535+
%% cocopa NOTICES, INFORMATION, AND LICENSE BEGIN HERE
536+
=========================================
537+
Copyright (C) 2020 Uli Franke - Elektronik Workshop
538+
539+
All rights reserved.
540+
541+
The MIT License (MIT)
542+
543+
Permission is hereby granted, free of charge, to any person obtaining a copy
544+
of this software and associated documentation files (the "Software"), to deal
545+
in the Software without restriction, including without limitation the rights
546+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
547+
copies of the Software, and to permit persons to whom the Software is
548+
furnished to do so, subject to the following conditions:
549+
550+
The above copyright notice and this permission notice shall be included in
551+
all copies or substantial portions of the Software.
552+
553+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
554+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
555+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
556+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
557+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
558+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
559+
THE SOFTWARE.
560+
=========================================
561+
END OF cocopa NOTICES, INFORMATION, AND LICENSE
535562

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@
604604
},
605605
"dependencies": {
606606
"body-parser": "^1.16.1",
607-
"cocopa": "^0.0.10",
607+
"cocopa": "^0.0.12",
608608
"compare-versions": "^3.4.0",
609609
"eventemitter2": "^4.1.0",
610610
"express": "^4.14.1",

0 commit comments

Comments
 (0)