library

Clone Tools
  • last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- added tcl-cool as an additional sample-object-system for nsf

    • -0
    • +325
    ./tcl-cool/tcl-cool.tcl
  1. … 1 more file in changeset.
- simplification and unification of unknown handling and method finalization - some cleanup

  1. … 7 more files in changeset.
- save snapshot; refactoring in order to ease NRE development with unified method and dipatch exit. - named debugging cmds __db_* - new cmd __db_run_assertions to perform checking of the internal state

  1. … 7 more files in changeset.
- removed third level from libary/pkgIndex.tcl (not needed)

- Big internal changes for handling nre-enabled procs in more situations. Handles now all nx regression tests, but fails in testx.xotcl (just nre-enabled)

  1. … 10 more files in changeset.
Make library/pkgIndex.tcl traversing three directory levels (instead of just 2). This is necessary to catch the packages and library/xotcl/library. As a symptom, xocomm.test failed. This was because it was picking up comm packages in the install, rather than the source tree which did not reflect the changes in the nested object dispatches: [my connection foo] -> [[self]::connection foo]

- regenerated pkgindex files

- improved library/lib/make.tcl once more

- fixed again library/xotcl/library/pkgIndex.tcl

- regenerated index files

- removed unneeded line

- added explicitly library/xotcl/library/pkgIndex.tcl

    • -0
    • +10
    ./xotcl/library/pkgIndex.tcl
- make changes for public methods

- fixed a crash for tcl 8.6b1 in return value checking. now it complains about missing cmdPtr; it is not clear, why this is missing at the first place in 8.6b1 while working in 8.5

  1. … 3 more files in changeset.
- made methods (for now just scripted methods) by default protected. - provide methode __default_method_protection to obtain the default method protection when neither protected or public is used. - per default methods are now protected - provide ::nx::configure defaultMethodProtection true|false as conveniant interface - update regression test and serializer to handle default protection

  1. … 14 more files in changeset.
- new nsf::next cmd. receives 0 or 1 argument, which might be a list of arguments. This avoids ambiguity of ::xotcl::next with "--noArgs". - renamed namespace_copycmds and namespace_copyvars to nscopycmds and nscopyvars (we don't use "_" in nsf::*-names as delimiters elsewhere) - renamed __qualify to qualify (it is a non-exported cmd)

  1. … 5 more files in changeset.
- refactored next and argument passing (new methods NextGetArguments(), NextSearchAndInvoke() and CallStackFindEnsembleCsc()) - doing an internal next in cases where a method ensemble does not contain the called submethod - added regression tests for partial ensembles

  1. … 4 more files in changeset.
- remove useless line

- documented behavior of upvar/uplevel with aliases on scripted procs through regression test

  1. … 2 more files in changeset.
- renamed "parameter" into "attributes" in nx - renamed "info parameter" into "info attributes" in nx - updated migration guide - fixed several common typos

    • -2
    • +2
    ./xotcl/library/actiweb/WebAgent.xotcl
  1. … 7 more files in changeset.
- removed overhead on ::nsf::dispatch when called with absolute paths - absolute paths have to start with ":".

  1. … 2 more files in changeset.
- changed "cls object method ..." and friends into "cls class-object method ..."

  1. … 12 more files in changeset.
- changed "info available" into "info lookup" (and accordingly c definitions, migration guide)

  1. … 10 more files in changeset.
- handle aliases to (sub)ensemble objects during final cleanup to improve sharing of logic. - share definition of "info callable" and "info has" ensemble between object info and class info

  1. … 2 more files in changeset.
- splitted "info callable" into an ensemble (submethods have quite different signatures) - added "info callable slots" with functionality of "info slotobjects" - removed "info slotobjects"

  1. … 5 more files in changeset.
- added flag "-type" to NsfObjInfoChildrenMethod - added flag "-type" to NsfObjInfoSlotObjectsMethod - removed dummy argument "pattern" from NsfObjInfoSlotObjectsMethod - removed NsfClassInfoSlotsMethod (implemented via "children ... -type ...") - moved "info slots" from nx::Class to nx::Object (to report e.g. per-object attributes) - extended regression test

  1. … 6 more files in changeset.
- Added support for companion documentation files (based on the file extension *.nxd) - Moved the nsf and nx documentation blocks in generic/predefined.nxd and library/nx/nx.nxd, respectively - Un-exported @param, provide two aliases @attribute and @parameter (in the respective contexts). - Changed the test suite and the two documentations to reflect the naming changes.

  1. … 3 more files in changeset.
- Added two new templates: method.html.tmpl and submethod.html.tmpl - Generalised the support for sub-commands and sub-methods, including a shortcut notation for tag lines. - Adding the special handling of initcmd blocks of attribute slots: They are processed as @param specifications of their owning (class) object. In a next step, I will limit this special handling to the first comment block only, while subsequent ones are evaluated in the context of the slot object itself. - Fixed an issue with cleaning up the processing-related mixin classes in the CommentBlockParser: As the nested notation of doc entities can conflict with relation slot forwarders (*::info::mixin vs. *::info mixin <add|delete>), I revert to using ::nsf::relation directly. - Fixed the default namespace resolution (still needs some review, once all use cases are figured out!) Changed nx and nsf documentation accordingly. - Add first doc text for Object->info() and its sub-methods (for testing purposes, merely) - Added an initial implementation for parsing level support. By introducing skipping axes into the tag notation (e.g., @..param), we can now differentiate between different scopes of applications for tags. This has a number of advantages: a) processing becomes more efficient (skip-level annotated tags can be identified early), b) we do not have maintain different tag labels for different parsing levels (e.g., @child-object vs. @object), ... - Parsing levels have to be maintained within the documentation processor and provided to the comment block parsers at work. This still has to be accomplished. - Adapted the naming scheme for qualifier tags (for now). Instead of "child" scopes, we coerce the entity names using namespace delimiters (this fits nested objects nicely) - Changed the resolution behaviour for dotted tag labels: Intermediate nodes (i.e., entities) are not allocated anymore, on the fly. Rather, it is a pure id resolution, except from the leaf element which is effectively initialised as a documentation entity. This has major implications: It requires partof entities to exist prior to any part entity. However, the id resolution work can later be reused when introducing the new tag notations into the link block markers in the templating engine (avoiding zombie and widely undescribed doc entities). - Started shifting id generation into part attributes (for the time being). Probably I will do so permanently to avoid the complexity in the various new() factories for doc entity types. - Adjusted the tests accordings and added many more on the navigatable tag notation. - Renamed EntityClass and PartClass into Tag and PartTag. The meta-class names so better reflect their purpose as entity factory classes, based on the tag notation scheme. Added a QualifierTag meta-class which marks tags (@class, @object, @command) which impose extra requirements when not being part of another entity (in particular, default namespace resolution). If not part of another entity, they represent *qualifying* language constructs, i.e. language constructs which help identify other elements (command -> subcommand, object -> nested object or method). - Started harmonising the entity class hierarchy (not ready cooked yet): Entity < StructuredEntity < ContainerEntity < @project < @method < @package < PartEntity < @object (@param) < @class < @command The most important change is that all entities (entity instances) can become parts, however, only a single entity class (@param) is critical about it.

    • -0
    • +71
    ./lib/doc-assets/method.html.tmpl
    • -0
    • +37
    ./lib/doc-assets/submethod.html.tmpl
  1. … 2 more files in changeset.
