Commits
- Commit:
b5d22c386422ab4e29e05d887089fae7e446e40b
- From:
- Florian Obser <florian@narrans.de>
- Date:
Don't chug along if repo format version is unsupported.
Found by llvm's scan-build (dead store).
OK stsp
- Commit:
fced5a66069199024aaf413a06bcf544b959f6a8
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
gotwebd: fix potential type mismatch between format specifier and argument
ok tracey
- Commit:
05f04cdf3fa9619d7055f098b55f1633dbbf12c0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: blame view keymap to open log of annotated line
As per stsp's TODO item: open a log view of the selected line with 'L'.
helped by and ok stsp@
- Commit:
97f28afb9820967508ab57f5ed6a5c75f49464b4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
regress: add missing return in error path
- Commit:
8978dfde09c478299a51fa414a3b8c39e4f2c96e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document pull request workflow in got.1 man page
With permission from Jelmer Vernooij to use my pull request config
for Dulwich, and Jelmer's name, as a real-life example.
ok tracey, jamsek
- Commit:
79deadfa3f6b989f7a9df793f0f112464bef0f65
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo in cat_commit
otherwise prints the author instead of the committer
- Commit:
2b3e6702748e05e788bfea21aa384af4352e859b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: alias J and K to > and < keybindings for diff view
Use J and K to move to the next and previous commits, respectively, when the
diff is loaded from the log or blame views.
Patch by Mikhail
ok stsp@
- Commit:
62b21d332b3a92a7f99022d68bc8fd98a4682d33
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got commit: add flag to specify the author
This adds a new flag, `got commit -A', that allows to specify the commit
author but retains the "committer" (which is obtained as usual via
GOT_AUTHOR, got.conf or git config.)
with lots of help from and ok stsp
- Commit:
314c3f148b7679296136b460ea9a8f0d4c74d437
- From:
- Omar Polo <op@omarpolo.com>
- Date:
TODO: remove tog author/committer toggle entry
- Commit:
cf208ddd0ee1b6c232ef38bc307e689bc2b4653b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix email address parsing
we were both too strict and too lose. To avoid breaking got object
parser (and to some extent ours too) we need to ensure that there aren't
any line feeds, extra < or > and no trailing gibberish. The '@' is not
actually required in the email.
various tweaks and ok stsp
- Commit:
10aab77fd5164e672b109e74278bc080a7546fb8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tog: add key to toggle author/committer in log view
improvements and ok by jamsek and stsp
- Commit:
756050ac401f1e724f0c1fd97af4a9855589c703
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mark got_error_fmt as printf-like and fix the arisen errors
ok stsp@
- Commit:
d089c3673c062bc918fd8fedb82b992855965ec6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add another TODO idea for tog
- Commit:
571ccd7300860975e644c75afcc015ad6c4d7ffd
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: always request commits if log height is increased
Includes style improvements prompted by stsp. Previously, we would only call
request_log_commits() when terminal height is increased in a splitscreen view.
This fixes the case when a log view with no children is resized that can lead
to empty lines:
$ tog # 80x24
23j # move down to the last commit
*increase terminal height to ~30 lines then reduce back to 80x24*
~5j # move down to the _last_ commit
*increase terminal height to ~33 lines*
*new lines are empty*
ok stsp@
- Commit:
d2587c5f95c6edb51ccc8d4abfac838b58f3a463
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
TODO: add cherrypick/backout immediate-commit-mode idea
- Commit:
0e9e6db04f1993a47da37d5cab5cce49f0276f74
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
write down some ideas about author/committer handling in TODO
- Commit:
dfe53854657ff40191b579d410b75284ba9c92af
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add more information to the HTTP TODO item
- Commit:
e1fe8f85b8302a8205458f4cc4b423d07bfa2f36
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add more TODO items for tog
- Commit:
8e88f7f0bdae8b2a889127fe0f0ca963cf4cf94e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove tog TODO items which have been addressed thanks to Mark Jamsek.
- Commit:
d6267a62d388995cbc79bb58ce9db7946fda0554
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix potential type mismatch between format specifier and argument
Cast argument of type rlim_t to unsigned long long to match the %llu
format specifier on platforms where this might not be the case.
- Commit:
86fbc0d4baa2c117d3bf5c65262d1857de548062
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: remove tls.h
TLS isn't currently being used within gotwebd, so this include can be
removed.
Notice by naddy, and OK stsp@
- Commit:
ad055527e4991dce8cf1648f406a4af5e69b55c2
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
style(9) whitespace fix
- Commit:
b4c20a19a96f836e92755f902bd6b06c55b27706
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
gotwebd: explicitly include <sys/queue.h>
- Commit:
0f8ad3f117a6cc18dda34065c3d7c8104e50f413
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: wrap __packed via __attribute__
- Commit:
a596b9579655b53f1549498aff25ae1d2c9dfc81
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
import gotwebd
thread fcgi response to client for rendering in browser as data is returned
fix potential problem with a stuck loop if the client is hammering the server with random clicks and stop/restarts
render our index! WOOHOO! small var refactoring.
fcgi.c to handle all clean-up, various error clean-up
remove output used to trace down got bug
temporarily stop overloading a socket, but a better solution needs to be found
return on fcgi_gen_response, so we can track if a client is writable or not
this stops page creation when the client is unavailable
remove old comments
enable profile building, although, i don't think this works thoroughly in a priv/proc daemon
catch more errors
correctly count repos
remove temp logger
we don't need to start our responder thread so early. move it to fcgi.c and start when we start processing html
kill the unneeded thread, stop queueing responses, and just write to clients immediately
clean up some memory leaks and dead stores
rework querystring so an error can be displayed instead of showing the index on
querystring error
get framework in place for the rest of the content
add server struct to response struct
bo last commit
get back a usable gotweb. not sure what i was thinking yesterday
properly move our structs around this time
remember index page for sitelink, fix leak
unused var is annoying, so stop it for now. don't forget to change this!
style
briefs nearly completed.
finish briefs output
add briefs to summary
cleanup some html
properly retrieve next and previous commit ids for list navigation
follow naddy's stailq macro change
we will never have a previous link on the summary page
goto correct label, so we get a previous link on the last page of briefs
don't wrap short line
simplify got_get_repo_commits code
start rendering a diff
start rendering a diff
this was by accident
finish diff output
functions cleanup
prepare for fd request
that was a stupid idea, just flush the priv_fd
bo that too. that won't work eith with append in mkstemp
that isn't going to work
actually zero out the priv_fd
missed seek to beginning of file was overwriting first line of diff
fsync our fd as well
add link to repo path by sitelink and add back verbose fcgi debugging that was removed
add modest write heuristics to fcgi_send_response
fix dead assignments and XXX comment where a leak is happening that I can't find right now
there was no leak. stsp is brilliant and knew it was the cache growing
prevent double-free, render prettier err output if we can
remove unused variables
correctly fix double-free
fix gotwebd to build with main's changes after rebase
fix double-free
don't error on index if pack files missing and fixup some error handling
render commits
finish up tag briefs and start the tag page
finish up tag page
unbreak TAGS and SUMMARY actions
grab the correct tag from the queue
unbreak TAGS and SUMMARY actions again
update some error handling
clean up unneeded code and start tree output
render tree
render branches
remove tags from summary if there aren't any
fix tree div structure and start blob render
render blob
render blame
fix tree href in briefs
clean up some css
add headref to querystrings
load correct commit for tree and diff
fixup some error output
update some copyright dates
add full SNI support
rm debug line found by Lucas6023, notified via IRC. thanks!!
fix tree
fix crash when querystring is manipulated to not have a commit id in certain
instances. also break a stuck while loop on client error.
fix for new got_object_id_by_path arguments
rebase and fix
prep for multiple fds per socket, instead of just one
fix overlooked shift/reduce conflicts
backout priv_fds as a list. after discussion with stsp, an array and length are the better direction
prepare array of fds to pass into got functions
make a new set of pack fds, which will be passed to got_repo_open
work with new pack_fds in got_repo_open
give output when no tags exist
escape html in blame output
change files listed in tree view to show blob, file commits, and blame, instead of blob, blob, blame. idea from mp4 on irc. this is way more handy.
stop populating the queue from the headref and figure out previous commit id
while iterating. this should reduce some overhead.
actually purge our sockets instead of not using the function
start work with new blob
rm volatile
use new diff
change func names
no more temp files
increase blame number line width
set content-type to text/plain so firefox won't download files
rm test infra for now
account for -Wwrite-strings
fix for sigs and algorithm choice
clean up some leaks and other mistakes