Commit Graph
507 Commits
Author SHA1 Message Date
Dawid Wojtas 1ba589f9c8 [BH-2026] Add mechanism for getting previously OS version
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.
2024-07-10 12:45:46 +02:00
Lefucjusz 09efb75ed5 [MOS-1068] Cleanup BTStack intergration
Code cleanup in various places of
BTStack integration.
2024-05-29 17:33:30 +02:00
Lefucjusz 6e600784c7 [MOS-1069] Change A2DP stream volume scale to exponential
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.
2024-05-29 16:50:36 +02:00
Lefucjusz 02fd01a1ad [BH-1848] Post-rebase fixes
* Fixes for the issues that caused builds
and unit tests to fail.
* Added changelog entry.
2024-04-26 14:05:04 +02:00
Lefucjusz e9934359ec [BH-1897] Integration fixes and cleanups
* 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.
2024-04-10 15:33:14 +02:00
Lefucjusz 4ad0f29ab4 [BH-1898] Fix of GUI freeze after intensive volume change
Fix of the issue that GUI would freeze for
several seconds if volume level was being
changed intensively for a while.
2024-03-06 14:05:55 +01:00
Lefucjusz cdf5dbf557 [BH-1887] Speed up update process
* 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.
2024-02-28 09:58:46 +01:00
Maciej Gibowicz f388b77cc6 [BH-1882] Fix display of "Connected" label on home screen
The "connected" label did not appear on the home screen if the USB was
connected during onboarding.
2024-02-22 11:17:08 +01:00
Lefucjusz d8293b8254 Revert "[MOS-1064] Fix no input language selected for French/Spanish"
This reverts commit 9ef454085e.
2024-02-21 17:49:30 +01:00
Lefucjusz 9ef454085e [MOS-1064] Fix no input language selected for French/Spanish
* 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.
2024-02-20 16:32:46 +01:00
Maciej Gibowicz 3f38b150ec [BH-1846] Reducing power consumption while the application is running
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.
2024-01-05 11:59:37 +01:00
rrandomsky 1937f135cc [CP-1059] Fix for erase only sensitive data from logs
Added omitted anonymization for the COPS command.
2023-12-14 11:20:20 +01:00
rrandomsky b821747851 [MOS-1059] Erase only sensitive data from logs
Erase only sensitive data from logs.
2023-11-30 12:31:05 +01:00
Maciej Gibowicz 3cc3f50f7b [BH-1809][BH-1835] Add date format setting
Added date format selection between DD/MM and MM/DD.
The time setting has been updated.
2023-11-29 09:45:05 +01:00
Lefucjusz 121879f4ec [MOS-220] Changed signal strength refresh mechanism
Modified signal strength update mechanism
to avoid unnecessary screen refreshes in
case new signal strength value is equal
to the previous one.
Minor cleanups.
2023-11-09 13:07:00 +01:00
Maciej Gibowicz 920db59b2e [BH-1791] Add CPU frequency lock during log dump
This will improve security and peripheral stabilization when downloading
logs to a file.
2023-10-27 12:53:20 +02:00
Lukasz Mastalerz d9a1194e6f [BH-1688] Create a standard for logs
* 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
2023-10-23 15:17:44 +02:00
Lefucjusz 674a768364 [MOS-669] Add too hot battery notification when charging
* Added notification showing on the main
screen if the battery has reached too
high temperature to continue charging.
* Code cleanups.
2023-10-16 12:54:13 +02:00
Lefucjusz 9da6579167 [MOS-552] Fix alarm clock input behavior
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.
2023-09-06 14:11:32 +02:00
Lefucjusz cf6c377776 [MOS-1028] Fix possibility to copy text from empty note
Fix of the issue that in Notes app 'Copy text'
option was shown in 'Options' menu even if
the note didn't contain any text.
2023-08-31 15:56:07 +02:00
Lefucjusz 663177ad49 [MOS-170] Report domestic roaming as home network
Changed behaviour of roaming indicator so that
domestic roaming is displayed as home network.
2023-08-08 21:00:32 +02:00
Lefucjusz 4e685bb7ec [MOS-999] Provide additional info in log filename
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.
2023-06-23 12:08:32 +02:00
Lefucjusz 13269271e6 [MOS-998] Provide additional info in crashdump filename
Added info about product, OS version and
commit hash to crashdump filename to
simplify analysis of the crashdumps
without corresponding logs available.
2023-06-22 12:14:07 +02:00
Lefucjusz 2620191e73 [MOS-238] Use on-chip hardware TRNG as an entropy source
Use hardware TRNG integrated into RT1051 MCU
as an entropy source for builds complied
for RT1051.
2023-06-19 15:57:05 +02:00
rrandomsky b08481dc61 [MOS-946] Revert: USSD contacts
Revert: Fixed adding USSD codes to phonebook.
2023-06-14 16:16:46 +02:00
Lefucjusz 783ebcbb6c [MOS-183] Fix RT1051 debug build
Fix of multiple issues that resulted
in debug build failing.
2023-06-14 13:12:50 +02:00
Lefucjusz 8d96f2d354 [MOS-993] Logger bug fixes and optimizations
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.
2023-05-29 09:38:57 +02:00
Marcin Zieliński 80905d58cd [MOS-982] Recognizing WCDMA network access method for 3G in GUI
Ditto
2023-04-26 12:21:22 +02:00
Mateusz Piesta 737d8fe095 [MOS-946] USSD contacts
Fixed adding USSD codes to phonebook.
2023-03-30 09:36:50 +02:00
Lukasz Mastalerz a870922ec3 [CP-1837] Random crashes while copying files
General improvements to prevent running out of memory while copying
files via Mudita Center
2023-03-21 09:17:54 +01:00
Lefucjusz 1d90355828 [MOS-966] Fix day of week abbreviations in Polish
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.
2023-03-20 10:30:26 +01:00
Adam Wulkiewicz d2bf42d411 [BH-1655] Fix memory leaks in clock faces and shortcuts
Disable libphonenumber initialization since it is not used in Harmony
but takes around 1.4MB of memory

