lib

Clone Tools
  • last updated 11 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- add trait index entry to pktIndex.tcl

- improve keyword detection (it is now slower, since it uses two separate regexps, but it returns much less false positives)

- provide means for "autoloading" traits

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

  1. … 8 more files in changeset.
- added per-object traits (and per-class-object traits)

- traits: renamed "useTrait" into "require trait"

  1. … 9 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

  1. … 9 more files in changeset.
- library/lib/nxdoc-assets/body.html.yuidoc: Added a tiny piece of missing styling markup ...

- library/lib/nxdoc-core.tcl: Major refactoring accomplished: Managed to refactor the validation code into a separate module, obtain a better separation between the backend implementations, ... Relocate the validate() method implementations into the Validator mixin layer. Validation (the validate cascade) is now triggered from within the mixin layer ... further improves the separation of concerns in nxdoc ... Also, moved frontend code into two distinct Tcl packages: We now distinguish between the DC ("Documentation Comments") and the XODoc frontends. I also remastered the entire frontend handling and disentangled the various concerns: specifying documentation sources, 1st- and 2nd pass handling, etc. - Support for document multiple Tcl packages per NXDoc project. Multi-package support, plus validation mode for packages, adding missing files to the repo - tests/doc.test: General cleanup, deactivated some tests for the time being (till the DC interface settles) - library/lib/nxdoc-core.tcl: Removed dead comments and dead codex - YUIDoc template suite: Added Monikas recent adaptations/extensions. I still have to check the resource paths for the xowiki backend, which are most probably broken for now. - Adjusted TODO for accomplished tasks.

    • -24
    • +336
    ./nxdoc-assets/yuidoc/api-next.css
  1. … 7 more files in changeset.
- add traits package and example scripts

  1. … 5 more files in changeset.
- experimentation version of unknown handler for non-pos args - extending regression test

  1. … 6 more files in changeset.
- library/lib/nxdoc-core.tcl: Slightly improved the error robustness of nxdoc

- library/lib/nx-zip.tcl: refactored implementqtion, improved utf-8 file-name handling (which is a mess in pkzip)

  1. … 3 more files in changeset.
- Makefile.in: Added two new targets: [make yuidoc-dev] and [make xowiki-dev]; both will be generate the documentation including validation data and will make proper use of the nxdocIndex restrictions. - apps/utils/nxdoc: Some minor fixes/additions - library/lib/nxdoc-core.tcl: Completed the nx::doc::mkIndex helper

  1. … 2 more files in changeset.
- apps/utils/nxdoc: Added support for nxdoxIndex files - library/lib/nxdoc-core.tcl: Temporary fix for filtering commands (includes/excludes) at the right time; needs major cleanup; first drop of a mkIndex helper.

  1. … 1 more file in changeset.
- library/lib/nxdoc-assets/@project.html.yuidoc|body.html.yuidoc: Slight re-arrangement of markup to fit Monika's yuidoc redesign - library/lib/nxdoc-assets/yuidoc/*: Added Monika's yuidoc ressources (images, styles); removed obsolete assets (nx.png, bg_hd.gif).

    • binary
    ./nxdoc-assets/yuidoc/arrow-blue.png
    • binary
    ./nxdoc-assets/yuidoc/arrow-download-blue.png
    • binary
    ./nxdoc-assets/yuidoc/arrow-white.png
    • -0
    • +480
    ./nxdoc-assets/yuidoc/base.css
    • binary
    ./nxdoc-assets/yuidoc/bg-download-hover.png
    • binary
    ./nxdoc-assets/yuidoc/bg-download.png
    • binary
    ./nxdoc-assets/yuidoc/boxarrow.png
    • binary
    ./nxdoc-assets/yuidoc/footer-bg-green.png
    • -0
    • +44
    ./nxdoc-assets/yuidoc/green.css
    • binary
    ./nxdoc-assets/yuidoc/header-bg-green.png
    • binary
    ./nxdoc-assets/yuidoc/next-logo-s.png
  1. … 3 more files 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)

    • -106
    • +0
    ./doc-assets/@class.html.asciidoc
    • -62
    • +0
    ./doc-assets/@command.html.asciidoc
    • -117
    • +0
    ./doc-assets/@command.html.yuidoc
    • -105
    • +0
    ./doc-assets/@object.html.yuidoc
    • -45
    • +0
    ./doc-assets/@package.html.asciidoc
    • -102
    • +0
    ./doc-assets/@project.html.asciidoc
    • -388
    • +0
    ./doc-assets/asciidoc/xhtml11.css
    • -52
    • +0
    ./doc-assets/attributemethod.html.asciidoc
    • -131
    • +0
    ./doc-assets/attributemethod.html.yuidoc
  1. … 68 more files in changeset.
- library/lib/pp.tcl: improved handling of placeholders

- extended list of highlighted words

- renamed "nsf::method::dispatch" to "nsf::directdispatch" - renamed "nsf::object::dispatch" to "nsf::dispatch"

  1. … 16 more files in changeset.
- 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.
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:

library/lib/test.tcl

  1. … 1 more file in changeset.
- simplified test exist code (on errors in regression test)

- generic/nsf.c: [current calledclass] used to return a literal "NULL" for cases of no active callstacked class. I fixed this, with [current calledclass] now reporting an empty string in these cases. - library/lib/test.tcl: Adjusted the explanations along the exit/return fix - tests/introspection.test: Added some basic testing of [current calledclass]

  1. … 3 more files in changeset.
- make sure that a failing regression test stops make; otherwise, errors can be easily missed

- library/lib/test.tcl: Stop using [exit] to interrupt test suite runs upon failure conditions. This led to unwanted garbage due to the non-returning character of [exit]. We now resort to a [return] variant which gently shuts down the NSF machinery before stopping. - TODO: marked dispo + exit/initcmd issues as done ...

  1. … 1 more file 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:

library/lib/doc-tools.tcl

  1. … 2 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. … 30 more files in changeset.
- library/lib/doc-tools.tcl: Ported over the nxdoc core to reflect recent changes (i.e., modified attribute() signature and honouring that ::nsf::method::setter|forward are expected to return the method handle)