~aleteoryx/muditaos

ref: 1981c8b2cbea74a6147c0d3f4ce985eb1f86973e muditaos/module-vfs d---------
96c9cfa7 — Bartosz Cichocki 5 years ago
[EGD-4503] added missing library to compile with GCC 10 (#1075)

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
9cbebacd — Lucjan Bryndza 5 years ago
[EGD-4262] Disk manager (#1025)

* [EGD-4262] Disk manager API draft

* [EGD-4262] New filesystem master user class

* [EGD-4262] Directory fops

* [EGD-4262] Initial version of disk manager API

* [EGD-4261] Registering and finding block devices.

* [EGD-4262] Disk manager without partition parser

* [EGD-4262] Partition parser intial ver.

* [EGD-4262] Disk read driver for Linux

* [EGD-4262] Disk manager unittests.

This unittests should be improved. Currrently it checks
only minimum functionality. Boundary tests should be added
in the next stage.

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
dc16684e — Lucjan Bryndza 5 years ago
[EGD-4221] lseek syscall fix (#1028)

lseek return incorrect return value. This patch fix it

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
d96856f8 — Lucjan Bryndza 5 years ago
[EGD4418] fix in syscalls translation (#1026)

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
5ce2f3d3 — Roman Kubiak 5 years ago
Revert "[EGD-4344] vfs-utils refactor (#1010)" (#1027)

This reverts commit e6ca468d2c0a3d3f9a045c123ee901690e2b28a9.
e6ca468d — Roman Kubiak 5 years ago
[EGD-4344] vfs-utils refactor (#1010)

* [EGD-4344] removed vfs-utils.cpp and moved all the functions
to utils or eventStore

* [EGD-4344] removed vfs-utils.cpp and moved all the functions
to utils or eventStore

* [EGD-4344] moved methods to utils::filesystem

* Update module-utils/Utils.cpp

Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>

* Update module-utils/Utils.cpp

Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>

* Update module-utils/Utils.cpp

Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>

* [EGD-4344] test fixes, linux fixes, GUI fixes

* [EGD-4344] rebase fixes

* [EGD-4344] bugfixes for rt1051 and mutex support in EventStore

Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
707b31ac — Lucjan Bryndza 5 years ago
[EGD-4264] directory reordering (#1001)

* [EGD-4264] VFS directory reordering

Currently VFS uses flat directory structure
for disc manager I need more sofisticated directory layout

* [EGD-4264] Remove redundant -Wno

* [EGD-4261] New purefs API

* [EGD-4264] Unittest fixes

* [EGD-4264] Directory relativity

* [EGD-4264] Relative path fixes

* [EGD-4264] Fix RT1051 compile errors

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
57c7672f — Piotr Tanski 5 years ago
[EGD-4366] Global data cleanup. (#999)

aeee87ba — Lucjan Bryndza 5 years ago
[EGD-4264] Mark vfs methods as deprecated (#998)

* [EGD-4264] Mark vfs methods as deprecated

Mark all vfs.xxx method as deprecated all applications should migrate
to standandard file IO library like <cstdio> <fstream> <filesystem>.
Standard libraries are working, and vfs. global class will be removed
in the feature relase when disk and filesystem manager will be completed

* [EGD-4264] Deprecated migration guide comment

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
97d865c0 — Lucjan Bryndza 5 years ago
[EGD-4330] file streams ld preload library (#982)

* [EGD-4330] file streams ld preload library

It is concept library LD_PRELOAD for handle syscalls wrapper to the
image fat file.

* [EGD-4330] Stdlib implementation

* [EGD-4330] Stdio syscalls

* [EGD-4330] Dir searching stdlib replacement

* [EGD-4330] NL at end of file

* [EGD-4261] Working version of library wrapper

* [EGD-4330] Script for run emulator on fs image

Run phone emulator using filesystem image

* [EGD-4261] Missing debug file

* [EGD-4330] Not needed to link...

* [EGD-4330] Code review fixes #1
    iosyscalls

* [EGD-4330] Code review fixes round #2

* [EGD-4330] Code review round #3

* Ident fixes

* [EGD-4330] Ident fixes

* [EGD-4330] Code review round #4

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
e5199a37 — Lucjan Bryndza 5 years ago
[EGD-4261] stdlib file access syscalls for RT1051 platform (#952)

* [EGD-4261] Initial version of syscalls

* [EGD-4261]  CR small fixes

* [EGD-4261] Rename namespace and fsync call

Rename namespace vfs::internal for clarify that syscall functions are for internal use only

* [EGD-4261] Handle manager for stdlib

Handle manager layer for STDIO compatibility.

* [EGD-4261] Initial version of sysscall (old vfs)

* [EGD-4261] Direntry syscalls completed

* [EGD-4261] Fixes in handle manager

* [EGD-4261] Add support for std::filesystem.

libstdc++ from compiler is compiled without <dirent.h>
, so std::directory_iterator doesn't work.
Our implementation fix this issue and override
libstdc++ library code

* [EGD-4261] Compile syscalls only on RT1051 target

* [EGD-4261] RT compile fix

* [EGD-4261] Code review small fixes

* [EGD-4261] Code review fixes

* [EGD-4261] Remove redundant noisy debug log msg.

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
486d21af — Marcin Smoczyński 5 years ago
[EGD-4288] refactor global data (#959)

Reduce firmware size by refactoring global data defined in public
headers.

Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
f7350c4d — Lucjan Bryndza 5 years ago
[EGD-4181] Indexer service scan files (#914)

* [EGD-4181] Initial file indexer service

* [EGD-4181] Initial version of the indexer service

* [EGD-4181] Small changes needed for file indexer

* [EGD-4181] Pass message from vfs to indexer service

* [EGD-4181] Initial indexer service with timers

* [EGD-4181] File indexer service list files

* [EGD-4181] Use default destructor in header

Don't use iterator

* [EGD-4181] Code review fixes.

* [EGD-4030] File indexer handle base mime types

* [EGD-4181] Code review fixes.

* [EGD-4181] Audio file indexer initial stub

* [EGD-4030] Text files indexer

* [EGD-4081] Missing UTF8 file header

* [EGD-4181] Startup paths as an array.

* [EGD-4181] VFS notifier dir fixes

* [EGD-4181] Service fileindexer as static library

* [EGD-4181] Code review fixes

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
140cce4c — Lucjan Bryndza 5 years ago
[EGD-4029] Prevent call handler recursively (#927)

Prevent call notification handler from thread which
register notification handler.

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
d4277039 — Lucjan Bryndza 5 years ago
[EGD-4179] Recursive file list API (#912)

Recursive file list API with callback added
to the freertos FAT implementation

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
30415979 — Lucjan Bryndza 5 years ago
[EGD-4029] Missing header in the VFS notifier (#923)

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
4736ebdd — Lucjan Bryndza 5 years ago
[EGD-4029] File indexer notifier (#862)

* [EGD-4029] Initial version of file notifier in the VFS

* [EGD-4029] File indexer notifier in the VFS

* [EGD-4029] Minor syntax fixes in code

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
bc44592e — Lucjan Bryndza 5 years ago
[EGD-4139] VFS unit tests for lseek (#885)

* [EGD-4139] VFS unit tests for lseek

* [EGD-4139] lseek fat VFS test

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
45ea92a0 — Lucjan Bryndza 5 years ago
[EGD-4135] FREERTOS vfat ff_fflush implementation (#878)

ff_fflush implementation is needed for sqlite3 when
unexcepted power failure.

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
bf260952 — Lucjan Bryndza 5 years ago
[EGD-4075] Use FATFS in the Linux builds (#843)

* [EGD-4075] Use FAT fs in the emulator

Add script for genrate base phone image

* [EGD-4075] Use FreeRTOS-FAT in emulator initial commit

* [EGD-4075] Thread local storage fix

Fixing thread local storage when running on the
Linux platform in the test mode

* [EGD-4075] Improve image generation

Improve image generation script on the linux platform

* [EGD-4075] Fix all test with FAT fs image

Fix all tests with fatfs image

* [EGD-4075] Fix calculator utility test

* [EGD-4075] Image dependencies fix

* Remove uneeded comments

* Missing headers in CR

* [EGD-4075] Fixed whitespaces

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
Next