Nicolas Hake
ff2ac49368
win32: Log human-readable crash info while writing minidump
...
The information that will be written to the logfile is the exception data,
processor control and GP registers (x86/x64), up to 512 bytes around the stack
pointer, a stack trace, and the list of loaded modules.
2011-03-01 13:28:13 +01:00
Nicolas Hake
e049254e95
win32: Do not throw exceptions from WinMain
2011-01-02 03:50:06 +01:00
Nicolas Hake
672cc97d2b
win32: Do not use SEH in WinMain because it needs stack unwinding
2011-01-02 03:44:07 +01:00
Nicolas Hake
d906e7b359
Correctly specify type of GenerateDump
2011-01-02 03:41:20 +01:00
Armin Burgmeier
ffe24d471a
Add a CMake option for generating mini dumps
2011-01-02 01:20:52 +01:00
Martin Plicht
a22d5ee35c
Mac: Add Cocoa port
2010-12-27 04:49:02 +01:00
Günther Brammer
be342d4a51
copyright notices update 2010
...
This time with more manual checking and using git blame -M -C, so that
a few cases of copied code get a copyright notice corresponding to
their initial introduction.
2010-12-23 01:01:24 +01:00
Günther Brammer
ecb46bb188
Windows: Fix editor icons and other potential breakage related to HINSTACE
...
I even wrote the function for this but forgot to use it. Probably due to
hope that someone would replace that stuff with GetModuleHandle(0).
2010-10-12 00:44:22 +02:00
Günther Brammer
9bf3288c77
Rewrite ParseCommandLine to work on argc/argv instead of a single string
...
Using the standard utility function on windows to split the line and the
operating system provided argc/argv on the others.
Also move the function to C4Application. It's not a huge win because the
flags are spread out between C4Game and C4Application pretty evenly, but
eventually most of them should move to a more appropriate place.
2010-10-04 21:39:19 +02:00
Armin Burgmeier
bd2f63bf1d
Add an option to build against GTK+ 3
2010-09-22 17:11:19 +02:00
Benjamin Herr
27287b981f
Reformat everything according to style guidelines
...
as per http://forum.openclonk.org/topic_show.pl?tid=208
and http://wiki.openclonk.org/w/Style_Guidelines
via astyle
--brackets=break
--indent=tab=2
--keep-one-line-statements
--keep-one-line-blocks
--indent-namespaces
--convert-tabs
--recursive
--exclude=zlib
--exclude=tinyxml
src/\*.h src/*.cpp
2010-03-28 19:58:21 +02:00
Günther Brammer
b4e37b070b
Change all indentation with spaces to use tabs instead
...
This is a whitespace-only patch. Hopefully, it'll only affect rarely-changed
parts of the engine, since all regularly maintained pieces should already
use tabs.
2010-03-27 17:05:02 +01:00
Günther Brammer
c01422d3ce
autotools: Also check for the backtrace function before using execinfo.h
...
Also, install the crash handler even without backtrace. That way, at least
the signal name gets written to the log.
2010-03-19 02:23:20 +01:00
Benjamin Herr
f3b35227ea
avoid lots of gcc warnings
2010-01-25 05:00:59 +01:00
Nicolas Hake
1a933780d4
Fix assertion and crash on game teardown ( #37 , #42 )
...
Also, the build works on linux again. Whee!
2009-11-25 16:04:32 +01:00
David Dormagen
a886a18180
replaced remaining TRUE and FALSE (both are invalid now)
2009-09-05 19:22:54 +02:00
Armin Burgmeier
9dc91c66c4
Set default icon for GTK windows
...
This way message dialogs are decorated with the OC icon as well
2009-08-15 12:22:52 -04:00
Martin Plicht
08479b6cfd
Put Mac-specific stuff into MacUtility namespace
2009-08-12 14:13:16 +02:00
Günther Brammer
572d00c32e
Move all source files
...
This might make stuff easier to find.
2009-08-10 17:59:18 +02:00