Commit Graph

3571 Commits (d6ac17d0eea1942b4660dcbcb28c6c0a0aa13739)
 

Author SHA1 Message Date
Greyson Parrelli d6ac17d0ee Bump version to 4.21.4 6 years ago
Greyson Parrelli 3a85c966d0 Fix false-positive outage detection.
Turns out that there's some weird quasi-state when you come out of
airplane mode, that if you do an InetAdress lookup, it returns some
weird IPv6-looking garbage address. Going to retry in that scenario
instead of assuming an outage.
6 years ago
Greyson Parrelli f8747748f9 Bump version to 4.21.3 6 years ago
Greyson Parrelli cc1350ba5b Updated language translations. 6 years ago
Greyson Parrelli bb7a33ed8e Bump version to 4.21.2 6 years ago
Greyson Parrelli fe4ce88439 Revert "Upgrade SQLCipher to respect a max window size."
This reverts commit dace93abb3.
6 years ago
Greyson Parrelli 2c7769ae26 Bump version to 4.21.1 6 years ago
Greyson Parrelli 542e962be9 Fixed crash when ScribbleView failed to save.
Previously, if an operation failed, we set the result to "null".
However, this was a mistake. Setting the result at all assumes success.
Instead, we need to set an exception so the ListenableFuture knows that
the operation failed.
6 years ago
Greyson Parrelli e65cd2636b Bump version to 4.21.0 6 years ago
Greyson Parrelli 2c17b54ef9 Show a banner in the event of a service outage.
We will now determine if there has been a service outage and render a
banner at the top of the conversation list if we detect that there has
been one.
6 years ago
Greyson Parrelli 0999359454 Improve the image editor.
A variety of improvements to the image editor, such as:

- New, fullscreen styling
- Smoother lines
- Better text and sticker handling
- Improved color picker with a history pallette
- New highlighter tool
6 years ago
Greyson Parrelli dace93abb3 Upgrade SQLCipher to respect a max window size.
Previously, SQLCipher's memory usage would grow indefinitely, up until
it hit the end of the cursor. We've now switched to a release where the
memory  used by the cursor can be bounded.
6 years ago
Greyson Parrelli eed2c6ec4c Added adaptive icon support.
Also moved our non-adaptive app icon into the mipmap folders, which is
where they should be.

Fixes #7607
6 years ago
Greyson Parrelli df2c5d38b0 Don't notify new users if there is a pending SQLCipher migration.
If a user is upgrading to use the SQLCipher database (which happened
back in 4.16, so this only applies to relatively dormant users who are
just getting back into the app) and received a new "user X joind signal"
message, then it could screw up the migration. So we're just dropping
these notifications that happen in this narrow window.
6 years ago
Greyson Parrelli a6b6775aa1 Bump version to 4.20.9. 6 years ago
Greyson Parrelli 79857b98b3 Fix bug with quoted reply notifications. 6 years ago
Greyson Parrelli 0c3535cff8 Bump version to 4.20.8 6 years ago
Greyson Parrelli 626e6930a5 Fix search header rendering after rotation.
The sticky header cache was keeping views across rotations, causing them
to render incorrectly afterwards. I added a method to invalidate the
header layouts after rotation.

Fixes #7890.
6 years ago
Greyson Parrelli 44f5cc9070 Annotate methods in AttachmentUtil as @WorkerThread. 6 years ago
Greyson Parrelli e45a4b86d8 Bump version to 4.20.7 6 years ago
Greyson Parrelli 30be732ae8 Don't auto-download attachments from unknown contacts. 6 years ago
Greyson Parrelli 643dd0b679 Bump version to 4.20.6 6 years ago
Greyson Parrelli 2b45b3caa2 Fixed export and restore of FTS tables.
First, FTS index contents do not need to be exported. They will be recreated naturally.

Second, we can't export the secret FTS tables, or SQLite will think it's corrupted.
6 years ago
Greyson Parrelli b7282589de Fixed issue with backup and restore when creating new tables.
Fixes #7863
6 years ago
Greyson Parrelli 6bc7f2a5a4 Fix NPE in FTS when snippet is null. 6 years ago
Greyson Parrelli 3731e2a74a Fix jumbomoji rendering and EmojiTextView resizing.
Fixed an issue where jumbomoji were not properly being rendered
when using system emoji. Also fixed an issue where the text
content wasn't properly being recalculated when the view is
resized.