Add heap allocation statistics
2023-03-17 12:44:30 +01:00
Dawid Wojtas 2cbadc6a00 [BH-1630] Turn off the device for low voltage
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.
2023-03-16 11:14:38 +01:00
Dawid Wojtas 8c2b5aa7b0 [BH-1624] Fix shutdown procedure
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.
2023-03-06 21:47:11 +01:00
Mateusz Piesta 08f4d90356 [MOS-530] Various calculator app fixes
* 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.
2023-02-09 09:51:18 +01:00
Maciej-Mudita e820a7607e [MOS-893] Fix invalid time description in the SMS thread
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
2023-02-08 11:53:14 +01:00
Maciej-Mudita 63f09cbcc0 [MOS-196] Add days of the week to the list of SMS, calls and notes
If an event (e.g. receiving a call or SMS) happened
in the current week, we display the days of the week
instead of the date on the list.
2023-02-07 13:18:20 +01:00
Lukasz Mastalerz cfe88321a8 [MOS-192] Time should not include 0 at the beginning
Fix for displaying an additional 0 at the begging of the clock.
It affects the clock in the status bar and messages and calls time.
2023-02-03 10:19:21 +01:00
Mateusz Piesta 44ef5ddd5f [MOS-807] Unpacking update package
* Added unpacking and validating of
update package
* Removed 'utils-bootconfig'
* Added 'tar' module
* Minor compilation issues fixed
2023-01-19 16:41:56 +01:00
Lefucjusz e33468f54f [MOS-783] Change boot.bin to os.bin
Change the confusing system binary name.
2023-01-19 16:41:56 +01:00
Bartosz a4406ec5a7 [MOS-783] Fixed tests and simulator for Harmony
Fixed tests and simulator for Harmony
after implementation of new filesystem
structure.
2023-01-19 16:41:56 +01:00
Lefucjusz eeafb5f1be [MOS-783] Moved battery config file to '/user/data'
Moved battery config file from root
directory of user partition to
'data' directory to comply with
new directory layout design.
2023-01-19 16:41:56 +01:00
Lefucjusz 215e4d96b7 [MOS-783] Fixed Pure unit tests
Fixed (most of the) hardcoded
paths in Pure's unit tests.
2023-01-19 16:41:56 +01:00
Lefucjusz afd7e7bc2c [MOS-783] Working Pure simulator after partition changes
Fixed iosyscalls so that Pure simulator
works after directory structure changes.
2023-01-19 16:41:56 +01:00
Lefucjusz 178fba165e [MOS-783] First part of new dir structure implementation
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.
2023-01-19 16:41:56 +01:00
Maciej-Mudita 4bd7b1acf4 [MOS-275] Fix alarm rings on the low battery screen
When we had a critical battery level and the alarm clock rang,
it was impossible to turn it off.
2023-01-19 12:07:19 +01:00
Lukasz Mastalerz 157cea8acb [CP-1512] Add crashdumps indexing
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.
2023-01-19 11:29:12 +01:00
rrandomsky 0342eb50c8 [MOS-737] Fix for adding a country code prefix to existing contact
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.
2022-12-21 14:55:30 +01:00
Maciej-Mudita d528cac7df [MOS-641] Fix SIM cards window
Creating menus and actions depending on the SIM card
lock status.
2022-11-22 09:49:55 +01:00
Maciej-Mudita f4aaf4e302 [MOS-775] Create run-time statistics for tasks
Every hour, statistics of tasks that put a heavy load
on the CPU will be logged
2022-10-25 18:46:54 +02:00