Kjell Hedstrom
8b6ee253f5
When using options and installing g3log as a rpm library
...
If the g3log code isn't embedded with your code, the defines must match the options "add_defines"
2015-06-09 10:43:32 -06:00
KjellKod
37989ed52f
merging headswq
2015-05-03 22:41:20 -06:00
Kjell Hedström
dc0f3434c2
Merged in kostyabazhanov/g3log/pr4 (pull request #5 )
...
Fix a couple of Clang warnings.
2015-05-03 22:34:34 -06:00
Kostya Bazhanov
43652ef7c9
Fix -Wextra-semi Clang warning.
...
--HG--
branch : pr4
2015-04-29 12:24:11 +03:00
Kostya Bazhanov
4686fb9cc2
Remove trailing spaces.
...
--HG--
branch : pr4
2015-04-29 12:23:30 +03:00
Kostya Bazhanov
8e4929cbdb
Fix -Wunused-function Clang warning.
...
--HG--
branch : pr4
2015-04-29 12:22:26 +03:00
Kostya Bazhanov
cb097cbd3e
Remove trailing spaces.
...
--HG--
branch : pr4
2015-04-29 12:21:45 +03:00
Kjell Hedstrom
b3b30a7eaf
Merge pull request #8 from spoonless/mingw_xcompil
...
fixing cross compilation on Linux for MINGW gcc 4.8.2
2015-03-30 20:52:44 +02:00
David Gayerie
4c45244391
fixing cross compilation on Linux for MINGW gcc 4.8.2
2015-03-29 14:29:07 +02:00
Kjell Hedström
9ceb970475
README.markdown edited online with Bitbucket
2015-03-02 15:38:00 +00:00
Kjell Hedström
7464e55e90
README.markdown edited online with Bitbucket
2015-03-02 15:25:31 +00:00
Kjell Hedström
36b4c1df1d
README.markdown edited online with Bitbucket
2015-03-02 15:24:35 +00:00
Kjell Hedström
be5c5d6c34
README.markdown edited online with Bitbucket
2015-03-02 15:23:48 +00:00
Kjell Hedstrom
65846fdeaa
Merge pull request #7 from KjellKod/windows-vector-exceptions
...
Windows vector exceptions
2015-03-02 02:14:50 -07:00
Kjell Hedstrom
7c5254c80b
thread_local issues on Linux, using atomic instead
2015-03-02 02:02:43 -07:00
Kjell Hedstrom
58ffeac9bc
Clarified issue with __debugbreak()
2015-03-02 01:17:52 -07:00
Kjell Hedstrom
a5d922de49
__debugbreak in windows can easily cause recursive crashes if you are
...
NOT in debug mode in your visual IDE
2015-03-02 01:14:03 -07:00
Kjell Hedstrom
e2117fcc17
Merge pull request #6 from KjellKod/windows-vector-exceptions
...
Windows vector exceptions
2015-02-23 23:39:14 -07:00
Kjell Hedstrom
cc5cf169ba
After code review by Kamil.
...
Moved internal API to public API.
g2log.hpp/cpp g2::setFatalPreLoggingHook(...) and g2::setFatalExitHandler(...)
2015-02-23 23:29:02 -07:00
Kjell Hedstrom
a69eb201a1
Pre-fatal-log hook for usage before the fata log is sent to sinks
2015-02-22 23:31:17 -07:00
Kjell Hedstrom
a768d2146a
Merge pull request #5 from KjellKod/windows-vector-exceptions
...
Defines for turning off fatal handling for signals
2015-02-18 04:09:02 -07:00
Kjell Hedstrom
7aea18edea
Defines for turning off fatal handling for signals
2015-02-18 04:06:22 -07:00
Kjell Hedstrom
29d7aa7267
Merge pull request #4 from KjellKod/windows-vector-exceptions
...
Windows vector exceptions
2015-02-18 03:59:28 -07:00
Kjell Hedstrom
fc1acd742d
1) windows exception will now trigger break point in VS
...
2) Fatal signal will in DEBUG trigger a break point in VS
- It can be disabled by a #define
3) signal handler can be disabled by a #define
2015-02-18 03:55:16 -07:00
Kjell Hedstrom
eab596cfac
Added exception handling comment
2015-02-16 02:31:16 -07:00
Kjell Hedstrom
108922784d
Changed what was thrown
2015-02-16 02:16:25 -07:00
Kjell Hedstrom
81885e4456
Enabled vectored exception crash handling, it can also be turned off easily with a define
...
cmake -DENABLE_VECTORED_EXCEPTIONHANDLING=OFF
2015-02-16 01:37:55 -07:00
Kjell Hedstrom
9e3ed03310
Merge pull request #3 from KjellKod/windows-vector-exceptions
...
Disabled Vectored exception handling: TEMPORARILY.
2015-02-03 22:57:53 -07:00
Kjell Hedstrom
4c7c5c7ca7
Disabled Vectored exception handling: TEMPORARILY.
...
It will likely be enabled shortly but with
1) options for enabling/disabling it
2) use of unit test for unknown exceptions (and known)
to make sure that 3rd party libraries that use exceptions (sigh)
way too frequently are not affected.
3) only handling "known exceptions" unknown exceptions will get perhaps a
LOG(WARNING) but no more "exiting"
2015-02-03 22:53:01 -07:00
Kjell Hedstrom
e71b5fc7c0
Merge pull request #2 from KjellKod/signal_improved_handling2
...
JuceTesting shows that all signalhandling should be installed per thread
2015-02-02 21:44:24 -07:00
Kjell Hedstrom
b3e7032678
Signals seems to have to be installed for EVERY thread
2015-02-02 21:35:48 -07:00
KjellKod
892059a2dd
dual heads merge madness github-bitbucket
2015-02-02 00:40:34 -07:00
KjellKod
938fc55971
What a mess to merge from Github/KjellKod/g3log to BitBucket/KjellKod/g3log
2015-02-02 00:31:43 -07:00
Kjell Hedstrom
ec345e08c6
Merge pull request #1 from KjellKod/windows-crashhandler
...
Windows crashhandler
2015-02-02 00:04:37 -07:00
Kjell Hedstrom
f5fabd2868
removed branch from travis
2015-02-02 00:02:30 -07:00
Kjell Hedstrom
0bd34ba5de
removed windows fatal conclusions file
2015-02-01 23:53:54 -07:00
Kjell Hedstrom
5b73954910
fixed crash handling after changes on the windows side
2015-02-01 23:52:45 -07:00
Kjell Hedstrom
2c6ead2115
Finishing up stacktrace for windows. Using "reworked" code in namespace "stacktrace"
...
which originated from Robert Engeln original code at: http://code-freeze.blogspot.com/2012/01/generating-stack-traces-from-c.html
Robert Engeln agreed to contribute with his code as a public domain contribution.
2015-02-01 22:48:20 -07:00
Kjell Hedstrom
84302edf3f
hack to take care of stackdump race:wq!
2015-01-29 01:04:53 -07:00
Kjell Hedstrom
c5bb9b96d8
Finally the right sublime AstyleFormat options pointer-align:type and reference-align:type
...
Fixed bug with dynamic logging levels and DBUG (instead of DEBUG)
2015-01-28 12:49:36 -07:00
Kjell Hedstrom
fb30aef9e8
type issues
2015-01-28 02:58:28 -07:00
Kjell Hedstrom
f1e744c1ec
type of fatal id now better handled
2015-01-28 02:54:50 -07:00
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