Changed submodule directory and changed way its linked,
in order to use target_link_libraries checkouted phmap
dependency to the newest revision which includes small
cmake fixes (see 031d214f2ce1973933abdf2a998d986ff8094d8e),
updated paths in PureCoverage script and Doxyfile
When setting datetime from timestamp (manually, not from network),
SRTC is set in order to retain the RTC datetime between resets.
RTC handling was refactored in order to get rid of unnecesary
conversions and third-party code mixed with proprietary code
within a single file.
boot.json should't be modified by the MuditaOS
and it also causes issue with broken boot.json
after update
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
added weakptr link to settings and checks
it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
- deregistration on Settings destrution
- weak referencing of Service to not crash Settings on missuse
- Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
added weakptr link to settings and checks
it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
- deregistration on Settings destrution
- weak referencing of Service to not crash Settings on missuse
- Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
- Removed not used files from old implementations.
- Renamed some classes to follow naming convention.
- Renamed methods to use consistent styling.
- Restructured code.
Add basic interpolator and decimator to change sample rates by a factor
of a prime number. Interpolator repeats samples forming a stair signal,
while decimator drops excessive samples.
Templates have been used to utilize fast integer operations contrary to
byte-by-byte operations for number of bit width vs channel count
combinations.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Added HSP ring sound on incoming call event while
there's bluetooth connection active and HSP is
selected as the current profile.
Possibility of pick up/decline the call using
BT device buttons added.
Slightly changed HSP initialization according
to the UML-s added.
Changed call hangup handler in service cellular.
Check if decoder's file format is supported by the sink audio device
before playing the sound. Add list of supported formats to each of audio
devices.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Add HTML and XML code coverage report generation with gcovr.
Cleanup unittests list - add missing googletest-gui to the unittests
list; remove dead functional tests.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Integrate the CrashCatcher library in order to store phone state after
a fault occurs. The dumps are stored in the CrashCatcher hex format and
can be debugged using the CrashDebug stub built for x86_64 via the
'debug_crash_dump.sh' script.
Reduce taglib size by cutting off support for file types that are not
supported by MuditaOS.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Original problem was that '\n' character was displayed as `[]` in
message thumbnail. After consulting Design-Team thumbnail should not
display anything succeeding problematic character.
- Dump logs to file every 10 sec.
- max file size is 50 MB
(after reaching it, no more logs will be logged),
- Add `LockGuard` with locking mechanism
supporting IRQ and use it in `Logger`.
- Fix minor style issues in `Logger`.
- Add `mount_user_lfs_partition.py` script for mounting LFS on Linux FS
in order to get `MuditaOS.log` file from `user` partition
Because `vsnprintf` return value means:
"
The number of characters that would have been
written if n had been sufficiently large,
not counting the terminating null character.
If an encoding error occurs, a negative number is returned.
"
`Logger` crashed when log msg was longer than LOGGER_BUFFER_SIZE.
Checking `vsnprintf` return value solves this issue.
Status bar SIM widget refactor
Status bar time widget recfactor
Status bar lock widget refactor
Separation of status bar time widget and desktop main window time widget
Fixed issue with wrong calculation of timezone based time
Add a possibility to use a minimal version of libphonenumber's metadata
to reduce firmware size in debug.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>