Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify STRING_AT macro. | jan.nijtmans | 2013-01-24 | 1 | -5/+9 |
|\ | | | | | Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that. | ||||
| * | Simplify STRING_AT macro. | jan.nijtmans | 2013-01-24 | 1 | -5/+9 |
| |\ | | | | | | | Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that. | ||||
| | * | Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or ↵ | jan.nijtmans | 2013-01-23 | 1 | -1/+5 |
| | | | | | | | | | | | | -1. Undocumented, because I don't want to promote people start using that. | ||||
* | | | Add super-simple compiler to many ensemble subcommands to allow better code | dkf | 2013-01-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job. | ||||
* | | | Fix bug reported by Brian Griffin: | jan.nijtmans | 2012-11-22 | 1 | -4/+0 |
|\ \ \ | |/ / | | | | <p>[http://code.activestate.com/lists/tcl-core/12524/] | ||||
| * | | Fix bug reported by Brian Griffin: | jan.nijtmans | 2012-11-22 | 1 | -4/+0 |
| |\ \ | | |/ | | | | <p>[http://code.activestate.com/lists/tcl-core/12524/] | ||||
| | * | Fix bug reported by Brian Griffin: | jan.nijtmans | 2012-11-22 | 1 | -4/+0 |
| | | | | | | | | | <p>[http://code.activestate.com/lists/tcl-core/12524/] | ||||
* | | | more result generation conversion | dkf | 2012-08-03 | 1 | -41/+46 |
| | | | |||||
* | | | protect Tcl_GetIndexFromObjStruct from empty strings in table | jan.nijtmans | 2012-07-05 | 1 | -7/+16 |
|\ \ \ | |/ / | |||||
| * | | protect Tcl_GetIndexFromObjStruct from empty strings in table | jan.nijtmans | 2012-07-05 | 1 | -6/+15 |
| |\ \ | | |/ | |||||
| | * | protect Tcl_GetIndexFromObjStruct from empty strings in table | jan.nijtmans | 2012-07-05 | 1 | -6/+15 |
| | | | |||||
* | | | make some more internal tables const | jan.nijtmans | 2012-04-23 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
* | | | Unbreak TCL_ARGV_AUTO_REST macro, found during testing. | dkf | 2011-09-27 | 1 | -1/+8 |
| | | | |||||
* | | | Proposed patch to fix [Bug 3413857]... | dkf | 2011-09-26 | 1 | -24/+14 |
| | | | |||||
* | | | Small changes to quell gcc warnings and make message generation less ugly. | dkf | 2011-08-16 | 1 | -23/+21 |
| | | | |||||
* | | | 3366265 Allocate proper size buffer for TclConvertElement() to write to. | dgp | 2011-07-14 | 1 | -2/+4 |
|\ \ \ | |/ / | |||||
| * | | 3366265 Allocate proper size buffer for TclConvertElement() to write to. | dgp | 2011-07-14 | 1 | -2/+4 |
| | | | |||||
* | | | New internal routines TclScanElement() and TclConvertElement(). | dgp | 2011-05-10 | 1 | -4/+6 |
|\ \ \ | |/ / | | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086] | ||||
| * | | Completed patch with mucho comments. Merge 8.5.bug_3173086 | dgp | 2011-05-10 | 1 | -0/+3 |
| | | | |||||
| * | | Significant rewrite of the Tcl*(Scan|Convert)*Element() system, and revisions | dgp | 2011-03-03 | 1 | -4/+6 |
| | | | | | | | | | | | | to the callers. Needs more work on comments, and testing to check for any performance impact in either direction. Fixes reported bug. | ||||
* | | | TclFreeIntRep() cleanup. | dgp | 2011-04-27 | 1 | -1/+0 |
| | | | |||||
* | | | Make sure SetFooFromAny routines react reasonably when passed a NULL interp. | dgp | 2011-04-21 | 1 | -0/+2 |
|\ \ \ | |||||
| * \ \ | Make sure SetFooFromAny routines react reasonably when passed a NULL interp. | dgp | 2011-04-21 | 1 | -0/+2 |
| |\ \ \ | | |/ / | |/| / | | |/ | |||||
| | * | Make sure SetFooFromAny routines react reasonably when passed a NULL interp. | dgp | 2011-04-21 | 1 | -0/+2 |
| | | | |||||
* | | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -14/+12 |
| | | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | ||||
* | | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
|\ \ \ | |/ / | | | | cause more harm than good. Purged them (except in zlib files). | ||||
| * | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 |
| |\ \ | | |/ | | | | more harm than good. Purged them. | ||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 |
| | | | | | | | | | more harm than good. Purged them. | ||||
| | * | * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): It seems | dgp | 2006-04-06 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | * tests/indexObj.test: there are extensions that rely on the prior * doc/GetIndex.3: behavior that the empty string cannot succeed as a unique prefix matcher, so I'm restoring Donal Fellow's solution. Added mention of this detail to the documentation. [Bug 1464039] | ||||
| | * | * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Allow empty | dgp | 2006-04-05 | 1 | -7/+3 |
| | | | | | | | | | | | | | | | strings to be matched by the Tcl_GetIndexFromObj machinery, in the same manner as any other key. [Bug 1464039] | ||||
| | * | Fix [Bug 1646039] | dkf | 2006-04-05 | 1 | -13/+9 |
| | | | |||||
| | * | * generic/tclIndexObj.c: Disallow the "ambiguous" error message | dgp | 2006-02-16 | 1 | -3/+3 |
| | | | | | | | | | | | | * generic/indexObj.test: when TCL_EXACT matching is requested. | ||||
| | * | Fix shared object panics. [Bug 875395] | dkf | 2004-01-13 | 1 | -3/+6 |
| | | | |||||
* | | | Fix gcc -Wextra warning: missing initializer | nijtmans | 2010-12-10 | 1 | -5/+5 |
| | | | |||||
* | | | [FRQ 2974744]: share exception codes (ObjType?): | nijtmans | 2010-03-30 | 1 | -1/+52 |
| | | | | | | | | | | | | further optimization, making use of indexType. | ||||
* | | | Code Audit results: | dkf | 2010-03-05 | 1 | -41/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | | Improve error message for corner case in ::prefix | ferrieux | 2010-03-01 | 1 | -2/+2 |
| | | | |||||
* | | | fix [AT 86258]: special-casing of empty tables when generating error ↵ | ferrieux | 2010-03-01 | 1 | -11/+15 |
| | | | | | | | | | | | | messages for [::tcl::prefix match]. | ||||
* | | | Pure whitespace changes, changing to follow Engineering Manual style. | dkf | 2010-02-24 | 1 | -9/+9 |
| | | | |||||
* | | | - genStubs.tcl: No longer generate a space after "*" and | nijtmans | 2010-01-29 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | immediately after a function name, so the format of function definitions in tcl*Decls.h matches all other tcl*.h header files. - Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc and GetFrameInfoValueProc to be function definitions, not pointers, for consistency with all other Tcl function definitions. | ||||
* | | | Eliminate various gcc warnings (in -Wextra mode) | nijtmans | 2009-11-18 | 1 | -5/+5 |
| | | | |||||
* | | | * generic/tclDictObj.c: Updated freeIntRepProc routines so | dgp | 2009-09-30 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclExecute.c: that they set the typePtr field to * generic/tclIO.c: NULL so that the Tcl_Obj is not left * generic/tclIndexObj.c: in an inconsistent state. * generic/tclInt.h: [Bug 2857044] * generic/tclListObj.c: * generic/tclNamesp.c: * generic/tclOOCall.c: * generic/tclObj.c: * generic/tclPathObj.c: * generic/tclProc.c: * generic/tclRegexp.c: * generic/tclStringObj.c: | ||||
* | | | Reset internal INTERP_ALTERNATE_WRONG_ARGS | nijtmans | 2009-04-27 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | flag inside the Tcl_WrongNumArgs function, so the caller no longer has to do the reset. | ||||
* | | | - eliminate some unnessary type casts | nijtmans | 2009-02-10 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | - some internal const decorations - spacing | ||||
* | | | Generate errorcodes for more cases. | dkf | 2009-01-08 | 1 | -1/+2 |
| | | | |||||
* | | | fix 'make checkstubs' failure: make TclGetIndexFromObjList static | das | 2008-12-15 | 1 | -4/+7 |
| | | | |||||
* | | | Eliminate 3 calls to Tcl_SetResult, as | nijtmans | 2008-11-25 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | examples how it should have been done. purpose: contribute in the TIP #340 discussion. | ||||
* | | | * generic/tclCmdAH.c: Fix minor compiler warnings when compiling | nijtmans | 2008-10-14 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c: with -Wwrite-strings * generic/tclIndexObj.c: * generic/tclProc.c: * generic/tclStubLib.c: * generic/tclUtil.c: | ||||
* | | | fix warning | das | 2008-10-10 | 1 | -2/+2 |
| | | | |||||
* | | | Fix [Bug 2144595] | dkf | 2008-10-05 | 1 | -5/+9 |
| | | |