Commit Graph

364 Commits

Author SHA1 Message Date
Gergely Polonkai a3a1dd0bd4 Add data files for asteroids 2014-09-02 15:28:53 +02:00
Gergely Polonkai f21ce84b17 Merge pull request #16 from gergelypolonkai/bug-15
Add error reporting to add_points()
2014-09-02 12:47:30 +02:00
Gergely Polonkai 06fce9c9d5 Add error reporting to add_points()
It is possible that planet_data->sign_info is NULL, which results in
a SEGFAULT.
2014-09-02 11:56:10 +02:00
Gergely Polonkai 366155b835 Apply Law of Demeter to add_points() 2014-09-02 11:51:03 +02:00
Gergely Polonkai b981ed1b3b Add gswe_timestamp_new_now_local() and gswe_timestamp_set_now_local()
Fixes #14
2014-08-14 14:59:07 +02:00
Gergely Polonkai 68994b8cb5 Code beautification in GsweTimestamp header 2014-08-14 12:15:27 +02:00
Gergely Polonkai c9e382d04b Remove ./configure from travis.yml
configure is invoket by autogen.sh already, due to jhbuild compatibility
2014-08-13 18:29:02 +02:00
Gergely Polonkai fbc5a4e922 Revert "Remove make check from Travis config"
This reverts commit cb9cf3a4ce.
The make check problem has been fixed since then
2014-08-13 01:06:46 +02:00
Gergely Polonkai b77aae9f5c Fix GsweTimestamp tests 2014-08-13 00:56:48 +02:00
Gergely Polonkai e16c4eca70 Code beautification 2014-08-13 00:55:31 +02:00
Gergely Polonkai c10881fff1 Sending "notify" signals upon property change 2014-08-13 00:55:22 +02:00
Gergely Polonkai aae1f06ed7 Setting Gregorian timezone now invalidates Gregorian date
* It calculates Julian Day beforehands, so a valid date remains in
  timestamp
* gswe_timestamp_set_gregorian_timezone() doesn’t emit the "changed"
  signal any more
2014-08-13 00:54:15 +02:00
Gergely Polonkai 8bf5a49c4b Store property GParamSpecs in an array for notify emission 2014-08-13 00:51:26 +02:00
Gergely Polonkai 68b46d2aee Add configure invocation to autogen.sh
Without this, jhbuild fails to install SWE-GLib
2014-08-01 21:28:40 +02:00
Gergely Polonkai e621a2eda2 Add element-type to gswe_all_house_systems documentation 2014-07-16 22:55:14 +02:00
Gergely Polonkai 600712c901 Add gswe_all_house_systems() function
This is required for Astrognome to configure house systems in the charts.
See gergelypolonkai/astrognome#36
2014-07-16 22:47:59 +02:00
Gergely Polonkai dca2071c88 Move GsweError and GSWE_ERROR documentation to .c file
This is to hide documentation details from installed .h files
2014-07-16 22:38:47 +02:00
Gergely Polonkai cb9cf3a4ce Remove make check from Travis config
The checks are not working yet, thus Travis is continuously fails.
2014-07-08 13:24:59 +02:00
Gergely Polonkai 1225c5c8ed Fix comment in gswe_init_with_dir() 2014-07-08 13:24:07 +02:00
Gergely Polonkai 0caebd4f94 Revert "Remove gswe_init() call from GsweTimestamp initializers"
This reverts commit 078ff3370d.

