Commits
- Commit:
2fcd7106f2aa3a29b122a3b91fb27e0ffdb00a8c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: freebsd: EAI_NODATA
On FreeBSD (and possibly others), EAI_NODATA was removed, in favour of
using EAI_NONAME.
- Commit:
c4e2e0d08cd12c6197fc87034fe559fc4d6b3ef5
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add setproctitle
This is needed for gotwebd.
- Commit:
ba107e8082f60fe7570c72c8c6caf9183d944caf
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: define SOCK_NONBLOCK
This isn't always defined across all systems.
- Commit:
ab0ebffe58810fa417fda4367547f2676d433f75
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: ci: disable gcc container
The gcc container is useful to quickly run compilation checks within it.
However, this is currently now behind where it used to be, and as such,
certain packages cannot be installed.
We already compile got against Ubuntu/Alpine. That should be good
enough.
- Commit:
5ae325ebc8cde2d9c3810d385f9111597345d597
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: ci: add libtls/libressl
Needed for TLS in gotwebd.
- Commit:
21bb1653274d1cbdd3e02b7c7c71cb3d50a8289e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: provide WAIT_ANY implementation
On POSIX systems, WAIT_ANY needs an implementation.
- Commit:
60595c94fcdd89f20a7f00f5ed2347fd4764c2c0
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: mention libevent dependency
This is now required to run gotwebd.
- Commit:
ff36aeea6fe48eb9071eccc41d2a31a47d109be3
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: gotwebd: first stab at compilation
This is not yet "clean", but does compile. A few things to consider:
* See comments beginning with "TA:"
- Commit:
1077ec6a6f30ef069f367889ba8614be168eabfd
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: look for sha1.h portably
Remove the include from lib/delta_cache.c
- Commit:
3e12c1689b7d7bdebdd92107a55904e4bc9bd104
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: explicitly include <sys/queue.h>
- Commit:
0740b40a442673200ab0f8ff693d72abdaca04a6
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: wrap __packed via __attribute__
- Commit:
8a35f56cb42a2c9617008c6e68cccf9b62939243
- From:
- Tracey Emery <tracey@traceyemery.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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
- Commit:
3e733fce1694de7f60abd32ceb2a82921ee21429
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu
- Commit:
19467d598676c21cf908e3ee8f60a6e04306cede
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: honour sys/queue.h directly
Don't assert compat/queue.h in favour of what's on the system. When
-portable was first being developed, there were frequent clashes between
libbsd, and the check for sys/queue.h got lost in that noise.
Noticed by stsp@
- Commit:
d1ea27e3ceaf325bbedb07628a3921e8e101f5f4
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
ed7004e63cb94ddb796262fdd42c889fa29a32fb
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Release 0.74
- Commit:
9b46414321413a8a9c59995ef117f2faea7d7453
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
unlink temporary files created during ssh signature verification
- Commit:
a42c5a8d17b08b394d58b6db11a853b2185a0562
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
485123bd616ba1dff2b50bcdf48edae964789b70
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.74
- Commit:
fe731b51aaf9031ee68b950393f97f9654bee63f
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: fix sticky "loading..." status in log view hsplit
Don't request commits if the log has completed loading all commits. While here,
ensure the correct parent/child view requests commits when resizing a hsplit.
Reported by stsp:
$ tog
S # switch into hsplit mode
G # move to bottom and load all commits
Enter # open a diff showing the initial import commit
- # shrink the diff view by one line; alternatively use + to grow it
*log status stuck with "loading..." in the header*
ok stsp@
- Commit:
3cb9337907f257b2eb23c58f951d0a39407eebe8
- From:
- Josh Rickmar <jrick@zettaport.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix pipe usage for linux
This uses the correct read and write ends of the fds returned by
pipe(2) on linux. It also moves away from creating FILE* streams with
fdopen and reading the stream with buf_load (which performs a fstat,
and breaks due to a zero length file size on linux) by instead reading
from the fd itself.
Reported by abieber@, with assistance from stsp@
ok stsp@
- Commit:
f3a5718ad6976d26b5d9c67cbeb73ea10def0990
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use Cm mdoc markup for histedit script commands
- Commit:
d4331337c16d79089a4d73dcf68d13eaf565c39b
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
condense info about histedit mesg command being valid only with pick or edit
- Commit:
8ea72c47a2077c52fad27872183808829d76c4d8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
histedit: make sure mesg is only used after pick or edit
It doesn't really make sense to use mesg after a fold or drop, or after
another mesg. it currently "works" as intended, but the behaviour is
confusing and not useful, better abort the operation as it's probably
not what the user intended.
Suggested by and ok stsp@
- Commit:
ffcfe569470b9a24db65cf13a33fb059d17752a2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got tag -V is like tag -l with verification, fix option-conflicts accordingly