461 Commits

Author SHA1 Message Date
Matteo
7b85edcad2 Add Black Formatting 2021-06-23 10:20:26 -07:00
Joshua Anderson
e08ebee5b6 Mark tlmWrite argument const for user types 2021-06-21 17:10:04 -07:00
Joshua Anderson
3f48e6bbae Make serializable type getters as const functions 2021-06-21 17:09:33 -07:00
M Starch
3065968013 lestarch: add in ability to override telemetry time 2021-06-21 12:40:46 -07:00
Joshua Anderson
8d3b1ca999 Move string copyBuff from implmentation to string base class 2021-06-15 09:25:47 -07:00
Saba Janamian
5a9cf17533
saba-ja: rm old GTest files from UT folder (#694) 2021-06-10 10:33:21 -07:00
saba-ja
b4ef486945 saba-ja: rm old binary UT files 2021-06-09 08:44:46 -07:00
rohandkn
ca64fc82af
XML support for enum default values (#681)
* Added support for default attributes in discrete enum declaration in XML

* Added tests and fixed header file include in hpp file

* Added enum fixes to cpp template, changed default documentation, and tested XmlEnumParser.py

* Added enum fixes to cpp template, changed default documentation, and tested XmlEnumParser.py

* Added test for uninitialized value for not-set default values

* Added nothing

* Removed changes from gitignore

* Added default value tests for enum

* Added minor changes to improve readability of enum default value initialization

* Merged changes from upstream f prime

* Resolved Enum XML merge conflict

* Resolved Enum XML merge conflict

* Added change to enum default value test

* Removed unneeded files
2021-06-07 19:01:57 -07:00
Saba Janamian
8eff6d1a9b
saba-ja: fixed cs security warning uninitialized variables 2021-06-07 13:21:28 -07:00
M Starch
97b4d51dbd lestarch: removing framework UTs by default 2021-06-03 20:06:40 -07:00
Joshua Anderson
8058e79185 Remove schema refrence in XML files
Our XML files had incorrect schema paths, so they needed to be corrected or removed.
Because of the upcoming transition to F'' YAML modeling, removing the schema refrences is an easier
approach than correcting all component xml files.
2021-06-01 20:38:33 -07:00
M Starch
7b99c948f9
Merge pull request #591 from LeStarch/update/dict-version
lestarch: updating fprime to include versioning information
2021-05-28 12:57:36 -07:00
M Starch
a481be0869
Merge pull request #620 from cmuck/cm-fix-shellcheck-warnings
Fix shellcheck warnings
2021-05-28 10:44:16 -07:00
M Starch
76626526c6 lestarch: updating fprime to include versioning information 2021-05-28 09:28:13 -07:00
Joshua Anderson
9099fa3484
Cleanup XML Schemas 2021-05-27 16:21:51 -07:00
Christian Muck
1bcf16a363 Fix shellcheck warnings
Warnings reported by shellcheck:
  * https://www.shellcheck.net/wiki/SC2071 -- > is for string comparisons
  * https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately.
  * https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |...
  * https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of legacy backticked `...`
  * https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing and word splitting

Usage:
docker run --rm -v "$PWD:/mnt" koalaman/shellcheck:stable $(find . -name "*.sh")
2021-05-25 23:44:27 +02:00
Zack Kneupper
d4983cb1c4
Feature/safely open files (#598)
* Open files safely using context managers (with blocks)

* Safely open xml file in with block

Co-authored-by: Zachary Kneupper <zacharykneupper@Zacharys-MBP.lan>
2021-05-20 18:00:07 -07:00
Serwio YK
07782a4dbd
Added "one-line" appending
I added test_list.extend() to make code more short.
2021-05-18 14:53:46 +03:00
saba-ja
31bfd5c035 saba-ja: make NUM_CONSTANTS static 2021-05-14 17:07:18 -07:00
saba-ja
b2540e090e saba-ja: fix external enum number of items 2021-05-13 23:07:38 -07:00
M Starch
4abc8e5fd2
Merge pull request #477 from saba-ja/fix_471
Fix 471: Adding a `MAX` enum item as the last item in the external enum
2021-05-13 17:12:59 -07:00
saba-ja
aea0fc34d1 saba-ja: using NUM_CONSTANTS to track number of items in enum 2021-05-13 16:28:11 -07:00
saba-ja
26d403b8a2 saba-ja: using LENGTH to track number of items in enum 2021-05-13 13:39:34 -07:00
metzdigital
1fffe228c7
bcmetz: fixes error when trying to create an XML array of type U8 (#539)
Co-authored-by: Brandon Metz <bcmetz@jpl.nasa.gov>
2021-05-11 15:02:52 -07:00
saba-ja
1edb2cd5fb saba-ja: added ENUM_LENGTH 2021-04-27 22:32:24 -07:00
M Starch
e7b53e0159
Merge pull request #462 from Kemyt/refactor_topology_dict_generation
Refactor topology dictionary generation
2021-04-27 12:53:39 -07:00
Muath Assawadi
6f3262a425
Remove extra space 2021-04-22 10:46:18 +03:00
saba-ja
8b6b95bbb2 saba-ja:fix 471 2021-04-12 09:05:21 -07:00
Aaron-WSL
77f1f02f4e Fixed TypeError after error during code generation 2021-03-26 11:32:50 +00:00
Kemyt
d50fedb30b Fix a typo 2021-03-17 15:33:56 +01:00
Kemyt
7cc8cb53d0 Add a description for a new file to README file 2021-03-17 14:55:45 +01:00
Kemyt
6ff1949f85 Refactor topology dictionary generation
It gets rid of a lot of code duplication and unifies the way
codegen.py and gds_dictgen generate topology dictionaries.
2021-03-12 22:07:04 +01:00
M Starch
73525071a9
Merge pull request #453 from billallen256/schematron_exception
Enabled exceptions for schematron validation failures.
2021-03-08 10:53:39 -08:00
M Starch
a9bc48cc64
Merge pull request #455 from LeStarch/update/fix-schematron-internal
lestarch: fixing schematron check for internal interfaces
2021-03-08 10:27:46 -08:00
Michael D Starch
0a098cdfeb lestarch: fixing async_ports 2021-03-07 12:54:48 -08:00
Michael D Starch
5d2a970d3a lestarch: fixing schematron check for internal interfaces 2021-03-07 12:49:40 -08:00
Bill Allen
34ebae82f1 Enabled exceptions for schematron validation failures. 2021-03-07 13:13:26 -07:00
Josh Soref
271a670cd0 spelling: writing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:51 -05:00
Josh Soref
fd98f01cca spelling: within
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:51 -05:00
Josh Soref
455042aed7 spelling: with
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:51 -05:00
Josh Soref
7a1d6a6130 spelling: visitors
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:51 -05:00
Josh Soref
6a7724392e spelling: tuple
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:51 -05:00
Josh Soref
56f81a86ec spelling: together
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:51 -05:00
Josh Soref
4a000f1e50 spelling: telemetry
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:50 -05:00
Josh Soref
8d1082d2b2 spelling: symbol
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:50 -05:00
Josh Soref
81b9654b68 spelling: suffix
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:50 -05:00
Josh Soref
7b3461ac30 spelling: standard
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:50 -05:00
Josh Soref
e49dd61386 spelling: specified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:50 -05:00
Josh Soref
4dd1218e98 spelling: severity
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:50 -05:00
Josh Soref
004c9b06a3 spelling: serializable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:50 -05:00