Commit Graph

366 Commits

Author SHA1 Message Date
ae1ba0a5e9 Merge branch 'master' into testing 2015-11-24 12:31:34 +01:00
b3d335259c Backport g_assert_true() and g_assert_false()
These macros were defined in 2.38, but SWE-GLib depends on
2.32. Requiring a newer version solely for this would be an overkill, so
let’s just backport them.
2015-11-24 12:27:35 +01:00
eedcc3fb3a Create test for GsweTimestamp::instant-recalc 2015-11-24 12:14:22 +01:00
b3345b1cd7 Fix gswe_timestamp_set_now_local()
It calculated the timezone offset wrong (for 1.0 hour it became 1000.0).
2015-11-24 12:06:30 +01:00
230ec75043 Add codecov support 2015-11-23 19:38:06 +01:00
da90330152 Fix tests 2015-11-23 16:53:16 +01:00
92f3b7e957 Merge branch 'master' into testing
Conflicts:
	tests/Makefile.am
2015-11-23 16:51:57 +01:00
f4b6bfe37d Add build status badge 2015-09-14 11:18:42 +02:00
7b3a1ddeaf Move to container based Travis 2015-09-14 11:16:25 +02:00
e394ffa15e Upgrade to Swiss Ephemeris 2.02.01 2015-09-13 15:35:49 +02:00
dbfb734b1f Revert "Move to container based Travis"
This reverts commit a006498281.

SWE-GLib cannot use container based tests, as the gnome-common package
is disallowed.

Issue travis-ci/apt-package-whitelist#1103 has been opened to resolve
this dependency.
2015-09-03 08:42:11 +00:00
a006498281 Move to container based Travis 2015-09-03 08:31:43 +00:00
258dcc8356 Fix .travis.yml 2015-09-03 07:39:33 +00:00
9da6941f0a Fix tests Makefile.am
It couldn’t run tests due to missing CFLAGS and LDADD parameters.
2015-09-03 07:27:20 +00:00
d87f5e98f7 Restructure README file 2015-09-02 14:27:04 +00:00
e854485da3 Merge branch 'master' into testing 2015-01-12 10:17:35 +01:00
5dc7240420 Add leap second for 2015 2015-01-12 09:57:55 +01:00
93d0fd68aa Backport g_assert_null() and g_assert_nonnull()
These were added in newer GLibbversions, but upgrading requirements
just because of these would be an overkill.
2014-11-18 08:04:35 +01:00
064d39b970 Begin refactoring GsweTimestamp tests 2014-11-18 00:43:29 +01:00
0886396879 Move gswe_timestamp_new_from_julian_day() to g_object_new() call 2014-11-18 00:42:17 +01:00
27338c465f Update Travis CI config 2014-11-17 17:21:45 +01:00
1c14b451fd Remove GLib-specific names from configure.ac
Code coverage reports were migrated from GLib sources, and some names remained
2014-11-17 13:33:23 +01:00
6187d45177 Make TimestampValidity public with name GsweTimestampValidityFlags 2014-11-17 13:32:54 +01:00
b4612e1e89 Update .gitignore with more testing related files 2014-11-17 13:22:23 +01:00
a8844a3ed8 Merge branch 'master' into testing 2014-11-17 13:20:47 +01:00
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
02703b7045 Add code coverage support 2014-11-13 17:30:16 +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