xotcl

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- XOTcl 2: allow info slots for objects as well

- added public|protected to output of "info method definition" (needed to make serializer more sane, neccessary on the longer range)

  1. … 6 more files in changeset.
- make return statments explicit

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

  1. … 1 more file in changeset.
- 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)

    • -229
    • +71
    ./library/store/XOTclGdbm/configure
    • -10
    • +10
    ./library/store/XOTclGdbm/configure.in
    • -0
    • +140
    ./library/store/XOTclGdbm/nsf.m4
    • -140
    • +0
    ./library/store/XOTclGdbm/xotcl.m4
    • -14
    • +14
    ./library/store/XOTclSdbm/configure
    • -9
    • +9
    ./library/store/XOTclSdbm/configure.in
    • -0
    • +140
    ./library/store/XOTclSdbm/nsf.m4
    • -140
    • +0
    ./library/store/XOTclSdbm/xotcl.m4
    • -14
    • +14
    ./library/xml/TclExpat-1.1/configure
    • -9
    • +9
    ./library/xml/TclExpat-1.1/configure.in
    • -0
    • +140
    ./library/xml/TclExpat-1.1/nsf.m4
    • -140
    • +0
    ./library/xml/TclExpat-1.1/xotcl.m4
  1. … 6 more files in changeset.
- 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)

  1. … 6 more files in changeset.
- 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

  1. … 12 more files in changeset.
- removed capitalization from exit handler interface - reduced interface of exithandler to ::nsf::exithandler set|get|unset ?arg?

  1. … 10 more files in changeset.
- renamed ::nsf::cmd::ObjectInfo into ::nsf::methods::object::info - renamed ::nsf::cmd::ClassInfo into ::nsf::methods::class::info

  1. … 8 more files in changeset.
- 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()

  1. … 4 more files in changeset.
- changed internal method name requireNamespace to "require_namespace"

  1. … 4 more files 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)

  1. … 2 more files in changeset.
- regenerated pkgindex files

  1. … 2 more files in changeset.
- fixed again library/xotcl/library/pkgIndex.tcl

- regenerated index files

  1. … 3 more files in changeset.
- added explicitly library/xotcl/library/pkgIndex.tcl

    • -0
    • +10
    ./library/pkgIndex.tcl
- 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. … 16 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. … 6 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.
- 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

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

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

  1. … 12 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. … 6 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. … 7 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
    ./library/store/XOTclGdbm/configure.in
    • -69
    • +69
    ./library/store/XOTclGdbm/xotclgdbm.c
    • -14
    • +14
    ./library/store/XOTclSdbm/Makefile.vc
    • -2
    • +2
    ./library/store/XOTclSdbm/configure.in
    • -73
    • +73
    ./library/store/XOTclSdbm/xotclsdbm.c
    • -12
    • +12
    ./library/xml/TclExpat-1.1/Makefile.vc
    • -2
    • +2
    ./library/xml/TclExpat-1.1/configure.in
  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
    ./library/store/XOTclGdbm/xotcl.m4
    • -224
    • +224
    ./library/store/XOTclSdbm/Makefile.vc
    • -39
    • +40
    ./library/store/XOTclSdbm/xotcl.m4
    • -239
    • +239
    ./library/xml/TclExpat-1.1/Makefile.vc
    • -39
    • +40
    ./library/xml/TclExpat-1.1/xotcl.m4
  1. … 41 more files in changeset.