Tobias Schneider
8f9d4bd2aa
Add Iridium NEXT
...
Adds the category and fetches the TLEs from celestrak.
2017-02-20 14:54:40 +01:00
Alexandru Csete
32b16b4b9d
Check return value of GLib functions
...
Fixes CID 1398122, 1398123 and 1398129.
2017-01-30 23:28:33 +01:00
Alexandru Csete
d793770684
Indent sat-log
2017-01-30 23:17:10 +01:00
Alexandru Csete
2b98583bc9
Prevent buffer overflow when importing transponder data
...
Fixes second part of CID 1398138: Copy into fixed size buffer.
2017-01-29 20:57:22 +01:00
Alexandru Csete
011f6bbf0e
Fix error in color conversion function
...
CID 1398119: Bad bit shift operation.
CID 1398130: Operands don't affect result.
2017-01-29 20:49:05 +01:00
Alexandru Csete
6092f5a07f
Indent gpredict-utils
2017-01-29 20:47:44 +01:00
Alexandru Csete
89747ec36d
Use cleaner control flow in loc-tree
...
Fixes CID 1398141: Structurally dead code.
2017-01-28 21:10:08 +01:00
Alexandru Csete
e140efa205
Indent loc-tree
2017-01-28 21:06:14 +01:00
Alexandru Csete
14deb71740
We can sssume ctrl->qth is not null
...
Fixes CID 1398134: Dereference after null check.
2017-01-28 20:57:40 +01:00
Alexandru Csete
2fd0a667e1
Ensure rotator controller target is non-null
...
Fixes CID 1398135: Dereference after null check.
2017-01-28 20:54:27 +01:00
Alexandru Csete
7e57c37531
Prevent buffer overflow when importing transponder data
...
Fixes CID 1398138: Copy into fixed size buffer.
2017-01-28 20:41:45 +01:00
Alexandru Csete
0edfb791ea
Use int type when using getc()
...
Fixes CID 1398121: Truncated stdio return value.
2017-01-28 20:34:53 +01:00
Alexandru Csete
8871caf3b6
Avoid loss of precision due to implicit cast
...
Fixes CID 1398139: Result is not floating-point.
2017-01-28 20:05:46 +01:00
Alexandru Csete
4f08714e90
Indent gtk-sat-map-ground-track
2017-01-28 20:03:03 +01:00
Alexandru Csete
733b682bf7
Use correct buffer size when creating time strings
...
Fixes CID 1398137: Out-of-bounds access.
2017-01-28 19:54:22 +01:00
Alexandru Csete
ce4b9770d1
Ensure string buffers are 0 terminated
2017-01-28 19:31:11 +01:00
Alexandru Csete
9d727fde46
Use correct buffer size when creating time strings
...
Fixes CID 1398137: Out-of-bounds access.
2017-01-28 17:31:48 +01:00
Alexandru Csete
c4f9879cbd
Indent and style cleanup
2017-01-28 17:28:03 +01:00
Alexandru Csete
f41ce90134
Add missing comma and coding style cleanup
...
Fixes CID 1398136: Missing comma in a string array initialization.
2017-01-28 17:11:47 +01:00
Alexandru Csete
c211a4a476
Indent and format sat-data
2017-01-24 21:53:19 +01:00
Alexandru Csete
f6874d2108
Add comment regarding disabled category sync
2017-01-24 01:37:36 +01:00
Alexandru Csete
6d96f82ab9
Update tooltip in preferences dialog to match behavior
2017-01-24 01:22:19 +01:00
Alexandru Csete
d1d0980f6e
Do not create a tle-new.cat file while updating TLE.
2017-01-23 22:59:51 +01:00
Alexandru Csete
aecf617bc8
Really avoid creating new categories when updating TLE
2017-01-23 16:59:48 +01:00
Alexandru Csete
04fb2e5286
Reduce number of default TLE files for pre-1.4 configurations
2017-01-23 16:26:46 +01:00
Alexandru Csete
f91f0f8ee2
Update config version to 1.4
2017-01-23 16:25:29 +01:00
Alexandru Csete
b617e0f3ba
Don't create new categories when updating TLE
2017-01-21 17:04:52 +01:00
Alexandru Csete
eb5715252c
Improve button toopltip
2017-01-20 15:24:17 +01:00
Alexandru Csete
ac649c2c3b
Tweak first time configuration
...
Only generate initial .sat and .cat files if none of these files are found in
the user configuration directory. This allows users to delete satellites and
saetllite categories they are not interested in.
2017-01-20 15:01:35 +01:00
Alexandru Csete
e10df4bbe2
Include some Celestrak files in default TLE sources
2017-01-19 23:57:50 +01:00
Alexandru Csete
0aa83e350e
Migrate TLE updater to use URLs
2017-01-19 22:33:13 +01:00
Alexandru Csete
fb60e0d883
Indent and clean-up in tle-update
2017-01-19 22:33:07 +01:00
Alexandru Csete
a06e9cd2ea
Switch to using complete URLs for TLE update
...
This changes from storing one server and a number of files to storing complete
URLs, allowing to use more than one server. An attempt has been made to import
existing config records so that existing users shouldn't notice any difference.
New users will only have the single AMSAT source we are switching to.
On the UI side we switch to using a list for the URLs instead of direct display
of the ";" separated list.
2017-01-19 22:33:02 +01:00
Alexandru Csete
0829add35f
Indent
2017-01-02 00:04:38 +01:00
Alexandru Csete
d405ebadef
Various minor TRSP update tweaks
2017-01-02 00:02:57 +01:00
Alexandru Csete
239c9b2a4b
Change to using 2-byte config version
2017-01-01 21:13:14 +01:00
Alexandru Csete
6af0b7ddf3
Remove more unused config keys
2017-01-01 21:01:43 +01:00
Alexandru Csete
f86c584ad8
Indent and other formatting changes
2017-01-01 02:12:20 +01:00
Alexandru Csete
b56f50c5b8
Indent
2017-01-01 00:44:49 +01:00
Alexandru Csete
0dd0a79d86
Add some comments
2016-12-31 23:33:36 +01:00
Alexandru Csete
31575e969c
Remove unused TRSP config indices
...
These indices were added during the implementatiom of the Satnogs TRSP
interface but they are unused and have no entry in the config tables,
causing index errors.
Fixes #27 .
2016-12-31 23:30:23 +01:00
Alexandru Csete
57a3a3d0bb
Fix unit tests
...
- Fix compile warnings
- Indent
- Remove obsolete email address
2016-12-25 02:16:08 +01:00
Alexandru Csete
a8da912c6b
Indent some more
2016-12-21 23:28:30 +01:00
Alexandru Csete
72be69ca9d
Ensure gpsd parameters are always initialized
2016-12-21 23:26:32 +01:00
Alexandru Csete
3ce7f27237
Indent
2016-12-21 23:19:42 +01:00
Alexandru Csete
60b4a4c025
Merge pull request #38 from daniestevez/orbit
...
Corrected orbit number
2016-11-12 19:43:17 +01:00
Daniel Estévez
3990e242cc
Corrected orbit number
...
The orbit number should change at the ascending node according to
the TLE specifications. With the current calculation, it changed
at the perigee.
2016-11-11 13:52:58 +01:00
Daniel Estévez
a00196b64a
Make terminator draw work with time controller
...
Terminator was redrawn every 100 satellite draws to prevent excessive
redraws. This impeded it to work properly with the time controller.
We now store the timestamp for the last terminator redraw and only
redraw the terminator if the current timestamp differs enough to
produce appreciable changes (currently 15 seconds).
2016-11-11 12:48:15 +01:00
Alexandru Csete
bf66478da8
Store frequencies as int64 instead of double.
...
Also add some sanity checks to ensure that we can handle various
scenarios where either limit of up- or downlink is not specified, see
issue #35 .
The calculations in rig-ctrl are stil ldone using double.
2016-10-19 01:33:36 +02:00
Alexandru Csete
b5ed9b459b
Rename frq-update to trsp-update
2016-10-18 23:59:33 +02:00