Commit Graph

4198 Commits (320ea9eb4e5f99c26b399f9435d80e04710eb92b)
 

Author SHA1 Message Date
Greyson Parrelli 320ea9eb4e Bump version to 4.40.2 5 years ago
Greyson Parrelli 86d8cde9b4 Updated language translations. 5 years ago
Alan Evans bf759711ef Image Editor - Keep image within crop bounds.
* 4% of original pixels must be visible.
* The entire crop must be within the image.
* On release, try to scale crop area and image to fit if the crop is invalid.
* Undo to last valid position if that didn't work.
* Additionally, center thumbs now do not respect aspect ratio lock.
5 years ago
Alan Evans 068ffc2167 Image Editor - Allow undoing during croping. 5 years ago
Alan Evans 95304fe001 Image Editor - Remove initial text.
- Flashing cursor.
5 years ago
Alan Evans 2de64fca02 Image Editor - Fix double HUD animation on older devices. 5 years ago
Greyson Parrelli 3211dd2a8f Ignore resources.arsc in apkdiff.py
Due to a bug described in:

https://issuetracker.google.com/issues/110237303

Ordering of resources can be non-deterministic.

A comment on the issue indicates that this may be resolved in
Android Gradle Plugin 3.4. We should revisit when we update.
5 years ago
Peter Gerber b6dc25a368 Reproducible build: Ensure apkdiff.py works properly again
The recent switch to Python3 (2ccdf0e396) introduced a regression
that led to file content no longer being compared:

   In compareEntries(), two generators/iterators are created:

     sourceInfoList      = filter(lambda sourceInfo: …, sourceZip.infolist())
     destinationInfoList = filter(lambda destinationInfo: …, destinationZip.infolist())

   Few lines later, those are exhausted:

     if len(sourceInfoList) != len(destinationInfoList):

   Yet another few lines later, the exhausted generator is used again:

     for sourceEntryInfo in sourceInfoList:
        …          # <-- unreachable

This is caused by behavioral differences between Python2 and Python3:

   user@z_signal:~$ python2
   Python 2.7.13 (default, Sep 26 2018, 18:42:22)
   [GCC 6.3.0 20170516] on linux2
   Type "help", "copyright", "credits" or "license" for more information.
   >>> f = filter(lambda i: i % 2 == 0, [0, 1, 2, 3, 4, 5, 6])
   >>> list(f)
   [0, 2, 4, 6]
   >>> list(f)
   [0, 2, 4, 6]
   >>>

   user@z_signal:~$ python3
   Python 3.5.3 (default, Sep 27 2018, 17:25:39)
   [GCC 6.3.0 20170516] on linux
   Type "help", "copyright", "credits" or "license" for more information.
   >>> f = filter(lambda i: i % 2 == 0, [0, 1, 2, 3, 4, 5, 6])
   >>> list(f)
   [0, 2, 4, 6]
   >>> list(f)
   []
   >>>
