Commit Graph

132 Commits

Author SHA1 Message Date
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 84195964ab Made GsweAntiscionAxisInfo a refcounted boxed type 2013-09-27 03:09:29 +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 8f52abadf0 Typo fix in house system name, in gswe-types.h 2013-09-27 02:39:24 +02:00
Gergely Polonkai a1f8d1f7da Made GsweSignInfo a refcounted boxed type 2013-09-27 02:39:24 +02:00
Gergely Polonkai 347dae00d3 Went to major version 2.0
There are too many API (and ABI) changes there, so let's just switch to 2.0
2013-09-26 22:30:31 +02:00
Gergely Polonkai 60b51c2ed2 Fixed plural in GsweAspectInfo description 2013-09-24 01:24:18 +02:00
Gergely Polonkai 9ee5569bb1 Moved GsweHouseData to its own sources 2013-09-24 01:24:00 +02:00
Gergely Polonkai 20c3aafe85 Moved GsweHouseSystemInfo to its own sources 2013-09-24 01:16:33 +02:00
Gergely Polonkai 39ddb2ee0e Moved GsweSignInfo to its own sources 2013-09-24 00:42:42 +02:00
Gergely Polonkai ebeaf1eb4d Moved GswePlanetInfo to its own sources 2013-09-24 00:00:58 +02:00
Gergely Polonkai 886ff03353 Fixed documentation link in gswe-antiscion-data.c 2013-09-23 23:37:57 +02:00
Gergely Polonkai 1b0f831333 Added section information to GsweAspectInfo 2013-09-23 23:13:08 +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 eb5b3fff5d Fixed GsweAspectData's short description 2013-09-23 22:14:40 +02:00
Gergely Polonkai d4015cae75 Moved GsweAspectData to its own source files 2013-09-23 21:36:26 +02:00
Gergely Polonkai 3fd8c200e0 Moved GswePlanetData to its own source files 2013-09-23 21:18:41 +02:00
Gergely Polonkai 9a788f8164 Fixed MoonPhaseData related errors
• Added missing include in swe-glib.h
• Fixed @include in GsweMoonPhaseData section documentation
2013-09-23 20:16:28 +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 197f6922c7 Outsourced GsweMoonPhaseData to its own sources
This messed up documentation, still checking why
2013-09-23 00:03:10 +02:00
Gergely Polonkai e7bd73fdc1 Renamed gswe_headers to gswe_enum_headers for better understanding 2013-09-22 23:48:35 +02:00
Gergely Polonkai a5a29c7c33 Added GSWE_MOON_PHASE_NONE as a new Moon phase
!!!ABI BREAKAGE!!!
2013-09-22 23:46:54 +02:00
Gergely Polonkai fc6f7ea159 Fixet protector definition in gswe-types.h 2013-09-22 23:18:33 +02:00
Gergely Polonkai 835dfddccd Added comment block at the beginning of gswe-types.c 2013-09-22 23:03:30 +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 984ed5d527 Setting the time zone value now doesn't validate the Gregorian date 2013-09-18 21:54:52 +02:00
Gergely Polonkai a790512f13 Fixed GsweTimestamp to comply with documentation
Although documentation states that an "empty" timestamp object has
the current date and time in the current time zone, it was not true.
2013-09-18 21:54:17 +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 4fd39664cc Finished RPM spec file 2013-09-16 22:37:37 +02:00
Gergely Polonkai 62f5e8e8b8 Implemented gswe_timestamp_calculate_gregorian() 2013-09-16 16:15:23 +02:00
Gergely Polonkai 2fb9569e6c gswe_timestamp_get_gregorian_timezone doesn't recalculate gregorian value
timezone_offset is not changed by the calculation process, no
recalculation is needed.
2013-09-16 16:15:07 +02:00
Gergely Polonkai fbc29dbb2e Added a GError parameter to gswe_timestamp_calculate_gregorian() 2013-09-16 16:14:08 +02:00
Gergely Polonkai 2f63859c0b Made no-value error non-fatal in gswe_timestamp_calculate_gregorian() 2013-09-16 16:12:04 +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 270c83afac Finished documenting GsweTimestamp
As a total, 92% of code is covered by documentation.
2013-09-16 13:37:24 +02:00
Gergely Polonkai 08465d91c3 Continued library documentation.
81% is covered already.
2013-09-16 13:20:53 +02:00
Gergely Polonkai 12d0dfb069 Moved internal hash table definitions to swe-glib-private.h 2013-09-16 13:18:46 +02:00
Gergely Polonkai 49ec42eebe Renamed GsweAntiscionInfo to GsweAntiscionAxisInfo 2013-09-16 13:18:20 +02:00