summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * Updated interfaces of generic/tclVar.c accordingdgp2002-03-2015-80/+108
| | | | to TIP 27. In particular, the "part2" arguments were CONSTified.
* Fixed buffer overrun reported in 530320; luckily it is not likely todkf2002-03-153-4/+18
| | | | | be exploitable in any meaningful way, but crashing Tcl instead of triggering an error still isn't good.
* * win/configure: Regen.mdejong2002-03-156-30/+306
| | | | | | | | | | | | | | * win/configure.in: Add configure time test for SEH support in the compiler. * win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace, _except_checkstackspace_handler): * win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (ESP, EBP, DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Implement SEH support under gcc using inline asm. Tcl and Tk should now compile with Mingw 1.1. [Patch 525746]
* * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Handlemdejong2002-03-142-3/+12
| | | | | | | | an SEH exception with EXCEPTION_EXECUTE_HANDLER instead of restarting the faulting instruction with EXCEPTION_CONTINUE_EXECUTION. Bug 466102 provides an example of how restarting could send Tcl into an infinite loop. [Patch 525746]
* * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, DoDeleteFile,mdejong2002-03-122-59/+42
| | | | | | DoRemoveJustDirectory): Make sure we don't pass NULL or "" as a path name to Win32 API functions since this was crashing under Windows 98.
* * Bumped tcltest to 2.0.2dgp2002-03-113-3/+8
|
* * library/tcltest/tcltest.tcl (getMatchingFiles): Passmdejong2002-03-112-3/+10
| | | | | a proper list to foreach to avoid munging a Windows patch like D:\Foo\Bar into D:FooBar before the glob.
* * generic/tclEncoding.c: Fix typo in comment.mdejong2002-03-113-18/+29
| | | | | | | | * generic/tclIO.c (DoReadChars, ReadBytes, ReadChars): Use NULL value instead of pointer set to NULL to make things more clear. Reorder arguments so that they match the function signatures. Cleanup little typos and add more descriptive comment.
* Formatting error in .AP macrodgp2002-03-091-2/+2
|
* * win/README: Update to indicate that Mingw 1.1 ismdejong2002-03-092-13/+36
| | | | | | required to build Tcl. Add section describing new msys based build process. Update Cygwin build instructions so users know where to find Mingw 1.1.
* (DoCopyFile): correctly set retval to TCL_OKhobbs2002-03-082-2/+6
|
* * win/tclWin32Dll.c (TclpCheckStackSpace):mdejong2002-03-083-14/+42
| | | | | | | * win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Replace hard coded constants with Win32 symbolic names. Move control flow statements out of __try blocks since the documentation indicates it is frowned upon.
* * Added the [interp recursionlimit] command todgp2002-03-075-79/+662
| | | | | set/query the recursion limit of an interpreter. Proposal and implementation from Stephen Trier. [TIP 87, Patch 522849]
* Bumped patchlevel; might need changing in the future, but it makes lifedkf2002-03-068-14/+22
| | | | easier for now.
* tclInt.h: restoring correct operation ordering in TclDecrRefCountMiguel Sofer2002-03-062-13/+19
| | | | macro [Bug 524802]
* TIP#81 implementation, tests and docsdkf2002-03-064-169/+399
|
* adjust 8.4a4 release tagcore_8_4_a4hobbs2002-03-051-1/+13
|
* * unix/tclUnixChan.c: initial remedy for [Bug #525783] flushhobbs2002-03-051-4/+23
| | | | | | problem introduced by TIP #35. This may not satisfy true serial channels, but it restores the correct flushing of std* channels on exit.
* fixed URL refshobbs2002-03-052-5/+5
|
* added --enable-langinfo dochobbs2002-03-051-1/+6
|
* Also added the MSVC++ project files to dist target. I prefer not to use them,davygrvy2002-03-051-1/+3
| | | | but people might find them convenient.
* Added win/rules.vc and win/coffbase.txt to dist target needed by makefile.vcdavygrvy2002-03-051-1/+6
|
* Removed out-of-date reference to patches.dgp2002-03-051-10/+8
|
* 8.4a4 tagged for releasehobbs2002-03-041-0/+11
|
* updated to use www.tcl.tk URLhobbs2002-03-045-27/+27
|
* added older ChangeLogs to dist targethobbs2002-03-041-2/+3
|
* update for 8.4a4 docshobbs2002-03-041-0/+10
|
* updated changeshobbs2002-03-041-23/+32
|
* * tests/io.test:hobbs2002-03-044-23/+82
| | | | | | | | | * tests/encoding.test: corrected iso2022 encoding results. added encoding-24.* * generic/tclEncoding.c (EscapeFromUtfProc): corrected output of escape codes as per RFC 1468. [Patch #474358] (taguchi) (TclFinalizeEncodingSubsystem): corrected potential double-free when encodings were finalized on exit. [Bug #219314, #524674]
* corrected iso2022 return encoding escapehobbs2002-03-021-2/+2
|
* * tests/encoding.test: added encoding-23.* testshobbs2002-03-023-24/+100
| | | | | | | * generic/tclIO.c (FilterInputBytes): reset the TCL_ENCODING_START flags in the ChannelState when using 'gets'. [Bug #523988] Also reduced the value of ENCODING_LINESIZE from 30 to 20 as this seems to improve the performance of 'gets' according to tclbench.
* * library/encoding/iso2022-jp.enc:hobbs2002-03-024-8/+4
| | | | | | | * library/encoding/iso2022.enc: * tools/encoding/iso2022-jp.esc: * tools/encoding/iso2022.esc: gave <ESC>$B precedence over <ESC>$@, based on comments (point 1) in [Bug #219283] (rfc 1468)
* updated changes file for 8.4a4 releasedgp2002-03-011-2/+30
|
* see ChangeLoghobbs2002-03-011-0/+11
|
* couple extra testshobbs2002-03-011-1/+11
|
* * generic/tclCmdMZ.c (TraceCommandProc): ensure that TraceCommandInfohobbs2002-03-011-2/+6
| | | | | structure was also deleted when a command was deleted to prevent a mem leak.
* * generic/tclBasic.c (Tcl_CreateObjTrace): set tracePtr->flags ↵hobbs2002-03-011-1/+2
| | | | correctly.
* * generic/tclTimer.c (TimerExitProc): remove remaining events inhobbs2002-03-011-2/+14
| | | | tls on thread exit.
* generic/tclNamesp.c: optimisation of namespace lookups [Patch 458872]Miguel Sofer2002-02-282-6/+32
|
* Replaced a few direct stack accesses with the POP_OBJECT() macro [Bug 507181]Miguel Sofer2002-02-282-15/+18
|
* * doc/GetIndex.3:dgp2002-02-285-12/+27
| | | | | | | | | | | * generic/tcl.decls (Tcl_GetIndexFromObjStruct): * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Revised the prototype of the Tcl_GetIndexFromObjStruct to take its struct table as a (CONST VOID *) argument, better describing what it is, maintaining source compatibility, and adding CONST correctness according to TIP 27. Thanks to Joe English for an elegant solution. [Bug 520304] * generic/tclDecls.h: make genstubs
* * generic/tclMain.c (Tcl_Main,StdinProc): Corrected some referencedgp2002-02-282-1/+32
| | | | | count management errors on the interactive commandPtr Tcl_Obj found by Purify. Thanks to Jeff Hobbs for the report and assistance.
* mem leak fixeshobbs2002-02-281-0/+9
|
* * generic/tclTest.c (TestStatProc[123]): correct harmless UMRs.hobbs2002-02-281-1/+4
|
* * generic/tclLink.c (Tcl_LinkVar): correct mem leak in error case.hobbs2002-02-281-2/+5
|
* * generic/tclBasic.c (Tcl_EvalTokensStandard): corrected mem leakhobbs2002-02-281-5/+6
| | | | in error case.
* * tests/socket.test (2.7): Accepted and applied patch for Tcl SFandreas_kupries2002-02-272-3/+7
| | | | | bug #523470 provided by Don Porter <dgp@users.sourceforge.net> to avoid timing problems in that test.
* * unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonizeandreas_kupries2002-02-272-11/+28
| | | | | | | | | | "/dev/tty" (by name) and to not handle it as tty / serial line. This is the controlling terminal and is special. Setting it into raw mode as is done for other tty's is a bad idea. This is a hackish fix for expect SGF Bug #520624. The fix has limitation: Tcl_MakeFileChannel handles tty's specially too, but is unable to recognize /dev/tty as it only gets a file descriptor, and no name for it.
* see ChangeLoghobbs2002-02-271-0/+2
|
* reversed accidental commit of unfinished sourceshobbs2002-02-273-990/+34
|