Commit graph

1238 commits

Author SHA1 Message Date
Matthew Chen
e15b8ebe16 Add names to operation queues. 2018-09-14 14:24:37 -04:00
Matthew Chen
62c55c9cfb Fix broken tests. 2018-09-14 14:20:39 -04:00
Matthew Chen
2ba642c9e9 Ensure fakes/mocks are debug-only. 2018-09-14 14:18:39 -04:00
Matthew Chen
e784f9feeb Move fakes to SSK/tests. 2018-09-14 14:05:43 -04:00
Matthew Chen
25239ca608 Respond to CR. 2018-09-10 17:43:17 -05:00
Matthew Chen
3935b019f4 Add base class for tests. 2018-09-10 17:30:18 -05:00
Matthew Chen
106ecf2e8e Respond to CR. 2018-09-07 16:25:10 -04:00
Matthew Chen
cc117b385c Modify environment accessors to use our 'shared' convention. 2018-09-07 16:20:59 -04:00
Matthew Chen
3a12446be8 Modify environment accessors to use our 'shared' convention. 2018-09-07 16:20:41 -04:00
Matthew Chen
bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 2018-09-07 16:19:00 -04:00
Matthew Chen
bcceda1861 Respond to CR. 2018-09-07 16:05:57 -04:00
Matthew Chen
cfb511aa57 Respond to CR. 2018-09-07 16:00:32 -04:00
Matthew Chen
eb616a3411 Respond to CR. 2018-09-07 15:37:40 -04:00
Matthew Chen
535241ef9e Add test app context; use mock "document" and "shared data container" directories in tests, use mock keychain storage in tests. 2018-09-07 15:37:40 -04:00
Matthew Chen
399dd13cee Add test app context; use mock "document" and "shared data container" directories in tests, use mock keychain storage in tests. 2018-09-07 15:37:40 -04:00
Matthew Chen
f9eab5cd24 Merge remote-tracking branch 'origin/release/2.29.2' 2018-09-07 15:27:50 -04:00
Michael Kirk
9ec82b9a44 graceful failure when receiving too-small profile data 2018-09-07 11:02:52 -06:00
Michael Kirk
503cb046e4 remove unused FunctionalUtil code 2018-09-07 11:02:52 -06:00
Michael Kirk
a2852ee930 Overflow math and safer asserts in Cryptography.m
Also removed some unused code
2018-09-07 11:02:52 -06:00
Michael Kirk
c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Michael Kirk
a54ed8b201 Step 1/2 Prefer safer asserts 2018-09-07 10:00:48 -06:00
Matthew Chen
9fefdd2e2c Respond to CR. 2018-09-06 16:04:01 -04:00
Matthew Chen
a2fe4dbe39 Refine image validation. 2018-09-06 16:04:01 -04:00
Matthew Chen
34a05cdb85 Refine image validation. 2018-09-06 16:04:01 -04:00
Matthew Chen
b6649319da Fix build breakage. 2018-09-06 16:03:29 -04:00
Matthew Chen
27fa5dc2ef Make thumbnail logic thread-safe to being called on main thread. 2018-09-06 16:03:29 -04:00
Matthew Chen
a04aa259ed Fix bug in sync loading of thumbnails. 2018-09-06 16:03:29 -04:00
Matthew Chen
5bdbf76b08 Cache "is valid image/video" properties. 2018-09-06 16:03:29 -04:00
Matthew Chen
b1f2b9e75c Clean up thumbnail-related logic. 2018-09-06 16:03:29 -04:00
Matthew Chen
a088b94c74 Update Cocoapods, fix build breakage. 2018-09-06 15:37:24 -04:00
Matthew Chen
b91751a114 Respond to CR. 2018-09-06 15:30:00 -04:00
Matthew Chen
748b243156 Restore full-screen thumbnails. 2018-09-06 15:30:00 -04:00
Matthew Chen
9eb2a4f5ad Raise max valid image size. 2018-09-06 15:30:00 -04:00
Matthew Chen
72a71c185b Improve handling of thumbnails dir. 2018-09-06 15:30:00 -04:00
Matthew Chen
3a5d1877da Reduce thumbnail sizes. 2018-09-06 15:30:00 -04:00
Matthew Chen
ec83ed182b Clean up. 2018-09-06 15:30:00 -04:00
Matthew Chen
32bf47fc74 Don't track thumbnail metadata in db; improve thumbnail quality. 2018-09-06 15:30:00 -04:00
Matthew Chen
8026d34651 Remove full-screen thumbnail. 2018-09-06 15:30:00 -04:00
Matthew Chen
2daa66fdf6 Use thumbnails dir. 2018-09-06 15:30:00 -04:00
Matthew Chen
a9096209e9 Add failure methods to thumbnail service. 2018-09-06 15:30:00 -04:00
Matthew Chen
8748dc9b2e Modify new thumbnail system to include video and GIF thumbnails. 2018-09-06 15:30:00 -04:00
Matthew Chen
206432fdf0 Add failure methods to thumbnail service. 2018-09-06 15:30:00 -04:00
Matthew Chen
f6e792c707 Add failure methods to thumbnail service. 2018-09-06 15:30:00 -04:00
Matthew Chen
3437361d70 Use new thumbnails in media gallery thumbnails. 2018-09-06 15:30:00 -04:00
Matthew Chen
ac4365e1c9 Add OWSThumbnailService. 2018-09-06 15:30:00 -04:00
Matthew Chen
1831f0b1f8 Reorder AttachmentStream methods. 2018-09-06 15:30:00 -04:00
Matthew Chen
446ceb2b9c Rename AttachmentStream methods. 2018-09-06 15:30:00 -04:00
Matthew Chen
498828f93c Rename AttachmentStream methods. 2018-09-06 15:30:00 -04:00
Matthew Chen
44a3a81469 Update logging and asserts in hotfix changes. 2018-09-04 16:12:41 -04:00
Matthew Chen
9ab4da5c81 cherry-pick Merge branch 'charlesmchen/logSdp' 2018-09-04 13:51:31 -06:00