Commit Graph

420 Commits

Author SHA1 Message Date
Karl Lehenbauer d8231c2a35 Expand instructions for building the RTL-SDR libraries. 2014-10-19 08:57:08 -05:00
Karl Lehenbauer a9455e143e Expand instructions ever so slightly 2014-10-19 06:37:35 -05:00
Karl Lehenbauer a9b662a52c Clarify dump1090_mr make instructions 2014-10-19 06:35:55 -05:00
Karl Lehenbauer 2ae636846d fadup1090.sh stop and restart now work 2014-10-16 12:54:58 -05:00
Karl Lehenbauer bb37c6b4d5 "make install" updates
* Install dump1090 to /usr/bin in the Linux style (rather than /usr/local/bin).

* Install HTML files as part of the "make install" (rather than requiring
one to do some variant of "make -f makefaup1090 install" to get the HTML
files dump1090 needs into their right location.

As a result of this a "sudo make install" should produce a working standalone
dump1090, though makefaup1090 options still add capabilities like starting
and stopping dump1090 and boot and shutdown.
2014-10-14 02:58:01 -05:00
Karl Lehenbauer 63dee8bcc6 Version bump to 1.15. 2014-10-14 02:53:39 -05:00
Jeff Lawson 750f9b6865 Merge pull request #4 from hhm0/socket_hang
Socket hang
2014-10-13 19:04:22 -05:00
Jeff Lawson c1e19917f8 Merge pull request #3 from hhm0/http_server_wk
Various Http server fixes for file existence checking and error handling
2014-10-13 18:12:30 -05:00
Jeff Lawson 04a19df6f1 Merge pull request #1 from aaraya1516/master
Avoid javascript memory leaks on web page
2014-10-10 16:54:43 -05:00
Alejandro Araya 3120570e1a FB24621
move html out of JS into html page. use on click instead of attaching
event listeners that never get destroyed.
2014-10-10 13:24:07 -05:00
Karl Lehenbauer 8065a22658 Revert "Version bump to 1.15."
This reverts commit 87c3c5ae8c.
2014-10-09 03:36:42 +00:00
Karl Lehenbauer 86e11ff509 faup1090 service table fixes
* Set all the ports in the services table we're not using to zero.

* Don't enable a table entry that's disabled but has a port defined.  This allows us to use the table definition for the 30005 port for us to connect out to it.
2014-10-08 22:29:57 -05:00
Karl Lehenbauer 87c3c5ae8c Version bump to 1.15. 2014-10-08 06:44:25 -05: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
Karl Lehenbauer 438d877f98 Merge branch 'master' of github.com:flightaware/dump1090_mr 2014-10-02 22:14:05 -05:00
Karl Lehenbauer 3349c172f3 Merge remote-tracking branch 'upstream/master'
Pick up many improvements created by or pull requests merged by Malcolm Robb.
2014-10-02 22:13:05 -05:00
Karl Lehenbauer 1a9811d2d5 faup1090 now exits if it loses its connection
Before this if dump1090 restarted for some reason then faup1090 will sit
there indefinitely "looking" stupid and passing no data to piaware,
even after dump1090 comes back up.

Much gratitude to Oliver Jowett (github user mutability) for the fix.
2014-10-03 02:50:28 +00:00
Karl Lehenbauer bd690db2b3 Use standard MODES_NET_SERVICES_NUM in faup1090
For faup1090 only the FlightAware service is enabled and we were shortening
the services table by using our own define of FAUP_NET_SERVICES_NUM and
having it set to 1.

Apps need to stick with the same number of services as defined by
MODES_NET_SERVICES_NUM in dump1090 because dump1090 support routine
modesAcceptClients loops on this constant to walk the services table.

Likewise we now define all the service ports dump1090 defines even though we
are not using them.  We have configured them as disabled.

Version bump to 1.14.
2014-10-02 21:42:17 -05: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
Karl Lehenbauer c7888add7e Update README 2014-10-02 11:23:30 -05: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
Karl Lehenbauer 709889dd5c Enable the correct number of net services in faup1090
faup1090 was using the wrong constant, MODES_NET_SERVICES_NUM, rather than
FAUP_NET_SERVICES_NUM, so it ran off the end of an array binding random
ports until failing when it tried to bind the FlightAware port a second time.

Thanks to Oliver Jowett (github user "mutability") for the fix.
2014-10-01 10:02:40 -05: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
Karl Lehenbauer e6f2cc5624 Build notes for the README 2014-09-30 04:02:32 -05:00
Karl Lehenbauer c64a894a18 Install fadump1090.sh in /etc/init.d/ 2014-09-30 03:31:07 -05:00
Karl Lehenbauer a089e07eed Add fadump1090.sh 2014-09-30 05:10:34 +00:00
Karl Lehenbauer 78ee29e334 Fix makefile tabs in prior commit 2014-09-30 04:47:43 +00:00
Karl Lehenbauer 1e12168ed6 Extend makefaup1090 Makefile rules
Add install options
* 'make all' compile faup1090
* 'make install-faup1090' install faup1090
* 'make install-dump1090' install dump1090
* 'make install-autostart' make dump1090 autostart upon boot
* 'make full-install' all of the above

Update .gitignore to ignore faup1090 and view1090.
2014-09-29 23:44:49 -05:00
Karl Lehenbauer 2be5074721 Install dump1090 support files in a reasonable place
* Install dump1090 and faup1090 to /usr/bin (It's Linux-standard, not my
first choice.)

* Build dump1090 to expect HTML and Javascript files in
/usr/share/dump1090/public_html

* Make 'make -f makefaup1090 install' install the dump1090 HTML and Javscript
files in the above directory.

* With this build style dump1090 can be invoked from anywhere and it will
find its files.
2014-09-29 15:44:01 -05:00
Karl Lehenbauer 2b92b01194 Version bump to 1.13. 2014-09-28 16:32:30 -05:00