Jakob Borg
60fcaebfdb
Run vet and lint. Make us lint clean.
2015-04-29 10:38:02 +02:00
Audrius Butkevicius
433b923ea7
Add mutex logging
2015-04-23 10:54:14 +01:00
Jakob Borg
aa803ce2ff
Move folder errors to state
...
The "Invalid" config attribute is retained for errors discovered during
config loading (empty path, duplicate ID). This can only be set or
cleared at config loading time.
Errors discovered during runtime (I/O problems, etc) are now in the
folder state instead. Changes to these are sent as any other folder
state change.
2015-04-13 07:43:45 +09:00
Jakob Borg
b2a79855ae
Handle long filenames on Windows ( fixes #1295 )
2015-04-08 14:05:39 +02:00
Jakob Borg
bf4eb4b269
Copy configuration struct when sending Changed() events
...
Avoids data race. Copy() must be called with lock held.
2015-04-05 21:07:15 +02:00
Audrius Butkevicius
7406176fad
More graceful handling on folder errors ( fixes #762 )
...
Checks health before accepting every scanner batch, also
recovers from errors without having to restart.
2015-03-30 08:27:12 +02:00
Jakob Borg
32425c5561
MPLv2
2015-03-17 16:02:27 +01:00
Audrius Butkevicius
a53facf709
Cleanup temporary files ( fixes #1239 )
2015-01-18 20:34:47 +00:00
Jakob Borg
eef1aebe8c
Refactor out protocol and luhn (protocol dependency) packages
2015-01-13 13:22:56 +01:00
Audrius Butkevicius
56ccb5b2ab
New device, folder prompts ( fixes #120 , fixes #330 )
2015-01-03 23:06:41 +00:00
Jakob Borg
febeed3277
config.ConfigWrapper -> config.Wrapper
2014-12-08 16:39:11 +01:00
Jakob Borg
82c6caef85
Use more inclusive copyright header
2014-11-17 12:54:42 +01:00
Audrius Butkevicius
a5fe4a3694
Perform tilde expansion in the config wrapper
2014-10-13 21:59:42 +01:00
Jakob Borg
c3c9c4cde5
Use a separate lock for the subscriber stuff
2014-10-07 10:34:53 +02:00
Jakob Borg
9b11609b63
Use a configuration wrapper to handle loads and saves
2014-10-06 17:57:35 +02:00