Index: COPYRIGHT =================================================================== diff -u -r0242af91272a6cbfabc96aa56319868ade853c06 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- COPYRIGHT (.../COPYRIGHT) (revision 0242af91272a6cbfabc96aa56319868ade853c06) +++ COPYRIGHT (.../COPYRIGHT) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,27 +1,46 @@ - * XOTcl - Extended OTcl +/* + * Next Scripting Framework * - * Copyright (C) 1999-2008 Gustaf Neumann (a), Uwe Zdun (b) + * Copyright (C) 1999-2011 Gustaf Neumann (a) (b) + * Copyright (C) 1999-2007 Uwe Zdun (a) (b) + * Copyright (C) 2007-2008 Martin Matuska (b) + * Copyright (C) 2010-2011 Stefan Sobernig (b) * - * (a) Vienna University of Economics and Business Administration - * Dept. of Information Systems / New Media - * A-1090, Augasse 2-6 - * Vienna, Austria * - * (b) University of Essen + * (a) University of Essen * Specification of Software Systems - * Altendorferstra�e 97-101 + * Altendorferstrasse 97-101 * D-45143 Essen, Germany - * - * Permission to use, copy, modify, distribute, and sell this - * software and its documentation for any purpose is hereby granted - * without fee, provided that the above copyright notice appear in - * all copies and that both that copyright notice and this permission - * notice appear in supporting documentation. We make no - * representations about the suitability of this software for any - * purpose. It is provided "as is" without express or implied - * warranty. * + * (b) Vienna University of Economics and Business + * Institute of Information Systems and New Media + * A-1090, Augasse 2-6 + * Vienna, Austria * + * This work is licensed under the MIT License + * http://www.opensource.org/licenses/MIT + * + * Copyright: + * + * 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. + * + * * This software is based upon MIT Object Tcl by David Wetherall and * Christopher J. Lindblad, that contains the following copyright * message: @@ -38,4 +57,4 @@ * written prior permission. M.I.T. makes no representations about * the suitability of this software for any purpose. It is * provided "as is" without express or implied warranty." - + */ Index: generic/aolstub.c =================================================================== diff -u -rbe88fe34aa1ce9c400ef887575dadf7aaee545c1 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/aolstub.c (.../aolstub.c) (revision be88fe34aa1ce9c400ef887575dadf7aaee545c1) +++ generic/aolstub.c (.../aolstub.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -4,13 +4,31 @@ might have to have to apply a small patch to the AOLserver as well (available from www.xotcl.org) in order to get it working. - Author: + Originally developed by + Zoran Vasiljevic Archiware Inc. - - Contributions from: - Gustaf Neumann - + * + * Copyright (C) 2006-2011 Zoran Vasiljevic + * Copyright (C) 2006-2011 Gustaf Neumann + * + * 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. */ #ifdef AOL_SERVER Index: generic/gentclAPI.tcl =================================================================== diff -u -r2ba521e3dfbb1294908b51ed8e13dab5adc3ca03 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/gentclAPI.tcl (.../gentclAPI.tcl) (revision 2ba521e3dfbb1294908b51ed8e13dab5adc3ca03) +++ generic/gentclAPI.tcl (.../gentclAPI.tcl) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,12 +1,15 @@ +#!/bin/env tclsh +# -*- Tcl -*- # # C-Code generator to generate stubs to handle all objv-parsing from # an simple interface definition language. This guarantees consistent # handling of input argument types, consistent error messages in case # of failures and eases documentation. # -# Gustaf Neumann, fecit in June 2009 +# Copyright (C) 2009-2011 Gustaf Neumann # + set ::converter "" set ::objCmdProc "(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *CONST objv \[\]);" @@ -449,5 +452,11 @@ source $decls close $::nxdocIndex +puts { +/* + * This source code file was generated by the C-code generator gentclAPI.tcl, + * part of the Next Scripting Framework. + */ +} genstubs puts stderr "[array size ::definitions] parsing stubs generated" Index: generic/mk_predefined.tcl =================================================================== diff -u -rca94e89f9a531dd4c58e22f1b87c0b941689799a -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/mk_predefined.tcl (.../mk_predefined.tcl) (revision ca94e89f9a531dd4c58e22f1b87c0b941689799a) +++ generic/mk_predefined.tcl (.../mk_predefined.tcl) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,8 +1,10 @@ #!/bin/env tclsh # -# A small script file that creates a static array from a tcl- -# script for inclusion in c programs -gn +# A small script file that creates a static array from a Tcl- +# script for inclusion in c programs # +# Copyright (C) 2010-2011 Gustaf Neumann +# set f [open [lindex $argv 0]] set content [read $f] close $f @@ -19,6 +21,7 @@ regsub -all "\n}" $content "}" content ;# newlines btwn braces regsub -all "\n" $content "\\n\"\n\"" content +puts "/* Generated by mk_predefined.tcl */" puts "static char cmd\[\] = " puts "\"$content\";" puts "" Index: generic/nsf.c =================================================================== diff -u -rb9000cff9206c8621e46524c2f12f8fc8fcb6f86 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsf.c (.../nsf.c) (revision b9000cff9206c8621e46524c2f12f8fc8fcb6f86) +++ generic/nsf.c (.../nsf.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,11 +1,16 @@ -/* - * Next Scripting Framework +/* + * nsf.c -- + * + * Basic Machinery of the Next Scripting Framework, a Tcl based framework + * for supporting language oriented programming. + * For Details, see http://next-scripting.org/ * - * Copyright (C) 1999-2011 Gustaf Neumann (a) (b) - * Copyright (C) 1999-2007 Uwe Zdun (a) (b) - * Copyright (C) 2007-2008 Martin Matuska (b) - * Copyright (C) 2010-2011 Stefan Sobernig (b) + * Copyright (C) 1999-2011 Gustaf Neumann (a) (b) + * Copyright (C) 1999-2007 Uwe Zdun (a) (b) + * Copyright (C) 2007-2008 Martin Matuska (b) + * Copyright (C) 2010-2011 Stefan Sobernig (b) * + * * (a) University of Essen * Specification of Software Systems * Altendorferstrasse 97-101 @@ -16,16 +21,30 @@ * A-1090, Augasse 2-6 * Vienna, Austria * - * Permission to use, copy, modify, distribute, and sell this - * software and its documentation for any purpose is hereby granted - * without fee, provided that the above copyright notice appear in - * all copies and that both that copyright notice and this permission - * notice appear in supporting documentation. We make no - * representations about the suitability of this software for any - * purpose. It is provided "as is" without express or implied - * warranty. + * This work is licensed under the MIT License + * http://www.opensource.org/licenses/MIT * + * Copyright: * + * 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. + * + * * This software is based upon MIT Object Tcl by David Wetherall and * Christopher J. Lindblad, that contains the following copyright * message: @@ -42,7 +61,7 @@ * written prior permission. M.I.T. makes no representations about * the suitability of this software for any purpose. It is * provided "as is" without express or implied warranty." - * */ + */ #define NSF_C 1 #include "nsfInt.h" Index: generic/nsf.decls =================================================================== diff -u -rffd5b8ff74134cc891b9715cf1dd949193065b61 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsf.decls (.../nsf.decls) (revision ffd5b8ff74134cc891b9715cf1dd949193065b61) +++ generic/nsf.decls (.../nsf.decls) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -5,10 +5,9 @@ # This file is used to generate the nxDecls.h, nxPlatDecls.h, # nxStub.c, and nxPlatStub.c files. # +# Copyright (C) 1999-2011 Gustaf Neumann +# Copyright (C) 1999-2007 Uwe Zdun # -# Copyright (c) 1998-1999 by Scriptics Corporation. -# See the file "tcl-license.terms" for information on usage and redistribution -# of this file, and for a DISCLAIMER OF ALL WARRANTIES. # library nsf Index: generic/nsf.h =================================================================== diff -u -rf41102447b264605d111e97cab91f3c3ae717a66 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsf.h (.../nsf.h) (revision f41102447b264605d111e97cab91f3c3ae717a66) +++ generic/nsf.h (.../nsf.h) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -2,24 +2,38 @@ * * Next Scripting Framework * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun + * Copyright (C) 1999-2011 Gustaf Neumann (a) (b) + * Copyright (C) 1999-2007 Uwe Zdun (a) (b) + * Copyright (C) 2007-2008 Martin Matuska (b) + * Copyright (C) 2010-2011 Stefan Sobernig (b) * - * This software is based upon MIT Object Tcl by David Wetherall and - * Christopher J. Lindblad, that contains the following copyright - * message: - * - * Copyright 1993 Massachusetts Institute of Technology - * - * Permission to use, copy, modify, distribute, and sell this - * software and its documentation for any purpose is hereby granted - * without fee, provided that the above copyright notice appear in - * all copies and that both that copyright notice and this permission - * notice appear in supporting documentation, and that the name of - * M.I.T. not be used in advertising or publicity pertaining to - * distribution of the software without specific, written prior - * permission. M.I.T. makes no representations about the suitability - * of this software for any purpose. It is provided "as is" without - * express or implied warranty. + * (a) University of Essen + * Specification of Software Systems + * Altendorferstrasse 97-101 + * D-45143 Essen, Germany + * + * (b) Vienna University of Economics and Business + * Institute of Information Systems and New Media + * A-1090, Augasse 2-6 + * Vienna, Austria + * + * 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 _nsf_h_ Index: generic/nsf.tcl =================================================================== diff -u -re52f2dd0f35e8a12230a20e90575f242da4e0e5c -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsf.tcl (.../nsf.tcl) (revision e52f2dd0f35e8a12230a20e90575f242da4e0e5c) +++ generic/nsf.tcl (.../nsf.tcl) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,3 +1,13 @@ +# -*- Tcl -*- +# +# Define a basic set of predefined Tcl commands and definitions for +# the Next Scripting Framework. This file will be transformed by +# mk_predefined.tcl into "predefined.h", which in included in nsf.c. +# +# Copyright (C) 2009-2011 Gustaf Neumann +# Copyright (C) 2010 Stefan Sobernig +# + namespace eval ::nsf { # # get frequenly used primitiva into the ::nsf namespace Index: generic/nsfAPI.decls =================================================================== diff -u -rf25391601dc81bb54fe227aa5e9341d17de30ae9 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfAPI.decls (.../nsfAPI.decls) (revision f25391601dc81bb54fe227aa5e9341d17de30ae9) +++ generic/nsfAPI.decls (.../nsfAPI.decls) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -3,6 +3,9 @@ # This script is sourced by the C-code generator gentclAPI.tcl in the # same directory. It is also used by the nx::doc toolkit to generate # the authorative language reference documents. +# +# Copyright (C) 2009-2011 Gustaf Neumann +# # namespaces for types of methods array set ns { Index: generic/nsfAPI.h =================================================================== diff -u -rf25391601dc81bb54fe227aa5e9341d17de30ae9 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfAPI.h (.../nsfAPI.h) (revision f25391601dc81bb54fe227aa5e9341d17de30ae9) +++ generic/nsfAPI.h (.../nsfAPI.h) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,4 +1,10 @@ +/* + * This source code file was generated by the C-code generator gentclAPI.tcl, + * part of the Next Scripting Framework. + */ + + enum InfomethodsubcmdIdx {InfomethodsubcmdNULL, InfomethodsubcmdArgsIdx, InfomethodsubcmdBodyIdx, InfomethodsubcmdDefinitionIdx, InfomethodsubcmdExistsIdx, InfomethodsubcmdRegistrationhandleIdx, InfomethodsubcmdDefinitionhandleIdx, InfomethodsubcmdHandleIdx, InfomethodsubcmdOriginIdx, InfomethodsubcmdParameterIdx, InfomethodsubcmdParametersyntaxIdx, InfomethodsubcmdTypeIdx, InfomethodsubcmdPreconditionIdx, InfomethodsubcmdPostconditionIdx, InfomethodsubcmdSubmethodsIdx}; static int ConvertToInfomethodsubcmd(Tcl_Interp *interp, Tcl_Obj *objPtr, Nsf_Param CONST *pPtr, Index: generic/nsfAccessInt.h =================================================================== diff -u -r643f38a3651566f228a9756b09760930c553f7e8 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfAccessInt.h (.../nsfAccessInt.h) (revision 643f38a3651566f228a9756b09760930c553f7e8) +++ generic/nsfAccessInt.h (.../nsfAccessInt.h) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,3 +1,27 @@ +/* + * Macros to abstract access to Tcl internals where possible. + * This file is part of the Next Scripting Framework + * + * Copyright (C) 2010-2011 Gustaf Neumann + * + * 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. + */ #define Tcl_Interp_numLevels(interp) ((Interp *)interp)->numLevels #define Tcl_Interp_framePtr(interp) ((Tcl_CallFrame *)((Interp *)interp)->framePtr) #define Tcl_Interp_varFramePtr(interp) (((Interp *)interp)->varFramePtr) Index: generic/nsfCompile.c =================================================================== diff -u -rab5097b110d11556bd7b32faace2fd6cae23b6e5 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfCompile.c (.../nsfCompile.c) (revision ab5097b110d11556bd7b32faace2fd6cae23b6e5) +++ generic/nsfCompile.c (.../nsfCompile.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,3 +1,33 @@ +/* + * nsfCompile.c -- + * + * Support for Bytecode in XOTcl/Nsf. This code was written for Tcl 8.4 + * and required a small change for Tcl 8.4 (available from www.xotcl.org, + * but not part of the Tcl Toolkit). This file was adopted only slightly + * for naming changes etc., but requires more work to be revived. The + * code is currently deactivated. + * + * Copyright (C) 2005-2011 Gustaf Neumann + * + * 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 "nsfInt.h" #ifdef NSF_BYTECODE Index: generic/nsfDebug.c =================================================================== diff -u -reea58c10308f2677f238bbc31c0276fbed7ce425 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfDebug.c (.../nsfDebug.c) (revision eea58c10308f2677f238bbc31c0276fbed7ce425) +++ generic/nsfDebug.c (.../nsfDebug.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,14 +1,28 @@ -/* -*- Mode: c++ -*- +/* + * nsfDebug.c -- * - * Next Scripting Framework + * Debugging facilities for the Next Scripting Framework. * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun + * Copyright (C) 1999-2011 Gustaf Neumann + * Copyright (C) 1999-2007 Uwe Zdun * + * 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: * - * nsfDebug.c -- - * - * Debugging facilities for the Next Scripting Framework - * + * 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 "nsfInt.h" Index: generic/nsfDecls.h =================================================================== diff -u -rffd5b8ff74134cc891b9715cf1dd949193065b61 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfDecls.h (.../nsfDecls.h) (revision ffd5b8ff74134cc891b9715cf1dd949193065b61) +++ generic/nsfDecls.h (.../nsfDecls.h) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,10 +1,13 @@ /* * nsfDecls.h -- * - * Declarations of functions in the platform independent public XOTcl API. + * Declarations of functions in the platform independent public Nsf API. * - * Copyright (C) 1999-2008 Gustaf Neumann, Uwe Zdun + * This file is part of the Next Scripting Framework. * + * Copyright (C) 1999-2011 Gustaf Neumann + * Copyright (C) 1999-2007 Uwe Zdun + * * See the file "tcl-license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * Index: generic/nsfError.c =================================================================== diff -u -raaca0380befc823055c1a345eaeeaee7734705f4 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfError.c (.../nsfError.c) (revision aaca0380befc823055c1a345eaeeaee7734705f4) +++ generic/nsfError.c (.../nsfError.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,13 +1,29 @@ /* - * Next Scripting Framework - * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun - * - * * nsfError.c -- * - * error return functions for the Next Scripting Framework + * Error reporting functions for the Next Scripting Framework. * + * Copyright (C) 1999-2011 Gustaf Neumann + * Copyright (C) 1999-2007 Uwe Zdun + * Copyright (C) 2011 Stefan Sobernig + * + * 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 "nsfInt.h" Index: generic/nsfInt.decls =================================================================== diff -u -r14965323980c2235c37b67ddbb19343ddbdaa41c -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfInt.decls (.../nsfInt.decls) (revision 14965323980c2235c37b67ddbb19343ddbdaa41c) +++ generic/nsfInt.decls (.../nsfInt.decls) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,4 +1,4 @@ -# nsfInt.decls -- +# -*- Tcl -*-nsfInt.decls -- # # This file contains the declarations for all unsupported # functions that are exported by the Tcl library. This file Index: generic/nsfInt.h =================================================================== diff -u -rb9000cff9206c8621e46524c2f12f8fc8fcb6f86 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfInt.h (.../nsfInt.h) (revision b9000cff9206c8621e46524c2f12f8fc8fcb6f86) +++ generic/nsfInt.h (.../nsfInt.h) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,11 +1,30 @@ -/* -*- Mode: c++ -*- - * Next Scripting Framework +/* + * nsfInt.h -- + * + * Declarations of the internally used API Functions of the Next + * Scripting Framework. * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun + * Copyright (C) 1999-2011 Gustaf Neumann + * Copyright (C) 1999-2007 Uwe Zdun + * Copyright (C) 2011 Stefan Sobernig * - * nsfInt.h -- + * 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: * - * Mostly internally used API Functions + * 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 _nsf_int_h_ Index: generic/nsfObj.c =================================================================== diff -u -reea58c10308f2677f238bbc31c0276fbed7ce425 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfObj.c (.../nsfObj.c) (revision eea58c10308f2677f238bbc31c0276fbed7ce425) +++ generic/nsfObj.c (.../nsfObj.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,14 +1,28 @@ -/* +/* + * nsfError.c -- * - * Next Scripting Framework + * Tcl_Obj types provided by the Next Scripting Framework. + * + * Copyright (C) 1999-2011 Gustaf Neumann * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun + * 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. * - * nsfObj.c -- - * - * Tcl_Obj types provided by the Next Scripting Framework - * + * 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 "nsfInt.h" Index: generic/nsfObjectData.c =================================================================== diff -u -reea1c3907d9df65b1e1f80a0d19df35a5dc33d50 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfObjectData.c (.../nsfObjectData.c) (revision eea1c3907d9df65b1e1f80a0d19df35a5dc33d50) +++ generic/nsfObjectData.c (.../nsfObjectData.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,15 +1,30 @@ -/* -*- Mode: c++ -*- - * nsfObjectData.c +/* + * nsfObjectData.c -- * - * Extended Object Tcl (XOTcl) + * Nsf Object Data, needs NSF_OBJECTDATA to be compiled in. When + * specified, it can be use to equip every object from C with an + * additional payload. + * + * Copyright (C) 1999-2011 Gustaf Neumann + * Copyright (C) 1999-2007 Uwe Zdun * - * Copyright (C) 1999-2008 Gustaf Neumann, Uwe Zdun + * 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. * - * nsfObjectData.c -- - * - * XOTcl Object Data, needs NSF_OBJECTDATA to be compiled in - * + * 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 "nsfInt.h" Index: generic/nsfPointer.c =================================================================== diff -u -r551a41a1d6502070f966b5f0be2559cf3fe12804 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfPointer.c (.../nsfPointer.c) (revision 551a41a1d6502070f966b5f0be2559cf3fe12804) +++ generic/nsfPointer.c (.../nsfPointer.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,14 +1,28 @@ -/* +/* + * nsfPointer.c -- * - * Next Scripting Framework + * Provide API for accessing mallocated data via Tcl. + * this is used e.q. via the MongoDB interface. + * + * Copyright (C) 2011 Gustaf Neumann * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun + * 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. * - * nsfPointer.c -- - * - * C-level converter to opaque structures - * + * 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 "nsfInt.h" Index: generic/nsfProfile.c =================================================================== diff -u -rc4495e631e7b9ecd9defb279d903233dd44abdd0 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfProfile.c (.../nsfProfile.c) (revision c4495e631e7b9ecd9defb279d903233dd44abdd0) +++ generic/nsfProfile.c (.../nsfProfile.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,16 +1,28 @@ -/* -*- Mode: c++ -*- - * - * Next Scripting Framework - * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun - * - * +/* * nsfProfile.c -- * - * Profiling information printout for Next Scripting Framework - * - * For profiling infos NSF_PROFILE (nsf.h) flag must be activated + * Profiling information printout for Next Scripting Framework. + * For profiling infos NSF_PROFILE must be configured. * + * Copyright (C) 2010-2011 Gustaf Neumann + * + * 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 "nsfInt.h" Index: generic/nsfShadow.c =================================================================== diff -u -rab5097b110d11556bd7b32faace2fd6cae23b6e5 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfShadow.c (.../nsfShadow.c) (revision ab5097b110d11556bd7b32faace2fd6cae23b6e5) +++ generic/nsfShadow.c (.../nsfShadow.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,16 +1,31 @@ -/* +/* + * nsfShadow.c -- * - * Extended Object Tcl (XOTcl) + * API support for shadowing (overloading) and accessing C-implemented + * Tcl obj-commands. + * + * Copyright (C) 1999-2011 Gustaf Neumann * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun + * 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. * - * nsfShadow.c -- - * - * Shadowing (overloading) and accessing global tcl obj commands - * + * 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 "nsfInt.h" #include "nsfAccessInt.h" Index: generic/nsfStack.c =================================================================== diff -u -re639a46f30e0e0c10dc84c898e828b9abe9298d9 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfStack.c (.../nsfStack.c) (revision e639a46f30e0e0c10dc84c898e828b9abe9298d9) +++ generic/nsfStack.c (.../nsfStack.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,4 +1,29 @@ - +/* + * nsfStack.c -- + * + * Stack handling functions of the Next Scripting Framework. + * + * Copyright (C) 2010-2011 Gustaf Neumann + * Copyright (C) 2011 Stefan Sobernig + * + * 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. + */ #ifdef CHECK_ACTIVATION_COUNTS static NsfClasses * NsfClassListUnlink(NsfClasses **firstPtrPtr, void *key); Index: generic/nsfStubInit.c =================================================================== diff -u -r2ce5a2cab4731930a5b26455c56806fc201de23c -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfStubInit.c (.../nsfStubInit.c) (revision 2ce5a2cab4731930a5b26455c56806fc201de23c) +++ generic/nsfStubInit.c (.../nsfStubInit.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,7 +1,8 @@ /* * nxStubInit.c -- * - * This file contains the initializers for the XOTcl stub vectors. + * This file contains the initializers for the stub vectors of the Next + * Scripting Framework. * * Copyright (c) 1998-1999 by XXX * Index: generic/nsfStubLib.c =================================================================== diff -u -reea1c3907d9df65b1e1f80a0d19df35a5dc33d50 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfStubLib.c (.../nsfStubLib.c) (revision eea1c3907d9df65b1e1f80a0d19df35a5dc33d50) +++ generic/nsfStubLib.c (.../nsfStubLib.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,10 +1,12 @@ /* * nsfStubLib.c -- * - * Stub object that will be statically linked into extensions of XOTcl + * Stub object that will be statically linked into extensions of the Next + * Scripting Framework. * - * Copyright (c) 2001-2008 Gustaf Neumann, Uwe Zdun - * Copyright (c) 1998 Paul Duffin. + * Copyright (c) 1998 Paul Duffin + * Copyright (c) 2001-2011 Gustaf Neumann + * Copyright (c) 2001-2007 Uwe Zdun * * See the file "tcl-license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. Index: generic/nsfUtil.c =================================================================== diff -u -rab5097b110d11556bd7b32faace2fd6cae23b6e5 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/nsfUtil.c (.../nsfUtil.c) (revision ab5097b110d11556bd7b32faace2fd6cae23b6e5) +++ generic/nsfUtil.c (.../nsfUtil.c) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,14 +1,29 @@ -/* - * - * Next Scripting Framework +/* + * nsfUtil.c -- * - * Copyright (C) 1999-2010 Gustaf Neumann, Uwe Zdun + * Utility functions of the Next Scripting Framework. * + * Copyright (c) 2001-2011 Gustaf Neumann + * Copyright (c) 2001-2007 Uwe Zdun * - * nsfUtil.c -- - * - * Utility functions - * + * 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 "nsfInt.h" Index: generic/predefined.h =================================================================== diff -u -rd7a730e7bc59d9c56bf4675c3e351e577f4b32c8 -ra09faeafaaacd8dcd4c52cdb86653993e8dc499a --- generic/predefined.h (.../predefined.h) (revision d7a730e7bc59d9c56bf4675c3e351e577f4b32c8) +++ generic/predefined.h (.../predefined.h) (revision a09faeafaaacd8dcd4c52cdb86653993e8dc499a) @@ -1,4 +1,6 @@ +/* Generated by mk_predefined.tcl */ static char cmd[] = +"# -*- Tcl -*-\n" "namespace eval ::nsf {\n" "namespace export \\\n" "next current self configure finalize interp is my relation dispatch\n"