nsf

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- xotcl.c: * new function GetObjectFromNsName() to obtail object or class from a fully qualified namespace name used in method handles (such as e.g. ::nx::core::classes::X) * new function MethodHandleObj() to return a tcl_obj containing the methodhandle * removed obsolete method getFullProcQualifier() * info methods obtain now object and/or class from fully qualified method names (method handles) if possible * return message handles in "current next", "current filterreg" and "... info filter ... -order", which can be used in "info method .... " for obtaining more details. * change all occurrances of "self" in next regression tests to current. - xotcl2.tcl * implemented "self" as a proc to provide extensibility and full backward compatibilty; this opens opportunity to replace now e.g. "self proc" by "current method", etc. * provide full compatibility for "self next", "self filterreg" and "... info filter ... -order", returning old-style multiword method handles (such as e.g. "::C instproc foo") - changed "next" to current in documentation framework and templates

    • -3
    • +3
    /library/lib/doc-assets/entity.html.tmpl
    • -10
    • +10
    /library/xotcl/tests/testx.xotcl
  1. … 5 more files in changeset.
- iterated through doc.tcl-TODOs - changed CheckVarName to allow array names like e.g. a(::b) - extended regression test - fixed serializer to handle subobjects of explicitely exported objects

- deactivated __next for now - iterated thought doc.tcl-TODOs - fixed path in invocation of xotcl doc script

- moved slottest to library/xotcl - added new Makefile target test-xotcl - finished test migration for now

    • -0
    • +630
    /library/xotcl/tests/slottest.xotcl
- moved some more xotcl specfic tests to library/xotcl - transformed forwardtest from xotcl to next

    • -0
    • +48
    /library/xotcl/tests/UNIVERSAL.test
    • -0
    • +83
    /library/xotcl/tests/actiweb.test
    • -0
    • +401
    /library/xotcl/tests/persistence.test
    • -0
    • +547
    /library/xotcl/tests/speedtest.xotcl
    • -0
    • +1661
    /library/xotcl/tests/xoRDF.test
    • -0
    • +390
    /tests/forwardtest.tcl
- created own directory structure xotcl under library containing doc, tests, apps, lib etc. and moved obvious content here. - adjusted regression test and old documentation system to work with new structure

    • -205
    • +0
    /apps/actiweb/FormsWithState.xotcl
    • -82
    • +0
    /apps/actiweb/securePlaceDemo.xotcl
  1. … 390 more files in changeset.
- added redefine-protected to the object template - added methodtype to object template - some documentation updates - some indentation/spacing improvements on xotcl.c - let ".... info method .... METHOD" return values, when METHOD contains namespace prefix. This can be used to obtain the parmeter definitions from nx::core - get forward definition from the original command

    • -5
    • +12
    /library/lib/doc-assets/object.html.tmpl
- added @properties and has_property to the documentation classes. Current primary purpose: define, which methods are internally-called - added interanlly-called to the method object template

    • -0
    • +4
    /library/lib/doc-assets/object.html.tmpl
- renamed mk_predefined.xotcl -> mk_predefined.tcl - renamed predefined.xotcl -> predefined.tcl - additional subcommand "info method parametersyntax <methodname>" returns parameters in a syntax similar to the tcl man pages - added ability to pass syntax for forwarded methods via set ::nx::core::signature(::nx::Object-method-forward) (experimental) - fixed documentation system to work with actual version - added undocumented methods for quality control in documentation - added checks for documented, but unavailable methods in documentation - added comparison of documented parameters vs. actual parameters in documentation

    • -0
    • +26
    /generic/mk_predefined.tcl
    • -0
    • +1456
    /generic/predefined.tcl
    • -5
    • +5
    /library/lib/doc-assets/command.html.tmpl
    • -16
    • +20
    /library/lib/doc-assets/object.html.tmpl
    • -0
    • +1817
    /library/lib/doc-tools.tcl
  1. … 3 more files in changeset.
- changed "Serializer.xotcl" to "serializer.tcl" (package name from xotcl::serializer to nx::serializer) - added stub for xotcl::serializer for backward compatibility - changed serializer to new namespaces - renamed xotcl.tcl to xotcl2.tcl - added proc finalize to xotcl2.tcl

    • -0
    • +812
    /library/lib/xotcl2.tcl
    • -849
    • +2
    /library/serialize/Serializer.xotcl
    • -0
    • +864
    /library/serialize/serializer.tcl
- changed stubs from xotcl to nx - first part of openacs updates

- changed stubs from xotcl to nx

    • -0
    • +178
    /generic/nx.decls
    • -0
    • +447
    /generic/nxDecls.h
    • -0
    • +117
    /generic/nxInt.decls
    • -0
    • +57
    /generic/nxIntDecls.h
    • -0
    • +88
    /generic/nxStubInit.c
    • -0
    • +102
    /generic/nxStubLib.c
  1. … 9 more files in changeset.
- changed pkgIndex reference for .so file from next ot nx

- added section about registering filters and mixin to migration guide - moved and transformed to next tests/mixinoftest.xotcl -> tests/mixinoftest.tcl - moved and transformed to next tests/object-system.xotcl -> tests/object-system.tcl

    • -0
    • +514
    /tests/mixinoftest.tcl
    • -0
    • +200
    /tests/object-system.tcl
- added section abput registration of mixins and filters

- added missing file

- changed prefix

    • -0
    • +72
    /tests/var-access.tcl
- changed "require next" to "... nx" - changed "require next::test" to "... nx::test" - changed "require next::doc" to "... nx::doc"

  1. … 19 more files in changeset.
- update of migration guide

- minor documentation updates

    • -0
    • +914
    /doc/next-migration.html
- renamed tests/method-modifiers.xotcl to tests/method-modifiers.tcl - changed "require xotcl::test" to "... next::test"

    • -0
    • +279
    /tests/method-modifiers.tcl
  1. … 8 more files in changeset.
- rename xotcl1.xotcl to xotcl.tcl - some cleanup (version variables, etc.) in xotcl.tcl

    • -0
    • +810
    /library/lib/xotcl.tcl
- get rid of ":::xotcl::use" - renamed tests based on next from .xotcl to .tcl - extended regression tests - use namespace ::nx::test instead of ::xotcl::test - use namespace ::nx::serializer instead of ::xotcl::serializer

    • -0
    • +210
    /apps/scripts/soccerClub2.tcl
    • -0
    • +172
    /library/lib/make.tcl
    • -0
    • +152
    /library/lib/test.tcl
    • -0
    • +381
    /tests/aliastest.tcl
  1. … 10 more files in changeset.
- added minimal stack example

    • -0
    • +21
    /apps/scripts/stack.tcl
- Implemented "Class info parameter" in Tcl, aliases for xotcl. Now both definition of parameters and setting of __parameter are in Tcl.

- generalized comment removal code in mk_predefined

- change mk_predefined to handle longish comments in predefined.xotcl (due to documentation system)

- minor typographical changes

- cover different kind of methods and method protection in mirgration guide

- changed one more int to size_t