syncthing/lib
Jakob Borg a728743c86
lib/db: Use Commit() instead of commit() (#6330)
The readWriteTransaction offered both commit() (the one to use) and
Commit() (via embedding) where the latter didn't close the read
transaction. This removes the lower cased variant in order to prevent
the mistake.

The only place where the mistake was made was the new gc runner, where
it would leave a read snapshot open forever.
2020-02-12 11:59:55 +01:00
..
api all: Transactionalize db.FileSet (fixes #5952) (#6239) 2020-01-21 18:23:08 +01:00
auto build: Let "go generate" create assets 2018-06-26 10:29:36 +02:00
beacon lib: Replace done channel with contexts in and add names to util services (#6166) 2019-11-21 08:41:15 +01:00
build cmd/*, lib/build: Set correct LongVersion (fixes #5993) (#5997) 2019-10-07 13:30:25 +02:00
config lib/model: Add global request limiter (fixes #6302) (#6303) 2020-02-01 08:02:18 +01:00
connections lib: Consistently unsubscribe from config-wrapper (fixes #6133) (#6205) 2019-12-04 07:15:00 +01:00
db lib/db: Use Commit() instead of commit() (#6330) 2020-02-12 11:59:55 +01:00
dialer lib/relays: Fix incorrect timeout, bring back logging (ref #6289) (#6291) 2020-01-23 21:37:35 +00:00
discover all: Use context in lib/dialer (#6177) 2019-11-26 07:39:51 +00:00
events lib/events, lib/model: Unflake test and prevent deadlock on event unsubscribing (#6261) 2020-01-11 08:14:05 +01:00
fs lib/fs, lib/model: Rewrite RecvOnly tests (#6318) 2020-02-12 07:47:05 +01:00
ignore lib/ignore: Don't crash on empty patterns (fixes #6300) (#6301) 2020-01-30 09:58:44 +01:00
locations all: Remove potentially problematic errors from panics (fixes #5839) (#5912) 2019-07-31 10:53:35 +02:00
logger all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
model lib/model: Return empty summary on paused folders (ref #6272) (#6326) 2020-02-12 11:59:12 +01:00
nat all: Use context in lib/dialer (#6177) 2019-11-26 07:39:51 +00:00
osutil lib/osutil: Increase maxfiles on macOS properly (fixes #6206) (#6207) 2019-12-03 07:26:22 +01:00
pmp build, pmp: Replace fork with upstream for go-nat-pmp and tidy go.mod (#6247) 2020-01-03 12:39:59 +01:00
protocol lib/db: Deduplicate block lists in database (fixes #5898) (#6283) 2020-01-24 08:35:44 +01:00
rand lib/connections: Add QUIC protocol support (fixes #5377) (#5737) 2019-05-29 09:56:40 +02:00
rc all: Use context in lib/dialer (#6177) 2019-11-26 07:39:51 +00:00
relay lib/relays: Fix incorrect timeout, bring back logging (ref #6289) (#6291) 2020-01-23 21:37:35 +00:00
scanner lib/db: Deduplicate block lists in database (fixes #5898) (#6283) 2020-01-24 08:35:44 +01:00
sha256 all: Remove dead code, fix lost msgLen checks (#6129) 2019-11-06 07:09:58 +01:00
signature all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stats all: Propagate errors from NamespacedKV (#6203) 2019-11-30 13:03:24 +01:00
stun lib/stun: Refactor to remove unnecessary logging (fixes #6213) (#6260) 2020-01-10 10:24:15 +01:00
sync lib/sync: Cleanly fail instead of panic in tests (#6088) 2019-10-16 10:11:11 +02:00
syncthing lib/syncthing: Wait for actual termination on Stop() (#6277) 2020-01-20 08:40:15 +01:00
testutils lib/model, lib/testutils: Test closing a connection on folder restart (#5707) 2019-05-18 08:53:59 +02:00
tlsutil lib: Wrap errors with errors.Wrap instead of fmt.Errorf (#6181) 2019-11-23 15:20:54 +00:00
upgrade lib/upgrade: Let Mac load .zip archives (#6230) 2019-12-16 07:21:18 +01:00
upnp lib/upnp: Use simple continue in loop (#6192) 2019-11-26 22:55:34 +00:00
ur all: Transactionalize db.FileSet (fixes #5952) (#6239) 2020-01-21 18:23:08 +01:00
util all: Use context in lib/dialer (#6177) 2019-11-26 07:39:51 +00:00
versioner lib/versioner: Reduce surface area (#6186) 2019-11-26 07:39:31 +00:00
watchaggregator lib: Replace done channel with contexts in and add names to util services (#6166) 2019-11-21 08:41:15 +01:00
weakhash lib/scanner: Use standard adler32 when we don't need rolling (#5556) 2019-02-25 13:29:31 +04:00