Skip to content

Commit 783ff31

Browse files
committed
Migrate to SPDX.
1 parent 21c7dde commit 783ff31

39 files changed

+926
-1798
lines changed

COPYING

-674
This file was deleted.

LICENSES/GPL-2.0-or-later.txt

+319
Large diffs are not rendered by default.

LICENSES/LGPL-2.0-or-later.txt

+446
Large diffs are not rendered by default.

macro-editor/dialog.cpp

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#include "dialog.h"
198
#include "ui_dialog.h"
209

macro-editor/dialog.h

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#ifndef _MACRO_EDITOR_DIALOG_H_
198
#define _MACRO_EDITOR_DIALOG_H_
209

macro-editor/editor.cpp

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#include <QCloseEvent>
198
#include <QDebug>
209
#include <QFileDialog>

macro-editor/editor.h

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#ifndef _MACRO_EDITOR_EDITOR_H_
198
#define _MACRO_EDITOR_EDITOR_H_
209

macro-editor/main.cpp

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#include "main.h"
198
#include "editor.h"
209
#include "model.h"

macro-editor/main.h

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#ifndef _MACRO_EDITOR_MAIN_H_
198
#define _MACRO_EDITOR_MAIN_H_
209

macro-editor/model.cpp

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#include <QApplication>
198

209
#include "editor.h"

macro-editor/model.h

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#ifndef _MACRO_EDITOR_MODEL_H_
198
#define _MACRO_EDITOR_MODEL_H_
209

src/unikey-config.h

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2018~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2018-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#ifndef _FCITX5_UNIKEY_UNIKEY_CONFIG_H_
198
#define _FCITX5_UNIKEY_UNIKEY_CONFIG_H_
209

src/unikey-im.cpp

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2012~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2012-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187

198
#include "unikey-im.h"
209
#include <fcitx-utils/standardpath.h>

src/unikey-im.h

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
//
2-
// Copyright (C) 2018~2018 by CSSlayer
3-
4-
//
5-
// This program is free software; you can redistribute it and/or modify
6-
// it under the terms of the GNU General Public License as published by
7-
// the Free Software Foundation; either version 2, or (at your option)
8-
// any later version.
9-
//
10-
// This program is distributed in the hope that it will be useful,
11-
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
// GNU General Public License for more details.
14-
//
15-
// You should have received a copy of the GNU General Public License
16-
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17-
//
1+
/*
2+
* SPDX-FileCopyrightText: 2018-2018 CSSlayer <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0-or-later
5+
*
6+
*/
187
#ifndef _FCITX5_UNIKEY_UNIKEY_IM_H_
198
#define _FCITX5_UNIKEY_UNIKEY_IM_H_
209

unikey/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set(UNIKEY_SRCS
44
charset.cpp
55
convert.cpp
66
data.cpp
7-
error.cpp
87
inputproc.cpp
98
mactab.cpp
109
pattern.cpp

0 commit comments

Comments
 (0)