summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* TIP #348 IMPLEMENTATION - Substituted error stackferrieux2010-04-055-6/+198
|
* Minor changes to enforce Engineering Manual style rules.dkf2010-04-041-65/+74
|
* Add missing "const" in signature,nijtmans2010-04-023-17/+17
| | | | and some formatting fixes
* * generic/tclIOUtil.c (Tcl_LoadFile): Corrections to previous commitdkf2010-04-021-2/+1
| | | | | * unix/tclLoadDyld.c (TclpDlopen): to make it build on OSX. Also add missing ChangeLog entry for previous commit by KBK.
* * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-027-190/+336
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* * generic/tclStrToD.c: [Bug 2952904]: Defer creation of the smallestKevin B Kenny2010-04-021-5/+3
| | | | | | floating point number until it is actually used. (This change avoids a bogus syslog message regarding a 'floating point software assist fault' on SGI systems.)
* * generic/tclIORChan.c (ReflectClose, ReflectInput, ReflectOutput,andreas_kupries2010-03-301-59/+98
| | | | | | | | ReflectSeekWide, ReflectWatch, ReflectBlock, ReflectSetOption, ReflectGetOption, ForwardProc): [Bug 2978773]: Preserve ReflectedChannel* structures across handler invokations, to avoid crashes when the handler implementation induces nested callbacks and destruction of the channel deep inside such a nesting.
* * generic/tclObj.c (Tcl_GetCommandFromObj): [Bug 2979402]: Reorderdgp2010-03-301-2/+2
| | | | | the validity tests on internal rep of a "cmdName" value to avoid invalid reads reported by valgrind.
* [Bug 2979399] uninitialized value troublesnijtmans2010-03-301-28/+5
|
* [FRQ 2974744]: share exception codes (ObjType?):nijtmans2010-03-302-51/+53
| | | | further optimization, making use of indexType.
* * generic/tclStringObj.c: Fix array overrun in test format-1.12dgp2010-03-291-2/+2
| | | | caught by valgrind testing.
* [Freq 2974744] share exception codes (ObjType?)nijtmans2010-03-274-43/+60
|
* [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
|