125 Commits

Author SHA1 Message Date
Rob Bocchino
c018bea624 Revise C++ code gen for arrays 2025-11-16 13:59:10 -08:00
Rob Bocchino
d16c2b2588 Regenerate test output 2025-11-16 13:49:34 -08:00
Rob Bocchino
3144c7dee9 Merge branch 'main' into stack-safe-constr 2025-11-16 13:40:21 -08:00
Andrei Tumbar
2b642a7f5c Use C++ zero args constructor when possible 2025-11-05 15:19:04 -08:00
Andrei Tumbar
db2d76c1f4 Added test before I start work 2025-11-05 10:23:02 -08:00
Rob Bocchino
498e4be91e Revise test files to get fpp-check to work 2025-11-03 09:06:46 -08:00
Rob Bocchino
37d3d754d2 Regenerate unit test reference files 2025-11-03 08:51:28 -08:00
Vince Woo
bfe22012b9 Adapting codegen for name change from SerializeBufferBase to LinearBufferBase 2025-10-21 15:44:28 -07:00
Rob Bocchino
b7473c5790
Merge pull request #845 from nasa/issue-793-array-init-list
Revise code gen for array init
2025-10-14 16:36:38 -07:00
Rob Bocchino
6879dae576 Revise C++ code gen for arrays
Revise comment
2025-10-13 09:55:25 -07:00
Will MacCormack
ad5acea807 Changes to fix check-cpp 2025-10-10 18:26:39 -05:00
Will MacCormack
666718f49d Move to Fw::Endianness::BIG 2025-10-10 18:00:24 -05:00
Will MacCormack
b5e4c7b23f Add Little Endian Serialization Option 2025-10-10 07:59:03 -05:00
Rob Bocchino
5dc78fb4c6 Revise assertion in generated code 2025-08-21 10:59:09 -07:00
Rob Bocchino
04728bb35d Refactor array sizes 2025-08-20 15:08:46 -07:00
Rob Bocchino
ff77a27581 Revise array code gen
Make single element constructor explicit
2025-08-20 13:44:51 -07:00
Rob Bocchino
8428fa8c5c Refactor array code gen 2025-08-20 13:21:47 -07:00
Rob Bocchino
2e91d1a14d Revise analysis and tests
Allow large-size arrays
Add tests
2025-08-20 10:27:18 -07:00
Rob Bocchino
129aeaa8c6 Revise array code gen
Pass initializer list by reference in constructor

This seems to help the compiler disambiguate constructor arguments
in some cases
2025-08-19 15:09:13 -07:00
Rob Bocchino
ea5486c3a3 Revise code generation for arrays
Remove multi-element constructor
Use initializer list constructor instead
2025-08-19 14:52:29 -07:00
Rob Bocchino
7b563d2f27 Revise array code gen
Use initializer list for array values
2025-08-19 13:48:13 -07:00
Rob Bocchino
71163724f8 Revise array code gen
Add initializer list constructor
2025-08-19 13:31:14 -07:00
Rob Bocchino
413e2a8e44 Revise array code gen
Use the single-value constructor when all the element values
are the same
2025-08-19 13:21:42 -07:00
Rob Bocchino
bd62d81ad2 Refactor array code gen 2025-08-19 08:55:13 -07:00
Rob Bocchino
597935d1cc Revise array code gen
Use FwSizeType instead of U32 for indices
Add operator= with initializer list
2025-08-19 08:38:09 -07:00
Rob Bocchino
48c31f571a Revise array code gen 2025-08-18 17:46:51 -07:00
Rob Bocchino
35025b270f Revise comments in array code gen 2025-08-18 13:53:16 -07:00
Rob Bocchino
1b882aa8db
Merge branch 'main' into tumbar-serialize-deprecated 2025-08-01 09:47:18 -07:00
Rob Bocchino
ffd60021f8 Revise struct and array code gen 2025-08-01 08:37:22 -07:00
Andrei Tumbar
9f6eb62526 Clean up the final lingering C++ files 2025-07-31 15:37:53 -07:00
Andrei Tumbar
faa74d6316 Deprecate serialize/deserialize in favor of [de]serialize[From/To] 2025-07-30 19:16:59 -07:00
jawest
b0a6615835 Merge branch 'main' into issue-759 2025-07-30 10:53:57 -07:00
jawest
c52306a06f Regen fpp-to-cpp test ref files 2025-07-30 10:17:04 -07:00
M Starch
a6b6900551 Change struct getters/setters to include _ 2025-07-22 21:10:38 -07:00
Andrei Tumbar
b7594ebc26 Clean up spaces in formatted string 2025-06-06 09:43:11 -07:00
Andrei Tumbar
71203e6f3c Clean up the init code 2025-06-05 16:24:44 -07:00
Andrei Tumbar
07aa0e3b86 Rework struct toString() 2025-06-05 16:10:38 -07:00
Andrei Tumbar
036512c9c5 Array toString() with loop 2025-05-15 15:08:34 -07:00
Rob Bocchino
3ce7b62487 Revise C++ code gen for formatting
Regenerate unit tests
2025-05-13 17:47:28 -07:00
Andrei Tumbar
90f06667f5 Fix compare 2025-05-08 10:17:05 -07:00
Andrei Tumbar
baff2247df Clean up size checks 2025-05-08 07:30:15 -07:00
Andrei Tumbar
45295d17fc Generate loop for toString() on Struct member arrays 2025-05-06 17:41:05 -07:00
Andrei Tumbar
d8dfc67bcd Fix bugs in lexer to get tests to pass 2025-04-21 20:38:35 -07:00
M Starch
e2a9a4e3b5 Review fixes; Update refs 2025-04-01 13:24:05 -07:00
M Starch
528f4560ea Adding cpp-check fixes 2025-03-28 16:42:05 -07:00
M Starch
70b941e48d Updated ref for new code 2025-03-28 16:41:34 -07:00
Andrei Tumbar
1035a25ad4 Remove FpConfig include, fix PRI underscores 2025-03-26 16:13:16 -07:00
Andrei Tumbar
865e9aa3f3 Remove builtin types 2025-03-26 10:54:33 -07:00
Andrei Tumbar
e132e4f28f Update refs 2025-03-17 15:51:46 -07:00
Andrei Tumbar
0804409618 Use FpConfig instead of FppConfig, update tests to generate .cpp files so that they may be cpp-checked. Fix builtin type alias handling 2025-03-17 15:46:14 -07:00