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:
d163c2104eb8f8603c4dfc4c9ad566511eac143b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move tofu declarations to their own header
While here replace GEMINI_URL_LEN with TOFU_URL_MAX_LEN to avoid a
dependency on telescope.h. Ideally, we should move this stuff to
another header that comes with less dependencies.
- Commit:
12472189518006a105ca309e5443be98a646b8a1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
check explicitly for -1
- Commit:
3078e1bc2a28ec8a601f3880af32291ca7119434
- From:
- Omar Polo <op@omarpolo.com>
- Date:
merge update_cert and tofu_update into tofu_update_persist
- Commit:
4fa88f57fead5f472c4bbd60c65d70d884ccd6ee
- From:
- Omar Polo <op@omarpolo.com>
- Date:
merge tofu_add and save_cert into tofu_save
- 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:
036c104e0d5b8758a8cf72c9085af23956fdfa6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
de-duplicate hash_* function: collect them in util.c
- Commit:
95a8c791ec85e7b79a1975e82a22f7c07dbb9107
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt (some missing space -> tab conversion)
- Commit:
a2fd3805b0807d0e85411613df26bd6dcaed01ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix two related bug
Don't crash when there's a certificate mismatch and after saving the
cert, before choosing to persist it, the page gets redirected; also,
don't repeat the "Certificate mismatch" after the first yes, if
there's a redirect. Now when the user accept a certificate, is
treated as temporary saved for the whole session.
- Commit:
288fd238ab2466e7fc9d8d11e7dd92363326a66f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow saving the new certificate after mismatch
- Commit:
c36d43accf9b471d6cd0181c8c267b0d5352f6be
- From:
- Omar Polo <op@omarpolo.com>
- Date:
hash.c -> tofu.c