summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Implement TIP#335dkf2008-12-052-4/+33
|
* regendkf2008-12-052-126/+141
|
* Implement TIP#307.dkf2008-12-055-222/+215
|
* * generic/tclPathObj.c (Tcl_FSGetNormalizedPath): Added anotherdgp2008-12-041-13/+76
| | | | | flag value TCLPATH_NEEDNORM to mark those intreps which need more complete normalization attention for correct results. [Bug 2385549]
* * generic/tclFileName.c (DoGlob): One of thedgp2008-12-031-3/+4
| | | | | | Tcl_FSMatchInDirectory() calls did not have its return code checked. This caused error messages returned by some Tcl_Filesystem drivers to be swallowed.
* TIP #336 IMPLEMENTATIONdgp2008-12-0214-37/+112
| | | | | | | | | | | | | | | | | | * generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine. * generic/tcl.h: Dropped default access to interp->errorLine. * generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE. * generic/tclCmdMZ.c: Updated callers. * generic/tclDictObj.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclOOBasic.c: * generic/tclOODefinedCmds.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclResult.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* * generic/tclIO.c (TclFinalizeIOSubsystem): Replaced Alexandreandreas_kupries2008-12-021-3/+3
| | | | | Ferrieux's first patch for [Bug 2270477] with a gentler version, also supplied by him.
* * generic/tclParse.c: Coding standards fixups.dgp2008-12-011-17/+19
|
* Implementation of TIP #210.dkf2008-11-292-6/+158
|
* Code now simple enough that we can improve its performance by applying thedkf2008-11-291-9/+14
| | | | double-checked locking pattern.
* Improvements to the general readability of the TSD implementation.dkf2008-11-291-120/+189
|
* Alternate fix for[Bug 2251175]: missing backslash substitution on expanded ↵ferrieux2008-11-274-77/+28
| | | | literals.
* A few more (harmless) Tcl_SetResult eliminationsnijtmans2008-11-261-14/+8
|
* Eliminate warning: unused variablenijtmans2008-11-261-3/+1
|
* Eliminate 3 calls to Tcl_SetResult, asnijtmans2008-11-253-14/+6
| | | | | examples how it should have been done. purpose: contribute in the TIP #340 discussion.
* * generic/tclIO.c (TclFinalizeIOSubsystem): Applied Alexandreandreas_kupries2008-11-251-2/+2
| | | | | Ferrieux's patch for [Bug 2270477] to prevent infinite looping during finalization of channels not bound to interpreters.
* don't assume that Tcl_SetResult sets interp->result, especially notnijtmans2008-11-251-9/+8
| | | | in a dstring test
* Fix IsChannelExisting name comparison [Bug 2333466]ferrieux2008-11-231-2/+2
|
* Convert Tcl_SetResult(......, TCL_DYNAMIC) tonijtmans2008-11-191-2/+3
| | | | | Tcl_SetResult(......, TCL_VOLATILE), in preparation for TIP #340
* Simplification of expanded-literals handling after analysis of dead branchesferrieux2008-11-193-36/+12
|
* Fix [Bug 2251175]: missing backslash substitution on expanded literals.ferrieux2008-11-175-14/+100
|
* Fix signature and implementation of Tcl_HashStats,nijtmans2008-11-175-20/+15
| | | | such that it conforms to the documentation.
* change two Tcl_SetResult calls to Tcl_SetObjResult,nijtmans2008-11-161-5/+5
| | | | as simplification for the TIP #340 patch.
* Tidy up formatting.dkf2008-11-161-612/+595
|
* rename static function FSUnloadTempFile tonijtmans2008-11-133-16/+14
| | | | | | TclFSUnloadTempFile, needed in tclLoad.c Fixed [Bug 2269431]: load of shared objects leaves temporary files on windows
* Eliminate warning: passing arg 4 of `Tcl_SplitList' fromnijtmans2008-11-111-6/+6
| | | | | | incompatible pointer type reverted change from 2008-11-06 (was under the impression that "-Wno-implicit-int" added an extra warning)
* patch #2215022: clean up the binary ensemble initialization codepatthoyts2008-11-073-128/+113
| | | | | Applied a patch from Duoas which extends the TclMakeEnsemble command to handle sub-ensembles from tables. Cleaned up the original patch a bit.
* add "-Wno-implicit-int" for gcc, as on UNIXnijtmans2008-11-061-3/+3
| | | | eliminate an 'array index out of bounds' warning on HP-UX'
* * generic/tclPort.h: remove the ../win/ header dir as the buildhobbs2008-11-041-2/+2
| | | | | system already has it, and it confuses builds when used with private headers installed.
* Version bump of TclOOdkf2008-11-011-2/+2
|
* remove unused variabledkf2008-11-011-2/+1
|
* Fix [Bug 2200824] and make class constructor error handling much more robust.dkf2008-10-314-42/+152
|
* CONSTify TclDTraceInfonijtmans2008-10-285-42/+42
| | | | Eliminate some -Wstrings-write warnings
* * generic/tclEncoding.c: Use "iso8859-1" and not "identity"dgp2008-10-271-5/+4
| | | | | | | | | | | | as the default and original [encoding system] value. Since "iso8859-1" is built in to the C source code for Tcl now, there's no availability issue, and it has the good feature of "identity" that we must have ("bytes in" == "bytes out") without the bad feature of "identity" ("broken as designed") that makes us want to abandon it. [RFE 2008609] *** POTENTIAL INCOMPATIBILITY for older releases of Tclkit and any other code expecting a particular value for Tcl's default system encoding ***
* Style improvements - invoking callbacks without visual junk.dkf2008-10-2626-953/+948
|
* * generic/tclCmdAH.c (ForNextCallback): handle TCL_CONTINUE inMiguel Sofer2008-10-231-2/+2
| | | | the for body [Bug 2186888].
* Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-2215-1754/+1756
| | | | broken since 8.4 and no-one complained about it.
* * generic/tclProc.c: Reset -level and -code values to defaultsdgp2008-10-191-1/+6
| | | | after they are used. [Bug 2152286].
* Check syntax of [info coroutine] args, i.e. there are none.dkf2008-10-191-39/+36
|
* CONST -> constnijtmans2008-10-173-64/+64
|
* * generic/tclIORTrans.c (DeleteReflectedTransformMap): Removedandreas_kupries2008-10-171-5/+1
| | | | debug output in C++ comment.
* * generic/tclCompile.h: Declare the internal tclInstructionTabledgp2008-10-175-12/+12
| | | | | | | | * generic/tclExecute.c: to simply be "const", not CONST86. * generic/tclCmdAH.c: whitespace. * generic/tclCmdIL.c: Uninitialized variable warning. * generic/tclTest.c: const correctness warning.
* Add "const" to many internalnijtmans2008-10-1629-172/+172
| | | | | const tables. No functional or API change.
* Add "const" to many internalnijtmans2008-10-1513-166/+166
| | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* * generic/tclCmdAH.c: Fix minor compiler warnings when compilingnijtmans2008-10-146-29/+30
| | | | | | | | * generic/tclCmdMZ.c: with -Wwrite-strings * generic/tclIndexObj.c: * generic/tclProc.c: * generic/tclStubLib.c: * generic/tclUtil.c:
* * README: Bump version number to 8.6a4dgp2008-10-141-3/+3
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclExecute.c: Fix compile warnings when --enable-symbols=all.dgp2008-10-142-8/+9
| | | | | * generic/tclCmdIL.c: Fix write to unallocated memory whenever [lrepeat] returns an empty list.
* set array of Tcl_Obj's to the right size.patthoyts2008-10-131-2/+2
|
* Handle error case [info class destructor].dkf2008-10-131-1/+5
|
* Added magic for Objective C. [Bug 2163447]dkf2008-10-131-1/+16
|