Commit Graph

328 Commits

Author SHA1 Message Date
695f5b96ae Initialize GLib type system when necessary
With 2.36 it became deprecated, as the type system is initialized
automatically. Before that version, just call g_type_init()
from gswe_init()
2013-10-05 02:11:12 +02:00
dd803b09f2 Create own autogen.sh
gnome-autogen.sh can not really make GTK-Doc optional. With this script,
GTK-Doc is only used if it is actually present on the system.
2013-10-05 02:05:17 +02:00
74cc121221 Fix script in Travis CI configuration
The default C script uses make test, but we have make check instead
2013-10-05 01:24:52 +02:00
c4c9e2eced Make docs/reference/swe-glib SUBDIR part optional
Depending on GTK-Doc availability
2013-10-05 01:16:28 +02:00
5f8939d730 Make gswe_error_quark() available to glib < 2.34 2013-10-05 01:12:09 +02:00
7463b0e5cd Patch autogen.sh to make GTK-Doc really optional
• gnome-autogen.sh does’t recognize the need for GTK-Doc if GTK_DOC_CHECK
  is not present at the beginning of a line of configure.ac (which is
  the case here)

• autogen.sh now takes care of running gtkdocize, thus copying over
  gtk-doc.make. If GTK-Doc is not present, a fake gtk-doc.make is
  generated, so automake doesn’t complain anymore
2013-10-05 00:57:38 +02:00
e0893de2d2 Make GTK-Doc Makefile creation conditional
If GTK-Doc is not present, they cannot be generated at all…
2013-10-05 00:00:48 +02:00
371c123f17 Add gnome-common to Travis CI configuration
With removing GTK-Doc as a dependency, it is not installed any more –
however, it is badly needed by autogen.sh
2013-10-04 23:53:26 +02:00
95f085ea0a Make GTK-Doc optional
If it is not installed on the system, that should not be a problem anymore
2013-10-04 23:46:00 +02:00
35a8101c91 Update Travis CI configuration
Disabling GTK-Doc call, as Travis Linux doesn't include GTK-Doc 1.19 yet
2013-10-04 23:43:20 +02:00
70c240b0b3 Updat .gitignore with testing related files 2013-10-04 23:39:31 +02:00
c2a0b6bada Add test case for GsweTimestamp
This can be run with make check. Other tests are to follow
2013-10-04 23:37:36 +02:00
cdcf6d1bf5 Added gobject-introspection to Travis CI build deps 2013-10-04 17:28:17 +02:00
f41306a7ab Updated Travis CI config 2013-10-04 17:22:03 +02:00
8bcb9a8389 Updated Travis CI config 2013-10-04 17:07:54 +02:00
7704879c04 Created Travis CI configuration 2013-10-04 17:03:06 +02:00
e81df2e4b0 Moved antiscion calculation code to GsweAntiscionData 2013-10-04 17:01:15 +02:00
8ae0c4de71 Removed unnecessary variable from gswe_aspect_data_calculate() 2013-10-04 17:00:52 +02:00
acedf464f4 Documentation fix on GsweAntiscionAxisInfo 2013-10-04 01:46:53 +02:00
f3c72120a7 Documentation fix for GsweMoonPhaseData 2013-10-04 01:46:53 +02:00
d261e5ab4f Added warning if the planet position can not be calculated due to missing planet info 2013-10-04 01:46:53 +02:00
c5a82b2aae Added missing parameter for Moon phase calculation call 2013-10-04 01:46:53 +02:00
5dcd5cdd17 Outsourced Moon phase calculation to GsweMoonPhaseData 2013-10-04 01:18:34 +02:00
20a350eacc Small performance fixes
Removed some unnecessary checks
2013-10-04 01:00:26 +02:00
bd54b5d37a Fixed GsweAntiscionAxisInfo API to comply with GsweAspectInfo API 2013-10-04 00:33:28 +02:00
a224f5ab99 Bug fix in gswe_moment_calculate_antiscia()
antiscion_data->antiscion_axis_info can be NULL, but at that point
antiscion_data->antiscion_axis_info->axes can't be GSWE_ANTISCION_AXIS_NONE
2013-10-04 00:20:32 +02:00
54698df423 Removed unnecessary const prefix from GsweMoment methods returning boxed types 2013-10-04 00:19:11 +02:00
c78108ce84 Fixed Makefile to install all header files as required 2013-10-04 00:17:32 +02:00
4506e31946 Fixed name of Ascendant
it was typed consequently as “ascendent”
2013-10-03 23:09:55 +02:00
981c91d702 Fixed gswe_moment_calculate_planet() so it now understands Asc, MC and Vertex 2013-10-01 01:48:43 +02:00
2ec9bacf91 Fixed up things so RPM for 2.0.0 can be built 2013-10-01 01:06:45 +02:00
aa9e6db10c Fixed error in RPM spec.in file
were using Makefile variables instead of .in substitutes
2013-10-01 01:06:25 +02:00
d96671508b Updated example scripts to work with 2.0.0 2013-10-01 01:04:45 +02:00
0b15005e3a Made GsweHouseData a refcounted boxed type
This is to satisfy #7
2013-09-30 23:11:52 +02:00
6d88993fa3 Made GsweAntiscionData a refcounted boxed type
This is to satisfy #7
2013-09-30 23:02:18 +02:00
dc8146925d Made GsweHouseSystemInfo a refcounted boxed type
This is to satisfy #7
2013-09-30 22:53:44 +02:00
f92caa4e1a Made GsweMoonPhaseData a refcounted boxed type
This is to satisfy #7
2013-09-30 22:39:46 +02:00
3a06d4bcee Fixed gswe_sign_info_table creation
This is a fixup for commit a1f8d1f7da
2013-09-30 22:25:20 +02:00
bc9ff2fc09 Fixed gswe_planet_info_table creation
This is a fixup for commit dcd58b5dd1
2013-09-30 22:25:19 +02:00
27ee3747ad Fixed gswe_antiscion_axis_info_table creation
This is a fixup for commit 84195964ab
2013-09-30 22:15:40 +02:00
6b712794c0 Made GswePlanetData a refcounted boxed type
This is to satisfy #7
2013-09-30 22:13:37 +02:00
dbee248a6e Made GsweAspectData a refcounted boxed type
This is to satisfy #7, but it also satisfies #8, as gswe_init() is
called where data initialized there is necessary.
2013-09-30 21:42:19 +02:00
7564183aa2 Made GsweAspectInfo a refcounted boxed type
This is to satisfy #7
2013-09-30 21:31:21 +02:00
dcd58b5dd1 Changed GswePlanetInfo to a refcounted boxed type 2013-09-27 18:33:52 +02:00
c5d8ee49eb Updated README.md with examples link 2013-09-27 04:05:50 +02:00
2dbbd428c1 Dirname typo... 2013-09-27 04:04:10 +02:00
8cdcda19f8 Changed README to reflect 2.0 transition, and the lack of need of initialization 2013-09-27 03:58:19 +02:00
6d84d650b5 Now calling gswe_init() in GsweMoment constructors
This is to satisfy #8, although it's not fully implemented yet.
2013-09-27 03:49:51 +02:00
84195964ab Made GsweAntiscionAxisInfo a refcounted boxed type 2013-09-27 03:09:29 +02:00
b73ac78f17 Moved all GError domains into one global GSWE_ERROR domain 2013-09-27 02:39:24 +02:00