doc

Clone Tools
  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* 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.
- updated migration guide

  1. … 2 more files in changeset.
- updated documentation

    • -1142
    • +1211
    ./object-parameter.graffle
  1. … 2 more files in changeset.
- updated slot graphics

- nx.tcl: added default/initcmd for ObjectParameterSlot - added ::nx::Object as default for "superclass" slot to make default superclass explicit - unified interface for getParameterOptions - extended regression test

  1. … 3 more files in changeset.
- updated class diagram

  1. … 1 more file in changeset.
- update of diagram

- nx.tcl: * new method requireClass to Combine two classes and return the more specialized one * make slot objects for parameter aliases and parameter forwarder instances of ObjectParameterSlot * get rid of attributes "isforward" and "isalias" and replace it by "dispositon" * complete list of predefined value checkers * we have now three approaches for providing parameter -object-filter and -object-method Approach 1: create RelationSlot with nosetter Approach 2: use parameter forwarder Approach 3: use parameter alias we switched from approach 1 to approach 3

  1. … 3 more files in changeset.
- update of graphic

- renamed object parameter type "method" to "alias" - removed parameter option "slotobj=" in toParameterSyntax - renamed to [from|to]parameterSyntax to [from|to]parameterSpec

  1. … 6 more files in changeset.
- documentation updates

- next-tutorial: documentation updates

    • -0
    • +638
    ./object-class-appclass.graffle
    • -0
    • +513
    ./object-class.graffle
    • -0
    • +2429
    ./object-parameter.graffle
    • binary
    ./object-parameter.png
    • -0
    • +420
    ./object-stack.graffle
    • -0
    • +719
    ./per-class-mixin.graffle
    • binary
    ./per-class-mixin.png
    • -0
    • +722
    ./per-object-mixin.graffle
    • binary
    ./per-object-mixin.png
    • -0
    • +1155
    ./slots.graffle
  1. … 5 more files in changeset.
- updated method count in migration guide

- update of css file for prince

- minor improvements

- added first version of next-tutorial.[txt|html]

    • -0
    • +1372
    ./next-tutorial.html
    • -0
    • +610
    ./next-tutorial.txt
  1. … 1 more file in changeset.
- minor wording update

- reduced width of made program text columns for making easier printable documents

- documentation work

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

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

  1. … 1 more file in changeset.
- source code formatted via new pretty printer class

    • -2015
    • +3375
    ./next-migration.html
- removed method "setter" from migration guide

  1. … 1 more file in changeset.
- removed method "setter" from migration guide

  1. … 3 more files in changeset.
- extended und overworked mirgration guide (added e.g. multiplicity)

  1. … 1 more file in changeset.
- NSDeleteChildren: delete objects before classes - NSDeleteChildren: delete here aliases as well - fix potential crash when "next" is called from a non-proc frame.

  1. … 2 more files in changeset.
- Converted migration guide to asciidoc - Overhaul of serveral sections in asciidoc - Developed styles for nx for migration guide (.css and source-highlight)

    • -1484
    • +3695
    ./next-migration.html
    • binary
    ./next-migration.txt
  1. … 1 more file in changeset.
- minor updates of the migration guide

- made handling of unstacked entries optional by defining macro CHECK_ACTIVATION_COUNTS) - added macro NSF_DEVELOPMENT for toplevel handling if NDEBUG and CHECK_ACTIVATION_COUNTS - cleanup of method-modifiers.tcl - updated next migration guide

  1. … 6 more files in changeset.