Commit Graph

304 Commits (71d48e4be46b9b2e392a29fe41c74e9cea7e6cd2)

Author SHA1 Message Date
Matthew Chen cc20182ec0 Normalize translation in image editor. 6 years ago
Matthew Chen 0d26caced7 Normalize translation in image editor. 6 years ago
Matthew Chen f01fe8e563 Normalize translation in image editor. 6 years ago
Matthew Chen 2bc5ac14ca Respond to CR. 6 years ago
Matthew Chen 7130895e3f Fix translation in all of editor view's gestures. 6 years ago
Matthew Chen 674cf2e01f Render stroke and text items in image coordinates, not canvas coordinates. 6 years ago
Matthew Chen 7aa826748a Fix translation in crop editor's pinch gesture. 6 years ago
Matthew Chen 4022ba1a16 Fix translation in crop editor's pan gesture. 6 years ago
Matthew Chen 1f922aa478 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen c0f907c441 Respond to CR. 6 years ago
Matthew Chen 69c5492fce Clean up ahead of PR. 6 years ago
Matthew Chen 331a013f8d Clean up ahead of PR. 6 years ago
Matthew Chen 618a3b1d47 Sketch out crop tool. 6 years ago
Matthew Chen 73b36c5400 Respond to CR. 6 years ago
Matthew Chen 6ac2dd7ea1 First draft of image editor's text tool. 6 years ago
Matthew Chen 3f8ea271b4 First draft of image editor's text tool. 6 years ago
Michael Kirk cc2e062b85 CR: clean up graphics context code 6 years ago
Michael Kirk d88ffc4775 Notification titles for iOS10+ 6 years ago
Michael Kirk 1bfe691895 In app notifications for iOS10+
Extract shared notification presention/response

