Commits
- Commit:
3d89457cdeba5041aa6f0c1f8640b91bcbb6ec51
- From:
- Thomas Adam <thomas.adam22@gmail.com>
- Date:
code: add wrappers for common failure cases
Certain calls to well-known functions sometimes result in similar
error handling across the code base. Sometimes there's a need to
centralise the failure case.
Achieve this for common wrappers to often-used functions.
The transformation is achieved via coccinelle, commited with this patch.
Note that coccinelle can be told to ignore code blocks with comment
delimiters.
This transformation applies just to telescope's code, and not any of the
bundled depdencies in telescope (libgrapheme).
- Commit:
f7db6d139bba0fb56f0560533b77af219958ecc0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
some headers cleanup
try to not include headers from headers, and remove some redundant
include.
This helps in modularizing the codebase and also helps during
incremental compilations.
- Commit:
154fe22a526e064cce847afa71d8c833a008bd7d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add forgotten include for string.h
- Commit:
d89eb764fd5d3a5ec0b5b30d85ecdc14789bb7cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace has_prefix with strncmp
- Commit:
9d65b1d9ae3209a8a2bc8e8c376dede4f71290ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move util.c declarations in utils.h
it's not spelled `util.h' because otherwise it'd get included instead
of /usr/include/util.h
- Commit:
3f66a33e9b5c3d8a1c5a4fa8a0c749397ca6f5b8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use '\e' instead of 27 for esc
- Commit:
b7d58e0bff4eab3865592066a660901f10368f9a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
extract keymap-related stuff to its own header
- Commit:
57668c86437fcb90f5f22d11227c117189edb641
- From:
- Omar Polo <op@omarpolo.com>
- Date:
extract the key matching logic to its own function
- Commit:
32ac17a4ea1ad4c2f9e8c8d78dd5738958883291
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace TAILQ_EMPTY/INSERT_HEAD/TAIL dance with a single TAILQ_INSERT_TAIL
Now that all the queues are correctly initialised, there's no need for
that dance.
- Commit:
786e6deb98e5c4050020215a479330250ed9736e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
always include compat.h first
- Commit:
8dc60352fb6004d15c7f04a3e192148e485d9d37
- From:
- Omar Polo <op@omarpolo.com>
- Date:
teach telescope how to backtab
- Commit:
46f6e97405d8f8693a6b1b1213974f96f3da3bab
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename: s/window/buffer (but not always)
this aims to solve (albeit only partially) the confusion between
telescope' ``struct window'' and ncurses WINDOW. It also brings some
more emacs-like nomenclature, which may be a good thing.
- Commit:
3c066721b28e5f43299108b989d238a280bb0bf2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add backspace (keycode 127), for the linux tty
linux ttys seems to send 127 on backspace, or at least do that under
tmux. Educate telescope to treat 127 as del.
- Commit:
2ba66cea888e1513fbf169b49e7d75848f4f1ec4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
big refactor: introduce the window abstraction
- commands now take a struct window* instead of a raw tab
- the struct ui_state is gone
- using a window for the minibuffer too helps avoid code duplication
- it will let us having more than one window on a tab! :DD
It doesn't seem to have broken anything...
- Commit:
754622a2476761309d8b1a65ef3695c61cc43992
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix various warnings, no functional changes
now that we have a bounch of -Wxxx flags during compilation, let's fix
everything.
- Commit:
4c44f8c0b11f7403c493b3924d77b750e990eb97
- From:
- Omar Polo <op@omarpolo.com>
- Date:
added <f0>...<f63> keys
- Commit:
0a5a10e89b303fbbe95fb2014d3453af65993b95
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mark variable as static
- Commit:
67c8ed7f496533b30422532ac86a57b02265b1ab
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move keymap funcs in its own file