Commit Graph

41 Commits

Author SHA1 Message Date
Unknown W. Brackets
dd98e877d4 Windows: Fix over/under write for multibyte chars. 2017-10-14 21:45:07 -07:00
twinaphex
78b6636a2b Remove this too - we will use UNICODE and _UNICODE defines for
mingw build
2017-08-29 18:49:36 +02:00
twinaphex
418e341b32 Patches to make it possible to compile with mingw, pt. 1 2017-08-29 18:27:46 +02:00
Unknown W. Brackets
90f3ae14e0 Windows: Simplify host shutdown.
The whole nativeHost/oldHost thing is unnecessary.

This also fixes gl lost holder mismatches.
2017-04-29 12:04:54 -07:00
Henrik Rydgard
961157551a Another buildfix 2017-03-18 11:38:25 +01:00
Henrik Rydgard
7c0761ef15 Buildfix 2017-03-18 11:11:27 +01:00
Henrik Rydgard
4f707a1022 Simplify logging code some more. Cleaner log output on Android. 2017-03-18 10:47:36 +01:00
Henrik Rydgard
fcbc20f240 Small changes to make Common and Core build under my preliminary UWP setup. 2017-02-24 18:59:41 +01:00
Henrik Rydgård
510228aab9 Turn off color in iOS logs 2017-01-25 17:14:16 +01:00
Unknown W. Brackets
87eadad326 Fix a failed lock release warning. 2016-03-20 14:16:54 -07:00
Unknown W. Brackets
da78ec0b4d Use USING_WIN_UI for desktop Windows console. 2016-01-03 15:10:50 -08:00
gmvbif
dff476c4f4 Make field for HWND in ConsoleListener 2015-12-26 09:54:34 +03:00
gmvbif
ae1c1a0295 Fixed some errors from PVS-Studio in Common project
Color conversion assigned 'a' twice.
Console listener use local variable with the same name a class member.
Some additionals to nocopy for FileUtils and mutex
2015-12-25 09:49:26 +03:00
Henrik Rydgard
fdea85138c Update project files, fix minor issues for VS 2015 2015-09-06 19:32:15 +02:00
Henrik Rydgard
86a02fed61 Minor cleanup 2015-09-05 19:42:58 +02:00
Henrik Rydgard
38609f3e6b Cleam up thread names a bit, name the Main thread.
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Ced2911
418d2ac8ce [xbox] 360 support for common 2014-03-02 12:15:10 -08:00
Unknown W. Brackets
77913c2d56 Don't flash open the console when disabled. 2013-10-15 22:27:03 -07:00
adrian17
5f86bc44d4 Deleted some doubled #includes. 2013-09-27 21:38:07 +02:00
Arthur Blot
f424155f50 Linux buildfix 2013-08-31 01:32:56 +02:00
kaienfr
9ea27dd7ba Disable log console close button and ctrl+C effect
Avoid closing the application when the log console is closed.
2013-08-30 16:10:35 +02:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Unknown W. Brackets
342bad8402 Fix audio crash on shutdown, log thread names more. 2013-08-18 23:25:14 -07:00
Unknown W. Brackets
7b7801d59a Switch to including Windows.h from an intermediate.
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
aquanull
bb5fce600e Fix/prevent crashes when MainWindow is closed before LoadFile() completes, or when it gets certain messages before TheThread completes initialization.
Fix missing ppsspp.ini loading log (only 1 unimportant line though).
Fix loading ui_atlas.zim failure when [General]Browse = True is set in ppsspp.ini.
Some other minor fixes as well.
2013-06-15 13:06:43 +08:00
Unknown W. Brackets
d6c94eb9a4 Keep only one actual console writer thread.
Fixes issues with colors when multiple log types (e.g. HLE and ME or G3D)
were used nearby each other.  Oops.
2013-06-01 22:18:21 -07:00
Sacha
8dd683f63f Fix name collision when building on Windows. Was preventing Blackberry from building. 2013-05-03 16:10:23 +10:00
aquanull
b3bf849a89 Fix showing/hiding Log Console on Windows
It appears to me that sometimes the first call to ShowWindow() is hindered by STARTUPINFO or something, so I just "neutralize" them with a dummy call. There might be better solutions, but this works for now.
2013-04-22 02:59:27 +08:00
Unknown W. Brackets
de7ada1982 Fix some x64 type warnings. 2013-02-24 10:39:06 -08:00
Henrik Rydgard
8749ad0cb9 Warning fixes, very minor updates to shader generators. 2013-02-06 19:04:28 +01:00
Unknown W. Brackets
d13e08423a Fix a console log crash when color is on the edge. 2013-01-31 22:58:16 -08:00
Unknown W. Brackets
ac59efad11 Use memcpy for console log to avoid terminators. 2013-01-31 22:25:28 -08:00
Unknown W. Brackets
bc05f7fc85 Fix a stupid typo duplicating log messages. 2013-01-31 21:55:36 -08:00
Unknown W. Brackets
f73c67b8b8 Handle it better if the console log overflows. 2013-01-30 21:21:32 -08:00
Unknown W. Brackets
86e66a8e2d Use a char ringbuffer not ptrs in console logging. 2013-01-30 21:21:31 -08:00
Unknown W. Brackets
726196bb66 Use a ringbuffer for the logging instead. 2013-01-30 21:21:31 -08:00
Unknown W. Brackets
fdd8a3cf5f Don't write more lines than the log can show. 2013-01-30 21:21:30 -08:00
Unknown W. Brackets
7fa89777fc Attempt to put the console in a thread for speed? 2013-01-30 21:21:30 -08:00
Unknown W. Brackets
15793fe532 More minor static analysis warning fixes. 2012-12-21 17:00:47 -08:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00