summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary '&' decoration for functionnijtmans2010-03-112-58/+58
| | | | | pointers. Fix double declaration of TclNativeDupInternalRep
* * generic/tclIORChan.c: [Bug 2936225]: Thanks to Alexandre Ferrieuxandreas_kupries2010-03-091-6/+27
| | | | | | * doc/refchan.n: <ferrieux@users.sourceforge.net> for debugging and fixing * tests/ioCmd.test: the problem. It is the write-side equivalent to the bug fixed 2009-08-06.
* test that tclOO stubs are present in stub librarynijtmans2010-03-072-8/+11
| | | | | | | | Applied missing part of [Patch 2961556] Change all tclWinProcs signatures to use TCHAR* in stead of WCHAR*. This is meant as preparation to make [Enh 2965056] possible at all.
* remove presence of tclTomMathStubsPtr in tclStubLib.cnijtmans2010-03-062-5/+6
| | | | test that tommath stubs are present in stub library
* Quell a warning in Kevin Kenny's build environmentdkf2010-03-051-2/+3
|
* Fix [Bug 2964425].dkf2010-03-051-3/+1
|
* [Patch 2961556]: Change TclOO to use the same style of function typedefs asdkf2010-03-056-42/+43
| | | | Tcl, as this is about the last chance to get this right.
* Code Audit results:dkf2010-03-0532-463/+490
| | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations
* Remove unused variabledkf2010-03-051-2/+1
|
* Fix [Bug 2962664] by forcing oo::object deletion on oo::class deletion.dkf2010-03-043-12/+34
|
* 3 unnecessary MODULE_SCOPE symbolsnijtmans2010-03-042-9/+1
|
* Split tommath stub lib source filenijtmans2010-03-042-51/+97
| | | | | in separate file. Don't use -fvisibility=hidden for cygwin
* Use a less hacky way of using a char as a hash keydkf2010-03-021-3/+3
|
* Improve error message for corner case in ::prefixferrieux2010-03-011-2/+2
|
* fix [AT 86258]: special-casing of empty tables when generating error ↵ferrieux2010-03-011-11/+15
| | | | messages for [::tcl::prefix match].
* 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.