Commit graph

750 commits

Author SHA1 Message Date
Oliver Jowett 3242fcaf29 Add support for configuring --stats-every (defaults to hourly) 2014-12-06 16:08:17 +00:00
Oliver Jowett 977fc07c39 Pass --name and --user during daemon start so that existing processes can be correctly identified. 2014-12-06 16:07:44 +00:00
Oliver Jowett 2e189633da Add a logrotate configuration. 2014-12-06 16:07:02 +00:00
Oliver Jowett 7a3a9f500f Add logging support. 2014-12-06 16:06:39 +00:00
Oliver Jowett b7ee4009e4 Release changelog. 2014-12-05 22:56:14 +00:00
Oliver Jowett b1e1878054 Fix some stray colons. Report failure if daemon isn't configured to start. 2014-12-05 22:55:04 +00:00
Oliver Jowett 373ac8ef0c Add init script, defaults from /etc/default/, postinst to create a user to run as. 2014-12-05 22:37:33 +00:00
Oliver Jowett 77912fb087 Install binaries with -mr suffix. 2014-12-05 21:36:51 +00:00
Oliver Jowett 35a382e3ce Set HTMLPATH correctly when compiling.
Put static files in /usr/share/dump1090-mr not /usr/share/dump1090
2014-12-05 21:36:02 +00:00
Oliver Jowett 0ae1d72e83 Initial work on raspbian packaging. 2014-12-05 20:18:57 +00:00
Oliver Jowett 83c80b6d67 Don't link view1090 with librtlsdr, it doesn't need it. 2014-12-05 19:34:40 +00:00
Oliver Jowett 19eed4cf18 Allow external specification of CFLAGS / CPPFLAGS. 2014-12-05 19:33:46 +00:00
Oliver Jowett 9e72eb64be Merge branch 'write-json-files' into oversampling 2014-11-23 17:22:58 +00:00
Oliver Jowett 2abc386895 Off-by-one error in the json interval calculation. 2014-11-23 17:22:34 +00:00
Oliver Jowett e0bc89e542 Merge branch 'write-json-files' into oversampling 2014-11-23 16:34:18 +00:00
Oliver Jowett ebab2c0e11 Create json files with mode 0644 - umask.
mkstemp defaults to 0600 which is not so useful for serving the file.
2014-11-23 16:32:45 +00:00
Oliver Jowett d0174994cb Fix path buffer size 2014-11-23 16:32:22 +00:00
Oliver Jowett 7bd2ee5510 Merge branch 'write-json-files' into oversampling
Conflicts:
	dump1090.c
	dump1090.h
2014-11-23 16:03:35 +00:00
Oliver Jowett 6910a4bf4d Experimental json changes 2014-11-23 16:02:11 +00:00
Oliver Jowett 8246df8b2d Merge branch 'master' into oversampling 2014-10-31 19:42:15 +00:00
Oliver Jowett bbd5a13030 Merge branch 'net-cleanups' 2014-10-31 19:38:06 +00:00
Oliver Jowett 29d1e53f9f Merge remote-tracking branch 'upstream/master' into net-cleanups 2014-10-31 17:58:03 +00:00
MalcolmRobb bff92c4ad7 Merge pull request #36 from mutability/improve-phase-enhancement
Rearrange phase enhancement so that it handles phase errors in both directions
2014-10-31 13:01:59 +00:00
Malcolm Robb 960ebfccea Publish version 1.10.3010.14 2014-10-30 17:50:56 +00:00
MalcolmRobb b8ea7540c7 Merge pull request #13 from bovine/faurl
link to FlightAware for flight details
2014-10-30 12:11:28 +00:00
Malcolm Robb a9cd75ded1 More Updates to Pull #54
Pull #54 breaks the Windows version of dump1090 due to a bug in the
inet_aton() windows function.

1) Fix the bug in the windows inet_aton()
2) Modify the command line code to strdup() the command line string.
3) Leave the Modes.net_bind_address pointer NULL if no command line
specified
2014-10-30 12:06:03 +00:00
Jeff Lawson cd09210cb9 Merge branch 'master' into faurl 2014-10-29 23:00:38 -05:00
Malcolm Robb 6d55cf6f71 Publish version 1.10.2910.14 2014-10-29 19:05:01 +00:00
Malcolm Robb 68f1220ab8 Change default binding to 0.0.0.0
Pull #54 permits changing the default bind address. The default was
127.0.0.1. This prevents external access unless a command line switch is
used. Since many users of dump1090 are using dump1090 as remote receiver
heads for programs such as plane plotter, this is undesirable. If you
want to lock down your RPi for local use only then use the command line
switch. If not, retain legacy open mode by binding to 0.0.0.0 by
default.
2014-10-29 19:04:25 +00:00
Malcolm Robb 5f18f6cbca Fix warnings and Windows compile problems 2014-10-29 19:00:42 +00:00
Malcolm Robb 3447f7ec83 Add Windows resource file for version numbering 2014-10-29 19:00:03 +00:00
Malcolm Robb abaf9d8b39 Fix W3C Validation Errors #34
Submitted by ddeitterick, but the push didn't work on IE8/9. I hope I've
extracted the required parts and implemented them correctly here.
2014-10-29 17:39:34 +00:00
MalcolmRobb 5699e48855 Merge pull request #54 from l0calguest/bind_address
Ability to assign bind address for services
2014-10-29 17:21:12 +00:00
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
demonx 5b4d811c7d Ability to assign bind address for services 2014-10-25 21:33:45 +02:00
Jeff Lawson 87a88c9798 Merge branch 'master' into faurl 2014-10-12 16:31:35 -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
Oliver Jowett cd3efe2d63 Merge branch 'net-cleanups'
Conflicts:
	dump1090.c
2014-10-03 23:15:06 +01:00
Oliver Jowett 22f2a8db37 Merge branch 'net-cleanups' into oversampling
Conflicts:
	dump1090.c
	dump1090.h
2014-10-03 23:04:09 +01:00
Oliver Jowett 1769ac9006 Restructuring of network output side.
Mostly refactoring the common code that was duplicated
between the different output types so that there aren't
many copies floating around.

This introduces "struct net_writer" to store the state of a
particular type of output service - buffers, time of last write,
connection count etc. prepareWrite() / completeWrite() give access
to the buffer and handle the actual writes and flushing when needed.

Heartbeat and time-based flushing move into a generic periodic-work
function.

Update the SBS output code to use the new infrastructure. This makes
a big different to CPU use when under load.
2014-10-03 22:55:21 +01:00
Oliver Jowett 8d4f1a396c Merge branch 'fix-net-list-corruption' into net-cleanups 2014-10-03 20:58:52 +01:00