Commit Graph

232 Commits

Author SHA1 Message Date
257f8ee0d0 Fix for top level '/' dir edge cases 2019-06-06 23:28:03 -07:00
9ab3ad0fa0 Bumped version 2019-06-06 18:13:58 -07:00
76f1cd816b Removed some unnecessary +refreshes and just set the dirty bit to 1
whenever an external program runs so the screen redraws without
necessarily refreshing the file listing.
2019-06-06 18:13:13 -07:00
069415a78b Reworked a bunch of the config option stuff for picking files and user
input. Now that stuff is handled with makefile flags.
2019-06-06 18:10:14 -07:00
380f2a8ab0 Removed code for move cursor to position (unused) 2019-06-06 18:09:33 -07:00
2c56bd34d7 Removed QUOTE() and cleaned up some of the macros for FUZZY and ASK 2019-06-06 16:45:31 -07:00
47019164a5 Fixed some wrap/cursor visibility issues 2019-06-06 15:37:26 -07:00
32b414e555 Removed breadline() and switched to use ask when possible, defaulting
to `read` and `fzy`
2019-06-06 15:33:20 -07:00
470caf1d60 Fixed bug with backspace 2019-06-04 21:15:17 -07:00
921b7ed4f8 Fixed issue with navigating to parent not selecting previous directory. 2019-06-04 21:14:49 -07:00
05705300de Removed junk 2019-06-04 21:14:17 -07:00
2db997c9e0 Fixed issue with non-NORMAL_TERM commands that set and reset alt screen,
and fixed issue with "(n) selected" message
2019-06-04 14:05:14 -07:00
824445c2fa Cleaned up scrolling logic 2019-06-04 13:44:43 -07:00
a667c09452 Merge branch 'master' of bitbucket.org:spilt/bb 2019-05-31 21:51:29 -07:00
888f859e97 Improved the randomization a bit, so the numbers are evenly distributed
[0,n) instead of [0, RAND_MAX), also cleaned up config file a little
2019-05-31 21:51:08 -07:00
b6fa5777c8 Improved the randomization a bit, so the numbers are evenly distributed
[0,n) instead of [0, RAND_MAX)
2019-05-31 21:49:42 -07:00
1ae281d3f9 Inlined PIPE_SELECTION_TO since it's only used once 2019-05-31 19:48:43 -07:00
18b98c8543 Made links dim (-> foo) instead of just the arrow 2019-05-31 18:57:32 -07:00
58d4c86389 Switched ':' to use "sh" instead of "$SHELL" because not all shells take
arguments.
2019-05-31 18:55:28 -07:00
0fa6e3a636 Compacting the code, putting column names with widths 2019-05-31 17:59:58 -07:00
05601c886b Added "<selection>" virtual directory, added '-' mark for "last
non-virtual directory" and 's' for "selection virtual directory",
cleaned up path normalization, added "N selected" visualization.
2019-05-31 17:44:18 -07:00
7fd3e166ee Better name for "double left click" 2019-05-31 16:13:50 -07:00
ca9ff7e941 Moved colwidths to config 2019-05-31 14:56:25 -07:00
06fa2d5b3c Got rid of +align command, and simplified column width logic (no more
auto-sizing, no more alignment, everything just has a static width now)
2019-05-31 14:52:57 -07:00
019ae526da Fixed some redraw dirty flag issues 2019-05-31 14:34:17 -07:00
961ac49f81 Simplifying interleave code and adding doc 2019-05-31 13:26:23 -07:00
17ce3f08df Moving interleave-dirs back from a full column to just a setting 2019-05-31 13:23:01 -07:00
c237e80bae Added a bit of extra spacing around columns 2019-05-31 13:14:29 -07:00
6ffae6ed30 Cleaned up some T_WRAP stuff 2019-05-31 13:11:09 -07:00
182af5c2af Switched to use cfmakeraw() instead of manually setting a bunch of
termios bits.
2019-05-31 13:05:12 -07:00
f019a8b0f5 Fixed some stuff with alt screen and spurious output to stdout 2019-05-31 12:59:36 -07:00
c7ce37ffbf Version bump 2019-05-31 12:48:48 -07:00
f539538582 Cleaned up a lot of the cd logic, making path names better-standardized,
but still keeping symlinks, and ensuring bb->path has a slash at the
end. Also cleaned up some empty directory errors.
2019-05-31 12:47:35 -07:00
e11158a69f Moved populating files before startup commands, so '+mark:0' works
properly
2019-05-31 01:17:23 -07:00
ed5d87f9a2 Fixed some memory errors, including a use-after-free. Simplified the
refcount by just explicitly tracking whether a file is being viewed and
whether it's selected.
2019-05-31 01:09:21 -07:00
f78a4d591d Added permission flags for created bb cmdfile 2019-05-31 00:25:32 -07:00
73b0f6efb6 Updating compiler flags 2019-05-31 00:24:21 -07:00
6db0c1bed4 Fixed one more qsort argument issue 2019-05-31 00:22:37 -07:00
928b712ad7 Fixing some qsort_r arg problems 2019-05-31 00:17:01 -07:00
9faede6193 Updating with more mac compatibility 2019-05-31 00:12:21 -07:00
72ed507499 Got everything working on linux 2019-05-31 00:03:48 -07:00
befe7667ad Changing empty initializer 2019-05-30 23:00:28 -07:00
1627621246 realloc() -> reallocf() to be extra safe 2019-05-30 22:26:00 -07:00
33e4fc2600 Simplifying command control flow 2019-05-30 22:25:22 -07:00
405786b7c9 Cleaned up a bunch of stuff, including finding entries, a sorting bug,
and some command stuff.
2019-05-30 18:44:56 -07:00
e2350214ae Bumped version 2019-05-30 18:08:49 -07:00
48a55d7bca Inlined the options to bb_t, and added a dirty flag instead of the
'lazy' variable
2019-05-30 18:08:19 -07:00
c847980757 Finally got everything working with a refactor to use hash lookups
everywhere
2019-05-30 18:00:00 -07:00
f4d9510cbf Code cleanup 2019-05-30 00:33:51 -07:00
6a5ca2cd0c Updated some doc and removed the "-B" flag for full key binding info 2019-05-30 00:02:25 -07:00