| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
did for MinGW lack of missing LPFN_* typedefs in their WINE derived
winsock2.h
|
| |
|
| |
|
| |
|
|
|
|
|
| |
is the correct one to use across the Tcl sources. Even though we do
force it in tcl.h, the true parent one is __WIN32__.
|
| |
|
|
|
|
|
|
| |
couldn't take variables within it under the watcom compiler.
I believe Borland has this strictness as well. VC++ must be
non-standard about this.
|
|
|
|
| |
bugs discussed in [Bug 411825].
|
| |
|
|
|
|
| |
follow soon.
|
| |
|
|
|
|
| |
has a bug in its preprocessor and can't build Tcl even with this minor patch.
|
| |
|
| |
|
|
|
|
| |
functions between stubs tables by just copying them about.
|
| |
|
| |
|
|
|
|
| |
Also, fixed the Bug #788780.
|
| |
|
|
|
|
| |
created in the previous code cleanup.
|
| |
|
|
|
|
|
| |
* win/tcl.m4 (SC_ENABLE_SYMBOLS): Use test instead
of -eq, which does not work. [Bug 781109]
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* library/msgcat/pkgIndex.tcl: platforms do not try to use the
registry package. This can save a costly and pointless package
search. Bumped to 1.3.1. Thanks to "imdave1". [Bug 781609].
|
|
|
|
|
|
|
|
| |
added a Tcl_ResetResult(interp) at each point where the interp's
result is pushed onto the stack, to avoid keeping an extra
reference that may cause costly Tcl_Obj duplication [Bug 781585]
Detected by Franco Violi, analyzed by Peter Spjuth and Donal
Fellows.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
since it made the sizeof(Tcl_Obj) different for
regular vs mem debug builds.
* generic/tclInt.h: Define TclDecrRefCount in terms
of Tcl_DbDecrRefCount which removes one layer of
inderection.
* generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount,
Tcl_DbDecrRefCount, Tcl_DbIsShared):
Define ThreadSpecificData that contains a hashtable.
The table is used to ensure that a Tcl_Obj is only
acted upon in the thread that allocated it. This
checking code is enabled only when mem debug and
threads are enabled.
|
|
|
|
|
|
|
|
|
|
| |
* tests/basic.test: Bug 489537, Tcl's longstanding failure to
* tests/dict.test: properly quote any leading '#' character
* tests/dstring.test: when generating the string rep of a list
* tests/list.test: so that the comment-power of that character
* tests/parse.test: is hidden from any [eval], in order to
* tests/util.test: satisfy the documentation that [list] does
[eval]-safe quoting.
|
|
|
|
| |
* tests/pkgMkIndex.test: Added a test for [pkg_mkIndex -verbose].
|
| |
|
|
|
|
| |
* library/reg/pkgIndex.tcl:
|
|
|
|
| |
targets for compatibility with non-gnu makes.
|
| |
|
|
|
|
| |
registry set command to fail when built with VC7.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the ref count of a Tcl_Obj is the thread that
originally allocated the thread. This fail fast
behavior will catch programming errors that
allow a single Tcl_Obj to be accessed from multiple
threads.
* generic/tcl.h (Tcl_Obj): Add allocThread member
to Tcl_Obj. This member records the thread id the
Tcl_Obj was allocated. It is used to check that
any future ref count incr or decr is done from
the same thread that allocated the Tcl_Obj.
This member is defined only when threads and
mem debug are enabled.
* generic/tclInt.h (TclNewObj, TclDbNewObj,
TclDecrRefCount):
Define TclNewObj and TclDbNewObj using TclDbInitNewObj
when mem debug is enabled. This fixes a problem where
TclNewObj calls did not work the same as TclDbNewObj
when mem debug was enabled.
* generic/tclObj.c (TclDbInitNewObj, Tcl_DbIncrRefCount,
Tcl_DbDecrRefCount): Add new helper to init Tcl_Obj
members when mem debug is enabled. Init the allocThread
member in TclDbInitNewObj and check it in
Tcl_DbIncrRefCount and Tcl_DbDecrRefCount to make sure
a Tcl_Obj allocated in one thread is not being acted
upon in another thread.
|
| |
|
| |
|
|
|
|
| |
in addition to default html help.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* library/tcltest/tcltest.tcl: the [::puts] command when either the
-output or -error option for [test] is in use, in order to capture
data written to the output or error channels for comparison against
what is expected. This is easier to document and agrees better with
most user expectations than the previous attempt to replace [puts]
only in the caller's namespace. Documentation made more precise on
the subject. [Bug 706359]
|
|
|
|
|
| |
* library/http/http.tcl: add support for user:pass info in URL.
* tests/http.test: [Bug 759888] (shiobara)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/CrtTrace.3: by using "null" everywhere to refer to
* doc/Encoding.3: the character '\0', and using "NULL"
* doc/Eval.3: everywhere to refer to the value of a
* doc/GetIndex.3: pointer that points to nowhere.
* doc/Hash.3: Also dropped references to ASCII that
* doc/LinkVar.3: are no longer true, and standardized on
* doc/Macintosh.3: the hyphenated spelling of "null-terminated".
* doc/OpenFileChnl.3:
* doc/SetVar.3:
* doc/StringObj.3:
* doc/Utf.3:
|
|
|
|
| |
deprecation (no TIP on that).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* generic/tclPathObj.c (SetFsPathFromAny): Add Cygwin specific
code to convert POSIX filename to native format.
* generic/tclFileName.c (Tcl_TranslateFileName): And remove from here.
(TclDoGlob): Adjust for cygwin and append / for dirs instead of \
* win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin.
[Patch 679315]
|