| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* macosx/tclMacOSXBundle.c: added extended version of the
Tcl_MacOSXOpenBundleResources() API taking an extra version number
argument: Tcl_MacOSXOpenVersionedBundleResources().
This is needed to be able to access bundle resources in versioned
frameworks such as Tcl and Tk, otherwise if multiple versions were
installed, only the latest version's resources could be accessed.
[Bug 736774]
* unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned
bundle resource API to get tcl runtime library for TCL_VERSION.
[Bug 736774]
* generic/tclPlatDecls.h:
* generic/tclStubInit.c: regen.
* unix/tclUnixPort.h: worked around the issue of realpath() not
being thread-safe on Mac OS X by defining NO_REALPATH for threaded
builds on Mac OS X. [Bug 711232]
FossilOrigin-Name: 20ac4d51bfba12695e48058a436aa30b2fee1603
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/package.tcl (tclPkgUnknown): on macosx, search inside the
Resources/Scripts subdirectory of any potential package directory
* macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs
to TCL_PACKAGE_PATH make argument.
* unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded
framework dirs to tcl_pkgPath: @executable_path/../Frameworks and
@executable_path/../PrivateFrameworks (if they exist), as well as
the dirs in DYLD_FRAMEWORK_PATH (if set). [Patch #624509]
use standard MAXPATHLEN instead of literal 1024
FossilOrigin-Name: eacf3ad5d55c92db60d59e48f89d2669fb8685be
|
|
|
|
|
|
| |
function only appear when HAVE_CFBUNDLE is defined.
FossilOrigin-Name: 7d7782e59a9b4b90d42b73c86fd3e421d1b1bc81
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
FossilOrigin-Name: ac07f034c74f71777e9da22338ccbace40e9984a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* djgpp/Makefile (new):
* unix/tclAppInit.c:
* unix/tclMtherr.c:
* unix/tclUnixFCmd.c:
* unix/tclUnixFile.c:
* unix/tclUnixInit.c:
* unix/tclUnixPort.h: Early stage of DJGPP support for building
Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32
for the TCP/IP stack. No autoconf, yet. Barely tested, but
makes a working exe that runs Tcl in protected-mode, flat memory.
[exec] and pipes will need the most work as multi-tasking on DOS
has to be carefully.
FossilOrigin-Name: 58a026b69c9d29a1332cd0f3a87386fdcf5f240f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: bb1a244cde9f05a5477cf5dd8e8ab44cd978459f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
FossilOrigin-Name: fceed15544ad472b748cdf463c3b4005e83b5e8f
|
|
|
|
|
|
|
|
|
|
| |
from 2001-11-16 that uses the old Tcl encoding check mechanism as
a fallback to the original. Also added a TCL_DEFAULT_ENCODING
#define (defaults to iso8859-1). Tcl will first try setlocale and
nl_langinfo, and if that fails, guess based on certain LANG|LC_*
env vars. [Patch #418645]
FossilOrigin-Name: 8b6064c1b36e679044ba8c60954cc1369e76e490
|
|
|
| |
FossilOrigin-Name: e88189b8aad3af581174b8aadacabc5a36bec127
|
|
|
|
|
| |
for gb2312
FossilOrigin-Name: e4fff81c132ff09bee708269f0d76f5afc0868d5
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/configure: regened
* unix/configure.in: added SC_ENABLE_LANGINFO call
* unix/tcl.m4: made SHLIB_LD_LIBS='${LIBS}' for FreeBSD* (meyer)
Added modified version of Wagner patch to make use of nl_langinfo
where possible to determine Unix platform encoding, instead of the
inflexible built-in system. This is used by default when
possible, and can be disabled with --enable-langinfo=no.
[Patch #418645] (hobbs, wagner)
FossilOrigin-Name: 405bb72939a00b9a94cca28cdc91835c4211a155
|
|
|
|
|
|
|
|
| |
inconsistency between the search path for script libraries and
the directory name $DISTNAME into which distributions built
by 'make test' unpack. [Bug 455642]
FossilOrigin-Name: 787474d7135d9d497ad0b1009d2bdedb4dcff987
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
FossilOrigin-Name: 9461aca54800a289624dfe39d333e41e20168ac3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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]
FossilOrigin-Name: f57006f0ca98fe1b44fd3b2d333f86e72550c787
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/unixInit.test:
* unix/tclUnixInit.c (TclpInitLibraryPath):
* win/tclWinInit.c (TclpInitLibraryPath): Several entries in
the library path ($tcl_libPath) are determined relative to the
absolute path of the executable. When the executable is
installed in or near the root directory of the file system,
relative pathnames were being incorrectly generated, and in
the worst case, memory access violations were crashing the program.
[Bug 119416, Patch 102972]
FossilOrigin-Name: b363b69d1555d39a1a0be04e8f16c9ddec0ab8bb
|
|
|
|
|
|
| |
"ja_JP.eucJP" to "euc-jp". (takahashi)
FossilOrigin-Name: e102dff84946a58b99dd9c4c222632467192b659
|
|
|
|
|
|
|
|
|
|
| |
specific return values from strftime, if any. [Bug: 3345]
* unix/tclUnixInit.c (TclpSetInitialEncodings): attempt to
correct setlocale calls for XIM support and locale issues.
[BUG: 5422 3345 4236 2522 2521]
FossilOrigin-Name: 7395d091042c6e87d0137aa359c0684f9f762879
|
|
|
|
|
|
|
|
|
|
| |
* unix/tclAppInit.c: identified potential mem leak when compiling
tcltest (not critical)
* unix/tclUnixPipe.c: fixed mem leak in TclpCreateProcess when
doing alloc between vfork and execvp.
* unix/tclUnixTest.c: fixed mem leak in findexecutable test command
FossilOrigin-Name: 51f678993b1c39c61b67d5eeaceba4154b1bf566
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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]
FossilOrigin-Name: 589cb7ba77c5ab4acc9acaf8db1a747055dec61b
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tclUnixInit.c: merged code with 8.0.5. We now use an
intermediate global tcl var "tclDefaultLibrary" to keep the
"tcl_library" var from being set by the default value in the
Makefile. Also fixed a bug in which caused the value of
TCL_LIBRARY env var to be ignored.
* unix/tclWinInit.c: just updated some comments.
FossilOrigin-Name: 0d9e2ba09f2c97ca092a6cc055bebc33e8dbced7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tclAppInit.c: Minor cleanup related to Xt notifier.
* unix/tclUnixInit.c (TclpSetInitialEncodings): Tcl now looks for
an encoding subfield in the LANG/LC_ALL variables in cases where
the locale is not found in the locale table. Ensure that
setlocale() is called at least once so X11 will initialize
properly. Also, forces the LC_NUMERIC locale to be "C" so numeric
processing in scripts is not affected by the current locale
setting. [Bug: 1989]
FossilOrigin-Name: 6ea73d3f197450d81f39c91b71c1527d17d20f80
|
|
|
|
|
|
|
| |
* unix/tclUnixInit.c: Changed initial search path to match that
found used by tcl_findLibrary.
FossilOrigin-Name: 1ae80ecdacb586c4ac151615f7190e54b7793ddf
|
|
|
| |
FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
|
|
|
| |
FossilOrigin-Name: 19696933517612024e7dbcfee6e3c8d3b4e41772
|
|
|
| |
FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
|
|
|
| |
FossilOrigin-Name: 0724b4c3930be212fb1b296ab99183f7b53b0ece
|
|
|
| |
FossilOrigin-Name: 8fd9d077fb9813b93b5620e2154c1a8aa7aa8fa6
|
|
|
| |
FossilOrigin-Name: e22cd8e589ba17053ee0f216c117a25993df5183
|
|
|
|
|
|
| |
Added error checking in in Tcl_Init() for pre-initialization script.
FossilOrigin-Name: fdac034c860f72b7a7c0ff10e74680ade7ba7cad
|
|
|
|
|
|
|
|
| |
iable and if set to a non-NULL value, will be evaluated just before the
built-in script given in the file (variable) "generic/tclInitScript.h"
("initScript").
FossilOrigin-Name: a2052492c096691a9478562da3058762dbc9de8d
|
|
|
| |
FossilOrigin-Name: 594ce53543ab0e1e09fe7eabec3e198a06256812
|
|
|
| |
FossilOrigin-Name: 397fdc3b99cff5e4c68cf350a0ba02cb96758f6e
|
|
|
|
|
|
| |
other locations for the "tk.tcl" file. This facilitates application packaging.
FossilOrigin-Name: 7c17f18f00c55bae1d2ea92f1b24de7ec8997652
|
|
|
|
|
|
| |
large enough for any TCL_LIBRARY or TCL_PACKAGE_PATH
FossilOrigin-Name: 88ca5c55fd0426021ff0f8e3bfe282a58ee2160b
|
|
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a
|