library

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

    • -1
    • +1
    ./lib/nxdoc-assets/@project.html.asciidoc
    • -0
    • +7
    ./lib/nxdoc-assets/@project.html.yuidoc
    • -25
    • +37
    ./lib/nxdoc-assets/body.html.yuidoc
    • -1
    • +1
    ./lib/nxdoc-assets/glossary.html.yuidoc
    • -2
    • +1
    ./lib/nxdoc-assets/leftbar.html.yuidoc
    • -24
    • +336
    ./lib/nxdoc-assets/yuidoc/api-next.css
    • binary
    ./lib/nxdoc-assets/yuidoc/status.png
    • -0
    • +949
    ./lib/nxdoc-dc.tcl
  1. … 7 more files in changeset.
nonleadingdash handling: - doc: added "nonleadingdash" to UML class diagramm - nsf.c: added error message, when "noleadingdash" is used on non-positional parameters - nsf.c: use same logic for "nonleadingdash" to "value in argument" - nsf.c: deactivated rudimentary unknown handler for the time being - nx.tcl: added handling of parameter option "noleadingdash" in objectParameterSlots

  1. … 6 more files in changeset.
- add traits package and example scripts

  1. … 5 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.
- experimentation version of unknown handler for non-pos args - extending regression test

  1. … 6 more files in changeset.
- fix old typos (many thanks to Victor Guerra for noticing it)

- 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.
- library/lib/nxdoc-core.tcl: Slightly improved the error robustness of nxdoc

- nx.tcl: moved "properties" from nx::Class to nx::Object

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

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

  1. … 1 more file in changeset.
- generic/nxdocIndex: An auto-generated, then edited NXDoc index file for the nsf API as defined in nsf.tcl. The index file created by the API generator is included. - library/nx/nxdocIndex: The NXDoc index file for the NX API (covering Tcl procs, NSF procs, objects, and classes). Please review for the current choice of inclusions/exclusions!

  1. … 1 more file 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.
- use same version numbers in nsf, nx and xotcl2

  1. … 1 more file in changeset.
- small update to test makefile dependencies

- xotcl2.tcl: * added a backward compatible ::xotcl::alias method

  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).

    • -2
    • +5
    ./lib/nxdoc-assets/@project.html.yuidoc
    • -19
    • +28
    ./lib/nxdoc-assets/body.html.yuidoc
    • -1
    • +1
    ./lib/nxdoc-assets/yuidoc/api-next.css
    • binary
    ./lib/nxdoc-assets/yuidoc/arrow-blue.png
    • binary
    ./lib/nxdoc-assets/yuidoc/arrow-download-blue.png
    • binary
    ./lib/nxdoc-assets/yuidoc/arrow-white.png
    • -0
    • +480
    ./lib/nxdoc-assets/yuidoc/base.css
    • binary
    ./lib/nxdoc-assets/yuidoc/bg-download-hover.png
    • binary
    ./lib/nxdoc-assets/yuidoc/bg-download.png
    • binary
    ./lib/nxdoc-assets/yuidoc/bg_hd.gif
    • binary
    ./lib/nxdoc-assets/yuidoc/boxarrow.png
    • binary
    ./lib/nxdoc-assets/yuidoc/footer-bg-green.png
    • -0
    • +44
    ./lib/nxdoc-assets/yuidoc/green.css
    • binary
    ./lib/nxdoc-assets/yuidoc/header-bg-green.png
    • binary
    ./lib/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
    ./lib/doc-assets/@class.html.asciidoc
    • -289
    • +0
    ./lib/doc-assets/@class.html.yuidoc
    • -62
    • +0
    ./lib/doc-assets/@command.html.asciidoc
    • -117
    • +0
    ./lib/doc-assets/@command.html.yuidoc
    • -31
    • +0
    ./lib/doc-assets/@method.html.asciidoc
    • -87
    • +0
    ./lib/doc-assets/@method.html.yuidoc
    • -20
    • +0
    ./lib/doc-assets/@object.html.asciidoc
    • -105
    • +0
    ./lib/doc-assets/@object.html.yuidoc
    • -45
    • +0
    ./lib/doc-assets/@package.html.asciidoc
    • -12
    • +0
    ./lib/doc-assets/@package.html.yuidoc
    • -102
    • +0
    ./lib/doc-assets/@project.html.asciidoc
    • -16
    • +0
    ./lib/doc-assets/@project.html.yuidoc
    • -388
    • +0
    ./lib/doc-assets/asciidoc/xhtml11.css
  1. … 68 more files in changeset.
- library/lib/pp.tcl: improved handling of placeholders

- nx: * changed "info slot name" to "info slot names" (like "info parameter names")

  1. … 2 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. … 3 more files in changeset.
- extended list of highlighted words

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

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

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

    • -5
    • +12
    ./xotcl/library/comm/Connection.xotcl
- fixed substitution of logdir

    • -1
    • +1
    ./xotcl/library/actiweb/HttpPlace.xotcl
- made nsf::my and nsf::object::dispatch available in the nx namespace

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