Commit Graph

340 Commits

Author SHA1 Message Date
2a615e44c8 Remove unnecessary notifications upon GsweTimestamp creation 2014-11-17 13:17:07 +01:00
e850018d62 Add GsweTimestamp::julian-day property
It was somehow missing from the property list
2014-11-17 11:27:26 +01:00
34ded1881f Fix instant-recalc property change handling
Despite the actual value, only the gswe_timestamp_calculate_all() was called.
2014-11-14 17:57:10 +01:00
efa7b7fab3 Remove double free for some GsweMoment internal lists 2014-11-13 01:13:39 +01:00
bf5a839511 Add more guards to aspect calculations
gswe_aspect_data_calculate() may get called if the currently set
planet is NULL
2014-11-13 01:13:11 +01:00
4d5866b405 Add missing g_free in gswe_antiscion_data_free() 2014-11-13 01:12:24 +01:00
714f3dbcb0 Add LUA example 2014-11-04 16:35:16 +01:00
68351b2177 Unify output of example scripts 2014-11-04 16:35:16 +01:00
9b47d216e3 Unify coordinates in example scripts 2014-11-04 16:35:16 +01:00
121357e863 Remove unnecessary Data::Dumper use from Perl example 2014-11-04 16:35:16 +01:00
gitolite tester
fc1a6328f1 Add full UTF-8 support to Perl example 2014-11-01 01:31:25 +01:00
gitolite tester
5b7124aca5 Protect Gswe*Data from NULL pointers 2014-11-01 01:24:06 +01:00
c461b743e4 Create GSettings schema with the available enum types 2014-10-31 23:19:26 +01:00
gitolite tester
c03f1eac6a Code beautification 2014-10-31 19:12:35 +01:00
820a41cb8f Protect gswe_house_data_unref() from NULL pointers 2014-10-31 18:47:43 +01:00
185c235b6b Remove unnecessary g_object_unref() in gswe_moment_dispose() 2014-10-31 18:43:53 +01:00
bf4fad5388 Add signal GsweMoment::planet-added 2014-10-07 23:25:24 +02:00
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