summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclInt.decls, generic/tclInt.h, generic/tclIntDecls.h:hobbs2010-11-301-2/+2
| | | | | | | * generic/tclStubInit.c: TclFormatInt restored at slot 24 * generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from 2005-07-05 macro-ization. Benchmarks indicate it is faster, as a key int->string routine (e.g. int-indexed arrays).
* 2010-11-29 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2010-11-281-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: * generic/tclInt.h: * generic/tclStrToD.c: * generic/tclTest.c: * generic/tclTomMath.decls: * generic/tclUtil.c: * tests/util.test: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits that (a) fixes a severe performance problem with floating point shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits to generate the digit strings for 'e' and 'f' format, so that it can be used for tcl_precision != 0 (and possibly later for [format]), (c) fixes [Bug 3120139] by making TclPrintDouble inherently locale-independent, (d) adds test cases to util.test for correct rounding in difficult cases of TclDoubleDigits where fixed- precision results are requested. (e) adds test cases to util.test for the controversial aspects of [Bug 3105247]. As a side effect, two more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c) are brought into the build, since the new code uses them.
* Make Tcl_FindExecutable() work in UNICODE compiles (windows-only) as well as ↵nijtmans2010-09-161-1/+2
| | | | | | ASCII. Needed for [FRQ 491789]: setargv() doesn't support a unicode cmdline
* [Patch 2994165]: Change signature of Tcl_FSGetNativePath and TclpDeleteFile ↵nijtmans2010-08-251-14/+2
| | | | | | follow-up: move stub entry back to original location.
* [Patch 3034251]: Backport ttkGenStubs.tcl features to genStubs.tcl, partly:nijtmans2010-08-211-113/+113
| | | | Use void (*reserved$i)(void) = 0 instead of void *reserved$i = NULL for unused stub entries, in case pointer-to-function and pointer-to-object are different sizes.
* [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFilenijtmans2010-08-141-2/+14
|
* * generic/tclInt.decs: Reverted to the original TIP 337 implementationdgp2010-07-021-2/+2
| | | | | | | on what to do with the obsolete internal stub for TclBackgroundException() (eliminate it!) * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* [Bug #803489] Tcl_FindNamespace problem in the Stubs tablenijtmans2010-07-021-2/+2
|
* * generic/tclStubInit.c: Add a small amount of gcc-isms (with #ifdefdkf2010-04-261-1/+7
| | | | | * generic/tclOOStubInit.c: guards) to ensure that warnings are issued when these files are older than the various *.decls files.
* * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-021-1/+4
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* regendkf2010-03-201-2/+3
|
* Fix Bug #2959713: Link error with gcc 4.1nijtmans2010-02-281-1/+2
|
* reverted earlier rename from tcl*Stubs tonijtmans2010-02-151-10/+10
| | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611]
* Follow-up to earlier commit today:nijtmans2010-02-051-20/+11
| | | | | | Eliminate the need for an extra Stubs Pointer for adressing a static stub table: Just change the exported table from static to MODULE_SCOPE.
* TIP #356 IMPLEMENTATIONdgp2009-09-241-1/+2
| | | | | | | | | | * generic/tcl.decls: Promote internal routine TclNRSubstObj() * generic/tclCmdMZ.c: to public Tcl_NRSubstObj(). Still needs docs. * generic/tclCompile.c: * generic/tclInt.h: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* TIP #353 IMPLEMENTATIONdgp2009-08-121-1/+2
| | | | | | | | | | | | | | * doc/NRE.3: New public routine Tcl_NRExprObj() permits * generic/tcl.decls: extension commands to evaluate Tcl expressions * generic/tclBasic.c: in NR-enabled command procedures. * generic/tclCmdAH.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclObj.c: * tests/expr.test: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* Added code to save space in namespaces. Currently #ifdef'ed out for compat.dkf2009-07-151-1/+5
| | | | Also added code from itcl-ng for better separation of concerns.
* * generic/tclInt.h: add assert macros for clang staticdas2009-06-301-1/+2
| | | | | | | | | * generic/tclPanic.c: analyzer and redefine Tcl_Panic to * generic/tclStubInit.c: assert after panic in clang PURIFY builds. * generic/tclCmdIL.c: add clang assert for false positive from static analyzer.
* regendkf2009-06-181-1/+2
|
* * macosx/tclMacOSXNotify.c: revise CoreFoundation notifier to allowdas2009-04-101-1/+2
| | | | | | | | | | | | | | | | | | * unix/tclUnixChan.c: embedding into applications that * unix/tclUnixEvent.c: already have a CFRunLoop running and want to run the tcl event loop via Tcl_ServiceModeHook(TCL_SERVICE_ALL). * macosx/tclMacOSXNotify.c: add CFRunLoop based Tcl_Sleep() and * unix/tclUnixChan.c: TclUnixWaitForFile() implementations * unix/tclUnixEvent.c: and disable select() based ones in CoreFoundation builds. * unix/tclUnixNotify.c: simplify, sync with tclMacOSXNotify.c. * generic/tclInt.decls: add TclMacOSXNotifierAddRunLoopMode() * generic/tclIntPlatDecls.h: internal API, regen. * generic/tclStubInit.c:
* - eliminate some unnessary type castsnijtmans2009-02-101-49/+1
| | | | | - some internal const decorations - spacing
* Assorted minor corrections to the Zlib C API to make it work with the PNGdkf2008-12-271-2/+2
| | | | implementation better.
* fix line endingsdgp2008-12-181-1166/+1166
|
* TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channelsferrieux2008-12-181-1165/+1166
|
* * generic/tcl.h: Add TIP 338 routines to stub table.dgp2008-12-161-1/+3
| | | | | | | * generic/tcl.decls: [Bug 2431338]. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* TIP #338 IMPLEMENTATIONdgp2008-12-151-7/+7
| | | | | | | | | | | | | | * doc/AppInit.c: Made routines Tcl_SetStartupScript and * doc/Tcl_Main.3: Tcl_GetStartupScript public. Removed all * generic/tcl.h: internal stub access to Tcl*Startup* routines, * generic/tclInt.decls: and removed their implementations. Their * generic/tclMain.c: function can now be completely performed with the new public interface. *** POTENTIAL INCOMPATIBILITY for callers of the internal Tcl*Startup* routines. *** * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* regendkf2008-12-111-1/+13
|
* restore source and binary compatibilitynijtmans2008-12-091-2/+2
| | | | | for TIP #337 implementation. (when it's _that_ simple, there is no excuse not to do it) :-)
* TIP #337 IMPLEMENTATIONdgp2008-12-091-2/+3
| | | | | | | | | | | | | | | | | | | * doc/BackgdErr.3: Converted internal routine * doc/interp.n: TclBackgroundException() into public routine * generic/tcl.decls: Tcl_BackgroundException(). * generic/tclEvent.c: * generic/tclInt.decls: * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclIO.c: Update callers. * generic/tclIOCmd.c: * generic/tclInterp.c: * generic/tclTimer.c: *** POTENTIAL INCOMPATIBILITY only for extensions using the converted internal routine ***
* regendkf2008-12-051-1/+2
|
* regendkf2008-12-051-1/+2
|
* TIP #336 IMPLEMENTATIONdgp2008-12-021-1/+3
| | | | | | | | | | | | | | | | | | * generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine. * generic/tcl.h: Dropped default access to interp->errorLine. * generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE. * generic/tclCmdMZ.c: Updated callers. * generic/tclDictObj.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclOOBasic.c: * generic/tclOODefinedCmds.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclResult.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-3/+3
| | | | broken since 8.4 and no-one complained about it.
* regen againdkf2008-10-031-2/+2
|
* Regendkf2008-10-021-1/+2
|
* regendkf2008-09-281-1/+3
|
* Implement TIP #316.dkf2008-09-241-1/+14
|
* Completely revamped NRE implementation, with (almost) unchanged API.Miguel Sofer2008-07-291-15/+14
|
* make genstubsdas2008-07-221-2/+2
|
* fix line-endingsdas2008-07-221-1131/+1131
|
* TIP #304 implementationferrieux2008-07-211-1130/+1131
|
* * generic/tcl.decls: Changed the implementation ofMiguel Sofer2008-07-211-2/+2
| | | | | | | | | | * generic/tclBasic.c: [namespace import]; removed * generic/tclDecls.h: Tcl_NRObjProc, replaced with * generic/tclExecute.c: Tcl_NRCmdSwap (proposed public * generic/tclInt.h: NRE API). This should fix * generic/tclNRE.h: [Bug 582506]. * generic/tclNamesp.c: * generic/tclStubInit.c:
* * generic/tcl.decls: Change the public api prefix fromMiguel Sofer2008-07-181-7/+7
| | | | | | | | | | | | | | | | | * generic/tcl.h: TclNR_foo to Tcl_NRfoo * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclInterp.c: * generic/tclNRE.h: * generic/tclNamesp.c: * generic/tclOO.c: * generic/tclOOBasic.c: * generic/tclOOCall.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclStubInit.c:
* NRE implementation [Patch 2017110]Miguel Sofer2008-07-131-1/+13
|
* * generic/tclGet.c: Corrected out of date comments and removeddgp2008-07-081-2/+2
| | | | | | | | | | | * generic/tclInt.decls: internal routine TclGetLong() that's no longer used. If an extension is using this from the internal stubs table, it can shift to the public routine Tcl_GetLongFromObj() or can request addition of a public Tcl_GetLong(). ***POTENTIAL INCOMPATIBILITY*** * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* TIP 285 ImplementationJoe Mistachkin2008-06-131-1/+4
|
* * generic/tclInt.h: make stubs tables 'static const' anddas2008-04-161-12/+17
| | | | | | | | * generic/tclStubInit.c: export only module-scope pointers to * generic/tclStubLib.c: the main stubs tables (for package * tools/genStubs.tcl: initialization). [Patch 1938497] * generic/tclBasic.c (Tcl_CreateInterp): * generic/tclTomMathInterface.c (TclTommath_Init):
* * generic/tclInt.h: revise Tcl_SetNotifier() to use adas2008-04-161-24/+1
| | | | | | | | * generic/tclNotify.c: module-scope hooks table instead of * generic/tclStubInit.c: runtime stubs-table modification; * macosx/tclMacOSXNotify.c: ensure all hookable notifier functions * win/tclWinNotify.c: check for hooks; remove hook checks in * unix/tclUnixNotfy.c: notifier API callers. [Patch 1938497]
* * generic/tclDecls.h: make genstubsdas2008-04-021-2/+2
| | | | | | | | * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h:
* * generic/tclCompile.h: Demote TclCompEvalObj() from internal stubs todgp2008-01-231-2/+2
| | | | | | | * generic/tclInt.decls: a MODULE_SCOPE routine declared in tclCompile.h. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: