Overview
Comment: | Adjust to ObjSQLite3 changes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f599dcefbe494390a5babff9fc664f2f |
User & Date: | js on 2024-08-11 15:37:57 |
Other Links: | manifest | tags |
Context
2024-08-11
| ||
15:38 | Update URLs in GitHub issue template check-in: 33ca8aea88 user: js tags: trunk | |
15:37 | Adjust to ObjSQLite3 changes check-in: f599dcefbe user: js tags: trunk | |
09:46 | README.md: Fix code blocks check-in: 212ebfd3b7 user: js tags: trunk | |
Changes
Modified src/MTXSQLite3Storage.h from [c5ea1293d1] to [70e9916f01].
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + - + - + - + | /** * @brief SQLite3-based storage for @ref MTXClient. */ @interface MTXSQLite3Storage: OFObject <MTXStorage> /** * @brief Creates a new SQLite3-based storage for @ref MTXClient. * |
Modified src/MTXSQLite3Storage.m from [bf3c6ee0fb] to [cd6b37a0a1].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | - + - + - + - + | SL3Connection *_conn; SL3PreparedStatement *_nextBatchSetStatement, *_nextBatchGetStatement; SL3PreparedStatement *_joinedRoomsAddStatement; SL3PreparedStatement *_joinedRoomsRemoveStatement; SL3PreparedStatement *_joinedRoomsGetStatement; } |
︙ | |||
130 131 132 133 134 135 136 | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | - + | @"$device_id": deviceID }]; if (![_nextBatchGetStatement step]) return nil; OFString *nextBatch = |
︙ | |||
175 176 177 178 179 180 181 | 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | - + | void *pool = objc_autoreleasePoolPush(); [_joinedRoomsGetStatement reset]; [_joinedRoomsGetStatement bindWithDictionary: @{ @"$user_id": userID }]; while ([_joinedRoomsGetStatement step]) [joinedRooms addObject: |
Modified tests/Tests.m from [87e53c2ee0] to [c73d417318].
︙ | |||
41 42 43 44 45 46 47 48 | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | + - + | [OFStdErr writeString: @"Please set OBJMATRIX_USER, " @"OBJMATRIX_PASS and OBJMATRIX_HS in " @"the environment!\n"]; [OFApplication terminateWithStatus: 1]; } OFIRI *homeserver = [OFIRI IRIWithString: environment[@"OBJMATRIX_HS"]]; OFIRI *storageIRI = [OFIRI fileIRIWithPath: @"tests.db"]; id <MTXStorage> storage = |
︙ |