example-scripts

Clone Tools
  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
First examples, supporting text, and Makefile integration

    • -0
    • +276
    ./linearisation.tcl
  1. … 1 more file in changeset.
- added design study ruby-mixins.tcl to example-docs and regression test

    • -0
    • +1133
    ./ruby-mixins.html
    • -0
    • +214
    ./ruby-mixins.tcl
  1. … 2 more files in changeset.
- generic/nsfInt.h: Provided the DECR_REF_COUNT2 #define macro for __WIN32__ builds (e.g., MinGW). Thanks to Stephan Adelsberger for pointing to the issue. - Made temp file handling in a rosetta example OS-independent; thanks to Stephan Adelsberger for the initial patch

  1. … 2 more files in changeset.
- added example file for container classes

    • -0
    • +1130
    ./container.html
  1. … 1 more file in changeset.
- provide means for "autoloading" traits

  1. … 5 more files in changeset.
- added tk-spread and tk-locomotive to example scripts

    • -0
    • +946
    ./tk-locomotive.html
    • -0
    • +196
    ./tk-locomotive.tcl
  1. … 3 more files in changeset.
- traits: renamed "useTrait" into "require trait"

  1. … 2 more files in changeset.
- nx-traits: * use "info methods -closure" instead of instantiating a class at trait-insertion time * added trait as package nx::callback

- example scripts: added tk-mini and tk-horse-race

    • -0
    • +896
    ./tk-horse-race.html
    • -0
    • +153
    ./tk-horse-race.tcl
  1. … 5 more files in changeset.
- add traits package and example scripts

    • -0
    • +899
    ./traits-composite.html
    • -0
    • +99
    ./traits-composite.tcl
    • -0
    • +846
    ./traits-simple.html
  1. … 2 more files in changeset.
- add example scripts

    • -0
    • +966
    ./per-object-mixins.html
    • -0
    • +131
    ./per-object-mixins.tcl
- nsf.c * implemented NsfObjDispatchNRE and NsfObjDispatch * this fixed all issues of tcl8.6 and interp.test (xocomm still hangs in tcl 8.6)

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

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

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

    • -0
    • +825
    ./rosetta-abstract-type.html
    • -0
    • +43
    ./rosetta-abstract-type.tcl
- added example rosetta-abstract-type.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
    • +791
    ./rosetta-classes.html
    • -0
    • +26
    ./rosetta-classes.tcl
    • -0
    • +834
    ./rosetta-constraint-genericity.html
    • -0
    • +49
    ./rosetta-constraint-genericity.tcl
    • -0
    • +808
    ./rosetta-delegates.html
    • -0
    • +50
    ./rosetta-delegates.tcl
    • -0
    • +774
    ./rosetta-distinct-objects.html
    • -0
    • +17
    ./rosetta-distinct-objects.tcl
    • -0
    • +778
    ./rosetta-polymorphic-copy.html
    • -0
    • +26
    ./rosetta-polymorphic-copy.tcl
    • -0
    • +840
    ./rosetta-polymorphism.html
    • -0
    • +45
    ./rosetta-polymorphism.tcl
    • -0
    • +861
    ./rosetta-serialization.html
  1. … 5 more files in changeset.