summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tclTest.c fixvincentdarley2002-02-012-2/+7
|
* make mklinks after recent doc additions to FileSystem.3dgp2002-01-311-0/+6
|
* * win/tclWinFCmd.c: TIP 27: Applied patch fixing CONST warnings onuid375472002-01-312-13/+21
| | | | behalf of Don Porter <dgp@users.sourceforge.net>.
* * For each interface identified in thedgp2002-01-315-39/+59
| | | | | | | | | | TIP 27 changes below as a POTENTIAL INCOMPATIBILITY, the source of the incompatibility has been parameterized so that it can be removed. When compiling extension code against the Tcl header files, use the compiler flag -DUSE_NON_CONST to remove the irresolvable source incompatibilities introduced by the TIP 27 changes. Resolvable changes are left for extension authors to resolve.
* docsvincentdarley2002-01-302-2/+34
|
* * tests/regexpComp.test:hobbs2002-01-303-30/+91
| | | | | * generic/tclCompCmds.c (TclCompileRegexpCmd): enhanced to support -nocase and -- options.
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-293-8/+72
| | | | | | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC, TCL_STUB_LIB_SPEC, and TCL_STUB_LIB_PATH to the values of TCL_BUILD_LIB_SPEC, TCL_BUILD_STUB_LIB_SPEC, and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh is loaded from the build directory. A Tcl extension should make use of the non-build versions of these variables since they will work in both cases. This modification was described in TIP 34.
* * win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey)hobbs2002-01-292-32/+33
| | | | | (DeleteKey,GetKeyNames,GetType,GetValue,OpenSubKey,SetValue): redid the CONSTification as previous changes caused failing tests.
* updated error-1.3 result that changed with string bc correctionhobbs2002-01-291-5/+3
|
* * tests/regexpComp.test (new):hobbs2002-01-295-24/+919
| | | | | | | | | | | | | * generic/tclInt.h: * generic/tclBasic.c: added TclCompileRegexpCmd entry * generic/tclCompCmds.c (TclCompileStringCmd): corrected to return TCL_OUT_LINE_COMPILE instead of TCL_ERROR for parsing errors, so it only throws the error for runtime compile, in case the user modifies 'string'. (TclCompileRegexpCmd): first try at a byte-compiled regexp command. It handles static strings and ^$ bounded static strings. (TclCompileAppendCmd): made TclPushVarName call always use TCL_CREATE_VAR as numWords is always > 2 at that point.
* Corportation -> Corporation sp fixhobbs2002-01-294-8/+8
|
* * generic/tclExecute.c (TclExecuteByteCode:INST_LIST): correcthobbs2002-01-291-3/+3
| | | | possibly dangerous decr in macro call.
* win/tclWinInit.c (TclpFindVariable): CONSTification touch-uphobbs2002-01-291-3/+4
|
* * win/tclWinReg.c (OpenSubKey): corrected bug introduced inhobbs2002-01-291-4/+4
| | | | CONSTification that dropped pointer reference.
* * ChangeLog.2000 (new file):hobbs2002-01-292-2587/+2593
| | | | | * ChangeLog: broke changes from 2000 into ChangeLog.2000 to reduce size of the main ChangeLog.
* no messagedavygrvy2002-01-281-0/+6
|
* * generic/tclPlatDecls.h: Added preprocessor logic to force adavygrvy2002-01-281-4/+6
| | | | | typedef of TCHAR when __STDC__ is defined when using the uncommon -Za compiler switch with the microsoft compiler.
* * Documented global namespace context for script evaluationdgp2002-01-272-3/+10
| | | | by [package require].
* * generic/tclInt.decls:das2002-01-2712-71/+98
| | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: * mac/tclMacChan.c: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacLoad.c: * mac/tclMacResource.c: * mac/tclMacSock.c: TIP 27 CONSTification induced changes * tests/event.test: * tests/main.test: added catches/constraints to test that use features that don't exist on the mac.
* * Sought out and eliminated instances of CONST-casting that are nodgp2002-01-2613-31/+47
| | | | longer needed after the TIP 27 effort.
* Make -eofchar and -translation options read only formdejong2002-01-254-6/+61
| | | | | | | | | | | | | | | server sockets. [Bug 496733] * generic/tclIO.c (Tcl_GetChannelOption, Tcl_SetChannelOption): Instead of returning nothing for the -translation option on a server socket, always return "auto". Return the empty string enclosed in quotes for the -eofchar option on a server socket. Fixup -eofchar usage message so that it matches the implementation. * tests/io.test: Add -eofchar tests and -translation tests to ensure options are read only on server sockets. * tests/socket.test: Update tests to account for -eofchar and -translation option changes.
* * [Patch 501006] Updated APIs in generic/tclResolve.cdgp2002-01-255-37/+48
| | | | and generic/tclNamesp.c according to the guidelines of TIP 27.
* * [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27).dgp2002-01-2520-99/+147
| | | | | | | * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers.
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-2556-369/+466
| | | | | | | | | | | generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
* * Corrected tilde-substitutiondgp2002-01-252-6/+31
| | | | of pathnames where > 1 separator follows the ~. [Bug 504950]
* * library/http/pkgIndex.tcl:hobbs2002-01-253-4/+16
| | | | | * library/http/http.tcl: don't add port in default case to handle broken servers. http bumped to 2.4.1 [Bug #504508]
* Corrections to earlier TIP 27 changes.dgp2002-01-245-15/+23
| | | | Thanks to Andreas Kupries for the feedback.
* * unix/mkLinks: Regenerated.andreas_kupries2002-01-234-17/+29
| | | | | | | | * doc/CrtChannel.3: * doc/ChnlStack.3: Moved documentation for 'Tcl_GetTopChannel' from 'CrtChannel' to 'ChnlStack'. Added documentation of 'Tcl_GetStackedChannel'. Bug #506147 reported by Mark Patton <msp@users.sourceforge.net>.
* * Updated socket interfaces according to TIP 27. Updated callers.dgp2002-01-2311-61/+80
|
* no messagedavygrvy2002-01-211-0/+6
|
* TclpLoadFile() didn't match proto of typedef Tcl_FSLoadFileProc. [Patch ↵davygrvy2002-01-211-2/+3
| | | | #502488]
* * Converted declarations of TestReport file systemdgp2002-01-212-23/+50
| | | | to more portable form. [Bug 501417].
* * generic/tclIO.c (WriteChars): Fix for SF #506297, reported byandreas_kupries2002-01-213-2/+48
| | | | | | | | | | | | | | Martin Forssen <ruric@users.sourceforge.net>. The encoding chosen in the script exposing the bug writes out three intro characters when TCL_ENCODING_START is set, but does not consume any input as TCL_ENCODING_END is cleared. As some output was generated the enclosing loop calls UtfToExternal again, again with START set. Three more characters in the out and still no use of input ... To break this infinite loop we remove TCL_ENCODING_START from the set of flags after the first call (no condition is required, the later calls remove an unset flag, which is a no-op). This causes the subsequent calls to UtfToExternal to consume and convert the actual input.
* * Updated APIs in generic/tclCmdMZ.c according to the guidelinesdgp2002-01-214-20/+29
| | | | of TIP 27.
* * Overlooked callers of Tcl_FSGetNativePathdgp2002-01-184-13/+17
|
* * Overlooked callers of Tcl_GetIndexFromObjdgp2002-01-183-10/+16
|
* * generic/tclThreadTest.c:das2002-01-181-10/+10
| | | | | | | | | * mac/tclMacChan.c: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacLoad.c: * mac/tclMacResource.c: TIP 27 CONSTification broke the mac build in a number of places.
* * generic/tclThreadTest.c:das2002-01-187-18/+28
| | | | | | | | | * mac/tclMacChan.c: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacLoad.c: * mac/tclMacResource.c: TIP 27 CONSTification broke the mac build in a number of places.
* * generic/tclIOCmd.c (Tcl_GetsObjCmd): Fixed bug #504642 asandreas_kupries2002-01-172-11/+20
| | | | | | | | | | | | | | | reported by Brian Griffin <bgriffin@users.sourceforge.net>, using his patch. Before the patch the generic I/O layer held an unannounced reference to the interp result to store the read line into. This unfortunately has disastrous results if the channel driver executes a tcl script to perform its operation, this freeing the interp result. In that case we are dereferencing essentially a dangling reference. It is not truly dangling because the object is in the free list, but this only causes us to smash the free list and have the error occur later somewhere else. The patch simply creates a new object for the line and later sets it into the interp result when we are done with reading.
* doc correctiondgp2002-01-171-2/+2
|
* added patch numbers to ChangeLogdgp2002-01-171-4/+7
|
* * More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that weredgp2002-01-1732-131/+189
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* * Updated APIs in generic/tclUtf.c and generic/tclRegexp.c accordingdgp2002-01-1715-98/+130
| | | | to the guidelines of TIP 27. Updated callers.
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-173-4/+16
| | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX into TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG variables so that an extension does not need to subst TCL_DBGX into its makefile. [Tk Bug 504356]
* * Updated APIs in generic/tclParse.c according to the guidelinesdgp2002-01-176-12/+21
| | | | of TIP 27. Updated callers.
* * Updated APIs in generic/tclHistory.c according to the guidelinesdgp2002-01-167-62/+84
| | | | | | | | | | of TIP 27. * Updated APIs in generic/tclInterp.c according to the guidelines of TIP 27. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the targetCmdPtr arguments of the Tcl_GetAlias* routines.
* * Corrected documentation for Tcl_ErrnoMsg; it takes an integerdgp2002-01-152-7/+15
| | | | argument. Thanks to Georgios Petasis. [Bug 468183]
* * Updated APIs in generic/tclIOUtil.c and generic/tclPosixStr.cdgp2002-01-1521-100/+140
| | | | according to the guidelines of TIP 27. Updated callers. [Patch 499196]
* doc/StringObj.3: added Tcl_GetUnicodeFromObj docs.hobbs2002-01-151-2/+13
|
* * Updated APIs in the file generic/tclIO.c according to the guidelinesdgp2002-01-1520-223/+265
| | | | | | | | | | | of TIP 27. Several minor documentation corrections as well. * Updated channel driver interface according to the guidelines of TIP 27. See also [Bug 500348]. * Moved Tcl_EolTranslation enum declaration from generic/tcl.h to generic/tclInt.h (renamed to TclEolTranslation). It is not used anywhere in Tcl's public interface.