generic

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Version generated for Tcl 8.5 - maybe we keep this out from the repo in the future

Allow to pass casts to macros ClassName and ObjectName

Backport from nsf: when processing arguments with leading dashes in "configure", accept only method names without spaces. This solves a problem with Tcl8.4 + ns_eval where the output of the serializer could not be processed by eval (a [list ..] was lost).

- generic/nsf.c: Have NsfNSCopyCmdsCmd() handle "returns" method properties for scripted methods. Note that aliases and forwards are not yet covered by the copying procedure as implemented by NsfNSCopyCmdsCmd(). - tests/info-method.test: Added tests for "info method returns" and "info method defintion" covering "returns" method properties.

  1. … 1 more file in changeset.
- Make sure "info method definition" includes the "-returns" clause. - generic/nsf.c: Added a helper function AppendReturnsClause()

- Adding support for "cls|obj info method returns" - generic/nsf.c: ListMethod() now handles a InfomethodsubcmdReturnsIdx subcmd. - generic/nsfAPI.decls|nsfAPI.h|nsfDecls.h: Registerung a new "info method" subcmd: "returns"

- remove leftover from merge

- remove file which was placed into generic/asm

- added two files to the asm directory (one needed for compilation, one for documentary purpose)

    • -0
    • +487
    ./asm/nsfAssemble.c
Merge branch 'assemble'

Conflicts:

generic/nsf.c

- initialize result properly

    • -1
    • +1
    ./asm/asmExecuteTemplateLabelThreading.c
- added README file

- restructured directories, added configure options, some more cleanup

    • -0
    • +274
    ./asm/asmAssembleTemplate.c
    • -0
    • +70
    ./asm/asmExecuteTemplate.c
    • -0
    • +62
    ./asm/asmExecuteTemplateCallThreading.c
    • -0
    • +68
    ./asm/asmExecuteTemplateLabelThreading.c
    • -0
    • +682
    ./asm/genAssemble.tcl
    • -0
    • +580
    ./asm/nsfAsmAssemble.c
    • -0
    • +313
    ./asm/nsfAsmExecuteCallThreading.c
    • -0
    • +362
    ./asm/nsfAsmExecuteLabelThreading.c
    • -344
    • +0
    ./asmExecuteTemplateLabelThreading.c
  1. … 5 more files in changeset.
- generate AsmAssemble() from definition file as well (currently included in LabelThreading template)

    • -7
    • +266
    ./asmExecuteTemplateLabelThreading.c
  1. … 1 more file in changeset.
- nx based c code generator for experimenting with different code engines

    • -0
    • +85
    ./asmExecuteTemplateLabelThreading.c
    • -0
    • +406
    ./genAssemble.tcl
  1. … 2 more files in changeset.
- initial checkin of experimental assemble support

    • -0
    • +1075
    ./nsfAssemble.c
- generic/nsfStack.c, CscFinish(): Without further restricting object deletion based on activation counts, very-late method dispatches during the "physical" clean-up stage (e.g., a dispatch issued by an unset variable trace script) lead to premature object and class deletions, violating the total deletion order used in ObjectSystemsCleanup().

- simplify macro handling with __WIN32__ - regroup some macro definitions

  1. … 1 more file in changeset.
- generic/nsfInt.h: Provided the DECR_REF_COUNT2 #define macro for __WIN32__ builds (e.g., MinGW). Thanks to Stephan Adelsberger for pointing to the issue. - Made temp file handling in a rosetta example OS-independent; thanks to Stephan Adelsberger for the initial patch

  1. … 2 more files in changeset.
- improve branch prediction

  1. … 1 more file in changeset.
nsf.c: - change argument of IsMetaClass() to type *NsfObject - provide basic pretection against most likely unintended deletion/overwriting of base classes. - extend regression test

  1. … 2 more files in changeset.
- minor cleanup, added regression test

  1. … 2 more files in changeset.
- fixed potential crash when generating error message about argument usage when called without a callstack

  1. … 1 more file in changeset.
nsf.c, nsf.h, nsfStack.c, nx.tcl, tcl-cool.tcl, xotcl2.tcl - fix spelling in comments - strip unneeded space

  1. … 4 more files in changeset.
- Removed obsolete CVS-$Ids - Updated dates of Copyrights - Removed unneeded c++ hints for Emacs

  1. … 9 more files in changeset.
- removed c++ mode

nsf.c: - Reform of subclass/superclass handling. * unifying transitive subclass handling * localizing and documenting caching of subclass/superclass lists * eliminating repetitious computation of subclass lists * refactored code, renamed some functions to better refelect their purpose * improved documentation - fixed a potential crash for class deletion triggering implicit deletions further deletions referencing the parent class - extended regression test

  1. … 3 more files in changeset.
- fix spelling

all artifacts saved

  1. … 1 more file in changeset.
- improve wording of comment