Commit Graph

246 Commits

Author SHA1 Message Date
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
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 7d67dabf1f Made GsweAntiscionData a boxed type 2013-09-16 11:34:07 +02:00
Gergely Polonkai 7387778367 Made GsweAspectData a boxed type 2013-09-16 11:33:51 +02:00
Gergely Polonkai 794aaa11c3 Made GsweHouseData a boxed type 2013-09-16 11:33:14 +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 ea91278738 Made GsweSignInfo a boxed type 2013-09-16 09:23:46 +02:00
Gergely Polonkai a4f0c8ef9a Defined GswePlanetInfo as a boxed type 2013-09-16 09:17:11 +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 32d3a26ee6 Documented gswe_timestamp_new() 2013-09-11 03:33:14 +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 a2f7154c15 Typo fix for GSWE_TYPE_PLANET_DATA 2013-09-11 03:28:47 +02:00
Gergely Polonkai a9b4e0d10f Added gswe_moment_get_timestamp() to the API. 2013-09-11 03:28:15 +02:00
Gergely Polonkai a57ce7cd2f Finished documenting GsweMomentError and GsweTimestampError 2013-09-11 01:55:35 +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 c5294a3155 Marked reserved GObject class slots as private
This stops GTK-Doc from complaining
2013-09-11 01:48:19 +02:00
Gergely Polonkai e11eca2bb0 Merge branch 'master' of github.com:gergelypolonkai/swe-glib 2013-09-11 01:08:55 +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 2fe9e524e9 Added some padding members to both GsweMoment and GsweTimestamp
I'd like to keep the ABI as stable as possible. With all the possible
additions in my mind, it is still possible I won't be able to keep it,
even with this much reserved slots.
2013-09-11 00:20:54 +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
Gergely Polonkai da2aa0c5f0 Renamed gswe_moment_get_aspects() to gswe_moment_get_all_aspects()
Just to make the API to seem consistent.
2013-09-11 00:17:23 +02:00
Gergely Polonkai fc0b767581 Merge branch 'master' of github.com:gergelypolonkai/swe-glib 2013-09-10 19:39:44 +02:00
Gergely Polonkai c413810e64 Removed unneeded variable from src/Makefile.am 2013-09-10 19:39:39 +02:00
Gergely Polonkai a43dc653e5 Moved header install target to src/Makefile.am for consistency 2013-09-10 19:33:35 +02:00
Gergely Polonkai 18b5390a33 Made some more tweaks so `make dist` generates a working distribution 2013-09-10 02:52:03 +02:00
Gergely Polonkai e4748e5521 Fixed messed up signal handling 2013-09-09 10:51:50 +02:00
Gergely Polonkai 5a997cb61d Added method gswe_timestamp_set_gregorian_full() 2013-09-09 10:10:57 +02:00
Gergely Polonkai 8c0fb42d4a Documentation fix for gswe_init() 2013-09-09 10:10:22 +02:00
Gergely Polonkai 910acdbe1e Fixed minor issues for complete and perfect installation 2013-09-06 11:16:42 +02:00
Gergely Polonkai 006c8ae137 gswe_init() requires no parameters from now on
SwEph path is automatically initialized to $(pkgdatadir)
2013-09-06 11:09:45 +02:00
Gergely Polonkai fa9afca13f Fixed enumtypes.[ch] problems due to renaming 2013-09-06 11:08:22 +02:00
Gergely Polonkai c764a2dc01 Renamed project from 0.1 to 1.0 2013-09-06 11:07:17 +02:00
Gergely Polonkai 89488f3d90 Moved enumtypes.[ch] to gswe-enumtypes.[ch] for naming consistency 2013-09-06 10:12:17 +02:00
Gergely Polonkai bf98f25703 Added some documentation
GTK-Doc stopped complaining at last! \o/
2013-09-06 09:36:09 +02:00
Gergely Polonkai da35567f71 Made GsweMoonPhaseData and GswePlanetData boxed types
This is required for introspection to work correctly
2013-09-06 09:32:52 +02:00
Gergely Polonkai 3195fa266b Added some documentation to stop GObject introspection and GTK-Doc complaining
Still many missing...
2013-09-05 19:50:57 +02:00
Gergely Polonkai b87589b155 Added GObject Introspection related rules 2013-09-05 17:17:23 +02:00
Gergely Polonkai 4d5714348a Modified source, so it now compiles separately 2013-09-05 12:25:58 +02:00
Gergely Polonkai a8662b2e7d (split from Astrognome)SWE-GLib can now calculate mirrorpoints (antiscia) 2013-09-03 12:59:32 +02:00
Gergely Polonkai c2fd555550 (split from Astrognome)Added mirror point axes 2013-09-03 12:01:08 +02:00
Gergely Polonkai c901d7de53 (split from Astrognome)Added some function documentation 2013-09-03 11:26:53 +02:00
Gergely Polonkai c8ea47fbc0 (split from Astrognome)Finished gswe_moment_get_planet_aspects() 2013-09-03 11:26:37 +02:00
Gergely Polonkai b446037e2f (split from Astrognome)Added planetary distance to GsweAspectData structure 2013-09-03 11:26:09 +02:00
Gergely Polonkai e5a12923fa (split from Astrognome)SWE-GLib can now calculate aspects 2013-09-03 01:11:18 +02:00
Gergely Polonkai 56901c29af (split from Astrognome)Added the "none" aspect to the aspect list 2013-09-03 00:45:02 +02:00
Gergely Polonkai 9bc2b5d850 (split from Astrognome)Made aspect names translatable 2013-09-03 00:44:42 +02:00
Gergely Polonkai f5525ffdd8 (split from Astrognome)Added aspect definitions to SWE-GLib 2013-09-02 23:49:17 +02:00
Gergely Polonkai 1467ae8b8c (split from Astrognome)Created GsweHouseData struct to hold house data, including starting sign 2013-09-02 23:29:58 +02:00
Gergely Polonkai 4f25ad0bdf (split from Astrognome)SWE-GLib is now calculating Moon's phase 2013-09-02 23:12:56 +02:00
Gergely Polonkai 36aaf36f93 (split from Astrognome)Now also calculating element and quality points 2013-09-02 23:10:35 +02:00
Gergely Polonkai 72161f7797 (split from Astrognome)Fixed sign elements and qualities 2013-09-02 17:34:30 +02:00
Gergely Polonkai 02c88f4cfe (split from Astrognome)Created planetary calculation functionality 2013-09-02 16:19:45 +02:00
Gergely Polonkai 4ede15451d (split from Astrognome)Added GswePlanetInfo.real_body field
It shows if the given astrological body's position can be calculated with
Swiss Ephemeris' swe_calc() function.
2013-09-02 16:19:02 +02:00
Gergely Polonkai b5e8214825 (split from Astrognome)Added some documentation 2013-09-02 16:17:23 +02:00
Gergely Polonkai cf52f7d1c4 (split from Astrognome)Created gswe_sign_info_table 2013-09-02 12:31:19 +02:00
Gergely Polonkai 4c7bb7963f (split from Astrognome)Added planet point values to SWE-GLib's gswe_planet_info_table 2013-09-02 12:29:50 +02:00
Gergely Polonkai 1196c90ffc (split from Astrognome)Moved the GsweHouseSystem typedef up in gswe-types.h to create some consistency 2013-09-02 10:28:30 +02:00
Gergely Polonkai dbdb9e90f8 (split from Astrognome)Outsourced house cusp position calculations to SWE-GLib. 2013-09-01 22:30:51 +02:00
Gergely Polonkai 1c2282324e (split from Astrognome)Modified GsweTimestamp so the time zone must be specified as a double (in hours) 2013-09-01 19:30:27 +02:00
Gergely Polonkai f9f73ae5e5 (split from Astrognome)Added house systems to library initialization 2013-09-01 16:09:57 +02:00
Gergely Polonkai d19c2f370d (split from Astrognome)Made planet_info_table externally accessible 2013-09-01 16:09:30 +02:00
Gergely Polonkai 4927faa7d0 (split from Astrognome)Added Swiss Ephemeris planet IDs to planet info table initialization 2013-09-01 16:09:06 +02:00
Gergely Polonkai 47268030b9 (split from Astrognome)Removed unneeded global variable from SWE-GLib 2013-09-01 16:07:56 +02:00
Gergely Polonkai 40ca22c859 (split from Astrognome)Added aspects and house systems to gswe-types.h 2013-09-01 16:07:30 +02:00
Gergely Polonkai 64ede94ea0 (split from Astrognome)Added GswePlanetInfo.sweph_id for Swiss Ephemeris planet IDs 2013-09-01 16:06:25 +02:00
Gergely Polonkai c569e2b6a8 (split from Astrognome)Changed GsweMoment.timestamp from GDateTime to GsweTimestamp 2013-09-01 14:31:23 +02:00
Gergely Polonkai 32f7ba9fb1 (split from Astrognome)Removed unnecessary julian_timestamp property of GsweMomentPrivate 2013-09-01 14:21:21 +02:00
Gergely Polonkai e996fa6093 (split from Astrognome)Changed signal name GsweMoment::moment-changed to changed 2013-09-01 14:18:57 +02:00
Gergely Polonkai ee60b67eec (split from Astrognome)Added SWE-Glib sources, which currently wraps Swiss Ephemeris function calls 2013-09-01 13:52:18 +02:00