summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* reverted back to 1.6, as the header file change to tclPort.h doesn't allow fordavygrvy2002-02-211-2/+3
| | | | easy embedded support. Thanks to Don Porter for pointing this out to me.
* no messagedavygrvy2002-02-211-0/+13
|
* * win/makefile.vc:davygrvy2002-02-212-5/+17
| | | | | | * win/rules.vc: Added a new "loimpact" option that sets the -ws:aggressive linker option. Off by default. It's said to keep the heap use low at the expense of alloc speed.
* * win/tclAppInit.c: Changed #include "tcl.h" to be tclPort.h todavygrvy2002-02-211-3/+2
| | | | | | | remove the raw windows.h include. tclPort.h brings in windows.h already and lessens the pre-compiled-header mush and the randomly useless #pragma comment (lib,...) references throughout the big windows.h tree (as observed at high linker warning levels).
* typo correction in latest changedgp2002-02-211-2/+2
|
* Improving 'long long' detection...dkf2002-02-212-6/+16
|
* no messagedavygrvy2002-02-201-5/+21
|
* * win/buildall.vc.bat:davygrvy2002-02-203-38/+144
| | | | | | | | | | | | | | | | | | | | | | | * win/makefile.vc: * win/rules.vc: General clean-ups. Added compiler and linker tests for a) the pentium 0x0F errata, b) optimizing (not all have this), and c) linker v6 section alignment confusion. All these are tested first to make sure any D4002 or LNK1117 warnings aren't displayed. The pentium 0x0F errata is a recommended switch. The v5 linker's section alignment default is 512, but the v6 linker was changed to 4096 in an attempt to speed loading on Win98. I changed the default to always be 512 across both linkers, unless linking statically, then 4096 is used for the claimed speed effect. Using a 512 alignment saves 12k bytes of dead space in the DLL. Added IA64 B-stepping errata switch when the compiler supports it. Added profiling to $(lflags) when requested and also removed the explict -entry option as the default works fine as is. Removed win/tclWinInit.c from the special case section to let it use the common implicit rule as the $(EXTFLAGS) macro it had was never referenced anywhere.
* * generic/tcl.decls (Tcl_RegExpRange,Tcl_GetIndexFromObjStruct):dgp2002-02-204-18/+21
| | | | | | | Overlooked a few source incompatibilities. Now using CONST84. * generic/tclDecls.h: make genstubs * generic/tcl.h (Tcl_CmdObjTraceProc): silence warning from Sun Workshop compiler.
* no messagedavygrvy2002-02-201-0/+8
|
* * win/makefile.vc: Added the pentium errata switches to $(cflags)davygrvy2002-02-201-14/+8
| | | | | | | which should have already been there according to the MSDN docs regarding the infamous FDIV bug from `97. Added profiling to $(lflags) and also removed the explict -entry option as the default works without special work.
* Made tcl.h better at guessing what is going on with 64-bit types whendkf2002-02-202-4/+14
| | | | configure doesn't tell it explicitly.
* Fixed behaviour of [format] on 64-bit platforms by defining it to work withdkf2002-02-193-20/+37
| | | | | | machine words by default. This seems to be what the test suite expected anyway, and it is a fairly sensible choice. The other alternative was to make %d always 32-bit and %ld always 64-bit, but that'd be more complex to do.
* * First draft of updated changes for 8.4a4 release.dgp2002-02-192-101/+379
|
* * unix/tclUnixPort.h: add strtoll/strtoull declarations forhobbs2002-02-162-1/+11
| | | | platforms that do not define them.
* * generic/tclIndexObj.c (STRING_AT): removed ptrdiff_t cast andhobbs2002-02-162-14/+7
| | | | use of VOID* in default case (GNU-ism).
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-1510-21/+81
|
* * tclExecute.c:andreas_kupries2002-02-154-6/+18
| | | | | | | * tclIOGT.c: * tclIndexObj.c: Touchups to the TIP 72 patch to make it compileable under Windows again. The changes are not complete, there is one nasty regarding _stati64
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-1576-2167/+5280
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* * generic/tclIOCmd.c (Tcl_GetsObjCmd): Trivial fix for bugandreas_kupries2002-02-142-4/+9
| | | | | | #517503, a memory leak reported by Miguel Sofer <msofer@users.sourceforge.net>. The leak happens if an error occurs for "set var [gets $chan]" and leak one empty object.
* * djgpp/ (new directory)davygrvy2002-02-121-1/+5
| | | | | | | | | | | | | | | * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully.
* * djgpp/ (new directory)davygrvy2002-02-126-7/+44
| | | | | | | | | | | | | | | * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully.
* Added Tcl_CreateObjTrace, Tcl_GetCommandInfoFromToken andKevin B Kenny2002-02-1011-148/+724
| | | | Tcl_SetCommandInfoFromToken. (TIPs #32 and #79.)
* see ChangeLoghobbs2002-02-081-0/+14
|
* * 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.
* * generic/tclScan.c (Tcl_ScanObjCmd): prevented ckfree beinghobbs2002-02-081-2/+4
| | | | called on a pointer to NULL.
* * 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)
* see ChangeLogdgp2002-02-081-0/+38
|
* * 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.
* * 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]
* * generic/tclCompCmds.c (TclCompileRegexpCmd): made early checkhobbs2002-02-071-6/+31
| | | | for bad RE to stop checking further.
* see ChangeLoghobbs2002-02-071-0/+19
|
* * 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.
* extra code coverage caseshobbs2002-02-072-11/+37
|
* added 10.18 and 10.19 extra testshobbs2002-02-071-1/+7
|
* generic/regc_locale.c (casecmp): slight performance improvementhobbs2002-02-071-9/+5
|
* * Corrected use of http::error whendgp2002-02-053-4/+10
| | | | ::error was intended. Bump to http 2.4.2.
* reverted pwd changes for AIX, the best fix is to replace sh with bsh on 4.3.3hobbs2002-02-054-115/+66
|
* get full path to pwd to avoid errors on AIX-4.3hobbs2002-02-053-85/+112
|
* call /bin/pwd on AIX-4.3 to avoid pwd errorshobbs2002-02-053-13/+34
|
* * 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.
* * 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'.
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd): handle quirky about casehobbs2002-02-022-8/+17
| | | | earlier to avoid shimmering problem.
* * 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.
* typos and omissionsdgp2002-02-011-1/+2
|
* 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
|