| Store | Cart

[TCLCORE] Tcl 9 big cleanup

From: Jan Nijtmans <jan....@gmail.com>
Thu, 9 Nov 2017 10:44:56 +0100
Hi all,

Please have a look at the "tcl-9-cleanup" branch, for those who are interested.

Explanation: In the past, many internal C functions changed signature
and/or were
re-located in the Stubs tables, but the old stub entry was retained
for the benefit
of extensions which possibly used them. Other internal functions were used
in the core before, but after rewriting big parts (e.g. Kevin's clock
implementation)
they are not used any more. I made a list of those functions, which - in my
opinion - can be safely removed from the core without doing any harm.

Here is the list. If you think that any of the functions below should be kept
in the (internal) stub table, please speak up now. Otherwise they will
be removed permanently. I don't think a TIP is required for doing this,
since none of the functions involved are documented. So, extensions
cannot rely on them anyway.

Feel free to ask questions, I'll try to answer them here!

Thanks!
     Jan Nijtmans

In tcl.decls:
    Tcl_SeekOld
    Tcl_TellOld
In tclInt.decls:
    TclCopyChannelOld
    TclpGetTime
    TclSockMinimumBuffersOld
    Tcl_AppendExportList  (was moved to tcl.decls)
    Tcl_CreateNamespace  (was moved to tcl.decls)
    Tcl_DeleteNamespace  (was moved to tcl.decls)
    Tcl_Export  (was moved to tcl.decls)
    Tcl_FindCommand  (was moved to tcl.decls)
    Tcl_FindNamespace  (was moved to tcl.decls)
    Tcl_ForgetImport  (was moved to tcl.decls)
    Tcl_GetCommandFromObj  (was moved to tcl.decls)
    Tcl_GetCommandFullName  (was moved to tcl.decls)
    Tcl_GetCurrentNamespace  (was moved to tcl.decls)
    Tcl_GetGlobalNamespace  (was moved to tcl.decls)
    Tcl_Import  (was moved to tcl.decls)
    TclpGetDate
    TclSetStartupScriptFileName
    TclGetStartupScriptFileName
    TclSetStartupScriptPath
    TclGetStartupScriptPath
    Tcl_SetStartupScript  (was moved to tcl.decls)
    Tcl_GetStartupScript  (was moved to tcl.decls)
    TclpLocaltime
    TclpGmtime
    TclBackgroundException

    TclWinConvertWSAError  (became macro, equivalent to TclWinConvertError)
    TclWinGetServByName
    TclWinGetSockOpt
    TclWinNToHS
    TclWinSetSockOpt
    TclWinSetInterfaces
    TclpReaddir
    TclpLocaltime_unix
    TclpGmtime_unix
    TclpInetNtoa

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core

Recent Messages in this Thread
Jan Nijtmans Nov 09, 2017 09:44 am
Kevin Kenny Nov 09, 2017 02:00 pm
Jan Nijtmans Nov 09, 2017 03:49 pm
Messages in this thread