Implement adapters which use that logic for modern UNUserNotification and
legacy UINotifications
6 years ago
Matthew Chen 6ff6ee2e2e Rework layout of conversation input toolbar. 6 years ago
Matthew Chen 8c7c9b27a2 Merge tag '2.34.0.26' 6 years ago
Michael Kirk 599a57e3a4 Pan horizontal to bulk select images 6 years ago
Michael Kirk 169581f12f show toast when selecting too many items 6 years ago
Matthew Chen 977ee9ffe9 Merge remote-tracking branch 'private/release/2.34.0' 6 years ago
Matthew Chen 7878c0fac8 Add feature flag for 'note to self'. 6 years ago
Michael Kirk 721f330296 warm non-signal accounts cache in the background 6 years ago
Matthew Chen 50f9a089bf Fix navbar layout in share extension. 6 years ago
Michael Kirk 0ab326da92 Only show delete button on selected rail item 6 years ago
Michael Kirk c690ac2710 allow deselecting tool 6 years ago
Michael Kirk a8200d6f4a Fix swipe between multi-images
gesture shouldn't be enabled until tool has been selected
6 years ago
Matthew Chen 5e3de84fdc Add feature flag for image editor. 6 years ago
Matthew Chen 9ab8bec2b1 Fix searching for 'note to self'. 6 years ago
Matthew Chen fc8fbebd97 Note to Self. 6 years ago
Matthew Chen 8aa68327e6 Add primitive color picker. 6 years ago
Matthew Chen a440f692ce Clean up image editor temp files. 6 years ago
Matthew Chen 2b25d875bc Don't select a tool by default in image editor view. 6 years ago
Matthew Chen 5dcde44486 Image editor fixes. 6 years ago
Matthew Chen 17c3ba0580 Image editor fixes. 6 years ago
Michael Kirk df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
6 years ago
Matthew Chen 35b6f6cf12 Respond to CR. 6 years ago
Matthew Chen db8bc58b6d Implement crop. 6 years ago
Matthew Chen 57f888a447 Add crop gesture. 6 years ago
Matthew Chen 03cbeb5fee Start working on crop. 6 years ago
Matthew Chen 2f95413bcf Use narrow change events in image editor. 6 years ago
Matthew Chen f224c2130a Suppress undo during strokes. 6 years ago
Matthew Chen cf1763e79d Suppress undo during strokes. 6 years ago
Matthew Chen 3d67c6574d Suppress undo during strokes. 6 years ago
Matthew Chen 9378ab2192 Add undo/redo buttons to image editor. 6 years ago
Matthew Chen d1cf942f7e Respond to CR. 6 years ago
Matthew Chen 825826aa05 Reduce jitter with smoothing. 6 years ago
Matthew Chen b8775006bb Clean up ahead of PR. 6 years ago
Matthew Chen 794241963e Clean up ahead of PR. 6 years ago
Matthew Chen da13dc1d2e Clean up ahead of PR. 6 years ago
Matthew Chen bf734d5959 Clean up ahead of PR. 6 years ago
Matthew Chen 04cd6c3495 Clean up ahead of PR. 6 years ago
Matthew Chen 639dac4e26 Add stroke drawing to the image editor. 6 years ago
Matthew Chen b0e0c6e8c2 Replace edited attachments when sending. 6 years ago
Matthew Chen 2f7e99de46 Smooth stroke rendering. 6 years ago
Matthew Chen e2afe27f5e Add trivial test interaction to image editor. 6 years ago
Matthew Chen 4752cb94f5 Add ImageEditorView. 6 years ago
Matthew Chen 04440ed1e6 Add ImageEditorStrokeItem. 6 years ago
Matthew Chen 8704ffe93c Sketch out image editor undo/redo. 6 years ago
Matthew Chen 57232683fc Sketch out image editor undo/redo. 6 years ago
Matthew Chen f95526bff7 Start sketching out image editor. 6 years ago
Matthew Chen 26a25f861b Start sketching out image editor. 6 years ago
Michael Kirk eb96eec94a Merge branch 'release/2.32.0' 6 years ago
Michael Kirk 34737567c2 fix voice over for settings bar button item 6 years ago
Michael Kirk 9bcc6a6c57 show navbar for photo/album picker, not approval 7 years ago
Michael Kirk 0562619ca9 smaller margins between rail images, avoid choppy change as the margin updates
are not being animated smoothly.
7 years ago
Michael Kirk 8776dd1909 New "add caption" and "done" assets 7 years ago
Michael Kirk 8b5d1d9e69 Only add delete button once 7 years ago
Michael Kirk 6cdef57e2a Merge tag '2.32.0.15' 7 years ago
Michael Kirk dbe8e5706d avoid crash on iOS9/10 7 years ago
Matthew Chen 8b24fba095 Add "add more" button to image picker. Provide caption editing continuity. 7 years ago
Michael Kirk 87bfdbb72c Sender Rail 7 years ago
Michael Kirk 92135af8be Merge branch 'release/2.32.0' 7 years ago
Michael Kirk 47a7114317 Gallery pager style changes 7 years ago
Matthew Chen 860eb44edc Fix breakage in share extension. 7 years ago
Matthew Chen 763acae158 Use thread to ensure consistent colors in contact cells. 7 years ago
Matthew Chen 28f37a7a34 Update contacts cells' dependencies. 7 years ago
Matthew Chen f1d93d4472 Merge remote-tracking branch 'origin/release/2.30.2' 7 years ago
Michael Kirk 2b805e4eae Constantize ConversationColorName, map previous incorrect values 7 years ago
Michael Kirk 405cc31a38 Apply new colors to new conversation 7 years ago
Matthew Chen 0125535d4d Pull out SignalCoreKit. 7 years ago
Matthew Chen 547724b5cf Add inner shadows to profile pics. 7 years ago
Matthew Chen 352777765e Add inner shadows to profile pics. 7 years ago
Matthew Chen 25d56b30c1 Rework group avatars to reflect conversation colors. 7 years ago
Matthew Chen ae84528dc3 Update avatar colors; add shaded conversation color constants, modify color picker to be color-name-based, not color-based, use shaded conversation colors, remove JSQ. 7 years ago
Michael Kirk 920a82564f Merge tag '2.29.3.3' 7 years ago
Michael Kirk fd492f379a Use BlockListCache where possible 7 years ago
Michael Kirk 2c49232db0 remove barely used getters
Lock contention on these methods is less important because we're not iterating
over their access, e.g. per tableViewCell
7 years ago
Michael Kirk 28d28cf2b6 remove unused code 7 years ago
Michael Kirk 8aba5725cf BlockListViewController v. group blocking 7 years ago
Michael Kirk eadb04efcc WIP: ContactViewHelper incorporates group blocking
-[ ] UI
  -[ ] Conversation Settings
    -[x] Show switch for group
    -[ ] localize
    -[ ] migrate existing localizations? (nice to have)
    -[ ] can view conversation settings (but not edit them) in left group
    -[ ] special block copy for groups
    -[ ] special unblock copy for groups
  -[ ] ConversationViewHelper
   -[x] Track blocked groups
   -[ ] HomeView
   -[ ] ConversationView
   -[ ] Any others?
   -[ ] Rename? Extract BlockList cache?
  -[ ] Block List
    -[ ] Group Section
    -[ ] Unblock group
  -[ ] Interstitial interacting with blocked threads (e.g. thread picker)
    -[ ] BlockListUIUtils w/ thread
        -[x] Block
        -[x] Unblock
        -[ ] Replace usages where possible
        -[x] block manager
