nsf

Clone Tools
  • last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
nsf.c: - simplify few inner code pieces based on assertions - add serveral more assertions based on nonnull sepcifications.

- use nx rather than xotcl2 terminology in nsf::method::forward

- renamed "-methodprefix" to "-prefix" in nx, since the prefix can be applied as well applied to a cmd.

Addding doc fragment about require method

    • -0
    • +10
    /doc/require.man.inc
Adding a todo

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

- nsf.c, NsfForwardMethod(): Make sure that a 2nd argument is available for prepending the methodprefix. Earlier, NSF crashed in case of a missing 2nd arg. - Added some basic tests on -methodprefix.

- use nonnull variable attributes for prototpyes (nsf.h, nsfInt.h, nsf.c)

nsf.c: - de-spaghetti precedence computations for multiple inheritance and improve documentation - get rid of // comments

- stubsPtr can't be NULL there

- remove false alarm

- deactivated "-onerror", since its semantics are expressible via try/catch, and there are no regression tests for xotcl and nx, and we could not find any script that uses this

Adjusting forward doc, adding TODO

forward.test: Adding some tests

- use in forwarders "-frame object" instead of "-objframe" in nx for consistency with other calls (e.g. dispatch). Other values for "-frame" are not allowed. (btw, XOTcl has "-objscope")

- move "checkalways for forwarders and aliases" to RFEs and comment it

forwarders: - use for output of forward ... -verbose NsfLog(...NSF_LOG_NOTICE...) instead of fprintf() to make it redirect-able

forwarders: - RFE "provide %method" as keyword like %proc" was already implemented. Dropping %proc would break XOTcl2 compatibility. - adding a test case

Continue working on forward doc, adding some tests

Adding some todos

Working on Object.man, in particular forward

    • -0
    • +94
    /doc/forward.man.inc
- library/nx/nx.tcl: Pulling out method contracts (pre- and postconditions) from NX for the time being. Corresponding tests have been commented out or, if applicable, turned into XOTcl2-specific tests.

- finalize autoconf quoting

- update annouce with diff stats

- update Changelog

- fix configure.ac quoting

    • -6
    • +6
    /library/xml/TclExpat-1.1/configure.ac
- fix configure.ac quoting

- more configure quoting

- stick closer to TEA conventions (keep tclconfig-sh in tclconfig directory) - remove obsolete version of install-sh, copy manifested version to mongodb library - fix more configure quoting

    • -0
    • +528
    /library/mongodb/tclconfig/install-sh
    • -0
    • +528
    /tclconfig/install-sh
- updated Changelog and Annouce file