From a36d61d12ace996aba4c737582bf04063004ca1b Mon Sep 17 00:00:00 2001 From: Charlie Brej Date: Fri, 3 Jul 2009 15:53:43 +0100 Subject: [PATCH] [script] Add GPL 2+ licence headers to all .c and .h files --- src/plugins/splash/script/plugin.c | 2 +- src/plugins/splash/script/ply-scan.c | 21 +++++++++++++++++++ src/plugins/splash/script/ply-scan.h | 21 +++++++++++++++++++ src/plugins/splash/script/script-execute.c | 21 +++++++++++++++++++ src/plugins/splash/script/script-execute.h | 21 +++++++++++++++++++ src/plugins/splash/script/script-lib-image.c | 21 +++++++++++++++++++ src/plugins/splash/script/script-lib-image.h | 21 +++++++++++++++++++ src/plugins/splash/script/script-lib-math.c | 21 +++++++++++++++++++ src/plugins/splash/script/script-lib-math.h | 21 +++++++++++++++++++ .../splash/script/script-lib-plymouth.c | 21 +++++++++++++++++++ .../splash/script/script-lib-plymouth.h | 21 +++++++++++++++++++ src/plugins/splash/script/script-lib-sprite.c | 21 +++++++++++++++++++ src/plugins/splash/script/script-lib-sprite.h | 21 +++++++++++++++++++ src/plugins/splash/script/script-object.c | 21 +++++++++++++++++++ src/plugins/splash/script/script-object.h | 21 +++++++++++++++++++ src/plugins/splash/script/script-parse.c | 21 +++++++++++++++++++ src/plugins/splash/script/script-parse.h | 21 +++++++++++++++++++ src/plugins/splash/script/script.c | 21 +++++++++++++++++++ src/plugins/splash/script/script.h | 21 +++++++++++++++++++ 19 files changed, 379 insertions(+), 1 deletion(-) diff --git a/src/plugins/splash/script/plugin.c b/src/plugins/splash/script/plugin.c index 594791e9..37748e9f 100644 --- a/src/plugins/splash/script/plugin.c +++ b/src/plugins/splash/script/plugin.c @@ -1,7 +1,7 @@ /* plugin.c - boot script plugin * * Copyright (C) 2007, 2008 Red Hat, Inc. - * 2008 Charlie Brej + * 2008, 2009 Charlie Brej * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/plugins/splash/script/ply-scan.c b/src/plugins/splash/script/ply-scan.c index 18236d9c..4c63b6a5 100644 --- a/src/plugins/splash/script/ply-scan.c +++ b/src/plugins/splash/script/ply-scan.c @@ -1,3 +1,24 @@ +/* ply-scan.c - lexical scanner + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #include "ply-bitarray.h" #include "ply-scan.h" #include diff --git a/src/plugins/splash/script/ply-scan.h b/src/plugins/splash/script/ply-scan.h index 9ab72783..345d3112 100644 --- a/src/plugins/splash/script/ply-scan.h +++ b/src/plugins/splash/script/ply-scan.h @@ -1,3 +1,24 @@ +/* ply-scan.h - lexical scanner + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef PLY_SCAN_H #define PLY_SCAN_H diff --git a/src/plugins/splash/script/script-execute.c b/src/plugins/splash/script/script-execute.c index 80fb57e7..bce45d57 100644 --- a/src/plugins/splash/script/script-execute.c +++ b/src/plugins/splash/script/script-execute.c @@ -1,3 +1,24 @@ +/* script-execute.c - execution of scripts + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #define _GNU_SOURCE #include "ply-scan.h" #include "ply-hashtable.h" diff --git a/src/plugins/splash/script/script-execute.h b/src/plugins/splash/script/script-execute.h index 8814d25f..855bb524 100644 --- a/src/plugins/splash/script/script-execute.h +++ b/src/plugins/splash/script/script-execute.h @@ -1,3 +1,24 @@ +/* script-execute.h - execution of scripts + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef SCRIPT_EXECUTE_H #define SCRIPT_EXECUTE_H diff --git a/src/plugins/splash/script/script-lib-image.c b/src/plugins/splash/script/script-lib-image.c index e594e942..8993117c 100644 --- a/src/plugins/splash/script/script-lib-image.c +++ b/src/plugins/splash/script/script-lib-image.c @@ -1,3 +1,24 @@ +/* script-lib-image.c - scripting system ply-image wrapper + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #define _GNU_SOURCE #include "ply-image.h" #include "ply-utils.h" diff --git a/src/plugins/splash/script/script-lib-image.h b/src/plugins/splash/script/script-lib-image.h index 245718df..fc8cf319 100644 --- a/src/plugins/splash/script/script-lib-image.h +++ b/src/plugins/splash/script/script-lib-image.h @@ -1,3 +1,24 @@ +/* script-lib-image.h - scripting system ply-image wrapper + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef SCRIPT_LIB_IMAGE #define SCRIPT_LIB_IMAGE diff --git a/src/plugins/splash/script/script-lib-math.c b/src/plugins/splash/script/script-lib-math.c index d704b83d..d749d451 100644 --- a/src/plugins/splash/script/script-lib-math.c +++ b/src/plugins/splash/script/script-lib-math.c @@ -1,3 +1,24 @@ +/* script-lib-math.c - math script functions library + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #define _GNU_SOURCE #include "ply-utils.h" #include "script.h" diff --git a/src/plugins/splash/script/script-lib-math.h b/src/plugins/splash/script/script-lib-math.h index 17e2ebba..0b460cea 100644 --- a/src/plugins/splash/script/script-lib-math.h +++ b/src/plugins/splash/script/script-lib-math.h @@ -1,3 +1,24 @@ +/* script-lib-math.h - math script functions library + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef SCRIPT_LIB_MATH #define SCRIPT_LIB_MATH diff --git a/src/plugins/splash/script/script-lib-plymouth.c b/src/plugins/splash/script/script-lib-plymouth.c index 23b00ef8..83ca5087 100644 --- a/src/plugins/splash/script/script-lib-plymouth.c +++ b/src/plugins/splash/script/script-lib-plymouth.c @@ -1,3 +1,24 @@ +/* script-lib-plymouth.c - script library for interacting with plymouth + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #define _GNU_SOURCE #include "ply-utils.h" #include "script.h" diff --git a/src/plugins/splash/script/script-lib-plymouth.h b/src/plugins/splash/script/script-lib-plymouth.h index 43c03d57..6badac66 100644 --- a/src/plugins/splash/script/script-lib-plymouth.h +++ b/src/plugins/splash/script/script-lib-plymouth.h @@ -1,3 +1,24 @@ +/* script-lib-plymouth.h - script library for interacting with plymouth + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef SCRIPT_LIB_PLYMOUTH #define SCRIPT_LIB_PLYMOUTH diff --git a/src/plugins/splash/script/script-lib-sprite.c b/src/plugins/splash/script/script-lib-sprite.c index 4273ba76..770f6bfd 100644 --- a/src/plugins/splash/script/script-lib-sprite.c +++ b/src/plugins/splash/script/script-lib-sprite.c @@ -1,3 +1,24 @@ +/* script-lib-sprite.c - script library controling sprites + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #include "ply-image.h" #include "ply-utils.h" #include "ply-window.h" diff --git a/src/plugins/splash/script/script-lib-sprite.h b/src/plugins/splash/script/script-lib-sprite.h index eaf9b0e5..c9c5af1d 100644 --- a/src/plugins/splash/script/script-lib-sprite.h +++ b/src/plugins/splash/script/script-lib-sprite.h @@ -1,3 +1,24 @@ +/* script-lib-sprite.h - script library controling sprites + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef SCRIPT_LIB_SPRITE #define SCRIPT_LIB_SPRITE diff --git a/src/plugins/splash/script/script-object.c b/src/plugins/splash/script/script-object.c index a6141cc3..1a4d0816 100644 --- a/src/plugins/splash/script/script-object.c +++ b/src/plugins/splash/script/script-object.c @@ -1,3 +1,24 @@ +/* script-object.c - functions to work with script objects + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #define _GNU_SOURCE #include "ply-scan.h" #include "ply-hashtable.h" diff --git a/src/plugins/splash/script/script-object.h b/src/plugins/splash/script/script-object.h index c929a914..e41c5b1c 100644 --- a/src/plugins/splash/script/script-object.h +++ b/src/plugins/splash/script/script-object.h @@ -1,3 +1,24 @@ +/* script-object.h - functions to work with script objects + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef SCRIPT_OBJECT #define SCRIPT_OBJECT diff --git a/src/plugins/splash/script/script-parse.c b/src/plugins/splash/script/script-parse.c index 9acbe983..7076870f 100644 --- a/src/plugins/splash/script/script-parse.c +++ b/src/plugins/splash/script/script-parse.c @@ -1,3 +1,24 @@ +/* script-parse.c - parser for reading in script files + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #define _GNU_SOURCE #include "ply-scan.h" #include "ply-hashtable.h" diff --git a/src/plugins/splash/script/script-parse.h b/src/plugins/splash/script/script-parse.h index b5b4ce34..94041dc9 100644 --- a/src/plugins/splash/script/script-parse.h +++ b/src/plugins/splash/script/script-parse.h @@ -1,3 +1,24 @@ +/* script-parse.h - parser for reading in script files + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef SCRIPT_PARSE #define SCRIPT_PARSE diff --git a/src/plugins/splash/script/script.c b/src/plugins/splash/script/script.c index 66b012ad..9aef592b 100644 --- a/src/plugins/splash/script/script.c +++ b/src/plugins/splash/script/script.c @@ -1,3 +1,24 @@ +/* script.c - scripting system + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #define _GNU_SOURCE #include "ply-scan.h" #include "ply-hashtable.h" diff --git a/src/plugins/splash/script/script.h b/src/plugins/splash/script/script.h index 424dffb6..f6826700 100644 --- a/src/plugins/splash/script/script.h +++ b/src/plugins/splash/script/script.h @@ -1,3 +1,24 @@ +/* script.h - scripting system structures + * + * Copyright (C) 2009 Charlie Brej + * + * This program 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 2, or (at your option) + * any later version. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + * + * Written by: Charlie Brej + */ #ifndef SCRIPT_H #define SCRIPT_H -- 2.47.3