summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Silence some compiler warnings.dgp2013-01-243-0/+11
|
* Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or ↵jan.nijtmans2013-01-231-1/+5
| | | | -1. Undocumented, because I don't want to promote people start using that.
* Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-163-13/+12
| | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
* Extend the public and private stub tables with dummy NULL entries, up to the ↵jan.nijtmans2013-01-075-22/+457
| | | | | size of the Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.5/8.6 features but (erroneously) are attempted to be loaded in Tcl 8.4.
* test case for bug-3598580: Tcl_ListObjReplace may release deleted elements ↵jan.nijtmans2013-01-031-0/+11
| | | | too early
* Don't free ctrl.script if thread creation fails: it is a constant string ↵jan.nijtmans2013-01-021-1/+0
| | | | "testthread wait" normally.
* [Bug 3598580]: Tcl_ListObjReplace may release deleted elements too early jan.nijtmans2012-12-271-2/+4
| | | | | Tests!? Where are the tests!?! They are in test listobj-11.1
* Turn pkgb.so into a Tcl9 interoperability test library: Whatever Tcl9 looks ↵jan.nijtmans2012-12-211-24/+9
| | | | | like, loading pkgb.so in Tcl 9 should either result in an error-message, either succeed, but never crash. Eliminate unnessarcy static HasStubSupport() and isDigit() functions, just do the same inline.
* Restore clarity to macro test.dgp2012-12-131-1/+1
|
* Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
| | | | outside variable names
* Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice.jan.nijtmans2012-12-131-4/+7
|
* Restore the initialization of tclStubsPtr from the "Tcl" package clientDatadgp2012-12-101-2/+3
| | | so that we don't close off a potential avenue of future innovations.
* only set tclStubsPtr if all version checks pass. Backported from tcl 8.5.jan.nijtmans2012-12-071-43/+62
|
* 3588687 When detecting incompatibility during stubs initialization, the errordgp2012-11-291-1/+1
| | | | message has always assumed a stubs-disabled 8.0 interp to be the cause. That's no longer a good assumption. More suitable error message committed.
* Fix bug reported by Brian Griffin:jan.nijtmans2012-11-221-4/+0
| | | <p>[http://code.activestate.com/lists/tcl-core/12524/]
* More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-1520-784/+27
| | | | systems.
* Fix bug in genStubs.tcl: If the macosx section doesn't contain any ↵jan.nijtmans2012-11-151-1/+1
| | | | | macosx-specific entries, no section at all is created <p>revert previous workaround in tclInt.decls
* add missing macosx sectionsjan.nijtmans2012-11-153-1/+198
|
* Remove all the long dead mac entries in tcl*.decls filesjan.nijtmans2012-11-156-523/+67
| | | | <p>backport genStubs::forAllStubs function, to generate dummy entries for some MAC_TCL entries <p>re-generate all tcl*Decls.h files.
* 3587242 Missing Tcl_MutexUnlock() call made [testasync create] block.dgp2012-11-141-0/+1
|
* Add dummy 0 parameter (unused flags) to internal Tcl_FSLoadFileProc call, ↵jan.nijtmans2012-10-242-2/+6
| | | | for upwards compatibility with version 2 filesystems
* When checking for std channels being closed, compare the channel state,dgp2012-10-031-20/+24
| | | not the channel itself so that stacked channels do not cause trouble.
* Reference to correct Bug #numberjan.nijtmans2012-08-064-4/+4
|
* Support Unicode 6.2 (Add Turkish lira sign)jan.nijtmans2012-07-272-2/+2
|
* Preserve the chanPtr so that script evaluation cannot invalidate it whendgp2012-07-241-0/+2
| | | we plan to use it again.
* backport [e393e41a8d]: Fix several more missing mutex-locks in TestasyncCmdjan.nijtmans2012-07-201-5/+28
|
* protect Tcl_GetIndexFromObjStruct from empty strings in tablejan.nijtmans2012-07-051-6/+15
|
* fix some gcc 64-bit warningsjan.nijtmans2012-06-261-4/+4
| | | quoting improvements
* Purge more dead fs path code.dgp2012-06-201-17/+7
|
* ...and one more line.dgp2012-06-201-1/+0
|
* Remove dead code that complicates fs path values but adds no value.dgp2012-06-201-31/+10
|
* On Cygwin, use win32 API in stead of uname() to determine the tcl_platform ↵jan.nijtmans2012-06-062-5/+5
| | | | variables
* Take cygwin handling of X11 into accountjan.nijtmans2012-05-243-4/+20
| | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
* Revert most of [ae92de6078], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-225-509/+250
| | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
* When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer,dgp2012-05-212-3/+3
| | | | | care must be taken that the value cannot possibly become pure Unicode. Calling Tcl_AppendToObj() has the possibility of making such a conversion. Bug found while valgrinding the trunk.
* revert part of [9922ac54e8]: remove Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-143-44/+43
| | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table, instead let cygwin make use of the win32 stub table
* move TCHAR definition for Cygwin from tclUnixPort.h to tclPlatDecls.h, jan.nijtmans2012-05-072-12/+9
| | | so it can be used for the Plat* interfaces as well
* don't try to run the cpuid test if cpuid is not availablejan.nijtmans2012-05-031-4/+6
|
* Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-038-248/+109
| | | Simplify stub tables for functions which work on both UNIX and windows
* move some more CYGWIN stuff to unix/tclUnixPort.hjan.nijtmans2012-05-031-3/+1
|
* compiler warningjan.nijtmans2012-04-261-1/+1
|
* [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-04-244-51/+183
|\ | | | | | | Implement TclWinGetSockOpt, TclWinGetServByName and TclWinCPUID for Cygwin
| * oops, wrong signaturejan.nijtmans2012-04-241-1/+1
| |
| * implement TclWinGetSockOpt and TclWinGetServByName for cygwijan.nijtmans2012-04-243-52/+104
| | | | | | (should work, but not yet tested on UNIX)
| * merge trunkjan.nijtmans2012-04-2423-85/+87
| |\ | |/ |/|
* | make some more internal tables constjan.nijtmans2012-04-2313-59/+61
| | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
* | make some more internal tables CONSTjan.nijtmans2012-04-1811-26/+26
| | | | | | fix compilation with -DNO_CONST
| * merge core-8-4-branchjan.nijtmans2012-04-114-38/+8
| |\ | |/ |/|
* | [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-13/+7
| |
* | tclStubInit.c: move up #undef, so it is clear that thisjan.nijtmans2012-04-043-25/+1
| | | | | | | | macro is conflicting with another definition in this file. Fix some other gcc warnings