Commit graph

102 commits

Author SHA1 Message Date
Oliver Jowett 15ea5ba3da Rearrangements to the receive thread.
Magnitude conversion now happens immediately when sample data is
received, so there is no risk of newly received data clobbering old
data under CPU overload.
2015-04-09 18:51:31 +01:00
Oliver Jowett e6c81251bf Fix timestamp correction when sample blocks are dropped.
(Fixes #43)
2015-04-08 19:13:40 +01:00
Oliver Jowett 6148a05cef Raspbian doesn't do ${python:Depends} 2015-02-25 13:51:47 +00:00
Oliver Jowett 89ac9ad107 Mark this version as ~dev. 2015-02-25 13:17:20 +00:00
Oliver Jowett 60eab2284f Package changes to support the aircraft DB. 2015-02-25 13:16:54 +00:00
Oliver Jowett 87bd16812a Add formatter.js to conffiles. 2015-02-22 17:03:47 +00:00
Oliver Jowett 7fbdde156a Change map icon based on aircraft category.
This only has different icons for the "rotorcraft" and "light"
categories at the moment - all others are the default plane icon
at different scales.
2015-02-22 17:02:23 +00:00
Oliver Jowett ab8c4db85b Fix edge cases when specifying the user to run as.
* check the username fits the format expected by adduser;
 * don't allow root;
 * if the user exists, don't try to create it; usually, this is
   harmless, but it fails if the user exists with a UID outside the
   normal range for system users.

Fixes #24.
2015-02-19 22:41:39 +00:00
Oliver Jowett f391bf4b22 Release changelog. 2015-02-19 19:41:44 +00:00
Oliver Jowett f6d2f3dfff More CPR stats. 2015-02-19 18:53:11 +00:00
Oliver Jowett 46ad97da15 More changelogging. 2015-02-19 12:11:30 +00:00
Oliver Jowett 65e7d32390 Mark all HTML/Javascript as conffiles.
Closes #15.
2015-02-19 12:05:53 +00:00
Oliver Jowett 8fa7209aa1 Changelog updates for 1.14. 2015-02-19 12:02:45 +00:00
Oliver Jowett aee837c903 Start with --nicelevel -5 to reduce the chance of dropped buffers, except in --net-only mode.
Closes #19.
2015-02-11 21:20:31 +00:00
Oliver Jowett f9ed7e4a97 More time_t -> milliseconds conversions.
This lets us support fractional net flush times among other things, which is handy.
2015-02-10 22:24:22 +00:00
Oliver Jowett 07a39331c9 Changelog mostly to bump the version to reduce confusion. 2015-02-08 23:11:50 +00:00
Oliver Jowett b313834338 Make the is_number regex accept numbers beginning with -0
Also ends up simpler, too - originally I was trying to avoid accepting
e.g. "+0" or "-0" but that's not really a big deal.

Fixes #14
2015-02-08 22:44:02 +00:00
Oliver Jowett 02f07ac7bf Release changelog. 2015-01-25 16:45:05 +00:00
Oliver Jowett 4b0bc4cee9 Make 2.4MHz sampling the default for new installs. 2015-01-25 16:11:34 +00:00
Oliver Jowett 09b6b3aa8c Fix some lintian warnings. 2015-01-24 01:08:05 +00:00
Oliver Jowett c1ac4d1036 Update GPL coverage. 2015-01-24 01:04:45 +00:00
Oliver Jowett 5ac90e30a8 Changelog. 2015-01-23 21:26:57 +00:00
Oliver Jowett af3eb3df2b Move to a simpler versioning scheme (the one derived from upstream
is going to break the ordering that Debian expects very soon).

When building from source not via debian/rules, derive a version from
git describe.
2015-01-22 13:19:15 +00:00
Oliver Jowett e02a2cdd44 GPL. 2015-01-20 16:49:01 +00:00
Oliver Jowett 721412dc9b Changelog. 2015-01-19 23:29:07 +00:00
Oliver Jowett 881cb8167d Release changelog. 2015-01-17 21:04:10 +00:00
Oliver Jowett 971e5754ff Try to work around a libusb crash on exit after SIGINT. 2015-01-17 19:23:57 +00:00
Oliver Jowett d1f274d469 Avoid a (rare) divide-by-zero crash in 2MHz --phase-enhance. 2015-01-17 18:26:06 +00:00
Oliver Jowett 4a66a31839 Changelog. 2015-01-17 12:31:52 +00:00
Oliver Jowett 8f1b8566d4 Update changelog. 2015-01-16 20:37:55 +00:00
Oliver Jowett e54b290601 Release changelog. 2015-01-14 01:17:57 +00:00
Oliver Jowett 62ec7796d0 Require that the JSON refresh interval is at least 1, as it is used
to control the webmap refresh rate even if JSON files are not being written.
2015-01-14 01:15:54 +00:00
Oliver Jowett dc92cfb927 Restart lighttpd on package upgrade if we changed its config files. 2015-01-14 00:34:06 +00:00
Oliver Jowett 371f6bb5d4 Changelog. 2015-01-13 22:02:39 +00:00
Oliver Jowett 41d8a79041 Changelog. 2015-01-13 21:53:48 +00:00
Oliver Jowett fefce7b4bd Add --max-range parameter. Use it for relative position limits, and to discard bad position results.
(cherry picked from commit 0d725508f78cb2fd7759efbb66b45b867d6f7722)
2015-01-13 21:53:12 +00:00
Oliver Jowett 8b56cd104f Changelog. 2015-01-13 21:41:23 +00:00
Oliver Jowett 2627933963 Changelog. 2015-01-12 16:31:22 +00:00
Oliver Jowett 2febe75ce7 Changelog. 2015-01-12 01:19:43 +00:00
Oliver Jowett 0b5aac47c4 Change plane color if we have not seen a recent position update
(previously, any type of message was enough).
2015-01-11 12:15:54 +00:00
Oliver Jowett 55a10e6685 Changelog. 2015-01-11 12:12:58 +00:00
Oliver Jowett 2f2803a775 Fix UTC clock display in non-UTC timezones. 2015-01-11 11:54:17 +00:00
Oliver Jowett 35e5088529 Fix initial map centering thinkos. 2015-01-07 23:54:54 +00:00
Oliver Jowett 4a04e4d46d Changelog updates. 2015-01-07 21:42:57 +00:00
Oliver Jowett 0f1c0778f2 Disable lighttpd's stat cache in the sample config. 2015-01-07 19:01:56 +00:00
Oliver Jowett 1f06abf67d WIP webmap cleanup 2015-01-05 23:20:03 +00:00
Oliver Jowett 99bca13844 Release changelog. 2015-01-04 20:23:30 +00:00
Oliver Jowett 43ec58c78e Remove dead tracking code related to the removed PlanePlotter feed. 2015-01-04 20:09:38 +00:00
Oliver Jowett 76474f58ab Fix warnings. Add -Werror so they break the build in future. 2015-01-04 20:08:33 +00:00
Oliver Jowett 14a8e71629 Version bump to reflect upstream version. 2015-01-04 12:32:36 +00:00