aboutsummaryrefslogtreecommitdiff
path: root/bb.h
AgeCommit message (Collapse)Author
2021-01-28Reorganized header filesBruce Hill
2021-01-28Renamed bterm -> terminalBruce Hill
2021-01-18Removed TCC hack, since this is now fixed in TCCBruce Hill
2021-01-01A bit of refactoring, moving more rendering code into draw.cBruce Hill
2020-12-30Refactoring into multiple files betterBruce Hill
2020-04-10General code cleanup and removed some unnecessary imports.Bruce Hill
2020-04-09Minor tweak to support compiling with TCCBruce 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-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-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-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-23Moved importBruce Hill
2020-02-23Working version of pulling columns into their own file.Bruce Hill
2020-02-23Fix for globbing into subdirectories (e.g. `bbcmd glob:"* */*"`)Bruce 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-24Minor version bumpBruce Hill
2019-11-24Bunch of minor pedantic cleanups to get rid of warnings and tidy up theBruce Hill
code.
2019-11-24Some speculative fixes/improvements for mac `read` command use.Bruce Hill
2019-11-11More unambiguous and simple command line semantics (bb [options/cmds]Bruce Hill
[[--] path])
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-08Reverting `SH` changeBruce Hill
2019-11-08Cleaned up definitions for `pause` and `sh`Bruce Hill
2019-11-08Added better doc for unscrollBruce 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-06Added printing to `ask1` commandBruce Hill
2019-11-06Better error handling/reportingBruce Hill
2019-11-04Removed `spin` because the "eval" part of it was broken and it addsBruce Hill
unnecessary complexity.
2019-11-01Consolidated winwidth/winheight into winsize variable, which makesBruce Hill
things a little more straightforward.
2019-11-01Version bumpBruce 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-01Minor version bump.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-27Mostly finalized working version of better signal handling, includingBruce Hill
allowing for suspended/resuming processes (bb +fg) and cleaner linked list handling code.
2019-10-13Minor version bumpBruce Hill
2019-10-13More code cleanup: consolidating cd_to() and populate_files() into justBruce Hill
populate_files(), cleaner startup behavior, less duplicative environment variable setting, misc.
2019-10-13More code cleanup, including tweaking matches_cmd() to figure out ifBruce Hill
there are required arguments or not, and refactoring run_bbcmd() to no longer return a value (which was ignored), but instead just spit out error messages to stderr if necessary.
2019-10-13Deprecated support for piping commands in to bb at startup (undocumented). ↵Bruce Hill
Users should use xargs if they want to do that sort of thing.
2019-10-13Cleaned up the command parsing code a bit to be slightly more correctBruce Hill
and more compact. Now uses if-else-if chain instead of nested switch statements. This may be very slightly less performant, but probably not noticeable and much cleaner code.
2019-10-12verhaul of terminal keypress handling and labeling to support moreBruce Hill
functionality for mouse clicking/dragging/left clicking/middle clicking/double clicking and to have more standardized behavior for key names and better handling of key modifiers (Ctrl, Alt, Meta, Shift). Also moved Ctrl-c and Ctrl-z to custom key bindings with (bb +kill and bb +suspend). Mouse clicking is now also handled in key bindings.