From cd30d4127dd1d0f029636093e27677baa195019c Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Tue, 19 May 2015 22:30:53 -0500 Subject: [PATCH] wmgeneral: Add proper copyright headers; fix changelog formatting. --- wmSMPmon/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmSMPmon/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmckgmail/wmgeneral/misc.c | 7 ++++--- wmckgmail/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmckgmail/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmckgmail/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmcpufreq/wmgeneral/misc.c | 7 ++++--- wmcpufreq/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmcpufreq/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmcpufreq/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmfsm/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmfsm/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmifs/wmgeneral/misc.c | 7 ++++--- wmifs/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmifs/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmifs/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmitime/wmgeneral/misc.c | 7 ++++--- wmitime/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmitime/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmitime/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmkeys/wmgeneral/misc.c | 7 ++++--- wmkeys/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmkeys/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmkeys/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmmon/wmgeneral/misc.c | 7 ++++--- wmmon/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmmon/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmmon/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmppp.app/wmgeneral/misc.c | 7 ++++--- wmppp.app/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmppp.app/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmppp.app/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmsm.app/wmgeneral/misc.c | 7 ++++--- wmsm.app/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmsm.app/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmsm.app/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmtime/wmgeneral/misc.c | 7 ++++--- wmtime/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmtime/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmtime/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ wmtz/wmgeneral/misc.c | 7 ++++--- wmtz/wmgeneral/misc.h | 22 ++++++++++++++++++++++ wmtz/wmgeneral/wmgeneral.c | 31 +++++++++++++++++++++++-------- wmtz/wmgeneral/wmgeneral.h | 26 ++++++++++++++++++++++++++ 44 files changed, 848 insertions(+), 126 deletions(-) diff --git a/wmSMPmon/wmgeneral/wmgeneral.c b/wmSMPmon/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmSMPmon/wmgeneral/wmgeneral.c +++ b/wmSMPmon/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmSMPmon/wmgeneral/wmgeneral.h b/wmSMPmon/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmSMPmon/wmgeneral/wmgeneral.h +++ b/wmSMPmon/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmckgmail/wmgeneral/misc.c b/wmckgmail/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmckgmail/wmgeneral/misc.c +++ b/wmckgmail/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmckgmail/wmgeneral/misc.h b/wmckgmail/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmckgmail/wmgeneral/misc.h +++ b/wmckgmail/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmckgmail/wmgeneral/wmgeneral.c b/wmckgmail/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmckgmail/wmgeneral/wmgeneral.c +++ b/wmckgmail/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmckgmail/wmgeneral/wmgeneral.h b/wmckgmail/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmckgmail/wmgeneral/wmgeneral.h +++ b/wmckgmail/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmcpufreq/wmgeneral/misc.c b/wmcpufreq/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmcpufreq/wmgeneral/misc.c +++ b/wmcpufreq/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmcpufreq/wmgeneral/misc.h b/wmcpufreq/wmgeneral/misc.h index 602e1b7..830b765 100755 --- a/wmcpufreq/wmgeneral/misc.h +++ b/wmcpufreq/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmcpufreq/wmgeneral/wmgeneral.c b/wmcpufreq/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100755 --- a/wmcpufreq/wmgeneral/wmgeneral.c +++ b/wmcpufreq/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmcpufreq/wmgeneral/wmgeneral.h b/wmcpufreq/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100755 --- a/wmcpufreq/wmgeneral/wmgeneral.h +++ b/wmcpufreq/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmfsm/wmgeneral/wmgeneral.c b/wmfsm/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmfsm/wmgeneral/wmgeneral.c +++ b/wmfsm/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmfsm/wmgeneral/wmgeneral.h b/wmfsm/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmfsm/wmgeneral/wmgeneral.h +++ b/wmfsm/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmifs/wmgeneral/misc.c b/wmifs/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmifs/wmgeneral/misc.c +++ b/wmifs/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmifs/wmgeneral/misc.h b/wmifs/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmifs/wmgeneral/misc.h +++ b/wmifs/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmifs/wmgeneral/wmgeneral.c b/wmifs/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmifs/wmgeneral/wmgeneral.c +++ b/wmifs/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmifs/wmgeneral/wmgeneral.h b/wmifs/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmifs/wmgeneral/wmgeneral.h +++ b/wmifs/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmitime/wmgeneral/misc.c b/wmitime/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmitime/wmgeneral/misc.c +++ b/wmitime/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmitime/wmgeneral/misc.h b/wmitime/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmitime/wmgeneral/misc.h +++ b/wmitime/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmitime/wmgeneral/wmgeneral.c b/wmitime/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmitime/wmgeneral/wmgeneral.c +++ b/wmitime/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmitime/wmgeneral/wmgeneral.h b/wmitime/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmitime/wmgeneral/wmgeneral.h +++ b/wmitime/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmkeys/wmgeneral/misc.c b/wmkeys/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmkeys/wmgeneral/misc.c +++ b/wmkeys/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmkeys/wmgeneral/misc.h b/wmkeys/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmkeys/wmgeneral/misc.h +++ b/wmkeys/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmkeys/wmgeneral/wmgeneral.c b/wmkeys/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmkeys/wmgeneral/wmgeneral.c +++ b/wmkeys/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmkeys/wmgeneral/wmgeneral.h b/wmkeys/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmkeys/wmgeneral/wmgeneral.h +++ b/wmkeys/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmmon/wmgeneral/misc.c b/wmmon/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmmon/wmgeneral/misc.c +++ b/wmmon/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmmon/wmgeneral/misc.h b/wmmon/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmmon/wmgeneral/misc.h +++ b/wmmon/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmmon/wmgeneral/wmgeneral.c b/wmmon/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmmon/wmgeneral/wmgeneral.c +++ b/wmmon/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmmon/wmgeneral/wmgeneral.h b/wmmon/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmmon/wmgeneral/wmgeneral.h +++ b/wmmon/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmppp.app/wmgeneral/misc.c b/wmppp.app/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmppp.app/wmgeneral/misc.c +++ b/wmppp.app/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmppp.app/wmgeneral/misc.h b/wmppp.app/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmppp.app/wmgeneral/misc.h +++ b/wmppp.app/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmppp.app/wmgeneral/wmgeneral.c b/wmppp.app/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmppp.app/wmgeneral/wmgeneral.c +++ b/wmppp.app/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmppp.app/wmgeneral/wmgeneral.h b/wmppp.app/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmppp.app/wmgeneral/wmgeneral.h +++ b/wmppp.app/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmsm.app/wmgeneral/misc.c b/wmsm.app/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmsm.app/wmgeneral/misc.c +++ b/wmsm.app/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmsm.app/wmgeneral/misc.h b/wmsm.app/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmsm.app/wmgeneral/misc.h +++ b/wmsm.app/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmsm.app/wmgeneral/wmgeneral.c b/wmsm.app/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmsm.app/wmgeneral/wmgeneral.c +++ b/wmsm.app/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmsm.app/wmgeneral/wmgeneral.h b/wmsm.app/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmsm.app/wmgeneral/wmgeneral.h +++ b/wmsm.app/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmtime/wmgeneral/misc.c b/wmtime/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmtime/wmgeneral/misc.c +++ b/wmtime/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmtime/wmgeneral/misc.h b/wmtime/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmtime/wmgeneral/misc.h +++ b/wmtime/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmtime/wmgeneral/wmgeneral.c b/wmtime/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmtime/wmgeneral/wmgeneral.c +++ b/wmtime/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmtime/wmgeneral/wmgeneral.h b/wmtime/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmtime/wmgeneral/wmgeneral.h +++ b/wmtime/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED diff --git a/wmtz/wmgeneral/misc.c b/wmtz/wmgeneral/misc.c index 2ba6d06..fa7f69d 100644 --- a/wmtz/wmgeneral/misc.c +++ b/wmtz/wmgeneral/misc.c @@ -1,6 +1,6 @@ -/* dock.c- built-in Dock module for WindowMaker +/* wmgeneral miscellaneous functions * - * WindowMaker window manager + * from dock.c - built-in Dock module for WindowMaker window manager * * Copyright (c) 1997 Alfredo K. Kojima * @@ -16,7 +16,8 @@ * * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. */ #include diff --git a/wmtz/wmgeneral/misc.h b/wmtz/wmgeneral/misc.h index 602e1b7..830b765 100644 --- a/wmtz/wmgeneral/misc.h +++ b/wmtz/wmgeneral/misc.h @@ -1,3 +1,25 @@ +/* wmgeneral miscellaneous functions + * + * from dock.c - built-in Dock module for WindowMaker window manager + * + * Copyright (c) 1997 Alfredo K. Kojima + * + * 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 of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 + * USA. + */ + #ifndef __MISC_H #define __MISC_H diff --git a/wmtz/wmgeneral/wmgeneral.c b/wmtz/wmgeneral/wmgeneral.c index c74c9ee..ace55a4 100644 --- a/wmtz/wmgeneral/wmgeneral.c +++ b/wmtz/wmgeneral/wmgeneral.c @@ -1,22 +1,36 @@ /* - Best viewed with vim5, using ts=4 - wmgeneral was taken from wmppp. It has a lot of routines which most of the wm* programs use. ------------------------------------------------------------ - Author: Martijn Pieterse (pieterse@xs4all.nl) + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. --- CHANGES: --- 10/10/2003 (Simon Law, sfllaw@debian.org) - * changed the parse_rcfile function to use getline instead of fgets. - 14/09/1998 (Dave Clark, clarkd@skyia.com) - * Updated createXBMfromXPM routine - * Now supports >256 colors + * changed the parse_rcfile function to use getline instead of + fgets. + 14/09/1998 (Dave Clark, clarkd@skyia.com) + * Updated createXBMfromXPM routine + * Now supports >256 colors 11/09/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Removed a bug from parse_rcfile. You could not use "start" in a command if a label was @@ -32,7 +46,8 @@ * Added createXBMfromXPM routine * Saves a lot of work with changing xpm's. 02/05/1998 (Martijn Pieterse, pieterse@xs4all.nl) - * changed the read_rc_file to parse_rcfile, as suggested by Marcelo E. Magallon + * changed the read_rc_file to parse_rcfile, as suggested by + Marcelo E. Magallon * debugged the parse_rc file. 30/04/1998 (Martijn Pieterse, pieterse@xs4all.nl) * Ripped similar code from all the wm* programs, diff --git a/wmtz/wmgeneral/wmgeneral.h b/wmtz/wmgeneral/wmgeneral.h index 1d68add..c3454c5 100644 --- a/wmtz/wmgeneral/wmgeneral.h +++ b/wmtz/wmgeneral/wmgeneral.h @@ -1,3 +1,29 @@ +/* + wmgeneral was taken from wmppp. + + It has a lot of routines which most of the wm* programs use. + + ------------------------------------------------------------ + + Copyright (C) 1998 Martijn Pieterse (pieterse@xs4all.nl) + + 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 + of the License, 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., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +*/ + #ifndef WMGENERAL_H_INCLUDED #define WMGENERAL_H_INCLUDED -- 2.11.4.GIT