Commit Graph

4223 Commits (d5fffb013285c90ee950872650438f650d637fbc)
 

Author SHA1 Message Date
Alan Evans d5fffb0132 Fix conversation menu colors. 6 years ago
Alan Evans c8c152fe60 Lint - baseline of errors.
* qa task calls lint.
6 years ago
Alan Evans 350d1f47d3 Give conversation a standard navigate up button.
* Prevent a failing IDE preview.
6 years ago
Alan Evans 2ae42cb095 Hide local video when toggled on and off.
Fixes #8827
6 years ago
Alan Evans dae0d30367 Do not show contact address in subtitle. 6 years ago
Alan Evans e5f70bdbda
End RTC call on incoming PSTN call.
* Hangs up when new device call is answered.
* Ensure not on a device call when starting a Signal call.
6 years ago
Alan Evans 156fe37a60
Get SubscriptionManager by name due to ContextCompat bug for API 22.
Fixes #8826
6 years ago
Alan Evans 56848fb83d
Replace sgnl.link urls with a more readable url.
* Taken out random string, reverted to single "Let's switch".

#8767
6 years ago
Alan Evans 3cba8ab58a
Keep system default SIM as a fallback for when no conversation default SIM.
Fixes #8452
6 years ago
Alan Evans 88dac70087
Lint - Custom Widgets extend Appcompat Widgets. 6 years ago
Alan Evans 9445555d66
Code analysis - address @NotNull/@Nullable issues. 6 years ago
Alan Evans 7db1588578 Do not assume phone number in conversation.
Fixes #8813
6 years ago
Alan Evans 0a7970ad0c
Image Editor - Allow undoing back to the original state when exceeds the undo limit. 6 years ago
Alan Evans 10ad3fbf82 Lint - Use easily identifiable wake lock tags. 6 years ago
Alan Evans 95858898d7 Lint - avoid calling a restricted API. 6 years ago
Alan Evans 16c8cc88d7 Update visibility and icon of camera flip control in call.
Fixes #8221
6 years ago
Greyson Parrelli c0c051bb66 Bump version to 4.40.4 6 years ago
Greyson Parrelli bd0d1e842f Updated language translations. 6 years ago
Alan Evans 7f0c998b24
Image Editor - Further crop improvements.
* Thumb accuracy improved.
* When out of bounds from drag, try to fix by adjusting translation.
* Update undo state when listener changes.
6 years ago
Greyson Parrelli 5a4c2fc7b0 Bump version to 4.40.3 6 years ago
Alan Evans 456ba5fa02 Image Editor - Replace minimum scale, with minimum pixel count.
- Anti alias images.
- Minimum crop ratio of 15:1 or original image ratio.
6 years ago
Alan Evans 9de420fde6 Image Editor - On flip or rotate, ensure undo button visibility is updated. 6 years ago
Alan Evans 401e3687de Image Editor - when no sticker selected, go back to mode NONE. 6 years ago
Alan Evans 6777b3e0e6
Image Editor - Undo button visibility. 6 years ago
Greyson Parrelli b5d37702f9 Switch back to the classic handling of landscape text entry.
Fixes #8814
6 years ago
Greyson Parrelli 320ea9eb4e Bump version to 4.40.2 6 years ago
Greyson Parrelli 86d8cde9b4 Updated language translations. 6 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.
6 years ago
Alan Evans 068ffc2167 Image Editor - Allow undoing during croping. 6 years ago
Alan Evans 95304fe001 Image Editor - Remove initial text.
- Flashing cursor.
6 years ago
Alan Evans 2de64fca02 Image Editor - Fix double HUD animation on older devices. 6 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.
6 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)
   []
   >>>
6 years ago
Greyson Parrelli 4e64242883 Bump version to 4.40.1 6 years ago
Greyson Parrelli fcd3b501eb Revert "Enable 64-bit."
This reverts commit 67704612df.
6 years ago
Greyson Parrelli 62ed098687 Bump version to 4.40.0 6 years ago
Greyson Parrelli 2a93ddfb99 Updated language translations. 6 years ago
Alan Evans 387392f38b
End align footer for long message bubble sent.
Fixes #8806
6 years ago
Alan Evans 5b298b4a04
Resize image in attempts to get it to fit into the maxImageSize bytes.
Fixes #8803
6 years ago
Alan Evans cb78684282
Ensure push groups cannot have isForceSmsSelection set.
Fixes #8807
6 years ago
Alan Evans 67704612df
Enable 64-bit. 6 years ago
Alan Evans f3c8b51520
Web RTC M74 for 64-bit. 6 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.
6 years ago
Alan Evans 2ccdf0e396 Bring the Reproducible Builds instructions and script into repo. 6 years ago
Alan Evans 93e6ccb9e4 Replace image editor. 6 years ago
Alan Evans 196ef60a82 Update camera icons. 6 years ago
Alan Evans 478e5667b4 Update signal-service-android to 2.13.1 for 64-bit curve-25519. 6 years ago
Alan Evans 06ea000f42
Repeat count for format args of plural string.
Fixes #8724
6 years ago
Alan Evans d1b8e77fdc
Always show the SIM on the footer of a multi-SIM device, even if one SIM is disabled. 6 years ago
Alan Evans 8cf2654c5b Show reply method SMS/Signal and respect sticky.
Fixes #8792
6 years ago