Commit Graph

41 Commits

Author SHA1 Message Date
bdshenker
dc6a29c525 GIT #2899: Fix F' C header files (.h) which are not C++ compliant. (#2936) 2024-10-10 09:14:40 -07: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
Rob Bocchino
b89b5d91c4 Add DpWriter (#2593)
* Pull in framework changes from data-products branch

* Pull in changes to DpManager from data-products branch

* Pull in DpWriter from data-products branch

* Fix spelling

* Revise FileNameString

* Fix warnings in CI

* Fix static analysis warnings

* Fix static analysis warnings

* Revise formatting and comments

* Revise banner comments

* Revise FileNameString per PR comment

* Revise path names in config headers

If a header H.hpp exists in the F Prime source base, then

is dangerous. Because [project root] and [fprime root] are both
in the list of include paths, it's not clear whether this means "include
[project root]/config/H.hpp" or "include [fprime root]/config/H.hpp."

On the other hand,

or

has no such ambiguity, because only one of [project root]/config
and [fprime root]/config is in the list of include paths.

* Revise path names in config headers

If a header H.hpp exists in the F Prime source base, then

`#include "config/H.hpp"`

is dangerous. Because [project root] and [fprime root] are both
in the list of include paths, it's not clear whether this means "include
[project root]/config/H.hpp" or "include [fprime root]/config/H.hpp."

On the other hand,

include <config/H.hpp>

or

`#include "config/H.hpp"`

has no such ambiguity, because only one of [project root]/config
and [fprime root]/config is in the list of include paths.
2024-03-28 16:09:38 -07:00
M Starch
87fa458054 Fixing undefined behavior in lib CRC (#2269) 2023-09-06 16:09:35 -07:00
Josh Soref
fbfc9ad563 Update check-spelling to v0.0.21 (#1790)
* spelling: async

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: basic

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: file for

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: files

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: generic

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: github.com/nasa/fprime

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: header

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: into

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: multiline

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: sync

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: workaround

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* Update check-spelling to v0.0.21

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: M Starch <LeStarch@googlemail.com>
2022-12-06 10:19:16 -08:00
M Starch
b76d8c9a0c Update/types refactor as constants (#1623)
* lestarch: adding logical types implementation into Linux/StandardTypes.hpp

* lestarch: removing VxWorks StandardTypes from repository

* updated fprime types for correct compilation with vxworks and baremetal

* lestarch: refactoring types and configuration header w.r.t type design

* lestarch: replacing usages of AssertArg with FwAssertArgType

* lestarch: missspelled configuration

* lestarch: minor compilation fixes

* lestarch: renaming StandardTypes.hpp -> PlatformTypes.hpp

* lestarch: updating PRI tokens

* lestarch: replacing BasicTypes.hpp includes with FpConfig.hpp

* lestarch: UT and compilation fixes for types refactor

* lestarch: sp

* lestarch: fixing RPI issues in PassiveConsoleTextLogger

* lestarch: converting RPI build to debug

* lestarch: removing duplicate config imports

* lestarch: fixing documentation

* lestarch: fixing up multiple definitions and RPI compilation problems

* lestarch: reverting debug build

* lestarch: reverting platform types to class-based constants

* lestarch: reworking basic types

* lestarch: configured types refactor into classes

* lestarch: fixing bugs with static constants in classes

* lestarch: fixing platform types spelling and documentation

* lestarch: adding include guards to types headers

Co-authored-by: Kevin F Ortega <kevin.f.ortega@jpl.nasa.gov>
2022-08-18 13:25:56 -07: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
Joshua Anderson
5003e4086c Check for object self-assignment in assignment constructor 2021-09-28 10:48:14 -07:00
Avi
de1a4e7bfd Fix minor typos in code comments/messages etc. 2021-09-21 09:31:13 -07:00
Avi
05b53855e5 Fix minor typos in project documentation. 2021-09-21 09:31:13 -07:00
Joshua Anderson
30e43abb9d Various: Convert C style casts to C++ style casts 2021-09-16 15:35:13 -07:00
Joshua Anderson
f1f5d499c0 Remove deprecated C style headers 2021-08-31 11:36:16 -07:00
Joshua Anderson
9c4f2cc6c8 Backport 80char replacement (#923)
* Backport replacement of EightyCharacterString with Fw::String

* Remove test usage of 80 charater strings
2021-08-20 16:05:52 -07:00
Joshua Anderson
f43a551fe2 Standardize assignment operator signature (#925)
C++ assignment operators should not return const value to match behavior of primative types
2021-08-18 15:24:18 -07:00
Joshua Anderson
4cd74518ad Replace usage of 80 Char String with FixLengthString (#893) 2021-08-10 12:53:38 -07:00
Joshua Anderson
c875ab3b17 Resolve merge conflicts merging from devel branch 2021-08-02 12:14:15 -07:00
Timothy Canham
d589f0a25c VxWorks/C++ fixes (#797)
* Changed PrmBuffer m_data to m_bufferData for VxWorks

* More m_data instances

* VxWorks and virtual destructors

* Added Vxworks fatal handler compile

* Fixed active component schematron

* Changed ActiveTextLogger to use Fw::Logger to avoid VxWorks mushing of output

* fix(BufferManager): size checking logic and assert cleanup

* fix: change U64 to POINTER_CAST

Co-authored-by: Kyle Botteon <botteon@jpl.nasa.gov>
2021-07-20 16:07:42 -07:00
Joshua Anderson
1b9c785ce6 Remove void from parameterless functions (#811) 2021-07-14 12:54:01 -07:00
M Starch
eebef10711 lestarch: updating .hpp and .md files for clean doxygen run (#676) 2021-06-07 21:10:09 -07:00
Josh Soref
bec627a96e spelling: routines
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:49 -05:00
Josh Soref
a49284d05b spelling: publicly
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:49:49 -05:00
Josh Soref
6563251105 spelling: netscape's
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:32 -05:00
Josh Soref
74ecffa190 spelling: macos
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:32 -05:00
Josh Soref
898f9dbd22 spelling: dramatically
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:29 -05:00
Josh Soref
af0076d890 spelling: calculated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-03-07 14:48:27 -05:00
Michael D Starch
6c81117ef5 mstarch: removing mk and its ilk from the system 2020-10-15 17:53:32 -07:00
Michael D Starch
7a654fc7af mstarch: final preparations for automatic C++ API generation 2020-08-26 22:23:49 -07:00
Michael D Starch
b175787830 mstarch: preparing for automated documentation - part1 2020-08-26 19:13:37 -07:00
jhdeerin
64e42a2d2f Addressed missing header guards linter complaint 2020-07-22 15:57:41 -04:00
jhdeerin
021bace720 Addressed 'assignment not returning *this' linter complaints 2020-07-22 12:33:32 -04:00
Kevin F. Ortega
0f9b7f04f5 added crcchecker 2020-07-14 12:56:38 -07:00
Timothy Canham
8e874631ef Merge fixes from gcc 7.2 build 2020-07-06 23:13:55 -07:00
Michael D Starch
136af07edd mstarch: more header cleaning for issue: #189 2019-04-18 14:12:02 -07:00
Michael D Starch
1563ed7ba3 mstarch: purging remaining ITAR notices for: #189 2019-04-17 14:04:08 -07:00
Michael D Starch
8d15d4c04f mstarch: simplifying the build-system 2019-04-09 18:01:10 -07:00
Michael D Starch
f4c910fc39 mstarch: fixing missing dependencies 2019-03-26 15:10:22 -07:00
Michael Starch
7b454110ec mstarch: adding semi-automatic dependency management 2019-03-19 18:01:01 -07:00
M Starch
108f2e7c5a mstarch: initial migration of @campuzan's CMake 2019-02-20 12:34:37 -08:00
Gene Merewether
c4080a376d Fixes for fprime build 2018-01-17 10:20:41 -08:00
Timothy Canham
6d9c4c2d06 Initial check-in 2017-06-16 08:25:38 -07:00