library

Clone Tools
  • last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- "asciidoc" theme: Completed a first template suite which renders an nxdoc project in terms of the html4/xhtml11 asciidoc backend. Added new templates: singlefile.html.asciidoc, class.html.asciidoc, attributemethod.html.asciidoc, command.html.asciidoc, link.html.asciidoc, listing.html.asciidoc, method.html.asciidoc, object.html.asciidoc, package.html.asciidoc, submethod.html.asciidoc. - nxdoc now distinguishes between rendering format, layout (multifile, singlefile, chunked) and refactored. All layout/format/theme handling, for now, is provided by ::nx::doc::Renderer. - First step towards refactoring/automating template resolution; see the TemplateData class. In a further step, this will permit us to remove redundant declarations of template details in render() and include() statements. - List and link generation are now adaptable based on dedicated templates per theme, e.g., link.html.tmpl|asciidoc. Note that these file-based templates might be replaced by scripted ones at a later point. - Fixed pretty naming of @package - Various refactorings, e.g. renderer mixin layers are now objects, rather than classes.

    • -0
    • +51
    ./lib/doc-assets/attributemethod.html.asciidoc
    • -0
    • +106
    ./lib/doc-assets/class.html.asciidoc
    • -0
    • +62
    ./lib/doc-assets/command.html.asciidoc
    • -0
    • +4
    ./lib/doc-assets/link.html.asciidoc
    • -0
    • +4
    ./lib/doc-assets/link.html.tmpl
    • -0
    • +3
    ./lib/doc-assets/listing.html.asciidoc
    • -0
    • +1
    ./lib/doc-assets/listing.html.tmpl
    • -0
    • +30
    ./lib/doc-assets/method.html.asciidoc
    • -0
    • +77
    ./lib/doc-assets/multifile.html.tmpl
    • -0
    • +20
    ./lib/doc-assets/object.html.asciidoc
    • -0
    • +45
    ./lib/doc-assets/package.html.asciidoc
    • -0
    • +102
    ./lib/doc-assets/singlefile.html.asciidoc
    • -0
    • +25
    ./lib/doc-assets/submethod.html.asciidoc
  1. … 3 more files in changeset.
- doc-tools.tcl: make -name parameter of method new always required and "any" - doc-tools.tcl: make object parameter of Entity of type "any"

- nx.tcl: defined method unknown as protected - nx.tcl: never pass "substdefault" to a setter - nx.tcl: define a minimal valuechecker any to suppress warnings for potential conflicts with non-positional parameters, when the values start with a dash

- adding obvously missing argument

- removed c-implementation of method vwait, it was replaced by "vwait :varName". We had to allow flag TCL_GLOBAL_ONLY in InterpColonVarResolver(), since Tcl vwait implementation calls it with that flag. - added a scripted implementation for vwait in xotcl2

  1. … 7 more files in changeset.
- create slots via MetaSlot

- don't mix object systems

- xotcl2.tcl: defined ::xotcl::MetaSlot

- nx::pp: added flag "-linenumbers on|off" to render method

- documentation work

  1. … 1 more file in changeset.
- adjust doc-tools (removed obsolete -public flag)

- library/lib/doc-tools.tcl: Some fixes, including adjusting @class.inherited() to return only doc entities of classes which are part of the same project as the inheritee. - library/lib/doc-tools.tcl: Integrated an xodoc-compat infrastructure and provided for processing xodoc packages (see processor.process=@package()). - tests/doc.test: Now also serves a nxdoc port of the XOTcl-langref package - library/xotcl/doc/langRef.xotcl: equipped with an empty namespace declaration (to please pkg_mkIndex.tcl) and import ::xotcl::@ by default (for convenience).

  1. … 1 more file in changeset.
- doc updates

- doc-tools: added "-where" to !get - doc-tools: title to internal links, provided css class, added nicer label - updated reference doc

  1. … 3 more files in changeset.
- no need to define "-class" as objectparameter - no need to define "Object.cleanup" as a method

- remove unneeded newline

listing(): Trim result string of pretty printer for trailing newlines to avoid their transformation to multiple line breaks.

- playing with empty comment lines

- documentation updates

  1. … 1 more file in changeset.
- add type attribute to style tag

- library/lib/doc-tools.tcl: Added a link renderer for Tcl commands, pointing to the tcl.tk online reference; usage: <<tclcmd /cmd/>>. - library/nx/nx.nxd: Fixed glossary references pointing to mixin classes. - glossary.html.tmpl: Made the tmpl more robust against the non-existence of glossary entries. - method.html.tmpl: Made Type and Protection fully conditional - doc-tools.tcl: added a @project.is_validated attribute to reflect the validation status of a given project. this should later turn into a derived property. - langRef.xotcl: added a missing </tt> closing tag, to avoid tt pollution of the remaining document space.

  1. … 1 more file in changeset.
nx.nxd: Shifted glossary entries to nsf.nxd

  1. … 1 more file in changeset.
nx.nxd: Corrected the @glossary entries for empty leading comment lines

- documentation work

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

  1. … 3 more files in changeset.
- minor cleanup

- serializer.tcl: export nsf::procs via "Serializer all"

- removed unneded functions: NsfComputePrecedence(), NsfComputeDependents(), Nsf_SetVar2Ex(), NsfOSetInstVar(), Nsf_ObjGetVar2(), NsfOGetInstVar(), qNsfCreateObject() - removed unneeded external declarations: NsfClassListAdd() NsfClassListFree() - make extern declarations explicit - grouped most extern definitions together - improved documentation - moved variable declarations to inner scopes - removed warning from cppcheck()

    • -1
    • +2
    ./xotcl/library/store/XOTclSdbm/sdbm.c
    • -0
    • +5
    ./xotcl/library/xml/TclExpat-1.1/readfilemap.c
    • -2
    • +3
    ./xotcl/library/xml/TclExpat-1.1/xmlparse.c
  1. … 7 more files in changeset.
- make cppcheck happy

  1. … 1 more file in changeset.
- nx::pp: don't prepend newline after <pre>