* Add event ID filter to PassiveConsoleTextLogger
* Add event ID filter to ActiveTextLogger
* Add const qualifier to filtered event list pointers
* Fix assert argument types
* Fix clang format errors
* Fix copy-paste error on include file
Co-authored-by: Thomas Boyer-Chammard <49786685+thomas-bc@users.noreply.github.com>
* Add missing initialization to ActiveTextLogger constructor
---------
Co-authored-by: Ian Brault <ian.r.brault@jpl.nasa.gov>
Co-authored-by: Thomas Boyer-Chammard <49786685+thomas-bc@users.noreply.github.com>
Co-authored-by: M Starch <LeStarch@googlemail.com>
* Update F' Time handling with FPP struct and clean up TIME flags
* Update documentation to indicate required time base options
* Remove time context comparison from Time compare method and FpySequencer
* UT updates
* Remove time add/sub context assertions, upload context compare logic and UTs, and doc updates
* Update Fw::Time SDD serializables section
* Markdown format fix
* Markdown format fix
* Markdown format fix
* Markdown format fix
* Bump FPP to v3.0.0a14
---------
Co-authored-by: M Starch <LeStarch@googlemail.com>
* Add FwBaseIdType, updates ActiveLogger, CmdDispatcher, TlmPacketizer to use Fw types, update unit tests
* Update unit tests, rename FwBaseIdType to FwIdType
* Cleanup
* Change type of sizeOfZeros
* Add FwIdType to TestConfigDeployment overriden config
* Add annotation
* Update Ref linuxTimer base id
* Remove FwSignedSizeType from file
* Restoring FwSignedSizeType to seek offsets
* Fixing usages and UTs
* Fixes on Linux
* CI fix
* CI round 3
* CI rev 4
* Fixing code scan errors
* Review fixes - pt 1
* Failed to save
* NATIVE_INT_TYPE use in toString
* NATIVE_INT_TYPE use in SimpleObjRegistry
* NATIVE_INT_TYPE use in Asserts
* NATIVE_INT_TYPE use in Fw/Comp
* NATIVE_INT_TYPE use in getCapacity
* NATIVE_INT_TYPE use in getEntries
* NATIVE_INT_TYPE use in size/length
* NATIVE_INT_TYPE use in FILE_NAME_ARG
* NATIVE_INT_TYPE use in Fw (misc)
* NATIVE_INT_TYPE use in identifier
* NATIVE_INT_TYPE use in Fw (misc II)
* POINTER_CAST in Buffer
* POINTER_CAST in Serializable
* sp
* Removing no longer used DefaultTypes.hpp
* Fixes to accomidate Fw refactor
* Unit-test and CI fixes
* Fixing review comments - pt 1
* ActiveTextLogger: make tests runnable
* ActiveTextLogger: fix unit tests
* ActiveTextLogger: use camelCase for test names
* ActiveTextLogger: add test for workstation timestamp
* ActiveTextLogger: remove logging of local workstation time (issue #2815)
* ActiveTextLogger: mention file truncation in the SDD
* Changing PRId32 to PRIu32 for time fields.
* Assert of string compare to ASSERT_STREQ
---------
Co-authored-by: M Starch <LeStarch@googlemail.com>
* Os::File refactor: open w/ basic stub, posix UTs
* Refactoring Os::File for all methods, less UTs
* Adding rules-based common tests
* Fixing posix file for common UTs
* Adding WriteRead and WriteReadSeek tests
* Working random tests
* Working randomized tests and stub testing
* Fixing PrmDb unit tests
* Updating files to used FwSignedSizeType
* Factoring out the synthetic file system
* Initial work on CmdSequencer UTs
* Fixing linux implementation
* Newlines at end of file
* sp
* Static analysis checks
* Changing API to use enums
* Refactoring for proper class tree
* CmdSequencer UTs - WIP
* CmdSequencer UTs work
* Adding copy constructor functionality
* Spelling and static analysis fixes
* Copy constructor/assignment operator UTs and fixes
* Initial CRC work
* Working CRC and FPP models
* Minor UT fixes
* Correcting CMake choices implementation
* MAking implementation choices real dependencies
* Fixing implementation to use source files
* Fixing posix file read/write permissions
* Allowing None implementations
* Fixed CI breakages
* Fixing MyRules.hpp formatting
* Minor CRC unit test fix
* Removing direct write support
* Changing get delegate to static method of interface
* Replacing old comments with new comments
* Fixing friend regression
* Review fixes
* Fixing serialization method usages
* Review fixes
* Fixing RPI build
* Fixing FwBuffSizeType overflow
* Fixing review comment
* Renaming FwExternalSize -> FwSizeStoreType
* WIP: FPP v2
* Initial integration of FPP UT generation
* Updating UT GTestBase.hpp includes
* Update fpp version
* Revise header path
* Revise test; add modified generated code
* Revise modified code gen
* Revise modified generated code
* Add and move files
* Revise Fpp tests
* Add fpp deps
* Update fpp version
* Update include paths
* Fix unit tests
* Fix unit tests
* Revise TlmPacketizer test
* Fix unit tests
* Fix unit tests
* Delete temporary files
* Updating for new FPP tools flags
* Bump for fixed FPP tools
* Migrating TcpServer unit tests to v3.4.0 standards
* Migrating Udp unit tests to v3.4.0 standards
* Migrating LinuxSpiDriver unit tests to v3.4.0 standards
* Migrating LinuxI2cDriver unit tests to v3.4.0 standards
* Migrating LinuxGpioDriver unit tests to v3.4.0 standards
* Migrating TcpClient unit tests to v3.4.0 standards
* Migrating StreamCrossover unit tests to v3.4.0 standards
* Migrating SignalGen unit tests to v3.4.0 standards
* Migrating Checksum unit tests to v3.4.0 standards
* Migrating queued unit tests to v3.4.0 standards
* Migrating empty unit tests to v3.4.0 standards
* Migrating passive unit tests to v3.4.0 standards
* Migrating active unit tests to v3.4.0 standards
* Migrating FilePacket unit tests to v3.4.0 standards
* Migrating Logger unit tests to v3.4.0 standards
* Migrating port_return_type unit tests to v3.4.0 standards
* Migrating ext_dict unit tests to v3.4.0 standards
* Migrating time_tester unit tests to v3.4.0 standards
* Migrating serial_passive unit tests to v3.4.0 standards
* Migrating tlm_multi_inst unit tests to v3.4.0 standards
* Migrating param2 unit tests to v3.4.0 standards
* Migrating param_string unit tests to v3.4.0 standards
* Migrating command_string unit tests to v3.4.0 standards
* Migrating command_res unit tests to v3.4.0 standards
* Migrating tlm_onchange unit tests to v3.4.0 standards
* Migrating param_multi_inst unit tests to v3.4.0 standards
* Migrating command2 unit tests to v3.4.0 standards
* Migrating port_nogen unit tests to v3.4.0 standards
* Migrating tlm2 unit tests to v3.4.0 standards
* Migrating command_tester unit tests to v3.4.0 standards
* Migrating event2 unit tests to v3.4.0 standards
* Migrating param_tester unit tests to v3.4.0 standards
* Migrating tlm_string unit tests to v3.4.0 standards
* Migrating testgen unit tests to v3.4.0 standards
* Migrating log_tester unit tests to v3.4.0 standards
* Migrating port_loopback unit tests to v3.4.0 standards
* Migrating param_enum unit tests to v3.4.0 standards
* Migrating command_multi_inst unit tests to v3.4.0 standards
* Migrating log1 unit tests to v3.4.0 standards
* Migrating event_multi_inst unit tests to v3.4.0 standards
* Migrating serialize_user unit tests to v3.4.0 standards
* Migrating telem_tester unit tests to v3.4.0 standards
* Migrating param1 unit tests to v3.4.0 standards
* Migrating event_throttle unit tests to v3.4.0 standards
* Migrating string_port unit tests to v3.4.0 standards
* Migrating command1 unit tests to v3.4.0 standards
* Migrating noargport unit tests to v3.4.0 standards
* Migrating time_get unit tests to v3.4.0 standards
* Migrating event_enum unit tests to v3.4.0 standards
* Migrating comp_no_namespace unit tests to v3.4.0 standards
* Migrating event1 unit tests to v3.4.0 standards
* Migrating event_string unit tests to v3.4.0 standards
* Migrating tlm1 unit tests to v3.4.0 standards
* Migrating comp_diff_namespace unit tests to v3.4.0 standards
* Migrating tlm_enum unit tests to v3.4.0 standards
* Migrating pass_by_attrib unit tests to v3.4.0 standards
* Migrating stress unit tests to v3.4.0 standards
* Migrating interface1 unit tests to v3.4.0 standards
* Migrating templates unit tests to v3.4.0 standards
* Migrating FileUplink unit tests to v3.4.0 standards
* Migrating ComLogger unit tests to v3.4.0 standards
* Migrating SystemResources unit tests to v3.4.0 standards
* Migrating TlmPacketizer unit tests to v3.4.0 standards
* Migrating ComStub unit tests to v3.4.0 standards
* Migrating ComSplitter unit tests to v3.4.0 standards
* Migrating Health unit tests to v3.4.0 standards
* Migrating BufferLogger unit tests to v3.4.0 standards
* Migrating AssertFatalAdapter unit tests to v3.4.0 standards
* Migrating FileDownlink unit tests to v3.4.0 standards
* Migrating StaticMemory unit tests to v3.4.0 standards
* Migrating CmdSequencer unit tests to v3.4.0 standards
* Migrating Framer unit tests to v3.4.0 standards
* Migrating GroundInterface unit tests to v3.4.0 standards
* Migrating FileManager unit tests to v3.4.0 standards
* Migrating ActiveTextLogger unit tests to v3.4.0 standards
* Migrating LinuxTime unit tests to v3.4.0 standards
* Migrating Deframer unit tests to v3.4.0 standards
* Migrating Deframer unit tests to v3.4.0 standards
* Migrating BufferRepeater unit tests to v3.4.0 standards
* Migrating TlmChan unit tests to v3.4.0 standards
* Migrating GenericHub unit tests to v3.4.0 standards
* Migrating BufferAccumulator unit tests to v3.4.0 standards
* Migrating LinuxTimer unit tests to v3.4.0 standards
* Migrating BufferManager unit tests to v3.4.0 standards
* Migrating CmdSplitter unit tests to v3.4.0 standards
* Migrating ComQueue unit tests to v3.4.0 standards
* Migrating Os unit tests to v3.4.0 standards
* Federating FPP tools with release versions
* Python formatting
* Reverting FPPTest to correctly working build
* Removing minor dead code and comments
---------
Co-authored-by: bocchino <bocchino@jpl.nasa.gov>
This avoids a pernicious behavior where EVR timestamps lie about their
sub-second values. I have this test program:
#include <stdio.h>
#include <inttypes.h>
void main(void)
{
printf("%02d:%02d:%02d.%03" PRIu32 "\n", 1,2,3, 12);
printf("%02d:%02d:%02d.%03" PRIu32 "\n", 1,2,3, 123);
printf("%02d:%02d:%02d.%03" PRIu32 "\n", 1,2,3, 1234);
printf("%02d:%02d:%02d.%03" PRIu32 "\n", 1,2,3, 12356);
printf("%02d:%02d:%02d.%03" PRIu32 "\n", 1,2,3, 123456);
}
It produces this output:
01:02:03.012
01:02:03.123
01:02:03.1234
01:02:03.12356
01:02:03.123456
so prior to this patch, if we were 1 hour, 2 minutes, 3 seconds, 123
microseconds past midnight, this was printed as "01:02:03.123" instead of
"01:02:03.000123". Any reasonable human looking at "01:02:03.123" would see a
value of "123000" microseconds.
Co-authored-by: Dima Kogan <Dmitriy.Kogan@jpl.nasa.gov>
* lestarch: update for small platform support (no U64)
* first-pass at fixing types interface
* fixing U64s in merged commit
* fixing improper loop limit
* fixing FwSizeType redefinition
* fixing review comments
* formatting Linux/FileSystem
* fixing static analysis errors
* fixing UTs when file system or memory to large
* disabling broken ut and fixing spelling
* cleaning up unused variable
* adding more comments to explain casting checks
* Experimental PPC build
* VxWorks/GCC 4.3.3 compile backfixes
* Changed using to typedef for older gcc
* Added fp_compat.hpp header and commented code back in
* Reverted vxworks experimental changes
* Removed vxworks submodule
* Some other reversions
* Spelling
* Update fp_compat.hpp
* lestarch: deleting this
* lestarch: reverting FP compat. Projects can add back in where needed.
* Delete fp_compat.hpp
Co-authored-by: M Starch <LeStarch@googlemail.com>