Previous 199869 Revisions Next

r188304 Thursday 1st September, 2022 at 22:55:16 UTC by Vasantha Crabb
Patched up some gaps in functionality and fixed some bugs.

ui: Added some missing functionality:
* Added an option to copy input device IDs to the relevant menus.
* Added an item for setting the software lists files path (-hashpath) to
 the folder setup menu.
* Allow pasting text from clipboard in most places that allow typing
 (searching, entering filenames, entering barcodes).
* Changed the software selection menu heading to be a bit less
 misleading.
* Made barcode menu less eager to rebuild itself unnecessarily, and
 removed some confusing and apparently pointless code.

Exposed more Lua bindings:
* Added low-level palette objects.
* Added indexed bitmap types.
* Added a bitmap method for extracting pixels from a rectangular area as a
 packed binary string.
* Changed screen device pixels method to return width and height in
 addition to the pixels.

osd: Added some functionality and cleaned up a little:
* Added a function for copying text to the clipboard.
* Moved function for converting Windows error codes to standard error
 conditions to winutil.cpp so it can be used from more places.
* Removed duplicate declaration of osd_get_clipboard_text and made the
 function noexcept (including fixing implementations).
* Made macOS implementation of osd_get_clipboard_text skip the encoding
 conversion if it finds UTF-8 text first.
* Changed the default -uimodekey setting so it doesn't lose the "not
 shift" that stops the default from interfering with UI paste.

Various bug fixes:
* util/unicode.cpp: Fixed the version of utf8_from_uchar that returns
 std::string blowing up on invalid codepoints.
* util/bitmap.h: Fixed wrapping constructors for indexed bitmaps taking
 the wrong parameter type (nothing was using them before).
* util/bitmap.cpp: Fixed potential use-after-free issues with bitmap
 palettes.
* emu/input.cpp, emu/inputdev.cpp: Log 1-based device numbers, matching
 what's shown in the internal UI and used in tokens in CFG files.
* emu/emumem.cpp: Added the bank tag to a fatal error message where it
 was missing.

docs: Reworked and expanded documentation on configuring stable
controller IDs.

For translators, the changes are quite minor:
* There's a menu item for copying a device ID to the clipboard, and
 associated success/failure messages.
* There's the menu item for setting the software list file search path.
* One of the lines in the software selection menu heading has changes as
 it could be interpreted as implying it showed a software list name.
[docs/source/advanced]ctrlr_config.rst devicemap.rst
[docs/source/techspecs]luareference.rst
[docs/source/usingmame]mamemenus.rst
[language/Afrikaans]strings.po
[language/Albanian]strings.po
[language/Arabic]strings.po
[language/Basque]strings.po
[language/Belarusian]strings.po
[language/Bosnian]strings.po
[language/Bulgarian]strings.po
[language/Burmese]strings.po
[language/Catalan]strings.po
[language/Chinese_Simplified]strings.po
[language/Chinese_Traditional]strings.po
[language/Croatian]strings.po
[language/Czech]strings.po
[language/Danish]strings.po
[language/Dutch]strings.po
[language/English]strings.po
[language/Estonian]strings.po
[language/Finnish]strings.po
[language/French]strings.po
[language/French_Belgium]strings.po
[language/French_Canada]strings.po
[language/Georgian]strings.po
[language/German]strings.po
[language/Greek]strings.po
[language/Hebrew]strings.po
[language/Hindi]strings.po
[language/Hungarian]strings.po
[language/Indonesian]strings.po
[language/Italian]strings.po
[language/Japanese]strings.po
[language/Korean]strings.po
[language/Latvian]strings.po
[language/Lithuanian]strings.po
[language/Macedonian]strings.po
[language/Norwegian]strings.po
[language/Persian]strings.po
[language/Polish]strings.po
[language/Portuguese]strings.po
[language/Portuguese_Brazil]strings.po
[language/Romanian]strings.po
[language/Russian]strings.po
[language/Serbian]strings.po
[language/Serbian_Cyrillic]strings.po
[language/Slovak]strings.po
[language/Slovenian]strings.po
[language/Spanish]strings.po
[language/Spanish_Mexico]strings.po
[language/Swedish]strings.po
[language/Thai]strings.po
[language/Turkish]strings.po
[language/Ukrainian]strings.po
[language/Vietnamese]strings.po
[scripts/src/osd]sdl.lua
[src/emu]emumem.cpp inpttype.ipp input.cpp inputdev.cpp natkeyboard.cpp render.cpp
[src/frontend/mame]luaengine.cpp luaengine.h luaengine.ipp luaengine_render.cpp
[src/frontend/mame/ui]barcode.cpp dirmenu.cpp filecreate.cpp filesel.cpp filesel.h inputdevices.cpp selector.cpp selmenu.cpp selsoft.cpp simpleselgame.cpp swlist.cpp swlist.h ui.cpp utils.h
[src/lib/util]bitmap.cpp bitmap.h unicode.cpp
[src/osd]osdcore.h
[src/osd/modules/file]winfile.cpp winfile.h winptty.cpp
[src/osd/modules/font]font_dwrite.cpp
[src/osd/modules/input]input_sdlcommon.cpp input_windows.cpp
[src/osd/modules/lib]osdlib.h osdlib_macosx.cpp osdlib_unix.cpp osdlib_win32.cpp osdobj_common.cpp
[src/osd/windows]winutil.cpp winutil.h


Previous 199869 Revisions Next


© 1997-2024 The MAME Team