Jason Felice
|
c78cd84ea4
|
Fix undefined behavior in notify_fatal_error
|
2018-10-05 10:10:14 +01:00 |
|
Maxime Coste
|
da9794e272
|
Fix xmessage handling in assert.cc
The return value of the system call is not directly the exit value
of the process, but a status that needs to be inspected with some
macros.
|
2017-07-17 18:13:20 +09:00 |
|
Maxime Coste
|
e44f95820e
|
Fixes some clang-tidy warning and add a few missing meta.hh include
|
2017-03-16 23:34:02 +00:00 |
|
Maxime Coste
|
dcd8f6ef01
|
Apply clang-tidy modernize to the codebase
|
2017-01-08 22:39:01 +00:00 |
|
Maxime Coste
|
2214421df5
|
Use a StringView in notify_fatal_error
|
2016-02-29 22:15:36 +00:00 |
|
Maxime Coste
|
97b871d49e
|
Tweak notify_fatal_error message box title, might not be an assert failed
|
2015-08-14 13:16:06 +01:00 |
|
Maxime Coste
|
e6f0e8ef75
|
Move write_debug to buffer utils as write_to_debug_buffer
|
2015-06-06 11:54:48 +01:00 |
|
Maxime Coste
|
8f6fc6a0f3
|
Port even more code to use format function
|
2015-06-01 21:15:59 +01:00 |
|
Maxime Coste
|
be9da616df
|
Return a String in Backtrace::desc
|
2015-05-29 13:35:54 +01:00 |
|
Maxime Coste
|
3c86484c4e
|
Extract xmessage/MessageBox support in a notify_fatal_error function
|
2015-05-29 13:35:09 +01:00 |
|
Maxime Coste
|
faf55c6540
|
Only try to run xmessage on Linux
|
2015-05-27 18:45:48 +01:00 |
|
Maxime Coste
|
e18c57cfd3
|
Include backtrace in debug info in on_assert_failed
|
2015-05-27 13:56:27 +01:00 |
|
Maxime Coste
|
519254dfdc
|
More useage of the format function
|
2015-03-30 23:56:33 +01:00 |
|
Maxime Coste
|
2747c4dd3e
|
exception::what returns a StringView rather than a const char*
|
2015-03-13 13:15:51 +00:00 |
|
Maxime Coste
|
5497064f9c
|
Fix missing include in assert.cc
|
2014-11-20 19:32:58 +00:00 |
|
Maxime Coste
|
fc4142178f
|
Port more code to StringView instead of const String&
|
2014-10-20 19:18:38 +01:00 |
|
Maxime Coste
|
84c30c4b8a
|
Minor formatting changes
|
2014-04-01 18:54:46 +01:00 |
|
Maxime Coste
|
c8119885fa
|
Use Win32 MessageBox for asserts on cygwin
|
2014-01-08 19:23:59 +00:00 |
|
Maxime Coste
|
c764fa7e25
|
write assert failed info to debug buffer
|
2013-11-17 13:25:58 +00:00 |
|
Maxime Coste
|
26f0fd4cc6
|
Use more std::* for string handling
|
2013-05-13 18:43:38 +02:00 |
|
Maxime Coste
|
35d0d5b2ea
|
exceptions: use const char* what() instead of String description()
|
2013-04-11 13:57:35 +02:00 |
|
Maxime Coste
|
2f9e061252
|
assert: add some debug info in the message
|
2013-01-23 13:45:44 +01:00 |
|
Maxime Coste
|
28c8acf80a
|
assert: throw if launching xmessage fails
|
2012-10-19 03:53:10 +02:00 |
|
Maxime Coste
|
c1387dc592
|
assert: simplify header
|
2012-10-17 17:01:08 +02:00 |
|
Maxime Coste
|
f8abbfbb44
|
assert: use xmessage to block on assert failed
|
2012-10-16 16:16:32 +02:00 |
|
Maxime Coste
|
9337938403
|
replace std::string references with String
|
2012-04-14 01:17:09 +00:00 |
|
Maxime Coste
|
030c5caf0a
|
assert: custom implementation
|
2011-09-09 19:24:18 +00:00 |
|