doc

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- minor documentation updates

* added ./apps/utils/source-doc-beautifier.tcl * fixed the file-handle output/formatting in rosetta-serialization.tcl; using proc "!"

    • -2
    • +1
    ./example-scripts/rosetta-serialization.html
    • -1
    • +2
    ./example-scripts/rosetta-serialization.tcl
    • -0
    • +797
    ./example-scripts/rosetta-unknown-method.html
    • -5
    • +8
    ./example-scripts/rosetta-unknown-method.tcl
  1. … 2 more files in changeset.
- added example rosetta-unknown-method.tcl

    • -1
    • +1
    ./example-scripts/rosetta-serialization.tcl
    • -0
    • +34
    ./example-scripts/rosetta-unknown-method.tcl
  1. … 2 more files in changeset.
- the added examples

    • -0
    • +825
    ./example-scripts/rosetta-abstract-type.html
    • -0
    • +43
    ./example-scripts/rosetta-abstract-type.tcl
- added example rosetta-abstract-type.tcl

    • -4
    • +16
    ./example-scripts/rosetta-polymorphism.html
    • -1
    • +3
    ./example-scripts/rosetta-polymorphism.tcl
  1. … 2 more files in changeset.
- new folder example-scripts * Added 8 of the rosetta examples and one classical OTcl example * all examples are tested via regression test * all examples are pretty-printed via asciidoc

    • -0
    • +1091
    ./example-scripts/bagel.html
    • -0
    • +185
    ./example-scripts/bagel.tcl
    • -0
    • +791
    ./example-scripts/rosetta-classes.html
    • -0
    • +26
    ./example-scripts/rosetta-classes.tcl
    • -0
    • +834
    ./example-scripts/rosetta-constraint-genericity.html
    • -0
    • +49
    ./example-scripts/rosetta-constraint-genericity.tcl
    • -0
    • +808
    ./example-scripts/rosetta-delegates.html
    • -0
    • +50
    ./example-scripts/rosetta-delegates.tcl
    • -0
    • +774
    ./example-scripts/rosetta-distinct-objects.html
    • -0
    • +17
    ./example-scripts/rosetta-distinct-objects.tcl
    • -0
    • +778
    ./example-scripts/rosetta-polymorphic-copy.html
    • -0
    • +26
    ./example-scripts/rosetta-polymorphic-copy.tcl
    • -0
    • +840
    ./example-scripts/rosetta-polymorphism.html
    • -0
    • +45
    ./example-scripts/rosetta-polymorphism.tcl
    • -0
    • +861
    ./example-scripts/rosetta-serialization.html
  1. … 5 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.
- changed Stack example in tutorial from constructor to :variable - allow just valid specs for :attribute and :variable methods - improved error message for invalid parameter specs (with leading colons) - extended regression test

  1. … 4 more files in changeset.
- updated next-tutorial to the current naming conventions

  1. … 1 more file in changeset.
- reamed ObjectParameterSlot attribute from nosetter => accessor (positive formulation)

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

  1. … 6 more files in changeset.
- nsf.c: generalized disposition handling (forward, alias, initcmd) for object parameter * disposition is now an option for object parameters rather than than an own type. Therefore, one can check the arguments passed to the disposition cases * changed specification of name of method from arg= to method= * this way "type" info in "info parameter syntax" is handled automatically

  1. … 11 more files in changeset.
- added "link" from 2.4 (parameters) to "info parameters" in migration guide

  1. … 3 more files in changeset.
Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

Conflicts:

TODO

  1. … 1 more file in changeset.
- migration-guide: add third level to toc

- nx.tcl: added "info parameter slot" to return slotobject(s) - added "info parameter slot" to migration guide - extended regression test

  1. … 4 more files in changeset.
- migration guide * included change in "info heritage" * included "info slots" * included "info parameter" * included "delete method" * included "delete attribute"

  1. … 2 more files in changeset.
- minor update

- nsf.c * added "pattern" to "info lookup slots" * added "pattern" to "info slots" * extended regression test

  1. … 6 more files in changeset.
update doc

- nsf.c: * renamed old flag "-order" of "info mixin classes" to "-heritage" since it computes same heritage as in "info heritage" (but potentially for a list of classes) * added compatibility layer for xotcl2 * added lost option "-heritage" to "/cls/ info mixin classes" (was only there for "/obj/ info mixin classes") * extended regression test

  1. … 6 more files in changeset.
- adding "profiling" to feature list

- extended migration guide (introduction, feature lists, etc.)

- nx.tcl: added support for positional object parameter and removed special handling of the last argument for the init block; added attributes "position" and "positional" to ObjectParameterSlots, removed last argument of method "objectparameter" - nx.tcl: simplified createBootstrapAttributeSlots (second round of default value setting seems not necessary) - nx.tcl: some cleanup

  1. … 3 more files in changeset.
- nsf: renamed nsf::isobject to nsf::object::exists - nsf: renamed nsf::qualify to nsf::object::qualify

  1. … 16 more files in changeset.
* nx: added flag ?-type ...? to "info lookup slots" * nsf: made all useful converters external symbols

  1. … 6 more files in changeset.
* some documentation/todo updates

  1. … 2 more files in changeset.
* Hopefully the last big naming change: Instead of writing "C class-object method foo {} {...}" one can write now "C class method foo {} {...}" to define a class method named "foo" for class "C". This naming change became possible by defining XOTcl's "class" (and "superclass") as object parameter only. To change a class of an object o, one has to use "o configure -class NEWCLASS". The term "object-class" looks alien to language beginners, the term "class" is much more straightforward. Changing classes or superclasses is seldomly used by typicall application programs.

For already existing nx scripts, changing "object-class" into

class should be straightforward.

* various documentation updates (migration guide, nx tutorial)

  1. … 19 more files in changeset.
- changed named of method handling commands in nsf: ::nsf::methodproperty => ::nsf::method::property ::nsf::method => ::nsf::method::create ::nsf::methoddelete => ::nsf::method::delete ::nsf::alias => ::nsf::method::alias ::nsf::forward => ::nsf::method::forward ::nsf::setter => ::nsf::method::setter (updated regression test, docs, ...)

  1. … 23 more files in changeset.