npwoods
3d553eda60
Attempted to sanitize/rationalize how we access UTF-8 command line arguments ( #2532 )
...
Specifically, this creates a call osd_get_command_line() that returns UTF-8 command line arguments as std::vector<std::string>. On non-Windows platforms, this does nothing more than build the vector. On Windows, this invokes GetCommandLineW() and CommandLineToArgvW(). This also attempts to unwind usage of wmain()/_tmain() on Windows, which is not standard.
Related to this, this fixes a bug in Imgtool; specifically, non-7 bit ASCII was not being handled correctly in Windows.
This is really an admission that the way that Windows handles Unicode and command line arguments sucks, and it is my belief that having a wmain() or _tmain() declaration specific for Windows is a worse solution. C'est la vie.
I'm very open to the idea that src/osd/osdcore.[cpp|h] is not the best place to do this. Let me know if I should move it.
2017-09-18 20:28:53 -04:00
yz70s
5ebe819cce
In the windows debugger log window add a Log/Clear menu to remove all logged messages (nw)
2017-07-30 19:09:59 +02:00
Joshua Root
97d5034d1b
Fix include path with USE_LIBSDL on macOS
...
The cflags will contain an include path ending in "SDL2", not just "SDL", and removing just the latter leaves a stray "2" on the end.
2017-07-22 22:27:34 +10:00
dankan1890
0e638ad0a2
Lua scripts cleanup.
2017-05-14 14:20:38 +10:00
Olivier Galibert
a2557f1b02
Remove emu.h from headers (nw)
...
Per Vas' request. If the compile fails for you (i'm thinking osx and
windows native debuggers here in particular), add '#include "emu.h"'
as first include of the cpp files that fail.
Due to our use of precompilation and forced inclusion, emu.h must be
included as the very first non-comment thing we do if we want to be
sure msvc compiles are identical to gcc/clang ones. Doing it directly
instead of through an include increases the correctness probability by
a magnitude.
2017-02-11 18:31:20 +01:00
Julian Sikorski
4c6cae2570
Fixed building using system portaudio
2017-01-26 19:11:46 +11:00
Vas Crabb
192c09b374
comma (nw)
2017-01-23 19:42:19 +11:00
Vas Crabb
2d6477f872
This isn't behaving how I expect, investigate another time (nw)
2017-01-23 19:37:51 +11:00
Vas Crabb
110bc692fa
portaudio needs COM (nw)
2017-01-23 19:12:47 +11:00
inte alls
cd03a64284
Initial PortAudio backend with build script changes to support library version 20161030
2017-01-11 20:24:00 +01:00
Brad Hughes
b47ec24df6
Move special windows.h include directives to build defines (nw)
2016-12-28 15:07:28 -05:00
Vas Crabb
7238415d1f
srcclean (nw)
2016-11-27 09:56:49 +11:00
Brad Hughes
2e49823a06
Add basic keyboard input to UWP (nw)
2016-11-11 12:58:41 -05:00
Miodrag Milanovic
7c765ea147
No need for osd_malloc, osd_malloc_array and osd_free (nw)
...
MALLOC_DEBUG not applicable anymore since we use new to allocate in 99.9% of cases
2016-11-11 16:12:01 +01:00
Brad Hughes
bcabf45f08
UWP builds again but by no means working (nw)
2016-11-10 16:26:05 -05:00
Miodrag Milanovic
9c364cdfa9
Adding video and window code to UWP(nw)
2016-11-10 14:53:56 +01:00
Miodrag Milanovic
a18497e7a2
Some more work on UWP (nw)
2016-11-10 13:13:51 +01:00
Miodrag Milanovic
0d1f5b6be4
Make 3rdparty compile for UWP and start adding new OSD for UWP based on previous Brad work (nw)
2016-11-09 14:53:19 +01:00
Miodrag Milanovic
e2d58b6a16
ASIO - header only mode (nw)
2016-11-02 14:34:06 +01:00
Brad Hughes
fd94538c21
Changing spaces to tabs for fac14f5
(nw)
2016-10-09 19:51:12 -04:00
Brad Hughes
fac14f51d8
Fix SDL build on windows: asio.hpp requires _WIN32_WINNT (nw)
2016-10-09 19:45:17 -04:00
Miodrag Milanovic
c0a5494de5
Replaced code usage of libuv with asio library (nw)
2016-10-07 14:15:01 +02:00
Brad Hughes
bf52d11826
Convert OSD monitor info to modules plus add DXGI implementation
2016-09-14 08:32:05 -04:00
Vas Crabb
234e91f9fb
Add Lua-cleaning ability to srcclean
2016-08-30 14:57:38 +10:00
R. Belmont
13c8e76cf7
Merge pull request #1093 from stevenc99/kfreebsd
...
GNU/kFreeBSD support
2016-07-16 06:09:32 -04:00
R. Belmont
72b19e0c25
Merge pull request #1072 from oxc/pkg_config_from_env
...
Take pkg-config path from env if defined
2016-07-16 06:04:52 -04:00
Steven Chamberlain
ad91a1391c
qtdbg: compile with -fPIC on freebsd also
2016-07-13 13:31:11 +01:00
Vas Crabb
32873fc1dd
balance configuration macros in genie scripts
2016-07-13 20:25:11 +10:00
Bernhard Frauendienst
cb5495f738
Take pkg-config path from env if defined
2016-07-09 22:49:30 +02:00
Brad Hughes
f37865b329
Add a couple msys2 updated mingw headers to winsdk-override to support linux cross-compile with stock mingw-w64 (nw)
2016-07-02 16:03:01 -04:00
Vas Crabb
5cee9e9bc4
POSIX implementation for new directory read features, cleanup of Windows implementation, return directory handle as smart pointer, fix full build [Vas Crabb]
2016-06-25 03:35:23 +10:00
Giuseppe Gorgoglione
58dc78b6eb
Introduce dynamic_module
...
This is a central cross-platform facility to dynamically bind functions from shared libraries.
Updated all OSD modules to use it.
2016-06-11 20:14:09 +02:00
Miodrag Milanovic
ebd8e7d74b
Added initial ninja support to use add MAKETYPE=ninja to compile command line (nw)
...
Custom build tasks are not yet working
2016-06-09 13:46:36 +02:00
Miodrag Milanovic
dba7c1ac94
Placed back old output system as module "-output windows" need more things cleaned (nw)
2016-06-05 21:11:56 +02:00
Jeffrey Clark
2e8521cde0
fix android target libSDL2 circular ref (nw)
...
also rename ANDROID_NDK_ROOT -> ANDROID_NDK_LLVM to point directly to
prebuilt host compiler (removes windows only restriction).
2016-06-04 00:34:43 -05:00
Miodrag Milanovic
e3ff63cdda
no deps between osd and frontend, internal debugger removed (nw)
2016-05-06 14:01:27 +02:00
Miodrag Milanovic
ff2c95e3bf
enabled internal debugger, but this would need to go in time, it is too coupled with UI (nw)
2016-04-23 14:22:46 +02:00
Miodrag Milanovic
1c726824f2
Split UI and frontend part from core [Miodrag Milanovic]
2016-04-23 11:26:47 +02:00
Brad Hughes
ef4f80b4a4
Create diagnostic module for profiling and crash diagnostics
2016-04-17 16:22:51 -04:00
therealmogminer@gmail.com
250a5cc805
Add AVI writing to bgfx, nw
2016-04-17 19:16:14 +02:00
mahlemiut
74dd3287e5
Added ImGui based debugger. [Barry Rodewald]
...
Note: Currently only works with the BGFX renderer. Anyone who wishes to
write a ImGui backend for other renderers are welcome to do so.
2016-04-17 23:50:50 +12:00
Miodrag Milanovic
932fb5a668
Revert "Pass explicit -qt5 to all moc and qmake calls."
...
This reverts commit 3176347abc
.
2016-04-16 15:20:42 +02:00
Miodrag Milanović
0876691a6f
Merge pull request #813 from jmallach/qt5-build
...
Pass explicit -qt5 to all moc and qmake calls.
2016-04-16 08:57:01 +02:00
Miodrag Milanovic
37c94e3373
Update windows to use platform independent watchdog implementation (nw)
2016-04-15 16:01:35 +02:00
Miodrag Milanovic
59662e6c71
moved osdsync to root of OSD, removed osdmini (nw)
2016-04-15 15:19:24 +02:00
Sune Vuorela
3176347abc
Pass explicit -qt5 to all moc and qmake calls.
...
Some systems like Debian, Ubuntu and other derivatives, expect qtchooser
will be used to select the appropriate Qt version, as Qt5 and Qt4 can
co-exist.
As MAME's build system does calls to moc and qmake directly, and Qt5 is
now the required version for the debugger, pass -qt5 to all moc and qmake
calls to avoid the build fail.
2016-04-15 11:43:52 +02:00
therealmogminer@gmail.com
99aa7eacd7
bgfx: Add data-driven render target clearing [Ryan Holtz]
2016-04-14 17:22:24 +02:00
Miodrag Milanovic
ffbe0c66be
Basic TCP server based on libuv [Inaki Baz Castillo,Miodrag Milanovic]
2016-04-10 17:03:51 +02:00
Miodrag Milanovic
a14994c6c0
Added skeleton for network output (nw)
2016-04-09 15:19:43 +02:00
Miodrag Milanovic
2f974586d6
Added none and console output providers (nw)
2016-04-09 15:19:43 +02:00