-[ ] Sync
  -[x] tentative protos
  -[ ] confirm protos w/ team
  -[x] send new protos
-[ ] Message Processing
  -[ ] Drop messages from blocked groups
7 years ago
Michael Kirk 236c17f65e WIP: group blocking
-[ ] UI
  -[ ] Conversation Settings
    -[x] Show switch for group
    -[ ] localize
    -[ ] migrate existing localizations? (nice to have)
    -[ ] can view conversation settings (but not edit them) in left group
    -[ ] special block copy for groups
    -[ ] special unblock copy for groups
  -[ ] Block List
    -[ ] Group Section
    -[ ] Unblock group
  -[ ] Interstitial interacting with blocked threads (e.g. thread picker)
    -[ ] BlockListUIUtils w/ thread
        -[x] Block
        -[x] Unblock
        -[ ] Replace usages where possible
        -[x] block manager
-[ ] Sync
  -[x] tentative protos
  -[ ] confirm protos w/ team
  -[ ] send new protos
-[ ] Message Processing
  -[ ] Drop messages from blocked groups
7 years ago
Matthew Chen df7acfeed3 Simplify OWSPreferences access. 7 years ago
Matthew Chen 3a12446be8 Modify environment accessors to use our 'shared' convention. 7 years ago
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
7 years ago
Matthew Chen cc5a480baa Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen c0d486b1f1 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 3a50377902 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 713606271c Rename fail macros in Obj-C. 7 years ago
Matthew Chen 5b50e81b4f Rename fail macros in Swift. 7 years ago
Matthew Chen 7be8f30877 Apply -> Never. 7 years ago
Matthew Chen d4f7b5d45b Respond to CR. 7 years ago
Matthew Chen e1049fdfcc Respond to CR. 7 years ago
Matthew Chen cf6f3841a8 Apply new Swift logging. 7 years ago
Michael Kirk 82e559d11b Use swift macros for main thread assert 7 years ago
Michael Kirk 1743407cc2 Code cleanup per code review 7 years ago
Michael Kirk 3022f92925 Tweak tint for search bar icons in dark theme 7 years ago
Michael Kirk 75bb9b60db Alternative dark theme search bar
Rather than our custom class, we can get pretty far using existing UISearchBar
styling, and then apply the final tweak, the search bar text field background
color by traversing the view.

This fixes a couple issues:

1. There was a small wavering in height of the custom search bar
2. When your table header view is a UISearchBar you get nice scroll "snapping"
   when showing/hiding the search bar.
