Commit Graph

373 Commits

Author SHA1 Message Date
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
Gergely Polonkai 45833584b7 Update Swiss Ephemeris to 2.0 2014-05-21 17:28:41 +02:00
Gergely Polonkai 26dcd74338 Add seleapsec.txt to installed data file list 2014-05-19 10:11:03 +02:00
Gergely Polonkai 3296f9dfce Add leap seconds to seleapsec.txt 2014-05-19 10:09:34 +02:00
Gergely Polonkai eec99bcb05 Update Swiss Ephemeris data files 2014-05-19 09:44:15 +02:00
Gergely Polonkai de5ac1b63b Add dwarf planet Dejanira 2014-05-18 20:38:29 +02:00
Gergely Polonkai 97df73c64f Add dwarf planets Sedna and Eris 2014-05-18 17:19:25 +02:00
Gergely Polonkai 2d75226310 Reindent some planet table creating lines 2014-05-18 17:19:04 +02:00
Gergely Polonkai ae3393133a Fix RPM .spec to install vala .vapi file 2014-05-08 21:58:51 +02:00
Gergely Polonkai 903beaf2c2 Jump to version 2.0.3 2014-05-07 10:00:23 +02:00
Gergely Polonkai e3a6e25bda Add gswe_moment_get_antiscion_by_planets() function 2014-05-07 10:00:23 +02:00
Gergely Polonkai 6566e5356a Add gswe_moment_get_aspect_by_planets() function 2014-05-07 10:00:23 +02:00
Gergely Polonkai cef7815268 Jump to version 2.0.2 2014-05-07 08:37:21 +02:00
Gergely Polonkai 12c08c865d Add Vala API generating code to build tools configuration 2014-05-07 08:36:24 +02:00
Gergely Polonkai 2116c8103a Add NULL protection to gswe_moment_get_planet()'s find part 2014-04-05 22:38:43 +02:00
Gergely Polonkai 8cd8cd67e2 Add NULL protection to GswePlanetData functions 2014-04-05 22:34:06 +02:00
Gergely Polonkai f2bc764f87 Add new asteroids to the planet list
* Pholus
* Nessus
* Chariklo

Fix #10
2014-04-01 22:23:53 +02:00
Gergely Polonkai b394e31f0a Add function gswe_init_with_dir()
This is to be able to specify the SWE data files' path
2014-04-01 08:15:10 +02:00
Gergely Polonkai cbf2201249 Free all objects in gswe_moment_finalize() 2014-03-29 14:55:29 +01:00
Gergely Polonkai 0326770d73 Remove unneeded gswe_planet_data_ref() call 2014-03-29 14:44:17 +01:00
Gergely Polonkai a320abc71e Remove unnecessary gswe_*_ref() calls
This is to revert part of 41a80ca365,
which was kind of an overhead.
2014-03-19 20:32:46 +01:00
Gergely Polonkai 0fb888a940 Make gswe_planet_info_free() free its name only if it is set 2014-03-16 09:52:18 +01:00
Gergely Polonkai b689d3153d Add comment to find_aspect() 2014-03-16 09:46:09 +01:00
Gergely Polonkai ddf4732dc9 Add comment to find_antiscion() 2014-03-16 09:35:25 +01:00
Gergely Polonkai fd24246bae Reduce local variable count in planet_add() 2014-03-16 09:20:10 +01:00
Gergely Polonkai 2bdd8c3c60 Removed unprecise test line 2014-03-16 09:05:43 +01:00
Gergely Polonkai 6009ee908e Extend example programs 2014-03-15 20:28:44 +01:00
Gergely Polonkai 2fa75d0906 Remove LUA example
LUA-LGI seems to be buggy with GLists (or I a too lame), thus the
example code cannot be reproduced in LUA yet.
2014-03-15 20:27:05 +01:00
Gergely Polonkai 41a80ca365 Make gswe_antiscion_axis_info_free() to unref its start_sign
This is to fix a bug that makes the library crash when the timestamp
or the chart changes.
2014-03-15 18:38:27 +01:00
Gergely Polonkai e23c789ff0 Change GList->next calls to g_list_next(GList) 2014-03-15 11:40:52 +01:00
Gergely Polonkai 2a48f402b8 Fix a typo 2014-03-09 22:34:54 +01:00
Gergely Polonkai 332110f449 Make python example a bit more featureful
Other languages will follow soon
2013-10-09 00:06:51 +02:00
Gergely Polonkai e8819f9a47 Create glforeach convenience macro 2013-10-09 00:06:08 +02:00
Gergely Polonkai 551ea4cee0 Add missing documentation
gswe_antiscion_data_new_with_planets() and gswe_antiscion_data_calculate()
were not documented, nor exposed to the public API as they should be.
2013-10-09 00:05:38 +02:00
Gergely Polonkai fa1b4574e4 Add package version requirement
GLib 2.32.0 is now required. Every recent distribution ships with at least
2.32.0 now.
2013-10-05 03:05:22 +02:00
Gergely Polonkai bd8c1532e7 Protect gswe_init() from re-entry
As gswe_init() calls functions that call gswe_init(), gswe_init() must
be protected against such re-entry.
2013-10-05 03:04:03 +02:00
Gergely Polonkai 367b777a2d Initialize SWE-GLib from each class init function
This is to satisfy #8. Also, this makes SWE-GLib available for GLib
before 2.36, as gswe_init() also calls g_type_init(), which was necessary
before GLib 2.36
2013-10-05 02:18:30 +02:00
Gergely Polonkai 695f5b96ae Initialize GLib type system when necessary
With 2.36 it became deprecated, as the type system is initialized
automatically. Before that version, just call g_type_init()
from gswe_init()
2013-10-05 02:11:12 +02:00
Gergely Polonkai dd803b09f2 Create own autogen.sh
gnome-autogen.sh can not really make GTK-Doc optional. With this script,
GTK-Doc is only used if it is actually present on the system.
2013-10-05 02:05:17 +02:00
Gergely Polonkai 74cc121221 Fix script in Travis CI configuration
The default C script uses make test, but we have make check instead
2013-10-05 01:24:52 +02:00
Gergely Polonkai c4c9e2eced Make docs/reference/swe-glib SUBDIR part optional
Depending on GTK-Doc availability
2013-10-05 01:16:28 +02:00
Gergely Polonkai 5f8939d730 Make gswe_error_quark() available to glib < 2.34 2013-10-05 01:12:09 +02:00