| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
targets for compatibility with non-gnu makes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
configure detects non-functional chflags(). [Bug 748946]
* macosx/Makefile: Rewrote buildsystem for Mac OS X framework build
to be purely make driven; in order to become independent of Apple's
closed-source IDE and build tool. The changes are intended to be
transparent to the Makefile user, all existing make targets and
cmd line variable overrides should continue to work.
Changed build to only include tcl specific html help in Tcl.framework,
the tk specific html help is now included in Tk.framework.
Added var to allow overriding of tclsh used during html help
building (Landon Fuller).
* macosx/Tcl.pbproj/project.pbxproj:
* macosx/Tcl.pbproj/jingham.pbxuser: Changed to purely call through
to the make driven buildsystem; Tcl.framework is no longer assembled
by ProjectBuilder.
Set default SYMROOT in target options to simplify setting up PB
(manually setting common build folder for tcl & tk no longer needed).
* tools/tcltk-man2html.tcl: Added options to allow building only the
tcl or tk html help files; the default behaviour with none of the new
options is to build both, as before.
* unix/Makefile.in: Added targets for building only the tcl or tk help.
* macosx/README (new): Tcl specific excerpts of tk/macosx/README.
* generic/tcl.h: Updated reminder comment about editing
macosx/Tcl.pbproj/project.pbxproj when version number changes.
|
|
|
|
| |
and tricky enough to discourage non-specialists...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.h: 'tip-59-implementation' branch into the CVS
* generic/tclBasic.c: head. Regenerated stub table. Regenerated
* generic/tclInt.h: the configure's scripts, with help from Joe
* generic/tclDecls.h English.
* generic/tclStubInit.c:
* generic/tclConfig.c:
* generic/tclPkgConfig.c:
* unix/Makefile.in:
* unix/configure.in: The changes in the windows section are not
* unix/tcl.m4: yet committed, they await feedback from
* unix/mkLinks: David Gravereaux.
* doc/RegConfig.3:
* mac/tclMacPkgConfig.c:
* tests/config.test:
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclFCmd.c (TclFileAttrsCmd): return the list of attributes
that can be retrieved without error for a given file, instead of
aborting the whole command when any error occurs.
* unix/tclUnixFCmd.c: added support for new file attributes and for
copying Mac OS X file attributes & resource fork during [file copy].
* generic/tclInt.decls: added declarations of new external commands
needed by new file attributes support in tclUnixFCmd.c.
* macosx/tclMacOSXFCmd.c (new): Mac OS X specific implementation of
new file attributes and of attribute & resource fork copying.
* mac/tclMacFCmd.c: added implementation of -rsrclength attribute &
fixes to other attributes for consistency with OSX implementation.
* mac/tclMacResource.c: fixes to OSType handling.
* doc/file.n: documentation of [file attributes] changes.
* unix/configure.in: check for APIs needed by new file attributes.
* unix/Makefile.in:
* unix/tcl.m4: added new platform specifc tclMacOSXFCmd.c source.
* unix/configure:
* generic/tclStubInit.c:
* generic/tclIntPlatDecls.h: regen.
* tools/genStubs.tcl: fixes to completely broken code trying to
prevent overlap of "aqua", "macosx", "x11" and "unix" stub entries.
* tests/unixFCmd.test: added tests of -readonly attribute.
* tests/macOSXFCmd.test (new): tests of macosx file attributes and
of preservation of attributes & resource fork during [file copy].
* tests/macFCmd.test: restore -readonly attribute of test dir, as
otherwise its removal can fail on unices supporting -readonly.
|
| |
|
|
|
|
| |
declaration and stubs entries.)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LIBS, and DL_LIBS separately. Instead, just
subst TCL_LIBS since it includes the others.
* unix/configure: Regen.
* unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS):
Set and subst TCL_LIBS in SC_CONFIG_CFLAGS instead
of SC_TCL_LINK_LIBS. Don't subst MATH_LIBS
since it is now covered by TCL_LIBS.
* unix/tclConfig.sh.in: Use TCL_LIBS instead
of DL_LIBS, LIBS, and MATH_LIBS.
* unix/dltest/Makefile.in: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TCL_DEBUG_IDENT, used only by TclpCreateProcess.
* unix/Makefile.in: Define TCL_DBGX.
* win/Makefile.in: Define TCL_DBGX.
* win/tclWinPipe.c (TclpCreateProcess):
Check that the Tcl pipe dll actually exists
in the Tcl bin directory and panic if it
is not found. Incorporate TCL_DBGX into
the Tcl pipe dll name. This fixes a really
mysterious error that would show up when
exec'ing a 16 bit application under Win95
or Win98 when Tcl was compiled with symbols.
The error seemed to indicate that the executable
could not be found, but it was actually the
Tcl pipe dll that could not be found.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* unix/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.
* unix/configure: regen
* unix/configure.in: removed SC_ENABLE_MEMDEBUG call
* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
|
|
|
|
| |
do not generate .Z anymore (just .gz and .zip).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and set it to default value ${LIB_RUNTIME_DIR}
* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
LIB_RUNTIME_DIR in the -install_name argument to ld.
* unix/configure: regen.
* macosx/Tcl.pbproj/project.pbxproj:
* macosx/Makefile: added support for building Tcl as an embedded
framework, i.e. using an dyld install_name containing
@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
unix/Makefile variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls: added new macosx specific entry to stubs table.
* tools/genStubs.tcl: added generation of platform guards for
macosx. This is a little more complex than it seems, because MacOS
X IS "unix" plus a little bit, for the purposes of Tcl. BUT
unfortunately, Tk uses "unix" to mean X11. So added platform keys
for macosx (the little added to "unix"), "aqua" and "x11" to
distinguish these for Tk.
* generic/tcl.h: added a #ifnded RESOURCE_INCLUDED so that tcl.h
can be passed to the resource compiler.
* generic/tcl.h:
* generic/tclNotify.c: added a few Notifier procs, to be able to
modify more bits of the Tcl notifier dynamically. Required to get
Mac OS X Tk to live on top of the Tcl Unix threaded notifier.
Changes the size of the Tcl_NotifierProcs structure, but doesn't
move any elements around.
* unix/tclUnixNotfy.c: moved the call to Tcl_ConditionNotify till
AFTER we are done mucking with the pointer swap. Fixes cases where
the thread waiting on the condition wakes & accesses the
waitingListPtr before it gets reset, causing a hang.
* library/auto.tcl (tcl_findLibrary): added checking the
directories in the tcl_pkgPath for library files on macosx to
enable support of the standard Mac OSX library locations
* unix/Makefile.in:
* unix/configure.in:
* unix/tcl.m4: added MAC_OSX_DIR. Added PLAT_OBJS to the OBJS:
there are some MacOS X specific files now for Tcl, and when I get
he resource & applescript stuff ported over, and restore support
for FindFiles, etc, there will be a few more.
Added LD_LIBRARY_PATH_VAR configure variable to avoid having to set
all possible LD_LIBRARY_PATH analogues on all platforms.
LD_LIBRARY_PATH_VAR is "LD_LIBRARY_PATH" by default, "LIBPATH" on
AIX, "SHLIB_PATH" on HPUX and "DYLD_LIBRARY_PATH" on Mac OSX.
Added configure option to package Tcl as a framework on Mac OSX.
* macosx/tclMacOSXBundle.c (new): support for finding Tcl extension
packaged as 'bundles' in the standard Mac OSX library locations.
* unix/tclUnixInit.c: added support for findig the tcl script
library inside Tcl packaged as a framework on Mac OSX.
* macosx/Tcl.pbproj/jingham.pbxuser (new):
* macosx/Tcl.pbproj/project.pbxproj (new): project for Apple's
ProjectBuilder IDE.
* macosx/Makefile (new): simple makefile for building the project
from the command line via the ProjectBuilder tool 'pbxbuild'.
* unix/configure:
* generic/tclStubInit.c:
* generic/tclPlatDecls.h: regen
|
|
|
|
|
|
|
|
|
|
| |
* unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@.
* win/configure.in:
* unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG.
* win/tcl.m4:
* unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of
configure to (de)activate memory validation and debugging
(TCL_MEM_DEBUG). No need to modify the makefile anymore.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
|
|
|
|
|
|
| |
LD_SEARCH_FLAGS when linking with ${CC}.
* unix/configure: Regen.
* unix/configure.in: Don't subst CC_SEARCH_FLAGS or
LD_SEARCH_FLAGS since this is now done in tcl.m4.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Document and
set CC_SEARCH_FLAGS whenever LD_SEARCH_FLAGS is set.
[Tcl patch 588290]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
since it was incorrect and broke the build on
other systems. Fix Tcl bug 587299.
Add MAJOR_VERSION, MINOR_VERSION, PATCH_LEVEL,
SHLIB_LD_FLAGS, SHLIB_LD_LIBS, CC_SEARCH_FLAGS,
LD_SEARCH_FLAGS, and LIB_FILE variables to support
more generic library build/install rules.
* unix/configure: Regen.
* unix/configure.in: Move AC_PROG_RANLIB into
tcl.m4. Move shared build test and setting
of MAKE_LIB and MAKE_STUB_LIB into tcl.m4.
Move subst of a number of variables into
tcl.m4 where they are defined.
* unix/tcl.m4 (SC_ENABLE_SYMBOLS, SC_CONFIG_CFLAGS):
Subst vars where they are defined. Add MAKE_LIB,
MAKE_STUB_LIB, INSTALL_LIB, and INSTALL_STUB_LIB
rules to deal with the ugly details of running
ranlib on static libs at build and install time.
Replace TCL_SHLIB_LD_EXTRAS with SHLIB_LD_FLAGS
and use it when building a shared library.
* unix/tclConfig.sh.in: Add TCL_CC_SEARCH_FLAGS.
|
|
|
|
|
|
|
|
| |
* unix/configure.in: corrected fix for [Bug 529801]: ranlib
only needed for static builds on Mac OS X.
* unix/configure: Regen.
* unix/tclLoadDyld.c: fixed small bugs introduced by Vince,
implemented library unloading correctly (needs OS X 10.2).
|
|
|
|
| |
avoid printing unless ranlib is actually run.
|
| |
|
|
|
|
|
| |
* win/Makefile.in: Add a more descriptive warning
in the event `make genstubs` needs to be rerun.
|
|
|
|
|
|
|
|
| |
to keep track of when the dltest package
is up to date. This fixes [Tcl bug 575768]
since tcltest is no longer linked every time.
* unix/dltest/Makefile.in: Create ../dltest.marker
after a successful `make all` run in dltest.
|
|
|
|
| |
Added targets to unix/Makefile.in to facilitate testing of this situation.
|
|
|
|
|
|
|
|
| |
* tests/pkg1/pkgIndex.tcl: removed
* tests/pkgMkIndex.test: Imported auxilliary files from tests/pkg1
into the test file pkgMkIndex.test itself. Formatting fixes.
* unix/Makefile.in: removed tests/pkg/* from `make dist`
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure.in: Added support for symlinks and compression
* unix/Makefile.in: when installing the manpages. [Patch 518052]
* unix/mkLinks.tcl: Default is still hardlinks and no compression.
* unix/mkLinks: generated
* unix/configure:
* unix/README: Added documentation for the new features.
|
|
|
|
|
| |
versions of the packages. Added tcltest package to installation on
Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
added mutex wrapped calls to readdir, localtime & gmtime in
case their thread-safe *_r counterparts are not available.
* unix/tcl.m4: added configure check for readdir_r
* unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on
MacOSX (where posix file apis expect utf-8, not iso8859-1).
* unix/configure: regen
* unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel
to LD_LIBRARY_PATH for MacOSX dynamic linker.
* generic/tclEnv.c (TclSetEnv): fix env var setting on
MacOSX (adapted from patch #524352 by jkbonfield).
|
|
|
|
|
|
|
|
| |
TclMathInProgress and Unix implementation of matherr(). These
are now obsolete, dealing with very old versions of the C math
library. Windows version is retained in case Borland compilers
require it, but it is inactive. Thanks to Joe English.
[Bug 474335, Patch 555635].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
|
|
|
| |
but people might find them convenient.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
into tcltest executable to avoid crashes caused
by ld loading a previously installed version
of the tcl shared library.
|
|
|
|
| |
working files. It should operate on distributed files. [Bug 495120]
|
|
|
|
|
| |
fix problem where lib files were not getting
built because dltest/ directory already existed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
simply does a cd to dltest/ before running make.
There is no need for the separate configure
script that was previously being used.
* unix/configure: Regen.
* unix/configure.in: Subst into dltest/Makefile.
* unix/dltest/Makefile.in: Define LIBS using
DL_LIBS, LIBS, and MATH_LIBS variables instead
of TCL_LIBS variable from tclConfig.sh.
* unix/dltest/README: Update readme to account for new
configure free implementation.
* unix/dltest/configure: Removed.
* unix/dltest/configure.in: Removed.
|
|
|
|
|
|
|
|
| |
TCL_EXE and when it should be available.
* win/Makefile.in: Add TCL_EXE variable to be used
by rules like `make genstubs`. Don't set TCL_LIBRARY
before running `make genstubs` since we will be running
with a tclsh from the PATH not the one we build.
|
|
|
|
|
|
|
|
|
|
| |
*unix/configure.in:
*unix/install-sh:
*unix/mkLinks:
*unix/mkLinks.tcl:
*unix/tclLoadDyld.c:
*unix/tclMtherr.c: Mac OSX support: build system, dynamic code loading
and support for case-insensitive filesystems in mkLinks (patch #435258)
|
|
|
|
|
| |
* unix/Makefile.in: added EOL correction for Windows bat files to
dist target. [Bug #219409] (davygrvy)
|
|
|
|
|
| |
* win/Makefile.in: Add "make gdb" target. This target
can run tclsh inside either gdb or insight.
|
|
|
|
|
|
|
|
| |
* unix/dltest/Makefile.in:
Avoid adding libc to the LIBS variable since it
is not needed when linking with CC. If required
when linking with LD it should be done on a case
by case basis in tcl.m4.
|
|
|
|
|
|
|
|
|
| |
* win/Makefile.in:
Print a message indicating that the user should
run "make genstubs" when the generated tclStubInit.c
file is out of date. We can't regenerate automatically
since there may be no tclsh on the system and that
would cause bootstrap problems. [Tcl bug 465874]
|
|
|
|
|
|
| |
* win/Makefile.in: Use () around variable name
instead of {}. Use TCLTEST variable directly
instead of depending on the tcltest alias.
|