Commit Briefs

7f65bb55b8 Omar Polo

gotwebd: add patch action to serve diffs in plain text

ok tracey@


4ba8b606a0 Omar Polo

gotwebd: make blame view work in text browsers

While here pad line numbers with spaces instead of zeroes to match the blob view.


2faeb3c616 Omar Polo

gotwebd: add actions to the blame view

ok tracey@


4dfd979496 Omar Polo

gotwebd: add links for actions in the blob page

positive feedback from Kyle Ackerman ok/tweak tracey@


260fd73e17 Omar Polo

refactor gotweb_load_got_path; no functional change

ok tracey@


446026cb93 Omar Polo

gotwebd: add a dark mode

Diff from Kyle Ackerman. tracey@ and I likes it.


6595d7300a Omar Polo

gotwebd: introduce .page_header_wrapper to avoid style repetitions

while here clean up some *_header id not used / not needed.


edc930eb84 Omar Polo

gotwebd: adjust blob line number for text browsers


cf056aa6a5 Omar Polo

gotwebd: tweak .tree_wrapper styling; no functional change

there's no need to override the background-color for the 'even' row. This will simplify the addition of a dark mode.


c2abf03cde Omar Polo

gotwebd: add breadcums to navigate the tree/blob views

ok tracey@


1267d012ff Stefan Sperling

bump version number


3d4035d20d Stefan Sperling

CHANGES for 0.94 (tags/0.94)


0503e47254 Stefan Sperling

sync dist file list


ca9125dc05 Stefan Sperling

adjust expected output to make 2 failing gotd regression tests pass

The repo_write process still announces HEAD twice, once with its symref target and once with the resolved symref object hash. I cannot recall if this is deliberate but let's accept it for now to avoid test failures being flagged due to this issue, which is mostly cosmetic.


f2d60da0a9 Stefan Sperling

detect concurrent changes to the set of pack files while matching object IDs

This should prevent a use-after-free crash I observed in gotwebd. ok op@


2bde3e78a5 Omar Polo

don't ignore err in got_privsep_recv_painted_commits


56a9d3151c Omar Polo

gotwebd: fix broken signal catching due to a pasto

While here, remove completely the libevent handling of SIGPIPE in favour of the already existing signal(3) call to ignore it; there's no point in logging a SIGPIPE.


6d0030ba1d Omar Polo

fix memory leak on error in got_privsep_recv_painted_commits()

Diff from Kyle Ackerman, thank you! I've added a imsg_free() call before the break too.


16efe7a78b Omar Polo

remove 'bind interface removal' TODO item


6e0942f697 Omar Polo

gotwebd: inline and remove IMSG_SIZE_CHECK()

I always find confusing if IMSG_SIZE_CHECK() takes pointers or not, and we had at least a few instances of wrong usages, so inline (with exact size checks) and remove the macro. ok stsp@


1632f50aca Stefan Sperling

remove the gotwebd repository cache

It only had 4 slots so was never quite useful, and sharing of sock->pack_fds across cached repositories seems problematic. with help from + ok op@


7607b8e058 Stefan Sperling

whitespace fix


8def94257d Omar Polo

gotwebd: ignore SIGPIPE in the sockets processes too


58cdb97ce8 Omar Polo

gotwebd: send a UNIQUE temp fd

main_compose_sockets() has the 'feature' of implicitly dup(2)'ing the passed file descriptior. But it's not what we need for the temp fds, since those needs to be unique per-children. debugged with stsp@


4056db6342 Omar Polo

gotwebd: don't chdir to / before spawning the child processes

allows to run gotwebd from the got checkout again.