Commit Graph

27 Commits

Author SHA1 Message Date
kate-signal
08a3e32943
fix release notes wallpaper 2026-06-08 09:04:22 -04:00
kate-signal
589d37d607
release notes wallpaper 2026-05-12 18:11:45 -04:00
Igor Solomennikov
52c559f817
Adjust exposure in the blurred wallpaper image. 2026-02-25 12:45:37 -06:00
Igor Solomennikov
3f6a04e14e
Darker incoming bubbles in dark mode with "dim wallpaper" off. 2026-02-17 15:46:29 -06:00
Igor Solomennikov
060b9b5244
Tweak appearance of incoming message bubbles in chat. 2026-02-09 14:45:20 -08:00
Igor Solomennikov
dee4420972
Blur background for incoming message bubbles. 2026-02-05 17:14:52 -08:00
Max Radermacher
7f0e73ab16
Run swiftformat . using v0.59.0 2026-01-28 14:16:20 -06:00
Sasha Weiss
d267ec8305
Run swiftformat . 2025-12-30 11:34:05 -08:00
Max Radermacher
702aeded9f
Respect global “Dark Theme Dims Wallpaper” setting 2025-09-24 16:21:51 -05:00
Sasha Weiss
bb048e8b59
One transaction type to rule them all and in the darkness bind them 2025-03-13 21:43:35 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry
096aa72133
Consolidate + clean up WallpaperStore 2024-08-27 15:57:10 -07:00
Harry
691718335f
Move chat style enum definitions into SignalServiceKit 2024-08-27 15:53:48 -07:00
Harry
b2d621c8c2
Validate wallpaper images before setting them 2024-06-12 14:47:09 -07:00
Harry
5c31047c54
Split out and clean up thread wallpaper image storage 2024-05-21 10:37:05 -07:00
Ehren Kret
30424e19ae remove OWSNavigationControllerBase
This appears to have been a hack for something that may have been
necessary in older versions of iOS. Current iOS seems to just return
true with no side-effects from this super call so there's no reason to
retain this hack apparent.
2024-04-28 23:19:43 -05:00
Ehren Kret
5068cd3782 finish migrating UIImage+OWS to swift 2024-04-23 07:47:47 -05:00
Jordan Rose
b0de59f2e2 Remove required from every init that is not dynamically dispatched
This included:
- Removing unavailable inits wholesale if no longer `required`
- Marking a few classes `final` so they could continue using
  `Self(...)` rather than `OWSWhatever(...)`
2024-04-01 15:27:20 -07:00
Jordan Rose
2727a70b90 Make AtomicValue's lock-sharing explicit
Also:
- Remove AtomicUInt's @objc, it's no longer used from ObjC
- Remove Codable conformances, they would implicitly use shared locks
  and weren't used in practice
2024-03-27 10:57:32 -07:00
Max Radermacher
3664cafe88
Simplify and fix issues with chat colors 2023-07-07 13:15:21 -05:00
Max Radermacher
5ccc0f944c
Prepare wallpaper for thread merges 2023-07-07 13:09:26 -05:00
Igor Solomennikov
c054f3de91
Remove unnecessary "@objc" in SignalUI. 2023-05-16 16:39:19 -07:00
Max Radermacher
154927ecac Don’t load every wallpaper on every launch 2023-05-04 17:50:55 -07:00
Evan Hahn
370ff654e7
Change license to AGPL
Change license to AGPL

This commit:

- Updates the `LICENSE` file

- Start every file with something like:

      // Copyright YEAR_FIRST_PUBLISHED Signal Messenger, LLC
      // SPDX-License-Identifier: AGPL-3.0-only

---

First, I removed existing license headers with this Ruby 3.1.2 script:

    require 'set'

    EXTENSIONS_TO_CHECK = Set['.h', '.hpp', '.cpp', '.m', '.mm', '.pch', '.swift']

    same = 0
    different = 0

    all_files = `git ls-files`.lines.map { |line| line.strip }
    all_files.each do |relative_path|
      if relative_path == 'Pods'
        next
      end

      unless EXTENSIONS_TO_CHECK.include? File.extname(relative_path)
        next
      end

      path = File.expand_path(relative_path)

      contents = File.read(path)
      new_contents = contents.sub(/\/\/\n\/\/  Copyright .*\n\/\/\n\n/, '')

      if contents == new_contents
        same += 1
      else
        different += 1
      end

      File.write(path, new_contents)
    end

    puts "updated #{different} file(s), left #{same} untouched"

I'm sure this script could be improved, but it worked well enough.

Then, I created `Scripts/lint/lint-license-headers` and ran it to auto-
fix a lot of files. This changed the mode of some files, but I think
that's actually desirable. For example,
`SignalServiceKit/src/Util/AppContext.m` previously had a mode of
`0755/-rwxr-xr-x`, and it's now `0644/-rw-r--r--`.

Then I fixed some stragglers and updated the precommit script.

See [a similar change in the Desktop app][0].

[0]: 8bfaf598af
2022-10-13 08:25:37 -05:00
Igor Solomennikov
8b3ea9d27d Fix typo: "Gausian" -> "Gaussian". 2022-05-17 19:25:30 -07:00
Evan Hahn
f84c578420 UIView's renderAsImage always returns an image
We extend `UIView` with a new method, `renderAsImage`. It always returns a `UIImage`, but we marked its return type as `UIImage?`.

This removes that optionality and updates all callers.
2022-04-05 13:32:29 -05:00
Matthew Chen
c416609108 Add SignalUI framework target. 2021-10-19 09:39:53 -03:00