Commit Graph

52 Commits

Author SHA1 Message Date
Henrik Rydgård
a3252078e6 Reorder the information in assert lines by importance, to avoid the juicy stuff getting cut out 2023-01-02 16:43:01 +01:00
Henrik Rydgård
800bc91a8a Supply some extra info in asserts (currently game ID and name).
Google Play Console can now show this along with the assert stacktrace.
2022-12-17 22:14:47 +01:00
Unknown W. Brackets
e266eb78ad Common: Avoid assert hang in CI. 2022-01-29 18:39:21 -08:00
Henrik Rydgård
0bf6bd9175 More Log.h cleanup. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
9561a4f80a Move MsgHandler into Log.cpp/h 2020-08-16 14:48:54 +02:00
Henrik Rydgård
5704ebfb61 More cleanup of Log.h, move AndroidAssert into MsgHandler.cpp/h. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
e8a9845d93 First step of cleaning up Log.h. Plus a few other bits and bobs. 2020-08-16 14:48:54 +02:00
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Henrik Rydgård
b22083e7a6 Even more base/logging.h removal and fixes 2020-08-15 19:09:01 +02:00
Henrik Rydgård
0fcc0994b4 Recategorize some logging, in preparation for what's to come. 2020-08-15 11:51:22 +02:00
Henrik Rydgård
dc2370ab6b Buildfix 2020-07-19 21:46:46 +02:00
Henrik Rydgård
c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Henrik Rydgård
f9cef5b6b2 Partly clean up SDL resize code, should help #11974 2020-06-24 01:06:01 +02:00
李通洲
d66c235649
macOS: Fix build 2020-03-25 19:10:36 +08:00
Henrik Rydgård
75cdc11fdb Text input: Clearly use 16-bit chars like the PSP, don't rely on wchar_t. 2020-03-22 16:44:19 +01:00
Henrik Rydgård
cc3ba1bbf7 Fix _assert_ on Android to assert properly 2017-11-24 13:52:53 +01:00
Henrik Rydgård
acdb89c898 Make our release mode asserts actually fire properly in release mode again... 2017-11-21 21:06:57 +01:00
Henrik Rydgård
2e9d59ad10 Android: Use __android_log_assert facility to get pretty message-asserts into crash dumps. 2017-11-21 18:06:26 +01:00
Henrik Rydgård
27a60f5e58 Fix message asserts on Android. Add more of them to check things in Vulkan code. 2017-11-20 12:11:47 +01:00
Henrik Rydgard
4f707a1022 Simplify logging code some more. Cleaner log output on Android. 2017-03-18 10:47:36 +01:00
Henrik Rydgård
eb73a28140 Add new log category FRAMEBUF 2017-03-13 13:55:29 +01:00
Henrik Rydgård
a895936913 More log cleanup. Fix resize issue: Fixes #9392 2017-03-06 13:50:22 +01:00
Henrik Rydgård
440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Florent Castelli
8c3552de74 cmake: Detect features at compile time
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Unknown W. Brackets
9cda186f4b Remove __TIME__ from Log.h.
This seems to cause more ccache misses, and I don't think it's terribly
useful really.
2016-05-14 10:40:21 -07:00
Unknown W. Brackets
41631eb2b1 Try a different format of HLE logging. 2015-03-22 20:49:42 -07:00
Henrik Rydgard
0264ff62f0 Update native with GL-lost-management (UI comes back on Android after switching away) 2014-09-06 13:50:50 +02:00
Henrik Rydgard
215abfb951 Some cleanup in /Common 2014-09-06 10:47:25 +02:00
Sacha
6ce3765b12 Sailfish: More compatibility with SailFish OS. It also needs stddef where Maemo does.
Set packaging by default for iOS with b.sh.
2014-07-24 23:20:09 +10:00
Sacha
b8432c0cc5 Blackberry: Link with pie (required for 10.3?). Fix debug build. Cmake: Show compile type (debug, release) in output. 2014-07-07 04:04:26 +10:00
Unknown W. Brackets
0a33eb4c42 Fix missing log semicolons only affecting logging. 2014-06-29 19:09:39 -07:00
Sacha
d50f08fb6e Fix Symbian debug build. 2014-06-05 18:15:24 +10:00
Sacha
4c8a615f76 CMake: Make the code more platform-agnostic and cleaner. 2014-05-31 01:22:11 +10:00
sum2012
d96fc0858c Enable produce DEBUG_LOG rather tha INFO_LOG without install Visual studio express in windows
Default is INFO_LOG
More people can post DEBUG_LOG.
2014-02-16 12:04:31 +08:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard
324cde5a79 Let's actually use the log category mechanism. A first step. 2013-09-07 21:19:21 +02:00
Henrik Rydgard
78d3ee3d6a Misc cleanup, mostly logging code 2013-09-07 13:01:19 +02:00
Aapo Rantalainen
2b965a6f03 Maemo5 support 2013-03-22 09:15:00 +02:00
Henrik Rydgard
5293c152c6 Untested support for Android-x86. No idea if this actually works. 2013-03-21 20:52:33 +01:00
Unknown W. Brackets
a34cf0bb79 Add a VERBOSE logging level, for noisy logging.
The debug log is hard to look at because it has so much unneeded info.
2013-03-10 22:32:48 -07:00
Sacha
dde656ddc6 Improve Qt build. Fix for pandora build. Only show controls overlay by default for mobile platforms (Qt). 2013-01-15 01:13:53 +10:00
Henrik Rydgard
05faceca3a Seems more platforms want <signal.h> 2013-01-07 00:04:54 +01:00
Henrik Rydgard
bc214dcf37 Merge branch 'master' into mediaengine
Conflicts:
	Common/LogManager.cpp
	Core/CMakeLists.txt
	Core/Core.vcxproj
	Core/Core.vcxproj.filters
	Core/CoreParameter.h
	Core/HLE/sceAudio.cpp
	Core/HLE/sceKernel.cpp
	Core/HLE/sceKernelThread.cpp
	Core/HLE/sceMpeg.cpp
	android/jni/Android.mk
2012-12-17 18:48:32 +01:00
Henrik Rydgard
1400237d0e Lots of various work on sceSas. ADSR envelopes, correct looping, etc etc... Still far from perfect but better. 2012-12-17 18:07:25 +01:00
Sacha
a1781b854a Symbian support for project.
New UNUSABLE_MMAP code path for platforms that cannot use the required flags (Xbox 360, Symbian). Falls back to malloc() instead.
N1 define for compilers (GCCE) that don't like to assume (int)-1 will safely cast to (char)-1.
Miscellaneous space->tab fixes.
2012-12-13 13:15:20 +10:00
Henrik Rydgard
6102e0f143 Fix silly issue with logging in debug mode 2012-11-30 22:32:50 +01:00
Henrik Rydgard
e4c0d2d5cd printf Asserts, so they end up in the test logs. 2012-11-30 22:32:49 +01:00
Henrik Rydgard
1127c72124 some initial mediaengine work 2012-11-12 20:53:16 +01: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