Commit Graph

63 Commits (master)

Author SHA1 Message Date
ShiningLea d8d2d5a8bf
Nobody expects the Ziguanas (#517)
* Add build.zig, remove makefile, add .idea directory to .gitignore

* Remove submodules, add projects directly

* Remove submodules

* Add projects

* Rename sub/ to dep/, remove makefiles

* Rewrite main.c

* Remove Argoat dependency

* Remove unused dependencies

* Rewrite config.c

* Add files

* Change default fg to 8 in config.ini

* Partially rewrite utils.c

* Use Zig package manager

* Rewrite INPUTS enum in Zig

* Commit unfinished full rewrite (Zig 0.11.0)
What needs to be dealt with:
- Matrix animation
- Authentication part
- Testing on actual TTY (not just virtual console)

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Implement more (untested) authentication code

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Fix some bugs (hopefully)

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Try to fix some more bugs

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Oops, forgot to allocate hehe

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Changes in the Zig rewrite (#596)

* Everything

* make matrix.zig a bit cleaner

* make long lines shorter and add changelog

* vi mode

* update changelog

* get errors from child process and (hopefully) fix some other things

* fix utmp entry

* run authentication in a child process

* update changelog

* small code improvements

* change that

* clear terminal on SIGTERM

* Remove LogFile

* moved ini to a lib, fixed alternative langs

* fix logging out

* oops

* code improvements

* consistency

* clearing the env isn't needed anymore (afaik)

* replace vi_mode with a bool

* type aliases, avoiding zeroes(), breaking a long line

* lowercase insert/normal, merge conditionals, code improvements

* Add experimental save file migrator + bug fixes + add "-dev" version suffix

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Resolve conflicts

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Clean up when SIGTERM is received (#597)

* clean up child processes on SIGTERM

* small code improvement

* consistency.. i guess?

* Properly set XDG_CURRENT_DESKTOP

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Zig 0.12.0 and more! (#599)

* less alloc, update migrator, get DesktopNames from .desktop

* small cleanup

* Update zigini to improve compatibility with old config

* Code improvements

* Update to zig version 0.12.0

* Some fixes

* tiny changes

* remove useless comment

* migrator changes, and small things

* set XDG env vars differently

* free memory on error when appending environments

* Fix out of bounds issue when using the Delete key

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Update zig-ini to fix configuration issue (#603)

* Mention display-manager-init for Gentoo/OpenRC in readme.md

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Tidy up readme.md

Signed-off-by: AnErrupTion <anerruption@disroot.org>

* Fix authentication in a few edge cases (#604)

* fix loginConv and auth

* fix potential mem leak with configs

* BIG changes

---------

Signed-off-by: AnErrupTion <anerruption@disroot.org>
Co-authored-by: アシュ <120780645+Kawaii-Ash@users.noreply.github.com>
1 week ago
lolicon0930 2ca870cfc5
Check if the clock is on. (closes #521) (#522)
If the clock is on, then change the numlock and capslock state positions.
11 months ago
lolicon0930 42bf929756
Add option to change shutdown/reboot keys (#487)
Include options in the configuration to change which function keys to use for shutdown and reboot.
Fix config.map_len size in src/config.c.
Add missing defaults in config_defaults() in src/config.c.
11 months ago
AnErrupTion 1c2be475ad Exit when asking for version 11 months ago
AnErrupTion d775efb414 Rename GIT_VERSION_STRING to LY_VERSION, don't allow shutdown and reboot at same time 11 months ago
AnErrupTion cbd82146e2 Fix code syntax issues 11 months ago
Colin 1124c126f9
Clocks (#461)
* Added a big clock

* fixed clock timing when animation is turned off

* fix memory leak and segfault

* rename clock to bigclock

* Added formattable clock

* fix clock position on first draw

don't rely on box_x and box_y to position the clock, because it might not be initialized in the first frame.

* fix memory leak
11 months ago
Ranny Archer faa76def08
Ctrl+{hjkl} Moving cursor (but not in text) (#492) 11 months ago
Alfred Roos 24f017e09c
Fixed wrong argument in inputs.s input_desktop (#469) 1 year ago
AnErrupTion a7b01a721b Increase length for UID to 20 (closes #444) 1 year ago
Simon Struck 77eb456410
Re-add missing environment variables (#446) 1 year ago
AnErrupTion 19153760d3 Fix segfault (closes #434, #435) 1 year ago
Cavernosa 59aae77f49
Fixes for the XDG Base Dirs implementation (#330) (#419)
Fix XDG Base Dirs implementation
2 years ago
ShiningLea 09ee6293bd
Merge dev into master (closes #182) (#425)
Merge dev into master branch
Co-authored-by: AnErrupTion <anerruption@disroot.org>
2 years ago
ShiningLea 9364ffcea9
Merge pull request #330 from UtkarshVerma/xdg
Use XDG_RUNTIME_DIR for storing Xauthority
2 years ago
ShiningLea 2e1a57648b
Merge pull request #393 from UtkarshVerma/xinitrc
Make `xinitrc` path configurable
2 years ago
AnErrupTion 5945982d99 Merge remote-tracking branch 'origin/master' 2 years ago
AnErrupTion 723a008adf Helpful message when doing --help (closes #391 #390 #346) 2 years ago
Utkarsh Verma 802ad7b204
Merge branch 'master' of github.com:fairyglade/ly into xinitrc 2 years ago
Utkarsh Verma 079f68696b
Make xinitrc path configurable 2 years ago
Utkarsh Verma 38aacc6b1c
Implement fallback logic for XAUTHORITY 2 years ago
Elisha Hollander 77d186b802
use `uint16_t` on `put_cell` iterations 2 years ago
Turion64 8eb487ae9e
Merge pull request #354 from SapphireAmoeba5/master
Make TAB key loop through U.I elements infinitely
2 years ago
Turion64 dec2ef14e0
Merge pull request #352 from kefoster951/master
Changed active_input selection to be based on default config
2 years ago
SapphireAmoeba5 ffa8fbe77b Replaced 0 with SESSION_SWITCH 2 years ago
SapphireAmoeba5 ac2b255021 Make TAB key loop through U.I elements 2 years ago
kefoster951 bd04d69b4d
Changed default input to login field 2 years ago
kefoster951 a078a07ee7
Update main.c 2 years ago
Qontinuum da5b08abf2
Check if lang is NULL and use shorter check (#303) 2 years ago
kefoster951 559f2f7370
Update main.c
changed how the curser placement works to be based on if there is a saved username or not
2 years ago
jakobrs c0366fe805
Use tb_poll_event instead of tb_peek_event (#320)
draw_box and position_input are called because they need to be called
before *input_handles[active_input] for the cursor to be positioned
correctly.
2 years ago
Baptiste Daroussin 7ed6631197
FreeBSD deserves nice drawing as well (#340) 2 years ago
Stale 6245639daf
Matrix scrolling text animation (#283) 2 years ago
Raen 9fd7779972
Allow en.ini load and add config to hide f1 commands (#281) 2 years ago
AnErrupTion 25034d1536 Set XDG_SESSION_ID to fix a few bugs 2 years ago
AnErrupTion 27c5673116 Set XDG_SESSION_TYPE earlier to fix some bugs 2 years ago
Utkarsh Verma 908ebf8964
Use XDG_RUNTIME_DIR for storing Xauthority 2 years ago
nullgemm 4094d2182a add missing include 3 years ago
nullgemm b448fc97b2 remove the ctypes submodule 3 years ago
nullgemm 8493c5a8ad use custom pam service name 4 years ago
nullgemm 4a7c82e3e3 add /usr/sbin to default path 4 years ago
nullgemm ce785ed0dc add ctrl-u input clearing 4 years ago
nullgemm 915ebd442f clear password instead of free 4 years ago
nullgemm 825544f7e2 fix password not being cleared when blank_password is set 4 years ago
Érico Nogueira Rolim 33934f3ab2 add wayland specifier to session names (#162)
Create a config option to force ly to add " (Wayland)" to session
names, as long as those names don't already contain the string.
4 years ago
nullgemm 4882cd4548 fix wayland sessions 4 years ago
nullgemm 36b7ab0d4d remove developement comment (#140) 4 years ago
nullgemm 9eb212cb91 put xauthority file in XDG_CONFIG if specified 4 years ago
Érico Nogueira Rolim fa42781cb9 Make the project compilable with clang. (#163)
Clang generates more warning messages, such as pointing out a lack
of newline at end of file and issues with the size of a strncopy.

Moving -Wno-unused-parameter to the end of the flags avoids it being
overwritten by -Wextra.

Removing -Werror avoids compilation errors that may arise from new
compiler warnings that might come from newer versions of compilers.
4 years ago
mozartilize ccf7911e9f fix hidden cursor after logout (#172) 4 years ago