Kjell Hedstrom
a9eb7714d6
Same change as under other g2log-g3log repos, opened up for way easier change
...
of fatal handler
2015-01-28 02:23:34 -07:00
Kjell Hedstrom
55d91601b8
Handle that the signal type might be too big for an int if we are running on Windows
...
(signal is int, but exceptioncode is unsigned long)
2015-01-28 02:14:24 -07:00
Kjell Hedstrom
1329a1d807
Dynamic levels fixed ... some typo earlier. IN the main g3log on Bitbucket this typo did not exist
2015-01-28 01:04:59 -07:00
Kjell Hedstrom
265db780c3
Avoid catching shutdown-crash after catching the initial exit reason
2015-01-28 00:40:05 -07:00
Kjell Hedstrom
baa109ed89
comments
2015-01-26 21:01:32 -07:00
Kjell Hedstrom
3f39757ffc
g2::installSignalHandlerForThread() added as a hook for clients to make sure that that thread is fatal signal covered
...
g2::internal void setFatalExitHandler(std::function<void(FatalMessagePtr) > fatal_call); can now be used by clients
who wish to provide their own "exit handling".
2015-01-26 20:58:34 -07:00
Kjell Hedstrom
02d3812d1a
Update Build.cmake
2015-01-22 02:47:38 -07:00
Kjell Hedstrom
fd8f4d9e2f
REmove windows specific files for linux systems
2015-01-22 02:29:56 -07:00
Kjell Hedstrom
ac6cbd032d
run more branches
2015-01-22 02:27:59 -07:00
Kjell Hedstrom
1d09bf8916
Options.cmake now instead of dynamic.cmake
2015-01-22 02:24:02 -07:00
Kjell Hedstrom
895efa35bf
local include
2015-01-22 02:03:18 -07:00
Kjell Hedstrom
a5747de01a
Work in progress. Now a fatal exception will cause all sinks to be flushed and then be
...
deleted. Then the exception will continue ... either crashing the app or will be caught in another exception handler
2015-01-22 01:54:59 -07:00
Kjell Hedstrom
2cf9c4aefe
g2log levels: Now with options to use DEBUG or DBUG which can be set using cmake -DDCHANGE_G3LOG_DEBUG_TO_DBUG=ON
2015-01-21 22:46:36 -07:00
Kjell Hedstrom
3a234929e5
In progress ... reverting back to the example code make it ALL work
...
(in DEBUG)
2015-01-11 22:21:40 -07:00
Kjell Hedstrom
bd2b89f9de
Varför fixar examplet att fa en bra stackdump MEN INTE g3log examplet????
2015-01-11 17:02:32 -07:00
Kjell Hedstrom
05fd4632c7
so so working. the original example still works the best
2015-01-11 16:34:13 -07:00
Kjell Hedstrom
8c63adffe1
Fixed vanilla cases with stackdump
2015-01-10 23:10:06 -07:00
Kjell Hedström
1f844f5ea1
README.markdown edited online with Bitbucket
2015-01-08 06:23:05 +00:00
Kjell Hedström
1259e9e1ea
README.markdown edited online with Bitbucket
2015-01-08 06:22:36 +00:00
Kjell Hedstrom
b9b58cca02
In progress. Yet to fix
...
1) FAtal event should have a callback because the handling is very different if
there is a windows exception that should just continue afterwards or if
2) there is a signal
3) Special signal handling in Windows for SIGFPE and Sigsegv if done in another
thread
2015-01-04 23:51:29 -07:00
Kjell Hedstrom
3a0cef8f50
Added the skeleton starts for namespace or class to fetch the stackdump
2015-01-04 17:53:28 -07:00
Kjell Hedstrom
936b59d9bb
ongoing .... starting to add crashhandler for windows
2015-01-04 17:51:21 -07:00
KjellKod
81a7c9109d
Updated travis build script to accept any g++ version
...
Updated the fatal choice example with informative couts
2014-12-12 02:05:51 -07:00
KjellKod
fdd3c2572a
Added a multiple,choice "Choose Your Fatal Exit" example.
...
Next step is to add the windows g3logger fatal exit handler (POC finished)
2014-12-12 08:44:17 -07:00
Kjell Hedstrom
4d6f2f3913
test commit from gith
2014-12-11 08:29:29 -07:00
KjellKod
7e2d357a9d
Nonsense change to push windows g3log changes to GitHub. KjellKod/g3log
2014-12-11 00:25:02 -07:00
kjellkod@kjellkod-Asus.hsd1.co.comcast.net.
c23a8e2419
Remove warning in Windows by using vsnprintf_s
2014-12-11 00:10:47 -07:00
KjellKod
e62eaec8f6
removed faulty lib
2014-10-12 01:02:26 -06:00
KjellKod
785a2f3ff6
iC++abi
2014-10-12 00:58:35 -06:00
KjellKod
03084d11d9
removed c++abi1
2014-10-12 00:46:23 -06:00
KjellKod
ff93adcace
skip gcc for now
2014-10-12 00:43:29 -06:00
KjellKod
e29810025f
what up with Clang and Travis?
2014-10-11 23:49:22 -06:00
KjellKod
fcdd40ada6
bug in travis. once the environment is restarted it does not start in the right location
2014-10-11 23:17:57 -06:00
KjellKod
008cdaade0
path is kept?
2014-10-11 23:09:26 -06:00
KjellKod
66075853b8
works for gcc but not for linux and clang?
2014-10-11 23:06:26 -06:00
KjellKod
497bd1deab
moved compiler exports to build script
2014-10-11 23:00:18 -06:00
KjellKod
e49b1dc15d
wrong compiler test
2014-10-11 22:49:25 -06:00
KjellKod
394f2c1bef
yet another travis test
2014-10-11 22:45:04 -06:00
KjellKod
3c5c130854
don't put g++ in place when CXX is clang
2014-10-11 22:41:29 -06:00
KjellKod
b695ed3a9e
unit test not running
2014-10-11 22:24:57 -06:00
KjellKod
ead70599e6
Annoying but true. dont forge the pesky ";"
2014-10-11 22:21:49 -06:00
KjellKod
3c204aa82c
cannot have comments wherever in travis yml file
2014-10-11 22:18:17 -06:00
KjellKod
191acd2f47
Removed clang repo
2014-10-11 22:16:15 -06:00
KjellKod
f50b6234c9
added clang installation
2014-10-11 22:08:07 -06:00
KjellKod
c6324108e5
iCorrected errors in bash
2014-10-11 21:57:07 -06:00
KjellKod
21edd3fc05
g++ and clang but only on Linux
2014-10-11 21:36:39 -06:00
KjellKod
7c5ce707e2
fixed travis scripting
2014-10-11 20:50:32 -06:00
KjellKod
3b7f084805
Attempt to make the travis scripting easier
2014-10-11 20:46:27 -06:00
KjellKod
82e5991a7f
Travis-CI and OSX attempt
2014-10-11 20:35:06 -06:00
KjellKod
752d928a63
test cleanup. attempting OSX testing on travis-ci.org
...
--HG--
rename : scripts/buildtravis.sh => scripts/buildAndRunTests.sh
2014-10-11 20:16:54 -06:00