Commit Graph

82 Commits

Author SHA1 Message Date
Kinzie 815b917b6f Update to zig version 0.12.0 2024-04-21 07:27:14 +01:00
Kinzie 96116de398 Code improvements 2024-04-20 11:21:23 +01:00
Kinzie 65a047ea32 Update zigini to improve compatibility with old config 2024-04-20 08:44:13 +01:00
Kinzie 220fbf79b0 small cleanup 2024-04-20 08:10:32 +01:00
Kinzie b66e7f09d2 less alloc, update migrator, get DesktopNames from .desktop 2024-04-18 15:56:43 +01:00
アシュ 7c71dee3db
Clean up when SIGTERM is received (#597)
* clean up child processes on SIGTERM

* small code improvement

* consistency.. i guess?
2024-04-18 10:27:43 +02:00
AnErrupTion eefa06e40f
Add experimental save file migrator + bug fixes + add "-dev" version suffix
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2024-04-16 19:20:45 +02:00
アシュ 002630995d
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
2024-04-16 14:45:30 +02:00
AnErrupTion d6fc781192
Oops, forgot to allocate hehe
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-31 18:24:49 +01:00
AnErrupTion 55ef58ad7e
Try to fix some more bugs
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-31 16:44:30 +01:00
AnErrupTion 74556479db
Fix some bugs (hopefully)
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-31 15:48:36 +01:00
AnErrupTion c03e2e6b87
Implement more (untested) authentication code
Signed-off-by: AnErrupTion <anerruption@disroot.org>
2023-12-31 15:09:49 +01:00
AnErrupTion 92e1f083a1
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>
2023-12-11 18:14:52 +01:00
AnErrupTion d1cf1ebd80 Rewrite INPUTS enum in Zig 2023-07-01 01:48:48 +02:00
AnErrupTion 70770ab16b Use Zig package manager 2023-06-22 11:43:58 +02:00
AnErrupTion 40c7c27b88 Partially rewrite utils.c 2023-06-21 15:20:44 +02:00
AnErrupTion 4eb6c0c4de Add files 2023-06-20 12:14:23 +02:00
AnErrupTion f086faab58 Rewrite config.c 2023-06-20 12:14:15 +02:00
AnErrupTion 13c9aa7c1b Remove unused dependencies 2023-06-17 17:12:38 +02:00
AnErrupTion 85600ee9b3 Remove Argoat dependency 2023-06-16 11:45:07 +02:00
AnErrupTion f99468db0b Rewrite main.c 2023-06-16 11:31:57 +02:00
AnErrupTion d3d9aa7b18 Add build.zig, remove makefile, add .idea directory to .gitignore 2023-06-15 13:38:09 +02:00
AnErrupTion 1c2be475ad Exit when asking for version 2023-06-15 09:30:09 +02:00
AnErrupTion d775efb414 Rename GIT_VERSION_STRING to LY_VERSION, don't allow shutdown and reboot at same time 2023-06-15 09:26:34 +02:00
AnErrupTion cbd82146e2 Fix code syntax issues 2023-06-15 09:00:31 +02:00
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
2023-06-15 08:57:37 +02:00
Ranny Archer faa76def08
Ctrl+{hjkl} Moving cursor (but not in text) (#492) 2023-06-14 23:24:00 +02:00
Alfred Roos 24f017e09c
Fixed wrong argument in inputs.s input_desktop (#469) 2022-12-08 23:29:23 +01:00
AnErrupTion a7b01a721b Increase length for UID to 20 (closes #444) 2022-12-07 12:35:35 +01:00
Simon Struck 77eb456410
Re-add missing environment variables (#446) 2022-12-07 12:33:12 +01:00
AnErrupTion 19153760d3 Fix segfault (closes #434, #435) 2022-12-07 12:20:23 +01:00
Cavernosa 59aae77f49
Fixes for the XDG Base Dirs implementation (#330) (#419)
Fix XDG Base Dirs implementation
2022-08-14 20:08:08 +02:00
ShiningLea 09ee6293bd
Merge dev into master (closes #182) (#425)
Merge dev into master branch
Co-authored-by: AnErrupTion <anerruption@disroot.org>
2022-08-12 21:27:06 +02:00
ShiningLea 9364ffcea9
Merge pull request #330 from UtkarshVerma/xdg
Use XDG_RUNTIME_DIR for storing Xauthority
2022-06-03 10:16:37 +02:00
ShiningLea 2e1a57648b
Merge pull request #393 from UtkarshVerma/xinitrc
Make `xinitrc` path configurable
2022-06-03 10:04:35 +02:00
AnErrupTion 5945982d99 Merge remote-tracking branch 'origin/master' 2022-06-03 10:02:06 +02:00
AnErrupTion 723a008adf Helpful message when doing --help (closes #391 #390 #346) 2022-06-03 09:59:33 +02:00
Utkarsh Verma 802ad7b204
Merge branch 'master' of github.com:fairyglade/ly into xinitrc 2022-06-03 07:43:36 +05:30
Utkarsh Verma 079f68696b
Make xinitrc path configurable 2022-06-03 07:43:19 +05:30
Utkarsh Verma 38aacc6b1c
Implement fallback logic for XAUTHORITY 2022-05-24 07:41:35 +05:30
Elisha Hollander 77d186b802
use `uint16_t` on `put_cell` iterations 2022-05-17 01:36:36 +03:00
Turion64 8eb487ae9e
Merge pull request #354 from SapphireAmoeba5/master
Make TAB key loop through U.I elements infinitely
2022-05-16 23:24:19 +02:00
Turion64 dec2ef14e0
Merge pull request #352 from kefoster951/master
Changed active_input selection to be based on default config
2022-05-16 23:23:26 +02:00
SapphireAmoeba5 ffa8fbe77b Replaced 0 with SESSION_SWITCH 2022-05-13 19:03:01 -03:00
SapphireAmoeba5 ac2b255021 Make TAB key loop through U.I elements 2022-05-13 13:23:14 -03:00
kefoster951 bd04d69b4d
Changed default input to login field 2022-05-13 09:12:24 -04:00
kefoster951 a078a07ee7
Update main.c 2022-05-13 09:11:00 -04:00
Qontinuum da5b08abf2
Check if lang is NULL and use shorter check (#303) 2022-05-12 22:37:43 +02:00
kefoster951 559f2f7370
Update main.c
changed how the curser placement works to be based on if there is a saved username or not
2022-05-12 11:05:23 -04:00
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.
2022-04-25 20:52:22 +02:00