Sort out license problems

IANAL, but I think I am allowed to add missing copyright notices for
someone else. And I did my best job using git history to figure out who
wrote which functions. So I hope everything is fine.
This commit is contained in:
Yuxuan Shui
2018-10-03 22:14:51 +01:00
parent 9e1422dc90
commit ee318582f5
26 changed files with 476 additions and 62 deletions

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT
/*
* Compton - a compositor for X11
*

View File

@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
/*
* Compton - a compositor for X11
*

View File

@@ -1,9 +1,12 @@
// SPDX-License-Identifier: MIT
/*
* Compton - a compositor for X11
*
* Based on `xcompmgr` - Copyright (c) 2003, Keith Packard
*
* Copyright (c) 2011-2013, Christopher Jeffrey
* Copyright (c) 2018, Yuxuan Shui <yshuiv7@gmail.com>
*
* See LICENSE for more information.
*
*/

View File

@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
/*
* Compton - a compositor for X11
*

View File

@@ -1,6 +1,5 @@
/**
* compton.h
*/
// SPDX-License-Identifier: MIT
// Copyright (c)
// Throw everything in here.

View File

@@ -1,3 +1,7 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2011-2013, Christopher Jeffrey
// Copyright (c) 2013 Richard Grenville <pyxlcy@gmail.com>
#include <stdlib.h>
#include <stdbool.h>

View File

@@ -1,4 +1,7 @@
#pragma once
// SPDX-License-Identifier: MIT
// Copyright (c) 2011-2013, Christopher Jeffrey
// Copyright (c) 2013 Richard Grenville <pyxlcy@gmail.com>
#include <stdbool.h>

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2012-2014 Richard Grenville <pyxlcy@gmail.com>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>

View File

@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
/*
* Compton - a compositor for X11
*

View File

@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
/*
* Compton - a compositor for X11
*

View File

@@ -1,3 +1,4 @@
// SPDX-License-Identifier: MIT
/*
* Compton - a compositor for X11
*

View File

@@ -1,4 +1,4 @@
#pragma once
// SPDX-License-Identifier: MIT
/*
* Compton - a compositor for X11
*
@@ -9,6 +9,8 @@
*
*/
#pragma once
#include "common.h"
#include <ctype.h>

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2018 Yuxuan Shui <yshuiv7@gmail.com>
#pragma once
#include <xcb/xcb.h>
#include <pixman.h>

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2018 Yuxuan Shui <yshuiv7@gmail.com>
#pragma once
#include <ctype.h>
#include <stddef.h>

View File

@@ -1,3 +1,7 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2011-2013, Christopher Jeffrey
// Copyright (c) 2013 Richard Grenville <pyxlcy@gmail.com>
#include <X11/Xlib.h>
#include <xcb/render.h>
#include <xcb/damage.h>

View File

@@ -1,6 +1,9 @@
#pragma once
#include <stdbool.h>
#include <X11/Xlib.h>
// SPDX-License-Identifier: MIT
// Copyright (c) 2011-2013, Christopher Jeffrey
// Copyright (c) 2013 Richard Grenville <pyxlcy@gmail.com>
#include "x.h"

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2018 Yuxuan Shui <yshuiv7@gmail.com>
#include <stdbool.h>
#include <X11/Xlib.h>

View File

@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2018 Yuxuan Shui <yshuiv7@gmail.com>
#pragma once
#include <stdint.h>
#include <stdbool.h>

View File

@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2014 Richard Grenville <pyxlcy@gmail.com>
#include "xrescheck.h"
static xrc_xid_record_t *gs_xid_records = NULL;

View File

@@ -1,5 +1,6 @@
#ifndef COMPTON_XRESCHECK_H
#define COMPTON_XRESCHECK_H
// SPDX-License-Identifier: MIT
// Copyright (c) 2014 Richard Grenville <pyxlcy@gmail.com>
#pragma once
#include "common.h"
#include "uthash.h"
@@ -62,5 +63,3 @@ xcb_free_pixmap_(xcb_connection_t *c, xcb_pixmap_t pixmap, M_POS_DATA_PARAMS) {
}
#define xcb_free_pixmap(c, pixmap) xcb_free_pixmap_(c, pixmap, M_POS_DATA);
#endif