tclAppInit.c

Clone Tools
  • last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Makefile.in: Make sure that xotclsh + xowish are explicitly linked against libtclstub*.so, rather than libtcl*.so. Otherwise, building with --with-xotclsh + --with-xowish fails starting with 8.6 (which effectively hides the various stub structures in libtcl*.so). - *AppInit.c: Use the stubbed variant of Tcl_Init(). - Tested under 8.6 (fossil trunk as of commit date) and 8.5 (fossil core-8-5-branch as of commit date). - Thanks to Sergei Golovan (Debian Tcl/Tk Package Mantainers) for reporting the issue and an initial patch (see Debian bug #724816).

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

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

  1. … 20 more files in changeset.
- changed stub naming from "[Nn][Xx]*" to nsf (for next scripting framework)

  1. … 19 more files in changeset.
- changed stubs from xotcl to nx

  1. … 23 more files in changeset.
- namespace changes: mostly due to marketing reasons, the naming of the top-level namespace changed from "xotcl2" to "next". reasons: xotcl is hard to pronounce for beginners, sounds like "exotic" (but who wants to program in an exotic language) has a certain stigma of strange namings (e.g. "instproc"), is seen as a precursor of tcloo, the top-level namespace ::xotcl2:: is not very nice either, the separation of framework and language is not clear.

We have now:

::next (the new object system, former ::xotcl2)

::next::core (framework, primitives)

::xotcl (former xotcl1)

- "::xotcl::use" no longer needed, use Tcl standard mechanisms instead

(e.g. "package req next"; "package req XOTcl", "namespace import ::next*")

  1. … 48 more files in changeset.
- use a more recent version of unix/tclAppInit.c

- removed obsolete generic/xotclAppInit.c - changed loading method in xotclsh from Xotcl_Init() to Tcl_PkgRequire()

  1. … 2 more files in changeset.
- added aliastest provided by stefan - handle [self class] in aliased methods properly - use xotcl2 per default in xotclsh

  1. … 7 more files in changeset.
merge with 1.6.3 (HEAD)

  1. … 130 more files in changeset.
updateing dates in copyright

  1. … 8 more files in changeset.
restructured directory to remove superfluous directory xotcl

  1. … 749 more files in changeset.