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:
b66e7d4d797290c7056dc20a215a6525d9d44042
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include compat.h explicitly in all files
don't do it in telescope.h, remove telescope.h from gencmd.awk and sort
the headers in parse.y while here.
- Commit:
cbe2da3279946cae9bb365a672e6600268de9cce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move struct cmd and cmds declaration in cmd.h
- Commit:
2513365f084c0d27d326cdcf878ecfbf087ea76c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add boolean variables
The 'if zero/nonzero then...' is a bit annoying. Add proper booleans
to the grammar of the config and use them when appropriate. Makes the
description and the review of configuration files easier.
This means that the old
set olivetti-mode = 1
can now be written as
set olivetti-mode = true
Compatibility with the previous integer values will be kept for a
while.
- Commit:
2f51c5bdf3c4439827e2c4ff210bcc440c95fda2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move defaults.c prototypes in defaults.h
- Commit:
4f147cdf76dda78f6e60c93ee92d136eca0e4817
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix add_proxy path check
IH_PATH is almost always defined, check that the path is the empty
string.
- Commit:
46102ea3153564d16a0ab489cbecb67025e29aea
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use the new iri parser in parse.y for proxy validation
- Commit:
d89eb764fd5d3a5ec0b5b30d85ecdc14789bb7cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace has_prefix with strncmp
- Commit:
b91f4f84d78cc64eebdc37b71e67f689e1b62746
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop unnecessary #include of phos.h
- 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:
b7d58e0bff4eab3865592066a660901f10368f9a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
extract keymap-related stuff to its own header
- Commit:
bd3e6837cbaeacf042b19300f1e2de9e73c573ff
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort token names
- Commit:
9cc9d696048bc1d8d5a1320e00da6193815f68f5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop leading T from token names
- Commit:
5c38fd5f56d53ec2c71a4e29c234329704962b58
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow newlines after {
with the conflict/reduce fix, it become illegal to have a newline
after {, which is not good.
- Commit:
493345d64141f0749040830345c805ac4ab19e52
- From:
- Omar Polo <op@omarpolo.com>
- Date:
avoid a shift/reduce conflict
yacc/bison reports 8 shift/reduce conflicts because the rule
styleopts optnl
is redundant.
- Commit:
95a8c791ec85e7b79a1975e82a22f7c07dbb9107
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt (some missing space -> tab conversion)
- Commit:
3198f30f89dee7172b30744be22404fbc1cfe8ac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
correctly parse multiple attributes
- Commit:
8da4eaff2d5d150f7491c80bf3f1e26d184706d5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
set the protocol type for proxies
we still support only gemini:// proxies still
- Commit:
21404dd923e07a36badce6c253d4577164b803cd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
load alternate config file per-TERM
- Commit:
0a53787c0b2835570a2f146eb76d83df8ab6fc17
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make \n optional in some contexts
- Commit:
eff23f5de3802cc49140b4c0883ac8c7d5abb3eb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
prefix "→ " " "
ended up using both as prefix for the line and the continuations the
first string given, ignoring the second argument.
Found and reported by tgl, thanks!!
- Commit:
e3427d18a9b8da6cfaadd1018d5ce2f400c73185
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow `bind map key cmd' in config file
- Commit:
6ba9e5a881b55a289e7a286d873b65a909a336de
- From:
- Omar Polo <op@omarpolo.com>
- Date:
second part of my "ignore \r"
- Commit:
c86d164e89788d2e0c3509f3e3901ec1a4f5a815
- From:
- Omar Polo <op@omarpolo.com>
- Date:
ignore \r
otherwise it would complain about a syntax error (it would treat \r as
a string of one character.)
Found by TheGnuserland, thanks!!
- Commit:
984245ce20826f010570cf6fe030c19a1b566311
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add support for custom protocol proxies