|
185ba3ba
|
2020-02-04T00:51:59
|
|
remove gw_get_got_link function
|
|
0e8c500a
|
2020-02-04T00:47:30
|
|
fix broken build_folder logic
|
|
51d4a92d
|
2020-02-03T22:20:33
|
|
improve error checking for gw_get_repo_heads
|
|
783ec107
|
2020-02-03T22:11:46
|
|
migrate gw_summary from gotweb_ui.h to kcgihtml
|
|
52f8346c
|
2020-02-03T21:26:41
|
|
add diff link to short log messages
|
|
bd275801
|
2020-02-03T21:20:28
|
|
improve gw_template error handling, remove gw_briefs from gotweb_ui and move to kcgihtml
|
|
82954512
|
2020-02-03T18:10:18
|
|
revert 6b8a2b8fcd99c4365b1aa9513c0f0149beac2491; it broke 'n' (search next)
In the log view, 'n' sometimes failed to search for the next matching commit
and tog dead-locked. So a yield or mutex unlock/lock is required for search
to work. Perhaps we need a different fix?
|
|
eb89db64
|
2020-02-03T16:35:07
|
|
avoid leaking memory in gw_get_site_link()
|
|
6eccd105
|
2020-02-03T16:27:24
|
|
better error checking for gw_get_repo_tags()
|
|
83eb9a68
|
2020-02-03T16:16:10
|
|
improved error checking for gw_get_diff()
|
|
84bf4df2
|
2020-02-03T16:01:12
|
|
improve error checking and memory management in gw_get_repo_tree()
|
|
f146a4ea
|
2020-02-03T15:14:53
|
|
fix lost gw_gen_commit_msg_header in gw_blame
|
|
1d28db1e
|
2020-02-03T13:29:13
|
|
make commit ID links in gotweb's blame page point to diffs rather than blobs
|
|
d4729381
|
2020-02-03T13:22:26
|
|
improve error checking in in gw_get_diff() and use getline(3) to read lines
|
|
070fee27
|
2020-02-03T12:58:20
|
|
support strings of arbitrary length in gw_html_escape(); add XXX comment
|
|
33dc7bd2
|
2020-02-03T10:59:43
|
|
HTML-escape errors displayed by gw_display_error()
|
|
5894d523
|
2020-02-03T10:33:59
|
|
let gw_get_file_read_blob() worry about blob content; caller handles the rest
|
|
4fd4726a
|
2020-02-03T10:25:00
|
|
use separate functions for blaming vs. reading a blob
|
|
a81f3554
|
2020-02-03T10:02:26
|
|
make gw_get_file_blame_blob() return a got_error
|
|
55ccf528
|
2020-02-03T09:48:17
|
|
improve error handling, and plug some memleaks, related to repo age strings
|
|
9a1cc63f
|
2020-02-03T09:18:40
|
|
read repository owner name with gitconfig parser instead of a hand-rolled one
|
|
59d3c40e
|
2020-02-03T08:34:24
|
|
improve error handling for gw_get_clone_url()
|
|
1ab830c1
|
2020-02-03T08:28:36
|
|
fix fread(3) error check added in previous commit
|
|
32cd4d18
|
2020-02-03T08:21:44
|
|
proper error handling for gw_get_repo_description()
|
|
f5404e4e
|
2020-02-02T17:35:10
|
|
replace improperly removed break
|
|
b8b04565
|
2020-02-02T17:27:39
|
|
add missed error catching in gotweb
|
|
3ffacbe1
|
2020-02-02T17:10:40
|
|
goto done and remove erroneous break
|
|
845785d4
|
2020-02-02T17:08:02
|
|
typo
|
|
f44b1f58
|
2020-02-02T16:56:40
|
|
enable searching in tog diff view
ok stsp
|
|
6201aef3
|
2020-02-02T09:20:56
|
|
ignore EROFS during checkout for repositories on read-only filesystems
|
|
5465d566
|
2020-02-01T17:32:31
|
|
prepare local variable in open_diff_view and close_diff_view for diff view searching
ok stsp
|
|
872742ce
|
2020-02-01T17:18:54
|
|
in gotweb, use the same binary file detection heuristic as grep(1); ok tracey
|
|
de6bdba4
|
2020-01-31T17:30:05
|
|
prevent null folder in blame hash link
|
|
10d47faf
|
2020-01-31T17:22:43
|
|
add link to blame hash for blob of that commit
|
|
1570c56f
|
2020-01-30T20:17:57
|
|
add conditional variable assignment operator to CHROOT_DIR
|
|
43bd15e5
|
2020-01-29T23:27:49
|
|
whoops, add back leading slash
|
|
6a821328
|
2020-01-29T23:22:27
|
|
stop compounding slashes on folder path
|
|
017d6da3
|
2020-01-29T23:03:03
|
|
attempt to detect non-plain-text blob and download as file instead, otherwise display plain text in browser
|
|
6753ca55
|
2020-01-29T17:57:43
|
|
remove blob css
|
|
b27da801
|
2020-01-29T17:48:56
|
|
remove html from blob output
|
|
e46f587c
|
2020-01-29T16:48:01
|
|
add gw_blob to increase the usefulness of gw_tree
|
|
c3bcdfd5
|
2020-01-29T15:10:47
|
|
alternate color of tree lines to prepare for blob/blame conversion
|
|
4bec7539
|
2020-01-29T14:07:45
|
|
missing error check in gw_display_index()
|
|
6d8d8a26
|
2020-01-29T14:06:33
|
|
introduce gw_display_error so gw_display_index doesn't have double-duty
|
|
7a9bfbff
|
2020-01-29T13:59:25
|
|
call khtml_close() in gw_display_index() even when an error occurred
|
|
20f34652
|
2020-01-29T13:43:37
|
|
free all the things allocated by gw_summary() in one place
|
|
f4df82f9
|
2020-01-29T13:35:58
|
|
simplify error return from pledge failure in gw_summary
|
|
d126c1b7
|
2020-01-29T13:35:05
|
|
allow callers of gw_get_repo_age to tell which error occured, if any
|
|
0b20762b
|
2020-01-29T13:26:23
|
|
don't use stdbool.h
|
|
4b60fece
|
2020-01-29T13:25:54
|
|
call strdup("") instead of asprintf(&var, "")
|
|
88d59c36
|
2020-01-29T13:21:33
|
|
remove superfluous braces around asprintf calls
|
|
d56b34ca
|
2020-01-29T13:13:48
|
|
just return 0 instead of EXIT_SUCCESS
|
|
5147ab56
|
2020-01-29T13:11:45
|
|
prevent a NULL deref in gw_get_commits()
|
|
5ddf0079
|
2020-01-29T13:10:39
|
|
ensure that the result of gw_init_header() is always freed
|
|
470cd826
|
2020-01-29T13:08:40
|
|
plug memory leaks on error in gw_tag()
|
|
42281175
|
2020-01-29T13:06:46
|
|
plug memory leaks on error in gw_tree()
|
|
0e00e8f4
|
2020-01-29T13:05:11
|
|
plug memory leaks on error in gw_briefs()
|
|
18da9978
|
2020-01-29T13:02:59
|
|
plug memory leaks on error in gw_commits()
|
|
c5996fff
|
2020-01-29T12:47:13
|
|
perform the check for an empty histedit commit list earlier
|
|
ab20a43a
|
2020-01-29T12:47:13
|
|
don not open log message editor if there are no changes during 'histedit -c'
|
|
514f2ffe
|
2020-01-29T12:47:13
|
|
display branch name and first commit to be edited at top of histedit script
|
|
82997472
|
2020-01-29T12:47:13
|
|
improve wording of hint displayed for the histedit 'fold' command
|
|
1177268c
|
2020-01-28T23:21:58
|
|
don't display author email on summary or commit briefs, introduced with gw_tag updates
|
|
4ff7391f
|
2020-01-28T23:15:49
|
|
add tag link for each tag on summary page for repos
display tag commit info from link
close leak in gw_tree
|
|
24529390
|
2020-01-28T21:25:44
|
|
with removal of got_www_path, get rid of default definition
|
|
65aa7d1c
|
2020-01-28T20:07:15
|
|
simplify repository child path check in got_repo_map_path()
|
|
4d8f0a30
|
2020-01-28T20:02:57
|
|
add gotweb files to distfile list
|
|
8f6d0c1e
|
2020-01-28T19:59:00
|
|
simplify gotweb(8) description
|
|
705044c5
|
2020-01-28T19:56:10
|
|
wording tweak for got_show_repo_owner
|
|
86a8f423
|
2020-01-28T19:54:05
|
|
Xr gotweb 8
|
|
06c41672
|
2020-01-28T19:52:11
|
|
typo
|
|
3f145c31
|
2020-01-28T19:51:13
|
|
wording tweak for got_max_commits_display
|
|
06dbbefa
|
2020-01-28T19:49:56
|
|
document gotweb.conf(5) syntax
|
|
82013002
|
2020-01-28T19:45:58
|
|
don't document gotweb.conf(5) location twice; FILES section is good enough
|
|
9db6255d
|
2020-01-28T19:44:13
|
|
Xr gotweb(8) in gotweb.conf(5) example section; mention defaults
|
|
b5f07800
|
2020-01-28T19:42:10
|
|
remove got_www_path which is not actually used
|
|
ee882e75
|
2020-01-28T19:40:27
|
|
Wording tweaks for gotweb.conf(5) global configuration section.
|
|
dcc182c0
|
2020-01-28T19:26:15
|
|
tweak gotweb.conf(5) intro blurb
|
|
71317958
|
2020-01-28T19:21:24
|
|
sync the names of tunables in gotweb.conf(5) with reality
|
|
fd4ad5d4
|
2020-01-28T19:18:52
|
|
link to gotweb(8) from gotweb.conf(5); remove tog(1) reference
|
|
db4c5930
|
2020-01-28T19:17:54
|
|
remove history section from gotweb.conf(5); we're not part of OpenBSD base
|
|
738b3756
|
2020-01-28T19:14:30
|
|
add gotweb(8) man page and move README info there; discussed with tracey
|
|
55e54fd3
|
2020-01-28T14:03:16
|
|
remove a Makefile chunk which is obsolete since bb5b19e3
|
|
71ec7eac
|
2020-01-28T14:52:27
|
|
kill left-over debug code snippet from a46b9f33fb3018765180eb67cc954d863a5cd525
|
|
c119608e
|
2020-01-28T13:36:29
|
|
get rid of a goto in gotweb that jumped upwards rather than down
|
|
2dcb56a8
|
2020-01-28T13:31:18
|
|
remove unnecessary NULL checks; if header is NULL we don't get here
|
|
a0f36e03
|
2020-01-28T13:29:06
|
|
ensure that gotweb's reference list heads are always initialized
|
|
390d412c
|
2020-01-28T13:28:41
|
|
plug memory leaks in error cases of gw_diff()
|
|
ae36ed87
|
2020-01-28T13:28:09
|
|
ensure that header->refs is always initialized
|
|
6d9fc692
|
2020-01-28T13:11:14
|
|
plug memory leaks in error cases of gw_blame()
|
|
c25c2314
|
2020-01-28T13:02:44
|
|
make gotweb check for kcgi errors where feasible
|
|
bb5b19e3
|
2020-01-28T12:15:59
|
|
ensure that we always install static binaries to gotweb's chroot
Compile static libexec binaries for gotweb, keeping them separate from
the main build. Use the same source files but a separate set of Makefiles.
Previously, 'make web-install' installed whichever libexec binaries had
already been built, and if those happened to be dynamically linked they
failed to run inside the chroot which resulted in "privsep peer process
closed pipe" being rendered on the index page.
|
|
a46b9f33
|
2020-01-28T12:09:03
|
|
fix a bug where 'got revert -R' failed on added subtrees
The command could fail with "got: no such entry found in tree".
This problem is reproduced by the regression test added in this commit.
This happened because file index entries were processed in the wrong
order by diff_fileindex_dir(). To fix this, keep removed entries in
the RB tree and skip them when the file index is written out, rather
than removing entries from the RB tree immediately causing side-effects
for RB_NEXT and friends.
|
|
3dcf3e74
|
2020-01-28T11:00:34
|
|
rewind directory file pointer before re-opening the directory
|
|
43d8c06e
|
2020-01-28T10:11:27
|
|
link just gotweb with kcgi, not the libexec helpers
|
|
bce5dac1
|
2020-01-28T09:51:38
|
|
display 'No repositories found in $got_repos_path" if gotweb finds no repos
|
|
f29724dd
|
2020-01-28T09:40:28
|
|
create dir for public repos during 'make web-install'; avoids an unveil error
|
|
e09ede37
|
2020-01-28T09:35:39
|
|
document that slowcgi(8) is needed for gotweb, too
|
|
d1360688
|
2020-01-28T09:31:29
|
|
fix problem with 'make web-install' not finding some of the files
|
|
e83c0634
|
2020-01-27T22:25:59
|
|
remove pointless cwd checking from got_repo_map_path()
|