| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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/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.
|
|
|
|
|
| |
changing the future at their whim. The D4002 warning was harmless though,
but someone using MsDev .NET logged it as a concern. [Bug: #501565]
|
|
|
|
| |
dependencies rather than implicit through the dde and reg extensions.
|
|
|
|
| |
need to be the solution.
|
|
|
|
|
|
|
| |
* win/rules.vc: Small bug fixes.
* win/README: added some docs pointing to the docs in makefile.vc
for it's use.
|
|
|
|
|
|
| |
* win/makefile.vc: Small fix with deriving the "OriginalFilename"
string in the .rc scripts. Added a quick batchfile for building
the entire thing.
|
|
|
|
|
|
|
|
| |
from the /win directory only.
* win/mkd.bat:
* win/rmd.bat: Changes from Llyod Lim for better stability.
[Patch #456759]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tcl.dsp: winhelp target fixes for non-NT systems. It
seems NMAKE under these remembers changed directories during
commands. A new tcltest feature from Peter Spjuth
<peter.spjuth@space.se> to specify a pattern file from the
commandline and redirecting output to a file when not under
NT with it's scrollback console. Then it replays it, piped
through more. Added 2 new static "configurations" to tcl.dsp.
I could keep adding more, but I think we should leave it up to
the user for customizing it.
Sticky-points left: 'profile' option.
|
|
|
|
|
|
|
|
| |
* win/makefile.vc: Fixed install target to adjust for the
different build types. Added a 'linkexten' option to link the
win extensions inside the shell when built static. Placed
win/tclAppInit.c patch in SF patch DB for approval. 'profile'
option not hooked in yet. Everything else know is done.
|
| |
|
|
|
|
|
|
|
|
| |
* win/makefile.vc: Dropped the NOMSVCRT macro and put it on the
option list instead. It makes more sense to me this way as
NOMSVCRT=0 would only be the valid setting. Fixed the dde and reg
extension for building static. Improved, but not perfected, the
winhelp target.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/makefile.vc: Complete over/under rewrite to support numerous
build options all from the commandline itself without needing to
edit the makefile. Now requires vcvars32.bat to be run prior to
running nmake for bootstraping the environment. Fully doc'd usage
for it is in makefile.vc. Commentary welcome. Sticky points left
are:
1) winhelp target shows errors in the converting script.
2) .rc scripts aren't getting the right #defines to build the correct
"OriginalFilename" strings. (have patch, won't commit yet)
3) Naming convention with suffixes describing the buildtype are 'tsdx'
which will need public acceptance. ie. tclsh84tsx.exe is a (t)
threaded shell (s) statically linked to the core and (x) uses
msvcrt instead of libcmt.
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
reflecting the new features just added.
|
|
|
|
|
|
|
|
| |
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]
|
| |
|
|
|
|
|
| |
.rc.res inference rule. winver.h wasn't getting included.
[Bug: 445630]
|
|
|
|
|
| |
* win/makefile.vc (install-libraries): Corrected misdirected
install directory for the msgcat 1.2 package.
|
|
|
|
|
|
|
| |
* unix/Makefile.in (install-libraries, dist):
* win/makefile.vc (install-libraries):
* win/Makefile.in (install-libraries): updated to install
unversioned library directories into versioned directories.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* win/configure.in:
* win/Makefile.in:
* win/makefile.vc:
* win/tcl.rc:
* win/tclsh.rc: Added logic to derive filenames better in the resource
scripts based on compile options.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* win/Makefile.in:
* unix/Makefile.in: Added tclPlatDecls.h to the list of installed
headers, for more complete stubs support. [Bug: 5241].
* generic/tcl.h: Added #include "tclPlatDecls.h" to get
platform-specific stubs declarations (Tcl_WinTCharToUtf, etc)
[Bug: 5241].
|
|
|
|
| |
nmake support for NT/Alpha [RFE: 5938].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h:
* library/init.tcl:
* library/reg1.0/pkgIndex.tcl:
* library/tcltest1.0/tcltest.tcl:
* mac/README:
* tools/tcl.hpj.in:
* tools/tcl.wse.in:
* unix/README:
* unix/configure.in:
* unix/tcl.spec:
* win/README:
* win/README.binary:
* win/configure.in:
* win/makefile.vc:
* win/tcl.m4: updated patchlevel to 8.4a1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Overall changes:
(1) Implementation of joinable threads for all platforms.
(2) Additional API's for channels. Required to allow the
thread extension to move channels between threads.
* generic/tcl.decls (lines 1360f): Added Tcl_JoinThread,
Tcl_IsChannelShared, Tcl_IsChannelRegistered, Tcl_CutChannel,
Tcl_SpliceChannel, Tcl_IsChannelExisting and
Tcl_ClearChannelHandlers (slots 394 to 400).
* generic/tclIO.c: Implemented Tcl_IsChannelRegistered,
Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel,
Tcl_IsChannelExisting and Tcl_ClearChannelHandlers.
Tcl_CutChannel uses code from CloseChannel. Replaced this code
by a call to Tcl_CutChannel. Replaced several code fragments
adding channels to the channel list with calls to
Tcl_SpliceChannel. Removed now unused variables from
CloseChannel and Tcl_UnstackChannel. Tcl_ClearChannelHandlers
uses code from Tcl_Close. Replaced this code by a call to
Tcl_ClearChannelHandlers. Removed now unused variables from
Tcl_Close. Added the subcommands 'cut', 'forgetch', 'splice' and
'isshared' to the test code
(TclTestChannelCmd).
* unix/tclUnixThread.c: Implemented Tcl_JoinThread using the
pthread-functionality.
* win/tclWinThrd.c: Fixed several small typos in comments.
Implemented Tcl_JoinThread using a platform independent
emulation layer (see generic/tclThreadJoin.c below). Added
'joinLock' to serialize Tcl_CreateThread and TclpExitThread to
prevent a race for joinable threads.
* mac/tclMacThrd.c: Implemented Tcl_JoinThread using a platform
independent emulation layer (see generic/tclThreadJoin.c
below). Due to the cooperative nature of threading on this
platform the race mentioned above is not present.
* generic/tclThreadJoin.c: New file. Contains a platform
independent emulation layer helping in the implementation of
joinable threads for the win and mac platforms.
* generic/tclInt.h: Added declarations for TclJoinThread,
TclRememberJoinableThread and TclSignalExitThread. These
procedures define the API of the emulation layer for joinable
threads (see generic/tclThreadJoin.c above).
* win/Makefile.in:
* win/makefile.vc: Added generic/tclTheadJoin.o to the rules.
* mac/: I don't know to which file generic/tclTheadJoin.o has to
be added to so that it compiles. Sorry.
* unix/tclUnixChan.c: #ifdef'd the thread-local list of file
channels as it prevents us from transfering channels. To restore
this we may need an extended interface to drivers in the
future. Target: 9.0. Found while testing the new transfer of
channels. The information in this list for a channel was left
behind and then crashed the system during finalization.
* generic/tclThreadTest.c: Added -joinable flag to 'testthread
create'. Added subcommand 'testthread join'.
* doc/CrtChannel.3: Added documentation for Tcl_IsChannelRegistered,
Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel,
Tcl_IsChannelExisting and Tcl_ClearChannelHandlers.
* doc/Thread.3: Added documentation for Tcl_JoinThread.
* tests/thread.test: Added tests for joining of threads.
|
|
|
|
|
|
| |
* win/Makefile.in:
* win/makefile.vc: updated for http change and some cleanup
* library/http2.[13]: moved dir http2.1 to http2.3 to match version
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinChan.c:
* win/tclWinFCmd.c:
* win/tclWinInit.c:
* win/tclWinPipe.c:
* win/tclWinSock.c: removed all code that supported Win32s. It
was no longer officially supported, and likely didn't work anyway.
* win/makefile.vc: removed 16 bit stuff, cleaned up.
* win/tcl16.rc:
* win/tclWin16.c:
* win/winDumpExts.c: these files have been removed from the
source tree (no longer necessary to build)
* win/aclocal.m4: made it just include tcl.m4
|
|
|
|
|
| |
completely ignored for Windows FAT file systems
* win/tclWinPort.h: added sys/utime.h to includes
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/README.binary:
* win/makefile.vc:
* {win,unix}/configure.in:
* generic/tcl.h:
* library/init.tcl: updated to 8.3a1 from 8.2.0.
* win/tclWinReg.c: fixed registry command to properly 'get'
HKEY_PERFORMANCE_DATA root key data. Needs more work.
* win/tclWinSerial.c: changed SerialSetOptionProc to return
TCL_OK by default. (patch from Rolf Schroedter)
|
| |
|
|
|
|
|
| |
the semaphores for threads disabled. Fixed calling of tcltest
in Makefile.in (win32) and fixed safe-6.3 for threads enabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinPort.h: Block out include of sys/*.h in order to
build extensions with MetroWerks compiler for Win32. [Bug: 2385]
* generic/tclCmdMZ.c:
* generic/tclIO.c: Fix ANSI-style prototypes based on patch from
Ulrich Ring. [Bug: 2391]
* unix/Makefile.in: Need to make install-sh executable before
calling (with chmod +x). [Bug: 2413]
* tests/var.test:
* generic/tclVar.c: Fixed bug that caused a seg. fault when using
"array set a(b) {}", which is a bad array name anyway. Now the
"array set" command will return an error in this case. Added test
case and fixed existing test. [Bug: 2427]
|
|
|
|
| |
makefile to use 1.1 instead of 1.0.
|
| |
|
|
|
|
| |
makefile.vc: fixed calling tcltest.exe
|
| |
|
|
|
|
|
|
|
|
|
| |
the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj,
Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange,
Tcl_AppendUnicodeToObj.
Note: some stringObj tests are still failing--the teststringobj command
still needs to be updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclVar.c (Tcl_SetVar2Ex):
* generic/tclStringObj.c (Tcl_AppendObjToObj):
* generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string
index, string length, string range, and append command in cases
where the object's internal rep is a bytearray. Objects with
other internal reps are converted to have the new unicode internal
rep.
* unix/Makefile.in:
* win/Makefile.in:
* win/Makefile.vc:
* tests/unicode.test:
* generic/tclInt.h:
* generic/tclObj.c:
* generic/tclUnicodeObj.c: added a new object type to store the
unicode representation of a string.
* generic/tclTestObj.c: added the objtype option to the testobj
command. This option returns the name of the type of internal rep
an object has.
|
| |
|