summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added Tcl_CreateObjTrace, Tcl_GetCommandInfoFromToken andkennykb2002-02-1011-148/+724
| | | | | | Tcl_SetCommandInfoFromToken. (TIPs #32 and #79.) FossilOrigin-Name: 5a7e3737aabc29b2f60a008ee6aaf1d35c9da32f
* see ChangeLoghobbs2002-02-081-0/+14
| | | FossilOrigin-Name: a417a2060a3ae98dc729782b5642c3e38dc1750e
* * unix/configure:hobbs2002-02-082-33/+55
| | | | | | | | * unix/tcl.m4: added -pthread for FreeBSD to EXTRA_CFLAGS and LDFLAGS. Also triggered nodots only for FreeBSD-3. Added AC_DEFINE(_POSIX_PTHREAD_SEMANTICS) for Solaris. FossilOrigin-Name: 1e1180665c957db8c8bf7429da5ba38b9f94f3c4
* * generic/tclScan.c (Tcl_ScanObjCmd): prevented ckfree beinghobbs2002-02-081-2/+4
| | | | | | called on a pointer to NULL. FossilOrigin-Name: a394db9b1f630eacb0a3bdf11dc39f003400d5e6
* * unix/tclUnixPort.h:hobbs2002-02-082-2/+79
| | | | | | | * unix/tclUnixThrd.c: added thread-safe versions of readdir, localtime, gmtime and inet_ntoa for threaded build. (jgdavidson) FossilOrigin-Name: 66e9f4d6b4ef7c1907dce967a7da98539d8b762b
* see ChangeLogdgp2002-02-081-0/+38
| | | FossilOrigin-Name: 468e1f5f71cb7e3563ea46baa340fba279f04b08
* * Partial TIP 27 rollback. Following routinesdgp2002-02-0825-110/+98
| | | | | | | | | | | | | | | restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. * generic/tclCmdMZ.c: corrected use of C++-style comment. FossilOrigin-Name: bb1a244cde9f05a5477cf5dd8e8ab44cd978459f
* * tests/scan.test:hobbs2002-02-073-3/+26
| | | | | | | | * generic/tclScan.c (Tcl_ScanObjCmd): corrected scan 0x... %x handling that didn't accept the 0x as a prelude to a base 16 number. [Bug #495213] FossilOrigin-Name: 003ecd26bac43398fa149d53840683b81f043807
* * generic/tclCompCmds.c (TclCompileRegexpCmd): made early checkhobbs2002-02-071-6/+31
| | | | | | for bad RE to stop checking further. FossilOrigin-Name: 9c1324e2c20188ceebda09e34adecd10ff4aaf9b
* see ChangeLoghobbs2002-02-071-0/+19
| | | FossilOrigin-Name: 3366b1dcf1d4580620191e1ffd8979e4e7e901d6
* * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): added special case tohobbs2002-02-071-42/+137
| | | | | | | | | | search for simple 'string map' style regsub calls. Delayed creation of resultPtr object until an initial match is made, as the input string object can then be reused for no matches. (Tcl_StringObjCmd): optimization improvements to the STR_MAP algorithm for zero-length and nocase cases. FossilOrigin-Name: 96d63652fd98f2a1a513e1c3699a3f7bde469785
* extra code coverage caseshobbs2002-02-072-11/+37
| | | FossilOrigin-Name: f29484391eefc0e529c3666e5b68fef7fd4e151c
* added 10.18 and 10.19 extra testshobbs2002-02-071-1/+7
| | | FossilOrigin-Name: cf60e92880daa279463770b264976adeb6ed7887
* generic/regc_locale.c (casecmp): slight performance improvementhobbs2002-02-071-9/+5
| | | FossilOrigin-Name: 4fa5ad1498f12f7c95b27dd9d726243ed92c0beb
* * Corrected use of http::error whendgp2002-02-053-4/+10
| | | | | | ::error was intended. Bump to http 2.4.2. FossilOrigin-Name: 8c11b0ebb0877492225e6841bb2613237ce55a1e
* reverted pwd changes for AIX, the best fix is to replace sh with bsh on 4.3.3hobbs2002-02-054-115/+66
| | | FossilOrigin-Name: a16f86cc9c082b1c99d824a201abf9f03352988f
* get full path to pwd to avoid errors on AIX-4.3hobbs2002-02-053-85/+112
| | | FossilOrigin-Name: 742eee4684c2a1c2dae56c0130c73f6da0ed696a
* call /bin/pwd on AIX-4.3 to avoid pwd errorshobbs2002-02-053-13/+34
| | | FossilOrigin-Name: 79c170779f38d8e8abbb79bfe4f71bb8c7d94767
* * unix/tclUnixChan.c (FileOutputProc): Fixed [bug 465765] reportedandreas_kupries2002-02-042-1/+18
| | | | | | | | | | by Dale Talcott <daletalcott@users.sourceforge.net>. Avoid to write nothing into a file as STREAM based implementations will consider this a EOF (if the file is a pipe). Not done in the generic layer as this type of writing is actually useful to check the state of a socket. FossilOrigin-Name: 6e2600e273de8b16227685852ec889945fbd61f5
* * doc/open.n: Fixed [Bug 511540], added cross-reference to 'pid'andreas_kupries2002-02-042-2/+10
| | | | | | | as the command to use to retrieve the pid of a command pipeline created via 'open'. FossilOrigin-Name: 083ac14867111b217de6ec77e36b5fd733c5c46d
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): handle quirky about casehobbs2002-02-022-8/+17
| | | | | | earlier to avoid shimmering problem. FossilOrigin-Name: 8dd6f681a36c54cde97eef23fcde8c6722ae8b0a
* * tests/io.test: io-39.22 split into two tests, one platformandreas_kupries2002-02-012-4/+24
| | | | | | | dependent, the other not. -eofchar is not empty on the windows platform. FossilOrigin-Name: 9e60923323f484f726a5f5ce13320c26c25c3eee
* typos and omissionsdgp2002-02-011-1/+2
| | | FossilOrigin-Name: 417701c6f5a693f66bf1c255e8a12b696cac7a07
* tclTest.c fixvincentdarley2002-02-012-2/+7
| | | FossilOrigin-Name: 5ba47ab16fe5a084df06e9897f6fe9793f457a5d
* make mklinks after recent doc additions to FileSystem.3dgp2002-01-311-0/+6
| | | FossilOrigin-Name: 3dd0a80dc78f9992f28cb6280603dfbecaf002a8
* * win/tclWinFCmd.c: TIP 27: Applied patch fixing CONST warnings onuid375472002-01-312-13/+21
| | | | | | behalf of Don Porter <dgp@users.sourceforge.net>. FossilOrigin-Name: ac7cf66301bbf823423322d946ccc540059d28bb
* * 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. FossilOrigin-Name: 9b3023c6c46cf8ed276db1e7447f5862d6cecf7e
* docsvincentdarley2002-01-302-2/+34
| | | FossilOrigin-Name: 41f1949999328e203647a318e253e88b017c583a
* * tests/regexpComp.test:hobbs2002-01-303-30/+91
| | | | | | | * generic/tclCompCmds.c (TclCompileRegexpCmd): enhanced to support -nocase and -- options. FossilOrigin-Name: b44774892bdb9e882f31b5c90516d7d34ed8076d
* * 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. FossilOrigin-Name: c019e8d6a8c4e6cf5c413bd4d8df5b429e46199b
* * 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. FossilOrigin-Name: f8f4e1af89c1a5cce167d8398bb9a72193e66583
* updated error-1.3 result that changed with string bc correctionhobbs2002-01-291-5/+3
| | | FossilOrigin-Name: 81a974c32a6ab77066ecc360a5048f39f7e54dcf
* * 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. FossilOrigin-Name: 1c5cd2dcff62b4b6c010a1e2a3f910dda06014f3
* Corportation -> Corporation sp fixhobbs2002-01-294-8/+8
| | | FossilOrigin-Name: ce44b6266879f09e64da221fdc00d713f7d50dd2
* * generic/tclExecute.c (TclExecuteByteCode:INST_LIST): correcthobbs2002-01-291-3/+3
| | | | | | possibly dangerous decr in macro call. FossilOrigin-Name: e59425524f09c1112de53ae1594baa8c6ee61707
* win/tclWinInit.c (TclpFindVariable): CONSTification touch-uphobbs2002-01-291-3/+4
| | | FossilOrigin-Name: e5177d3f58721a3c940ec379c207d9c8b60b130a
* * win/tclWinReg.c (OpenSubKey): corrected bug introduced inhobbs2002-01-291-4/+4
| | | | | | CONSTification that dropped pointer reference. FossilOrigin-Name: ad0f1a3f397ba7cf078126491dc3dc09eb2d734f
* * ChangeLog.2000 (new file):hobbs2002-01-292-2587/+2593
| | | | | | | * ChangeLog: broke changes from 2000 into ChangeLog.2000 to reduce size of the main ChangeLog. FossilOrigin-Name: 61dfae55d59d5ad0750c08ec2f7f2ee6fd1865b2
* no messagedavygrvy2002-01-281-0/+6
| | | FossilOrigin-Name: 02c234a1c0de8cc4b9718f7d69ece0dd6b55b48a
* * 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. FossilOrigin-Name: 561807f26ff9466d27ac9f11dac3afaedc6d4fbf
* * Documented global namespace context for script evaluationdgp2002-01-272-3/+10
| | | | | | by [package require]. FossilOrigin-Name: 574c5ea4a74aba5c43ef63a0f1e5f6360046ae13
* * 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. FossilOrigin-Name: 02f6dcb5d2e40852b7e678559c5f3964c826593e
* * Sought out and eliminated instances of CONST-casting that are nodgp2002-01-2613-31/+47
| | | | | | longer needed after the TIP 27 effort. FossilOrigin-Name: 4bca1d26dbe0eea4e2c7807477efc846faa7ca75
* 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. FossilOrigin-Name: 1c08e33e953d0680497528facc19905bafe5852e
* * [Patch 501006] Updated APIs in generic/tclResolve.cdgp2002-01-255-37/+48
| | | | | | and generic/tclNamesp.c according to the guidelines of TIP 27. FossilOrigin-Name: f9df4b63e5a14e1897d89ae9d1e4a7a1d98630fa
* * [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. FossilOrigin-Name: 375ac8d641fa53159537f27eb1f836c043495c3b
* * 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. FossilOrigin-Name: fceed15544ad472b748cdf463c3b4005e83b5e8f
* * Corrected tilde-substitutiondgp2002-01-252-6/+31
| | | | | | of pathnames where > 1 separator follows the ~. [Bug 504950] FossilOrigin-Name: 15e6bf11b42b8012ac0dbb6fffba08803094fa94
* * 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] FossilOrigin-Name: e65dde74b0bcffb8b12eae9d55e22b7891d03a97
* Corrections to earlier TIP 27 changes.dgp2002-01-245-15/+23
| | | | | | Thanks to Andreas Kupries for the feedback. FossilOrigin-Name: 0c4eacfb569afae1c63fe529403d1583957939ee