Commit graph

247 commits

Author SHA1 Message Date
Mathieu Comandon 308e6741ae Extract parse_version from version_sort 2018-05-08 02:50:49 -07:00
Mathieu Comandon 000cec595c Remove attribute from ScriptInterpreter 2018-05-08 00:14:23 -07:00
Mathieu Comandon 1a750889a6 Fix substitutions on keys with dashes 2017-12-13 22:37:07 -08:00
Patrick Griffis 86504710e8 gui: Kill off VBox/HBox usage 2017-06-18 19:51:11 -07:00
Mathieu Comandon 1e82f2a889 Create migration to update lutris shortcuts urls 2017-05-15 23:43:56 -07:00
Mathieu Comandon d36ff5cc1c Add support for actions in Lutris urls 2017-05-15 10:01:48 -07:00
Mathieu Comandon f41c4b7e6d Remove PCSX-R runner 2017-05-14 18:03:35 -07:00
Mathieu Comandon bcfa4f4a16 Fix get_overrides_env output 2017-05-03 22:26:26 -07:00
Mathieu Comandon 241312a4db Implement basic layout of x360ce.ini files 2017-05-02 02:37:20 -07:00
Mathieu Comandon f739fcd591 Add x360ce sample configs 2017-05-01 23:45:52 -07:00
Mathieu Comandon e667c3a6c3 Update tests 2017-05-01 02:17:33 -07:00
Mathieu Comandon d99e942557 Add version to test installers 2017-04-18 17:45:17 -07:00
Mathieu Comandon f0d6563067 Fix tests for new installer structure 2017-04-13 19:33:12 -07:00
Mathieu Comandon 241f28fc54 Persist platforms to database to avoid major slowdowns 2017-04-06 22:17:05 -07:00
Mathieu Comandon 99614a470f Fix registry parsing with keys ending with double backslashes (Fixes #541) 2017-03-13 21:08:12 -07:00
Mathieu Comandon dfe1dad1fe Update tests 2017-03-03 11:13:59 -08:00
Mathieu Comandon bc01ab0347 Make codebase pass flake8 2017-03-02 19:28:05 -08:00
Mathieu Comandon b1788f4e9e Make application a mandatory parameter of LutrisWindow + fix tests 2017-01-29 21:48:32 -08:00
Patrick Griffis 47589137d7 gui: Use template for application window 2017-01-02 21:40:05 -05:00
Mathieu Comandon b023c0ca92 Update tests for new dialog button label 2016-11-21 12:47:59 -08:00
Mathieu Comandon 79bdc122fe The installer section is not a string nor a dict 2016-10-31 17:11:55 -07:00
Mathieu Comandon 6f42b6366d Add method to clear registry keys 2016-10-27 12:02:57 -07:00
Mathieu Comandon 412211be24 Test adding new keys to WineRegistry 2016-10-26 21:43:44 -07:00
Mathieu Comandon 2f582f3966 Fix WineRegistryKey to allow setting keys correctly 2016-10-26 21:27:09 -07:00
Mathieu Comandon a619602130 Allow creation of WineRegistryKeys by definition or by path 2016-10-26 20:45:28 -07:00
Mathieu Comandon b088d0593f Also validate ~/.wine 2016-10-25 16:57:52 -07:00
Mathieu Comandon 4496b9a65f Compare registries with Meld when they don't match 2016-10-25 16:55:50 -07:00
Mathieu Comandon 1a8f25fd1f Remove registry temp file in tests 2016-10-25 16:20:38 -07:00
Mathieu Comandon 5bf06f1a19 Allow multiline values in registry subkeys 2016-10-25 15:26:40 -07:00
Mathieu Comandon f00348f1f7 Catch prefix parsing errors 2016-10-25 14:59:01 -07:00
Mathieu Comandon 46ff0c2cde Make check_prefixes executable 2016-10-25 14:56:47 -07:00
Mathieu Comandon 7c402022ab Add tool to check real world prefixes 2016-10-25 14:53:49 -07:00
Mathieu Comandon fa67361a68 Add render method to registry 2016-10-25 14:38:29 -07:00
Mathieu Comandon ca9de01538 Convert WineRegistry keys to OrderedDict 2016-10-25 14:18:03 -07:00
Mathieu Comandon 1f535d0fb2 Test version and arch 2016-10-25 14:13:36 -07:00
Mathieu Comandon 7ea8795bd1 Rename WineRegistry values to subkeys 2016-10-25 13:52:45 -07:00
Mathieu Comandon e4126f2c5d Add render method to wine registry key 2016-10-25 13:46:53 -07:00
Mathieu Comandon 6ad63c45da Add support for dword registry keys 2016-10-25 13:00:53 -07:00
Mathieu Comandon 01e3c5f637 Add metas to registry keys 2016-10-25 12:54:47 -07:00
Mathieu Comandon 63347be383 Handle registry timestamps as ints or floats 2016-10-25 12:38:01 -07:00
Mathieu Comandon c01f2c9ccc Add tests for WineRegistry 2016-10-25 12:12:40 -07:00
Mathieu Comandon dda8db1e35 Add wine registry test fixtures 2016-10-25 11:50:40 -07:00
Mathieu Comandon e01cb320b3 Add unpack_dependencies function 2016-10-20 15:48:33 -07:00
Mathieu Comandon 096714821f Remove test for download_asset 2016-10-10 13:04:07 -07:00
Mathieu Comandon d08c725708 Remove test for pga.set_installed_games 2016-09-28 17:24:07 -07:00
Mathieu Comandon 19846caebd Write ConfigParser content as byte (Fixes #369) 2016-09-28 14:44:52 -07:00
Mathieu Comandon 1030d16862 Add version_sort utility function 2016-08-19 20:23:34 -07:00
Mathieu Comandon b71bc73112 Test benchmark cleanup 2016-08-05 17:35:47 -07:00
Mathieu Comandon 6490ce840a Update benchmark test file for python3 2016-08-05 17:20:24 -07:00
Mathieu Comandon 2b2a9fe789 Fix tests 2016-08-04 15:49:38 -07:00
Mathieu Comandon cfef4b5024 Sync Python 3 branch 2016-08-04 01:50:54 -07:00
Mathieu Comandon 8efcdff73e Add missing quotes in test case 2016-03-11 08:55:05 -08:00
Mathieu Comandon c8acbd805d Merge from next 2016-01-24 16:15:29 -08:00
Xodetaetl 228e23586f Update test 2015-12-21 20:57:07 +01:00
Mathieu Comandon 869e36fd4e Merge again 2015-12-15 17:15:01 -08:00
Mathieu Comandon 3697c0f6f2 This test makes no sense 2015-11-28 14:03:24 -08:00
Mathieu Comandon b60dce5612 Fix some unittests 2015-11-13 00:34:11 -08:00
Mathieu Comandon c3559726cc Fix tests 2015-11-11 10:48:40 -08:00
Mathieu Comandon 2317d3cec4 Reference games in local library by primary key instead of non-unique slugs 2015-11-04 02:50:47 -08:00
Mathieu Comandon faba79f7ac Gtk structure differs between Ubuntu 14.04 and 15.10 2015-10-31 15:04:42 -07:00
Mathieu Comandon 41cd69e070 Test AddGameDialog button container classes 2015-10-31 14:56:29 -07:00
Mathieu Comandon a7b1bfceb5 Fix tests 2015-10-31 01:50:28 -07:00
Mathieu Comandon 014218f0dd Set parent window for AddGameDialog 2015-10-07 13:25:49 -07:00
Xodetaetl 5b720d848b Refactor: move installer.Commands and ScriptingError to new files 2015-10-03 21:32:58 +02:00
Xodetaetl 966c5a05ff Update tests more 2015-10-01 12:08:14 +02:00
Xodetaetl 854a9a3eb1 Update tests (add game) 2015-09-30 19:48:02 +02:00
Xodetaetl 82295dc446 Update test test_script_with_correct_values_is_valid 2015-05-04 19:23:36 +02:00
Xodetaetl 639ddbb26b Update tests 2015-05-04 14:55:06 +02:00
Xodetaetl fa3639e9f1 Add cascading system to LutrisConfig
Beware strycore, the usage of the config is slightly changed, read the
docstring. ;)
2015-04-23 00:37:50 +02:00
Xodetaetl 8451483c93 Renaming more stuff in LutrisConfig
Ok the term "config type" doesn't exist anymore :). Now it's "config
section", which is more explicit.

Other changes:

game > game_slug
runner > runner_slug

game_config > game_level
runner_config > runner_level
system > system_level

I sliced through a bigger bunch of changes to create this commit (for
clarity) but couldn't slice in an exactly meaningful way so there are
a couple places that only make sense with the next commit.
2015-04-22 18:57:56 +02:00
Mathieu Comandon 88493b4fcf Add game_slug to installer tests 2015-03-04 15:28:05 +01:00
Mathieu Comandon ad1868d5ea Display slug in game info 2014-10-12 20:07:35 +02:00
Mathieu Comandon ea4b6739ca Add game info tab 2014-10-12 18:54:51 +02:00
Mathieu Comandon d8ada60596 Update tests 2014-10-09 22:20:30 +02:00
Mathieu Comandon 7d57b1299f Use valid URL for download benchmark 2014-09-29 15:11:10 +02:00
Mathieu Comandon 6540609d23 Right, we don't know what runner is actually installed 2014-08-18 12:22:41 +02:00
Mathieu Comandon b1f4954e7b Fuck you Jenkins, fuck you, DIAF 2014-08-18 12:19:36 +02:00
Mathieu Comandon 4094fab961 Dammit! 2014-08-18 12:17:11 +02:00
Mathieu Comandon c0620c4fe0 Create DATA_DIR for Mr. Jenkins 2014-08-18 12:15:47 +02:00
Mathieu Comandon 1ff4656f1a Ok, don't use test database then… 2014-08-18 12:05:23 +02:00
Mathieu Comandon b4f7df7d4f Use test database for tests 2014-08-18 12:02:35 +02:00
Mathieu Comandon 5db34df75e Test manual game creation 2014-08-18 11:02:19 +02:00
Mathieu Comandon 17e2e99809 Fix runner tests 2014-08-14 01:58:02 +02:00
Mathieu Comandon a54e906e88 get rid of LutrisConfig.get_system 2014-08-13 11:12:41 +02:00
Mathieu Comandon 14e7f55d9c One more system config test 2014-08-13 10:46:11 +02:00
Mathieu Comandon dd342efb41 Misconception about how system.yml is written 2014-08-13 10:24:56 +02:00
Mathieu Comandon 6733548d21 Test get_list_store 2014-08-13 01:50:25 +02:00
Mathieu Comandon 9cdd74b26b Add base test for AddGameDialog 2014-08-13 01:36:18 +02:00
Mathieu Comandon ceb4acfdb7 This is how system_config is supposed to work 2014-08-13 00:35:47 +02:00
Mathieu Comandon 4b6ac1b72f Update tests for multiple installers 2014-04-23 00:44:58 +02:00
Mathieu Comandon 87a532b4dd Update installer in tests 2014-04-22 00:17:05 +02:00
Mathieu Comandon 0daf92e414 Remove UAE tests 2014-04-07 10:28:29 +02:00
Mathieu Comandon 671bbc94c4 Remove obsolete test 2014-01-27 10:07:35 +01:00
Mathieu Comandon 817fb2eaaa Make links clickable in installer messages 2014-01-24 19:59:40 +01:00
Mathieu Comandon 252c05efc7 Add filter by installed status in get_games 2013-12-12 22:48:05 +01:00
Mathieu Comandon 86034be28b Add installed field with data migration 2013-12-12 00:06:07 +01:00
Mathieu Comandon 4bb399904b Use syncdb and migrations 2013-12-11 23:55:50 +01:00
Mathieu Comandon 90488f173c Return list of migrated fields 2013-12-11 23:39:59 +01:00
Mathieu Comandon a3c6a90553 Add migrate function:w 2013-12-11 23:36:23 +01:00
Mathieu Comandon 9995481fb1 Add add_field operation 2013-12-11 22:46:44 +01:00
Mathieu Comandon 6debeb5611 Add database creation function 2013-12-11 20:42:39 +01:00
Mathieu Comandon 9dfddf8c81 Add function to create sql fields 2013-12-10 00:19:13 +01:00
Mathieu Comandon e761df47f9 Add get schema db function 2013-12-09 02:05:13 +01:00
Mathieu Comandon df8f705fb1 Update manual test scenario 2013-12-03 23:49:32 +01:00
Mathieu Comandon 7cd1dede8d Add more manual testing 2013-12-02 23:54:32 +01:00
Mathieu Comandon 481eb1dae9 Add initial manual testing suite 2013-12-02 23:42:31 +01:00
Mathieu Comandon e8d30424bb Add steam utils 2013-11-17 05:27:33 +01:00
Mathieu Comandon 83b00c0f2c Change directory of test database 2013-10-21 12:08:09 +02:00
Mathieu Comandon c872fe38d7 Initial Steam for Linux support 2013-10-07 09:11:20 +02:00
Mathieu Comandon e98b74d946 Fix tests 2013-07-11 14:53:12 +02:00
Mathieu Comandon fe660706b5 Test for filename substitution 2013-07-11 14:42:30 +02:00
Mathieu Comandon df02c92936 Preliminar support for Wine installers (WIP) 2013-07-11 09:18:15 +02:00
Mathieu Comandon 1582a532d3 Add slug uniquess in PGA 2013-06-26 17:22:22 +02:00
Mathieu Comandon 397e7deafb Slightly modify the way threaded downloads are handled 2013-06-14 20:37:59 +02:00
Mathieu Comandon 992ae403b9 Minor cosmetic changes 2013-05-28 14:17:41 +02:00
Mathieu Comandon f5f1598b41 Fix unit tests 2013-05-28 14:15:41 +02:00
Mathieu Comandon b3a85220cb Installer rewriting almost complete + Gio mounts handled in Downloader 2013-05-26 18:43:42 +02:00
Mathieu Comandon 14a6881627 Installer rewrite (WIP) 2013-05-25 13:08:39 +02:00
Mathieu Comandon 26f59c9bc7 Scripting interpreter rewrite (WIP) 2013-05-25 07:48:03 +02:00
Mathieu Comandon 5788984c09 Add download benchmarks 2013-05-25 05:19:32 +02:00
Mathieu Comandon dd06d16320 Rename machine attribute to platform 2013-05-24 19:54:25 +02:00
Mathieu Comandon 530416118c Add option handling for snes9x 2013-05-21 23:38:21 +02:00
Mathieu Comandon ae1c554906 Fix pga filter 2013-03-20 22:38:46 +01:00
Mathieu Comandon 24451443c7 Return game list as dict 2013-03-20 22:36:29 +01:00
Mathieu Comandon e234c7a60e Return game list as dict 2013-03-20 22:34:30 +01:00
Mathieu Comandon 96b5d9d8f4 Use test database 2013-03-20 22:20:46 +01:00
Mathieu Comandon 3a25e79f99 Fix tests 2013-03-20 21:46:34 +01:00
Mathieu Comandon d6db7ca4ac Big bunch of cleanups 2013-01-29 04:31:57 +01:00
Mathieu Comandon 54370205f7 Fix UAE floppy handling 2013-01-07 20:48:18 +01:00
Mathieu Comandon 2521f82a34 fixes for runner installation 2012-11-10 03:40:03 +01:00
Mathieu Comandon 861d9a56a0 Merged Ovocean's changes 2012-11-09 20:04:08 +01:00
Mathieu Comandon 069f930df1 Add tests for runners 2012-11-09 15:41:11 +01:00
Mathieu Comandon 94d422277f Remove obsolete tests 2012-11-08 21:41:50 +01:00
Mathieu Comandon 9003433392 fixes and tests for pga 2012-06-07 01:19:40 +02:00
Mathieu Comandon 86f0669d7b implementation of wine runner tasks 2012-06-04 01:33:51 +02:00
Mathieu Comandon 7f6f06f463 PyGi port almost stable 2012-05-28 21:05:42 +02:00
Mathieu Comandon 18204cee27 somewhat heavy refactoring 2012-04-30 00:27:12 +02:00
Mathieu Comandon a8c80bddb9 Refactoring and installer game name checking 2012-04-14 15:59:58 +02:00
Mathieu Comandon 19cd81b57a fixed a bug where only one game was displayed 2012-04-14 15:23:25 +02:00
Mathieu Comandon eee82ed3ab installer waits for the downloads to finish 2011-10-03 04:06:30 +02:00
Mathieu Comandon a0a7da85b9 fixed some downloader issues 2011-08-04 05:32:58 +02:00
Mathieu Comandon 0aee4c3979 Fixed (some) license headers, removed ftp and fuseiso modules 2010-12-09 14:44:47 +01:00
Mathieu Comandon a3ef1e0892 adding and removing games now work again 2010-09-19 22:25:29 +02:00
Mathieu Comandon 2ad5962e43 bugfixes and refactoring 2010-09-13 15:49:46 +02:00
Mathieu Comandon c03a6691ee misc stuff to prepare for the future 2010-09-06 18:15:22 +02:00
Mathieu Comandon 6e92225216 dependency check + some tests 2010-09-06 17:17:56 +02:00
Mathieu Comandon 1a2cb9a6c8 gconfwrapper 2010-08-03 04:09:19 +02:00