- BRO continues: - changed all XOTCL_ into NSF_ - changed all XOTCLINLINE into NSF_INLINE - changed all XOTCLOBJ_TRACE into NSFOBJ_TRACE - changed all XOTcl_ into Nsf_ - changed all XOTcl([A-Z]) into Nsf\1 - changed all xotcl into nsf

- changed changeClass into ChangeClass

- changed XOTclpGetObject into GetObjectFromString

- changed XOTclpGetClass into GetClassFromString

- changed callDestroyMethod into DispatchDestroyMethod

    • -2
    • +2
    ./xotcl/library/store/XOTclGdbm/configure.in
    • -69
    • +69
    ./xotcl/library/store/XOTclGdbm/xotclgdbm.c
    • -14
    • +14
    ./xotcl/library/store/XOTclSdbm/Makefile.vc
    • -2
    • +2
    ./xotcl/library/store/XOTclSdbm/configure.in
    • -73
    • +73
    ./xotcl/library/store/XOTclSdbm/xotclsdbm.c
    • -12
    • +12
    ./xotcl/library/xml/TclExpat-1.1/Makefile.vc
    • -2
    • +2
    ./xotcl/library/xml/TclExpat-1.1/configure.in
    • -6
    • +6
    ./xotcl/library/xml/TclExpat-1.1/tclexpat.c
  1. … 27 more files in changeset.
- big renaming orgy (BRO): - changed filenames starting to "xotcl" into filename starting with "nsf" - adoped Makefile insfrastructure accordingly - removed compile flag XOTCL_METADATA and generic/xotclMetaData.c - changed compile flag PROFILE into NSF_PROFILE

    • -39
    • +40
    ./xotcl/library/store/XOTclGdbm/xotcl.m4
    • -224
    • +224
    ./xotcl/library/store/XOTclSdbm/Makefile.vc
    • -39
    • +40
    ./xotcl/library/store/XOTclSdbm/xotcl.m4
    • -239
    • +239
    ./xotcl/library/xml/TclExpat-1.1/Makefile.vc
    • -3
    • +3
    ./xotcl/library/xml/TclExpat-1.1/tclexpat.c
    • -39
    • +40
    ./xotcl/library/xml/TclExpat-1.1/xotcl.m4
  1. … 41 more files in changeset.