Commit Graph

22 Commits

Author SHA1 Message Date
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
b73ac78f17 Moved all GError domains into one global GSWE_ERROR domain 2013-09-27 02:39:24 +02:00
cac67e57e3 Fixed licensing issue
Fixes #2
2013-09-22 18:22:13 +02:00
984ed5d527 Setting the time zone value now doesn't validate the Gregorian date 2013-09-18 21:54:52 +02:00
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
62f5e8e8b8 Implemented gswe_timestamp_calculate_gregorian() 2013-09-16 16:15:23 +02:00
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
fbc29dbb2e Added a GError parameter to gswe_timestamp_calculate_gregorian() 2013-09-16 16:14:08 +02:00
2f63859c0b Made no-value error non-fatal in gswe_timestamp_calculate_gregorian() 2013-09-16 16:12:04 +02:00
270c83afac Finished documenting GsweTimestamp
As a total, 92% of code is covered by documentation.
2013-09-16 13:37:24 +02:00
08465d91c3 Continued library documentation.
81% is covered already.
2013-09-16 13:20:53 +02:00
123e0c8a65 Fixed quark definition code 2013-09-16 12:20:18 +02:00
3174484ff4 Added GTK-Doc section documentation 2013-09-16 11:34:32 +02:00
5c3e05ce56 Added legal headings to all source files. 2013-09-16 09:16:49 +02:00
32d3a26ee6 Documented gswe_timestamp_new() 2013-09-11 03:33:14 +02:00
e520c3188b Removed the changed method from GsweMomentClass and GsweTimestampClass 2013-09-11 01:54:36 +02:00
f65f66fd72 Finalized API
From this on, API (and hopefully ABI) change is very unlikely
2013-09-11 01:08:35 +02:00
5a997cb61d Added method gswe_timestamp_set_gregorian_full() 2013-09-09 10:10:57 +02:00
b87589b155 Added GObject Introspection related rules 2013-09-05 17:17:23 +02:00
4d5714348a Modified source, so it now compiles separately 2013-09-05 12:25:58 +02:00
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
ee60b67eec (split from Astrognome)Added SWE-Glib sources, which currently wraps Swiss Ephemeris function calls 2013-09-01 13:52:18 +02:00