Commits
- Commit:
b7368299fd320a97f2da447cb2f62166f3805517
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.105
- Commit:
47450175a80904ac2ae82257a97bb0b9dfcdde3d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
whitespace
- Commit:
e42da5dbbf61c98edf34a31aa0c905099f9e91a4
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
plug memory leaks in 'got fetch' and 'got send'
In addition to the previous commit [c450903bc2] that plugged fetch and
send leaks, free what would be the path entry's path member, which is
leaked when attempting to add a duplicate. And in the fetch case, free
refname and id when got_pathlist_insert() returns err.
ok stsp@
- Commit:
0e1d99b70d096dc74c53436437b7836ed9189543
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotwebd.css styling consistent across all window sizes
Patch by op@, who is at the wrong computer right now
- Commit:
42300e501b05cf157853de0eaf4a4d5360b0793f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
slight code simplification, seeing that clear_meta(NULL) is fine
- Commit:
9c1b133592069eb8885b5bec922d06995ece91e1
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in got_pack_create()
Patch by: Kyle Ackerman
- Commit:
6d00e361b51b0e4d5aabc05aebef7ecb6b7d4392
- From:
- Bradley Taunt <bt@btxx.org>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
minor gotwebd.css styling changes for some QoL updates on mobile devices
Patch by Bradley Taunt
ok op@
- Commit:
c450903bc2ce2dadb398b935473a6e355894e243
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug memory leaks in 'got fetch' and 'got send'
Check for duplicate items added to pathlists, and free associated data
in case we were attempting to add a duplicate.
Patch by: Kyle Ackerman
- Commit:
5ddd7ddb3ce581cbbd07e4e5e88839c05e2a62b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a todo item for the 'got send' command
- Commit:
dee20ba57d802d92bea16998db24eb96d5da7339
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not call fmemopen(3) with a zero size argument
Calling fmemopen(3) with a size of zero leads to an "Invalid argument" error.
One symptom of this issue are failing gotd notifications:
gotd[48539]: render notification: fmemopen: Invalid argument
Add an email notification test case which triggers the above error.
Reported by Mischa Peters
- Commit:
aae9823b00f5988597d2f2fac63dd14e16b0a003
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug some leak around imsg_init() error paths
tested and ok stsp@
- Commit:
940b434ba83d5c4db2de3ce75baab3b5dd4279d3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tidy up error handling and reporting in repo_write_dispatch() a bit
ok op@
- Commit:
28f88a8012eef7b02f7ada4a4e8a89d1d4342f70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug fd leak on OOM
- Commit:
e17fe79ed2af35cc59b6e45c577a715377c2e63f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
delete trailing whitespaces
done mechanically with
$ find . -iname \*.[ch] -exec sed -i -E 's/[[:space:]]+$//' {} +
with some revert for bundled files and a manual tweak for got-fetch-http.c
- Commit:
197402aa5d504d7a3c4d10d6066757443632a777
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
regress: got {revert,unstage} -p binary file; ok stsp@
- Commit:
441adc5c23cd0a3e8accffe63ec1a34bb95961ae
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
don't iterate binary file changes with (un)stage/revert -p
As reported by Johannes Thyssen Tishman, 'got stage -p $binaryfile'
iterates each hunk, and produces unexpected behaviour when answering
'y'. Instead, present the standard "Binary files differ" message and
only allow staging (or unstaging or reverting) the entire binary file.
Includes tests for stage -p but unstage and revert -p tests are still
needed.
tweak + ok stsp@
- Commit:
e37a5589c16266235a9b0d3b6d7be7ec67b46390
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update EWAH todo item
- Commit:
5955ddd3f68be116821bc250060f67a5f54bcdfe
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add todo item for ewah bitmaps
- Commit:
432b52225c2364202e3a4a7ae75333d2750e824d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a topological commit graph for the ancestry check in 'got send'
Fixes spurious "branch on server has a different ancestry" errors from
'got send' when the repository history contains merge commits.
- Commit:
718078fb3c86e4b594469f7f7d9ccaae50e1ec12
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump version number
- Commit:
32b9351df15e152fa59622aa7fc91b343efc27c6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
CHANGES for 0.104
- Commit:
ddf1151d18469ed361359892a83958f1f43c843d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix out of bound access while handling the config
For the first 13 iterations of the loop we read behind the start of
the array. Instead of just adding a range check, rewrite the code to
split the loop in two so it's easier to follow.
Reported by Timo Myyrä
ok stsp@
- Commit:
284a194b014a698450b40ee7eaef2e1d5334c607
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that meta->dtab gets freed whenever we clear a meta entry
- Commit:
8dfb8335f908abe468c096ff44dc3b400078dd24
- From:
- Kyle Ackerman <kackerman0102@gmail.com>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
free leaked `got_delta_table` entries
The first `nmeta - max_base_candidates` were not freed in `got_pack_create`.
Patch by Kyle Ackerman
ok op@
- Commit:
4dd6eb4bad0365bcd6afea1defced7034794323e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert part of my previous commit which caused unstage.sh test failures
Some parts of the code rely on staged_blob_id being NULL in certain
cases. Restore this behaviour while keeping the segfault bug fixed.