Commit Graph

323 Commits

Author SHA1 Message Date
2dd4ea1ca7 Add a variable to save the handler of the timestamp changed signal 2014-10-07 23:24:11 +02:00
46b6b86f88 Fix type during signal registering 2014-10-07 23:23:32 +02:00
0b190d47d0 Add GObject notifications to GsweMoment 2014-10-02 01:25:37 +02:00
385458d655 Make GsweTimestamp emit the changed signal only if something really changed 2014-10-02 00:13:31 +02:00
5b61a42976 Change warning messages so the user may know if it is fatal 2014-09-24 18:54:43 +02:00
9991269c8e Remove SEGFAULT possibility from gswe_moment_calculate_planet() 2014-09-24 18:52:46 +02:00
b34fc1c8a0 Fix condition for checking double pointer 2014-09-24 11:34:27 +02:00
510e440ef4 Add gswe_all_(planets|aspects|antiscion_axes) functions 2014-09-22 00:20:05 +02:00
188a12d1ee Fix untested bugs
Data file path and enum generation failed after last commit
2014-09-02 16:10:18 +02:00
a3a1dd0bd4 Add data files for asteroids 2014-09-02 15:28:53 +02:00
f21ce84b17 Merge pull request #16 from gergelypolonkai/bug-15
Add error reporting to add_points()
2014-09-02 12:47:30 +02:00
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
366155b835 Apply Law of Demeter to add_points() 2014-09-02 11:51:03 +02:00
b981ed1b3b Add gswe_timestamp_new_now_local() and gswe_timestamp_set_now_local()
Fixes #14
2014-08-14 14:59:07 +02:00
68994b8cb5 Code beautification in GsweTimestamp header 2014-08-14 12:15:27 +02:00
c9e382d04b Remove ./configure from travis.yml
configure is invoket by autogen.sh already, due to jhbuild compatibility
2014-08-13 18:29:02 +02:00
fbc5a4e922 Revert "Remove make check from Travis config"
This reverts commit cb9cf3a4ce.
The make check problem has been fixed since then
2014-08-13 01:06:46 +02:00
b77aae9f5c Fix GsweTimestamp tests 2014-08-13 00:56:48 +02:00
e16c4eca70 Code beautification 2014-08-13 00:55:31 +02:00
c10881fff1 Sending "notify" signals upon property change 2014-08-13 00:55:22 +02:00
aae1f06ed7 Setting Gregorian timezone now invalidates Gregorian date
* It calculates Julian Day beforehands, so a valid date remains in
  timestamp
* gswe_timestamp_set_gregorian_timezone() doesn’t emit the "changed"
  signal any more
2014-08-13 00:54:15 +02:00
8bf5a49c4b Store property GParamSpecs in an array for notify emission 2014-08-13 00:51:26 +02:00
68b46d2aee Add configure invocation to autogen.sh
Without this, jhbuild fails to install SWE-GLib
2014-08-01 21:28:40 +02:00
e621a2eda2 Add element-type to gswe_all_house_systems documentation 2014-07-16 22:55:14 +02:00
600712c901 Add gswe_all_house_systems() function
This is required for Astrognome to configure house systems in the charts.
See gergelypolonkai/astrognome#36
2014-07-16 22:47:59 +02:00
dca2071c88 Move GsweError and GSWE_ERROR documentation to .c file
This is to hide documentation details from installed .h files
2014-07-16 22:38:47 +02:00
cb9cf3a4ce Remove make check from Travis config
The checks are not working yet, thus Travis is continuously fails.
2014-07-08 13:24:59 +02:00
1225c5c8ed Fix comment in gswe_init_with_dir() 2014-07-08 13:24:07 +02:00
0caebd4f94 Revert "Remove gswe_init() call from GsweTimestamp initializers"
This reverts commit 078ff3370d.

It turns out that we actually need to call gswe_init() (or at least
g_type_init()) for GObjects to work.
2014-07-08 13:16:59 +02:00
80b5da88a3 Version bump to 2.1.0 2014-07-08 11:25:55 +02:00
d5bea25e4d Add version information to some new functions 2014-07-08 11:02:25 +02:00
95e89a4c25 Code beautification 2014-07-08 10:43:54 +02:00
cb1fa1f67a Move gswe-version.h generating to the right place 2014-07-06 10:23:59 +02:00
078ff3370d Remove gswe_init() call from GsweTimestamp initializers
That call is unnecessary for time related functions.
2014-07-06 00:48:20 +02:00
66c8c3371c Code beautifying in gswe-timestamp.c
Wrap really long lines
2014-07-06 00:47:37 +02:00
d2638adf8a Fix time zone value to be a float in GsweTimestamp test case 2014-07-06 00:46:34 +02:00
4b61c453fd Add time zone check to GsweTimestamp test case 2014-07-06 00:45:47 +02:00
105cf7c83b Fix GsweTimestamp test not to use deprecated functions 2014-07-06 00:45:22 +02:00
8adfd0b966 Fix error that makes class init fail on machines with UTC as time zone
For a more universal solution, the default values for a GsweTimestamp
are set according to the current UTC time, with time zone also set
to UTC.
2014-07-06 00:44:43 +02:00
8dd6eedb88 Remove debugging line in gswe_init_with_dir() 2014-07-05 23:14:08 +02:00
89baa44005 Add documentation for GSWE_PLANET_LILITH 2014-07-05 23:04:43 +02:00
a50a967ad3 Add gswe_find_*_info() functions to find registered Gswe*Info objects 2014-07-05 22:58:54 +02:00
75a9318629 Add version information related functions 2014-07-05 22:57:34 +02:00
8a5d700d93 Fix swe/src/Makefile.am after moving away seleapsec.txt from that directory
$ make dist failed after doing so
2014-06-24 09:52:11 +02:00
95face8294 Add function gswe_timestamp_get_sidereal_time() 2014-06-11 15:59:55 +02:00
fbf341dcec Fix GTK-Doc warnings about deprecated symbols 2014-06-11 15:41:32 +02:00
784987a2b6 Remove deprecated function calls from own code 2014-06-11 15:41:32 +02:00
07a351c373 Add Universal Time calculation functions
This is required for sidereal time calculations later. get/set Julian
day functions have been renamed to have an _et suffix. Meanwhile, the
old gswe_timestamp_get_julian_day() and gswe_timestamp_set_julian_day()
functions have been deprecated.
2014-06-11 15:41:32 +02:00
55621bc25d Add asteroid Hygiea 2014-05-29 08:14:00 +02:00
a120b22861 Add GSWE_PLANET_LILITH and offsets to the documentation sections 2014-05-29 08:11:30 +02:00