Commits
- Commit:
4c6fbd03916e12eadf18201ce7de380ee1bc3653
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.101
- Commit:
89b33c1eac4f87898d95aeb01475d55d1f624d1d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: include sha{1,2} portably
- Commit:
8d288f1d0517356ff749a30b5fd734b5d5d3f1ac
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add got_hash_digest{,_string}_length()
These will be very much useful in the near future.
- Commit:
72e411a0ac43390974f08a783aa0332ee9970a00
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
ensure we properly zero got_object_id structs
ok tobeh@
- Commit:
331d5cab1036762200ae373029501e82778c2b7e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
bump version number
- Commit:
b3cfe0be988bd2af718c09bf61a5bbf8372223b9
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
CHANGES for 0.101
- Commit:
c466367a7c85f0e99043c411c9bc1ba99b4cf059
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use proper type for got_imsg_enumerated_tree
ok stsp@
- Commit:
ac617115880dba63f046743d329f0498086950db
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use proper type for got_imsg_enumerated_commit
ok stsp@
- Commit:
eef1d245249331bf08381aadd8efc5cff7403c68
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
s/pack_sha1_ctx/pack_hash_ctx
it's a bit silly to call the context for got_hash with sha1 since
it's an API explicitly thought to abstract over the hash algorithm.
Also, this is going to cover sha256 pack files soon too.
- Commit:
a5aca095b9115be7ad89415bcf0117e38202dfb8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
dial.c: include sha2.h too
Soon got_lib_hash.h will require sha2.h included, the rest of the
tree il ready except dial.c
- Commit:
823afafb42571046f38fbcb8597f229c777949d8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
delete some dead code
None of these structures are used anymore, the only thing still
used are the GOT_PACK_OBJ_DELTA_OFF_* defines.
- Commit:
fd4b4abf78b705c9b4fe069a2490d5eb95476b4e
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add a rebase todo item
- Commit:
b6a31527a3cd044797b16afc12e9125a6b81e36f
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use got_object_id_hex instead of got_sha1_digest_to_str
(where possible)
The latter assumes that we only have sha1 digests to pretty-print,
while the former could, in the future, automatically switch to
sha256.
At the moment though, this is a no-op.
- Commit:
9772fc4b6b62f40cb3134a8ada6b5592b3ce8e1d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
change got_imsg_painted_commit to use a object id struct
ok stsp@
- Commit:
a07b40efef09db014d4811fd1c3a2816537fb7b5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd: use a struct got_object_id instead of an hash buffer
ok stsp@
- Commit:
f605b7655a235f6bd6473ca91ae9fb428ae1a74b
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd regress: update error message
- Commit:
6e5b538555a0da104cdce0480a721abca02f58b1
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: change how we deal with a non-existant config file
We don't need a config file since we have some defaults, but we
also need a way to set them. After the change to move `listen on'
to a global rule, we don't add the default socket anymore when
there's no config file. Instead, change how we deal with an
*existing* config file and leave the rest of parse_function() to
handle the case of missing knobs to set up.
- Commit:
00862f7f5b5dddd0fa00b4b5c7e2827fdda53f99
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: plug fd leak in error path
- Commit:
84a2b96d223ec79d31415330020d25182c98ba91
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
swap error check in got_gotweb_closefile() to always call ftruncate
- Commit:
2c833bdbcf7274909b8ca1a9308f77b1022128eb
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: squish horizontal scroll bug that draws trailing '.'
When calling span_wline() to compute the number of columns to skip on a string
with a column length less than or equal to the number of columns we want to
skip (i.e., that the user has scrolled right), the call to wcwidth(3) returns
-1 for a '\n', which we replace with a '.' character. Trim trailing newlines
before calling span_wline().
ok op@
- Commit:
aed1f7694fc4740d880a503eac8ebe1f6c4f3eca
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix diff view J keymap to diff the next commit in the log
When the last visible commit in the log view is selected while in a log/diff
horizontal split, and fullscreen is then toggled in the diff view, the user
cannot scroll to the next commit with the diff view J keymap due to a bad
predicate guarding a clamp to prevent scrolling off-screen that should only
be applied when in the horizontally split log view and not when scrolling
from the diff view. The fix also reveals an off-by-one that's only applicable
in the hsplit case in the subsequent commit loading logic that also breaks J
when attempting to scroll beyond the last loaded commit.
New regress added to cover these cases.
ok op@ (caveated that he's unsure exactly why the OB1 fix works)
- Commit:
3f7ec816e916db9f4c429fe58385f2973e8469b0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix previous; as Paul points out this section talks about the repository path
I didn't take the time to read the surrounding lines, sorry.
- Commit:
1c234fa46acdcfdfe5da7858fe8958ec0a09aaa7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix documentation of the default unix socket path used by gotwebd
spotted by Paul W. Rankin / rnkn via IRC
- Commit:
9832a51c8b5d6ea3e980bf0251523e9ebf301b68
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
Remove unnecessary sched_yield(2).
Re-applies commit 6b8a2b8fcd99c4365b1aa9513c0f0149beac2491 which was
reverted in commit 82954512f323c8a2d4f89d51be1e6b0f707b6c3a because
at the time the change broke the 'search' feature.
Quick testing suggests search is now working fine, so let's try again.
- Commit:
fe0e729042492b0efa2dd74dc82fca75e5383e22
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: macro cleanup
Don't leak past a define on the rest of the line.