Ben Anderson
|
80d6e78069
|
Code cleanups I keep forgetting to commit...
|
2005-03-26 16:39:53 +00:00 |
|
Ted Percival
|
93120e9c9e
|
initialise finalMask to zero (was uninitialised)
|
2005-03-25 03:09:06 +00:00 |
|
Ben Anderson
|
96d6cdd9cc
|
XSync can and often does cause events e.g. input events to be dropped, don't do it.
|
2005-03-17 02:12:57 +00:00 |
|
Ben Anderson
|
78b742a7da
|
X True, not C++ true
|
2005-03-16 02:40:12 +00:00 |
|
Ben Anderson
|
42bcdcab4b
|
Forgot something...
|
2005-03-16 02:37:02 +00:00 |
|
Ben Anderson
|
18296126df
|
Do things a little closer to the way SDL does them (but not much), magical hack that fixes performance issues for X11 on some (all?) systems, use variables instead of functions for Dpy and Win in X11Helper, a couple formatting tweaks.
|
2005-03-16 02:23:07 +00:00 |
|
Ben Anderson
|
bd331e4d0b
|
Apparently a semicolon is supposed to be there (odd, it compiled on GCC 3.4 without one...)
|
2005-03-14 12:18:28 +00:00 |
|
Ben Anderson
|
a95cb42339
|
Reserve a whole 1k for that error message. They're more descriptive (read: long) than I thought
|
2005-03-14 00:00:29 +00:00 |
|
Ben Anderson
|
c58fefcfff
|
Catch and log X11 protocol errors; they might be useful in debugging.
|
2005-03-13 23:50:12 +00:00 |
|
Ben Anderson
|
634e0a5b28
|
I should've done this a little differently (intuitively). Good catch, Glenn.
|
2005-03-13 22:08:55 +00:00 |
|
Ben Anderson
|
68799a8820
|
Use iterators, etc. properly. It's painfully obvious I don't code C++ much.
|
2005-03-13 21:08:52 +00:00 |
|
Ben Anderson
|
c70d8cdb86
|
Whoops, forgot an initializer, and forgot to destroy the old window...
|
2005-03-13 18:53:07 +00:00 |
|
Ben Anderson
|
62c0288f66
|
Design change -- the callback system is unnecssary, all InputHandler_X11 needs to do is unmask events, which is already available through OpenMask(). Also, a few idle formatting tweaks.
|
2005-03-13 17:54:13 +00:00 |
|
Ben Anderson
|
d466d31196
|
Fix one or two mistakes; allow mask setting even if no winow has been created yet.
|
2005-03-13 16:00:38 +00:00 |
|
Ben Anderson
|
a0b45c084d
|
Added parts related to event mask. Should be feature complete and the header more or less finalized now, but who knows if it as much as compiles, leave alone runs or works...
|
2005-03-13 05:32:16 +00:00 |
|
Ben Anderson
|
cea5074135
|
Initial (INCOMPLETE!) X11 helper for the upcoming InputHandler_Xlib and LowLevelWindow_Xlib. I should finish this in the next week.
|
2005-03-13 04:02:37 +00:00 |
|
Glenn Maynard
|
fafdaedf0c
|
InstallExceptionHandler
|
2004-12-01 02:45:14 +00:00 |
|
Glenn Maynard
|
48fda990cd
|
update
|
2004-10-27 19:52:51 +00:00 |
|
Glenn Maynard
|
f9bcb3c78b
|
fix 64-bit address output
|
2004-10-22 22:42:28 +00:00 |
|
Glenn Maynard
|
14e9e8c64c
|
make x86-64 backtracing work
|
2004-10-22 22:16:49 +00:00 |
|
Glenn Maynard
|
c35aa22588
|
cleanup
|
2004-10-22 21:45:44 +00:00 |
|
Glenn Maynard
|
8b6b4f48fb
|
rename eip/ebp/esp -> ip/bp/sp, since it's used for x86-64 too (rip/rbp/rsp)
|
2004-10-22 21:39:26 +00:00 |
|
Glenn Maynard
|
68289e66e7
|
type fix for x86-64
|
2004-10-22 21:33:02 +00:00 |
|
Glenn Maynard
|
ee4b509ac5
|
size fixes for x86-64
|
2004-10-22 20:33:25 +00:00 |
|
Glenn Maynard
|
161b9f3f9a
|
more portable?
|
2004-10-10 14:14:29 +00:00 |
|
Glenn Maynard
|
11f1b49d7a
|
fix crash handler crashes
|
2004-09-30 12:35:13 +00:00 |
|
Glenn Maynard
|
685c83543a
|
cache tid in tls
|
2004-09-09 03:23:16 +00:00 |
|
Glenn Maynard
|
8e7164dae5
|
improve backtracing
|
2004-09-08 22:39:28 +00:00 |
|
Glenn Maynard
|
22570a4c33
|
cleanup
|
2004-09-08 21:19:13 +00:00 |
|
Glenn Maynard
|
4d829e3d29
|
wait, no. It's GetThreadBacktraceContext's job to suspend the thread.
|
2004-09-08 21:17:43 +00:00 |
|
Steve Checkoway
|
03e703e447
|
Fix OS X compile.
|
2004-09-08 08:35:07 +00:00 |
|
Glenn Maynard
|
96d780514e
|
ForceCrashHandlerDeadlock(GetInvalidThreadId()) support
|
2004-09-08 08:08:06 +00:00 |
|
Glenn Maynard
|
8c92f9ec0f
|
cleanup, simplify
|
2004-09-08 07:34:38 +00:00 |
|
Glenn Maynard
|
30a5054533
|
fix mutexes under valgrind; type fix
|
2004-09-08 04:45:16 +00:00 |
|
Steve Checkoway
|
98580f128b
|
Remove Exceptions.
|
2004-09-07 14:00:35 +00:00 |
|
Steve Checkoway
|
f08a2d00c9
|
Remove Exceptions since OS X does not catch them. Instead, it waits for the signal.
|
2004-09-07 13:44:06 +00:00 |
|
Steve Checkoway
|
54f869a424
|
If it is invalid, GetThreadBacktraceContext will fail anyway.
|
2004-09-07 13:25:47 +00:00 |
|
Steve Checkoway
|
7b2ec2cee3
|
Use uint64_t except where other types are expected.
|
2004-09-07 12:59:08 +00:00 |
|
Steve Checkoway
|
a50839e1d0
|
Remove stubs, const fix
|
2004-09-07 12:40:44 +00:00 |
|
Steve Checkoway
|
0669938e81
|
Fix comment
|
2004-09-07 11:12:29 +00:00 |
|
Glenn Maynard
|
7b2521654e
|
split out RunningUnderValgrind()
|
2004-09-06 08:29:50 +00:00 |
|
Steve Checkoway
|
a2fb826774
|
Writing to stdin just doesn't seem right. Also, why not just FILE *tty = fopen(/dev/stderr, w); if you worried about it having been closed by the crashed parent?
|
2004-08-26 21:30:59 +00:00 |
|
Glenn Maynard
|
da3361ec23
|
fix exception backtraces not always resolving
|
2004-08-25 04:08:43 +00:00 |
|
Glenn Maynard
|
0f7572ad8c
|
work around gettid warning spam in valgrind
|
2004-08-22 01:16:00 +00:00 |
|
Steve Checkoway
|
e88a5994c1
|
cleanup
|
2004-08-11 21:52:29 +00:00 |
|
Glenn Maynard
|
8ce2ae57d9
|
whoops
|
2004-06-16 03:41:33 +00:00 |
|
Glenn Maynard
|
7cb385a56f
|
improve output
|
2004-06-16 03:39:43 +00:00 |
|
Glenn Maynard
|
92e389f019
|
DoEmergencyShutdown
|
2004-06-16 03:32:46 +00:00 |
|
Glenn Maynard
|
48b6c6b50a
|
compile fix
|
2004-06-16 03:01:54 +00:00 |
|
Glenn Maynard
|
3a56c870ba
|
cleanup
|
2004-06-16 02:58:58 +00:00 |
|