Skip to content

Commit

Permalink
Added license and license referral to avoid any license confusion. G3…
Browse files Browse the repository at this point in the history
…log is a public domain dedication. Ref the unlicense.org
  • Loading branch information
KjellKod committed Jul 3, 2014
1 parent 98ec05d commit 7fbdd34
Show file tree
Hide file tree
Showing 43 changed files with 131 additions and 5 deletions.
24 changes: 24 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org/>
2 changes: 2 additions & 0 deletions g2log/src/active.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2010 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
*
* Example of a Active Object, using C++11 std::thread mechanisms to make it
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/crashhandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/
#include <string>
#include <csignal>
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/crashhandler_unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include "crashhandler.hpp"
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/crashhandler_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include "crashhandler.hpp"
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2filesink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include "g2filesink.hpp"
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2filesink.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/
#pragma once

Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2filesinkhelper.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#pragma once
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2future.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2future.hpp
* Helper functionality to put packaged_tasks in standard container. This
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
*
* Filename:g2log.cpp Framework for Logging and Design By Contract
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2log.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
*
* Filename:g2log.hpp Framework for Logging and Design By Contract
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2loglevels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2loglevels.cpp Part of Framework for Logging and Design By Contract
* Created: 2012 by Kjell Hedström
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2loglevels.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2loglevels.hpp Part of Framework for Logging and Design By Contract
* Created: 2012 by Kjell Hedström
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2logmessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2logmessage.cpp Part of Framework for Logging and Design By Contract
* Created: 2012 by Kjell Hedström
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2logmessage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2logmessage.hpp Part of Framework for Logging and Design By Contract
* Created: 2012 by Kjell Hedström
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2logmessagecapture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include "g2logmessagecapture.hpp"
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2logmessagecapture.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#pragma once
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2logworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2LogWorker.cpp Framework for Logging and Design By Contract
* Created: 2011 by Kjell Hedström
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2logworker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2logworker.h Framework for Logging and Design By Contract
* Created: 2011 by Kjell Hedström
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2moveoncopy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#pragma once
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2sink.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#ifndef G2SINK_IPP
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2sinkhandle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#ifndef G2SINKHANDLE_H
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2sinkwrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#ifndef G2SINKWRAPPER_HPP
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2time.cpp cross-platform, thread-safe replacement for C++11 non-thread-safe
* localtime (and similar)
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/g2time.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
* Filename:g2time.h cross-platform, thread-safe replacement for C++11 non-thread-safe
* localtime (and similar)
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/shared_queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2010 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================
*
* Example of a normal std::queue protected by a mutex for operations,
Expand Down
2 changes: 2 additions & 0 deletions g2log/src/std2_make_unique.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
*
* make_unique will be in C++14, this implementation is copied as I understood
* Stephan T. Lavavej's description of it.
*
Expand Down
2 changes: 1 addition & 1 deletion g2log/src/stlpatch_future.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ namespace std {
};

}; // namespace std
#endif // defined(WIN32) ...
#endif // defined(WIN32) ...
2 changes: 2 additions & 0 deletions g2log/test_example/main_contract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include "g2logworker.hpp"
Expand Down
2 changes: 2 additions & 0 deletions g2log/test_example/main_sigsegv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include "g2logworker.hpp"
Expand Down
2 changes: 2 additions & 0 deletions g2log/test_performance/main_threaded_mean.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

// through CMakeLists.txt #define of GOOGLE_GLOG_PERFORMANCE and G2LOG_PERFORMANCE
Expand Down
2 changes: 2 additions & 0 deletions g2log/test_performance/main_threaded_worst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

// through CMakeLists.txt #define of GOOGLE_GLOG_PERFORMANCE and G2LOG_PERFORMANCE
Expand Down
2 changes: 2 additions & 0 deletions g2log/test_performance/performance.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/
#ifndef PERFORMANCE_G2_TEST_H_
#define PERFORMANCE_G2_TEST_H_
Expand Down
2 changes: 2 additions & 0 deletions g2log/test_unit/test_concept_sink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include <gtest/gtest.h>
Expand Down
2 changes: 2 additions & 0 deletions g2log/test_unit/test_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include <gtest/gtest.h>
Expand Down
2 changes: 2 additions & 0 deletions g2log/test_unit/test_filechange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2012 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/


Expand Down
2 changes: 2 additions & 0 deletions g2log/test_unit/test_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include <gtest/gtest.h>
Expand Down
9 changes: 9 additions & 0 deletions g2log/test_unit/test_linux_dynamic_loaded_sharedlib.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/** ==========================================================================
* 2014 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/


#include <g2log.hpp>
#include <g2logworker.hpp>
#include <g2filesink.hpp>
Expand Down
2 changes: 2 additions & 0 deletions g2log/test_unit/test_sink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 2013 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/

#include <gtest/gtest.h>
Expand Down
8 changes: 8 additions & 0 deletions g2log/test_unit/tester_sharedlib.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/** ==========================================================================
* 2014 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/


#include <g2log.hpp>
#include "tester_sharedlib.h"
Expand Down
9 changes: 9 additions & 0 deletions g2log/test_unit/tester_sharedlib.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/** ==========================================================================
* 2014 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes
* with no warranties. This code is yours to share, use and modify with no
* strings attached and no restrictions or obligations.
*
* For more information see g3log/LICENSE or refer refer to http://unlicense.org
* ============================================================================*/


#pragma once

struct SomeLibrary {
Expand Down
Loading

0 comments on commit 7fbdd34

Please sign in to comment.