| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
easy embedded support. Thanks to Don Porter for pointing this out to me.
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
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).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
Overlooked a few source incompatibilities. Now using CONST84.
* generic/tclDecls.h: make genstubs
* generic/tcl.h (Tcl_CmdObjTraceProc): silence warning from Sun
Workshop compiler.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
configure doesn't tell it explicitly.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
platforms that do not define them.
|
|
|
|
| |
use of VOID* in default case (GNU-ism).
|
| |
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
#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/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/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.
|
|
|
|
| |
Tcl_SetCommandInfoFromToken. (TIPs #32 and #79.)
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
called on a pointer to NULL.
|
|
|
|
|
| |
* unix/tclUnixThrd.c: added thread-safe versions of readdir,
localtime, gmtime and inet_ntoa for threaded build. (jgdavidson)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
for bad RE to stop checking further.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
::error was intended. Bump to http 2.4.2.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
as the command to use to retrieve the pid of a command pipeline
created via 'open'.
|
|
|
|
| |
earlier to avoid shimmering problem.
|
|
|
|
|
| |
dependent, the other not. -eofchar is not empty on the windows
platform.
|
| |
|
| |
|
| |
|
|
|
|
| |
behalf of Don Porter <dgp@users.sourceforge.net>.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|