| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/makefile.bc:
* win/makefile.vc:
* library/reg/pkgIndex.tcl
* library/dde/pkgIndex.tcl: Fixed version numbers from bogus tcl
versions to independent versions for dde and registry packages.
|
|
|
|
|
| |
vestiges of Tcl's old initialization from registry variables.
[Bug 455645]
|
|
|
|
|
|
|
|
|
|
|
| |
the internal platform specific stub table.
* win/tclWinFile.c (TclpObjStat): Now added the call to
'TclWinFlushDirtyChannels' to this function. I don't know where
my head was last thursday (2001-09-06), but the call was
actually added to 'TclpObjChdir', i.e. the implementation of
[cd]. Corrected this now. Thanks to Vince Darley for spotting
this.
|
|
|
|
|
|
| |
* win/Makefile.in: Use () around variable name
instead of {}. Use TCLTEST variable directly
instead of depending on the tcltest alias.
|
|
|
|
|
| |
* win/rmd.bat: made these text files, text files again.
[Patch: 451333]
|
|
|
|
|
|
| |
* win/rmd.bat:
Apply binary property (cvs admin -kb) to files and convert
to CRLF linefeed format to fix the VC++ build. [Bug #219409]
|
|
|
|
|
| |
a VC5 (pre sp3) compatible import library.
[Bug: 219257]
|
|
|
|
|
| |
_endthreadex to unsigned instead of DWORD to match the Win32
function prototype.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
80x performance hit for file I/O on Win* systems. On my system
it was closer to a 120x hit. Problem report by Uwe Traum <no
email address available>.
The fix goes like this: The obstacle is 'FlushFileBuffers',
executed whenever Tcl writes data to the OS, as Tcl has to wait
for the disk to complete I/O, and disks are slow. We remove that
obstacle. This opens another problem, [file size] reports back
wrong numbers. So for [file size] we add the call back in. As
optimization we keep track of the channels which were written to
and flush only these.
* win/tclWinFile.c (TclpObjStat): Added a call to
'TclWinFlushDirtyChannels'. This ensures that [file size] and
related commands report the correct size of a file even if Tcl
has recently written to it. Unixoid OS's always report the
correct size even for files with pending data, but Win*
syssystem don't. They only report what is actually on disk.
* win/tclWinInt.h: Added declaration of
'TclWinFlushDirtyChannels', making it available to other parts
of the tcl core.
* win/tclWinChan.c (TclWinFlushDirtyChannels): New, internal,
procedure. Goes through the list of open file channels and
forces the OS to flush its file buffers for all which were
written to since the last call of this function. This is an
expensive operation as Tcl has to wait for the OS to complete
actual writes to the disk.
(FileInfo): Added dirty flag required by the procedure above.
(FileOutputProc): Removed flushing of file buffers, setting the
dirty flag instead. This means that the previously incurred
delays do not happen anymore.
(TclWinOpenFileChannel): Added initialization of 'dirty' flag.
|
|
|
|
| |
reflecting the new features just added.
|
|
|
|
| |
[Patch: 436116]
|
| |
|
|
|
|
|
| |
was already using this number. Upon advice from Helmut Giese, EDQUOT
has been found in other header files #defined as 69.
|
|
|
|
| |
[Patch: 436116]
|
| |
|
|
|
|
| |
[Patch: 436116]
|
|
|
|
|
| |
a c-runtime implimentation of _beginethreadex normal, I reversed the logic
to not assume, and use when is.
|
| |
|
|
|
|
|
| |
the main #ifdef TCL_THREADS block to avoid mingw warning about it
being there but unused.
|
|
|
|
|
|
|
|
| |
to make sure the tclstub84.lib static library is built without
requiring a specific C-runtime library at link-time for the end-use
developer. It has been noted on c.l.t that this trips many first
time users trying to make extensions.
[Patch: 403533]
|
|
|
|
|
|
| |
not surprisingly, doesn't have the MSVCRT specific _beginthreadex /
_endthreadex pair. This might have to be revisited for proper
Borland, lcc32, Watcom and other support as well.
|
| |
|
|
|
|
|
|
| |
inconsistency between the search path for script libraries and
the directory name $DISTNAME into which distributions built
by 'make test' unpack. [Bug 455642]
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinPipe.c (BuildCommandLine): Fixed tcl Bug
[432499]. Part of the code used the non-absolute path to the
executable to determine quoting. This failed if the absolute
path cotained spaces, but the application name itselfl not. This
bug caused no trouble on Win NT 5, but does for other variants
in the Win* family. Report and fix due to Ken Poole
<kenpoole@users.sourceforge.net>.
|
| |
|
|
|
|
|
|
|
| |
* tests/winDde.test:
* win/tclWinDde.c (Tcl_DdeObjCmd): added -binary option to dde
request command to allow for returning binary data. [Bug #227482]
Updated dde to 1.2
|
| |
|
|
|
|
|
| |
.rc.res inference rule. winver.h wasn't getting included.
[Bug: 445630]
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tcl.hpj.in: Removed -kb storage in CVS to ensure these text
files to make sure they are checked-out in the translation mode CVS
is in. Setting these as binary as part of an effort to make sure they
are always in CRLF no matter what the CVS translation is bypassing
how CVS works.
* tools/genStubs.tcl: Removed LF-only output. Having to reconvert
back to CRLF for committing to CVS was giving me a headache.
|
|
|
|
|
| |
CVS snapshots from the 8.4a3 release. This does not necessarily
mean there will be an 8.4a4 release. [Bug 448938].
|
|
|
|
|
|
|
| |
* README:
* mac/README:
* unix/README:
* win/README.binary: updated for 8.4a3 release
|
|
|
|
| |
added DeleteCriticalSection calls for cleanup [Patch: #419683]
|
| |
|
|
|
|
|
|
|
|
| |
* win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
This is necessary for TEA compliant builds that build shared
against a static-built Tcl.
* win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build
target, otherwise it wouldn't get generated in a static build.
|
|
|
|
|
|
|
|
| |
* win/tclWinPort.h:
Revert <tchar.h> related changes made to improve
Cygwin support on 2001-07-18. This change ended
up breaking the VC++ build because of conflicts
between Windows APIs and internal Tk APIs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following files were impacted.
* doc/Access.3:
* doc/FileSystem.3:
* doc/OpenFileChnl.3:
* doc/file.n:
* doc/glob.n:
* generic/tcl.decls:
* generic/tcl.h:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclDate.c:
* generic/tclDecls.h:
* generic/tclEncoding.c:
* generic/tclFCmd.c:
* generic/tclFileName.c:
* generic/tclGetDate.y:
* generic/tclIO.c:
* generic/tclIOCmd.c:
* generic/tclIOUtil.c:
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclIntDecls.h:
* generic/tclLoad.c:
* generic/tclStubInit.c:
* generic/tclTest.c:
* generic/tclUtil.c:
* library/init.tcl:
* mac/tclMacFCmd.c:
* mac/tclMacFile.c:
* mac/tclMacInit.c:
* mac/tclMacPort.h:
* mac/tclMacResource.c:
* mac/tclMacTime.c:
* tests/cmdAH.test:
* tests/event.test:
* tests/fCmd.test:
* tests/fileName.test:
* tests/io.test:
* tests/ioCmd.test:
* tests/proc-old.test:
* tests/registry.test:
* tests/unixFCmd.test:
* tests/winDde.test:
* tests/winFCmd.test:
* unix/mkLinks:
* unix/tclUnixFCmd.c:
* unix/tclUnixFile.c:
* unix/tclUnixInit.c:
* unix/tclUnixPipe.c:
* win/tclWinFCmd.c:
* win/tclWinFile.c:
* win/tclWinInit.c:
* win/tclWinPipe.c
|
|
|
|
|
|
| |
HANDLE returned by _beginthreadex. The MS documentation
states that this handle is not closed by a later call to
_endthreadex.
|
|
|
|
|
|
|
|
|
|
| |
windows.h instead of tchar.h since Cygwin does not
support the tchar.h header. Include CHECK_UNICODE_CALLS
logic from tclWinPort.h.
* win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic.
Remove include of windows.h since this now done it
tclPlatDecls.h.
* win/tclWinReg.c: Remove duplicate include of windows.h.
|
|
|
|
|
| |
for the TclpReadlink function. This method implements reading of
symbolic links when build with Cygwin.
|
|
|
|
| |
and timezone variables.
|
|
|
|
| |
just the TerminateThread call and waiting for termination. (jsmith)
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinPipe.c:
* win/tclWinPort.h:
* win/tclWinSerial.c:
* win/tclWinThrd.c:
Remove unnecessary #includes of dos.h, direct.h,
and tchar.h. This will help the Cygwin porting
effort since these headers do not exist under Cygwin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure: Regen.
* unix/configure.in: Use STLIB_LD when defining MAKE_LIB
and MAKE_STUB_LIB. Subst RANLIB and AR.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about
STLIB_LD command. Check ${AR} env var when setting
STLIB_LD and delay evaluation until make time.
* win/configure: Regen.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of
${AR} in STLIB_LD and add flags to better match the
Unix implementation. Don't bother defining AR when
using VC++ since it is not used.
|
|
|
|
|
|
|
| |
* win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in
addition to the -mwindows flag to work around a problem
with ld when it incorrectly use main() as the executable
entry point when both WinMain() and main() are available.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of relying on a variable. This will make Cygwin
build faster since an extra exec will be avoided.
* win/configure: Regen.
* win/configure.in: Subst DEPARG.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING
after the AC_CHECK_PROG so that status messages do
not get mixed together. Set DEPARG based on the
results of the cygpath check so that we avoid using
an extra exec when it is not needed. Use ac_cv_cygwin
status flag instead of looking at the output of
gcc -v, which works in the case where -mno-cygwin is
set in the CFLAGS.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* win/configure: Regen.
* win/configure.in: Don't subst PATHTYPE.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE
variable. Set CYGPATH to "cygpath -w" if the
cygpath executable is found on the path. This
approach works for native Cygwin builds and
cross compiles.
|
|
|
|
| |
to ${AR} when using gcc, verbose output is not needed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
absolute pathnames in library path when executable is installed
near root directory to use correct development directory layout.
[Bug 438014]
* tests/unixInit.test (unixInit-2.9):
* unix/tclUnixInit.c (TclpInitLibraryPath):
* win/tclWinInit.c (TclpInitLibraryPath): Corrected buggy
construction of search path entries relative to executable.
Added test for bad construction. [Bug 438014]
|
|
|
|
|
|
| |
* win/Makefile.in: Add `make shell` target. This target
will set the proper env vars before invoking tclsh
from the build directory.
|