It turns out that we actually need to call gswe_init() (or at least
g_type_init()) for GObjects to work.
2014-07-08 13:16:59 +02:00
Gergely Polonkai 80b5da88a3 Version bump to 2.1.0 2014-07-08 11:25:55 +02:00
Gergely Polonkai d5bea25e4d Add version information to some new functions 2014-07-08 11:02:25 +02:00
Gergely Polonkai 95e89a4c25 Code beautification 2014-07-08 10:43:54 +02:00
Gergely Polonkai cb1fa1f67a Move gswe-version.h generating to the right place 2014-07-06 10:23:59 +02:00
Gergely Polonkai 078ff3370d Remove gswe_init() call from GsweTimestamp initializers
That call is unnecessary for time related functions.
2014-07-06 00:48:20 +02:00
Gergely Polonkai 66c8c3371c Code beautifying in gswe-timestamp.c
Wrap really long lines
2014-07-06 00:47:37 +02:00
Gergely Polonkai d2638adf8a Fix time zone value to be a float in GsweTimestamp test case 2014-07-06 00:46:34 +02:00
Gergely Polonkai 4b61c453fd Add time zone check to GsweTimestamp test case 2014-07-06 00:45:47 +02:00
Gergely Polonkai 105cf7c83b Fix GsweTimestamp test not to use deprecated functions 2014-07-06 00:45:22 +02:00
Gergely Polonkai 8adfd0b966 Fix error that makes class init fail on machines with UTC as time zone
For a more universal solution, the default values for a GsweTimestamp
are set according to the current UTC time, with time zone also set
to UTC.
2014-07-06 00:44:43 +02:00
Gergely Polonkai 8dd6eedb88 Remove debugging line in gswe_init_with_dir() 2014-07-05 23:14:08 +02:00
Gergely Polonkai 89baa44005 Add documentation for GSWE_PLANET_LILITH 2014-07-05 23:04:43 +02:00
Gergely Polonkai a50a967ad3 Add gswe_find_*_info() functions to find registered Gswe*Info objects 2014-07-05 22:58:54 +02:00
Gergely Polonkai 75a9318629 Add version information related functions 2014-07-05 22:57:34 +02:00
Gergely Polonkai 8a5d700d93 Fix swe/src/Makefile.am after moving away seleapsec.txt from that directory
$ make dist failed after doing so
2014-06-24 09:52:11 +02:00
Gergely Polonkai 95face8294 Add function gswe_timestamp_get_sidereal_time() 2014-06-11 15:59:55 +02:00
Gergely Polonkai fbf341dcec Fix GTK-Doc warnings about deprecated symbols 2014-06-11 15:41:32 +02:00
Gergely Polonkai 784987a2b6 Remove deprecated function calls from own code 2014-06-11 15:41:32 +02:00
Gergely Polonkai 07a351c373 Add Universal Time calculation functions
This is required for sidereal time calculations later. get/set Julian
day functions have been renamed to have an _et suffix. Meanwhile, the
old gswe_timestamp_get_julian_day() and gswe_timestamp_set_julian_day()
functions have been deprecated.
2014-06-11 15:41:32 +02:00
Gergely Polonkai 55621bc25d Add asteroid Hygiea 2014-05-29 08:14:00 +02:00
Gergely Polonkai a120b22861 Add GSWE_PLANET_LILITH and offsets to the documentation sections 2014-05-29 08:11:30 +02:00
Gergely Polonkai c9a0944504 Comment block fixup for GswePlanet
Add Orcus and Asbolus
Reorder comments so it lines up with the actual values
2014-05-29 08:07:45 +02:00
Gergely Polonkai 9d7eedb371 Add seleapsec.txt to installed file in RPM .spec 2014-05-28 16:55:12 +02:00
Gergely Polonkai cd36bafe9c Remove two unreliable lines from the test code
A fix must be introduced later, though!
2014-05-28 16:41:01 +02:00
Gergely Polonkai d3e4443922 Add GswePlanet planet offsets for later use 2014-05-28 16:39:43 +02:00
Gergely Polonkai 6a69271007 Add asteroids Orcus and Asbolus 2014-05-28 16:39:43 +02:00
Gergely Polonkai b6071a4e46 Reordered planets in GswePlanet
This is to bring some consistency in the API
2014-05-28 16:39:43 +02:00
Gergely Polonkai 21298fb219 Add alias to GSWE_PLANET_MOON_APOGEE as GSWE_PLANET_LILITH 2014-05-24 09:57:51 +02:00
Gergely Polonkai 243eac9de8 Add asteroid Circe as GSWE_PLANET_CIRCE 2014-05-23 21:42:49 +02:00
Gergely Polonkai 97dceeb45c Add seasnam.txt and seorbel.txt datafiles 2014-05-21 18:42:03 +02:00