summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
Commit message (Collapse)AuthorAgeFilesLines
...
| | * * README, generic/tcl.h, tools/tcl.wse.in: bumped tohobbs2004-07-131-3/+3
| | | | | | | | | | | | | | | * unix/configure, unix/configure.in, unix/tcl.spec: patchlevel * win/README.binary, win/configure, win/configure.in: 8.4.7
| | * * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-051-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build works again. * generic/tclInt.decls: Changes to the tests for * generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime * generic/tclStubInit.c: so that any clock frequency * tests/platform.test (platform-1.3): is accepted provided that * win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share * win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence, * win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This change necessitated a small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
| | * update patchlevel to 8.4.6hobbs2004-02-131-3/+3
| | |
| | * * generic/tcl.h: Bumped patch level to 8.4.5.1 to distinguishdgp2003-12-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/configure.in: CVS snapshots from 8.4.5 release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
| | * * README: Bumped patch level to 8.4.6 to distinguishdgp2003-12-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: CVS snapshots from the 8.4.5 release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
| | * * generic/tclIOUtil.c (FsListMounts, FsAddMountsToGlobResult): Newandreas_kupries2003-10-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions. See below for context. (Tcl_FSMatchInDirectory): Modified to call on the new functions (above) to handle the mountpoints in the glob'bed directory correctly. Part of the patch by Vincent Darly to solve the [Bug 800106] for the 8.4.x series. * generic/tcl.h (TCL_GLOB_TYPE_MOUNT): New definition. Part of the patch by Vincent Darly to solve [Bug 800106] for the 8.4.x series.
| | * * README: Bumped patch level to 8.4.5 to preparedgp2003-10-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: for next patch release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure: * library/http/http.tcl: Bumped to http 2.4.5 * library/http/pkgIndex.tcl:
| | * * generic/tcl.h: add recognition of -DTCL_UTF_MAX=6 on thehobbs2003-07-161-4/+20
| | | | | | | | | | | | | | | * generic/regcustom.h: make line to support UCS-4 mode. No config arg at this time, as it is not the recommended build mode.
| | * * README: Bumped patch level to 8.4.4 in anticipationdgp2003-07-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: of another patch release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
| | * * macosx/Makefile: Rewrote buildsystem for Mac OS X framework builddas2003-07-151-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to be purely make driven; in order to become independent of Apple's closed-source IDE and build tool. The changes are intended to be transparent to the Makefile user, all existing make targets and cmd line variable overrides should continue to work. Changed build to only include tcl specific html help in Tcl.framework, the tk specific html help is now included in Tk.framework. * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.pbproj/jingham.pbxuser: Changed to purely call through to the make driven buildsystem; Tcl.framework is no longer assembled by ProjectBuilder. Set default SYMROOT in target options to simplify setting up PB (manually setting common build folder for tcl & tk no longer needed). * tools/tcltk-man2html.tcl: Added options to allow building only the tcl or tk html help files; the default behaviour with none of the new options is to build both, as before. * unix/Makefile.in: Added targets for building only the tcl or tk help. * macosx/README (new): Tcl specific excerpts of tk/macosx/README. * generic/tcl.h: Updated reminder comment about editing macosx/Tcl.pbproj/project.pbxproj when version number changes.
| | * bumped version to 8.4.3hobbs2003-05-151-3/+3
| | |
| | * * generic/tcl.h Made changes so that the "wideInt" Tcl_ObjTypedgp2003-04-161-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclObj.c is defined on all platforms, even those where * generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made the Tcl_Value struct have a wideValue field on all platforms. This is a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms because that struct changes size. This is the same TIP 72 incompatibility that was seen on other platforms at the 8.4.0 release, when this change should have happened as well. [Bug 713562] * generic/tclInt.h: New internal macros TclGetWide() and TclGetLongFromWide() to deal with both forms of the "wideInt" Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code is confined to the header file. * generic/tclCmdAH.c: Replaced most coding that was conditional * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that * generic/tclExecute.c: works across platforms, sometimes using * generic/tclTest.c: the new macros above to do it. * generic/tclUtil.c: * generic/tclVar.c:
| | * * generic/tcl.h: Removed TCL_PREFIX_IDENT and TCL_DEBUG_IDENTdgp2003-03-121-4/+1
| | | | | | | | | | | | | | | * win/tclWinPipe.c: from tcl.h -- they are not part of Tcl's public interface. Put them in win/tclWinPipe.c where they are used.
| * | * generic/tcl.h: Bump to 8.5.9 for release.dgp2010-08-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure: * changes: Update for 8.5.9 release.
| * | [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6nijtmans2010-07-171-9/+10
| | |
| * | Use correct TCL_LL_MODIFIER for CYGWIN.nijtmans2010-01-291-64/+65
| | | | | | | | | | | | | | | Formatting (all backported from HEAD) Fix gcc 4.4 warning: ignoring return value of ‘write’,
| * | * generic/tcl.h: Bump to 8.5.8 for release.dgp2009-11-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure:
| * | * 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.
| * | Revert last commit which fails to build with msvc2005 and msvc6patthoyts2009-04-291-4/+4
| | |
| * | Fix [Bug 2651823].dkf2009-04-291-4/+4
| | |
| * | * generic/tcl.h: Bump to 8.5.7 for release.dgp2009-04-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure:
| * | * generic/tcl.h: Bump to 8.5.6 for release.core_8_5_6dgp2008-12-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * README: * unix/configure: autoconf-2.59 * win/configure:
| * | * generic/tcl.h: Bump version number to 8.5.6b1 to distinguishdgp2008-10-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.5 and * unix/configure.in: 8.5.6 releases. * unix/tcl.spec: * win/configure.in: * tools/tcl.wse.in: * README * unix/configure: autoconf (2.59) * win/configure:
| * | * generic/tcl.h: Bump to 8.5.5 for release.dgp2008-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
| * | * generic/tcl.h: Bump version number to 8.5.5b1 to distinguishdgp2008-08-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.4 and * unix/configure.in: 8.5.5 releases. * unix/tcl.spec: * win/configure.in: * tools/tcl.wse.in: * README * unix/configure: autoconf (2.59) * win/configure:
| * | * generic/tcl.h: Bump to 8.5.4 for release.dgp2008-08-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
| * | define DLLEXPORT as __attribute__ ((visibility("default"))) for gcc >= 4.0.nijtmans2008-07-221-16/+17
| | | | | | | | | | | | | | | This allows extensions to be compiled with -fvisiblity=hidden and still all symbols decorated with EXPORT will be exported. See: <http://gcc.gnu.org/wiki/Visibility> (backport from trunk tcl.h 1.256)
| * | * generic/tcl.h: Bump to 8.5.3 for release.core_8_5_3dgp2008-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
| * | * generic/tcl.h: Bump version number to 8.5.3b1 to distinguishdgp2008-04-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.2 and * unix/configure.in: 8.5.3 releases. * unix/tcl.spec: * win/configure.in: * README * unix/configure: autoconf (2.59) * win/configure:
* | | [Enh #3159920]: Tcl_ObjPrintf() crashes with bad format specifier.nijtmans2011-01-191-1/+6
| | |
* | | [Bug 3137454]: Tcl CVS HEAD does not build on GCC 3nijtmans2010-12-141-2/+2
| | |
* | | [Bug 3135271] Link error due to hidden symbols (CentOS 4.2)nijtmans2010-12-131-2/+2
| | |
* | | [Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2nijtmans2010-12-101-2/+2
| | |
* | | [Patch 3009403] Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntrynijtmans2010-08-141-4/+4
| | |
* | | 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.
* | | * 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:
* | | Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-13/+1
| | | | | | | | | | | | Eliminate various unnecessary type casts.
* | | Added commentnijtmans2010-04-151-1/+7
| | |
* | | 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.
* | | 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
* | | 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
* | | 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).
* | | - 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.
* | | 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.
* | | 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.
* | | Fix TCL_LL_MODIFIER for Cygwinnijtmans2010-01-131-2/+2
| | | | | | | | | | | | | | | and various other minor CYGWIN compilation problems
* | | Fix up a few stray spaces.dkf2009-12-231-32/+31
| | |
* | | 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.
* | | tcl.h Don't use EXPORT for Tcl_InitStubsnijtmans2009-11-301-3/+3
| | | | | | | | | | | | win/Makefile.in Better dependancies in case of static build.
* | | * 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.