MalcolmRobb
7b2e4ca67d
Merge pull request #49 from mutability/show-stale-planes
...
Change the marker color for aircraft with no recent updates.
2014-10-29 15:32:30 +00:00
MalcolmRobb
da3cf96989
Merge pull request #38 from hhm0/http_server_wk
...
HTTP server fixes
2014-10-29 15:24:33 +00:00
hhm
027ab92e7a
Merge branch 'master' of https://www.github.com/MalcolmRobb/dump1090 into http_server_wk
2014-10-29 10:29:04 -04:00
MalcolmRobb
c142c1fe2e
Merge pull request #33 from hhm0/socket_hang
...
Close network file descriptors when finished with them
2014-10-29 12:55:16 +00:00
hhm
3333fcd5bc
Merge branch 'master' of https://www.github.com/MalcolmRobb/dump1090 into socket_hang
2014-10-29 02:15:04 -04:00
hhm
cbab205790
Merge branch 'master' of https://www.github.com/MalcolmRobb/dump1090 into http_server_wk
2014-10-29 02:03:57 -04:00
MalcolmRobb
d1ad4b91c6
Merge pull request #30 from tslocum/fr24link
...
Add flightradar24.com link
2014-10-28 13:07:15 +00:00
MalcolmRobb
f95d54e837
Merge pull request #25 from ddeitterick/center_selected_plane_distance
...
Center "Distance from Site" for Selected Plane
2014-10-28 12:59:43 +00:00
MalcolmRobb
e225b5dead
Merge pull request #24 from ddeitterick/add_distance_to_table
...
Add Distance to Table Info
2014-10-28 12:59:08 +00:00
hhm
f71bc6c130
Merge branch 'master' of https://www.github.com/MalcolmRobb/dump1090 into http_server_wk
2014-10-04 21:39:15 -04:00
hhm
e20e240130
B"H Merge branch 'master' of https://www.github.com/MalcolmRobb/dump1090 into socket_hang
...
Conflicts:
net_io.c
2014-10-04 21:36:51 -04:00
Oliver Jowett
75438d5595
Change the marker color for aircraft with no recent updates.
2014-10-02 22:50:09 +01:00
MalcolmRobb
65751ed6e9
Merge pull request #45 from mutability/net-client-eof-handling
...
Detect client EOF properly. Handle EWOULDBLOCK.
2014-10-02 21:32:40 +01:00
MalcolmRobb
dee6ded673
Merge pull request #35 from mutability/use-repaired-checksums
...
Check if bit correction happened before bailing out due to a bad CRC.
2014-10-02 21:29:10 +01:00
Malcolm Robb
4f449a8d44
Make Pull # compatible with Pull #42
2014-10-02 21:08:57 +01:00
MalcolmRobb
16a900c667
Merge pull request #42 from mutability/prefer-global-cpr
...
Prefer to use global CPR decoding where possible.
2014-10-02 21:05:26 +01:00
MalcolmRobb
bc496fbcad
Merge pull request #43 from mutability/more-stats
...
Add --stats-every option, add sample block counters
2014-10-02 20:51:13 +01:00
Malcolm Robb
5a5c52d7a9
Merge remote-tracking branch 'origin/pr/46'
2014-10-02 19:53:43 +01:00
MalcolmRobb
98f510540e
Merge pull request #47 from mutability/flightradar-compat-fix
...
Always emit a message reception time, as otherwise the FR24 uploader is unhappy.
2014-10-02 19:41:18 +01:00
Oliver Jowett
15f3408d8e
Always emit a message reception time, as otherwise the FR24 uploader is unhappy.
...
When we don't have a time available (e.g. remote message) use the system time.
2014-10-02 12:20:37 +01:00
hhm
13fe375437
Merge branch 'master' of https://www.github.com/MalcolmRobb/dump1090 into http_server_wk
2014-10-01 11:10:41 -04:00
hhm
8b4d5b3dca
Merge branch 'master' of https://www.github.com/MalcolmRobb/dump1090 into socket_hang
2014-10-01 11:10:19 -04:00
MalcolmRobb
bf111360bc
Merge pull request #44 from mutability/fix-obinary
...
Only use O_BINARY on Win32
2014-10-01 13:57:07 +01:00
Oliver Jowett
186cac5c25
Use the anet-reported error string when reporting bind errors.
...
errno may have been modified by the time you see it.
2014-10-01 12:37:29 +01:00
Oliver Jowett
a513c3677b
Detect client EOF properly. Handle EWOULDBLOCK.
...
Client disconnection appears as a read of 0 bytes.
Without a test for this, dump1090 continues to poll that client forever.
Also, read() may return EWOULDBLOCK as well as EAGAIN
for "no data right now", so handle that.
I don't know if there is an equivalent Win32 bug here as the Win32
interfaces seem subtly different to vanilla POSIX.
The following test/break can probably be removed if Win32 needs
the same fix.
2014-10-01 12:29:16 +01:00
Oliver Jowett
98c7c73d06
Only use O_BINARY on Win32
2014-10-01 12:17:51 +01:00
MalcolmRobb
c09c68466c
Merge pull request #41 from mutability/skip-remote-timestamps
...
Don't output message reception time in SBS format for remote messages.
2014-09-30 17:15:46 +01:00
Malcolm Robb
e3bbf7b266
Read Files are binary
...
When replaying recordings, the read files are binary, so the file open
needs to reflect this so that spurious end of file characters aren't
misinterpreted.
2014-09-30 16:36:56 +01:00
Malcolm Robb
aa063ba89f
Undo Parts of Pull request #29
...
The table sizing doesn't seem to work in M$ IE8 and IE9.
2014-09-30 16:35:15 +01:00
MalcolmRobb
732fe52a10
Merge pull request #28 from ddeitterick/change_plotted_plane_table_bg_color
...
Change the Background Color for a Plotted Plane
2014-09-30 15:19:42 +01:00
MalcolmRobb
9d3452f424
Merge pull request #27 from ddeitterick/format_track_field
...
Add Degree Symbol to Track Value
2014-09-30 15:18:35 +01:00
MalcolmRobb
5cdcc22734
Merge pull request #29 from tslocum/bettermap
...
Improve map display layout and styling
2014-09-30 15:16:25 +01:00
MalcolmRobb
bd151e1e54
Merge pull request #40 from mutability/discard-bad-cpr-latitudes
...
Reject out-of-range latitudes when doing CPR decoding.
2014-09-30 15:10:33 +01:00
MalcolmRobb
8725ba0b6d
Merge pull request #39 from mutability/fractional-gain
...
Fix --gain with fractional gain values.
2014-09-30 15:00:12 +01:00
Oliver Jowett
b98c6856b3
Move the stats reset strictly after stats display, so the total message count is shown correctly.
2014-09-25 22:02:52 +01:00
Oliver Jowett
3eb39ab788
Don't output message reception time in SBS format for remote messages.
...
For remotely received messages that have a mlat timestamp, we have no
useful way of turning that timestamp into a wallclock timestamp, so
don't try, or we'll just produce wildly wrong results (_days_ in error)
2014-09-25 21:45:46 +01:00
Oliver Jowett
4fc2697555
Add stats for number of sample blocks processed and dropped.
2014-09-25 20:35:54 +01:00
Oliver Jowett
10061675de
Add --stats-every <secs> option.
...
Periodically displays and resets stats.
Useful for unattended operation.
2014-09-25 20:33:50 +01:00
Oliver Jowett
661246d347
Prefer to use global CPR decoding where possible.
...
There is a danger in always using relative decoding where possible.
If there is an undetected error in the first pair of messages received,
then global CPR decoding will give a bad position, and subsequent
relative decoding will just walk around near that bad position even
though many error-free pairs of odd/even messages may have been received.
The first pair of position messages also tends to be the most error-prone, as
they are usually received at the extreme edge of receiver range.
(I see this happen at least once a day in practice)
So, instead, prefer to use global decoding when we have sufficiently recent data.
With recent data this should always be as good as relative decoding, and it
avoids getting stuck with bad data for long periods of time. If we don't have
enough recent data for a global solution, fall back to relative decoding.
2014-09-25 17:10:55 +01:00
Oliver Jowett
e5b3572e8b
Reject out-of-range latitudes when doing CPR decoding.
...
If a CPR message with an undetected error is received this can produce out-of-range results for latitude.
e.g. even latitude of 78000, odd latitude of 0 produces a latitude index j=35 and rlat0 = 213.
2014-09-25 15:49:39 +01:00
Oliver Jowett
95ccb90c76
Fix --gain with fractional gain values.
2014-09-24 20:01:06 +01:00
hhm
c265ea1d55
B"H net_io.c http server: hopefully mem code is OK now
...
Still learning the ropes memory-wise :-)
2014-09-17 07:58:19 -04:00
hhm
32fc5fddd0
B"H net_io.c: http server: content should be dynamically allocated
2014-09-17 07:32:34 -04:00
hhm
df19d51bc6
B"H net_io.c: use %d like local code
2014-09-17 06:58:53 -04:00
hhm
8d307cd0eb
B"H net_io.c: http serve: return HTTP response codes
2014-09-17 06:32:03 -04:00
hhm
04f4abda70
B"H net_io.c: add missing else statement
2014-09-15 09:08:49 -04:00
hhm
eb41be3884
B"H net_io: http: check if file can be sent
2014-09-14 06:28:03 -04:00
Oliver Jowett
7fab5b0cb5
Check if bit correction happened before bailing out due to a bad CRC.
2014-09-13 12:11:19 +01:00
hhm
84fa09c228
B"H net_io.c: revert previous change and advertise HTTP 1.1
...
It seems server code should be compatible with HTTP 1.1; the features
unique to 1.1 mostly are upon the client to support, and some headers
used (for example Cache-Control) may need 1.1.
2014-08-18 03:06:43 -04:00
hhm
0317c48aac
B"H make sure to close sockets when finished
2014-08-15 04:39:35 -04:00