Commit Graph

69 Commits

Author SHA1 Message Date
3fea7bf0a8 XSLT stylesheet is now loaded directly from file
Reading from memory kind of disabled XInclude possibility. Included
files must have been loaded one by one, which is a bit out of control.
2013-09-20 10:03:08 +02:00
ffb00a00a0 Enabled XInclude for XSLT stylesheets 2013-09-20 09:58:31 +02:00
c11bccc820 Added some cleanup functions 2013-09-19 23:17:58 +02:00
fcb75f672b Now setting the CSS file path as a parameter
This will allow us to use separate CSS and XSLT files (e.g. themes) later
2013-09-19 23:16:52 +02:00
a154118b6f Temporarily changing locale to C while generating the SVG image
With locales that have a character other than dot as a decimal separator,
the generated SVG is messed up (due to a libxml2 bug)
2013-09-19 23:14:37 +02:00
25e5abcbcb Finished SVG generating code 2013-09-19 19:56:25 +02:00
cda22746ff Finished base XML generation code 2013-09-18 22:31:14 +02:00
2d93bca140 Started generating chart SVG 2013-09-18 11:41:20 +02:00
25ffd534e5 Implemented ag_chart_save_to_file 2013-09-18 11:22:23 +02:00
ec75d9b4cd Moved XML creation code to AgChart's create_save_doc() 2013-09-18 11:22:07 +02:00
c767124713 Fixed ag_chart_load_from_file() to return on xpath matching errors 2013-09-18 11:20:02 +02:00
573f05ceb4 Changed ag_chart_save_to_file() prototype to a more sane one 2013-09-18 10:06:12 +02:00
160339d888 Moved chart loading into ag_chart_load_from_file(), where it was intended to be 2013-09-18 10:05:24 +02:00
1541e381c5 Created ag-chart-error-quark and AgChartError enum 2013-09-18 10:02:23 +02:00
a023606320 Added name, country and city properties to AgChart 2013-09-17 22:18:24 +02:00
9f7c8282aa Now adding all planets to the chart
The chart generating procedure will decide what to show and what not.
Since GNOME itself has a requirement for a slightly fast machine, it
is not very likely that it will cause speed issues.
2013-09-17 10:00:12 +02:00
8cc5755817 Renamed ret to chart in ag_chart_new() 2013-09-17 09:31:37 +02:00
58ac3786b1 Created ag_chart_new_full() instead of ag_chart_new() 2013-09-16 23:20:42 +02:00
c407023bc9 Started implementing load/save functionality 2013-09-16 23:20:42 +02:00