lib

Clone Tools
  • last updated 10 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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)

- regularized more nsf::* names: renamed "nsf::createobjectsystem" => "nsf::objectsystem::create" renamed "nsf::unknown" => "nsf::object::unknown" renamed "nsf::dispatch" => "nsf::object::dispatch"

  1. … 17 more files in changeset.
- Allow for defining type specifications for @param entities as an @spec part. - Corrected some inconsistencies in the doc templates for attribute methods - Added object parametersyntax in @class templates (though they appear quite lengthy, keep them at the end of the day?) - Distinguish between the "cls" and "obj" as affices

    • -3
    • +4
    ./doc-assets/attributemethod.html.asciidoc
    • -24
    • +36
    ./doc-assets/attributemethod.html.yuidoc
  1. … 1 more file in changeset.
- migration guide * included change in "info heritage" * included "info slots" * included "info parameter" * included "delete method" * included "delete attribute"

  1. … 3 more files in changeset.
- Adjusted nxdoc for the latest changes in the nsf/nx core: - library/lib/doc-tools.tcl: Reflected the renaming of class-object to final; substituted the new positioning declaration for the old-style objectparameter shadowing on Entity (for @doc); some minor cleanup - tests/doc.test: A number of tests did not survive the continued renaming from object -> class-object -> class; fixed them.

  1. … 1 more file in changeset.
- test.tcl: * don't export Test per-default * define Test as nx::Test * make Test parameter count 1 the default, change to higher numbers where needed

  1. … 15 more files in changeset.
- some cleanup

- nsf: renamed nsf::isobject to nsf::object::exists - nsf: renamed nsf::qualify to nsf::object::qualify

  1. … 16 more files in changeset.
* 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.
- Provided proper template for hook methods; started partial support for validating Tcl packages (remains to be completeted, i.e., missing and mismatch support) - Fixed rendering for glossary back-references in the light of nested render() calls. - Refactored the rendering of overview lists/status into proper template; show per-project stats - Made @stashed filtering working; some fixes

    • -0
    • +88
    ./doc-assets/hookmethod.html.yuidoc
    • -0
    • +17
    ./doc-assets/overview.html.yuidoc
  1. … 2 more files in changeset.
- changed names of var handling commands in nsf: ::nsf::existsvar => ::nsf::var::exists ::nsf::importvar => ::nsf::var::import ::nsf::setvar => ::nsf::var::set

  1. … 12 more files in changeset.
- @project.html.yuidoc: reflect changes in asset names - body-chunked.html.yuidoc: Added this template, used to generate the chunked, yuidoc-based xowiki output - leftbar.html.yuidoc: Use link template - Renamed ac-js + api-js to ac.js + api.js - Added Monika's api-next.css - library/lib/doc-tools.tcl: for the xowiki renderer, I completed the asset export (requiring a tcllib installation!), some refactoring to allow for rendering xowiki-style links etc. - Revised TODO

    • -0
    • +27
    ./doc-assets/body-chunked.html.yuidoc
    • -0
    • +167
    ./doc-assets/yuidoc/ac.js
    • -0
    • +46
    ./doc-assets/yuidoc/api-next.css
    • -0
    • +42
    ./doc-assets/yuidoc/api.js
  1. … 1 more file 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. … 24 more files in changeset.
- updated migration guide

  1. … 3 more files in changeset.
- glossary.html.yuidoc: Added "Glossary" heading - Revised and commented TODO list

  1. … 1 more file in changeset.
- Added a first version of an xowiki renderer - Reworked the renderer infrastructure to allow for refining templates between renderers (e.g., xowiki-like links in the yuidoc theme etc.) introduces - Templates can now also be defined, stored, and maintained through Tcl scripts (rather than separate template files only). - Clarified the concepts of theme/layout/renderer etc. Major cleanup. - yuidoc: Fixed an issue with setting filter css classes while no filter checkboxes are available.

    • -0
    • +102
    ./doc-assets/@project.html.asciidoc
    • -0
    • +16
    ./doc-assets/@project.html.yuidoc
    • -0
    • +53
    ./doc-assets/body.html.yuidoc
    • -102
    • +0
    ./doc-assets/singlefile.html.asciidoc
  1. … 1 more file in changeset.