Commit graph

579 commits

Author SHA1 Message Date
telanus ce5db4570c Add support for 86Box
Add basic support for 86Box. It launches Config files, config files need o be created by hand atm.
2022-03-01 15:53:25 -08:00
Maximiliano Sandoval R 906ef348c8 css: Use a color that behaves better with themes
Using currentColor on backgrounds allows for a style that works both in Adwaita:light
and Adwaita:dark, and as higher chances of working on an arbitrary theme.
2022-03-01 15:52:52 -08:00
Maximiliano Sandoval R f2fa4e1daa notifications: Use GNotifications
Instead of libnotify. This is more sandbox friendly and does not
require an additional library.

We also add X-GNOME-UsesNotifications=true to the desktop file, so that
GNOME Software can pick up this info.
2022-02-28 18:12:05 -08:00
Daniel Johnson 670a4050d5 Just use default styling for the sidebar
This should work with any theme.
2022-02-23 11:05:28 -08:00
Mathieu Comandon 4ae90fd535
Merge branch 'master' into dark-mode-support 2022-02-22 17:22:50 -08:00
Mathieu Comandon 7d5dc55a81 Add splash screen 2022-02-21 16:00:25 -08:00
Maximiliano Sandoval R ff291eeb49
css: Use standard style for sidebar
This was broken in dark themes as described in the commit which
introduced it.
2022-02-17 17:10:16 +01:00
Mathieu Comandon 8469d4cfa8 Update Speccy URL 2022-02-16 08:51:55 -08:00
Mathieu Comandon 6f205b899f Style runner label in installer picker 2022-02-06 02:33:38 -08:00
Mathieu Comandon 65f8b5ae3a Add information for 0.5.10 release 2022-02-04 19:31:40 -08:00
Mathieu Comandon 1b358fe99e Allow making preferences window narrower 2022-02-04 17:55:05 -08:00
Mathieu Comandon c131306c15 Add menu entry for add games 2022-02-02 10:45:31 -08:00
Mathieu Comandon 2b3f48cef4 Enable new add game window and remove tabs from main window 2022-01-30 23:32:17 -08:00
Mathieu Comandon 5f6b235889 Revert "Suppress flash when update_store completes quickly (#3996)"
This reverts commit 8dc9996471.
2022-01-25 15:19:58 -08:00
Daniel Johnson 8dc9996471
Suppress flash when update_store completes quickly (#3996)
* Make the add-games button a button

Not a menu-button with no menu, which means it now resets to the
unpressed state automatically.

* Revert "Make the add-games button a button"

This reverts commit 664815a5be.

* Use AsyncCall to update the store

But also add an await option to block for just a bit and call the callback
synchronously.

This is what avoids the flash- nothing gets put off until idle time if, and
only if it is fast (.25 sec)

* Oops, that test is backwards!

We should show the spinner if the search not completed.

* Correct tabs_box visibility

Fix bug where the tabs_box is initially hidden due to an order of
operations bugs.

Instead, it can be initially hidden in the .ui file, then shown when
the sidebar row activates.

* Some explanator comments

* Correct qualification for ErrorDialog

Thanks, flake8!

* Simpler to remove the event source

We're tracking the source_id, might as well use it.

We still need to capture the args though, to complete synchronously.

* Explicitly hide the games scrollwindow

It looks ugly to display this and the spinner at the same time, which
can happen when refining your Lutris search.
2022-01-21 00:11:27 -08:00
Daniel Johnson d331a13599 Make the add-games button a button
Not a menu-button with no menu, which means it now resets to the
unpressed state automatically.
2022-01-20 21:23:23 -08:00
Daniel Johnson b1a5650aaa Lock off the background for hovered sidebar rows
Using alpha blending here interacts badly with dark themes. Just use a
specific color.

It does not look good, but it is legible.

Honestly, do we really need to alter hover behavior anyway?
2022-01-20 16:49:16 -08:00
Daniel Johnson 3b0b16c65f Need another CSS rule for the action buttons
They should be styled black too, but don't seem to inherit the
row's color.
2022-01-20 16:49:16 -08:00
Daniel Johnson 36d3fc6b8d Set the text color for hovered sidebar rows
We set the background color (for whatever reason), but if we leave the
foreground as default, it may have poor contrast. So this sets both.
2022-01-20 16:49:16 -08:00
telanus 3a73065838 Added Exit to pause menu
Added an option to move the Exit button to the Pause Menu, as it makes more sense there as going to thru all the hoops it currently takes to exit
2021-12-14 15:46:13 -08:00
Alexander Ravenheart f5e8e007b3 - Replaced pipenv with poetry
- Updated min version check in setup.py to Python 3.6
- Updated isort config file and calls to align with v5.x
- Added init-hook for gi imports in .pylintrc to avoid invalid no-member issues
- Makefile: added lock, show-tree, bandit, black, mypy; updated test, cover, dev, isort, autopep8, check, isort-check, flake8, pylint; removed req, requirements;
- Updated .travis.yml to use poetry and make
- Added my email in AUTHORS
- Updated CONTRIBUTING.md
- Updated lint_python.yml to use poetry and make, reorganized instructions to have all install related steps first
- sorted imports: lutris, lutris-wrapper, cleanup_prefix.py and multiple files in tests dir
2021-11-17 21:17:43 -08:00
Mathieu Comandon f4dee7eac3 Update to 0.5.9.1 2021-10-16 18:14:23 -07:00
Mathieu Comandon 9bdc29892e Disable file log for lutris-wrapper 2021-10-16 11:17:18 -07:00
Mathieu Comandon b9b8bcbf07 Update release date 2021-10-11 12:35:37 -07:00
telanus af6dd94e57 Update to the latest release
0.9.3 Was released today 2-9-21
2021-09-06 14:28:10 -07:00
Mathieu Comandon 5dc6dcdf43 idk why anyone thought it was ok to do 2021-08-30 16:09:19 -07:00
Mathieu Comandon ff8492eb3f Add changelog 2021-07-19 19:41:45 -07:00
Mathieu Comandon e2942d4a4e Include runner configuration inside main settings window 2021-04-26 20:49:57 -07:00
Mathieu Comandon 55dedd4c2c Swap installer and library tabs 2021-04-14 01:14:08 -07:00
Mathieu Comandon 9ddafa6664 Write return codes to file to track them back to the client 2021-03-31 22:07:20 -07:00
Mathieu Comandon cfcffec8ab Change project statement 2021-03-22 15:21:50 -07:00
telanus ddbb2bad53
Add Colem and Speccy runners 2021-03-09 09:26:29 +02:00
telanus 704b1db6ce
Updated download link to V17 2021-03-09 08:53:27 +02:00
Mathieu Comandon 2f170e961f Fix process watcher 2021-02-15 19:36:13 -08:00
Mathieu Comandon b01ca82ad9 Closes #3431 2021-02-15 14:00:52 -08:00
Mathieu Comandon 449a00d390 Simplify process watcher 2021-02-02 22:54:09 -08:00
Mathieu Comandon 1b321f40a3 Bump to version 0.5.8.3 2021-01-22 16:31:37 -08:00
Mathieu Comandon b56157a86f Replace map-event with realize event handler, restore original popover behavior 2021-01-22 15:20:00 -08:00
Mathieu Comandon c1edfdd886 Add changelog for 0.5.8.2 2021-01-05 00:06:56 -08:00
Mathieu Comandon dd1d562554 Make header bar popovers non modal because who knows what goes on with wayland (Closes #3341) 2020-12-28 22:36:10 -08:00
Mathieu Comandon e1b6ddea5b Attach menus from the headerbar to their menubuttons (Fixes #3341) 2020-12-24 12:51:36 -08:00
Hannes c45f079028 Add ruffle runner json configuration 2020-12-03 20:28:36 +00:00
loonytoony0 bd5d69631e Minor spelling improvements 2020-11-30 14:15:27 -08:00
Mathieu Comandon 50efb31ca2 Bump version to 0.5.8.1 + add changelog 2020-11-27 14:32:24 -08:00
Mathieu Comandon 10359c79e2 Remove border radius (Closes #3298) 2020-11-27 09:42:25 -08:00
Maximiliano Sandoval R 5dc238f6f5 Metainfo: Revert license to CC0-1.0
GPL-3.0 or GPL-3.0-or-later are not valid licenses for metainfo files,
the latter not being considered code.

Reverts: 295049fe93

Fixes: https://github.com/lutris/lutris/issues/3277
Fixes (Downstream): https://github.com/flathub/net.lutris.Lutris/pull/127
2020-11-17 20:13:56 -08:00
Stephan Lachnit 72787740ef use spdx license id
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-11-10 13:44:49 -08:00
Stephan Lachnit 80b777b4b2 adjust .desktop file
* remove Version Key as it was using an outdated Spec (1.0 instead of 1.1)

* update Comment Key to be in line with metainfo and man page

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-11-09 12:49:17 -08:00
Stephan Lachnit 6d3a67140a fix description in metainfo
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-11-09 12:49:17 -08:00
Mathieu Comandon 370775cb37 Remove references to left panel 2020-11-07 17:07:17 -08:00
Mathieu Comandon 9b5ac2e4ff Apply rounded corners only to sidebar 2020-11-06 09:21:50 -08:00
Stephan Lachnit a6eda018ac man: document new option
see 53be75d91b

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-11-05 12:15:01 -08:00
Mathieu Comandon 41dfa7f45d Refactor low-level internal signals to synchronize with their subtype atomic properties 2020-11-05 01:50:36 -08:00
Mathieu Comandon 295049fe93 Put back license to GPL-3 2020-11-05 01:46:41 -08:00
Stephan Lachnit 75f721b4d3 po: make meta files translatable
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
2020-11-05 01:44:06 -08:00
Mathieu Comandon 8dab51af2f Change tab changed handler 2020-11-03 02:59:08 -08:00
Leandro Stanger 6babb91427 Update net.lutris.Lutris.metainfo.xml 2020-10-31 15:11:02 -07:00
Leandro Stanger 724c03993b Update net.lutris.Lutris.metainfo.xml 2020-10-31 15:11:02 -07:00
Mathieu Comandon 97bfa810b8 Remove inset style 2020-10-31 02:11:07 -07:00
Mathieu Comandon 68511e8240 Highlight currently selected row 2020-10-31 02:01:44 -07:00
Mathieu Comandon 5e4cb34b16 Return empty array for runtime component failures, swap tabs radio button group 2020-10-30 22:41:47 -07:00
Paul Krohmer 6088539d0c add German translation for comment in desktop entry 2020-10-30 07:11:52 -07:00
Leandro Stanger 179699ddc7 Tag invalid
Validation of files failed
https://flathub.org/builds/#/builders/32/builds/31240
2020-10-29 21:23:10 -07:00
Mathieu Comandon 0021952038 Make Community Installers default tab 2020-10-29 21:18:39 -07:00
Mathieu Comandon 47584c5faa Swap library and web search tabs 2020-10-29 21:05:49 -07:00
Mathieu Comandon 3a36f8d403 Replace tab toggle buttons with radio buttons 2020-10-26 20:53:41 -07:00
Mathieu Comandon dbb2c992f8 Make license consistent in metainfo.xml 2020-10-26 13:20:19 -07:00
Mathieu Comandon 7d7069d75e Change default banner to work better in both light and dark theme 2020-10-26 13:13:33 -07:00
Mathieu Comandon a486fae92e Update default_banner.png 2020-10-26 13:05:20 -07:00
Mathieu Comandon 7c8865d71f Move 'Show tray icon' to Preferences 2020-10-19 11:19:31 -07:00
Mathieu Comandon 14a7e9f5c0 Set tab buttons sensitivity 2020-10-19 08:38:58 -07:00
Mathieu Comandon 7a87b8b1ad Remove the margins again 2020-10-19 08:21:21 -07:00
Mathieu Comandon 557a260980 Re-balance search entry widget 2020-10-19 08:12:51 -07:00
Mathieu Comandon d45b2e8283 Adjust search entry position/size 2020-10-19 08:09:16 -07:00
Mathieu Comandon d72b4d3827 A bit bigger 2020-10-19 03:06:23 -07:00
Mathieu Comandon 22b0f6e509 Reduce search bar width 2020-10-19 02:50:30 -07:00
Mathieu Comandon 87787ef328 Wording and tab size 2020-10-19 02:44:52 -07:00
Mathieu Comandon fa9ad6b969 Remove search toggle, center search widget on title bar 2020-10-18 20:18:56 -07:00
Mathieu Comandon 126b26a6ae Load lutris media on web searches 2020-10-16 19:39:35 -07:00
Mathieu Comandon 3b7bac1477 Add tabs for lutris service 2020-10-14 00:54:27 -07:00
Mathieu Comandon c4af44cda1 Replace installed category with 'recent' 2020-10-13 22:23:25 -07:00
veksho 92eb5894df keyboard navigation 2020-10-13 20:50:01 -07:00
Mathieu Comandon 5c8469cca1 Redesign uninstall game dialog (Closes #3100) 2020-10-09 22:04:42 -07:00
Mathieu Comandon a0af7848f7 Improve handling of lutris service games 2020-10-09 02:42:35 -07:00
Mathieu Comandon 89d261c21d RecursionError: maximum recursion depth exceeded
Traceback (most recent call last):
  File "/home/strider/Projects/lutris/lutris/gui/application.py", line 319, in do_command_line
    run_all_checks()
  File "/home/strider/Projects/lutris/lutris/startup.py", line 153, in run_all_checks
    fill_missing_platforms()
  File "/home/strider/Projects/lutris/lutris/startup.py", line 145, in fill_missing_platforms
    game.save(save_config=False)
  File "/home/strider/Projects/lutris/lutris/game.py", line 288, in save
    self.set_platform_from_runner()
  File "/home/strider/Projects/lutris/lutris/game.py", line 265, in set_platform_from_runner
    platform_name = self.runner.get_platform() # short platform name from official runner
  File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 236, in get_platform
    return self.platforms[int(selected_platform)]
  File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
    return self.platforms
  File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
    return self.platforms
  File "/home/strider/Projects/lutris/lutris/runners/mame.py", line 209, in platforms
    return self.platforms
  [Previous line repeated 988 more times]
2020-10-07 23:20:30 -07:00
matoro b11a16e1ea Add config option to use long platform names
This PR includes a few options to support the auto-configuration of
platform name filters...first, it makes the update of platform names in
the database unconditional for all games.  I only have about 50 titles
in my library and I did not see a significant performance impact from
this, but testing would be appreciated from somebody with a larger
library.

Second, it adds a system config option to use long platform names
(Manufacturer - System) style instead of the official platform names.  A
hardcoded list of platform names is included for the most common
systems.  This option is off by default.

Thirdly there is a small change in gui/widgets/sidebar.py that I had to
make, but I'm not sure the full consequences of.  It constructs the
unfiltered list of platforms only out of the active platform names.  The
only possible negative effect I can think of is that when adding a game
that is the first on a new platform, it won't show up in the filter list
until the next application restart.

Lastly I renamed some icons and made the old names into symlinks in
order to support multiple naming conventions for the same platform.  I'm
using the short version (no manufacturer name) as the "canonical" style.
2020-10-07 21:10:29 -07:00
telanus 23d342ab19 Added a PCem runner
PCem only load config files. there is a command-line for disks, but found that is easier to setup everything in  PCem,, and use that config as to the headaches adding disks to a config file.
2020-10-07 21:09:37 -07:00
telanus d3f882a44f Added a tic-80 and MicroM8 Runner
Can be merged once https://github.com/lutris/lutris/issues/3020 gets fully resolved
2020-10-07 21:09:37 -07:00
Mathieu Comandon f7d999eab6 Attempt at fixing #2852, no solution was found 2020-10-06 00:44:34 -07:00
Mathieu Comandon 5b9d55d08d Implement save button for logs (Closes #1988) 2020-10-05 23:17:13 -07:00
imgbot[bot] 733c2a880f [ImgBot] Optimize images (#2)
* [ImgBot] Optimize images

*Total -- 316.85kb -> 269.88kb (14.82%)

/share/lutris/media/default_icon.png -- 1.83kb -> 1.11kb (39.58%)
/share/icons/hicolor/scalable/apps/lutris.svg -- 13.21kb -> 9.05kb (31.51%)
/share/lutris/media/logo.svg -- 13.21kb -> 9.05kb (31.51%)
/share/lutris/media/default_banner.svg -- 73.71kb -> 59.25kb (19.61%)
/share/lutris/media/unavailable.png -- 0.88kb -> 0.74kb (15.26%)
/share/lutris/media/logo.png -- 18.90kb -> 16.08kb (14.91%)
/share/lutris/media/mask.png -- 186.09kb -> 166.26kb (10.65%)
/share/icons/hicolor/128x128/apps/lutris.png -- 9.02kb -> 8.33kb (7.61%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

* Restyled by whitespace (#3)

Co-authored-by: Restyled.io <commits@restyled.io>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com>
Co-authored-by: Restyled.io <commits@restyled.io>
2020-10-03 17:51:48 -07:00
veksho 35002cf679 tab order fix redone 2020-10-03 06:47:56 -07:00
SwimmingTiger 60bf32e674 Mark up translatable contents 2020-10-03 04:53:20 -07:00
Mathieu Comandon b605885d01 Make zoom adjustment compatible with services 2020-10-03 04:51:11 -07:00
Mathieu Comandon 9ca43871ce Reduce number of updates on game bar, fixes segfaults 2020-10-03 04:51:11 -07:00
Mathieu Comandon c6e017f36a Move game bar to the bottom 2020-10-03 04:51:11 -07:00
Mathieu Comandon 3bea97f32e Restyle the game bar 2020-10-03 04:51:11 -07:00
Mathieu Comandon 63e304abfa Add GameBar 2020-10-03 04:51:11 -07:00
Mathieu Comandon 49e001fef4 Remove connection button from header bar 2020-10-03 04:51:11 -07:00
Mathieu Comandon 992f4e27bc Remove right panel from view 2020-10-03 04:51:11 -07:00