Fix of the issue that Pure would crash
when trying to delete all contacts from
Mudita Center when main window of
phonebook was opened and focus was
set on different contact than the
first one in the list.
* 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 for scenario when contact with some number with/without country code
was deleted, and new contact with same number but without/with country
code is added and then new contact have same prefix as deleted one.
Now new contact will have number exacly like provided.
* 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
It appears in the past a major edit was made but had used a regex to
change some text which resulted in an errant space between the
enumuneration/struct/class name and the scope resolution operator.
These errant spaces have been removed.
If a contact contains only first name I would expect it to appear on the
list sorted alphabetically according to the letters.
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Fix contacts get query following changes in the contacts database to
move contacts groups to another table.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
Refactor phonebook's models to merge both implementation. One model
class is used for both main and search results windows.
Improve search by matching entered string against:
- first_name " " last_name
- last_name " " fist_name
Sort results by last_name " " first_name, favs first.
Small improvement to the list view has been added to deal with
asynchronous db reads.
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>