Skip to content

Commit

Permalink
Add a single-line license blurb to all sources
Browse files Browse the repository at this point in the history
  • Loading branch information
zeux committed Dec 30, 2020
1 parent 494027e commit 4a702c9
Show file tree
Hide file tree
Showing 55 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/blockingqueue.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <queue>
Expand Down
1 change: 1 addition & 0 deletions src/blockpool.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/blockpool.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <mutex>
Expand Down
1 change: 1 addition & 0 deletions src/bloom.hpp
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/build.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/build.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <memory>
Expand Down
1 change: 1 addition & 0 deletions src/casefold.hpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/changes.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/changes.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <vector>
Expand Down
1 change: 1 addition & 0 deletions src/common.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <stddef.h>
Expand Down
1 change: 1 addition & 0 deletions src/compression.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/compression.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <memory>
Expand Down
1 change: 1 addition & 0 deletions src/constants.hpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions src/encoding.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/encoding.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <vector>
Expand Down
1 change: 1 addition & 0 deletions src/files.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/files.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <vector>
Expand Down
1 change: 1 addition & 0 deletions src/filestream.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/filestream.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions src/fileutil.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/fileutil.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <string>
Expand Down
1 change: 1 addition & 0 deletions src/fileutil_posix.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/fileutil_win.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/filter.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/filter.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

class Output;
Expand Down
1 change: 1 addition & 0 deletions src/filterutil.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/filterutil.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

class Output;
Expand Down
1 change: 1 addition & 0 deletions src/format.hpp
Original file line number Diff line number Diff line change
@@ -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";
Expand Down
1 change: 1 addition & 0 deletions src/fuzzymatch.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/fuzzymatch.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <string>
Expand Down
1 change: 1 addition & 0 deletions src/highlight.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/highlight.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <utility>
Expand Down
1 change: 1 addition & 0 deletions src/highlight_win.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/info.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/info.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

class Output;
Expand Down
1 change: 1 addition & 0 deletions src/init.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/init.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

class Output;
Expand Down
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/orderedoutput.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/orderedoutput.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <string>
Expand Down
1 change: 1 addition & 0 deletions src/output.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

class Output
Expand Down
1 change: 1 addition & 0 deletions src/project.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/project.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <string>
Expand Down
1 change: 1 addition & 0 deletions src/regex.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/regex.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <vector>
Expand Down
1 change: 1 addition & 0 deletions src/search.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/search.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

class Output;
Expand Down
1 change: 1 addition & 0 deletions src/stringutil.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/stringutil.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <vector>
Expand Down
1 change: 1 addition & 0 deletions src/update.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/update.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

class Output;
Expand Down
1 change: 1 addition & 0 deletions src/watch.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/watch.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

class Output;
Expand Down
1 change: 1 addition & 0 deletions src/workqueue.cpp
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
1 change: 1 addition & 0 deletions src/workqueue.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// This file is part of qgrep and is distributed under the MIT license, see LICENSE.md
#pragma once

#include <vector>
Expand Down

0 comments on commit 4a702c9

Please sign in to comment.