aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Use ArcticaGreeter's way of detecting the default session, only fallback to ↵Mike Gabriel2023-02-242-3/+9
| | | | LightDMs default if absolutely necessary.
* src/arctica-greeter.vala: Drop now unused continue_init variable.Mike Gabriel2023-02-241-1/+0
|
* src/arctica-greeter.vala: Prefer wayland sessions over X11 sessions.Mike Gabriel2023-02-241-2/+2
|
* src/arctica-greeter.vala: Add Lomiri to list of potential default sessions ↵Mike Gabriel2023-02-241-0/+1
| | | | (if installed).
* Allow wayland sessions to pass validation.Ivan Podogov2023-02-241-1/+9
| | | | This makes slick-greeter properly remember the last wayland session instead of defaulting to an xsession.
* src/arctica-greeter.vala: Move ArcticaGreeter method further up again, so it ↵Mike Gabriel2023-02-241-16/+16
| | | | is located below the constructor() method.
* src/arctica-greeter.vala: Move Glib.Bus.watch_name() call out of ↵Mike Gabriel2023-02-241-30/+8
| | | | ArcticaGreeter's contructor into separate ArcticaGreeter.go() method.
* src/arctica-greeter.vala: fix test mode.Mihai Moldovan2023-02-221-5/+37
| | | | | | | | | | | | | | | | | 32d28d7bf2646fc7a0008937034246fcc96dbc8a broke test mode by changing the ArcticaGreeter class to a proper SingleInstance vala class. While meant well, this created deadlocks, especially when using test mode, since other code being called from the ArcticaGreeter constructor tries to acquire references to ArcticaGreeter, which is still locked at that point in time. Fortunately, GObject has the constructed () function, that is almost never used within vala, but still works and is called after the constructor () (or, in vala parlance, construct), so we can move calling functions that might require a constructed ArcticaGreeter to constructed (). Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/42
* src/arctica-greeter.vala: Fix path of helper executable ↵Mike Gabriel2023-02-061-1/+1
| | | | arctica-greeter-enable-tap-to-click.
* shutdown-dialog: margin left/right -> margin_start_end.Joshua Peisach2023-02-061-2/+2
| | | | | | | | | Ref: https://valadoc.org/gtk+-3.0/Gtk.Widget.margin_left.html Ref: https://valadoc.org/gtk+-3.0/Gtk.Widget.margin_right.html Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/dcbb38af4d3f4276889f958b883c962bb8957fa6
* Enable touchpad tap-to-click.Mike Gabriel2023-02-061-0/+13
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/85f83be9977faf2482d38d2cc289f0542b1c06a4
* user-list: Allow hidden user visibility to be toggled.Clement Lefebvre2023-02-061-12/+9
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/ce8704c02498fef137908e36b315d0876300d2c2
* entry: Support the ability to reveal the password.Clement Lefebvre2023-02-061-0/+40
| | | | | | | | | | | | | This adds the following features: - Clicking the entry shows a reveal button - Pressing Left or Right shows the button - Clicking the button toggles the visibility of the password - Pressing Alt+F8 shows the button and toggles the visibility Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/2e8797c80a2d8febf8f89bf38e1040ccbf8be4e0
* a11y: Make the onboard layout configurable.Mike Gabriel2023-02-062-2/+11
| | | | | | | | | Original patch by Clement Lefebvre (Slick Greeter). https://github.com/linuxmint/slick-greeter/commit/ae090039efff87ad8b9b856f3fe451f9f41d21be Modified by Mike Gabriel (change: don't store the complete layout path in gsettings).
* keyboard navigation: Don't prevent left/right movement in Gtk.Entry.Clement Lefebvre2023-02-061-10/+0
| | | | | | | | | The shutdown dialog Left/Right navigation works without this code anyway. Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/d9d47171d4c00a7004a5548f7e170355c2ba1618
* sessions: Close dialog on Escape.Clement Lefebvre2023-02-061-0/+10
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/aaa10cc2a080cf5fecc693bde7ba473ad87bbe96
* sessions: Add a tooltip on the session badge.Clement Lefebvre2023-02-063-6/+28
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/cf3742cf155e0925904c7da86457deaea6a87885
* badges: Add lxqt.Clement Lefebvre2023-02-061-0/+3
| | | | | | Port from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/d6fcbd63919d9f301b65fbcfab956e69d686fbfc
* badges: Add pademelon.Clement Lefebvre2023-02-061-0/+2
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/2dbf7308961572ae730db83deb398d0045f31d91
* sessions: Make the list scrollable.Clement Lefebvre2023-02-061-1/+12
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/1480b029099ea24724d307943dc742a42fcd3159
* orca: Fix wrong a11y text for username prompt.Clement Lefebvre2023-02-061-2/+6
| | | | | | Ported from Slick Greeter ported by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/dfe45aa7c7171ca58a35e6f337f805ad447c8906
* Set our own cursor theme and size internally via GtkSettings.Michael Webster2023-02-062-3/+20
| | | | | | | | The gtk and icon themes already work this way. Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/97f9f54b686303dec81918d3056194bff2a3163c
* Add badge for fynedesk.Jacob2023-02-061-0/+2
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/512c1032bda19884099e00d41dc23627bccee2c1
* Add sway badge.Louis des Landes2023-02-061-0/+2
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/ad0e52a13d3ed169276acfe27aea5c4e5ea271ae
* Fixed default session for manual user entry.mwileczka2023-02-061-0/+4
| | | | | | Ported from Slick Greeter by Mike Gabriel. https://github.com/linuxmint/slick-greeter/commit/d85d872a84233b125278825e5d64162079b84fc7
* src/arctica-greeter.vala: Apply HiDPI settings after command line has been ↵Mike Gabriel2023-02-061-12/+13
| | | | parsed (so we know if we are in test-mode or not).
* src/menubar.vala: Hide the bigfont feature until it's really available.Mike Gabriel2023-02-061-0/+4
|
* misc src/: completely rework high contrast mode, add stub for big font mode.Mihai Moldovan2023-02-068-35/+574
| | | | | | | | | This is a work-in-progress. The reworked high contrast mode adds support for a configurable high contrast GTK theme and changes a lot of widgets to change their color. The big font mode is a stub currently.
* src/: add util.vala, wrapping a GTK 3 function for use within vala.Mihai Moldovan2023-02-062-1/+30
| | | | | | | Since this function is only needed for and available in GTK 3, add configure checks for GTK 4.0 and higher as well. We will use this function later on.
* src/toggle-box.vala: fix CSS style.Mihai Moldovan2023-02-061-3/+3
| | | | | CSS element ids called "GtkElement" haven't been in use since 2014 and they never had a class called "element".
* misc src/: make ArcticaGreeter a proper vala SingleInstance class.Mihai Moldovan2023-02-069-72/+118
| | | | | This allows us to drop the rather awkward self-referencing static singleton member and use a standard vala/glib feature.
* src/settings.vala: make SingleInstance class.Mihai Moldovan2023-02-062-1/+20
| | | | | | | This way, we will be able to use it everywhere, as long as we hold a reference in the main greeter object. We will extend this class with other properties later on.
* src/settings-daemon.vala: Also set rfill MSD plugin to disabled in greeter.Mike Gabriel2022-11-281-0/+1
|
* src/settings-daemon.vala: Use correct MSD schema names.Mike Gabriel2022-11-281-16/+17
|
* src/toggle-box.vala: Port font-family-with-blanks-fix from prompt-box to ↵Mike Gabriel2022-06-271-2/+12
| | | | | | toggle-box. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/34
* session-list: Add badge for IceWM.Mike Gabriel2022-06-271-0/+2
| | | | Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/35
* src/prompt-box.vala: Use regular expression to split KEY_FONT_NAME into ↵Mike Gabriel2022-06-271-3/+12
| | | | | | | | font_family and font_size. This now also supports font family names containing blanks. Fixes: https://github.com/ArcticaProject/arctica-greeter/issues/34
* Fix some typosElyes HAOUAS2022-06-272-2/+2
| | | | Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* src/Makefile.am: Avoid duplicate double-quotes.Mike Gabriel2022-06-261-4/+4
|
* Fix some typosElyes HAOUAS2021-06-072-2/+2
| | | | Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
* src/main-window.vala: Fix missing parenthesis-close in debug message.Mike Gabriel2021-04-121-1/+1
|
* Fix 'Creation method of abstract class cannot be public.' in GreeterList class.Mike Gabriel2019-12-021-1/+1
|
* src/arctica-greeter.vala: Use set_decorated(false) on main_window, rather ↵Mike Gabriel2019-03-171-1/+1
| | | | than fullscreen(). With fullscreen() Arctica Greeter's main window gets only shown on the primary monitor and one cannot let the login box follow the pointing device to the active monitor anymore.
* Remove mlockall.Mike Gabriel2019-03-171-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Protect memory from being paged to disk, as we deal with passwords According to systemd-dev, "mlockall() is generally a bad idea and certainly has no place in a graphical program. A program like this uses lots of memory and it is crucial that this memory can be paged out to relieve memory pressure." With systemd version 239 the ulimit for RLIMIT_MEMLOCK was set to 16 MiB and therefore the mlockall call would fail. This is lucky becasue the subsequent mmap would not fail. With systemd version 240 the RLIMIT_MEMLOCK is now set to 64 MiB and now the mlockall no longer fails. However, it not possible to mmap in all the memory and because that would still exceed the MEMLOCK limit. " See https://bugzilla.redhat.com/show_bug.cgi?id=1662857 & https://github.com/CanonicalLtd/lightdm/issues/55 RLIMIT_MEMLOCK = 64 MiB means, arctica-greeter will most likely fail with 64 bit and will always fail on 32 bit systems. Hence we better disable it. Ported from Unity Greeter / Slick Greeter. https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1815493 https://github.com/linuxmint/slick-greeter/pull/127
* Fix build with vala 0.44Rico Tzschichholz2019-03-061-1/+1
|
* Fix background if image file is not readable.Cobinja2018-11-261-0/+18
| | | | | | | | | | | | | This fixes a bug, where we fell back to the defined background color, if reading an image file failed. If that file was a user background, we didn't fall back to the defined system background before using the color, now we do. Only if that one is not readable either, we fall back to the color. Ported from Slick Greeter: https://github.com/linuxmint/slick-greeter/commit/32f2bb5feebca3377c9fc202e0a6aac6ddb75212.patch
* src/background.vala: Fix for previous commit. Vala needs a bool expression ↵Mike Gabriel2018-09-061-1/+1
| | | | in if-clauses.
* src/background.vala: Fix FTBFS against Vala 0.42. This introduces a slight ↵Mike Gabriel2018-08-221-3/+8
| | | | behaviour change compared to the previous version, but actually in a direction we want it to be.
* Posix.Signal.<SIG>: Provide old-style Posix.SIG<SIG> API calls if built with ↵Mike Gabriel2018-06-213-0/+20
| | | | Vala API version << 0.40. (Fixes FTBFS on Debian 9).
* Use Posix.Signal.* rather than Posix.SIG*. (Vala 0.40 deprecations).Mike Gabriel2018-06-163-5/+5
|