Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
cbbeb55
Add unit tests for shrinking processed buffer
kubiak-jpl Mar 25, 2026
543990c
Update DpWriter to shrink processed buffers after processing
kubiak-jpl Mar 25, 2026
fc6fa39
Formatting
LeStarch Mar 30, 2026
5372062
Updated DpWriter to use the dataSize in the container header to shrin…
kubiak-jpl Mar 31, 2026
58c9381
Update DpWriter SDD with container shrinking steps
kubiak-jpl Mar 31, 2026
88c9bff
Re-run formatting
kubiak-jpl Mar 31, 2026
6784bc9
Initial build and unit test for DpCompressProc
kubiak-jpl Apr 2, 2026
f1cae22
Added unit tests for DpCompressProc
kubiak-jpl Apr 6, 2026
6ae17e8
ZLib compression engine implemented with unit tests
kubiak-jpl Apr 8, 2026
2c1a5fb
Updated the DpCompressProc record format to use array records
kubiak-jpl Apr 9, 2026
f384a28
Incorporated compressed data products into the Ref demo
kubiak-jpl Apr 9, 2026
1274db2
Removed ENABLE_CHUNKING parameter
kubiak-jpl Apr 14, 2026
d423f0c
Add documentation for DpCompressProc
kubiak-jpl Apr 14, 2026
1c65aee
Updated sdds for DpCompressProc and DpZLibCompressor
kubiak-jpl Apr 15, 2026
db50046
Updated diagrams in DpCompressProc sdd
kubiak-jpl Apr 16, 2026
c438e32
Fixed Requirements display in DpZLibCompressor sdd
kubiak-jpl Apr 16, 2026
a004d68
Merge remote-tracking branch 'origin/devel' into dev/dpcompressproc
kubiak-jpl Jun 3, 2026
4a57e95
Fix DpCompressProc compile errors from latest F Prime devel
kubiak-jpl Jun 3, 2026
37eacac
Cleaned up TODO comments
kubiak-jpl Jun 4, 2026
bac2c93
Update sdd.md with a description of the compression state machine
kubiak-jpl Jun 4, 2026
d695ad2
Add Compression State Machine diagram
kubiak-jpl Jun 4, 2026
0140228
Update DpCompressProc SDD with State Machine diagram
kubiak-jpl Jun 4, 2026
4a3fd69
Fixed compile warning in DpZLibCompressor
kubiak-jpl Jun 5, 2026
0b48918
Address spelling issues
kubiak-jpl Jun 5, 2026
df19f20
Fixing spelling in the proper location
kubiak-jpl Jun 5, 2026
4877373
Fix grammar issues
kubiak-jpl Jun 6, 2026
af60f16
Merge branch 'devel' into dev/dpcompressproc
kubiak-jpl Jun 8, 2026
3125644
Fixed formatting for DpCompressProc and DpZLibCompressor
kubiak-jpl Jun 9, 2026
a53a8c9
Merge branch 'devel' into dev/dpcompressproc
kubiak-jpl Jun 10, 2026
5d87700
Remove += operator due to RHEL compiler error about type promotion
kubiak-jpl Jun 10, 2026
db3044f
Add explicit to internal DpZLibCompressor constructor
kubiak-jpl Jun 10, 2026
54dfffb
Add zlib development files to rhel8 container workflow
kubiak-jpl Jun 10, 2026
7027d29
Add zlib-devel to other RHEL8 workflows
kubiak-jpl Jun 10, 2026
199f2b6
Add cast to FwSizeStoreType
kubiak-jpl Jun 11, 2026
f520ffb
Dummy cast to make RHEL8 happy
kubiak-jpl Jun 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
Bies
binaryfile
BINDIR
Bitfield

Check warning on line 48 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`Bitfield` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
bitfield
bitmaps
bitshifts
Expand Down Expand Up @@ -74,8 +74,8 @@
callgraph
Campuzano
carg
CBE

Check warning on line 77 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`CBE` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
CBEs

Check warning on line 78 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`CBEs` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
CBF
CBLOCK
CCACHE
Expand Down Expand Up @@ -120,7 +120,7 @@
comlogger
COMLOGGERTEE
commandability
Commandability

Check warning on line 123 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`Commandability` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
COMMANDDISPATCHERIMPL
COMMANDDISPATCHERIMPLCFG
COMPACKET
Expand All @@ -130,7 +130,7 @@
COMSPLITTER
COMSTUB
constexpr
COUNTINGSEMAPHORE

Check warning on line 133 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`COUNTINGSEMAPHORE` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
countingsemaphore
cookiecutter
cooldown
Expand Down Expand Up @@ -204,9 +204,11 @@
DPCAT
DPCATALOG
DPCFG
DPCOMPRESSPROC
DPMANAGER
dps
DPWRITER
DPZLIBCOMPRESSOR
DRAINBUFFERS
drv
drvtcpserversocket
Expand All @@ -230,7 +232,7 @@
endmacro
endraw
enduml
EPP

Check warning on line 235 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`EPP` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
epp
ERRORCHECK
errornum
Expand All @@ -247,6 +249,7 @@
exploitability
externalproject
FAKELOGGER
FALLTHRU
fbuild
FDISP
fdp
Expand Down Expand Up @@ -435,6 +438,7 @@
LOGGERRULES
LOGPACKET
lol
Longf
Lsb
lseek
LTK
Expand Down Expand Up @@ -478,6 +482,9 @@
MState
multiarch
multitool
MUUM
MUUMMMUMMUMM
MUUMMMUMMUMMCUUXUUUXXCCCCCCCCCXCMCMMUCUMMXXXUXMCUCCCUUXCXXXUXC
mutexattr
Mutexed
muxed
Expand Down Expand Up @@ -555,8 +562,8 @@
Peet
penv
PERLMOD
PFR

