14 Commits

Author SHA1 Message Date
Vince Woo
48e4720419
Created new SerialBufferBase as a parent of SerializeBufferBase (now renamed LinearBufferBase). (#4288)
* Created new SerialBufferBase as a parent of SerializeBufferBase. Renaming interface functions to be less confusing.

* Deprecating copyRawOffset. No direct use-cases in F' core.

* Make SerialBufferBase a true pure virtual interface.

* Changing Serializable to work with SerialBufferBase parent interface.

* Changing copyRaw and copyRawOffset to work with SerialBufferBase

* Updating documentation for SerialBufferBase usage

* Adding some documentation. Adding missing ASSERT in copyRaw. Fixing some bugs that new ASSERT uncovered.

* Renaming SerializeBufferBase to LinearBufferBase. Add a using declaration to maintain backwards compatability. Properly mark LinearBufferBase functions as override.

* Filling in the rest of the docstrings for the classes in Serializable

* Removing redundant virtual keyword on override function

* Applying clang formatting

* Incorporating PR comments

* Fix compile issues

* Bump version to alpha

* Format

* v

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2025-11-06 16:23:20 -08:00
Thomas Boyer-Chammard
ab58cf18fb
Format Fw and add to CI (#3976)
* Format Fw and add to CI

* Fix include of HPP file instead of H in extern C

* Fix format strings
2025-08-04 12:56:02 -07:00
M Starch
d13c7bf529
Fixes #1708 by Completing the work In Fw (#3173)
* Making string formatting into a fprime implementation choice

* Removing printf from Fw and cleaning-up toString methods

* Fixes to get UTs to compile

* Reverting test change to assert

* Removing error console and restoring assert functionality

* Create empty library to avoid 3.16 limitations on interface libs

* Turning off unused check on intentionally unused variable

* sp

* Fixing recursive calls and other CI problems

* Fixing compile issues
2025-02-11 17:44:45 -08:00
Johan Bertrand
d5181219d0
Fixed conversion warnings on framework tests (#2606)
---------

Co-authored-by: Michael D Starch <Michael.D.Starch@jpl.nasa.gov>
2024-04-29 18:39:20 -07:00
Thomas Boyer-Chammard
bdfe2419b5
Add Fw::ObjectName to hold Fw::ObjBase name (#2497)
* Implement Fw::ObjectName

* format

* Add test case

* Fix PolyDb UT and spelling

* Explicit constructor and use CHAR

* Revise ObjBase.hpp

Don't include ObjectName header unless object names are enabled

* Update requirements.txt for fpp==2.1.0a4

* Fix static code analysis warnings

* cast string_copy return value to void

* Resolve unchecked argument

---------

Co-authored-by: Robert L. Bocchino Jr <bocchino@jpl.nasa.gov>
2024-03-04 19:31:59 -08:00
M Starch
3842bcaf47
Merge branch 'devel' into release/v3.0.0 2021-12-14 16:09:07 -08:00
Fabrizio Sandri
1411b40d42
Fix snprintf (#1156)
* ObjBase snprintf fix

* InputPortBase snprintf fix

* InputSerializePort snprintf fix

* OutputPortBase snprintf fix

* OutputSerializePort snprintf fix

* PortBase snprintf fix
2021-12-13 14:51:15 -08:00
M Starch
c263a81132 mstarch: merging devel into v3.0.0 2021-10-04 18:19:29 -07:00
Joshua Anderson
234bb5d176
Replace NULL with nullptr (#1049) 2021-09-29 09:04:52 -07:00
Avi
de1a4e7bfd Fix minor typos in code comments/messages etc. 2021-09-21 09:31:13 -07:00
Joshua Anderson
f1f5d499c0 Remove deprecated C style headers 2021-08-31 11:36:16 -07:00
Joshua Anderson
1b9c785ce6
Remove void from parameterless functions (#811) 2021-07-14 12:54:01 -07:00
Timothy Canham
84afa1b95e Merge Autocoder/framework/Gse fixes from helicopter 2019-02-27 10:56:36 -08:00
Timothy Canham
6d9c4c2d06 Initial check-in 2017-06-16 08:25:38 -07:00