summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
...
* [Bug 2976508] tcl HEAD fails on HP-UXnijtmans2010-03-261-2/+3
|
* * generic/tclResult.c: [Bug 2383005] Revise [return -errorcode] sodgp2010-03-241-1/+23
| | | | * tests/result.test: that it rejects illegal non-list values.
* * generic/tclOOInfo.c (InfoObjectMethodTypeCmd)dkf2010-03-242-3/+136
| | | | | (InfoClassMethodTypeCmd): Added introspection of method types so that it is possible to find this info out without using errors.
* * generic/tclCmdMZ.c (TryPostBody, TryPostHandler): Make sure that thedkf2010-03-241-5/+31
| | | | [try] command does not trap unwinding due to limits.
* * generic/tclCmdMZ.c: [Bug 2973361] Revised fix for computingdgp2010-03-231-24/+29
| | | | indices of script arguments to [try].
* Make error message in "try" implementationnijtmans2010-03-232-11/+13
| | | | exactly the same as the one in "return"
* * generic/tclCmdMZ.c: [Bug 2973361]: Compute the correct integerdgp2010-03-221-6/+11
| | | | | values to identify the argument indices of the various script arguments to [try]. Passing in -1 led to invalid memory reads.
* Missed a spot.dkf2010-03-201-2/+2
|
* regendkf2010-03-202-10/+23
|
* Allow [fcopy] to move more than 2GB per call. Frederic Bonnet identified issue.dkf2010-03-204-48/+65
|
* Compile the [throw] command.dkf2010-03-193-4/+117
|
* * generic/tclListObj.c: Prevent in overflow trouble in [lreplace]dgp2010-03-182-3/+107
| | | | | * generic/tclTestObj.c: operations. Thanks to kbk for fix and test. * tests/listObj.test: [Bug 2971669].
* Fix silly error in bytecode generation for [try].dkf2010-03-181-1/+3
|
* [Bug 2971921]: Corrected jump so that it doesn't skip into the middledkf2010-03-181-33/+40
| | | | | of an instruction! Tightened the instruction issuing. Moved endCatch calls closer to their point that they guard.
* * generic/tclIORTrans.c (ReflectInput, ReflectOutput,andreas_kupries2010-03-172-21/+65
| | | | | | | | | | | | | ReflectSeekWide): [Bug 2921116]: Added missing TclEventuallyFree calls for preserved ReflectedTransform* structures. Reworked ReflectInput to preserve the structure for its whole life, not only in InvokeTclMethod. * generic/tclIO.c (Tcl_GetsObj): [Bug 2921116]: Regenerate topChan, may have been changed by a self-modifying transformation. * tests/ioTrans/test (iortrans-4.8, iortrans-4.9, iortrans-5.11, iortrans-7.4, iortrans-8.3): New test cases.
* 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
|