dosbox-staging:fc/shell-rework-1

Last commit made on 2023-12-11
Get this branch:
git clone -b fc/shell-rework-1 https://git.launchpad.net/dosbox-staging

Branch merges

Branch information

Name:
fc/shell-rework-1
Repository:
lp:dosbox-staging

Recent commits

2a3b319... by FeralChild64 <email address hidden>

WIP Rewrite command 'dir'

6685eda... by FeralChild64 <email address hidden>

Allow switching command implementation to program arguments API

70e5df0... by FeralChild64 <email address hidden>

Replace function pointer with 'std::function'

91f6aa0... by FeralChild64 <email address hidden>

Add helper function for illegal switch detection

47cbf6b... by FeralChild64 <email address hidden>

Cleanup in command line parsing code

2d665a1... by FeralChild64 <email address hidden>

Update Polish (pl) translation

f2c456c... by kcgen <email address hidden>

Gracefully fallback to texture output when OpenGL doesn't exist

Also fixes an unhandled case warning:

../../src/gui/sdlmain.cpp: In function ‘uint8_t GFX_SetSize(int, int, const Fraction&, uint8_t, const VideoMode&, GFX_CallBack_t)’:
../../src/gui/sdlmain.cpp:1767:16: warning: enumeration value ‘OpenGl’ not handled in switch [-Wswitch]
 1767 | switch (sdl.want_rendering_backend ) {
      | ^

237d6bb... by kcgen <email address hidden>

Fix an unhandled switch case warning in sdlmain

Fixes:

../../src/gui/sdlmain.cpp: In function ‘bool GFX_StartUpdate(uint8_t*&, int&)’:
../../src/gui/sdlmain.cpp:2449:16: warning: enumeration value ‘OpenGl’ not handled in switch [-Wswitch]
 2449 | switch (sdl.rendering_backend) {

1c4548e... by kcgen <email address hidden>

Drop unecessary OpenGL pre-processor exclusion

We only need to exclude actual OpenGL calls. This code doesn't
make any GL calls so threfore doesn't need to be excluded.

Also fixes an unhandled branch warning:

../../src/gui/sdlmain.cpp: In function ‘uint32_t GFX_GetRGB(uint8_t, uint8_t, uint8_t)’:
../../src/gui/sdlmain.cpp:2720:16: warning: enumeration value ‘OpenGl’ not handled in switch [-Wswitch]
 2720 | switch (sdl.rendering_backend) {
      | ^

458872d... by Daniel Bomar

Create script to install icon files on Linux