Compare commits

...

8 Commits

Author SHA1 Message Date
sanlupkim 2f97c4b990
Merge 5d5506e8fe into b6529a3ce3 2024-06-13 01:00:44 +00:00
Brandon Rhodes b6529a3ce3 Fix GitHub Actions by installing groff on Mac 2024-05-17 23:41:52 -04:00
dave-kaye 48db8e8eaa
Update release date in Help > About menu (#92) 2024-05-15 22:01:19 -04:00
dave-kaye 25d9785659
Update download urls (#93)
Closes issue #80.
2024-05-03 14:47:40 -04:00
dave-kaye cbce84148a
Update header inserted into MPC .edb files (#94) 2024-04-09 16:30:53 -04:00
sanlupkim 6afc692a80
Use standard manpage sections; escape dashes (#90) 2024-03-04 13:11:24 -05:00
Lukasz Sanocki 5d5506e8fe gsc2.3 work again - fix 2021-12-18 22:59:56 +01:00
Lukasz Sanocki 58e9655977 New moon fts image from user-contrib (Martin.Federspiel at gmx.de) 2021-12-18 00:21:09 +01:00
10 changed files with 25 additions and 25 deletions

View File

@ -4,6 +4,7 @@ on:
push:
branches:
- main
- fix-ci
pull_request:
branches:
@ -31,6 +32,8 @@ jobs:
run: brew install openssl && brew info openssl
- name: Install XQuartz
run: brew install xquartz --cask && brew info xquartz
- name: Install groff
run: brew install groff && brew info groff
- name: Compile
run: make -C GUI/xephem
- name: Test

Binary file not shown.

View File

@ -119,7 +119,7 @@ print "Creating $brtfn and $dimfn..\n";
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime;
$year += 1900;
$mon += 1;
$from = "# Data is from ftp://cfa-ftp.harvard.edu/pub/MPCORB/MPCORB.DAT\n";
$from = "# Data is from $MPCSITE/$MPCFTPDIR/$MPCFILE\n";
$what = "# Generated by mpcorb2edb.pl $ver, (c) 2000 Elwood Downey\n";
$when = "# Processed $year-$mon-$mday $hour:$min:$sec UTC\n";

View File

@ -744,11 +744,11 @@ String fallbacks[] = {
"XEphem*WCS.y: 10",
"XEphem*WebDB*Pattern.value: ",
"XEphem*WebDB*Search.set: False",
"XEphem*WebDB*URL0.value: http://celestrak.org/NORAD/elements/stations.txt",
"XEphem*WebDB*URL1.value: http://celestrak.org/NORAD/elements/science.txt",
"XEphem*WebDB*URL2.value: http://celestrak.org/NORAD/elements/tle-new.txt",
"XEphem*WebDB*URL3.value: http://celestrak.org/NORAD/elements/amateur.txt",
"XEphem*WebDB*URL4.value: http://celestrak.org/NORAD/elements/visual.txt",
"XEphem*WebDB*URL0.value: https://celestrak.org/NORAD/elements/stations.txt",
"XEphem*WebDB*URL1.value: https://celestrak.org/NORAD/elements/science.txt",
"XEphem*WebDB*URL2.value: https://celestrak.org/NORAD/elements/tle-new.txt",
"XEphem*WebDB*URL3.value: https://celestrak.org/NORAD/elements/amateur.txt",
"XEphem*WebDB*URL4.value: https://celestrak.org/NORAD/elements/visual.txt",
"XEphem*WebDB*URL5.value: https://www.minorplanetcenter.net/iau/Ephemerides/Comets/Soft03Cmt.txt",
"XEphem*WebDB*URL6.value: https://www.minorplanetcenter.net/iau/Ephemerides/CritList/Soft03CritList.txt",
"XEphem*WebDB*URL7.value: https://www.minorplanetcenter.net/iau/Ephemerides/Distant/Soft03Distant.txt",

View File

@ -29,8 +29,8 @@ char msg[]) /* return diagnostic message here, if returning -1 */
{
#define GSC23MAXFOV degrad(30./60.0) /* max fov */
/* http://gsss.stsci.edu/webservices/vo/ConeSearch.aspx?RA=10.0&DEC=5.0&SR=0.2&FORMAT=CSV */
static char ifmt[] = "%[^,],%lf,%lf,%*[^,],%*[^,],%*[^,],%*[^,],%lf,%lf,%*[^,],%*[^,],%lf,%lf,%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%d";
static char gfmt[] = " GET http://%s%s?RA=%g&DEC=%g&SR=%g&FORMAT=CSV HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n";
static char ifmt[] = "%[^,],%*[^,],%*[^,],%*[^,],%lf,%lf,%*[^,],%*[^,],%*[^,], %*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%lf,%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%*[^,],%d";
static char gfmt[] = "GET http://%s%s?RA=%g&DEC=%g&SR=%g&FORMAT=CSV&CAT=GSC23 HTTP/1.0\r\nUser-Agent: xephem/%s\r\n\r\n";
char host[1024];
char buf[2048];
char *hp1;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -7991,7 +7991,7 @@ format if it is not already.<br>
<br>
Several particularly useful sites as of this build are already entered.
The first five are from Dr. TS Kelso's Earth satellite lists at <a
href="https://www.celestrak.org">celestrak.org</a>. The other four are
href="https://celestrak.org">celestrak.org</a>. The other four are
the Minor Planet Center's lists of hot comets and unusual asteroids
specially formatted for <a
href="https://www.minorplanetcenter.net/iau/Ephemerides/Soft03.html">XEphem</a>.
@ -7999,12 +7999,9 @@ Click <span style="font-weight: bold;">Get</span> beside the desired
catalog to download the file to the Private directory and
simultaneously load into XEphem memory.<br>
<br>
Special files created by
<!-- could not found the correct linke
<a href="http://cfa-www.harvard.edu/cfa/ps/mpc.html">Minor Planet Center</a>
and
-->
the <a href="https://asteroid.lowell.edu/">Lowell
Special files created by the <a
href="https://www.minorplanetcenter.net/data/">Minor Planet Center</a>
and <a href="https://asteroid.lowell.edu/astorb/">Lowell
Observatory</a> may also be downloaded.
Each organization maintains
extensive lists of all known asteroids and produces on a regular basis

View File

@ -5,5 +5,5 @@
#include "xephem.h"
char PATCHLEVEL[] = "4.2.0";
char PATCHDATE[] = "2021 September 13";
char PATCHDATE[] = "2024 February 13";
char COPYRIGHT[] = "Copyright (c) 1990-2021 by Elwood Charles Downey";

View File

@ -158,7 +158,7 @@ wdb_create()
XtSetArg (args[n], XmNrightAttachment, XmATTACH_FORM); n++;
tf_w = XmCreateTextField (f_w, buf, args, n);
defaultTextFN (tf_w, 1, "", NULL);
wtip (tf_w, "URL of file to download (must use HTTP)");
wtip (tf_w, "URL of file to download (must use HTTP or HTTPS)");
XtManageChild (tf_w);
sprintf (buf, "XEphem*WebDB*URL%d.value", i);
sr_reg (tf_w, buf, wdbcategory, 1);

View File

@ -1,9 +1,9 @@
.TH XEphem 1X
.SH Name
.TH XEPHEM 1 "Feb 2024"
.SH NAME
XEphem \- an interactive astronomical ephemeris for X11
.SH Syntax
\fBxephem [-prfb] [-install {yes|no|guess}] [-resfile <resourcefile>] [-[no]splash]\fP
.SH Description
.SH SYNOPSIS
\fBxephem [\-prfb] [\-install {yes|no|guess}] [\-resfile <resourcefile>] [\-[no]splash]\fP
.SH DESCRIPTION
.na
.nh
.PP
@ -144,14 +144,14 @@ multi-user installations. XEphem looks here for support files. Unless
defined otherwise, the Shared directory is ".", that is, the current
directory.
.SH Author
.SH AUTHOR
.PP
Elwood C. Downey, email ecdowney@ClearSkyInstitute.com.
.SH References
.SH SEE ALSO
.PP
The Web homepage, including the FAQ, is maintained at
.I http://www.clearskyinstitute.com/xephem
.I https://xephem.github.io/XEphem/Site/xephem.html
.PP
The online Help entry
.I on Credits