* Switched to DB initialization at compile time
* Organized and cleaned up db files directories(not finished completely)
* Fixed DB related unit tests
* Minor improvements to CMake
* Small fixes for GCC12 build
Catch2 doesn't report some errors in test, and some test are
disabled on porpoise this commit adds set of scripts and changes to CI
that will clearly mark what test haven't been run.
Temporary test for ASAN error.
Stub Database introduced to cut the connection SettingsAgent to
sqlite for UT.
Settings ut moved to other directory - new target.
File_indexer UT fixed.
Alarms, Notes and Query UT missing initialization of vfs.
- Save unsent messages as drafts on thread view window close.
- Queries for SMS add and update introduced.
- Fix for windows IDs all being zeroes across the GUI.
Introduce a new way to handle query responses allowing to deal with
races:
- bind reponse with request,
- handle responses with an observer-like interface.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Add proper catch2 support:
- add catch2 as a submodule
- add cmake function to add test easily
- discover each test in test binary
- remove copies of catch.hpp
- do not try to process tests for rt1051
Do not test internals of utf8, only public interface (nasty bugs could
occur otherwise).
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
* EGD-3087 WIP adding SMS Querry
* EGD-3087 Added query virtual interface on Service top layer
Service shouldn't implement query logic and should be proxying that.
additionally:
- small fixes in includes
- shared service db name same way as apps and event manager
* EGD-3087 Query - want to work on interface not on db
* EGD-3087 Query gluecode works fine. Our query in SMS search calls getBySMSQuery
Changes cut off before any potential orm interface layer
* EGD-3087 WIP Interface in use
* EGD-3087 Query for SMS search works as designed
* EGD-3087 Query results should be on screen
* EGD-3087 BUG workaround - need to deep refresh display to show data
* EGD-3087 Searching for text from input works fine
* EGD-3087 Showing results / or empty results depending on query
* EGD-3087 Pre PR fixups
* EGD-3087 Empty search - getting back to prewious window ignore current
* EGD-3087 PR applied
* EGD-3087 PR - style fixed
* EGD-3087 Review - DB ListView handling moved to separate function
* EGD-3087 Workaround: crash on use after free fix
* EGD-3087 PR stylistic changes
* EGD-3087 PR cleanup applied
* EGD-3087 Added test for Query interface
* EGD-3087 renamed getByQuery to getQuery & finished tests
* EGD-3087 Post rebase fixup
* EGD-3087 PR - moved ListView request part to separate function
* EGD-3087 PR Fixups
* EGD-3087 Post rebase style fix
* EGD-3087 Added variable for DB service stack & const to getter function