Task relates to What’s new feature that needs to
know which version of MuditaOS was installed
before the update.
Normally What’s new uses a database to get the
previous version, but after the first run this
field will be empty.
To bypass this issue the PureRecovery needs to
save the previous version in recovery_status.json
that is generated after the update process.
Fix of the issue that A2DP stream volume
was controlled using naive approach
with linear scaling instead of
exponential one, what resulted in
highly non-linear volume control
experience.
* Fix of the issue that quick returning
from window next to the list window to
the one before list window result in
playback not being stopped.
* Fix of the issue that list context
wouldn't be restored after returning
from popup.
* Minor cleanup of the logic after adding
opening on selected sound on list
entering - removed redundant call to
setValue, rename of some methods
and variables.
* Added stream buffering for reading data
from tar archive with update.
* Increased size of the buffer used
for unpacking files from tar archive.
* Changed buffers data type from vectors
to raw heap-allocated arrays.
* Fix of the issue that choosing French
or Spanish as a system language
resulted in no input language selected.
* Added keyboard input parser unit
tests for French and Spanish input
maps.
* Minor cleanups.
Replacing double with float in rendering a circular progressbar results
in a significant reduction in the demand for computing power, which in
turn translates into reduced power consumption in all applications using
a circular progressbar.
Modified signal strength update mechanism
to avoid unnecessary screen refreshes in
case new signal strength value is equal
to the previous one.
Minor cleanups.
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
line number is now before function name
Fix of multiple issues that manifested in
input fields of alarm clock, i.e. value
not erasing automatically, redundant
double-zero filling of hours field,
lack of zero-filling of minutes field
when navigating to AM/PM field in
12h mode.
Added info about product, OS version, commit hash
and serial number to log filename to simplify
triage and quick sanity check of the logs in
cases many log files have to be analyzed.
Added info about product, OS version and
commit hash to crashdump filename to
simplify analysis of the crashdumps
without corresponding logs available.
Fixes and optimizations in logger:
* fixed possible buffer overflow when logging
logs over line buffer size;
* reduced max log line length to 2048;
* moved pubsetbuf before file opening;
* log file stream buffer created once
in logger ctor;
* updatet UTs;
* additional minor cleanup.
Fixed issue with improperly created
weekdays abbreviations in Polish,
particularly 'Niedziela' (Sunday) that was
shortened to 'Nie', which also means 'No'
(negative response).
Fixed issue with remaining 'Edit' label
in navbar after leaving repetition field
in new alarm window.
Fixed hardcoded 'Custom' string used
as a repetition type text.
The system closes only if the SoC is 0%, but
it doesn't react if the voltage has low level.
The new implementation invokes the close
procedure if the voltage is less than 3.4V.
This solution should avoid possiblity to
hang the MCU.
In some cases, the system wasn't able to turn off
because the GUI service got stuck. The device
was still working in the background. The cause
was an empty queue in DrawCommandQueue which
hang the GUI worker.
The interface was modified and synchronization
mechanism was removed.
The thread no longer waits in dequeue().
Also changed the worker to close in the right
way the logger worker.
* Fixed issue with subtract operation triggering unusal behavior.
* Unified handling of the add,sub,mul,div operations.
* Updated and verified existing unit tests and added new ones covering
unhandled cases.
* Added basic requirements/readme.
The sending/receiving time information will be displayed as follows:
- Only an hour –> for today
- Yesterday and hour –> for messages received/sent yesterday
- Day of the week and hour –> for messages received/sent within
last 7 days
- Date (day+month) and hour –> for messages older than week,
but still from the same year
- Date (day+month+year) and hour –> for messages
rom previous years
Works:
- generating .img for Pure;
- Pure boots after flashing new image and
seems to be working fine;
Not yet:
- generating update package;
- generating image for Harmony;
- simulator;
- path-related unit tests fail
due to paths being hardcoded
in test scenarios.
Adding indexing to crashdumps to to ensure resistance to the device date
retraction.
When max crashdump count reach the file with higher index number will be
remove.
Adding or removing country code from existing contacts number is
changing now number record itself, exactly when changed number
is placed in DB, instead to create new number record, to avoid
miss match during matching numbers.