summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclIOUtil.c: Changed default configuration todgp2006-06-218-158/+78
| | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: #undef USE_OBSOLETE_FS_HOOKS which disables * generic/tclTest.c: access to the Tcl 8.3 internal routines for hooking into filesystem operations. Everyone ought to have migrated to Tcl_Filesystems by now. ***POTENTIAL INCOMPATIBILITY*** for any code still stuck in the pre-Tcl_Filesystem era. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclStrToD.c: Removed dead code that permitted disabling of recognition of the new 0b and 0o numeric formats. * generic/tclExecute.c: Removed dead code that implemented alternative * generic/tclObj.c: design where numeric values did not automatically narrow to the smallest Tcl_ObjType required to hold them.
* * generic/tclCmdAH.c: Removed dead code that was old implementationdgp2006-06-201-484/+1
| | | | of [format].
* typodgp2006-06-161-2/+2
|
* * generic/tcl.h (Tcl_DecrRefCount): use if/else construct to allowhobbs2006-05-301-2/+5
| | | | placement in unbraced outer if/else conditions. (jcw)
* Silence compiler warning.dgp2006-05-151-2/+3
|
* * generic/tclProc.c (ProcCompileProc): When a bump of the compiledgp2006-05-131-5/+83
| | | | | | | | epoch forces the re-compile of a proc body, take care not to overwrite any Proc struct that may be referred to on the active call stack. This fixes [Bug 148218]. Note that the fix will not be effective for code that calls the private routine TclProcCompileProc() directly.
* * generic/tclEvent.c (HandleBgErrors): fix leak. [Coverity issue 86]das2006-05-121-1/+2
|
* * generic/tclMain.c (Tcl_Main): Corrected flaw that requireddgp2006-05-051-111/+111
| | | | | | * tests/main.test: (Tcl_Main-4.5): processing of one interactive command before passing control to the loop routine registered with Tcl_SetMainLoop() [Bug 1481986].
* * README: Bump version number to 8.5a5dgp2006-05-041-3/+3
| | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclBasic.c (ExprSrandFunc): Restore acceptance of wide/bigdgp2006-05-041-4/+15
| | | | * doc/mathfunc.n: integer values by srand() [Bug 1480509].
* * generic/tclBinary.c: Revised the handling of the Q and q formatdgp2006-04-263-12/+81
| | | | | | * generic/tclInt.h: specifiers for [binary] to account for the * generic/tclStrToD.c: "middle endian" floating point format used in Nokia N770.
* * doc/DoubleObj.3: More doc updates for TIP 237.dgp2006-04-251-1/+2
| | | | | | | | * doc/scan.n: * generic/tclScan.c: [scan $s %u] is documented to accept only * tests/scan.test: decimal formatted integers. Fixed code to match.
* fix for Martin Lemburg's DST conversion bug.Kevin B Kenny2006-04-191-2/+65
| | | | http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/9a8b15a4dfc0b7a0
* Fix [1376892]dkf2006-04-121-1/+86
|
* * 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
|