summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclCompExpr.c: Untangled some dependencies in thedgp2005-08-034-27/+42
| | | | | | * generic/tclEvent.c: order of finalization routines. * generic/tclInt.h: [Bug 1251399] * generic/tclObj.c:
* Take care with globals that have an entry in the var table but "don't exist"dkf2005-07-291-19/+41
|
* * generic/tclPipe.c (TclCreatePipeline): Arrange for POSIX systems todkf2005-07-281-2/+8
| | | | | | | | * unix/tclUnixPipe.c (TclpOpenFile): use the O_APPEND flag for * tests/exec.test (exec-19.1): files opened in a pipeline like ">>this". Note that Windows cannot support such access; there is no equivalent flag on the handle that can be set at the kernel-call level. The test is unix-specific in every way. [Bug 1245953]
* * generic/tclUtil.c: Converted the $::tcl_precision value to bedgp2005-07-271-30/+14
| | | | | | | | kept per-thread to prevent different threads from stomping on each others' formatting prescriptions. ***POTENTIAL INCOMPATIBILITY*** Multi-threaded programs that set the value of ::tcl_precision will now have to set it in each thread.
* * generic/tclBasic.c (Tcl_CallWhenDeleted): Converted to usedgp2005-07-261-9/+6
| | | | | per-thread counter, rather than a process global one that required mutex protection. [RFE 1077194]
* * generic/tclNamesp.c (TclTeardownNamespace): Re-ordering so thatdgp2005-07-261-18/+18
| | | | | * tests/trace.test (trace-34.4): command delete traces fire while the command still exists. [Bug 1047286]
* Getting more systematic about styledkf2005-07-249-2428/+2607
|
* * generic/tclExecute.c (INST_DICT_*): stop 2 compilerMiguel Sofer2005-07-231-2/+3
| | | | warnings for uninitialised variables.
* Getting more systematic about styledkf2005-07-233-1308/+1371
|
* Improve the incrementer code for INST_DICT_INCR_IMM, removing a gcc-ism.dkf2005-07-221-9/+25
|
* regendkf2005-07-213-3/+22
|
* Compiler for [dict] and related changes.dkf2005-07-217-112/+1236
|
* fix compile errordgp2005-07-211-2/+2
|
* Systematizing the formattingdkf2005-07-2115-4527/+4823
|
* Getting more systematic about styledkf2005-07-199-1535/+1599
|
* Getting more systematic about styledkf2005-07-192-568/+566
|
* Try again :-}dkf2005-07-171-2/+3
|
* Ugh; convert unfortunate tab back to a spacedkf2005-07-171-2/+2
|
* D'ohdkf2005-07-171-2/+2
|
* oops; how did I reorder those fields? :-(dkf2005-07-171-2/+2
|
* Getting more systematic about styledkf2005-07-1717-11234/+11620
|
* Tk Bug 1227781Kevin B Kenny2005-07-161-1/+3
|
* Bug 1237907Kevin B Kenny2005-07-151-3/+18
|
* Whitespace/comment tidyingdkf2005-07-151-931/+914
|
* More tidying updkf2005-07-151-204/+190
|
* More minor tinkering with comments and code-layoutdkf2005-07-141-13/+14
|
* Stop warningdkf2005-07-141-2/+2
|
* Oopsdkf2005-07-141-2/+2
|
* Style improvements to tclCompile.c, plus bytecode printing enhancements.dkf2005-07-142-918/+885
|
* copy/paste/fail-to-modify error in comment.dgp2005-07-131-2/+2
|
* Purely style-guide cleansingdkf2005-07-111-2163/+2063
|
* * generic/tclExecute.c (TclExecuteByteCode):mdejong2005-07-091-49/+141
| | | | | | | | | | | | | | | | | Reimplement long and wide type integer division and modulus operations so that the smallest and largest integer values are handled properly. The divide operation is more efficient since it no longer does a modulus or negation and only checks for a remainder when the quotient will be a negative number. The modulus operation is now a bit more complex because of a number of special cases dealing with the smallest and largest integers. * tests/expr.test: Add test cases for division and modulus operations on the smallest and largest integer values for 32 and 64 bit types. [Patch 1230205]
* * generic/tclLink.c: Simplified LinkTraceProc [Bug 1208108].dgp2005-07-061-27/+12
|
* * generic/tclUtil.c: Converted TclFormatInt() into a macro.dgp2005-07-055-104/+25
| | | | | | | | * generic/tclInt.decls: [RFE 1194015] * generic/tclInt.h: * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* * generic/tclNamesp.c: Allow for [namespace import] of a commanddgp2005-07-051-1/+10
| | | | | * tests/namespace.test: over a previous [namespace import] of itself without throwing an error. [RFE 1230597]
* Style-guide reformat and get rid of gcc warningdkf2005-07-051-1360/+1355
|
* Much whitespace/style tidying updkf2005-07-051-622/+590
|
* Purge remnants of old dictionary rep interlocking code; it only ever workeddkf2005-07-041-44/+25
| | | | when the locking was in the core of the iterator itself.
* * generic/tclExecute.c (TclExecuteByteCode):mdejong2005-06-291-5/+29
| | | | | | | | | | | When parsing an integer operand for a unary minus expression operator, check for a wide integer that is actually LONG_MIN. If found, convert it back to a long int type. * tests/expr.test: Add constraint for 32bit long int type and 64bit wide int type. Add tests that parse the smallest/largest long int and wide int values.
* Add explanatory comment about static unprotected variables.dkf2005-06-261-1/+7
|
* cleanup Tcl_Preserve after exit handlersKevin B Kenny2005-06-243-17/+10
|
* bug 1225727Kevin B Kenny2005-06-223-4/+20
|
* * generic/tclInt.h: Followup to change made on 2005-06-18 byandreas_kupries2005-06-211-1/+2
| | | | | | | Daniel Steffen. There are compilers (*) who error out on the redefinition of WORDS_BIGENDIAN. We have to undef the previous definition (on the command line) first to make this acceptable. (*): AIX native.
* bug 1194458Kevin B Kenny2005-06-211-8/+15
|
* * generic/tclBasic.c: Added missing walk of the list of active tracesdgp2005-06-213-7/+44
| | | | | | | * generic/tclTrace.c: to cleanup references to traces being deleted. * generic/tclInt.h: [Bug 1201035] Made the walk of the active trace * tests/trace.test (trace-34.*): list aware of the direction of trace scanning, so the proper correction can be made. [Bug 1224585]
* typosdkf2005-06-202-3/+4
|
* typodkf2005-06-201-2/+2
|
* Add compilation for TIP#90-style [catch] requiring a new opcode [Bug1219112]dkf2005-06-204-494/+536
|
* Update error case handling following Mo's updates (which are a good thing)dkf2005-06-201-17/+22
|
* * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generatemdejong2005-06-201-2/+15
| | | | | | | | | | | | | | | an error if a mode argument like -exact is passed more than once to the switch command. The previous implementation silently accepted invalid switch invocations like [switch -exact -glob $str ...]. * tests/for.test: Check some error cases when invoking continue and break inside a for loop next script. * tests/switch.test: Add checks for shortened version of a mode argument like -exact. Add test for more than one mode argument. Add test for odd case of passing a variable as a body script.