Index: doc/next-migration.html =================================================================== diff -u -r2352fb1a509bd00ec49c9677798caad6bfec4d71 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- doc/next-migration.html (.../next-migration.html) (revision 2352fb1a509bd00ec49c9677798caad6bfec4d71) +++ doc/next-migration.html (.../next-migration.html) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -1633,7 +1633,7 @@
# Define setter and getter methods in NX. # # NX does not provide own methods, but uses -# the low level framework commands, since +# the low-level framework commands, since # application developer will only # need it in rare cases. Index: doc/next-migration.txt =================================================================== diff -u -rb568b39b5b7c822c9ac6e1088d9959ab643f10c0 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- doc/next-migration.txt (.../next-migration.txt) (revision b568b39b5b7c822c9ac6e1088d9959ab643f10c0) +++ doc/next-migration.txt (.../next-migration.txt) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -556,7 +556,7 @@ # Define setter and getter methods in NX. # # NX does not provide own methods, but uses -# the low level framework commands, since +# the low-level framework commands, since # application developer will only # need it in rare cases. Index: generic/nsf.c =================================================================== diff -u -r62dc29237e6a643169841f002784c7dc0b29f201 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- generic/nsf.c (.../nsf.c) (revision 62dc29237e6a643169841f002784c7dc0b29f201) +++ generic/nsf.c (.../nsf.c) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6360,7 +6360,7 @@ /*fprintf(stderr, "==== NSDeleteChild DispatchDestroyMethod FAILED object %p (cmd %p) id %p teardown %p flags %.6x\n", (void *)object, (void *)cmd, (void *)object->id, (void *)object->teardown, object->flags);*/ - NsfLog(interp, NSF_LOG_NOTICE, "Destroy failed for object %s %p %.6x, perform low level deletion", + NsfLog(interp, NSF_LOG_NOTICE, "Destroy failed for object %s %p %.6x, perform low-level deletion", (object->flags & NSF_DURING_DELETE) == NSF_DURING_DELETE ? "deleted-object" : ObjectName_(object), (void*)object, object->flags); CallStackDestroyObject(interp, object); Index: library/mongodb/README.md =================================================================== diff -u -rc1f4cdc0b3367d4c0c2e69e4d983f45ed242fb83 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/mongodb/README.md (.../README.md) (revision c1f4cdc0b3367d4c0c2e69e4d983f45ed242fb83) +++ library/mongodb/README.md (.../README.md) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -91,12 +91,12 @@ --enable-threads --enable-symbols ```` -In order to run the sample script, +In order to run the NSF sample script, perform the following steps * first start the mongodb (e.g. mongod) * go to your NSF source directory * make sure, the c-driver libraries are on the library path - (assuming the c-driver was installed in /usr/local/lib) + (assuming the c-driver was installed in /usr/local/lib) Linux: @@ -117,10 +117,9 @@ ./nxsh library/mongodb/tests/nsf-mongo.test ```` - The script is using both the low-level interface (nsf::mongo) and the + The script tests the low-level interface (nsf::mongo) and the high-level one (nx::mongo), with each exercising a - few insert, query and delete statements, some of which are - commented out. + few insert, query and delete statements. After running this script, you should check the content using the MongoDB shell: @@ -141,10 +140,24 @@ > quit() ```` -## Further sample-scripts: ## +## Testing the object oriented mapping between NX and MongoDB: ## +Test the basic mapping and the OO query methods: + ```` + ./nxsh library/mongodb/tests/nx-mongo.test +```` + +Show the classical Business Informer example in NX: + +```` ./nxsh library/mongodb/tests/nx-bi.test +```` + +Further test scripts for reference handling, serialization and +MongoDB GridFS. + +```` ./nxsh library/mongodb/tests/nx-reference-one.test ./nxsh library/mongodb/tests/nx-reference-many.test ./nxsh library/mongodb/tests/nx-rep.test Index: library/mongodb/nsfmongo.c =================================================================== diff -u -ra963e8896fd07c345ccfa034cbd043344edbf083 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/mongodb/nsfmongo.c (.../nsfmongo.c) (revision a963e8896fd07c345ccfa034cbd043344edbf083) +++ library/mongodb/nsfmongo.c (.../nsfmongo.c) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -2,7 +2,7 @@ * Interface between MongoDB based on NSF (Next Scripting * Framework) * - * This implementation provides a low level interface based on tagged elements + * This implementation provides a low-level interface based on tagged elements * to force / preserve the datatypes of MongoDB when converting into Tcl. * * This code serves as well as an example how to use the source code generator Index: library/mongodb/nx-mongo.tcl =================================================================== diff -u -r6cff9d9b2c329e124fafd745004950b2822eb548 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/mongodb/nx-mongo.tcl (.../nx-mongo.tcl) (revision 6cff9d9b2c329e124fafd745004950b2822eb548) +++ library/mongodb/nx-mongo.tcl (.../nx-mongo.tcl) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -223,7 +223,7 @@ } # - # The methods "bson encode|decode" perform the low level type + # The methods "bson encode|decode" perform the low-level type # mapping between NX objects and the bson serialization. For now, # this handles just the array notation. # Index: library/nx/nx.tcl =================================================================== diff -u -rfc11b2380eef48346410636908936e9468c74807 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/nx/nx.tcl (.../nx.tcl) (revision fc11b2380eef48346410636908936e9468c74807) +++ library/nx/nx.tcl (.../nx.tcl) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -1006,7 +1006,7 @@ ###################################################################### # # We are in bootstrap code; we cannot use slots/parameter to define - # slots, so the code is a little low level. After the definition of + # slots, so the code is a little low-level. After the definition of # the slots, we can use slot-based code such as "-parameter" or # "objectparameter". # @@ -1212,7 +1212,7 @@ # value checkers MethodParameterSlot create ::nx::methodParameterSlot - # Define a temporary, low level interface for defining slot + # Define a temporary, low-level interface for defining slot # values. Normally, this is done via slot objects, which are defined # later. The proc is removed later in this script. Index: library/xotcl/doc/Announce-0.9.3 =================================================================== diff -u -re8715774bf274fbeadabf08a5a0777a968f71148 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-0.9.3 (.../Announce-0.9.3) (revision e8715774bf274fbeadabf08a5a0777a968f71148) +++ library/xotcl/doc/Announce-0.9.3 (.../Announce-0.9.3) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-0.9.4 =================================================================== diff -u -rf934951db464db1a6f39ac98290ecde17a466cd7 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-0.9.4 (.../Announce-0.9.4) (revision f934951db464db1a6f39ac98290ecde17a466cd7) +++ library/xotcl/doc/Announce-0.9.4 (.../Announce-0.9.4) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.0 =================================================================== diff -u -re8715774bf274fbeadabf08a5a0777a968f71148 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.0 (.../Announce-1.0) (revision e8715774bf274fbeadabf08a5a0777a968f71148) +++ library/xotcl/doc/Announce-1.0 (.../Announce-1.0) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.0.1 =================================================================== diff -u -rff45923323c86eebbcbae8f9a4958ce7bc286cef -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.0.1 (.../Announce-1.0.1) (revision ff45923323c86eebbcbae8f9a4958ce7bc286cef) +++ library/xotcl/doc/Announce-1.0.1 (.../Announce-1.0.1) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.0.2 =================================================================== diff -u -re8715774bf274fbeadabf08a5a0777a968f71148 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.0.2 (.../Announce-1.0.2) (revision e8715774bf274fbeadabf08a5a0777a968f71148) +++ library/xotcl/doc/Announce-1.0.2 (.../Announce-1.0.2) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.1.0 =================================================================== diff -u -rff45923323c86eebbcbae8f9a4958ce7bc286cef -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.1.0 (.../Announce-1.1.0) (revision ff45923323c86eebbcbae8f9a4958ce7bc286cef) +++ library/xotcl/doc/Announce-1.1.0 (.../Announce-1.1.0) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.1.1 =================================================================== diff -u -r37fe2bc49a8594e767ddeb0eabbe47f8c348513a -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.1.1 (.../Announce-1.1.1) (revision 37fe2bc49a8594e767ddeb0eabbe47f8c348513a) +++ library/xotcl/doc/Announce-1.1.1 (.../Announce-1.1.1) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.2.0 =================================================================== diff -u -re8715774bf274fbeadabf08a5a0777a968f71148 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.2.0 (.../Announce-1.2.0) (revision e8715774bf274fbeadabf08a5a0777a968f71148) +++ library/xotcl/doc/Announce-1.2.0 (.../Announce-1.2.0) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.3.0 =================================================================== diff -u -re8715774bf274fbeadabf08a5a0777a968f71148 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.3.0 (.../Announce-1.3.0) (revision e8715774bf274fbeadabf08a5a0777a968f71148) +++ library/xotcl/doc/Announce-1.3.0 (.../Announce-1.3.0) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.3.3 =================================================================== diff -u -rff45923323c86eebbcbae8f9a4958ce7bc286cef -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.3.3 (.../Announce-1.3.3) (revision ff45923323c86eebbcbae8f9a4958ce7bc286cef) +++ library/xotcl/doc/Announce-1.3.3 (.../Announce-1.3.3) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.3.4 =================================================================== diff -u -rff45923323c86eebbcbae8f9a4958ce7bc286cef -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.3.4 (.../Announce-1.3.4) (revision ff45923323c86eebbcbae8f9a4958ce7bc286cef) +++ library/xotcl/doc/Announce-1.3.4 (.../Announce-1.3.4) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.3.5 =================================================================== diff -u -re8715774bf274fbeadabf08a5a0777a968f71148 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.3.5 (.../Announce-1.3.5) (revision e8715774bf274fbeadabf08a5a0777a968f71148) +++ library/xotcl/doc/Announce-1.3.5 (.../Announce-1.3.5) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.3.6 =================================================================== diff -u -re8715774bf274fbeadabf08a5a0777a968f71148 -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.3.6 (.../Announce-1.3.6) (revision e8715774bf274fbeadabf08a5a0777a968f71148) +++ library/xotcl/doc/Announce-1.3.6 (.../Announce-1.3.6) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -6,7 +6,7 @@ XOTcl is an object-oriented extension of Tcl that was derived from OTcl. In short, XOTcl tries to provide a highly flexible, reflective, component-based, and object-oriented environment. It - integrates language support for high level concepts which are not + integrates language support for high-level concepts which are not found in other languages, with reasonable performance. It prevails the Tcl programming style and the dynamic/introspective nature of the language, rather than introducing other language's styles and Index: library/xotcl/doc/Announce-1.5.0 =================================================================== diff -u -r37fe2bc49a8594e767ddeb0eabbe47f8c348513a -r4e80fb687a82af0fc9ac0d109863931f4910de4a --- library/xotcl/doc/Announce-1.5.0 (.../Announce-1.5.0) (revision 37fe2bc49a8594e767ddeb0eabbe47f8c348513a) +++ library/xotcl/doc/Announce-1.5.0 (.../Announce-1.5.0) (revision 4e80fb687a82af0fc9ac0d109863931f4910de4a) @@ -120,7 +120,7 @@ commands (like SQL) are used to initialize instance variables, not all variables are used for each object) - - more experimental low level functionality, like + - more experimental low-level functionality, like * initcmd (executed, whenever the variable is read the first time) * valuecmd (executed, whenever the variable is read) * valuechangedcmd (executed, whenever the variable is altered)