2007-08-02 Matthew Barnes * NEWS: Update for 0.4.2 * README: Mention --enable-gtk-doc. * Makefile.am: Distcheck should enable Gtk-Doc. * src/gva-error.[ch]: * src/gva-tree-view.c: Document this stuff. 2007-08-02 Matthew Barnes * data/gnome-video-arcade.glade: Connect to some of the tree view signals. * docs/references/gnome-video-arcade-sections.txt: * src/gva-tree-view.h: Add tree view signal handlers to Gtk-Doc output. * src/gva-columns.c (gva_columns_load): Block "columns-changed" signals while loading columns. * src/gva-columns.c (gva_columns_save): Abort the save if the tree view is being destroyed. * src/gva-tree-view.c: Fix a crash when pressing the context menu _keyboard_ button. Expose signal handlers so Glade can auto-connect them. Document some of the public functions. 2007-08-01 Matthew Barnes * INSTALL: Updated instructions from automake 1.10. * configure.ac: * Makefile.am: Activate the new "maint" directory when in maintainer mode. * data/gnome-video-arcade.glade: * src/gva-preferences.c: Load the GvaColumnManager directly from the Glade XML file. * src/gva-column-manager.c: Allow the "managed-view" property to be set at any time. * src/gva-ui.h: No longer need access to "preferences-columns-inner-vbox". * src/gva-ui.c (gva_ui_init): Register custom widgets with libglade. Let libglade know that we provide the "gva" library. * maint/Makefile.am: Installs a Glade widget plugin for GNOME Video Arcade. Only builds in maintainer mode. * maint/gva.xml: Glade catalog file for custom GNOME Video Arcade widgets. 2007-07-31 Matthew Barnes * docs/references/gnome-video-arcade-sections.txt: Don't list GVA_WIDGET_* symbols in the Reference Manual. * src/gva-ui.c: Document the actions. 2007-07-30 Matthew Barnes * configure.ac: Bump libglade requirement from 2.0.0 to 2.6.0. * data/gnome-video-arcade.glade: Specify signal handlers for various widgets. * src/Makefile.am: Add linker flag -export-dynamic so that libglade can find the signal handler functions when it auto-connects signals. * src/gva-ui (gva_ui_init): Call glade_xml_signal_autoconnect(). * src/gva-main.c (gva_main_init): * src/gva-play-back.c (gva_play_back_init): * src/gva-preferences.c (gva_preferences_init): * src/gva-properties.c (gva_properties_init): Remove explicit connection of (most) signals and let libglade auto-connect them at startup. Document the new public signal handler functions. 2007-07-30 Matthew Barnes * src/gva-db.c (db_parser_exit): Commit the transaction *after* verify results are inserted. * src/gva-process.c: Add a "priority" property (default: G_PRIORITY_DEFAULT_IDLE). Add I/O watches at the requested priority. * src/gva-process.c (gva_process_new), (gva_process_spawn): * src/gva-mame-process.c (gva_mame_process_spawn): Add a "priority" parameter. * src/gva-mame-common (gva_mame_command), (gva_mame_list_xml): Spawn the MAME process at G_PRIORITY_DEFAULT_IDLE. * src/gva-mame-common (gva_mame_verify_roms), (gva_mame_verify_samples), (gva_mame_run_game), (gva_mame_record_game), (gva_mame_playback_game): Spawn the MAME process at G_PRIORITY_LOW. 2007-07-29 Matthew Barnes * src/gva-db.c (gva_db_build): Start a database transaction. * src/gva-db.c (db_parser_exit): Commit the transaction if no error occurred, otherwise rollback. * src/gva-db.c (gva_db_transaction_begin), (gva_db_transaction_commit), (gva_db_transaction_rollback): New functions are pretty self-explanatory. * src/gva-process.c (process_data_ready): Keep on reading if there's more to be read. * src/main.c (main): Invoke start() by way of gtk_init_add() instead of g_idle_add(). 2007-07-29 Matthew Barnes * Add some more developer documentation. * Move section documentation to header files. * src/gva-db.c (gva_db_get_filename): Call gva_get_user_data_dir(). Move SQLite database file to ${user_data_dir}/applications/${package}/games.db. * src/gva-util.c (gva_get_user_data_dir): New function returns the user-specific data directory for this application. 2007-07-26 Matthew Barnes * configure.ac: * Makefile.am: * docs/*: Skeletal developer documentation generated by GTK-Doc. * src/main.c: Move command-line option variables to gva-util.c.