summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclTrace.c: Stop some interference between enter tracesdgp2006-04-111-4/+10
| | | | * tests/trace.test: and enterstep traces. [Bug 1458266]
* * generic/tclPathObj.c: Yet another revised fix for the [Bug 1379287]dgp2006-04-071-5/+12
| | | | * tests/fileSystem.test: family of path normalization bugs.
* * generic/tclRegexp.c (FinalizeRegexp): full reset data tohobbs2006-04-071-1/+7
| | | | indicate that readiness for reinitialization.
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seemsdgp2006-04-061-2/+2
| | | | | | | * tests/indexObj.test: there are extensions that rely on the prior * doc/GetIndex.3: behavior that the empty string cannot succeed as a unique prefix matcher, so I'm restoring Donal Fellow's solution. Added mention of this detail to the documentation. [Bug 1464039]
* * generic/tclPathObj.c: Revised fix for the [Bug 1379287] familydgp2006-04-061-30/+19
| | | | of path normalization bugs.
* * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow emptydgp2006-04-051-7/+3
| | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039]
* Nail [Bug 1464039] by allowing the empty string to be exactly matched bydkf2006-04-051-19/+15
| | | | Tcl_GetIndexFromObj. Also added tests.
* * generic/tclIO.c (ReadChars): Added check and panic andandreas_kupries2006-04-052-2/+87
| | | | | | | | | | | | | | | | | | | | | commentary to a piece of code which relies on BUFFER_PADDING to create enough space at the beginning of each buffer forthe insertion of partial multi-byte data at the beginning of a buffer. To explain why this code is ok, and as precaution if someone twiddled the BUFFER_PADDING into uselessness. * generic/tclIO.c (ReadChars): [SF Tcl Bug 1462248]. Added code temporarily suppress the use of TCL_ENCODING_END set when eof was reached while the buffer we are converting is not truly the last buffer in the queue. together with the Utf bug below it was possible to completely bollox the buffer data structures, eventually crashing Tcl. * generic/tclEncoding.c (UtfToUtfProc): Fixed problem where the function accessed memory beyond the end of the input buffer. When TCL_ENCODING_END is set and the last bytes of the buffer start a multi-byte sequence. This bug contributed to [SF Tcl Bug 1462248].
* * generic/tclExecute.c: remove unused var and silence gcc warningMiguel Sofer2006-03-301-3/+6
|
* * generic/tclPathObj.c: More fixes for path normalization when /../dgp2006-03-291-9/+15
| | | | * tests/fileSystem.test: tries to go beyond root.[Bug 1379287]
* * generic/tclExecute.c: Revised INST_MOD implementation to dodgp2006-03-291-28/+154
| | | | | calculations in native types as much as possible, moving to mp_ints only when necessary.
* Added comment about potential improvement to Tcl_GetBignumAndClearObj.dgp2006-03-291-1/+7
|
* typo in commentdas2006-03-281-2/+2
|
* nativeFilesystemRecord comparisonsvincentdarley2006-03-281-6/+6
|
* * generic/tclExecute.c: Merge INST_MOD computation in with thedgp2006-03-271-2/+2
| | | | | | | | INST_?SHIFT instructions, which also operate only on two integral values. Also corrected flaw that made INST_BITNOT of wide values require mp_int calculations. Also corrected type that missed optimized handling of the tclBooleanType by the TclGetBooleanFromObj macro.
* * generic/tclExecute.c: Merge INST_MOD computation in with thedgp2006-03-271-431/+64
| | | | | | INST_?SHIFT instructions, which also operate only on two integral values. Also corrected flaw that made INST_BITNOT of wide values require mp_int calculations.
* * doc/CrtChannel.3: Added TCL_CHANNEL_VERSION_5, made itandreas_kupries2006-03-274-22/+33
| | | | | | | | | | | | | | * generic/tcl.h: the version where the "truncateProc" * generic/tclIO.c: is defined at, and moved all channel * generic/tclIOGT.c: drivers of Tcl to v5. * generic/tclIORChan.c: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * win/tclWinChan.c: * win/tclWinConsole.c: * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c:
* * generic/tclExecute.c: Corrections to INST_EXPON detection ofdgp2006-03-251-4/+8
| | | | overflow to use mp_int calculations.
* revert most recent tclEncoding.c commit. It is suspected to havedgp2006-03-241-22/+6
| | | | produced a huge slowdown in encoding.test on Windows.
* add missing casts to int that were making VC6 complainKevin B Kenny2006-03-241-3/+3
|
* * generic/tclExecute.c: Revised INST_EXPON implementation to dodgp2006-03-241-190/+122
| | | | | calculations in native types as much as possible, moving to mp_ints only when necessary.
* avoid unused var compiler warningdas2006-03-241-2/+2
|
* * generic/tclExecute.c: Merged INST_EXPON handling in with the otherdgp2006-03-231-91/+68
| | | | binary operators that operate on all number types (INST_ADD, etc.).
* comment adjustmentdgp2006-03-232-3/+3
|
* * generic/tclStrToD.c: One of the branches of AccumulateDecimalDigitdgp2006-03-211-1/+2
| | | | * tests/parseExpr.test: did not. [Bug 1451233]
* * generic/tclInt.decls: implement globbing for HFS creator & typedas2006-03-213-3/+23
| | | | | | | | | * macosx/tclMacOSXFCmd.c: codes and 'hidden' flag, as documented in * tests/macOSXFCmd.test: glob.n; objectified OSType handling in [glob] * unix/tclUnixFile.c: and [file attributes]; fix globbing for hidden files with pattern==NULL arg. [Bug 823329] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs
* fix to two filesystem issuesvincentdarley2006-03-191-31/+28
|
* * generic/tclIOUtil.c (TclGetOpenMode): Added the flag O_APPEND toandreas_kupries2006-03-161-2/+6
| | | | | | | | | the list of POSIX modes used when opening a file for 'a'ppend. This enables the proper automatic seek-to-end-on-write by the OS. See [Bug 680143] for longer discussion. * tests/ioCmd.test (iocmd-13.7.*): Extended the testsuite to check the new handling of 'a'.
* missing statics revealed by 'make checkexports'das2006-03-162-4/+4
|
* * tests/socket.test: Extended the timeout in socket-11.11 from 10andreas_kupries2006-03-161-2/+18
| | | | | | | | | | to 40 seconds to allow for really slow machines. Also extended actual/expected results with value of variable 'done' to make it clearer when a test fails due to a timeout. [Bug 792159]. * generic/tclPipe.c (TclCreatePipeline): Modified the processing of pipebars to fail if the last bar is followed only by redirections. [Bug 768659].
* 90% fix of file writable issues on Windowsvincentdarley2006-03-141-64/+1
|
* * generic/tclEncoding.c: Report error when an escape encodingdgp2006-03-131-6/+22
| | | | is missing one of its sub-encodings [Bug 506653].
* silence a strict aliasing warning from gccrmax2006-03-131-3/+4
|
* * generic/tclProc.c (ObjInterpProcEx):Miguel Sofer2006-03-101-2/+17
| | | | | * tests/apply.test (apply-5.1): fix [apply] error messages so that they quote the lambda expression [Bug 1447355].
* Calls TclpFinalizeSockets() as partvasiljevic2006-03-101-1/+8
| | | | of the TclFinalizeIOSubsystem()
* Added TclpFinalizeSockets() call.vasiljevic2006-03-101-1/+2
|
* Cosmetic touch.vasiljevic2006-03-101-4/+3
|
* missing staticdgp2006-03-101-2/+2
|
* Undo latest commit due to controversy about whether some use casedgp2006-03-091-2/+2
| | | | might exist for a Tcl_Panic that returns.
* * generic/tclPanic.c (Tcl_PanicVA): added an unconditional abortMiguel Sofer2006-03-091-2/+2
| | | | | | at the end, to insure that a panic cannot return even if the actual procedure was overriden by a Tcl_SetPanicProc() call. Bug caught by looking at Coverity's analysis.
* * generic/tclExecute.c: Complete missing bit of TIP 215 implementationdgp2006-03-081-2/+2
| | | | * tests/incr.test:
* * generic/tclBasic.c: Revised handling of TCL_EVAL_* flags todgp2006-03-061-35/+22
| | | | | * tests/parse.test: simplify TclEvalObjvInternal and to correct the auto-loading of alias targets (parse-8.12). [Bug 1444291].
* another stab at fixing 1379287dgp2006-03-041-6/+13
|
* * generic/tclPathObj.c: Revised yesterday's fix for [Bug 1379287]dgp2006-03-031-4/+6
| | | | to work on Windows.
* * generic/tclObj.c: Compatibility support for existing code thatdgp2006-03-031-2/+12
| | | | calls Tcl_GetObjType("boolean").
* * generic/tclPathObj.c: Fix for failed normalization ofdgp2006-03-031-2/+10
| | | | | * tests/fileSystem.test: paths with /../ that lead back to the root of the filesystem, like /foo/.. [Bug 1379287].
* * generic/tclBasic.c: Corrections to be sure that TCL_EVAL_GLOBALdgp2006-02-281-1/+9
| | | | | | | * tests/namespace.test: evaluations act the same as [uplevel #0] * tests/parse.test: evaluations, even when execution traces or * tests/trace.test: invocations of [::unknown] are present. [Bug 1439836].
* * generic/tclBasic.c: Corrected a few bugs in how [namespace unknown]dgp2006-02-221-51/+42
| | | | * tests/namespace.test: interacts with TCL_EVAL_* flags. [Patch 958222]
* * generic/tclIORChan.c: Revised error message generation and handlingdgp2006-02-171-63/+73
| | | | | * tests/ioCmd.test: of exceptional return codes in the channel reflection layer. [Bug 1372348].
* * generic/tclIndexObj.c: Disallow the "ambiguous" error messagedgp2006-02-161-3/+3
| | | | | * tests/indexObj.test: when TCL_EXACT matching is requested. * tests/ioCmd.test: