summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/TclUtf.c (Tcl_UniCharNcasecmp): Corrected failure todgp2003-03-063-6/+49
| | | | | * tests/utf.test (utf-25.*): properly compare Unicode strings of different case in a case insensitive manner. [Bug 699042]
* Replaced a non-portable 'bzero' with a portable 'memset'. [Bug 698442].Kevin B Kenny2003-03-062-2/+8
|
* * generic/tclIO.c (Tcl_Seek, Tcl_OutputBuffered):mdejong2003-03-063-36/+37
| | | | | | | | | | | | | | | | | If there is data buffered in the statePtr->curOutPtr member then set the BUFFER_READY flag in Tcl_Seek. This is needed so that the next call to FlushChannel will write any buffered bytes before doing the seek. The existing code would set the BUFFER_READY flag inside the Tcl_OutputBuffered function. This was a programming error made when Tcl_OutputBuffered was originally created in CVS revision 1.35. The setting of the BUFFER_READY flag should not have been included in the Tcl_OutputBuffered function. * generic/tclTest.c (TestChannelCmd): Use the Tcl_InputBuffered and Tcl_OutputBuffered util methods to query the amount of buffered input and output.
* * generic/tclIO.c (Tcl_Flush): Compare themdejong2003-03-062-2/+14
| | | | | | | | | | nextAdded member of the ChannelBuffer to the nextRemoved member to determine if any output has been buffered. The previous check against the value 0 seems to have just been a coding error. See other methods like Tcl_OutputBuffered for examples where nextAdded is compared to nextRemoved to find the number of bytes buffered.
* * generic/tclIO.c (Tcl_GetsObj): Check thatmdejong2003-03-062-2/+13
| | | | | | | | | | the eol pointer has not gone past the end of the string when in auto translation mode and the INPUT_SAW_CR flag is set. The previous code worked because the end of string value \0 was being compared to \n, this patch just skips that pointless check.
* * generic/tclIO.c (WriteBytes, WriteChars,mdejong2003-03-062-4/+25
| | | | | | | | | Tcl_GetsObj, ReadBytes): Rework calls to TranslateOutputEOL to make it clear that a boolean value is being returned. Add some comments in an effort to make the code more clear. This patch makes no functional changes.
* * generic/tclIO.c (Tcl_SetChannelOption):mdejong2003-03-063-7/+19
| | | | | | | | | | | | | Invoke the Tcl_SetChannelBufferSize method as a result of changing the -buffersize option to fconfigure. The previous implementation used some inlined code that reset the buffer size to the default size instead of ignoring the request as implemented in Tcl_SetChannelBufferSize. * tests/io.test: Update test case so that it actually checks the implementation of Tcl_SetChannelBufferSize.
* no messagedavygrvy2003-03-061-0/+4
|
* updated default tcl version to 8.5davygrvy2003-03-061-2/+2
|
* The [switch] command is now bytecode compiled, at least in the most commondkf2003-03-056-29/+565
| | | | | case. There's room for improvement in the future, of course. [Patch #644819] Also adds another macro to help with jump offset fixups.
* typosdgp2003-03-041-2/+2
|
* * README: Bumped version number ofdgp2003-03-0421-104/+129
| | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: Tcl to 8.5a0. * library.init.tcl: * mac/README: * macosx/Tcl.pbproj/project.pbxproc: * tests/basic.test: * tools/configure.in: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/tcl.m4: * tools/configure: autoconf * unix/configure: * win/configure:
* Mac OS Classic specific fixes:core_8_4_2das2003-03-036-34/+125
| | | | | | | | | | | | | * generic/tclIOUtil.c (TclNewFSPathObj): on TCL_PLATFORM_MAC, skip potential directory separator at the beginning of addStrRep. * mac/tclMacChan.c (OpenFileChannel, CommonWatch): followup fixes to cut and splice implementation for file channels. * mac/tclMacFile.c (TclpUtime): pass native path to utime(). * mac/tclMacFile.c (TclpObjLink): correctly implemented creation of alias files via new static proc CreateAliasFile(). * mac/tclMacPort.h: define S_ISLNK macro to fix stat'ing of links. * mac/tclMacUtil.c (FSpLocationFromPathAlias): fix to enable stat'ing of broken links.
* mark Mar 3 date for 8.4.2hobbs2003-03-032-2/+6
|
* Corrected a Makefile.vc bug introduced by the change of DBGX from Kevin B Kenny2003-03-031-3/+11
| | | | d to g in rules.vc.
* Corrected a Makefile.vc bug introduced by the change of DBGX from Kevin B Kenny2003-03-031-0/+4
| | | | d to g in rules.vc.
* note bump in dde versiondgp2003-03-031-1/+2
|
* * library/dde/pkgIndex.tcl: dde bumped to version 1.2.1 fordgp2003-03-036-9/+19
| | | | | | | | | * win/tclWinDde.c: bundled release with Tcl 8.4.2 * library/reg/pkgIndex.tcl: registry bumped to version 1.1.1 for * win/tclWinReg.c: bundled release with Tcl 8.4.2 * library/opt/pkgIndex.tcl: updated package index to version 0.4.4
* * win/configure:hobbs2003-03-014-9/+16
| | | | | | * win/configure.in: check for 'g' for debug build type, not 'd'. * win/rules.vc (DBGX): correct to use 'g' for nmake win makefile to match the cygwin makefile for debug builds. [Bug #635107]
* Added a couple more change lines, and fixed one date.Kevin B Kenny2003-02-281-2/+8
|
* updated changes file for Tcl 8.4.2 releasedgp2003-02-282-4/+85
|
* file documentation fixvincentdarley2003-02-282-2/+6
|
* see ChangeLoghobbs2003-02-271-7/+15
|
* * generic/tclIOUtil.c (MakeFsPathFromRelative): removed dead codehobbs2003-02-271-6/+2
| | | | check of typePtr (darley).
* * tests/winTime.test: added note about PCI hardware dependencyhobbs2003-02-271-1/+3
| | | | issues with high performance clock.
* Stop [lsearch -start 0 {} x] from crashing. [Bug #694232]dkf2003-02-273-4/+15
|
* Fixed a bug in TclpSetVeriables: initialize dwUserNameLen to avoid crash in ↵chengyemao2003-02-271-0/+7
| | | | calling GetUserName
* Fixed a bug in TclpSetVeriables: initialize dwUserNameLen to avoid crash in ↵chengyemao2003-02-271-2/+2
| | | | calling GetUserName
* * generic/tclCmdMZ.c (TraceCommandProc): Fix mem leak whenhobbs2003-02-272-2/+13
| | | | deleting a command that had trace on it. [Bug #693564] (sofer)
* * doc/pkgMkIndex.n: Modified [pkg_mkIndex] to use -nocase matchingdgp2003-02-253-4/+12
| | | | | | * library/package.tcl: of -load patterns, to better accomodate common user errors due to confusion between [package names] names and [info loaded] names.
* * tests/pid.test: See below [Bug #678412].andreas_kupries2003-02-253-12/+16
| | | | * tests/io.test: Made more robust against spaces in paths [Bug #678400].
* * tests/execute.test: cleaning up testobj's at the end, to avoidMiguel Sofer2003-02-252-1/+10
| | | | leak warning by valgrind.
* Fix for Bug #571002vasiljevic2003-02-222-2/+12
|
* fixed typodas2003-02-221-1/+1
|
* Stopped sign-bit propagation in [binary scan] of wide values. [Bug #690774]dkf2003-02-213-21/+35
|
* * mac/tclMacChan.c (TclpCutFileChannel, TclpSpliceFileChannel):das2003-02-212-1/+97
| | | | Implemented missing cut and splice procs for file channels.
* fixed very old typosdas2003-02-211-2/+2
|
* * unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() todas2003-02-211-1/+5
| | | | | create new processes, as recommended by to Apple (vfork can be up to 100 times faster thank fork on macosx).
* * library/package.tcl (tclPkgUnknown): Minor performance tweaksdgp2003-02-212-13/+54
| | | | | to reduce the number of [file] invocations. Meant to improve startup times, at least a little bit. [Patch 687906]
* * unix/tcl.m4:das2003-02-213-2/+10
| | | | | | | * unix/tclUnixPipe.c: (macosx) use vfork() instead of fork() to create new processes, as recommended by to Apple (vfork can be up to 100 times faster thank fork on macosx). * unix/configure: regen.
* * generic/tclEncoding.c (LoadTableEncoding):hobbs2003-02-218-3/+230
| | | | | | | | | * library/encoding/cp932.enc: Correct jis round-trip encoding * library/encoding/euc-jp.enc: by adding 'R' type to .enc files. * library/encoding/iso2022-jp.enc: [Patch #689341] (koboyasi, taguchi) * library/encoding/jis0208.enc: * library/encoding/shiftjis.enc: * tests/encoding.test:
* * unix/tclUnixChan.c (Tcl_MakeTcpClientChannel): addhobbs2003-02-211-6/+33
| | | | | | MakeTcpClientChannelMode that takes actual mode flags to avoid hang on OS X (may be OS X bug, but patch works x-plat). [Bug #689835] (steffen)
* Typo fix [Bug #688943]dkf2003-02-202-2/+6
|
* * unix/tclUnixThrd.c (TclpReaddir):hobbs2003-02-203-5/+18
| | | | | | * unix/tclUnixPort.h: update to Bug 689100 patch to ensure that there is a defined value of MAXNAMLEN (aka NAME_MAX in POSIX) and that we have some buffer allocated.
* added missing bug #das2003-02-191-1/+1
|
* * generic/tclStringObj.c: restored Tcl_SetObjLength() side-effectdas2003-02-195-80/+227
| | | | | | | | | | | | | | | | | | | of always invalidating unicode rep (if the obj has a string rep). Added hasUnicode flag to String struct, allows decoupling of validity of unicode rep from buffer size allocated to it (improves memory allocation efficiency). [Bugs #686782, #671138, #635200] * macosx/Tcl.pbproj/project.pbxproj: * macosx/Makefile: reworked embedded build to no longer require relinking but to use install_name_tool instead to change the install_names for embedded frameworks. * macosx/Tcl.pbproj/project.pbxproj: preserve mod dates when running 'make install' to build framework (avoids bogus rebuilds of dependent frameworks because tcl headers appear changed). * tests/ioCmd.test (iocmd-1.8): fix failure when system encoding is utf-8: use iso8859-1 encoding explicitly.
* * generic/tclCompile.c (TclCompileExprWords): remove unusedMiguel Sofer2003-02-195-11/+17
| | | | | | | | | variable "range" [Bug 664743] * generic/tclExecute.c (ExprSrandFunc): remove unused variable "result" [Bug 664743] * generic/tclStringObj.c (UpdateStringOfString): remove unused variable "length" [Bug 664751] * tests/execute.test (execute-7.30): fix for [Bug 664775]
* * unix/tcl.m4: [Bug #651811] Added definition of _XOPEN_SOURCE andandreas_kupries2003-02-193-40/+56
| | | | | | | | linkage of 'xnet' library to HP 11 branch. This kills a lot of socket-related failures in the testsuite when Tcl was compiled in 64 bit mode (both PA-RISC 2.0W, and IA 64). * unix/configure: Regenerated.
* * unix/tclUnixThrd.c (TclpReaddir): reduce size of name string inhobbs2003-02-192-3/+12
| | | | tsd to NAME_MAX instead of PATH_MAX. [Bug #689100] (waters)
* (HaveVersion): correctly decl statichobbs2003-02-191-2/+2
|