Commit Graph

93 Commits

Author SHA1 Message Date
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
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
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
2f34dad8e8 Deleted CTRL_H functionality. 2019-05-29 23:44:22 -07:00
050d4d70ca Some cleanup of text coloring 2019-05-29 19:45:23 -07:00
c1968201d9 Tweaked some default layout stuff, fixed some flushing issues with
ctrl-h, adjusted coloring to only apply to filenames
2019-05-29 19:32:52 -07:00
05b9318c10 Removing +opts in favor of just having commands for each setting. Also
removed initialopts
2019-05-29 18:00:49 -07:00
2d7d20f9a1 Overhaul of sorting and columns, simplifying and unifying things a bit 2019-05-29 17:26:18 -07:00
ca45d7750c Version bump 2019-05-29 00:58:33 -07:00
38408b5499 Cleanup of the rendering code, including making the selection column a
proper column (+)
2019-05-29 00:56:49 -07:00
d38e166151 Simplified the opts API a bit, cleaned up the code a little, added a
toggle_file() function
2019-05-28 23:51:20 -07:00
f070b5da03 Adding comment about . 2019-05-28 22:30:04 -07:00
53ad739616 Added documentation for all functions, simplified sorting a little 2019-05-28 22:29:22 -07:00
331a004dff Code cleanup, replaced fisher-yates shuffle with worse, but much simpler
shuffle.
2019-05-28 22:04:02 -07:00
0a1258a747 Tweaked some defaults and allowed cursor color to be combined with
existing color.
2019-05-28 21:46:16 -07:00
8d4e4aeba4 Some major refactoring including moving more stuff into bterm.h (renamed
from keys.h), a custom readline (`read` was buggy), better
customization, and improved renaming bindings.
2019-05-28 21:36:42 -07:00
92a198d6b6 More cleanup of struct members, fixed some text wrapping issues that
lingered after exit, and removed some debug code
2019-05-28 00:07:43 -07:00
c1fabab57d Cleaned up some redundant and poorly named fields 2019-05-27 21:14:34 -07:00
111cf0948c Cleaned up the refcounting code a little bit with better naming 2019-05-27 20:55:36 -07:00
6e39f580f6 Better column positioning, including centering and left-aligning when
appropriate.
2019-05-27 20:13:11 -07:00
32b32143e9 Bumped version 2019-05-27 19:51:33 -07:00
109f6a96d4 Refactored the column spacing a bit and added more powerful options for
columns
2019-05-27 19:51:04 -07:00
cd6a58f872 Changed explore API to take a bb_t parameter. 2019-05-27 16:14:14 -07:00
9f15415bcd Some minor cleanup, enforcing "bb" as the name for the bb state, inlined
a few things, moved firstselected onto the bb state instead of a global.
2019-05-27 16:08:29 -07:00
1ba70f4221 Cleanup of a bunch of the terminal code 2019-05-27 15:53:07 -07:00
e12759b48c Switched to use file pointers instead of file descriptors. 2019-05-27 14:12:47 -07:00
4aa93906e7 Moved a bunch of the config options into the config file (colors, etc.)
and fixed some rendering issues
2019-05-26 16:34:48 -07:00
75c2f4e169 Fixed a bunch of alignment issues with unicode names and stuff, fixed
and issue with linked list removal, and added a bunch of error checks
for commands with no value.
2019-05-26 16:01:56 -07:00
ab6ef2ef0c Formatting cleanup and MAX_PATH -> PATH_MAX rename to use actual value 2019-05-26 13:41:09 -07:00
3579e90a5b Made some fixes after testing on linux, changed +mark syntax to use '='
instead of ';'
2019-05-26 02:37:41 -07:00
d00596ca44 Fixed text wrapping (now just truncates) 2019-05-25 23:35:04 -07:00
b0496356f3 Added version 2019-05-25 23:31:03 -07:00