Commit Graph

436 Commits

Author SHA1 Message Date
Oliver Jowett 794f87b480 Include $(CPPFLAGS) when compiling faup1090, so it sees the hardening defines. 2014-12-28 20:40:37 +00:00
Oliver Jowett f5af77c433 Update to use the configuration / packaging scripts developed for dump1090-mutability.
Use a plain Conflicts: piaware on faup1090, as we don't actually want to replace it.
If regular piaware is installed, it'll provide a faup1090 binary anyway.
2014-12-28 20:37:27 +00:00
Oliver Jowett af8375bd3a Add Breaks/Replaces: piaware (<= 1.18-2) for faup1090, as the standard
package provides the same binary.
2014-12-07 23:47:08 +00:00
Oliver Jowett a5827b1391 Release changelog, version tweak again. 2014-12-07 21:33:47 +00:00
Oliver Jowett af6e95e837 Improve the description of faup1090 a little. 2014-12-07 16:50:46 +00:00
Oliver Jowett 35ef7af4db faup1090 doesn't need an adduser dependency 2014-12-07 13:16:12 +00:00
Oliver Jowett 7867cb5aba Update packaging to produce dump1090-flightaware & faup1090 packages. 2014-12-07 13:12:20 +00:00
Oliver Jowett 03211c5e16 Cherry-pick packaging commits from mr-pi-package as a starting point. 2014-12-07 12:38:03 +00:00
Karl Lehenbauer 5ca40d4576 Version bump to 1.18. 2014-11-18 20:19:17 +00:00
Karl Lehenbauer e64f9abc78 Version bump to 1.17. 2014-11-17 16:19:22 +00:00
Karl Lehenbauer a7c5eb4b8d Install view1090 along with dump1090. 2014-11-09 12:04:29 +00:00
Karl Lehenbauer 4a477064cf Merge branch 'master' of github.com:flightaware/dump1090_mr 2014-10-24 09:47:04 -05:00
Karl Lehenbauer f199f88283 Version bump faup1090 to 1.16. 2014-10-24 09:46:49 -05:00
Karl Lehenbauer 69a9b7e47d Add doc install option. 2014-10-19 15:27:27 +00:00
Karl Lehenbauer 97d74b5c53 Doc Makefile for dump1090 2014-10-19 10:00:15 -05:00
Karl Lehenbauer 603a6e6634 Initial nroff-style manual page for dump1090. 2014-10-19 09:54:40 -05:00
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