6b7a176a70
fix improper typing of path which caused crashes on .git file handling
2026-02-25 22:20:40 -05:00
eb0f31daa7
complete rewrite in zig...
...
upon release v5.0 I introduced a regression through my caching system in
which I naively thought that the mtime of a directory was updated by
child directories when it actually only updates for child files.
This rewrite introduces a new caching system where instead of relying on
mtime of the index file I simply store the path to, at most, 10
untracked paths and check those before anything else. This results in
slower, but more reliable caching. However due to Zig's ease of use I
was able to bring down the overall use when statically linked to libgit2
so overall XD should be faster \o/.
I also added a visor? (O) to represent an in progress rebase.
2026-02-22 17:33:43 -05:00
a205314c69
remove unused import
2025-11-14 11:05:56 -05:00
4bcbaa4549
re-organize version info to be in the most likely enabled order
2025-11-14 10:54:47 -05:00
1f96830f10
add performance logging
2025-11-14 10:54:10 -05:00
73c2acd37e
don't recalculate the hash twice
2025-11-14 10:15:06 -05:00
5e0e140b09
Implement a new caching system to make repeated runs much much faster.
2025-11-14 04:02:16 -05:00
4a008a82b0
remove cached files
2025-11-13 20:38:20 -05:00
28da6575e6
slightly improve speed on large git repositories
2025-11-13 20:37:00 -05:00
f31076baf8
make verision show how dirty it is
2025-11-13 20:36:40 -05:00
4e3d6f9b4a
formatting
2025-11-10 19:08:44 -05:00
203d7fee48
fix: memory leak
2025-09-07 18:17:01 -04:00
530f5a54c8
fix(man): typo
2025-09-07 18:02:24 -04:00
01567bb069
add support for submodules
2025-09-07 01:23:14 -04:00
d834bac2f4
minor improvements to speed
2025-05-09 13:37:36 -05:00
d04958c48b
add license
2025-04-29 19:31:01 -05:00
6cf8849391
switch to using git for versioning in config.mk
2025-04-27 17:32:44 -05:00
0e3a7a84e6
add new eyes for when the current repo is in the middle of a merge
2025-04-27 17:30:04 -05:00
68634537c0
fix bug where XD would segfault if the cwd didn't exist
...
also include errno so we can check it
2025-04-25 02:33:02 -05:00
529ac333ea
make sure compile_commands.json doesn't end up in the repo
2025-02-27 12:45:48 -06:00
50aa5f157f
typo :(
2025-02-27 12:45:40 -06:00
8f20a84ef7
bump version
2025-02-18 14:58:24 -06:00
09362e2c7c
replace atoi with my own impl to make sure that no errors occour
2025-02-18 14:48:32 -06:00
6025b2d832
Add -e flag to explain what the previous smiley face means. This
...
requires us to also know what the previous return signal is, so
if XD is given a return code, it passes it through when finishing
execution.
2025-02-18 14:32:40 -06:00
6c099e3648
update man page to reflect passing in return codes
2024-12-22 13:01:45 -05:00
202142a8af
fix segfault in certain situations do to missing arguments
2024-12-22 12:57:26 -05:00
6e5d8a1e6a
reorder code
2024-12-22 12:56:47 -05:00
d1752c3ac7
bugfix
...
re enable mwindow size stuff due to divide by zero's happening on
larger repositories
2024-12-22 12:55:39 -05:00
e6029a68e3
version bump
...
and fix typo
2024-12-21 21:43:01 -05:00
4af00678ca
optimize...
...
make the stage check faster by filtering the status list
2024-12-21 21:36:54 -05:00
cab498199e
optimizations :)
...
instead of initializing libgit2 and then looking for a repo, we
do a naive check to see if one exists and then if so initialize
libgit2
2024-12-21 21:35:07 -05:00
3fb00b615c
don't recursively check for -v arg
2024-12-21 21:33:12 -05:00
2dc0d582e6
change libgit2 initialization
2024-12-21 21:32:39 -05:00
2a6385fa36
optimizing...
...
replace printf with fwrite to make it ever so slightly faster
2024-12-19 13:41:57 -06:00
363f15abd3
add some missing stuff
2024-12-19 13:17:06 -06:00
8089a46d50
optimize further...
...
make sure to not include useless function calls when errors arent
enabled by wrapping all l calls in a macro
2024-12-19 12:30:55 -06:00
18947be24d
optimise
...
instead of putting each part of the face into an array we just
print it out to the console :)
2024-12-19 12:26:31 -06:00
d3f83e3af8
change compilation flags
2024-12-19 12:05:05 -06:00
ec2591c926
bump version info and add compile info to version
2024-12-19 11:47:40 -06:00
8ac77308f4
add man page
2024-12-19 11:45:52 -06:00
49dab6feaa
clean up error code collection
2024-12-19 11:41:19 -06:00
fc0da57dff
add nose for staged changes, and remove unnecessary includes
2024-12-19 09:14:01 -06:00
1a2fcaa610
fix typo
2024-12-19 01:25:17 -06:00
b89a69ed50
initial commit
2024-12-19 01:03:54 -06:00