nsf

Clone Tools
  • last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- filter more unneeded files from tar archive

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- extended the apply regression test

- Minor revision of template files (to unify the naming of markup labels) - Removed occurrences of old [:let] - Use href() helper method to generate fragments of per-document ("local") anchor names - Introduced more pretty_name and pretty_plurals for part attributes - Make filename generation aware of the property of being a part or partof entity! - Revised the documentation of [::nsf::current] slightly - Adding setter ([:!let]) and getter ([:!get]) to the templating language, both being aware of @use chains. - Refactored the resolution behaviour for part levels, relative to a given entity, into a helper StructuredEntity->owned_parts(). Based on this helper, the navigation structures can be rendered on common grounds (e.g., drop-down search box, menus in th eleft bar) - Adding the attributes "pretty_name" and "pretty_plural" to part attribute slots (used for rendering section names in the nav menu etc.). - Adding a helper method href() to render the href attribute values of entity anchors (links, menu items, ...) - Unified the rendering of the selection data used by the drop-down box for the various entity_types, again, using the owned_parts() helper - Refactored the generation of navigation menu in the left bar into a proper template: leftbar.html.tmpl - Reflect recent naming changes (e.g., predefined.tcl -> nsf.tcl) - Adding support for documentation inheritance; first, fixed @command support for it - Refactored the upward resolution of partof entities into a central and shared facility (Entity->get_upward_path()) - Adjusting for changes in introspection interface (info.callable() -> info.lookup()) - Adding a first aliasing (@use) mechanism. Remains to be tested properly, though it works sufficiently for the known use cases. - Adding some safety checks to Tag->find() - Refactoring context->parse@tag to use the Tag->find() helper (now shared between tag creation and link resolution) - Tag path normalisation (expanding shortcuts, balanced list check, ...) went into Tag->normalise(). - Changed the [:link ...] mechansism ({{@someTag ...}}) to operate on the new tag notation. Added support for sub-method and sub-command link rendering (looks sufficient for the moment). - Changed the existing *.nxd companions to match these notational modifications.

    • -16
    • +16
    /library/lib/doc-assets/class.html.tmpl
    • -9
    • +9
    /library/lib/doc-assets/command.html.tmpl
    • -48
    • +2
    /library/lib/doc-assets/entity.html.tmpl
    • -0
    • +17
    /library/lib/doc-assets/leftbar.html.tmpl
    • -4
    • +4
    /library/lib/doc-assets/method.html.tmpl
    • -237
    • +428
    /library/lib/doc-tools.tcl
- handle call-protection in serializer (works again with OpenACS / naviserver)

    • -17
    • +23
    /library/serialize/serializer.tcl
- added public|protected to output of "info method definition" (needed to make serializer more sane, neccessary on the longer range)

- declare publically used methods as public

    • -26
    • +25
    /library/serialize/serializer.tcl
- change namespace to nsf

- make return statments explicit

- switch back to SKIP_LEVELS for work on OpenACS

- updte comments

- fix for the bug reported by Neil Hampton - added regression test

- fix for the bug reported by Neil Hampton - added regression test

- used Tcl_ObjCmdProc in prototypes - allow CMETHOD to be target of calling-object/calling-level - added NSF_CSC_CALL_IS_TRANSPARENT to handle proc aliases transparently - access self in NsfProcAliasMethod() from tcl->object

- updated TODO

- removed NXSH and XOWISH from Makefile.in

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- altered xotcl.m4 to nsf.m4 in ., library/xotcl/library/store/XOTclGdbm/, library/xotcl/library/store/XOTclSdbm/, library/xotcl/library/xml/TclExpat-1.1/ - removed traces of xotcl.m4 - removed build flags with-nxsh, with-xowish (since these are scripted now) - removed flag --with-tk (not needed anymore)

    • -0
    • +140
    /library/xotcl/library/store/XOTclGdbm/nsf.m4
    • -140
    • +0
    /library/xotcl/library/store/XOTclGdbm/xotcl.m4
    • -0
    • +140
    /library/xotcl/library/store/XOTclSdbm/nsf.m4
    • -140
    • +0
    /library/xotcl/library/store/XOTclSdbm/xotcl.m4
  1. … 6 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

Removed the nxsh (@NXSH@) and xowish (@xowish@) deps of the binaries target in Makefile.in (as shell deployment is now handled in the install-shells target). If not removed, make would barf ...

- added nxwish.in (scripted replacement for former xowish) - added xotclsh.in (scripted replacement for former xotclsh) - added xowish.in (scripted replacement for former xowish) - added error handling to all scripted shells - removed old xotclsh.in and xowish.in (from apps/utils)

    • -13
    • +0
    /library/xotcl/apps/utils/xotclsh.in
    • -17
    • +0
    /library/xotcl/apps/utils/xowish.in
    • -0
    • +39
    /library/xotcl/xotclsh.in
    • -0
    • +42
    /library/xotcl/xowish.in
- removed DISPATCH_TRACE - moved return-value checking into ObjectDispatchFinalize() - perform invariants checking after cmd execution, not additionally before - commented dispatch machinery

- renamed/removed remaining ::nsf::commands with capitalized names: parametersFromSlots ==> parametersFromSlots unsetUnknownArgs ==> __unset_unknown_args infoError removed - renamed predefined.tcl into nsf.tcl - remaining cmds in nsf (except __*) containing "_": ::nsf::provide_method, ::nsf::require_method

- fixed typo in exithandler definition

- removed capitalization from exit handler interface - reduced interface of exithandler to ::nsf::exithandler set|get|unset ?arg?

- renamed ::nsf::cmd::ObjectInfo into ::nsf::methods::object::info - renamed ::nsf::cmd::ClassInfo into ::nsf::methods::class::info

    • -11
    • +11
    /library/serialize/serializer.tcl
    • -62
    • +62
    /library/xotcl/library/xotcl2.tcl
- added scripted replacement for binary nxsh - new define SKIP_LAMBDA to make apply tests working without SKIP_LEVELS

- provide debugging output when varFramePtr in GetSelfObj() is NULL - filter misleading "proc" entry for "info frame" for nsf-stack entries - add "method" for "info frame" for nsf-stack entries - defnied SKIP_LEVELS to omit optionally skipping of tcl-stack entries in GetSelfObj()

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- added fake calue for cmdPtr in fakeProc to make "info frame" happy