summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/lib/osdlib_unix.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Miscellaneous improvements: Vas Crabb2023-04-141-5/+5
| | | | | | | | | | | | | | infoxml.cpp: Thread device processing. Gives about a 10% speed improvement overall, and avoids the need to mess with the locale of the ultimate output stream. debugger/win/consolewininfo.cpp: Show image mount/create error messages on the console. emu/devdelegate.h, util/delegate.h: Added deduction guides for common delegate creation patterns (only used in sega/segas16a.cpp so far). More noexcept on things that have no business throwing exceptions.
* Patched up some gaps in functionality and fixed some bugs. Vas Crabb2022-09-021-5/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Bug fixes and usablility enhancements: Vas Crabb2021-01-291-5/+17
| | | | | | * Declare intent when requesting virtual memory (for NetBSD, 7712) * Improve scrolling behaviour in Qt debugger (MT07795) * Added prompts to input mapping menu to make it less intimidating
* Fix DRC build breakage under Emscripten. [Justin Kerk] Justin Kerk2021-01-061-0/+2
|
* cpu: Allow recompilers to work with W^X policy Vas Crabb2021-01-061-57/+77
|
* use C++ library includes (nw) firewave2020-01-221-2/+2
|
* (nw) add doxygen comments for a bunch of core stuff, and convert a bunch of ↵ Vas Crabb2019-10-161-3/+3
| | | | comments to doxygen format
* Changed osd_get_clipboard_text() to return std::string (#5615) npwoods2019-09-111-6/+5
| | | | | | | | | | * Changed osd_get_clipboard_text() to return std::string This change has only been tested on Windows. The Un*x/Mac versions were made blindly; they might not even build. This needs to be checked prior to merging. * Fixing Mac OS X build (hopefully)
* Fix crash when running a DRC CPU core under Emscripten (#2794). [Justin Kerk] Justin Kerk2018-07-151-2/+2
|
* Discord plugin try 2 (#3640) cracyc2018-06-081-0/+9
| | | | | | | | | | | * plugins/discord: discord presence plugin [Carl] * plugins/discord: use domain sockets and pipes [Carl] * winptty: fix connecting to existing socket (nw) plugins/discord: show pause state (nw) * plugins/discord: fix pause behavior (nw)
* (nw) et3400: use keypad rather than keyboard type for keypad inputs; don't ↵ Vas Crabb2018-01-101-2/+1
| | | | raise sigtrap in non-debug builds
* let osd_process_kill just kill, rest is on osd users, watchdog only in this ↵ Miodrag Milanovic2016-11-111-2/+0
| | | | case (nw)
* No need for osd_malloc, osd_malloc_array and osd_free (nw) Miodrag Milanovic2016-11-111-42/+1
| | | | MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
* MT6284 flush stdout/stderr before killing process Vas Crabb2016-07-081-1/+4
|
* Not needed anyway (nw) Vas Crabb2016-06-301-1/+0
|
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-3/+2
|
* Introduce dynamic_module Giuseppe Gorgoglione2016-06-111-0/+75
| | | | | This is a central cross-platform facility to dynamically bind functions from shared libraries. Updated all OSD modules to use it.
* RIP sdlinc.h couriersud2016-05-061-1/+1
|
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-1/+1
|
* Fix linux compile (nw) Miodrag Milanovic2016-04-031-1/+1
|
* move clipboard handling on proper place (nw) Miodrag Milanovic2016-04-031-0/+27
|
* Don't need this either (nw) Justin Kerk2016-03-171-4/+0
|
* netlist updates: couriersud2016-03-141-1/+2
| | | | | | | | | | - First steps to move towards c++11. - Base plist on std::vector - Replace pstack with std::stack - Remove pnamed_list - use c++ "for each" in a number of places - Fixed two "time bombs" [couriersud]
* use chrono calls for time handling in core (nw) Miodrag Milanovic2016-03-031-66/+1
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+202