| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclThreadAlloc.c (new):
* unix/Makefile.in:
* unix/tclUnixThrd.c:
* win/Makefile.in:
* win/tclWinInt.h:
* win/tclWinThrd.c: added new threaded allocator contributed by
AOL that significantly reduces lock contention when multiple
threads are in use. Only Windows and Unix implementations are
ready, and the Windows one may need work. It is only used by
default on Unix for now, and requires that USE_THREAD_ALLOC be
defined (--enable-threads on Unix will define this).
|
|
|
|
| |
calls in file deletion for correct Win32 API handling.
|
|
|
|
| |
targets.
|
|
|
|
|
|
| |
--enable-symbols to allow Dr. Watson users to see function info.
More info on debugging levels can be obtained at:
http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
|
|
|
|
|
| |
observed to return 1.19318 in place of 1.193182 MHz as the performance
counter frequency.
|
| |
|
|
|
|
| |
compile rules.
|
|
|
|
|
|
|
|
|
|
| |
* tools/man2help.tcl:
* tools/man2help2.tcl:
* win/makefile.vc: More winhelp target fixups. Added a feather
bitmap to the non-scrollable area and changed the color to be
yellow from a plain white. The colors can be whatever we want
them to be, but thought I would start with something bold.
[Bug 527941]
|
|
|
|
|
|
|
|
| |
* win/makefile.vc: winhelp target now copies all needed files
from tools/ to a workarea under $(OUT_DIR) and builds it from
there. No build cruft is left in tools/ anymore. All paths
used in man2help.tcl are now relative to where the script is.
[Bug 527941]
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/buildall.vc.bat:
* win/coffbase.txt:
* win/makefile.vc:
* win/nmakehlp.c (new):
* win/rules.vc: First draft fix for [Bug 527941]. More changes
need to done to the makehelp target to get to stop leaving build
files in the tools/ directory. This does not address the syntax
errors in the man files. Having the contents of tcl.hpj(.in)
inside makefile.vc allows for version numbers to be replaced with
macros.
The new nmakehlp.c is built by rules.vc in preprocessing and removes
the need to use tricky shell syntax that wasn't compatible on Win9x
systems. This is a first draft repair for [Bug 533862].
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: Add configure time test for SEH
support in the compiler.
* win/tclWin32Dll.c (ESP, EBP, TclpCheckStackSpace,
_except_checkstackspace_handler):
* win/tclWinChan.c (ESP, EBP, Tcl_MakeFileChannel,
_except_makefilechannel_handler):
* win/tclWinFCmd.c (ESP, EBP, DoRenameFile,
_except_dorenamefile_handler,
DoCopyFile, _except_docopyfile_handler):
Implement SEH support under gcc using inline asm.
Tcl and Tk should now compile with Mingw 1.1. [Patch 525746]
|
|
|
|
|
|
|
|
| |
an SEH exception with EXCEPTION_EXECUTE_HANDLER instead
of restarting the faulting instruction with
EXCEPTION_CONTINUE_EXECUTION. Bug 466102 provides an
example of how restarting could send Tcl into an
infinite loop. [Patch 525746]
|
|
|
|
|
|
| |
DoRemoveJustDirectory): Make sure we don't pass NULL or ""
as a path name to Win32 API functions since this was
crashing under Windows 98.
|
|
|
|
|
|
| |
required to build Tcl. Add section describing new
msys based build process. Update Cygwin build
instructions so users know where to find Mingw 1.1.
|
| |
|
|
|
|
|
|
|
| |
* win/tclWinFCmd.c (DoRenameFile, DoCopyFile): Replace
hard coded constants with Win32 symbolic names.
Move control flow statements out of __try blocks
since the documentation indicates it is frowned upon.
|
|
|
|
| |
easier for now.
|
| |
|
| |
|
|
|
|
| |
of address space is quite a lot to play with.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/coffbase.txt (new):
* win/makefile.bc:
* win/makefile.vc: Changed the 'setup' target to stop using
the mkd.bat file and just make the directory right in the rule.
Same change to makefile.bc. configure.in nor Makefile.in use
it.
coffbase.txt will be the master list for our "prefered base
addresses" set by the linker. This should improve load-time
(NT only) by avoiding relocations. Submissions to the list
by extension authors are encouraged.
Added a 'tidy' target to compliment 'clean' and 'hose' to remove
just the outputs. Also removed the $(winlibs) macro as it wasn't
being used.
Stuff left to do:
1) get the winhelp target to stop building in the tools/
directory.
2) stop using rmd.bat
3) add more dependacy rules.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
behalf of Don Porter <dgp@users.sourceforge.net>.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
(DeleteKey,GetKeyNames,GetType,GetValue,OpenSubKey,SetValue):
redid the CONSTification as previous changes caused failing tests.
|
| |
|
|
|
|
| |
CONSTification that dropped pointer reference.
|
|
|
|
| |
longer needed after the TIP 27 effort.
|
|
|
|
|
|
|
| |
* [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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Thanks to Andreas Kupries for the feedback.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
overlooked before. Updated callers.
***POTENTIAL INCOMPATIBILITY***
Includes a source incompatibility in the tablePtr arguments of
the Tcl_GetIndexFromObj* routines.
|
|
|
|
| |
to the guidelines of TIP 27. Updated callers.
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
according to the guidelines of TIP 27. Updated callers. [Patch 499196]
|