Commit Graph

107 Commits

Author SHA1 Message Date
Gergely Polonkai e03ed37133
Remove the bundled Swiss Ephemeris library 2021-04-27 08:42:06 +02:00
Gergely Polonkai 4e53c0c771 Add opposing points: DESC, MC, ANTIVERTEX
Solves #4
2016-09-29 08:42:02 +02:00
Gergely Polonkai c0711d512d Add possibility to calculate Moon South Node position 2016-09-20 15:23:47 +02:00
Gergely Polonkai efa7b7fab3 Remove double free for some GsweMoment internal lists 2014-11-13 01:13:39 +01:00
gitolite tester c03f1eac6a Code beautification 2014-10-31 19:12:35 +01:00
Gergely Polonkai 185c235b6b Remove unnecessary g_object_unref() in gswe_moment_dispose() 2014-10-31 18:43:53 +01:00
Gergely Polonkai bf4fad5388 Add signal GsweMoment::planet-added 2014-10-07 23:25:24 +02:00
Gergely Polonkai 2dd4ea1ca7 Add a variable to save the handler of the timestamp changed signal 2014-10-07 23:24:11 +02:00
Gergely Polonkai 46b6b86f88 Fix type during signal registering 2014-10-07 23:23:32 +02:00
Gergely Polonkai 0b190d47d0 Add GObject notifications to GsweMoment 2014-10-02 01:25:37 +02:00
Gergely Polonkai 5b61a42976 Change warning messages so the user may know if it is fatal 2014-09-24 18:54:43 +02:00
Gergely Polonkai 9991269c8e Remove SEGFAULT possibility from gswe_moment_calculate_planet() 2014-09-24 18:52:46 +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 95e89a4c25 Code beautification 2014-07-08 10:43:54 +02:00
Gergely Polonkai 784987a2b6 Remove deprecated function calls from own code 2014-06-11 15:41:32 +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 2116c8103a Add NULL protection to gswe_moment_get_planet()'s find part 2014-04-05 22:38:43 +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 fd24246bae Reduce local variable count in planet_add() 2014-03-16 09:20:10 +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 e8819f9a47 Create glforeach convenience macro 2013-10-09 00:06:08 +02:00
Gergely Polonkai e81df2e4b0 Moved antiscion calculation code to GsweAntiscionData 2013-10-04 17:01:15 +02:00
Gergely Polonkai d261e5ab4f Added warning if the planet position can not be calculated due to missing planet info 2013-10-04 01:46:53 +02:00
Gergely Polonkai c5a82b2aae Added missing parameter for Moon phase calculation call 2013-10-04 01:46:53 +02:00
Gergely Polonkai 5dcd5cdd17 Outsourced Moon phase calculation to GsweMoonPhaseData 2013-10-04 01:18:34 +02:00
Gergely Polonkai a224f5ab99 Bug fix in gswe_moment_calculate_antiscia()
antiscion_data->antiscion_axis_info can be NULL, but at that point
antiscion_data->antiscion_axis_info->axes can't be GSWE_ANTISCION_AXIS_NONE
2013-10-04 00:20:32 +02:00
Gergely Polonkai 54698df423 Removed unnecessary const prefix from GsweMoment methods returning boxed types 2013-10-04 00:19:11 +02:00
Gergely Polonkai 4506e31946 Fixed name of Ascendant
it was typed consequently as “ascendent”
2013-10-03 23:09:55 +02:00
Gergely Polonkai 981c91d702 Fixed gswe_moment_calculate_planet() so it now understands Asc, MC and Vertex 2013-10-01 01:48:43 +02:00
Gergely Polonkai 0b15005e3a Made GsweHouseData a refcounted boxed type
This is to satisfy #7
2013-09-30 23:11:52 +02:00
Gergely Polonkai 6d88993fa3 Made GsweAntiscionData a refcounted boxed type
This is to satisfy #7
2013-09-30 23:02:18 +02:00
Gergely Polonkai dc8146925d Made GsweHouseSystemInfo a refcounted boxed type
This is to satisfy #7
2013-09-30 22:53:44 +02:00
Gergely Polonkai f92caa4e1a Made GsweMoonPhaseData a refcounted boxed type
This is to satisfy #7
2013-09-30 22:39:46 +02:00
Gergely Polonkai 3a06d4bcee Fixed gswe_sign_info_table creation
This is a fixup for commit a1f8d1f7da
2013-09-30 22:25:20 +02:00
Gergely Polonkai bc9ff2fc09 Fixed gswe_planet_info_table creation
This is a fixup for commit dcd58b5dd1
2013-09-30 22:25:19 +02:00
Gergely Polonkai 6b712794c0 Made GswePlanetData a refcounted boxed type
This is to satisfy #7
2013-09-30 22:13:37 +02:00
Gergely Polonkai dbee248a6e Made GsweAspectData a refcounted boxed type
This is to satisfy #7, but it also satisfies #8, as gswe_init() is
called where data initialized there is necessary.
2013-09-30 21:42:19 +02:00
Gergely Polonkai 6d84d650b5 Now calling gswe_init() in GsweMoment constructors
This is to satisfy #8, although it's not fully implemented yet.
2013-09-27 03:49:51 +02:00
Gergely Polonkai b73ac78f17 Moved all GError domains into one global GSWE_ERROR domain 2013-09-27 02:39:24 +02:00
Gergely Polonkai 39ddb2ee0e Moved GsweSignInfo to its own sources 2013-09-24 00:42:42 +02:00
Gergely Polonkai e06c73c23d Moved GsweAntiscionAxisInfo to its own source files 2013-09-23 23:12:50 +02:00
Gergely Polonkai 6ee6650d84 Moved GsweAntiscionData to its own source files 2013-09-23 22:27:18 +02:00
Gergely Polonkai 3fd8c200e0 Moved GswePlanetData to its own source files 2013-09-23 21:18:41 +02:00
Gergely Polonkai 8044519535 Removed unneeded includes from gswe-moment.c 2013-09-23 20:14:30 +02:00
Gergely Polonkai 0e17962278 Moved GsweAspectData to its own source files 2013-09-23 20:13:56 +02:00
Gergely Polonkai 20aacb8c6d Typo fix - = instead of == 2013-09-22 22:58:18 +02:00