summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Integrated fix for Tcl Bug #770053 from core-8-4-branchvasiljevic2004-06-222-3/+97
|
* Make [Bug 975895] less likely to be hitdkf2004-06-211-257/+274
|
* * generic/tclEncoding.c: Static TclFindEncodings -> FindEncodings.dgp2004-06-183-15/+19
| | | | | | | * generic/tclInt.h: Updated TclpFindExecutable() so that failed * generic/tclUtil.c: attempts to find the executable are saved * unix/tclUnixFile.c: just as successful finds are. [Patch 966053] * unix/tclUnixTest.c:
* Fixed [Bug 886231] properly this time rather than with a broken version thatdkf2004-06-182-63/+69
| | | | breaks the core completely. :^}
* Fix tclWinInit.c for KBK, adding comments as I go. :^)dkf2004-06-182-16/+168
|
* Updated comments to agree with recent revisions.dgp2004-06-171-7/+8
|
* Reverted temporary changedgp2004-06-171-2/+2
|
* * generic/tclObj.c: Added missing space in panic message.dgp2004-06-171-2/+2
|
* temporarily removed unset of ::tclDefaultLibrary for sake of testing.dgp2004-06-171-2/+2
|
* * win/Makefile.in: Corrected compilation flags for tclPkgConfig.cKevin B Kenny2004-06-141-4/+2
| | | | | | | so that it doesn't require Stubs. * generic/tclBasic.c (Tcl_CreateInterp): Removed comment stating that TclInitEmbeddedConfigurationInformation needs Stubs; with the change above, the comment is now erroneous.
* * doc/Encoding.3: Removed bogus claims about tcl_libPath.dgp2004-06-111-16/+23
| | | | | | | | | | | | | | * generic/tclInterp.c (Tcl_Init): Stopped setting the tcl_libPath variable. [tclInit] can get all its directories without it. * tests/unixInit.test: Modified test code that made use of tcl_libPath variable. * unix/tclUnixInit.c: Stopped setting the tclDefaultLibrary variable, execept on the Mac OS X platform with HAVE_CFBUNDLE. In that configuration we should seek some way to make use of the TIP 59 facilities and get rid of that usage of tclDefaultLibrary as well.
* * generic/tclInterp.c: Updated [tclInit] to make $env(TCL_LIBRARY) andgp2004-06-111-2/+6
| | | | | absolute path, and to include the scriptdir,runtime configuration value on the search path for init.tcl.
* Restored Eng. Manual Styledgp2004-06-111-66/+66
|
* * unix/tclUnixInit.c: The routines Tcl_Init() and TclSourceRCFile()dgp2004-06-113-115/+198
| | | | | | | | | | * win/tclWinInit.c: had identical implementations for both win and * generic/tclInterp.c: unix. Moved to a single generic implementation. * generic/tclMain.c: * library/init.tcl: * generic/tclInitScript.h (removed): * unix/Makefile.in: * win/tcl.dsp:
* * unix/configure.in: Updated TCL_PACKAGE_PATH value todgp2004-06-111-9/+10
| | | | | | | | | | | | * win/configure.in: handle --libdir configuration. * unix/configure.in: autoconf-2.57 * win/configure.in: * generic/tclBasic.c (Tcl_CreateInterp): Moved call to TclInitEmbeddedConfigurationInformation() earlier in Tcl_CreateInterp() so that other parts of interp creation and initialization may access and use the config values.
* Fixed Tcl_FSChdir not to forcefully update private cwd cached copy.vasiljevic2004-06-101-2/+16
| | | | | This fixes the problem of [cwd] reporting relative file paths under certain cirumstances.
* * generic/tclPathObj.c: Corrected [file tail] results when operatingdgp2004-06-101-1/+16
| | | | on a path produced by TclNewFSPathObj(). [Bug 970529]
* Partially corrected [Bug 932314]vasiljevic2004-06-091-5/+12
|
* * generic/tclCompile.c:Miguel Sofer2004-06-082-5/+9
| | | | * generic/tclExecute.c: handle warning [Bug 969066]
* Silence compiler warnings.dgp2004-06-081-2/+3
|
* Fix variable usage warning. [Bug 969068]dkf2004-06-081-5/+3
|
* Re-commit after a `make genstubs` on a unix system, to restore unix line endingsdgp2004-06-075-9505/+9505
|
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-057-9498/+9519
| | | | | | | | | | | | | | | | | | | | build works again. * generic/tclDecls.h: Changes to the tests for * generic/tclInt.decls: clock frequency in * generic/tclIntDecls.h: Tcl_WinTime * generic/tclIntPlatDecls.h: so that any clock frequency * generic/tclPlatDecls.h: is accepted provided that * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a * win/tclWinTime.c (Tcl_GetTime): 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]
* * generic/tcl.h: Restored #include <stdio.h> to tcl.h,dgp2004-06-041-1/+12
| | | | | | rejecting the "fix" for "Bug" 945570. Tcl_FSSeek() needs the values of SEEK_SET, etc. and too many extensions rely on tcl.h providing stdio.h for them.
* * generic/tclIO.c (Tcl_SetChannelOption): Took out the rangedavygrvy2004-06-011-9/+1
| | | | | | | verification on -buffersize so original behavior for silently ignoring bad settings is returned. The only difference now is the behavior difference between atoi and Tcl_GetInt which gains the ability to error for 'not a number' and can understand hexidecimal.
* * generic/tclIO.c (Tcl_SetChannelOption): Invalid settingsdavygrvy2004-06-011-3/+14
| | | | | | for -buffersize weren't being reported as errors and were blindly ignored. Now reports conversion errors to an int and checks ranges for validity. atoi() swapped for Tcl_GetInt().
* Limits documentation and style improvementsdkf2004-05-303-46/+496
| | | | Added C docs, cleaned up C code, added note on behaviour of limited master interps
* better (?) #ifdeferry for the last fixMiguel Sofer2004-05-272-2/+12
|
* * generic/tclExecute.c:Miguel Sofer2004-05-272-7/+9
| | | | | * generic/tclVar.c: using (ptrdiff_t) instead of (int) casting to correct compiler warnings [Bug 961657], reported by Bob Techentin.
* Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner.dkf2004-05-275-26/+36
| | | | Also added support for [FRQ 951168] but left that switched off by default.
* Prototype fix for [Bug 960410] that tries to move hash table cleanup somewheredkf2004-05-251-9/+12
| | | | more reliable.
* * generic/tclNamesp.c (Tcl_FindNamespaceVar):Miguel Sofer2004-05-252-17/+22
| | | | | | | | | | | | | | | | * tests/namespace.test (namespace-17.10-12): reverted commit of 2004-05-23 and removed the tests, as it interferes with the varname resolver and there are apps that break (AlphaTk). A fix will have to wait for Tcl9. * generic/tclVar.c: Caching of namespace variables disabled: no simple way was found to avoid interfering with the resolver's idea of variable existence. A cached varName may keep a variable's name in the namespace's hash table, which is the resolver's criterion for existence. * tests/namespace.c (namespace-17.10): testing for interference between varname caching and name resolver.
* Finish fixing comments for [Bug 848440]dkf2004-05-252-5/+6
|
* * generic/tclExecute.c (VerifyExprObjType): use GET_WIDE_OR_INT tohobbs2004-05-251-2/+3
| | | | | | properly have tclIntType used for smaller values. This corrects TclX bug 896727 and any other 3rd party extension that created math functions but was not yet WIDE_INT aware in them.
* Fixed [Bug 959193] which is apparently a word-size issue.dkf2004-05-241-2/+2
|
* Fix in commentsMiguel Sofer2004-05-231-10/+7
|
* * generic/tclNamesp.c (Tcl_FindNamespaceVar): [Bug 959052] fixed,Miguel Sofer2004-05-232-18/+23
| | | | | | | insuring that no "zombie" variables are found. * generic/tclVar.c (TclLookupSimpleVar): comments re [Bug 736729] (predecessor of [Bug 959052]) removed. * tests/namespace.test: added tests 17.10-12
* * generic/tclVar.c (TclObjLookupVar, TclObjUnsetVar2): fix for newMiguel Sofer2004-05-221-12/+30
| | | | | | | | (in tcl8.4) exteriorisations of [Bug 736729] due to the use of tclNsVarNameType obj types. Reenabling the use of this objType ("VAR ref absolute" benchmark down to 66 ms, from 230). Added comments in TclLookupSimpleVar explaining my current understanding of [Bug 736729].
* * generic/tclVar.c: fix for [Bug 735335]. The use ofMiguel Sofer2004-05-221-21/+24
| | | | | tclNsVarNameType objs is still disabled, pending resolution of [Bug 736729].
* One more fix; this time it really does let this file build...dkf2004-05-211-9/+15
|
* Make TCL_COMPILE_DEBUG path through TEBC work...dkf2004-05-211-7/+7
|
* Variables should only ever be declarated at the start of a block...dkf2004-05-211-3/+3
|
* 2004-05-21 Miguel Sofer <msofer@users.sf.net>Miguel Sofer2004-05-211-1114/+1275
| | | | | | | | | | * generic/tclExecute.c (TclExecuteByteCode): reorganised TEBC automatic variables, defining them in tight blocks instead of at the function level. This has three purposes: - it simplifies the analysis of individual instructions - it is preliminary work to the non-recursive engine - it allows a better register allocation by the optimiser; under gcc3.3, this results in up to 10% runtime in some tests
* Delete limit callbacks properly when the interpreters involved are deleted.dkf2004-05-203-4/+91
|
* Enable a test of limiting tight loops.dkf2004-05-191-3/+3
|
* * tclIO.c: Fixed [SF Tcl Bug 943274]. This is the same problem asandreas_kupries2004-05-192-7/+106
| | | | | | | | | | | | | * tclIO.h: [SF Tcl Bug 462317], see ChangeLog entry 2001-09-26. The fix done at that time is incomplete. It is possible to get around it if the actual read operation is defered and not executed in the event handler itself. Instead of tracking if we are in an read caused by a synthesized fileevent we now track if the OS has delivered a true event = actual data and bypass the driver if a read finds that there is no actual data waiting. The flag is cleared by a short or full read.
* fix to 'file dirname' and to fs refCount documentationvincentdarley2004-05-191-3/+28
|
* Fixed get.test so it really tests Tcl_GetInt() and uses constraints properly.dkf2004-05-191-1/+35
|
* Stop a compiler warning.dkf2004-05-181-1/+2
|
* Tests of limit-exceeded callbacks and make sure that those callbacks can removedkf2004-05-181-3/+6
| | | | the limits if they see fit (as well as extending them).