5 years ago
Greyson Parrelli 4e64242883 Bump version to 4.40.1 5 years ago
Greyson Parrelli fcd3b501eb Revert "Enable 64-bit."
This reverts commit 67704612df.
5 years ago
Greyson Parrelli 62ed098687 Bump version to 4.40.0 5 years ago
Greyson Parrelli 2a93ddfb99 Updated language translations. 5 years ago
Alan Evans 387392f38b
End align footer for long message bubble sent.
Fixes #8806
5 years ago
Alan Evans 5b298b4a04
Resize image in attempts to get it to fit into the maxImageSize bytes.
Fixes #8803
5 years ago
Alan Evans cb78684282
Ensure push groups cannot have isForceSmsSelection set.
Fixes #8807
5 years ago
Alan Evans 67704612df
Enable 64-bit. 5 years ago
Alan Evans f3c8b51520
Web RTC M74 for 64-bit. 5 years ago
Alan Evans b1057d63a1 Lint.
- Check for permissions.
- Fix Welsh positional format.
- Remove UIThread restriction.
- Asynchronous method does not need to be restricted to UIThread and there is no StaticFieldLeak to suppress.
- Fix or Ignore New API errors.
- Reduce severity of some errors from L10N.
5 years ago
Alan Evans 2ccdf0e396 Bring the Reproducible Builds instructions and script into repo. 5 years ago
Alan Evans 93e6ccb9e4 Replace image editor. 5 years ago
Alan Evans 196ef60a82 Update camera icons. 5 years ago
Alan Evans 478e5667b4 Update signal-service-android to 2.13.1 for 64-bit curve-25519. 5 years ago
Alan Evans 06ea000f42
Repeat count for format args of plural string.
Fixes #8724
5 years ago
Alan Evans d1b8e77fdc
Always show the SIM on the footer of a multi-SIM device, even if one SIM is disabled. 5 years ago
Alan Evans 8cf2654c5b Show reply method SMS/Signal and respect sticky.
Fixes #8792
5 years ago
Alan Evans 18531146f7 Update the sticky EventBus message to reflect changes in microphone enabled state.
Fixes #7827
5 years ago
Jeffrey Griffin c274c1bb28 Eliminate noisy directory feedback
We observed IOExceptions loading the Contact Discovery IAS KeyStore. We will now throw an AssertionError upon any error
creating the IAS KeyStore, matching the behaviour for creation of the TrustStore used for the main Signal Service. NB: If
this assertion is hit, the user will not even be able to refresh their contacts with the old directory service.
5 years ago
Alan Evans 42a8522e98 Manually call the onPageSelected when entering page 0.
Fixes #7610
5 years ago
Greyson Parrelli 960e165c7d Bump version to 4.39.4 5 years ago
Greyson Parrelli eab23a9e66 Fixed issue where giphy results weren't loading. 5 years ago
Greyson Parrelli c7b626082c Bump version to 4.39.3 5 years ago
Greyson Parrelli 59f362495a Add additional checks around link preview domains.
We never make requests to non-whitelisted domains, but there were
situations where some links would redirect to non-whitelisted domains,
which would hit a final failsafe that resulted in a crash.

To prevent this, we detect bad redirects earlier and fail more
gracefully.

Fixes #8796
5 years ago
Greyson Parrelli 6c44437c6f Bump version to 4.39.2 5 years ago
Greyson Parrelli fed8ae68e9 Updated language translations. 5 years ago
Greyson Parrelli 934a2a67bc Fix some keyboard issues in landscape. 5 years ago
Greyson Parrelli 05345b8582 Remove some unnecessary logging. 5 years ago
Greyson Parrelli cef5de2be4 Removed unnecessary WorkManager relic. 5 years ago
Greyson Parrelli 7b4299d5da Bring back conscrypt, improve provider initialization ordering. 5 years ago
Alan Evans ec20b0e0e3
Fallback to SIM index.
#8725
5 years ago
Greyson Parrelli ff1531b836 Bump version to 4.39.1 5 years ago
Greyson Parrelli 1675c8a79a Updated language translations. 5 years ago
Greyson Parrelli bb90987e7c Fix potential crash when retrieving SIM list. 5 years ago
Greyson Parrelli ecea6abeb6 Temporary revert (again) to fix an avatar retrieval issue.
This reverts commit 77524ae1f2.
5 years ago
Greyson Parrelli 4a2f3136c6 Bump version to 4.39.0 5 years ago
Greyson Parrelli d12b02fac5 Updated language translations. 5 years ago
Greyson Parrelli 1e564b6ad1 Fix exponential backoff retry limits. 5 years ago
Alan Evans c77daa8226 Display carrier or number if any SIM descriptions clash.
Fixes #8725
5 years ago
Alan Evans fa35814344 Disable transport disables all matching TransportOptions.
Fixes #8744
5 years ago
Alan Evans 48efcaa785 Do not list SIMs that are not ready.
Fixes #8426
5 years ago
Greyson Parrelli f3f6cc87d9 Request a small chunk instead of HEAD for images of unknown size. 5 years ago