xotcl

Clone Tools
  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- nx.tcl: don't use mixins in method "contains", but remap the new implementation. If there are ten thousands of classes defined, adding mixins to the root meta-class degrades linearly on the number of classes defined (the mixin paths for all classes must be invalidated). This might be a problem for frequent "contains" invocations. - bup version numbers for nx, xotcl2 and nsf to 2.0b2

  1. … 4 more files in changeset.
- remove currently unsupported and untested .xotcl files, also c-extensions of the old binary interface. Some of these package might come back later with tests for nx or xotcl.

    • -218
    • +0
    ./library/actiweb/AgentManagement.xotcl
    • -270
    • +0
    ./library/actiweb/HttpPlace.xotcl
    • -90
    • +0
    ./library/actiweb/PlaceAccessControl.xotcl
    • -18
    • +0
    ./library/actiweb/SecureHtmlPlace.xotcl
    • -52
    • +0
    ./library/actiweb/SecureHttpPlace.xotcl
    • -51
    • +0
    ./library/actiweb/SendStrategy.xotcl
    • -226
    • +0
    ./library/actiweb/WebDocument.xotcl
    • -130
    • +0
    ./library/actiweb/WebObject.xotcl
  1. … 115 more files in changeset.
Merge branch '2.0.0-develop'

Conflicts:

.gitignore

ChangeLog

Makefile.in

apps/xml/rdfExample.xotcl

apps/xml/xmlExample.xotcl

config/mktar.sh

configure

configure.in

doc/index.html

doc/langRef-xotcl.pdf

doc/tutorial.pdf

doc/xo-daemon.html

doc/xo-whichPkg.html

generic/predefined.h

generic/predefined.xotcl

generic/xotcl.c

generic/xotcl.decls

generic/xotcl.h

generic/xotclAccessInt.h

generic/xotclAppInit.c

generic/xotclDecls.h

generic/xotclError.c

generic/xotclInt.decls

generic/xotclInt.h

generic/xotclMetaData.c

generic/xotclProfile.c

generic/xotclShadow.c

generic/xotclStubInit.c

generic/xotclStubLib.c

generic/xotclTrace.c

generic/xotclUtil.c

library/lib/changeNextVersion

library/lib/make.xotcl

library/lib/pkgIndex.tcl

library/lib/test.xotcl

library/lib/upvarcompat.xotcl

library/mongodb/tcl.m4

library/rdf/COPYRIGHT

library/rdf/rdfExample.xotcl

library/registry/COPYRIGHT

library/serialize/Serializer.xotcl

library/store/COPYRIGHT

library/xml/COPYRIGHT

library/xml/xmlExample.xotcl

library/xotcl/apps/comm/webserver.xotcl

library/xotcl/doc/langRef.xotcl

library/xotcl/doc/tutorial.html

library/xotcl/library/lib/makeDoc.xotcl

library/xotcl/library/rdf/rdfExample.xotcl

library/xotcl/library/store/XOTclGdbm/configure

library/xotcl/library/store/XOTclGdbm/configure.in

library/xotcl/library/store/XOTclSdbm/Makefile

library/xotcl/library/store/XOTclSdbm/configure

library/xotcl/library/store/XOTclSdbm/configure.in

library/xotcl/library/store/XOTclSdbm/tcl.m4

library/xotcl/library/xml/TclExpat-1.1/Makefile

library/xotcl/library/xml/TclExpat-1.1/configure

library/xotcl/library/xml/TclExpat-1.1/configure.in

library/xotcl/library/xml/TclExpat-1.1/tcl.m4

library/xotcl/library/xml/xmlExample.xotcl

library/xotcl/tests/UNIVERSAL.test

library/xotcl/tests/actiweb.test

library/xotcl/tests/persistence.test

library/xotcl/tests/slottest.xotcl

library/xotcl/tests/speedtest.xotcl

library/xotcl/tests/testo.xotcl

