Commit Graph

71 Commits

Author SHA1 Message Date
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
Gergely Polonkai a918338bdf Added some comments, mostly TODO items 2013-09-22 18:59:19 +02:00
Gergely Polonkai 67979d9890 Made HOUSE_SYSTEM_NONE a valid and working house system
Solves #1
2013-09-22 18:59:01 +02:00
Gergely Polonkai 4f61aea449 Now using enum values instead of numbers in gswe_calculate_data_by_position()
It's just more beautiful.
2013-09-22 18:56:55 +02:00
Gergely Polonkai cac67e57e3 Fixed licensing issue
Fixes #2
2013-09-22 18:22:13 +02:00
Gergely Polonkai ac012aada2 Bug fix in find_antiscion()
Was assuming that first parameter is a pointer to an enum. It is
actually an int converted to a pointer with GINT_TO_POINTER.
2013-09-18 22:15:53 +02:00
Gergely Polonkai 5b0a2b33c1 Bug fix - house, aspect and antiscia lists were not freed correctly
After calling g_list_free_full(), the list must be set to NULL.
2013-09-18 21:55:49 +02:00
Gergely Polonkai b7f7f0c02a Bug fix: gswe_moment_get_all_planets() didn't calculate planet positions before returning the list 2013-09-18 11:55:26 +02:00
Gergely Polonkai 46a59fedf6 Fixed zodiac calculation in GsweMoment
Yielded GSWE_SIGN_NONE instead of GSWE_SIGN_ARIES at position 0.0
2013-09-17 09:43:10 +02:00
Gergely Polonkai a92fdca8b2 Created functions gswe_moment_get_sign_planets() and gswe_moment_get_house_planets() 2013-09-16 14:27:41 +02:00
Gergely Polonkai c8753f49be Renamed function gswe_moment_get_planets() to gswe_moment_get_all_planets() 2013-09-16 14:27:37 +02:00
Gergely Polonkai f76341930c Made gswe_moment_get_planet() and gswe_moment_get_moon_phase() return const values.
This is to represent that these values should not be freed.
2013-09-16 14:26:15 +02:00
Gergely Polonkai 8c498551be Finished GsweMoment documentation 2013-09-16 14:00:06 +02:00
Gergely Polonkai 08465d91c3 Continued library documentation.
81% is covered already.
2013-09-16 13:20:53 +02:00
Gergely Polonkai 49ec42eebe Renamed GsweAntiscionInfo to GsweAntiscionAxisInfo 2013-09-16 13:18:20 +02:00
Gergely Polonkai 123e0c8a65 Fixed quark definition code 2013-09-16 12:20:18 +02:00
Gergely Polonkai 3174484ff4 Added GTK-Doc section documentation 2013-09-16 11:34:32 +02:00
Gergely Polonkai 67a2f0d074 Created gswe-types.c for type registration 2013-09-16 11:32:33 +02:00
Gergely Polonkai 767d30f231 Changed mirrorpoints to antiscian in the final naming convention 2013-09-16 10:13:25 +02:00
Gergely Polonkai 5c3e05ce56 Added legal headings to all source files. 2013-09-16 09:16:49 +02:00
Gergely Polonkai 3d563f9af2 Added coordinates and house system as properties of GsweMoment 2013-09-14 16:31:22 +02:00
Gergely Polonkai 9247b755f0 Documentation fix: added one missing parameter 2013-09-11 10:38:06 +02:00
Gergely Polonkai 387b65c792 Added gswe_moment_{set,get}_house_system() to the API 2013-09-11 03:41:42 +02:00
Gergely Polonkai 97521c4e7c Made gswe_moment_init() static 2013-09-11 03:37:00 +02:00
Gergely Polonkai 7632b8f155 Documented gswe_moment_get_house() 2013-09-11 03:36:39 +02:00
Gergely Polonkai 0f0b1e230a GSWE_HOUSE_SYSTEM_NONE is now handled at a few points 2013-09-11 03:36:19 +02:00
Gergely Polonkai a58794ca95 Added more GsweMoment documentation 2013-09-11 03:35:45 +02:00
Gergely Polonkai 4136e9452b gswe_moment_set_timestamp() now increases revision, as it should be 2013-09-11 03:34:43 +02:00
Gergely Polonkai 4cd286d83f Added gswe_moment_{get,set}_coordinates() to the API 2013-09-11 03:34:07 +02:00
Gergely Polonkai 615a633c25 Finished documenting GsweMomentPrivate 2013-09-11 03:32:49 +02:00
Gergely Polonkai 9588ed6447 Made GsweCoordinates a boxed type 2013-09-11 03:32:20 +02:00
Gergely Polonkai cfd9c1a983 Fixed up boxed type registration functions
* Removed their *_free functions, as they were only calling g_free
* Made their *_copy functions static
2013-09-11 03:31:35 +02:00
Gergely Polonkai a9b4e0d10f Added gswe_moment_get_timestamp() to the API. 2013-09-11 03:28:15 +02:00
Gergely Polonkai ec82bfc08d Added @err to function documentation 2013-09-11 01:55:10 +02:00
Gergely Polonkai e520c3188b Removed the changed method from GsweMomentClass and GsweTimestampClass 2013-09-11 01:54:36 +02:00
Gergely Polonkai f65f66fd72 Finalized API
From this on, API (and hopefully ABI) change is very unlikely
2013-09-11 01:08:35 +02:00
Gergely Polonkai a1d17fde77 Renamed gswe_moment_get_mirror_mirrorpoints() to gswe_moment_get_mirror_all_aspects()
Just to make the API to seem consistent.
2013-09-11 00:18:31 +02:00