aboutsummaryrefslogtreecommitdiff
path: root/bb.c
AgeCommit message (Collapse)Author
2020-06-03Misc fixes and tweaksBruce Hill
2020-04-20Slightly optimized column rendering by using the sequence for movingBruce Hill
column position instead of row,col
2020-04-13Simplified and cleaned up rendering logicBruce Hill
2020-04-10General code cleanup and removed some unnecessary imports.Bruce Hill
2020-04-08Some overhaul and refactoring. bbstartup.sh and bindings.bb have beenBruce Hill
moved into scripts/bbstartup and scripts/bbbindkeys alongside the other scripts. Some minor bugs have been fixed as well, and a few bindings added.
2020-02-24Moved bbstartup into a script, renamed helper/ -> scripts/, and addedBruce Hill
bbshutdown script. Also tweaked some of the precedence.
2020-02-24Fixed some issues with invalid column handling.Bruce Hill
2020-02-24Added a slightly hacky fix to make sure `bb` can be run from the localBruce Hill
build directory and still have the helper scripts, bbstartup.sh, and the bindings work.
2020-02-24Don't close and reopen tty files when running scripts.Bruce Hill
2020-02-24Major update: instead of defining all the helper functions as staticBruce Hill
C-strings prefixed to commands (modified by the Makefile), the helper functions are now standalone scripts in the helpers/ dir, which gets added to "$PATH" when running bb.
2020-02-23Removed unnecessary warning.Bruce Hill
2020-02-23API tweaks and documentation updates.Bruce Hill
2020-02-23Cleaned up column rendering logic, including adding a 'stretchy' optionBruce Hill
for columns to fill available space. Also fixed some coloring issues.
2020-02-23Working version of pulling columns into their own file.Bruce Hill
2020-02-23Fixed selection issue.Bruce Hill
2020-02-23Fix for globbing into subdirectories (e.g. `bbcmd glob:"* */*"`)Bruce Hill
2020-02-22Fixed column separator widthBruce Hill
2020-02-22Initial working version using globbing.Bruce Hill
2020-02-18Bugfix for cursor position not being remembered correctly.Bruce Hill
2020-02-17Added xwindow title setting, and $HOME -> ~ in the bb path area.Bruce Hill
2020-02-07Added a scrollbar.Bruce Hill
2020-01-12Fixed memory leak.Bruce Hill
2020-01-12Updated to respect TMPDIR environment variable.Bruce Hill
2019-12-11Fix for mac support.Bruce Hill
2019-12-07Cleanup of how window resize events are handled.Bruce Hill
2019-11-24Bunch of minor pedantic cleanups to get rid of warnings and tidy up theBruce Hill
code.
2019-11-11More unambiguous and simple command line semantics (bb [options/cmds]Bruce Hill
[[--] path])
2019-11-11Fixed `bb -- +dirname` not respecting `--` properlyBruce Hill
2019-11-11Refactored `bb +...` to `bbcmd ...` within bb bindings. This makesBruce Hill
things a lot less ambiguous. Also removed the default marks created in bbstartup.sh and ensured that `$XDG_DATA_HOME` and `$XDG_CONFIG_HOME` always get set as environment variables.
2019-11-11Cleanup/refactor to move keyboard input and scanning the command fileBruce Hill
into their own functions. This massively simplifies bb_browse().
2019-11-11Rearranged bb_browse() a little to include more of the setup work.Bruce Hill
2019-11-11Added error checksBruce Hill
2019-11-11Simplified "+help" binding by using a temp file and run_script()Bruce Hill
2019-11-11Made running_procs static.Bruce Hill
2019-11-09Removed the "or pause" behavior for failed scripts.Bruce Hill
2019-11-08Cleanup of bb->selected (renamed from bb->firstselected) to ensure thatBruce Hill
$n arguments for scripts are in FIFO order instead of LIFO order (i.e. $1 is the first selected item). `Ctrl-a` is also now bound to use `+select` instead of `+select: *` which ensures that the correct sorting order is preserved.
2019-11-06Better error handling/reportingBruce Hill
2019-11-04Fixed issue with deselecting deleted files not working becauseBruce Hill
realpath() depends on the file existing. Also added more detail to error messages to make tracking down issues easier.
2019-11-01Consolidated winwidth/winheight into winsize variable, which makesBruce Hill
things a little more straightforward.
2019-11-01Removed nprocs variable, as it was a potential source of errors if itBruce Hill
got out of sync.
2019-11-01Removed `bb +execute:` as it was not used.Bruce Hill
2019-11-01Fix for improperly initialized variable.Bruce Hill
2019-11-01Oops, I guess it was needed after all.Bruce Hill
2019-11-01Removed unnnecessary variableBruce Hill
2019-11-01Cleanup/overhaul of how symlinks are handled and how paths are parsed.Bruce Hill
Now `bb` will fail on `bb nonexistant/..` and will display `/foo/baz/atfoo/` as `/foo/` if `atfoo` is a symlink to `/foo`
2019-11-01Fix for errors that occur before initializing the terminal.Bruce Hill
2019-11-01Fixed "bb +." being broken.Bruce Hill
2019-11-01Moved `dirty` from being a bit on `bb` to being a global, whichBruce Hill
simplifies the code a bit, plus some other minor cleanups.
2019-10-30Better warning messages.Bruce Hill
2019-10-27Mostly finalized working version of better signal handling, includingBruce Hill
allowing for suspended/resuming processes (bb +fg) and cleaner linked list handling code.