library/xotcl/tests/testx.xotcl

library/xotcl/tests/xoRDF.test

library/xotcl/tests/xocomm.test

tcl.m4

tests/forwardtest.xotcl

unix/tclAppInit.c

unix/tkAppInit.c

win/rc/xotcl.rc

win/winMain.c

xotcl.m4

    • -0
    • +1
    ./apps/actiweb/Counter.xotcl
    • -0
    • +1
    ./apps/actiweb/Counter2.xotcl
    • -0
    • +1
    ./apps/actiweb/Counter3.xotcl
    • -0
    • +1
    ./apps/actiweb/Counter4.xotcl
    • -0
    • +1
    ./apps/actiweb/MC.xotcl
    • -0
    • +1
    ./apps/actiweb/univ/UNIVERSAL.xotcl
    • -432
    • +0
    ./library/store/XOTclSdbm/Makefile
    • -432
    • +0
    ./library/xml/TclExpat-1.1/Makefile
  1. … 3 more files in changeset.
- nx.tcl, xotcl.tcl: * remove proc "register_system_slots" since 'rename register_system_slots ""' fails on aolserver * bump version number to 2.0b1

  1. … 3 more files in changeset.
tests: - added "package prefer latest" to avoid confusions of alpha and beta releases with install versions

  1. … 4 more files in changeset.
- nsf.c - added experimental parameter option noleadingdash - additionalal regression test file method-parameter.test - provide selective error messages for unknown nonpos args

  1. … 10 more files in changeset.
- added configure option: enable-assertions (default on)

  1. … 7 more files in changeset.
- use same version numbers in nsf, nx and xotcl2

  1. … 3 more files in changeset.
- xotcl2.tcl: * added a backward compatible ::xotcl::alias method

  1. … 1 more file in changeset.
- apps/utils/nxdoc: Created a first version of a command-line script around the nxdoc machinery, for Makefile integration. - Makefile.in: Added two experimental nxdoc make-targets: [make yuidoc] and [make xowiki]. In addition, provided for a doc-specific cleanup target: [make cleandoc]. Also changed the way TCLLIBPATH is initialised for makefile runs, to preserve the surrounding environment settings. - tests/doc.test: Deactivated obsolete sections; actual cleanup is pending. - Refactored nxdoc code fragments into sub-packages, namely the html and xowiki rendering components; renamed some file and directory. - Some necessary adjustments to make nxdoc work with the new property/variable nomenclature; spotted some misbehaviour of [namespace import] when running under 8.6b2 (to be investigated; see XOTcl-lanfRef.xotcl)

  1. … 82 more files in changeset.
- nx: * added namespace "nx::internal" * delete procs via "rename to emtpy" instead of "defining procs with empty argumentes and body" * provided "-properties" as a replacement for -attributes, but without magic variable * extended regression test

  1. … 4 more files in changeset.
- renamed "nsf::method::dispatch" to "nsf::directdispatch" - renamed "nsf::object::dispatch" to "nsf::dispatch"

  1. … 16 more files in changeset.
- nsf.c: experimental implementation of ::nsf::method::dispatch

  1. … 8 more files in changeset.
- library/xotcl/library/comm/Connection.xotcl: Provide temporary workaround for Tcl bug #3401422; the NSF/NX/XOTcl2 test suite completes now under Tcl8.6b2.

- fixed substitution of logdir

- library/lib/test.tcl: Disarming [exit] for during the execution of test suites. I allow for using [exit] statements in (legacy) test suites, however, I provided for disabling them for the scope of Test->run() executions. During a test run, [exit] is replaced by a [return] trampoline. - library/xotcl/tests/xocomm.test: We now have a total MEM_COUNT of 0, which leaves us with a contains.test as the last patient (MC of 5). - tests/interp.test: minor cleanup

  1. … 2 more files in changeset.