Check warning on line 565 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`PFR` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
PFRs

Check warning on line 566 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`PFRs` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
PHASERMEMBEROUT
PINGENTRIES
PINGIN
Expand Down Expand Up @@ -635,6 +642,7 @@
REMOVEDIRECTORY
REMOVEFILE
reprioritize
reser
RGD
rhel
RHH
Expand Down Expand Up @@ -787,7 +795,7 @@
trinomials
trywait
tts
Tumbar

Check warning on line 798 in .github/actions/spelling/expect.txt

View workflow job for this annotation

GitHub Actions / Check Spelling

`Tumbar` is ignored by check-spelling because another more general variant is also in expect (ignored-expect-variant)
tumbar
typedef
typedef'ed
Expand All @@ -798,6 +806,7 @@
uitofp
UML
umod
uncomp
unconfigured
UNEXP
unistd
Expand All @@ -819,6 +828,7 @@
VFILE
VID
vla
voidpf
VOXL
vwong
vxworks
Expand All @@ -837,5 +847,7 @@
xsltproc
xxxx
XXYY
zalloc
zfree
ziext
zimri
6 changes: 3 additions & 3 deletions .github/workflows/build-test-rhel8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
Framework:
runs-on: ubuntu-latest
container:
image: redhat/ubi8:8.10

Check notice on line 31 in .github/workflows/build-test-rhel8.yml

View workflow job for this annotation

GitHub Actions / Check Spelling

Line matches candidate pattern (container images) `image: [-\w./:@]+` (candidate-pattern)
steps:
- name: "Install dependencies"
run: |
dnf install -y git python3.12 python3.12-pip llvm-toolset libasan libubsan java-1.8.0-openjdk
dnf install -y git python3.12 python3.12-pip llvm-toolset libasan libubsan java-1.8.0-openjdk zlib-devel
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: "Checkout F´ Repository"
uses: actions/checkout@v4
Expand All @@ -52,7 +52,7 @@
steps:
- name: "Install dependencies"
run: |
dnf install -y git python3.12 python3.12-pip llvm-toolset libasan libubsan java-1.8.0-openjdk
dnf install -y git python3.12 python3.12-pip llvm-toolset libasan libubsan java-1.8.0-openjdk zlib-devel
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: "Checkout F´ Repository"
uses: actions/checkout@v4
Expand All @@ -73,7 +73,7 @@
steps:
- name: "Install dependencies"
run: |
dnf install -y git python3.12 python3.12-pip llvm-toolset libasan libubsan java-1.8.0-openjdk
dnf install -y git python3.12 python3.12-pip llvm-toolset libasan libubsan java-1.8.0-openjdk zlib-devel
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: "Checkout F´ Repository"
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Fw/Types/Serializable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
}
FW_ASSERT(this->getBuffAddr());
// copy buffer to our buffer
(void)memcpy(&this->getBuffAddr()[this->m_serLoc], buff, static_cast<size_t>(length));
(void)memmove(&this->getBuffAddr()[this->m_serLoc], buff, static_cast<size_t>(length));

Check warning

Code scanning / CodeQL

Unchecked function argument Warning

This use of parameter buff has not been checked.
this->m_serLoc += static_cast<Serializable::SizeType>(length);
this->m_deserLoc = 0;

Expand Down
2 changes: 2 additions & 0 deletions Svc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/Ccsds/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/ComAggregator/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/ComRetry/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/PassThroughRouter/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/DpCompressProc/")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/DpZLibCompressor/")
43 changes: 43 additions & 0 deletions Svc/DpCompressProc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
####
# F Prime CMakeLists.txt:
#
# SOURCES: list of source files (to be compiled)
# AUTOCODER_INPUTS: list of files to be passed to the autocoders
# DEPENDS: list of libraries that this module depends on
#
# More information in the F´ CMake API documentation:
# https://fprime.jpl.nasa.gov/latest/docs/reference/api/cmake/API/
#
####

# Module names are derived from the path from the nearest project/library/framework
# root when not specifically overridden by the developer, i.e. the module defined by
# `MyProj/Some/Path/CMakeLists.txt` will be named `MyProj_Some_Path`.

add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/Types")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/Ports")

register_fprime_library(
AUTOCODER_INPUTS
"${CMAKE_CURRENT_LIST_DIR}/DpCompressProc.fpp"
SOURCES
"${CMAKE_CURRENT_LIST_DIR}/DpCompressProc.cpp"
# DEPENDS
# MyPackage_MyOtherModule
)


register_fprime_ut(
AUTOCODER_INPUTS
"${CMAKE_CURRENT_LIST_DIR}/DpCompressProc.fpp"
SOURCES
"${CMAKE_CURRENT_LIST_DIR}/test/ut/AbstractState.cpp"
"${CMAKE_CURRENT_LIST_DIR}/test/ut/DpCompressProcTestMain.cpp"
"${CMAKE_CURRENT_LIST_DIR}/test/ut/DpCompressProcTester.cpp"
"${CMAKE_CURRENT_LIST_DIR}/test/ut/Rules/ProcRequest.cpp"
"${CMAKE_CURRENT_LIST_DIR}/test/ut/Rules/Testers.cpp"
#"${CMAKE_CURRENT_LIST_DIR}/test/ut/Scenarios/Random.cpp"
DEPENDS
STest
UT_AUTO_HELPERS
)
Loading
Loading