Commits


Michael Haney authored and GitHub committed 6c14c21bc93
Merge storage refactor back to master (#5322) * Make mph-gdtsqlite run travis (#3861) * Implement a SQLite helper (#4075) * Add support for in-memory and other types of stores (#4158) * Add support for in-memory and other types of stores * Temporarily add -x to know what's causing check.sh to fail * Remove -x * DO NOT MERGE TO MASTER: Remove commit math from check.sh temporarily * Initial implementation of GDTCORDatabase (#4180) * Initial implementation of GDTCORDatabase * Style * Check result of running a statement * Simplify init Also support >1 :memory: db * Write test docs and fix one tsan issue (#4211) * wip moving storage to sqlite * Revert "wip moving storage to sqlite" This reverts commit ee1895f1bdd8fa437bfcb4a16d453eb419cbabc0. * Address tsan issue and document tests * Address implicit self retains Don't know why these aren't surfaced locally, I have the warning on. * Implement bulk sql execution (#4528) * Change custom prioritization dictionary to bytes (#4534) * Change custom prioritization dictionary to bytes * Fix a missed change for customBytes * Refactor GDT's storage to be an interface (#5022) * Refactor GDT's storage to be an interface - Events are now removed by eventID - Events now generate an ID when they are alloc/inited - Copying events also copies their eventID - Event hashing takes into account the eventID - A static method in GDTCOREvent creates event IDs as the concat of <session counter><event counter during session> - Session counters are incremented and stored in user defaults at app start - Storage instances register themselves with GDTCORRegistrar like prioritizers and uploaders - Storage fakes are refactored to be registered with GDTCORRegistrar - Added some missing docs and fixed some typos * Remove an unintended change from assert macro * Use a variable * Additional docs and test fixes * Move saving the counter value to a file * Update docs * Rename GDTCORStorage to GDTCORFlatFileStorage (#5079) * Rename GDTCORStorage to GDTCORFlatFileStorage * Fix the NSCoding keys * Fixes to get building and unit tests passing * Address lack of thread safety affecting lifecycle tests * Style * Transition customPrioritizationDict to customBytes Adds a category on GDTCOREvent to make checking network connection info easier. * Remove all sqlite and database stufff or the purposes of merging back to maste (#5330) * Update .travis.yml