- generic/nsfAPI.h: Renamed the [::nsf::current next] subcommand to [::nsf::current nextmethod] - library/xotcl/library/xotcl2.tcl: Accordingly, the xotcl::self emulation maps [self next] to [current nextmethod] - tests/disposition.test, tests/methods.test, tests/submethods.test, tests/tcloo.test: Changed the few occurrences of [current next] to [current nextmethod] - tests/introspection.test: Added some basic tests on the expected behaviour of [::nsf::current nextmethod]

  1. … 8 more files in changeset.
- nx.tcl * renamed "info parameter name" to "info parameter names" (since it returns a list of names) * renamed "info parameter name" to "info parameter names" (since it returns a list of names) * renamed "info slots" to "info slot objects" * additional method "info slot definition" * additional method "info slot name" * additional method "info properties" (alias to "info slot definition") * removed "info parameter slot" * use term "noaccessor" and "noconfig" to deactivate accessors or object-parameters in property definitions * don't show slots with noconfig in "info parameter names" * don't show slots with noconfig in "info parameter definition" * renamed slot property "configparam" to "config" * renamed "::nsf::methods::class::info::slots" to "::nsf::methods::class::info::slotobjects" * additional public method ObjectParameterSlot.getPropertyDefinition * updated and extended regression test

  1. … 14 more files in changeset.
- nx.tcl * renamed "attribute" to "property" * renamed "defaultAttributeCallProtection" to "defaultPropertyCallProtection" * renamed "nx::Attribute" to ""nx::VariableSlot" * renamed "BootStrapAttributeSlot" to "BootStrapVariableSlot" * renamed "createBootstrapAttributeSlots" to "createBootstrapVariableSlots" * removed method attributes * implemented old attributes definition in xotcl2 as method "parameter"

  1. … 29 more files in changeset.
- regularized more nsf::* names: renamed "nsf::createobjectsystem" => "nsf::objectsystem::create" renamed "nsf::unknown" => "nsf::object::unknown" renamed "nsf::dispatch" => "nsf::object::dispatch"

  1. … 17 more files in changeset.
- first draft of separation of attribute -> variable + accessor

  1. … 4 more files in changeset.
- fix typos in string "unknown" (unknwon, unkown)

  1. … 3 more files in changeset.
- nsf.c: * added refcounting to parameter definitions (needed, when aliased object parameter redefined the actual objectparameters) * removed hardcoded call to remaining args * switched implentation of xotcl2 to use object parameter with parameter option "args" * removed residualargs from object system definition * extended regression test

  1. … 4 more files in changeset.
- use filterreg in regressiontest as well

- xotcl2: use filterreg instead of plain arg for registration of filters

-nsf.c: * switched parameter logic from default for nrargs from 0 to 1 * simplified logic to detect additional arguments in argument parser * improved error message for missing required argument

  1. … 4 more files in changeset.
- provided nicer registration and inspection interface for unknown handlers - added documentation for unknown handlers in tutorial - cleanup of __unknown

  1. … 8 more files in changeset.
- Use mixinregObjType as well in NsfRelationCmd(), so this is the only place, where mixin and guards are processed. - Since the type converter converts Tcl-Objs, we have less context information (e.g. we have no base class, on which we can decide to call e.g. __unknown on on of the objects systems). - because of the point above, i removed ::xotcl::Class->__unknown and ::nx::Class->__unknown in favor of a global proc ::nsf::unknown, for which unknown handlers can be registered - GetClassFromObj() receives as last argument "withUnknown" instead of baseClass to indicate, when unknown should be tried. - new function NsfCallUnkownHandler()

  1. … 8 more files in changeset.
- renamed converter from "mixinspec" to "mixinreg"

  1. … 5 more files in changeset.
- nsf.c: * added a new converter for converting mixins with guards (named mixinspec) * used mixinspec in nx.tcl and xotcl2.tcl * extended nx regression test.

  1. … 6 more files in changeset.