18 Commits

Author SHA256 Message Date
b497994bf4 - Update to 1.8.4:
* Update layout indicator as soon as layout changes
  * Check for pending callback on destroy_surface
  * Clarify setup instructions without PAM
  * Fix missing include for sigaction

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=33
2025-11-08 08:33:42 +00:00
693193f10d - Update to 1.8.3:
* Ignore SIGUSR1 in the backend child process
  * main: change background color to #a3a3a3
  * Correct border thickness on typing indicator

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=31
2025-08-04 06:54:24 +00:00
d4a72467fe - Update to 1.8.2:
* main: null-terminate initial password buffer
  * comm: assert that password size is positive

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=29
2025-03-24 07:00:41 +00:00
69c71d82e6 - Update to 1.8.1:
* Improve frame callback and commit handling
  * Stop processing auth requests after success
  * Exit when password handling subprocess crashes
  * Only submit password if previous validation completed
  * Check if keymap is NULL before dereferencing
  * Better handle subprocess crashes
  * comm: improve robustness
  * Revert "comm: improve robustness"
  * Reapply "comm: improve robustness"
  * Define _POSIX_C_SOURCE globally
  * build: use cc.get_supported_arguments() for warnings
  * Assert that password buffer is NULL-terminated
  * build: bump version to 1.8.1
  * Fix potential NULL deference after getpwuid

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=27
2025-03-21 07:05:02 +00:00
a88348b3d2 - Update to 1.8.0:
* Accept input while validating
  * Link to manpage
  * Synchronize highlight position between outputs
  * Fix Wayland object leaks when outputs are destroyed
  * Configure SIGUSR1 with sigaction() instead of signal()
  * Make self-pipe nonblocking to prevent deadlock
  * Fix output-specific images when output reappears
  * Fix retry behaviour in while loop with mlock()
  * Correct for image orientation when loading image
  * Install pam config only if pam is enabled
  * Check setgid too after dropping root
  * Read password hash before fork
  * Add --ready-fd
  * Drop support for layer-shell
  * Don't send READY=1 for readiness notifications
  * Remove unnecessary wl_display_roundtrip() call
  * Check initial wl_display_roundtrip() return value
  * Document --ready-fd in man page
  * build: bump version to v1.8.0
  * Don't drop the buffer until after surface commit
  * Show cleared state when backspacing last character
  * Clear password on ctrl+backpace and ctrl+delete

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=25
2024-08-26 06:56:51 +00:00
8f15931d23 Accepting request 1084079 from home:dimstar:Factory
- Fix version information: drop "v" prefix.

OBS-URL: https://build.opensuse.org/request/show/1084079
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=23
2023-05-02 16:21:50 +00:00
fd68a9198d - Update to 1.7.2:
* Wait for the locked event

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=21
2023-01-29 07:48:03 +00:00
49ed8a800f - Update to 1.7.1:
* Parse `--debug` parameter before forking
  * Fix option parsing without --debug after #261
  * Remove overridden surface attachment
  * Estimate buffer size in advance for render_frame
  * Remove unused fields in swaylock_surface

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=19
2023-01-27 12:43:53 +00:00
d3c80391e0 Accepting request 1058711 from home:schubi2:pam_usr_etc
- Migration of PAM settings to /usr/lib/pam.d.

OBS-URL: https://build.opensuse.org/request/show/1058711
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=17
2023-01-17 08:03:47 +00:00
15a7c6823b Accepting request 1038958 from home:fbonazzi:branches:X11:Wayland
- Update to version 1.7:
  * Unlock the screen on SIGUSR1
  * Use mlock for password buffer
  * Delete whole utf8 character on backspace
  * Use shm_open instead of mkstemp
  * Check for existence of subcompositor
  * renderer: work with current buffer locally
  * Ensure that ext_session_lock_v1.unlock_and_destroy is processed.
  * shadow: make the result of crypt() const
  * Fix loss of clarity with odd-sized centered image
  * bash-completion: localize variables
  * wayland-scanner: use native version to support cross-compilation
  * Drop xdg-output requirement

OBS-URL: https://build.opensuse.org/request/show/1038958
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=15
2022-12-01 08:00:35 +00:00
83d032ecd0 - Update to 1.6:
* Support for the new ext-session-lock-v1 protocol
  * Add --indicator-{x,y}-position CLI options
  * Support for key repeat
  * Fix a potential use-after-free
  * Fix indicator buffer not resizing after display powers off
  * Prevent attaching and committing the surface twice
- Remove swaylock-version.patch: fixed

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=13
2022-03-08 08:33:59 +00:00
3eb862e399 See https://github.com/swaywm/swaylock/pull/128
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=11
2020-01-23 09:14:33 +00:00
a24636b9b0 - Update to 1.5:
* Add option to show indicator even if idle
  * fish-completion: use the correct fallback directory
  * Submit password by pressing Ctrl+m
  * Fix indicator position
  * Add option to adjust ring position via CLI arguments and the config file
  * Add fixed font-size option for indicator
  * Fix, clean up and sync docs and completions
  * Bug fixes
- Refresh swaylock-version.patch
- Mark pam.d/swaylock a config file
- Update fish path

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=10
2020-01-23 09:05:02 +00:00
d0b7ac9eca - Update to 1.4:
* Decouple the drawing of the background from drawing the indicator.
  * Allow spaces in image file path
  * Display xkb layout while typing
  * Submit password by pressing Ctrl+m (close #75)
  * Fix lock indicator position on hidpi screens.
  * Do not exit if no outputs are present
  * Fix minor typo in man page
  * Set version in project file
  * Added hide keyboard layout option
  * Described hide-keyboard-layout option in swaylock.1.scd
  * Fix --version when building from tarball
- Update swaylock-version.patch

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=8
2019-05-23 06:11:30 +00:00
6e8bab1cf5 Accepting request 672397 from home:jengelh:branches:X11:Wayland
- Update RPM groups.

OBS-URL: https://build.opensuse.org/request/show/672397
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=4
2019-02-07 10:44:05 +00:00
a475c47c2a - Put bash/fish/zsh completion in their own packages
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=3
2019-02-07 07:52:14 +00:00
fb0febadbd Accepting request 671867 from home:jubalh
- Update to 1.3:
  * Implement logging and remove wlroots dependency
  * Remove VLAs
  * Log error and exit if swaylock is suid with PAM backend.
  * Handle alloc failures.
  * Make setuid error clearer.
  * Sleep on incorrect password with shadow backend.
  * Allow setting both background image and colour
  * Add option show-failed-attempts
  * Remove references to pango
  * Fix swaylock.h include directive
  * Allow image file paths to contain colons
  * Add a pam Meson option
  * Make sure we can't restore root after setuid
  * shadow: fix return in initialize_pw_backend
  * Move PAM into a child process
  * loop: fix loop_add_fd when called multiple times
  * Check password without blocking
  * Add Meson feature options
  * Simplify XDG_CONFIG_HOME handling
  * Fix vertical align of text inside the circle

OBS-URL: https://build.opensuse.org/request/show/671867
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=2
2019-02-05 13:42:13 +00:00
d58819e530 Accepting request 671836 from home:jubalh
Please add me as maintainer

OBS-URL: https://build.opensuse.org/request/show/671836
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/swaylock?expand=0&rev=1
2019-02-05 12:15:31 +00:00