mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-20 12:40:56 -08:00
Add copyright notices to module code
Put them in the usual format for GNU Emacs copyright notices.
This commit is contained in:
parent
80f19fb898
commit
c8404f48a3
7 changed files with 133 additions and 27 deletions
|
|
@ -1,3 +1,21 @@
|
||||||
|
# Test GNU Emacs modules.
|
||||||
|
|
||||||
|
# Copyright 2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This file is part of GNU Emacs.
|
||||||
|
|
||||||
|
# GNU Emacs is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
|
# GNU Emacs is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
ROOT = ../..
|
ROOT = ../..
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,22 @@
|
||||||
|
/* Test GNU Emacs modules.
|
||||||
|
|
||||||
|
Copyright 2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This file is part of GNU Emacs.
|
||||||
|
|
||||||
|
GNU Emacs is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
GNU Emacs is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <module.h>
|
#include <module.h>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,21 @@
|
||||||
;;
|
;;; Test GNU Emacs modules.
|
||||||
;; Dynamic modules tests
|
|
||||||
;;
|
;; Copyright 2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
;; This file is part of GNU Emacs.
|
||||||
|
|
||||||
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
||||||
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
;; the Free Software Foundation, either version 3 of the License, or
|
||||||
|
;; (at your option) any later version.
|
||||||
|
|
||||||
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
||||||
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
;; GNU General Public License for more details.
|
||||||
|
|
||||||
|
;; You should have received a copy of the GNU General Public License
|
||||||
|
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
(require 'ert)
|
(require 'ert)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,24 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
# Module helper script.
|
||||||
|
|
||||||
|
# Copyright 2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This file is part of GNU Emacs.
|
||||||
|
|
||||||
|
# GNU Emacs is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
|
# GNU Emacs is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import string
|
import string
|
||||||
import subprocess as sp
|
import subprocess as sp
|
||||||
|
|
|
||||||
34
src/dynlib.c
34
src/dynlib.c
|
|
@ -1,12 +1,28 @@
|
||||||
/*
|
/* Portable API for dynamic loading.
|
||||||
* Portable API for dynamic loading
|
|
||||||
*
|
Copyright 2015 Free Software Foundation, Inc.
|
||||||
* Assuming modules are enabled on modern systems... *Yes*, the
|
|
||||||
* preprocessor macro checks could be more precise. I don't care.
|
This file is part of GNU Emacs.
|
||||||
*
|
|
||||||
* If you think the abstraction is too leaky use libltdl (libtool),
|
GNU Emacs is free software: you can redistribute it and/or modify
|
||||||
* don't reinvent the wheel by fixing this one.
|
it under the terms of the GNU General Public License as published by
|
||||||
*/
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
GNU Emacs is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
|
||||||
|
/* Assume modules are enabled on modern systems... *Yes*, the
|
||||||
|
preprocessor macro checks could be more precise. I don't care.
|
||||||
|
|
||||||
|
If you think the abstraction is too leaky use libltdl (libtool),
|
||||||
|
don't reinvent the wheel by fixing this one. */
|
||||||
|
|
||||||
#include "dynlib.h"
|
#include "dynlib.h"
|
||||||
|
|
||||||
|
|
|
||||||
19
src/dynlib.h
19
src/dynlib.h
|
|
@ -1,3 +1,22 @@
|
||||||
|
/* Portable API for dynamic loading.
|
||||||
|
|
||||||
|
Copyright 2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
This file is part of GNU Emacs.
|
||||||
|
|
||||||
|
GNU Emacs is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
GNU Emacs is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef DYNLIB_H
|
#ifndef DYNLIB_H
|
||||||
#define DYNLIB_H
|
#define DYNLIB_H
|
||||||
|
|
||||||
|
|
|
||||||
29
src/module.h
29
src/module.h
|
|
@ -1,22 +1,21 @@
|
||||||
/*
|
/* module.h - GNU Emacs module API.
|
||||||
module.h - Module API
|
|
||||||
Copyright (C) 2015 Free Software Foundation, Inc.
|
|
||||||
|
|
||||||
This file is part of GNU Emacs.
|
Copyright (C) 2015 Free Software Foundation, Inc.
|
||||||
|
|
||||||
GNU Emacs is free software: you can redistribute it and/or modify
|
This file is part of GNU Emacs.
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
GNU Emacs is distributed in the hope that it will be useful,
|
GNU Emacs is free software: you can redistribute it and/or modify
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
it under the terms of the GNU General Public License as published by
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
GNU General Public License for more details.
|
(at your option) any later version.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
GNU Emacs is distributed in the hope that it will be useful,
|
||||||
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
*/
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#ifndef EMACS_MODULE_H
|
#ifndef EMACS_MODULE_H
|
||||||
#define EMACS_MODULE_H
|
#define EMACS_MODULE_H
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue