1ChangeLog 2 3*********** release of 0.15.0 4 520120428 6 julian_day.c 7 Removed not-needed BSD_SOURCE define 8 9 Petr Kubanek 10 1120120111 12 utility.c: 13 utility.h: 14 julian_day.c: 15 Fix problems with double redefinition, pointed by Lukasz Michalik 16 17 Petr Kubanek 18 19*********** release of 0.14.0 20 2120110730 22 airmass.c: 23 Added ln_get_alt_from_airmass function 24 25 doc/doxyfile.in,doc/doxyfile 26 Generate input doxyfile from doxyfile.in 27 28 Petr Kubanek 29 3020090917 31 sidereal_time.c: 32 Fix problem with double transformation of degrees to hours, pointed by Edward Falk 33 34*********** release of 0.13.0 35 3620090514 37 heliocentric_time.h: 38 heliocentric_time.c: 39 test.c: 40 Added heliocentric time corrections calculations. 41 42 Petr Kubanek 43 4420090420 45 julian_day.h: 46 Removed "#ifndef __WIN32__" to make ln_get_date_from_timet function available in win32 47 48 ln_types.h: 49 Changed tv_sec type from long to time_t to match standard definition 50 Clarified field documentation for ln_nutation 51 52 julian_day.c: 53 Removed "#ifndef __WIN32__" to make ln_get_date_from_timet function available in win32 54 Remove platform-dependent code form ln_get_date_from_sys. The function now simply makes a call to gettimeofday() - a Win32 implementation is supplied in utility.c, and this function is no longer limited to one-second precision under Windows. 55 56 nutation.c: 57 Fixed two values in nutation coefficients table 58 Fixed method used to compute longitude/obliquity offsets. The general form of the calculation is supposed to be, e.g., coeff*sin(D+M+MM+F+O), not coeff*(sin(D) + sin(M) + sin(MM) + ...) 59 Added correct computation for mean ecliptic (Meeus eq 22.2) 60 (These fixes also fix ln_get_apparent_sidereal_time, and affect: 61 ln_get_solar_equ_coords 62 ln_get_solar_ecl_coords 63 ln_get_equ_from_ecl (possibly needs true ecliptic rather than mean) 64 ln_get_ecl_from_equ (possibly needs true ecliptic rather than mean) 65 ) 66 67 utility.c: 68 Fixed gettimeofday Win32 implementation: 69 should not add timezone offset - _ftime_s and gettimeofday both work in terms of seconds since Jan 1 1970, UTC 70 Added some explicit casts to remove compile warnings 71 Cleaned up implementations of ln_deg_to_hms, ln_rad_to_hms, ln_deg_to_dms, and ln_rad_to_hms 72 73 patch provided by Kevin Ivarsen, applied by Petr Kubanek 74 7520090323 76 Fixed issues while compling on Sun/Solaris (acosl, round, ..) 77 78 Petr Kubanek 79 80*********** release of 0.12.3 81 8220090114 83 Another fix of MS Windows support 84 85 patch provided by Stephane Lamoliatte, applied by Petr Kubanek 86 8720081008 88 Fixed MS Windows support 89 90 patch provided by Stephane Lamoliatte, applied by Petr Kubanek 91 92*********** release of 0.12.2 93 9420080516 95 Fixed bug #1838539. 96 97 Petr Kubanek 98 9920080413 100 Fixed bug #1940972. 101 102 Petr Kubanek 103 10420071127 105 Fixed bug #1838359. 106 107 Petr Kubanek 108 10920071115 110 Fixed time.h issues. 111 112 Petr Kubanek 113 11420070709 115 Fixed bug in julian_day.c, reported by Michael Richmod. 116 117 Petr Kubanek 118 11920070125 120 fixed 121 122 [ 1644739 ] DEC coordinate error in ln_get_equ_pm_epoch 123 124 Petr Kubanek 125 126*********** release of 0.12.1 127 12820070117 129 Bug-fix of RST. 130 131 -src/rise_set.c 132 133 check_coords function, rewrite H1 checks, fix some nasty bugs which 134 were there. 135 136 -lntest/test.c 137 138 Additional tests for RST functions (hyp_future_rst_test). 139 Fix RST tests - error will be displayed if libnova calculates wrong 140 circumpolar value. 141 142 Petr Kubanek 143 14420070117 145 Future functions, which calculated next rises. 146 147 -src/rise_set.c 148 -src/libnova/rise_set.h 149 150 Add _next_rst_future functions. 151 152 -src/elliptic_motion.c 153 -src/libnova/elliptic_motion.h 154 -src/parabolic_motion.c 155 -src/libnova/parabolic_motion.h 156 -src/hyperbolic_motion.c 157 -src/libnova/hyperbolic_motion.h 158 159 Add _next functions (and their variants). 160 161 -lntest/test.c 162 163 Add test for new functions (ell_rst_test, body_future_rst_test 164 functions). 165 166 Petr Kubanek 167 16820070116 169 libnova is now ported to Win32 with the following changes. 170 171 -src/julian_day.c 172 173 Added preprocessing directive for POSIX header (sys/time.h) exclusion for Win32 compilation. 174 Changed ln_get_date_from_sys to be compatible with Win32. 175 176 -src/misc.c 177 178 Added preprocessing directive for POSIX header (unistd.h) exclusion for Win32 compilation. 179 Changed libnova.h include to libnova/libnova.h. 180 181 -src/utility.c 182 183 Added preprocessing directive for POSIX header (unistd.h) exclusion for Win32 compilation. 184 Added functions gettimeofday, gmtime_r, and strtok_r to substitute for their POSIX coupterparts. 185 Added functions cbrt, nan, and round to subsistute, in C89, for their C99 counterparts. 186 187 -src/libnova/ln_types.h 188 189 Added definitions of struct timeval and struct timezone to subtitute in Win32 for their POSIX counterparts. 190 191 -src/libnova/utility.h 192 193 Added include of time.h. 194 Added declarations of new functions noted in this change under src/utility.c 195 196 Daniel Schultze 197 19820070116 199 -src/rise_set.c 200 -src/libnova/rise_set.h 201 202 Add various _next_ & _horizon functions. 203 Add ln_get_motion_body_rst_horizon function. 204 Fix dynamic time diffs in rst functions - remove dynamical time 205 correction from object_rst, where it's not needed, use it only for 206 nr, nt and ns corrections (interpolation coeficient) in body & 207 motion_body variants. 208 Add dm corrections for object calculation, as 0.01 is ~ 10 minutes. 209 210 -src/elliptic_motion.c 211 -src/libnova/elliptic_motion.h 212 -src/parabolic_motion.c 213 -src/libnova/parabolic_motion.h 214 -src/hyperbolic_motion.c 215 -src/libnova/hyperbolic_motion.h 216 217 Change _rst calculation to use generic motion_body code. 218 Add _horizont functions. 219 220 -lntest/test.c 221 222 Change Arcturus test times. 223 Add test for Venus RST. 224 Add tests for _next functions. 225 226 Petr Kubanek 227 22820070115 229 -lntest/test.c 230 231 Add test for Venus RST. 232 233 Petr Kubanek 234 23520070112 236 -src/rise_set.c 237 -src/libnova/rise_set.h 238 239 Replace "horizont" with correct "horizon" (typo). 240 Add ln_get_object_rst_horizon function. 241 242 -src/solar.c 243 -src/libnova/solar.c 244 -src/mercury.c 245 -src/venus.c 246 -src/lunar.c 247 -src/libnova/lunar.h 248 -src/mars.c 249 -src/jupiter.c 250 -src/saturn.c 251 -src/urans.c 252 -src/neptune.c 253 -src/pluto.c 254 255 Replace "horizont" with correct "horizon" (typo). 256 257 -src/elliptic_motion.c 258 -src/parabolic_motion.c 259 -src/hyperbolic_motion.c 260 261 Return -1 when object is never visible. 262 263 Petr Kubanek 264 26520060901 266 -src/transform.h 267 268 Change code how az is calculated if dec = +- 90. 269 270 -lntest/test.c 271 272 Add tests for ln_get_hrz_from_equ when dec = +- 90. 273 274 Petr Kubanek 275 27620060611 277 -lntest/test.c 278 279 Add TNO test, which explain MPO Epoch (which have anomaly, and hence 280 to fit to Libnova perihelion-pass epoch, M/n have to be substracted) 281 282 -src/elliptic_motion.c 283 284 Change atan2 to asin, and put correct parameters. 285 Petr Kubanek 286 28720060316 288 -src/dynamical_time.c 289 -src/utility.c 290 -lntest/test.c 291 292 Updated dynamical time constants from US Navy. 293 Fixed bug in interpolation. 294 295 Fix suppilied by HG Zaunick 296 Liam Girdwood 297 298*********** release of 0.12.0 299 30020060215 301 -src/julina_day.c 302 -src/libnova/julian_day.h 303 304 Add ln_get_date_from_timet and ln_get_date_from_tm functions. 305 306 Petr Kubanek 307 30820060117 309 -src/rise_set.c 310 311 Bug fixed error at calculation whenever circumpolar object is always 312 above or bellow horizont. 313 314 -lntest/test.c 315 316 Add tests for ln_get_object_rst function. 317 318 Petr Kubanek 319 32020060110 321 -src/precession.c 322 323 Changed to long double, use l goniometric functions 324 325 -src/proper_motion.c 326 327 Code cleanup. 328 329 -src/transform.c 330 331 Solve B1950 and J2000 issues in galactic coordinates transformation. 332 333 Add tests. 334 335 Petr Kubanek 336 33720051128 338 -configure.in 339 340 Removed doxygen.in reference from configure 341 34220051128 343 -src/precession.c 344 345 Fixed doxygen warning in precession. 346 347 34820051020 349 [#1315356] applied 350 351 Petr Kubanek 352 35320050925 354 -src/utility.c 355 356 Fixed bug in degrees --> dms overflows 357 35820050922 359 -src/precession.c 360 361 Return ln_range_degrees of ra, otherwise we can get < 0 ra from prec2 362 function. 363 364 Petr Kubanek 365 36620050914 367 -src/airmass.h 368 -src/libnova/airmass.h 369 370 Airmass code 371 372 Petr Kubanek 373 37420050908 375 -src/parallax.c 376 -src/libnova/parallax.h 377 378 Add Parallax routines (Ch. 39). 379 380 Petr Kubanek 381 38220050906 383 -src/precession.c 384 385 Add ln_get_equ_prec2 to calculate precission between arbitary dates. 386 387 -src/libnova/ln_types.h 388 389 JD2000 #define. 390 391 Petr Kubanek 392 39320050717 394 -src/rise_set.c 395 -src/libnova/rise_set.h 396 397 Add LN_SIDEREAL_DAY_SEC and LN_SIDEREAL_DAY_DAY #defines, fix error 398 in ln_get_object_next_rst (infinite loop in while on some special 399 occasions). 400 401 Petr Kubanek 402 403*********** release of 0.11.0 404 40520050705 406 - * 407 408 Updated copyright and LGPL. 409 41020050704 411 -src/julian_day.c 412 413 Bug fix for ln_zonedate_to_date, not setting date ptr. 414 41520050616 416 -src/julian_day.c 417 418 Bug fix for rounding error in time_t to JD and vice versa. 419 42020050609 421 422 - src/julian_day.c 423 - lntest/test.c 424 425 Bug fix ln_date_to_zonedate, added tests for 426 ln_date_to_zonedate. 427 42820050609 429 430 -src/libnova/ln_types.h 431 -src/utility.h 432 -ln_test/test.c 433 434 Added neg bit in ln_dms for small > -1 neg angles. Not sure why 435 this had got back in ? 436 43720050609 438 439 - src/libnova/proper_motion.h 440 - src/proper_motion.c 441 442 Added variable epoch proper motion func and added units to documentation. 443 444 44520050607 446 - src/libnova/ln_types.h 447 - src/libnova/julian_day.c 448 - src/julian_day.c 449 - examples/lunar.c 450 - examples/sun.c 451 - examples/mars.c 452 - examples/asteroid.c 453 - lntest/test.c 454 455 Added ln_zonedate & supporting functions, change examples, 456 added test to lntest. 457 458 - lntest/test.c 459 460 Call usleep between sucessive calls to get_jd (so ./test 461 should pass on fast CPU as well). 462 463 - debian/* 464 465 Added Debian build directory. 466 467 Petr Kubanek 468 46920050506 470 - src/refraction.c 471 472 Fixed bug in refraction calculation. 473 474 Radu Corlan 475 47620050503 477 - src/libnova/ln_types.h, src/utility.h 478 479 Removed bitfields 480 481 lg 482 483 48420040712 485 - src/transform.c, src/libnova/ln_types.h, src/libnova/transform.h 486 487 Beta Galactics Coordinates support. 488 489 Petr Kubanek 490 49120040712 492 -numerous 493 494 Refactored sun -> solar in API 495 496 lg 497 498 499*********** release of 0.10.1 500 50120040906 502 -src/libnova/solar.h 503 504 Removed private function from header 505 506 Liam Girdwood 507 50820040906 509 - src/julian_day.c 510 511 Fixed micro second overflow bug in ln_get_date_from_sys 512 513 Liam Girdwood 514 515 516************* release of 0.10.0 517 51820042905 519 - Added logo 520 521 Edward Rands, Liam Girdwood 522 523 52420042805 525 -src/hyperbolic.c, src/libnova/hyperbolic.h, src/libnova/solar.h 526 527 Fixed doxygen typos 528 529 Liam Girdwood 530 53120042005 532 -src/hyperbolic.c, src/libnova/hyperbolic.h 533 534 Added hyperbolic motion of bodies 535 536 Petr Kubanek 537 53820040205 539 -src/utility.c 540 541 Added overflow detection in *_to_hms(), *_to_dms() 542 54320040105 544 -src/transform.c 545 -examples/transforms.c 546 547 Fixed quadrant range bug and added transform example 548 54920041904 550 -src/utility.c 551 552 Simplify some basic conversions. 553 554 Juan Carlos Remis 555 55620041704 557 -examples/sun.c 558 559 Fixed typo in example code 560 561 Liam Girdwood 562 56320041804 564 -src/elliptic_motion.c 565 -src/parabolic_motion.c 566 567 Change RST to use IAU longitudes. 568 569 Liam Girdwood 570 57120041704 572 -src/rise_set.c 573 574 Change RST to use IAU longitudes. 575 576 Liam Girdwood 577 57820041004 579 -src/rise_set.c 580 581 Fixed bug with correct side of 582 angles passed to ln_interpolate3 583 in ln_get_body_rst_horizont 584 585 Petr Kubanek 586 58720041003 588 -src/aberration.c 589 -src/nutation.c 590 -src/transform.c 591 -src/precession.c 592 -src/utility.c 593 -lntest/test.c 594 595 Used long doubles internally. 596 Fixed bug in ln_dms negative bit. 597 598 Liam Girdwood 599 60020040703 601 -src/*.c 602 -src/libnova/*.h 603 -lntest/*.c 604 -examples/*.c 605 606 Created new API with ln_ prefix. 607 All headers are now in src/libnova/ and are installed in 608 $(prefix)/libnova/ 609 610 Liam Girdwood, Peter Williams 611 61220042001 613 -src/transform.c 614 -src/libnova.h 615 -lntest/test.c 616 617 Changed from longitude measurement from Meeus positively westwards to the 618 IAU's positively eastwards. 619 620 Liam Girdwood, Guillermo Ballester Valor 621 622 62320033008 624 625 -src/julian_day.c 626 627 Added Win32 timezone functionality 628 629 Liam Girdwood, Pablo Martikian 630 631 -src/libnova.h 632 -src/rise_set.c 633 -src/elliptic_motion.c 634 635 Removed inlines due to build problems on some compilers 636 637 Pablo Martikian 638 639 -src/transform.c 640 641 Removed unintentional debug from CVS 642 643 Liam Girdwood 644 645 -src/libnova.c 646 647 Added #define VERSION for building on Windows 648 649 Pablo Martikian 650 65120032508 652 -src/*.c *.h 653 654 Corrected GNU licence to use LGPL 655 656 Liam Girdwood 657 65820032403 659 -src/julian_day.c 660 661 Fixed local to UT transformations 662 663 Liam Girdwood 664 66520032003 666 -src/misc.c 667 668 Mac OSX does not have malloc.h as it's included in stdlib.h 669 670 Paul Ray 671 672 -examples/asteroid.c 673 -examples/Makefile.am 674 675 added asteroid example code based on MPCORB data for Pallas. 676 677 -src/elliptic motion.c 678 679 removed an unintentional change. 680 681 -src/libnova.h 682 -src/elliptic_motion.c 683 684 added get_ell_last_perihelion() 685 686 Liam Girdwood 687 68820031808 689 -src/libnova.h 690 -src/julian_day.c 691 692 Added MPC date format to ln_date conversion. 693 694 Liam Girdwood 695 69620031708 697 -src/rise_set.c 698 -src/julian_day.c 699 -src/transform.c 700 701 Fixed doxygen warnings 702 703 -lntest/lntest.c 704 Updated test's to use dynamical time diff in nutation. 705 706 -src/Makefile.am 707 -src/libnova.h 708 -src/angular_separation.c 709 -lntest/test.c 710 711 Added angular separation and position angle functions. 712 713 Liam Girdwood 714 71520031508 716 -src/lunar.* 717 718 Removed build warnings 719 720 Liam Girdwood 721 72220031308 723 -src/julian_day.c 724 725 Fixed divide by hours bug in get_julian_local_date() 726 to divide by seconds 727 728 Pablo Martikian, Liam Girdwood 729 730 -src/mercury.c 731 -src/venus.c 732 -src/earth.c 733 -src/mars.c 734 -src/jupiter.c 735 -src/saturn.c 736 -src/uranus.c 737 -src/neptune.c 738 -src/pluto.c 739 -src/elliptic_motion.c 740 -src/parabolic_motion.c 741 -src/solar.c 742 743 Removed unused variable JD in get_rect_from_helio() 744 745 Pablo Martikian, Liam Girdwood 746 747 -src/misc.c 748 Fixed uninitialised variable in interpolate5 749 750 Pablo Martikian, Liam Girdwood 751 752 -src/nutation.c 753 Removed build warnings. 754 Uses JD + delta T Chap 22, equ 22.1 755 756 Liam Girdwood, Pablo Martikian 757 75820031208 759 -src/aberration.* 760 -src/misc.c 761 Removed build warnings 762 763 Pablo Martikian, Liam Girdwood 764 765 -src/libnova.h 766 Add extra M_PI_* #defines for windows 767 768 Pablo Martikian 769 770 -configure.in 771 Added -Wall build option 772 773 Liam Girdwood 774 77520033007 776 -src/julian_day.c 777 FreeBSD does not have variable timezone. 778 779 Kirill Ponomarew, Liam Girdwood 780 78120032907 782 -src/julian_day.c 783 Fixed return at line 320 784 785 Petr Kubanek 786 787**** Release 0.8.0 **** 788 78920032807 790 -examples/* 791 Added some examples. 792 793 Liam Girdwood 794 79520032703 796 -src/lunar.c 797 Fixed some documentation errors in lunar phase and disk. 798 799 Kimura Fuyuku, Liam Girdwood 800 80120032703 802 -src/julian_day.c 803 Fixed bug stopping get_julian_day() changing parameter. 804 805 Kimura Fuyuku, Liam Girdwood 806 80720032803 808 -src/libnova.h, libnova.c 809 Added sign member to struct ln_dms to represent small negative angles. 810 811 John R. Thorstensen, Liam Girdwood 812 813 814**** Release 0.7.0 **** 815 81620032203 817 -src/lunar.c, libnova.h 818 Added Lunar longitudes for ascending node and perigee. 819 820 Liam Girdwood 821 82220030303 823 -src/libnova.h 824 typo - cant spell jupiter at line 1148 825 826 Arsita Chetan, Liam Girdwood 827 82820030226 829 -src/mercury.c - pluto.c, transform.c, solar.c, lunar.c 830 replaced atan() with atan2() to remove quadrant errors. 831 832 Asrita Chetan, Liam Girdwood 833 83420030226 835 -src/transform.c 836 ra not in correct quadrant for hrz<->equ coords transformation 837 838 Asrita Chetan, Liam Girdwood 839 840 84120030224 842 -macros/libnova-check.m4 843 fixed compilation problem with gcc 3.2 844 845 -macros/Makefile.am 846 Added install rule for libnova-check.m4 847 Removed unused macros 848 849 Liam Girdwood 850 85120030126 852 -src/parabolic_motion.c, src/elliptic_motion.c 853 Put true anomaly in correct quadrant. 854 855 -* Various 856 Doxygen documentation updates. 857 858 -src/mercury - pluto.c 859 Added Heliocentrcic rectangular coords. 860 861 Liam Girdwood 862 86320030123 864 -ln_test/test.c 865 Fixed parabolic tests 866 Added test results 867 868 Liam Girdwood 869 87020030118 871 -src/mercury .. pluto.c, lunar.c, parabolic_motion.c, elliptic_motion.c 872 Fixed error in calculation of JD_UT for rise,transit, set times. 873 874 Petr Kubanek, Liam Girdwood 875 87620030117 877 -src/parabolic_motion.c 878 Change true anomaly to degrees. 879 Fixed object elongation. 880 881 -src/elliptic_motion.c 882 added get_ell_body_elong(); 883 884 Liam Girdwood 885 88620030117 887 -src/rise_set.c, src/libnova.h 888 Added get_object_next_rst function. 889 890 Petr Kubanek 891 89220030116 893 894 -src/parabolic_motion.c, src/elliptic_motion.c 895 Heliocentric and geocentric position functions 896 had wrong names 897 898 Fix by Herbert Straub, Liam Girdwood 899 900 90120030107 902 -src/lunar.c in get_lunar_ecl_coords () 903 Put longitude in correct quadrant. 904 905 Fix supplied by Danie Malan 906 90720030103 908 - src/transform.c in get_hrz_from_equ () 909 910 Algorithm changed to one, which use atan2 instead of atan function 911 and thus returns 0..2PI for Azimuth instead of -pi/2..pi/2 912 913 - src/julian_day.c in get_julian_day () 914 915 Correct check for 4th October 1582 (Julian/Gregorian calendar) 916 917 Petr Kubanek <petr@lascaux.asu.cas.cz> 918 91920022911 - src/julian_day.c in get_timet_from_julian () 920 921 Spurious errors were caused by loctime.tm_isdst not 922 being initialised to 0. 923 924 Fix supplied by Petr Kubanek <petr@lascaux.asu.cas.cz> 925 926 927****** Release 0.6.0 ******** 928