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:
fd1c80ce62030c6e75bb05db1aee43425d70fc97
- From:
- Omar Polo <op@omarpolo.com>
- Date:
constify the parser structs
- Commit:
c1d27b0e114e6a65f7979971940df212f00bb2ae
- From:
- Omar Polo <op@omarpolo.com>
- Date:
untangle a bit buffers and parsers
Now buffers have a nicer interface, taking explicitly the buffer
where they push stuff, and the code that deals with buffers doesn't
need to peek into the parsers. The parsers now are 'pure' structs
without state attached to them, the state was moved to the buffer.
- Commit:
0fe9ac228cc8e9b9115a6b613ddbb87589335180
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parsers: add a parseline method
all our parsers just need a line to parse and don't always need the
free method. The gemtext parser could also be simplified with this,
but defer it for later.
- 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:
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:
1ac119fb5a25757d6e8eaa3b53320b7c3be61cee
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move all the sources back in the root directory
subdir is just messier for no good reason