Fixes #7875
6 years ago
Greyson Parrelli bb40f38124 Bump version to 4.20.5 6 years ago
Greyson Parrelli f0e5aa312e Allow EmojiTextView to redraw after changing emoji setting.
Also just fixed some minor formatting issues.
6 years ago
Greyson Parrelli ceafb0d130 Reduce emoji flickering and other ellipsize woes.
1. Switch to using default text rendering if there's no emoji present in
the string.

2. Reduce redudant redraws by skipping of setText() calls for identical
strings.

Together, these two changes should reduce the vast majority of
flickering we see with EmojiTextView ellipsizing.
6 years ago
Moxie Marlinspike 70c2a863cc Correctly store backup
Fixes #7831
6 years ago
Greyson Parrelli d813275f42 Increase number of recent conversations shown when sharing.
Intended to reduce the pain of #7202.
6 years ago
Greyson Parrelli 5650a02cfb Sort search results exclusively by date.
I think I was initially lured into searching by rank because it gives
the illusion of providing the "best match". However, in practice, FTS
never gives back "bad" matches with low ranks -- all of the results it
returns will contain your query in some form (most commonly a direct
substring, but they do take some liberties if you have multiple tokens
in your queries). Given that, in general, more recent search results are
in fact more relevant, we can sort by date exclusively and get a better
ordering overall.
6 years ago
Greyson Parrelli 0503c9eea5 Prevent replies on action messages.
Fixes #7829
6 years ago
Greyson Parrelli abae419853 Flatten multiline text snippets in search results.
If a search result snippet spans two lines, we only show the first line.
For the purpose of display, we first remove all newlines in order to
make the full snippet visible.
6 years ago
Greyson Parrelli 71ccbf2a1b Secondarily sort search results by date.
This should help with getting back search results that more closely
match user intention.
6 years ago
Greyson Parrelli 92a64f59a4 Switch search to use the existing header.
Probably best to not try out any possible new design changes just yet.
Let's stick with what we have.
6 years ago
Greyson Parrelli 6d56447de2 Bump version to 4.20.4 6 years ago
Greyson Parrelli e189fff856 Fixed some cursor-related bugs in Search. 6 years ago
Greyson Parrelli 8fc63c4d78 Bump version to 4.20.3 6 years ago
Greyson Parrelli e6e8416aec Use correct recipient for message search results.
Previously, we'd always use the recipient of the message record, which
was incorrect for messages sent to groups. Now we always use the
recipient for the matching thread record.

Fixes #7823
6 years ago
Greyson Parrelli a792a6e6ae Fixed ThumbnailView sizing problems.
Glide will use the dimensions of the target ImageView as the dimensions
for the image it's loading. This caused problems in the case of
ThumbnailView, as we were constantly changing the ImageView dimensions,
meaning Glide may not have the most recent values (it may be called in
between measure calls, for instance).

To solve this, we now will always override the default image dimensions
when we load an image. If no dimensions are present, we will default to
the layout_width and layout_height of the ThumbnailView.

Fixes #7810
6 years ago
Greyson Parrelli 07e8ae716c Fix EmojiTextView regression.
Using the singleLine attribute will make the TextView report that the
lineCount is always 1, regardless of actual text length. This breaks our
manual ellipsize calculation. Because you can't actually read the
singleLine attribute at runtime, I've switched relevant usages of
singleLine to use maxLines=1 (relevant usages are EmojiTextViews where
singleLine was set and ellipsize was set to 'end').

Fixes #7744
6 years ago
Greyson Parrelli 0b1b568893 Fix notifications for replies.
Notifications for replies will no longer display as a "Media Message" if
they do not contain media. Instead, they will just contain the reply
text.

Fixes #7798
6 years ago
Greyson Parrelli 3a827d1c48 Fix dark theme in search.
Fixed #7821
6 years ago
Moxie Marlinspike 622b3afce0 Update build instructions 6 years ago
Moxie Marlinspike 107f6b4277 Bump version to 4.20.2 6 years ago
Moxie Marlinspike 32b608ff2f Updated language translations 6 years ago
Greyson Parrelli eb42b7b26a Bump version to 4.20.1. 6 years ago
Greyson Parrelli 93effc8890 Disable contact sending. 6 years ago
Greyson Parrelli 5d75f11cbc Bump version to 4.20.0. 6 years ago