From: Matej U. <mat...@us...> - 2006-10-12 21:12:11
|
Update of /cvsroot/mod-c/mod_c/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24294/src Modified Files: lib_cache.cpp lib_cache.h mod_c.c Log Message: Relicensed all source files to MIT's license. Index: lib_cache.cpp =================================================================== RCS file: /cvsroot/mod-c/mod_c/src/lib_cache.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lib_cache.cpp 25 Aug 2006 13:27:41 -0000 1.4 --- lib_cache.cpp 12 Oct 2006 21:12:07 -0000 1.5 *************** *** 1,21 **** ! /*************************************************************************** ! * Copyright (C) 2005 by Matej Urbas * ! * mat...@gm... * ! * * ! * 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., * ! * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ! ***************************************************************************/ #include "mod_c.h" --- 1,31 ---- ! // ! // Authors: ! // Matej Urbas (mat...@gm...) ! // Gonzalo Arana (gon...@gm...) ! // ! // (C) 2006 Matej Urbas, Gonzalo Arana ! // ! // ! // This source code is licenced under The MIT License: ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // #include "mod_c.h" Index: mod_c.c =================================================================== RCS file: /cvsroot/mod-c/mod_c/src/mod_c.c,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** mod_c.c 10 Oct 2006 13:11:23 -0000 1.31 --- mod_c.c 12 Oct 2006 21:12:07 -0000 1.32 *************** *** 1,21 **** ! /*************************************************************************** ! * Copyright (C) 2005 by Matej Urbas * ! * mat...@gm... * ! * * ! * 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., * ! * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ! ***************************************************************************/ #include "mod_c.h" --- 1,31 ---- ! // ! // Authors: ! // Matej Urbas (mat...@gm...) ! // Gonzalo Arana (gon...@gm...) ! // ! // (C) 2006 Matej Urbas, Gonzalo Arana ! // ! // ! // This source code is licenced under The MIT License: ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // #include "mod_c.h" *************** *** 91,99 **** RINFO(r, "The file to open: '%s'", r->filename); ! config = c_sconfig(r->server); ! dir_config = c_dconfig(r); ! // Try to load the handle to the loaded library from the cache ! if (GetEHTMLEntry(config->ehtml_cache, r->filename, &e) < 0) { // If it was not present in cache --- 101,109 ---- RINFO(r, "The file to open: '%s'", r->filename); ! config = c_sconfig(r->server); ! dir_config = c_dconfig(r); ! // Try to load the handle to the loaded library from the cache ! if (GetEHTMLEntry(config->ehtml_cache, r->filename, &e) < 0) { // If it was not present in cache *************** *** 101,107 **** if (!config->allow_on_demand || LoadAndCacheEHTML(config->ehtml_cache, r->filename, &e) < 0) return HTTP_SERVICE_UNAVAILABLE; - } else { - // It was present in the cache, check for auto-refresh if (config->allow_auto_refresh) { --- 111,115 ---- *************** *** 124,129 **** } ! // We have found the library that contains the EHTML application ! // execute its ehtml_run function ehtml_run_func _tmp = ( ehtml_run_func ) e.entryf; request_context rc = { r, config, dir_config }; --- 132,137 ---- } ! // We have found the library that contains the EHTML application ! // execute its ehtml_run function ehtml_run_func _tmp = ( ehtml_run_func ) e.entryf; request_context rc = { r, config, dir_config }; Index: lib_cache.h =================================================================== RCS file: /cvsroot/mod-c/mod_c/src/lib_cache.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** lib_cache.h 25 Aug 2006 13:27:41 -0000 1.4 --- lib_cache.h 12 Oct 2006 21:12:07 -0000 1.5 *************** *** 1,21 **** ! /*************************************************************************** ! * Copyright (C) 2005 by Matej Urbas * ! * mat...@gm... * ! * * ! * 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., * ! * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ! ***************************************************************************/ #ifndef _LIB_CACHE_H_ --- 1,31 ---- ! // ! // Authors: ! // Matej Urbas (mat...@gm...) ! // Gonzalo Arana (gon...@gm...) ! // ! // (C) 2006 Matej Urbas, Gonzalo Arana ! // ! // ! // This source code is licenced under The MIT License: ! // ! // Permission is hereby granted, free of charge, to any person obtaining ! // a copy of this software and associated documentation files (the ! // "Software"), to deal in the Software without restriction, including ! // without limitation the rights to use, copy, modify, merge, publish, ! // distribute, sublicense, and/or sell copies of the Software, and to ! // permit persons to whom the Software is furnished to do so, subject to ! // the following conditions: ! // ! // The above copyright notice and this permission notice shall be ! // included in all copies or substantial portions of the Software. ! // ! // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ! // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ! // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ! // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ! // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ! // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ! // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ! // #ifndef _LIB_CACHE_H_ |