Commit Graph

57 Commits

Author SHA1 Message Date
Gergely Polonkai f4749dea65 Add PNG save support 2014-10-05 19:36:44 +02:00
Gergely Polonkai 41f054bf6f Add GPL headers to all source files 2014-09-26 15:01:19 +02:00
Gergely Polonkai efa94b350f Add comet Asbolus to the list of planets 2014-09-21 23:50:35 +02:00
Gergely Polonkai 290d8c3f37 Add JPEG export support 2014-09-17 11:25:40 +02:00
Gergely Polonkai 8e60f5611c Refactor SVG save action/dialog to be a general image saving function 2014-09-17 11:25:40 +02:00
Gergely Polonkai d2f0ab2bc6 Move used planets’ list to used_planets global array
This makes it easier to add new planets. A way should still be found to
automatically include related files in the default chart.
2014-09-13 01:05:08 +02:00
Gergely Polonkai 655c65de9d Add enum <=> nick conversion functions
They are for planets, aspects and antiscia
2014-09-13 01:05:08 +02:00
Gergely Polonkai 80e3992b24 Move data directory creation/query code to ag_get_user_data_dir() 2014-09-02 21:48:24 +02:00
Gergely Polonkai 4e93781bb9 Read country/city list from geodata.xml into GtkListStores 2014-08-19 00:29:45 +02:00
Gergely Polonkai cb99af5a0d Add GtkListStore for city and country list 2014-08-17 00:53:48 +02:00
Gergely Polonkai 6e847d83ed Create .hor filter for Placidus files 2014-08-10 14:31:38 +02:00
Gergely Polonkai 881b58080a Add ag_house_system_id_to_nick() and ag_house_system_nick_to_id()
This is to convert between house system ID (required for chart generating)
and GEnum nick (required for saving).
2014-08-04 00:31:25 +02:00
Gergely Polonkai fe25f5ce9d Remove unneeded UI_FILE #define
All UI code is now stored in GResources
2014-07-20 23:18:28 +02:00
Gergely Polonkai d671500a1a Code beautification in xml_open_gresource() 2014-07-20 23:15:58 +02:00
Gergely Polonkai c31ddb6fe7 Add gres:// type links support for libxml2 2014-07-12 10:27:11 +02:00
Gergely Polonkai 9342ea63de Code beautification
Wrap long lines in all files
2014-07-11 10:33:04 +02:00
Gergely Polonkai aa339f5863 Remove references and calls to libgd in favour of Gtk 3.10 calls 2014-02-25 22:32:54 +01:00
Gergely Polonkai ea3b038b57 Uncrustified sources
Also, added astrognome-uncrustify.cfg for later use
2013-09-21 18:37:27 +02:00
Gergely Polonkai 8407ffadd3 Moved run_action() and application_activate_cb() to ag-app.c 2013-09-20 10:23:02 +02:00
Gergely Polonkai ffb00a00a0 Enabled XInclude for XSLT stylesheets 2013-09-20 09:58:31 +02:00
Gergely Polonkai 3c3a09143b Added libxslt initialization to main()
It worked without this. Just to be on the safe side...
2013-09-19 23:10:36 +02:00
Gergely Polonkai 4b81d38bc6 Now initializing eXSLT together with libXML 2013-09-19 17:26:52 +02:00
Gergely Polonkai 2162ef0d81 Now testing for libxml in main() 2013-09-17 18:33:16 +02:00
Gergely Polonkai cc91246d38 Added file filters for later use 2013-09-17 14:53:37 +02:00
Gergely Polonkai 895e4f8c8b Added the skeleton of command-line opening
* It does nothing at the moment
* --help output already reflects the file opening possibility
2013-09-17 13:28:07 +02:00
Gergely Polonkai a14506281f Added a comment in run_action() 2013-09-17 13:07:05 +02:00
Gergely Polonkai bfcf78e81b Changed application_activate_cb() signature
Made it so casting is no longer needed inside.
2013-09-17 13:07:05 +02:00
Gergely Polonkai 12aa52f3fb Removed non-used struct print_data 2013-09-17 13:07:05 +02:00
Gergely Polonkai 5121b2a184 Moved command line options into main()
Global variables for this just didn't seem right.
2013-09-17 13:04:47 +02:00
Gergely Polonkai 7b88879736 Added option --new-window to remotely open a new window. 2013-09-17 09:32:51 +02:00
Gergely Polonkai b7d248e91e NLS related fixes in main() 2013-09-17 09:32:16 +02:00
Gergely Polonkai a3f479ab8d Removed all old code from astrognome.c 2013-09-09 11:17:39 +02:00
Gergely Polonkai cdcf486165 Now using AgWindow instead of a simple GtkActionWindow 2013-09-08 23:02:05 +02:00
Gergely Polonkai c52be7f679 Removed About dialog from Glade resource 2013-09-08 23:00:34 +02:00
Gergely Polonkai 20bb11bcb7 Created the wrapper application AgApp
AgApp is a subclass of GtkApplication, and is used to wrap around the
whole Astrognome application
2013-09-08 13:39:44 +02:00
Gergely Polonkai 5cd2227ff6 Added libgd as a compile time dependency
It is now used temporarily to create a header bar in the first window
2013-09-08 13:38:48 +02:00
Gergely Polonkai 14241d6545 Started porting to GApplication 2013-09-07 23:17:59 +02:00
Gergely Polonkai 49583c9c95 Now installing (and reading) UI file to (from) $(pkgdatadir) 2013-09-06 16:38:37 +02:00
Gergely Polonkai 8b661ed04d Changed source to build with external SWE-GLib 2013-09-06 11:34:24 +02:00
Gergely Polonkai 5cfb27d3cd Created basic UI for Astrognome
UI is a bit overrated word here. You can enter your name, birth date and
birth place with coordinates. Time zone is hard-coded +0100. Output is
textual, and created on separate tabs. Design of dialogs and the main
window is not clear yet.
2013-09-03 18:10:12 +02:00
Gergely Polonkai 1e4b769314 Now doing all calculations through SWE-GLib 2013-09-03 13:14:28 +02:00
Gergely Polonkai bdc8a847b6 Outsourced aspect calculation to SWE-GLib 2013-09-03 11:40:57 +02:00
Gergely Polonkai 1966d1f503 Removed unneeded structs from executable code 2013-09-03 11:35:37 +02:00
Gergely Polonkai a1db6a16b3 Removed unneeded variables from astrognome.c 2013-09-02 23:49:46 +02:00
Gergely Polonkai 157bca2707 Removed function get_sign() from calculate.[ch] 2013-09-02 23:32:14 +02:00
Gergely Polonkai 3ae4385740 Removed unneeded printf 2013-09-02 23:28:59 +02:00
Gergely Polonkai 9c694df8db Now displaying planetary calculations based on SWE-GLib instead of pure SWE 2013-09-02 23:14:30 +02:00
Gergely Polonkai 9a43ebb904 Now also calculating element and quality points 2013-09-02 23:10:35 +02:00
Gergely Polonkai ac343217b2 Now adding all known planets to the GsweMoment in astrognome.c 2013-09-02 23:04:05 +02:00
Gergely Polonkai 6aada9a3c6 Outsourced house cusp position calculations to SWE-GLib. 2013-09-01 22:30:51 +02:00