Commits
- Commit:
65c2e81071bab7f9018a062b4d590e67e1a6f021
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: avoid full history traversal in briefs/commits
This purposefully breaks the 'previous' button in the commits and briefs
page. It's hard to find the parent of a commit since they can only be
iterated forward. The way the previous button was generated was to walk
the history from the HEAD down to the specified commit. This is costly
but more importantly leads to issue when dealing with paths that were
deleted from the repository.
Discussed with stsp and tracey, ok jamsek.
- Commit:
aa31714b5b44e1b79b15792902586d60da22e47a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: don't got_ref_list per-commit in got_get_repo_commits
It's wasteful since `refs' is already populated before the loop, and
released after. It also leaks the content of `refs' the first time the
loop is entered.
ok jamsek
- Commit:
cb93ab40659f5d64c7a4f56919d203efa2d8a565
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: turn gotweb_get_time_str into gotweb_render_age
ok jamsek
- Commit:
6cdf29f9353bcea609dcbab90131634430ac5a18
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: refactor gotweb_render_content_type/_file
Rework them so that they allow to set the Status header (the HTTP status
code; only way since we're behind FastCGI) and optionally a Location.
Since they're now unused outside of gotweb.c, mark them as static. They
also used to always return NULL so the error is pointless; return the -1
on failure though.
While here, rename to gotweb_reply and gotweb_reply_file.
ok jamsek
- Commit:
96afb0d62311dd459395b8eba2216094c18dfb67
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make read errors in gotsh serve_read() fatal and adjust tests accordingly
ok jamsek
- Commit:
695bc1ecccf24ece2b0b8a03a5f0d26ad5116a0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
return GOT_ERR_EOF from pkt.c if a read attempt indicates EOF
ok jamsek
- Commit:
f91b5c433d4c2fb2e80053859b6f15c9239b3231
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
only "forward" implicit flush packets in serve_read() if they are expected
ok jamsek
- Commit:
3448a19afa20edfa1069b2d793abcda5a9006565
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd session process accept just one flush packet at a time
ok jamsek
- Commit:
7713cc5e4f5544e81909670d592e89526ed86c9b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sort ENVIRONMENT entries in got.1 and tog.1
ok jamsek
- Commit:
8fcd5cccdccdf61486b86753d28252df3bd5444a
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.8: sort -d after -D
patch by Josiah Frentsos, thanks!
- Commit:
b3bed212b3579369f1b3161683ca3a9a5c3e0118
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
gotd.8, gotwebd.8: new sentence, new line
diff from Josiah Frentsos, thanks!
- Commit:
eca2b1d0d697cef723df2d1394b84b636c02ced0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing bounds-check in gitproto ref-line tokenizer
- Commit:
00d10bca0a12585f81942e747b330101d0f7303a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
fix typo: overlapping comparison always evaluates false
ok stsp@
- Commit:
cbb2185c687e1b7de7ee59e91e23ab64c6607571
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
a5ddf5e0ebf8e0a3595e8d27c04e9d6869891758
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
changes for 0.81