summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
Commit message (Collapse)AuthorAgeFilesLines
* Created branch dogeen-assembler-merge-syntheticdogeen-assembler-mergecvs2fossil2010-12-171-2/+2
| | | FossilOrigin-Name: b984b3567a6d69a796f652cb72c89366d396e5d6
* [Bug 3137454]: Tcl CVS HEAD does not build on GCC 3nijtmans2010-12-141-2/+2
| | | FossilOrigin-Name: 1ae430c7dbcb6f681d267dfb37e54121ef31a6cf
* [Bug 3135271] Link error due to hidden symbols (CentOS 4.2)nijtmans2010-12-131-2/+2
| | | FossilOrigin-Name: c2a840f99bbb25e98643927607e667ce64ad7dae
* [Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2nijtmans2010-12-101-2/+2
| | | FossilOrigin-Name: e6ddd08613c8541a6cf7140ee21f67cef0244520
* [Patch 3009403] Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntrynijtmans2010-08-141-4/+4
| | | FossilOrigin-Name: 038e8afe8394a1951b98c6194f48e7d7511a3fec
* Simplify Tcl_AppInit and *_Init definitions.nijtmans2010-06-161-12/+6
| | | | | | | | Change TclpThreadCreate and Tcl_CreateThread signature, making clear that "proc" is a function pointer, as in all other "proc" function parameters. FossilOrigin-Name: 8567ee888a85773fefe8d5dbf8da6fd77a5a00cc
* * generic/tcl.h: Bump patchlevel to 8.6b1.2 to distinguishdgp2010-04-301-2/+2
| | | | | | | | | | | * library/init.tcl: CVS snapshots from earlier snapshots as well * unix/configure.in: as the 8.6b1 and 8.6b2 releases. * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: a30f8d7cf3ded4bc22b7f8e94727158816a3d3ba
* Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-13/+1
| | | | | | Eliminate various unnecessary type casts. FossilOrigin-Name: 77d22c7b43802be11238dcc3c0bb21ad11e74e33
* Added commentnijtmans2010-04-151-1/+7
| | | FossilOrigin-Name: 1791ed0caa49a5e09bf172cb64ce924620fb9b94
* Move inclusion of <tchar.h> from tclPlatDecls.hnijtmans2010-04-151-1/+7
| | | | | | | | | | | to tclWinPort.h, where it belongs. Add fallback in tcl.h, so at least TCHAR typedef is always available in win32, even without <tchar.h> Tk already did the same in tkWinPort.h, now Tcl does it the same (correct) way. FossilOrigin-Name: 4967cf572a91840f9415dab439d92948b7682669
* Small fixes, namely:dkf2010-02-161-125/+158
| | | | | | | | Move some related pieces (e.g., for encoding handling) closer together Update comments to add more visual separation between bits and pieces Put parentheses round negative constants FossilOrigin-Name: 4223b70b267a10170b80738712ccf64c444b9af7
* Follow-up to [2010-01-29] commit:nijtmans2010-02-051-16/+16
| | | | | | | | | | | | prevent space within stub table function parameters if the parameter type is a pointer. Minor formatting, and VOID -> void. Change signature of TclNRInterpProcCore, and TclOONewProc(Instance|)MethodEx, indicating that errorProc is a function pointer tclVar.c: fixed two gcc warnings FossilOrigin-Name: 98e1b94811e5566833ed547424b86dd3e7fc9a2d
* Reverted Tcl_ThreadDataKey type change,nijtmans2010-01-291-12/+11
| | | | | | | | | see Bug #2942081 Changed some Tcl_CallFrame fields from "char *" to "void *". This saves unnecessary space on Cray's (and it's simply more correct). FossilOrigin-Name: 347767151a37f5c530c8d7b51840f495d5123317
* - genStubs.tcl: No longer generate a space after "*" andnijtmans2010-01-291-5/+3
| | | | | | | | | | | | immediately after a function name, so the format of function definitions in tcl*Decls.h matches all other tcl*.h header files. - Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc and GetFrameInfoValueProc to be function definitions, not pointers, for consistency with all other Tcl function definitions. FossilOrigin-Name: 92924901357b4846fa668b6f5122abf37979693a
* Revert [2009-12-21] change in tcl.h, in steadnijtmans2010-01-221-8/+2
| | | | | | | | | | resolve the CYGWIN inclusion problems by re-arranging the inclusions at other places. Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures. FossilOrigin-Name: 73e5d1067bebb1ce1a6ebacf8b4a415453ffd62c
* Revert [2009-12-21] change in tcl.h, in steadnijtmans2010-01-221-8/+8
| | | | | | | | | | resolve the CYGWIN inclusion problems by re-arranging the inclusions at other places. Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures. FossilOrigin-Name: 835f8e1e9d351430ae770c9e2b24bc78ad766eca
* Fix TCL_LL_MODIFIER for Cygwinnijtmans2010-01-131-2/+2
| | | | | | | and various other minor CYGWIN compilation problems FossilOrigin-Name: 2be0f4173bb95bdd0859100b31a205998b6152bb
* Fix up a few stray spaces.dkf2009-12-231-32/+31
| | | FossilOrigin-Name: fa2452348ce1cfa74f7eab595950b2f4e8f77ad0
* Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still ↵nijtmans2009-12-211-1/+7
| | | | | not enabled yet, but at least it is a step in the right direction. FossilOrigin-Name: dca4a9980ea1e6abbb78a199f0fbf597beb38138
* tcl.h Don't use EXPORT for Tcl_InitStubsnijtmans2009-11-301-3/+3
| | | | | | win/Makefile.in Better dependancies in case of static build. FossilOrigin-Name: d63090dfb8f5eb259407fce8ad73b16db8d285dd
* * generic/tcl.h: Changed the typedef for the mp_digit typedgp2009-10-291-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | from: typedef unsigned long mp_digit; to: typedef unsigned int mp_digit; For 32-bit builds where "long" and "int" are two names for the same thing, this is no change at all. For 64-bit builds, though, this causes the dp[] array of an mp_int to be made up of 32-bit elements instead of 64-bit elements. This is a huge improvement because details elsewhere in the mp_int implementation cause only 28 bits of each element to be actually used storing number data. Without this change bignums are over 50% wasted space on 64-bit systems. [Bug 2800740]. ***POTENTIAL INCOMPATIBILITY*** For 64-bit builds, callers of routines with (mp_digit) or (mp_digit *) arguments *will*, and callers of routines with (mp_int *) arguments *may* suffer both binary and stubs incompatibilities with Tcl releases 8.5.0 - 8.5.7. Such possibilities should be checked, and if such incompatibilities are present, suitable [package require] requirements on the Tcl release should be put in place to keep such built code [load]-ing only in Tcl interps that are compatible. FossilOrigin-Name: c8fd5c657b0c52bb7c665c3572d0584267f760ee
* Revert last commit which fails to build with msvc2005 and msvc6patthoyts2009-04-291-4/+4
| | | FossilOrigin-Name: 2123c41cdc6b7d667fa39a4b5cf116dddce97dfc
* Fix [Bug 2651823].dkf2009-04-291-4/+4
| | | FossilOrigin-Name: ee206284961ad9630447040fd0604b7743d99cfc
* * generic/tcl.h:msofer2009-03-191-1/+2
| | | | | | | | | | | | | | | | * generic/tclInt.h: * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclNamesp.c (Tcl_PopCallFrame): Rewritten tailcall implementation, ::unsupported::atProcExit is (temporarily?) gone. The new approach is much simpler, and also closer to being correct. This commit fixes [Bug 2649975] and [Bug 2695587]. * tests/coroutine.test: Moved the tests to their own files, * tests/tailcall.test: removed the unsupported.test. Added * tests/unsupported.test: tests for the fixed bugs. FossilOrigin-Name: 588ba19772ca9f214d8ec9d8deb0479bd20303ea
* * generic/tcl.h: Bump patchlevel to 8.6b1.1 to distinguishdgp2009-01-161-2/+2
| | | | | | | | | | * library/init.tcl: CVS snapshots from the 8.6b1 and 8.6b2 releases * unix/configure.in: and to deal with the fact that the HEAD of * win/configure.in: init.tcl will not [source] in Tcl 8.6b1 . * unix/configure: autoconf-2.59 FossilOrigin-Name: c8cfc118c31a9bdf340cd1f6225f03b18fcb86ae
* [Bug 2512659] patch for typo appliedpatthoyts2009-01-161-2/+3
| | | FossilOrigin-Name: 3bbaf4de790b2104c14270f489f083ed60e2fcb5
* Comment formatting improvements.dkf2009-01-061-45/+46
| | | FossilOrigin-Name: 04b750c442d33c5c0e907c4de29a21e789b2ba37
* * README: Bump version number to 8.6b1dgp2008-12-191-4/+4
| | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: 448b87b688a106f316d4145606c8b1806bba41cb
* Removed unused flag.dkf2008-12-171-3/+2
| | | FossilOrigin-Name: 0dd4a2524d33a8998c5ac74df2c74f7744a3bea8
* * generic/tcl.h: Add TIP 338 routines to stub table.dgp2008-12-161-4/+1
| | | | | | | | | * generic/tcl.decls: [Bug 2431338]. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: FossilOrigin-Name: 41252e08cd5db8bfe0b64a20eab708a207aa1880
* TIP #338 IMPLEMENTATIONdgp2008-12-151-1/+4
| | | | | | | | | | | | | | | | * 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: FossilOrigin-Name: e52c9bd3ce5799bb2a70f70623cd081fd3cdfd69
* First hack at TIP#234dkf2008-12-111-1/+45
| | | FossilOrigin-Name: b84ee14c8c7da55c8c050da775ecf656915451fd
* TIP #336 IMPLEMENTATIONdgp2008-12-021-1/+5
| | | | | | | | | | | | | | | | | | | | * 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: FossilOrigin-Name: e01657bdcf2de674c508a72af4619599bab4ef5f
* Alternate fix for[Bug 2251175]: missing backslash substitution on expanded ↵ferrieux2008-11-271-2/+1
| | | | | literals. FossilOrigin-Name: dc5280ff207323b387db85b406ab2d0df3d93cf6
* Fix [Bug 2251175]: missing backslash substitution on expanded literals.ferrieux2008-11-171-1/+2
| | | FossilOrigin-Name: 92bf0067c9728845a6f1d29bab11d6ed986c9561
* Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-38/+40
| | | | | | broken since 8.4 and no-one complained about it. FossilOrigin-Name: dc58eb7219d241ac91b3404382fe30280fced6a1
* * README: Bump version number to 8.6a4dgp2008-10-141-3/+3
| | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: 3d9e72a73bb346ebec75981287e2be314392a1ad
* * doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProcnijtmans2008-10-051-3/+3
| | | | | | | | | | | | | | | | | * generic/tclFCmd.c: and tclpFileAttrStrings. This allows * generic/tclIOUtil.c: FileSystems to report their attributes * generic/tclTest.c: as const strings, without worrying that * unix/tclUnixFCmd.c: Tcl modifies them (which Tcl should not * win/tclWinFCmd.c: do anyway, but the API didn't indicate that) * generic/tcl.decls * generic/tclDecls.h: regenerated * generic/tcl.h: make sure that if CONST84 is defined as empty, CONST86 should be defined as empty as well (unless overridden). This change complies with TIP #27 *** POTENTIAL INCOMPATIBILITY *** FossilOrigin-Name: 40d0887361f264429c18746a1547bcb110f2c24d
* * doc/ChnlStack.3: CONSTified the typePtr argumentnijtmans2008-10-041-2/+2
| | | | | | | | | | | | | * doc/CrtChannel.3: of Tcl_CreateChannel and Tcl_StackChannel * generic/tcl.decls and the return value of Tcl_GetChannelType * generic/tcl.h * generic/tclIO.h * generic/tclIO.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27. FossilOrigin-Name: 1fb6ccc45ada951a42f957d03508305f7197a06f
* * doc/Hash.3: CONSTified the typePtr argumentnijtmans2008-10-041-2/+2
| | | | | | | | | | | * generic/tcl.decls: of Tcl_InitCustomHashTable. * generic/tcl.h * generic/tclHash.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27. FossilOrigin-Name: fcc2624fe48ab4c2490d85005713d39dbb4b1e23
* Implement TIP #265. [FRQ 1446696]dkf2008-10-021-1/+60
| | | FossilOrigin-Name: 020acd659d37270854b515d6f176b25ea57292c6
* TIP #330 IMPLEMENTATIONdgp2008-10-021-1/+7
| | | | | | | | | | | | * generic/tcl.h: Remove the "result" and "freeProc" fields * generic/tclBasic.c: from the default public declaration of the * generic/tclResult.c: Tcl_Interp struct. Code should no longer * generic/tclStubLib.c: be accessing these fields. Access can be * generic/tclTest.c: restored by defining USE_INTERP_RESULT, but * generic/tclUtil.c: that should only be a temporary migration aid. *** POTENTIAL INCOMPATIBILITY *** FossilOrigin-Name: df44cd3e1642fa9ed3671e02f5139276fb48a097
* * generic/tcl.h: Stripped "callers" of the _ANSI_ARGS_ macrodgp2008-09-031-190/+158
| | | | | | | | * compat/dirent2.h: to support a TCL_NO_DEPRECATED build. * compat/dlfcn.h: * unix/tclUnixPort.h: FossilOrigin-Name: bbd0f4b7ed70d69cd34117cea1e534083d271d13
* unbreak the build with TCL_NO_DEPRECATED defineddas2008-09-021-1/+3
| | | FossilOrigin-Name: 4480defc0ae62ac075affd4d3bdb79697a8d5c70
* * generic/tcl.h: Removed the conditional #define ofdgp2008-09-021-9/+15
| | | | | | | | | _ANSI_ARGS_ that would support pre-prototype C compilers. Since _ANSI_ARGS_ is no longer used in tclDecls.h, it's clear no one compiling against Tcl 8.5 headers is making use of a -DNO_PROTOTYPES configuration. FossilOrigin-Name: 02492030f5b757901cda1c3bc4c6c573e64855cf
* * README: Bump version number to 8.6a3dgp2008-08-281-3/+3
| | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: cb2385ff07638652cbd7dc8dd15e74060b988730
* * generic/tcl.h: Drop use of USE_COMPAT85_CONST. That addeddgp2008-08-221-4/+2
| | | | | | | indirection without value. Use -DCONST86="" to engage source compat support for code written for 8.5 headers. FossilOrigin-Name: 4581b11cbe2e1bd9c9b9441ae609a7ac3df88e5d
* * generic/tcl.h: Reduced the use of CONST86 and eliminateddgp2008-08-211-5/+8
| | | | | | | | | | | | | | * generic/tcl.decls: the use of CONST86_RETURN to support source code compatibility with Tcl 8.5 on those public routines passing (Tcl_Filesystem *), (Tcl_Timer *), and (Tcl_Objtype *) values which have been const-ified. What remains is the minimum configurability needed to support code written for pre-8.6 headers via the new -DUSE_COMPAT85_CONST compiler directive. *** POTENTIAL INCOMPATIBILITY *** * generic/tclDecls.h: make genstubs FossilOrigin-Name: b3e31c71c2a9401e5550b21a6237141bad404e59
* * README: Bump version number to 8.6a2dgp2008-08-121-3/+3
| | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure: FossilOrigin-Name: ff4d6323a8a967a63d32d28abbf0d562953b1388
* * doc/Object.3 CONSTified 3 functions usingnijtmans2008-07-271-3/+4
| | | | | | | | | | | | | | | | | * doc/ObjectType.3 Tcl_ObjType which all are supposed * generic/tcl.decls to be a constant, but this was not * generic/tcl.h reflected in the API: * generic/tclDecls.h Tcl_ConvertToType * generic/tclObj.c Tcl_GetObjType * generic/tclCompCmds.c Tcl_RegisterObjType * generic/tclOOMethod.c Introduced a CONST86_RETURN, so extensions which * generic/tclTestobj.c use Tcl_ObjType directly can be modified to compile against both Tcl 8.5 and Tcl 8.6 tclDecls.h is re-generated with "make genstubs" This change complies with TIP #24 ***POTENTIAL INCOMPATIBILITY*** FossilOrigin-Name: 4f99dac9fd9e8c3cad5772fdaff95f8bc8fd660a