GNOME Bugzilla – Bug 780320
Double-clicking on a ROM should launch gnome-games
Last modified: 2017-05-05 11:19:03 UTC
For all the supported game types supported by the "plugins". If it can be listed, it should be in the list. This is how Totem does it as well, and you could then offer to try and download extra libretro cores, if available.
Created attachment 349803 [details] [review] core: Add PluginRegisterIterator Allow to loop through the content of PluginRegister in a synchronous or asynchronous way.
Created attachment 349804 [details] [review] Replace old plugin register iteration Drop PluginRegister.foreach_plugin_registrar() and replace it with PluginRegisterIterator. This will allow to use asynchronous calls while looping through the plugin registrars.
Created attachment 349805 [details] [review] tracker: Add MimeTypeTrackerQuery.is_uri_valid() Add this method to check that the received URIs correspond to existing files of the queried type. This replaces the usage of the corresponding method from UriGameFactory which has never really been used and will be removed in the next commit.
Created attachment 349806 [details] [review] Remove unused UriGameFactory.is_uri_valid()
Created attachment 349807 [details] [review] Rename GenericSyncGameUriAdapter into GenericGameUriAdapter Because characters are expensive.
Created attachment 349808 [details] [review] mame: Yield on MameGameUriAdapter.game_for_uri() Yields before returning a new game. This is a safe default as the method is async and hence is expected to yield at some point.
Created attachment 349809 [details] [review] generic: Yield on GenericGameUriAdapter.game_for_uri() Yields before making the game from the URI. This is a safe default as the callback can't do it and the method is async and hence is expected to yield at some point.
Created attachment 349810 [details] [review] desktop: Add DesktopTrackerQuery.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349811 [details] [review] playstation: Add PlayStationGameFactory.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349812 [details] [review] generic: Add GenericUriGameFactory.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349813 [details] [review] core: Add UriGameFactory.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349814 [details] [review] tracker: Move TrackerError to its own file
Created attachment 349815 [details] [review] tracker: Add MimeTypeTrackerQuery.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349816 [details] [review] tracker: Add TrackerQuery.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349817 [details] [review] tracker: Add TrackerGameSource.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349818 [details] [review] steam: Add SteamGameSource.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349819 [details] [review] libretro: Add LibretroGameSource.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349820 [details] [review] dummy: Add DummyGameSource.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349821 [details] [review] core: Add GameSource.game_for_uri() This will be used in a subsequent commit to make a game from an URI.
Created attachment 349822 [details] [review] ui: Handle opening game URIs Allow to directly run games by passing their URI to the command line.
Created attachment 349823 [details] [review] data: Declare handled MIME-types Declare the handled MIME-types in the Desktop entry. This allows to run games by double-clicking their files or by running them via xdg-open.
Created attachment 351178 [details] [review] generic: Add GenericUriGameFactory.query_game_for_uri() This will be used to lookup is a game corresponding to some URI exists in the URI game factory.
Created attachment 351179 [details] [review] playstation: Add PlayStationGameFactory.query_game_for_uri() This is needed to add UriGameFactory.query_game_for_uri().
Created attachment 351180 [details] [review] core: Add UriGameFactory.query_game_for_uri() This will allow to lookup for games in URI game factories.
Created attachment 351181 [details] [review] generic: Add GenericUriGameSource.query_game_for_uri() This will allow to lookup a game for a given URI in a generic URI game source. This will be used int he next commits to run games directly from URIs passed via the command line.
Created attachment 351182 [details] [review] ui: Handle opening game URIs Allow to directly run games by passing their URI to the command line.
Created attachment 351183 [details] [review] data: Declare handled MIME-types Declare the handled MIME-types in the Desktop entry. This allows to run games by double-clicking their files or by running them via xdg-open.
Attachment 351178 [details] pushed as b0fc9e1 - generic: Add GenericUriGameFactory.query_game_for_uri() Attachment 351179 [details] pushed as ef943bf - playstation: Add PlayStationGameFactory.query_game_for_uri() Attachment 351180 [details] pushed as 73eca41 - core: Add UriGameFactory.query_game_for_uri() Attachment 351181 [details] pushed as 58afbea - generic: Add GenericUriGameSource.query_game_for_uri() Attachment 351182 [details] pushed as e70d544 - ui: Handle opening game URIs Attachment 351183 [details] pushed as 9f9d578 - data: Declare handled MIME-types