diff options
Diffstat (limited to 'src')
44 files changed, 221 insertions, 39 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c295497..3efb703 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -## Copyright (C) 2000, 2001 Shawn Betts <sabetts@users.sourceforge.net> +## Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> ## ## This file is part of ratpoison. ## @@ -17,7 +17,7 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## -## $Id: Makefile.am,v 1.20 2004/02/27 08:28:17 sabetts Exp $ +## $Id: Makefile.am,v 1.21 2004/12/02 00:22:39 sabetts Exp $ bin_PROGRAMS = ratpoison diff --git a/src/actions.c b/src/actions.c index 0cfe727..f47c3d8 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/actions.h b/src/actions.h index 84237a7..67d3157 100644 --- a/src/actions.h +++ b/src/actions.h @@ -1,5 +1,5 @@ /* Prototypes of all actions that can be performed with keystrokes. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * @@ -1,7 +1,7 @@ /* Functionality for a bar across the bottom of the screen listing the * windows currently managed. * - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * @@ -1,5 +1,5 @@ /* functions for managing the program bar - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/communications.c b/src/communications.c index 58a6841..6926053 100644 --- a/src/communications.c +++ b/src/communications.c @@ -1,5 +1,5 @@ /* communications.c -- Send commands to a running copy of ratpoison. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/communications.h b/src/communications.h index c371282..f24d6ae 100644 --- a/src/communications.h +++ b/src/communications.h @@ -1,5 +1,5 @@ /* communications.h -- Send commands to a running copy of ratpoison. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/completions.c b/src/completions.c index 1347e7c..e537a05 100644 --- a/src/completions.c +++ b/src/completions.c @@ -1,3 +1,23 @@ +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + */ + #include <string.h> #include "ratpoison.h" diff --git a/src/completions.h b/src/completions.h index 807bc97..8496995 100644 --- a/src/completions.h +++ b/src/completions.h @@ -1,4 +1,21 @@ -/* Function prototypes. +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA */ #ifndef _RATPOISON_COMPLETIONS_H @@ -1,5 +1,5 @@ /* Config file for ratpoison. Edit these values and recompile. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * @@ -1,5 +1,5 @@ /* our datatypes and global variables - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/editor.c b/src/editor.c index 3828d2f..b02cd6a 100644 --- a/src/editor.c +++ b/src/editor.c @@ -1,3 +1,23 @@ +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + */ + #include <ctype.h> #include <stdlib.h> #include <stdio.h> diff --git a/src/editor.h b/src/editor.h index fdcc08b..605b2cd 100644 --- a/src/editor.h +++ b/src/editor.h @@ -1,3 +1,23 @@ +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + */ + #ifndef _RATPOISON_EDITOR_H #define _RATPOISON_EDITOR_H 1 diff --git a/src/events.c b/src/events.c index 98f3a17..d41b113 100644 --- a/src/events.c +++ b/src/events.c @@ -1,5 +1,5 @@ /* Ratpoison X events - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/events.h b/src/events.h index de7284d..e9489a1 100644 --- a/src/events.h +++ b/src/events.h @@ -1,5 +1,5 @@ /* Function prototypes - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/frame.c b/src/frame.c index b44f7c5..0ea4b3f 100644 --- a/src/frame.c +++ b/src/frame.c @@ -1,5 +1,5 @@ /* functions that manipulate the frame structure. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/frame.h b/src/frame.h index e3147c7..66f10f9 100644 --- a/src/frame.h +++ b/src/frame.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/globals.c b/src/globals.c index d57721e..7f419e7 100644 --- a/src/globals.c +++ b/src/globals.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/globals.h b/src/globals.h index 6dd0136..d854345 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/group.c b/src/group.c index 43fab12..45ae710 100644 --- a/src/group.c +++ b/src/group.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/group.h b/src/group.h index c314f20..7da1816 100644 --- a/src/group.h +++ b/src/group.h @@ -1,3 +1,23 @@ +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + */ + #ifndef GROUP_H #define GROUP_H diff --git a/src/history.c b/src/history.c index 668d9c4..cf427cf 100644 --- a/src/history.c +++ b/src/history.c @@ -1,3 +1,23 @@ +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + */ + #include <ctype.h> #include <errno.h> #include <string.h> diff --git a/src/history.h b/src/history.h index f206cba..0f5c0e7 100644 --- a/src/history.h +++ b/src/history.h @@ -1,3 +1,23 @@ +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + */ + #ifndef _RATPOISON_HISTORY_H #define _RATPOISON_HISTORY_H 1 @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/input.c b/src/input.c index 626acad..8cf0ef5 100644 --- a/src/input.c +++ b/src/input.c @@ -1,5 +1,5 @@ /* Read kdb input from the user. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/input.h b/src/input.h index 149979f..d1b3fa3 100644 --- a/src/input.h +++ b/src/input.h @@ -1,5 +1,5 @@ /* Function prototypes. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/linkedlist.c b/src/linkedlist.c index 21df745..ecb56eb 100644 --- a/src/linkedlist.c +++ b/src/linkedlist.c @@ -1,3 +1,27 @@ +/* This file was taken from the Linux kernel and is + * Copyright (C) 2003 Linus Torvalds + * + * Modified by Shawn Betts. Portions created by Shawn Betts are + * Copyright (C) 2003-2004 Shawn Betts + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA + */ + #include "linkedlist.h" void diff --git a/src/linkedlist.h b/src/linkedlist.h index a056093..e8d1322 100644 --- a/src/linkedlist.h +++ b/src/linkedlist.h @@ -1,5 +1,25 @@ -/* - * Borrowed from the Linux kernel. +/* This file was taken from the Linux kernel and is + * Copyright (C) 2003 Linus Torvalds + * + * Modified by Shawn Betts. Portions created by Shawn Betts are + * Copyright (C) 2003-2004 Shawn Betts + * + * This file is part of ratpoison. + * + * ratpoison 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. + * + * ratpoison 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA */ #ifndef _RATPOISON_LINKLIST_H @@ -1,5 +1,5 @@ /* Ratpoison. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/manage.c b/src/manage.c index 3ee8b21..87407d1 100644 --- a/src/manage.c +++ b/src/manage.c @@ -1,6 +1,7 @@ /* Manage windows, such as Mapping them and making sure the proper key * Grabs have been put in place. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/manage.h b/src/manage.h index cfd44ed..69fcd3f 100644 --- a/src/manage.h +++ b/src/manage.h @@ -1,5 +1,5 @@ /* manage.h - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/messages.h b/src/messages.h index 649a3be..5c7f46c 100644 --- a/src/messages.h +++ b/src/messages.h @@ -1,5 +1,5 @@ /* Ratpoison messages. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/number.c b/src/number.c index 37e0293..27f57d0 100644 --- a/src/number.c +++ b/src/number.c @@ -1,5 +1,5 @@ /* handles the handing out of and uniqueness of window numbers. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/number.h b/src/number.h index 53bf4d2..3b89b37 100644 --- a/src/number.h +++ b/src/number.h @@ -1,5 +1,5 @@ /* Function prototypes. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/ratpoison.h b/src/ratpoison.h index 26ee77a..8896f4a 100644 --- a/src/ratpoison.h +++ b/src/ratpoison.h @@ -1,5 +1,5 @@ /* Standard header for ratpoison. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * @@ -1,5 +1,5 @@ /* Functions for handling string buffers. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * @@ -1,5 +1,5 @@ /* Function prototypes for handling string buffers. - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/screen.c b/src/screen.c index cf88895..095bb48 100644 --- a/src/screen.c +++ b/src/screen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/screen.h b/src/screen.h index b7c4fc1..04fbd8c 100644 --- a/src/screen.h +++ b/src/screen.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/split.c b/src/split.c index 3d5c3a1..8eb00e0 100644 --- a/src/split.c +++ b/src/split.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/split.h b/src/split.h index fee3af8..e0f7983 100644 --- a/src/split.h +++ b/src/split.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts +/* Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/window.c b/src/window.c index 5ba5454..3cfa107 100644 --- a/src/window.c +++ b/src/window.c @@ -1,5 +1,5 @@ /* functions for handling the window list - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * diff --git a/src/window.h b/src/window.h index f0ec828..a778cee 100644 --- a/src/window.h +++ b/src/window.h @@ -1,5 +1,5 @@ /* functions for managing the window list - * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts + * Copyright (C) 2000-2004 Shawn Betts <sabetts@vcn.bc.ca> * * This file is part of ratpoison. * |