- Change Summary:
-
Fix typos.
- Description:
-
This is saved in a SQLite database inside the user config directory named
~ contacts.db. It does it's best to synchronize with PurpleBuddy, but not ~ contacts.db
. It does its best to synchronize withPurpleBuddy
, but noteverything emits a signal when it changes. ~ Also, stuff like custom avatars are
~ ignore as those are currently store on the Contact and we don't have a mapping ~ Also, stuff like custom avatars are ignored as those are currently store
~ on the Contact and we don't have a mapping to PurplePerson
yet.- to PurplePerson yet.
Serialize the ContactManager
Review Request #2054 — Created Nov. 10, 2022 and updated
This is saved in a SQLite database inside the user config directory named
contacts.db
. It does its best to synchronize withPurpleBuddy
, but not
everything emits a signal when it changes.Also, stuff like custom avatars are ignored as those are currently store
on the Contact and we don't have a mapping toPurplePerson
yet.
Ran with the demo account and verified everything about the contacts was stored via the sqlite3 command line.
Summary | ID |
---|---|
5ba998bd1b25c115904aab504d80b2fd6531a2a9 |
Description | From | Last Updated |
---|---|---|
Figure out how to handle unit tests. This doens't know when we're testing or not, so it always tries to … |
grim | |
Does this need a rebase for PurpleContactInfo stuff? |
QuLogic | |
Why is this in the account manager header? |
QuLogic | |
NULL works here. |
QuLogic | |
name and value are not freed here. |
QuLogic | |
name and value are not freed at the end of the loop. |
QuLogic | |
Not sure why this calls sync_tags but not update_contact_tags? And should everything get a transaction around it? |
QuLogic | |
Ditto. |
QuLogic | |
Don't need the semicolon, I think? |
QuLogic | |
Extra tab? |
QuLogic | |
Would contacts ever change accounts? |
QuLogic | |
sqlite3_prepare_v2 is preferred. |
QuLogic | |
stmt is not finalized in error or success. |
QuLogic | |
stmt is not finalized in error or success. |
QuLogic | |
I believe it might be better to prepare this outside the loop, and bind/step inside only. See lifecycle at https://www.sqlite.org/c3ref/stmt.html |
QuLogic | |
But if stmt preparation is not moved outside the loop, then this one is not finalized in the case of … |
QuLogic | |
But if stmt preparation is not moved outside the loop, then this one is not finalized in the case of … |
QuLogic | |
Same here about moving outside loop. |
QuLogic | |
Same here about finalizing on success. |
QuLogic | |
Can move into the only if that uses it. |
QuLogic | |
It's just gpointer. |
QuLogic | |
Can be combined into g_clear_list. |
QuLogic |
- Change Summary:
-
rebase, just found a bug in the unit tests that needs to be addressed yet.
- Commits:
-
Summary ID 50d9d3808fd1e3e7fd6df28e9256fb6b9d9862fc 6e350f0c88c5c0fea35bb7734c7dd755fa89c851
- Change Summary:
-
add the issue that this is for
- Bugs:
- Change Summary:
-
rebase and address issues, the unit test failures remain however.
- Commits:
-
Summary ID 6e350f0c88c5c0fea35bb7734c7dd755fa89c851 d56d5b5ae5213ec31d9468012801c73c5ab1a694
- Change Summary:
-
rebase, fix whitespace
- Commits:
-
Summary ID d56d5b5ae5213ec31d9468012801c73c5ab1a694 5ba998bd1b25c115904aab504d80b2fd6531a2a9
-
-
-
-
-
-
I believe it might be better to prepare this outside the loop, and bind/step inside only.
See lifecycle at https://www.sqlite.org/c3ref/stmt.html
-
But if
stmt
preparation is not moved outside the loop, then this one is not finalized in the case of success. -
But if
stmt
preparation is not moved outside the loop, then this one is not finalized in the case of success. -
-
-
-
-