7 years ago
Michael Kirk e435358bfd Revert "Add custom themed search bar."
This reverts commit 8daaef22da.
7 years ago
Michael Kirk b80d88c824 theme attachment approval keyboard
// FREEBIE
7 years ago
Matthew Chen 8daaef22da Add custom themed search bar. 7 years ago
Matthew Chen decb0c54ca Theme review. 7 years ago
Matthew Chen a76d488e8b Fix QA issues in theme. 7 years ago
Matthew Chen 26001e49d1 Unify log tags. 7 years ago
Michael Kirk 7a0d74c17e Use dark blur for navbar
In the light theme, using the "light" blur allows the bar to seem invisible
when over white content. Similarly for the "dark" blur over black content.
7 years ago
Michael Kirk 1ff443c3ac restore transparent navbar in attachment approval 7 years ago
Matthew Chen 9c92719ec4 Refine theme. 7 years ago
Matthew Chen 5ef0b6d056 Refine theme. 7 years ago
Matthew Chen acd7d094b1 Refine theme. 7 years ago
Matthew Chen 579e88bdc2 Improve nullability handling for SignalAccount. 7 years ago
Michael Kirk 78ad597e44 Merge tag '2.28.0.15' 7 years ago
Michael Kirk def8b43daa iOS9/10 fixups 7 years ago
Matthew Chen fa8a07abf1 Respond to CR. 7 years ago
Michael Kirk 6e1c1a681b Merge tag '2.28.0.12' 7 years ago
Michael Kirk 3d6b8e2bb5 hide navbar blur layer in attachment approval, which has a clear navbar 7 years ago
Matthew Chen 48975eaac8 Respond to CR. 7 years ago
Matthew Chen 8862f9a531 Refine views. 7 years ago
Michael Kirk 11fc674ef4 Avoid blur as overly-tall navigation bar lingers after dismissal.
Use the precise status bar height.
7 years ago
Michael Kirk 7a5f5476db rename to avoid confusion 7 years ago
Michael Kirk 8da47b64d9 clarify different methods
These method names were too similar to existing methods in PureLayout, which
have slightly different behavior.

ows_autoPinToSuperviewEdges uses left/right, whereas PureLayouts uses
leading/trailing

ows_autoPinToSuperviewMargins uses our own constraint adding logic, which
behaves differently in some cases.
7 years ago
Michael Kirk a2c67bb96b Enhance navbar blur, match input toolbar blur
// FREEBIE
7 years ago
Matthew Chen c460ff2945 Fix contact cell layout. 7 years ago
Michael Kirk 4f94d5c5a9 default value 7 years ago
Michael Kirk 104e63ded9 remove appearance juggling 7 years ago
Michael Kirk f8abe32ae9 more styling to new nav colors 7 years ago
Michael Kirk de56eb9d6b Proper color for compose screen avatars
ConversationCell#thread is nullable

// FREEBIE
7 years ago
Michael Kirk 16df4f589e conversation colors
// FREEBIE
7 years ago
Matthew Chen d2f2e1cb22 Respond to CR. 7 years ago
Matthew Chen 7634e3a44d Respond to CR. 7 years ago
Matthew Chen 2b457c6499 Tweak contact shares. 7 years ago
Michael Kirk 803a58f33a avoid assert
// FREEBIE
7 years ago
Michael Kirk cde1c3fb7c Fix: iOS10 was not respecting margins with our homebrew pin method
// FREEBIE
7 years ago
Matthew Chen 8cb057c23f Fix 'contact cell vs. message details layout' issue. 7 years ago
Matthew Chen c8d0a80032 Fix 'contact cell vs. message details layout' issue. 7 years ago
Matthew Chen 2ecbf1bb65 Fix 'contact cell vs. message details layout' issue. 7 years ago
Matthew Chen 1a57fe631c Fix 'contact cell vs. message details layout' issue. 7 years ago
Matthew Chen 0df71e22a5 Fix message detail view. 7 years ago