diff --git a/src/blockingqueue.hpp b/src/blockingqueue.hpp index ba807b2..4da839a 100644 --- a/src/blockingqueue.hpp +++ b/src/blockingqueue.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/blockpool.cpp b/src/blockpool.cpp index 8486d8a..6cd7412 100644 --- a/src/blockpool.cpp +++ b/src/blockpool.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "blockpool.hpp" diff --git a/src/blockpool.hpp b/src/blockpool.hpp index 9fb971b..2c52e47 100644 --- a/src/blockpool.hpp +++ b/src/blockpool.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/bloom.hpp b/src/bloom.hpp index a2d5f60..c596aa1 100644 --- a/src/bloom.hpp +++ b/src/bloom.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once inline unsigned int ngram(char a, char b, char c, char d) diff --git a/src/build.cpp b/src/build.cpp index 51cd305..a836286 100644 --- a/src/build.cpp +++ b/src/build.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "build.hpp" diff --git a/src/build.hpp b/src/build.hpp index 4974d9e..265d007 100644 --- a/src/build.hpp +++ b/src/build.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/casefold.hpp b/src/casefold.hpp index d67baf5..f09d733 100644 --- a/src/casefold.hpp +++ b/src/casefold.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #ifdef USE_SSE2 diff --git a/src/changes.cpp b/src/changes.cpp index c28c3ee..ba47f79 100644 --- a/src/changes.cpp +++ b/src/changes.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "changes.hpp" diff --git a/src/changes.hpp b/src/changes.hpp index 14d342a..c933d12 100644 --- a/src/changes.hpp +++ b/src/changes.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/common.hpp b/src/common.hpp index f7e792e..2f1ff51 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/compression.cpp b/src/compression.cpp index 9ebbbf3..082ba95 100644 --- a/src/compression.cpp +++ b/src/compression.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "compression.hpp" diff --git a/src/compression.hpp b/src/compression.hpp index 9353f7e..69396e1 100644 --- a/src/compression.hpp +++ b/src/compression.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/constants.hpp b/src/constants.hpp index a66fff2..b6f843f 100644 --- a/src/constants.hpp +++ b/src/constants.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #define Kb *1024 diff --git a/src/encoding.cpp b/src/encoding.cpp index 97fcaca..9b13878 100644 --- a/src/encoding.cpp +++ b/src/encoding.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "encoding.hpp" diff --git a/src/encoding.hpp b/src/encoding.hpp index c469fb6..23612e4 100644 --- a/src/encoding.hpp +++ b/src/encoding.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/files.cpp b/src/files.cpp index 287bb2d..b4d2731 100644 --- a/src/files.cpp +++ b/src/files.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "files.hpp" diff --git a/src/files.hpp b/src/files.hpp index ccbaace..5bf46c6 100644 --- a/src/files.hpp +++ b/src/files.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/filestream.cpp b/src/filestream.cpp index c5ad4b8..62a8dba 100644 --- a/src/filestream.cpp +++ b/src/filestream.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "filestream.hpp" diff --git a/src/filestream.hpp b/src/filestream.hpp index 738b11f..e454b17 100644 --- a/src/filestream.hpp +++ b/src/filestream.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/fileutil.cpp b/src/fileutil.cpp index 71593b2..14172c3 100644 --- a/src/fileutil.cpp +++ b/src/fileutil.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "fileutil.hpp" diff --git a/src/fileutil.hpp b/src/fileutil.hpp index 21ddf93..432b5aa 100644 --- a/src/fileutil.hpp +++ b/src/fileutil.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/fileutil_posix.cpp b/src/fileutil_posix.cpp index 31e085a..c557cbd 100644 --- a/src/fileutil_posix.cpp +++ b/src/fileutil_posix.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #ifndef _WIN32 #include "common.hpp" diff --git a/src/fileutil_win.cpp b/src/fileutil_win.cpp index 12b386a..7fb2c0b 100644 --- a/src/fileutil_win.cpp +++ b/src/fileutil_win.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #ifdef _WIN32 #include "common.hpp" diff --git a/src/filter.cpp b/src/filter.cpp index 760e33b..40b8fa6 100644 --- a/src/filter.cpp +++ b/src/filter.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "filter.hpp" diff --git a/src/filter.hpp b/src/filter.hpp index 19de41b..f28df86 100644 --- a/src/filter.hpp +++ b/src/filter.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once class Output; diff --git a/src/filterutil.cpp b/src/filterutil.cpp index 9d135e6..9974a53 100644 --- a/src/filterutil.cpp +++ b/src/filterutil.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "filterutil.hpp" diff --git a/src/filterutil.hpp b/src/filterutil.hpp index 0de075c..32ddcaa 100644 --- a/src/filterutil.hpp +++ b/src/filterutil.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once class Output; diff --git a/src/format.hpp b/src/format.hpp index 864446c..0ed969a 100644 --- a/src/format.hpp +++ b/src/format.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once const char kFileFileHeaderMagic[] = "QGF0"; diff --git a/src/fuzzymatch.cpp b/src/fuzzymatch.cpp index 2c7dd72..2c6f165 100644 --- a/src/fuzzymatch.cpp +++ b/src/fuzzymatch.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "fuzzymatch.hpp" diff --git a/src/fuzzymatch.hpp b/src/fuzzymatch.hpp index 315ccb8..7cc02f7 100644 --- a/src/fuzzymatch.hpp +++ b/src/fuzzymatch.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/highlight.cpp b/src/highlight.cpp index 71058bc..9773524 100644 --- a/src/highlight.cpp +++ b/src/highlight.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "highlight.hpp" diff --git a/src/highlight.hpp b/src/highlight.hpp index 4321a1e..214b01f 100644 --- a/src/highlight.hpp +++ b/src/highlight.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/highlight_win.cpp b/src/highlight_win.cpp index 79caaf2..6dedb49 100644 --- a/src/highlight_win.cpp +++ b/src/highlight_win.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #ifdef _WIN32 #include "common.hpp" diff --git a/src/info.cpp b/src/info.cpp index 657a307..1abc3fb 100644 --- a/src/info.cpp +++ b/src/info.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "info.hpp" diff --git a/src/info.hpp b/src/info.hpp index b612cb2..f5d8f0c 100644 --- a/src/info.hpp +++ b/src/info.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once class Output; diff --git a/src/init.cpp b/src/init.cpp index 7164bfc..84d3d00 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "init.hpp" diff --git a/src/init.hpp b/src/init.hpp index 2933a58..122dde5 100644 --- a/src/init.hpp +++ b/src/init.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once class Output; diff --git a/src/main.cpp b/src/main.cpp index d7d4e4b..01e03ae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "output.hpp" diff --git a/src/orderedoutput.cpp b/src/orderedoutput.cpp index 3d5abf2..72f714c 100644 --- a/src/orderedoutput.cpp +++ b/src/orderedoutput.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "orderedoutput.hpp" diff --git a/src/orderedoutput.hpp b/src/orderedoutput.hpp index bbe79fa..ef4e782 100644 --- a/src/orderedoutput.hpp +++ b/src/orderedoutput.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/output.hpp b/src/output.hpp index 2710f93..527e954 100644 --- a/src/output.hpp +++ b/src/output.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once class Output diff --git a/src/project.cpp b/src/project.cpp index 888136c..b2e6d69 100644 --- a/src/project.cpp +++ b/src/project.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "project.hpp" diff --git a/src/project.hpp b/src/project.hpp index a2d6f89..258e7c8 100644 --- a/src/project.hpp +++ b/src/project.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/regex.cpp b/src/regex.cpp index 9af23da..1ec68ef 100644 --- a/src/regex.cpp +++ b/src/regex.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "regex.hpp" diff --git a/src/regex.hpp b/src/regex.hpp index a5ecda4..d0368b9 100644 --- a/src/regex.hpp +++ b/src/regex.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/search.cpp b/src/search.cpp index fdc25a0..bf728b4 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "search.hpp" diff --git a/src/search.hpp b/src/search.hpp index 951b814..a097b36 100644 --- a/src/search.hpp +++ b/src/search.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once class Output; diff --git a/src/stringutil.cpp b/src/stringutil.cpp index 2bf4eb5..f8d9d9c 100644 --- a/src/stringutil.cpp +++ b/src/stringutil.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "stringutil.hpp" diff --git a/src/stringutil.hpp b/src/stringutil.hpp index c610761..24fc731 100644 --- a/src/stringutil.hpp +++ b/src/stringutil.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include diff --git a/src/update.cpp b/src/update.cpp index 612517d..8332af5 100644 --- a/src/update.cpp +++ b/src/update.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "update.hpp" diff --git a/src/update.hpp b/src/update.hpp index 7a9536d..c1d1ec1 100644 --- a/src/update.hpp +++ b/src/update.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once class Output; diff --git a/src/watch.cpp b/src/watch.cpp index f84cfb7..2823555 100644 --- a/src/watch.cpp +++ b/src/watch.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "watch.hpp" diff --git a/src/watch.hpp b/src/watch.hpp index b40ee5e..a57dfdf 100644 --- a/src/watch.hpp +++ b/src/watch.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once class Output; diff --git a/src/workqueue.cpp b/src/workqueue.cpp index 4032d7b..6c290e7 100644 --- a/src/workqueue.cpp +++ b/src/workqueue.cpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #include "common.hpp" #include "workqueue.hpp" diff --git a/src/workqueue.hpp b/src/workqueue.hpp index dab7d2c..bd4b2d6 100644 --- a/src/workqueue.hpp +++ b/src/workqueue.hpp @@ -1,3 +1,4 @@ +// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md #pragma once #include