| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/rules.vc: Fixed INSTALLDIR macro problem that blanked itself
by accident causing the install target to put the tree at the root
of the drive built on. Whoops..
Renamed the 'linkexten' option to be 'staticpkg'. Added 'thrdalloc'
to allow the switching _on_ of the thread allocator. Under testing,
I found it not to be benificial under windows for the purpose of the
application I was using it for. It was more important for this app
that resources for tcl threads be returned to the system rather than
saved/moved to the global recycler. Be extra clean or extra fast
for the default threaded build? Let's move to clean and allow it to
be switched on for users who find it benificial for their use of
threads.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set.
* win/makefile.vc:
* win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES
macro which also adds the registry and dde object files to the link
of the shell. [Patch 479697] Also factored some additional macros
that will be helpful for extension authors. Version grepping of tcl.h
will need to be added to complete this.
* win/buildall.vc.bat: Added more descriptive commentary.
|
|
|
|
| |
to handle this. [Bug 618019]
|
|
|
|
|
|
|
|
| |
* win/configure:
* win/configure.in:
* win/Makefile.in:
* win/makefile.vc:
* win/makefile.bc: Updated to reg1.1
|
|
|
|
| |
when TCL_THREADS is defined.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: HEAD from the 8.4b2 release.
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/README.binary:
* win/configure.in:
* unix/configure: autoconf
* win/configure:
* library/http/http.tcl: Corrected installation directory of
* library/msgcat/msgcat.tcl: the package tcltest 2.2. Added
* library/opt/optparse.tcl: comments in other packages to remind
* library/tcltest/tcltest.tcl: that installation directories need
* unix/Makefile.in: updates to match increasing version
* win/Makefile.in: numbers. [Bug 597450]
* win/makefile.bc:
* win/makefile.vc:
|
|
|
|
|
| |
versions of the packages. Added tcltest package to installation on
Windows.
|
|
|
|
| |
Changes from Peter Spjuth <peter.spjuth@space.se>.
|
| |
|
|
|
|
| |
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/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
|