summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Oops! [Bug 2960852]dkf2010-02-281-9/+12
|
* More additions of {TCL LOOKUP} error-code generation to various subcommands ofdkf2010-02-281-1/+9
| | | | [info] as part of long-term project to classify all Tcl's generated errors.
* Fix Bug #2959713: Link error with gcc 4.1nijtmans2010-02-281-1/+2
|
* Only look for the needle when it fits in the haystack. [Bug 2960021]dkf2010-02-271-3/+13
|
* * generic/tclMain.c (Tcl_Main): [Bug 801429]: Factor out the holding of thedkf2010-02-271-34/+70
| | | | | | | | | | client-installed main loop function into thread-specific data. ***POTENTIAL INCOMPATIBILITY*** Code that previously tried to set the main loop from another thread will now fail. On the other hand, there is a fairly high probability that such programs would have been failing before due to the lack of any kind of inter-thread memory barriers guarding accesses to this part of Tcl's state.
* Split tclCompCmds.c into two pieces to improve developer sanity.dkf2010-02-262-3541/+3874
|
* [ tcl-Feature Requests-2958832 ] Furthernijtmans2010-02-257-110/+119
| | | | | | speed-up of ouster-hash function. Eliminate various unnecessary (ClientData) type casts.
* Convert many multi-line macros to use the best-practice do-while(0) formdkf2010-02-251-151/+183
|
* Correct silly error with missing semicolonsdkf2010-02-251-3/+3
|
* Fix some nasties with handling duplicate keys in list->dict->list conversions.dkf2010-02-242-4/+14
|
* Reduce ifdef-fery and size of activation record. More variables shared acrossdkf2010-02-241-603/+449
| | | | instructions than before.
* More tidying up (whitespace, spelling, useless parentheses, useless casts)dkf2010-02-2424-427/+465
|
* Pure whitespace changes, changing to follow Engineering Manual style.dkf2010-02-2420-137/+137
|
* * generic/tclZlib.c (ZlibTransformInput): [Bug 2742041]: Added aandreas_kupries2010-02-221-3/+22
| | | | | | | | | hack to work around the general problem, early EOF recoginition based on the base-chgannel, instead of the data we have ready for reading in the transform. Long-term we need a proper general fix (likely tracking EOF on each level of the channel stack), with attendant complexity. Further: Z_BUF_ERROR can be ignored, and must be when feeding the zlib code with single characters.
* Remove unnecessary EXTERN's, which alreadynijtmans2010-02-224-9/+8
| | | | | | | | are in the global stub table. Use @EXEEXT@ in stead of @EXT_SUFFIX@ Use -DBUILD_tcl in Makefile for CYGWIN Use EXTERN to control CYGWIN exported symbols Remove some unnecessary type casts.
* Convert literal tabs in strings into \t sequences.dkf2010-02-221-59/+59
|
* Follow-up to Fix [Bug 2954959] expr abs(0.0) is -0.0nijtmans2010-02-216-38/+53
| | | | | | Some more tests, showing that the LONG implementation was not quite correct too, and a fix for that. Some more internal "const" additions
* Fix [Bug 2954959] expr abs(0.0) is -0.0nijtmans2010-02-211-3/+7
| | | | and added test cases for it.
* Make [string length] compiler handle more trivial cases.dkf2010-02-201-108/+105
|
* Small changes to align code style with Tcl Engineering Manualdkf2010-02-191-155/+169
|
* Return to using the classic hash function. Now with *extensive* notes in thedkf2010-02-173-41/+95
| | | | comments about why this function is preferred.
* Fix error in stack depth calculation for [dict update], correct misleadingdkf2010-02-172-5/+8
| | | | comment in description of opcode.
* missing commadgp2010-02-171-2/+2
|
* Change order of various struct members,nijtmans2010-02-161-63/+55
| | | | restoring potential binary incompatibility with Tcl 8.5
* Small fixes, namely:dkf2010-02-161-125/+158
| | | | | | Move some related pieces (e.g., for encoding handling) closer together Update comments to add more visual separation between bits and pieces Put parentheses round negative constants
* Do not assume that all unix systems have the POSIX blkcnt_t type, since OpenBSDdkf2010-02-161-1/+5
| | | | apparently does not.
* Update literal table to use FNV hash function.dkf2010-02-161-63/+69
|
* reverted earlier rename from tcl*Stubs tonijtmans2010-02-156-27/+27
| | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611]
* Fix [Bug 2950259] so that deleting an object by killing its namespace willdkf2010-02-153-4/+69
| | | | reliably call the object's destructor.
* Reduce code nesting in [namespace ensemble] implementation.dkf2010-02-141-139/+116
|
* Corrected a comment.dkf2010-02-141-3/+2
|
* Hive off the ensemble code into its own file.dkf2010-02-135-3496/+3596
| | | | Split the [switch] compiler for sanity's sake.
* [Bug 2949740]: Do not try to put a NULL pipeline channel into binary mode.dkf2010-02-111-2/+2
|
* Tcl Bug 2826551 regexp bugs related to -all -line and -start and newlinesdkf2010-02-111-20/+29
|
* [Bug 2949397]: Prevent destructors from running on the two core class objectsdkf2010-02-111-2/+9
| | | | when the whole interpreter is being destroyed.
* Forgot the magic bias values. FNV is wildly magical...dkf2010-02-102-4/+4
|
* Minor corrections as recommended by Joe English.dkf2010-02-091-4/+4
|
* Small cleanups of formatting issuesdkf2010-02-091-72/+88
|
* Compilation of [try] now enabled!dkf2010-02-093-4/+646
|
* [Bug 2947783]: Ensure that result is an unshared object before appending to it.dkf2010-02-081-1/+19
|
* Upgrade Tcl's hash function to use the FNV-32 algorithm. This is marginallydkf2010-02-073-76/+30
| | | | | faster and gives a bit better distribution of keys (especially in large hash tables) but does change hash iteration order.
* Added basic compilation of [error] (the most common case only).dkf2010-02-053-4/+52
|
* Follow-up to earlier commit today:nijtmans2010-02-056-41/+30
| | | | | | Eliminate the need for an extra Stubs Pointer for adressing a static stub table: Just change the exported table from static to MODULE_SCOPE.
* More consistency in errorcode generation.dkf2010-02-051-14/+25
|
* NRE-enabled destructors! Also more generation of errorcodes.dkf2010-02-051-17/+49
|
* Use 'const' more often for pointers to read-only structures.dkf2010-02-051-177/+203
|
* Follow-up to [2010-01-29] commit:nijtmans2010-02-0514-851/+851
| | | | | | | | | | prevent space within stub table function parameters if the parameter type is a pointer. Minor formatting, and VOID -> void. Change signature of TclNRInterpProcCore, and TclOONewProc(Instance|)MethodEx, indicating that errorProc is a function pointer tclVar.c: fixed two gcc warnings
* Use the object RE interface for faster matching in [array names -regexp].dkf2010-02-041-121/+136
|
* Make [array get] work again with a trivial pattern.dkf2010-02-041-4/+4
|
* Minor updates: more errorcodes, less C stack levels for old APIsdkf2010-02-041-98/+191
|