summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* * generic/tclCompile.c: fix bug in srcDelta encoding withinMiguel Sofer2008-10-121-3/+3
| | | | | | ByteCodes. The bug can only be triggered under conditions that cannot happen in Tcl, but were met during development of L. Thanks go to Robert Netzer for diagnose and fix.
* Fix [Bug 2155658]dkf2008-10-101-1/+7
|
* CONSTify char* DTrace probe argumentsdas2008-10-103-29/+38
|
* fix warningdas2008-10-101-2/+2
|
* * generic/tclBasic (TclInfoCoroutineCmd):Miguel Sofer2008-10-081-5/+8
| | | | | | * tests/unsupported.test: arrange for [info coroutine] to return {} when a coroutine is running but the resume command has been deleted [Bug 2153080]
* * generic/tclTrace.c: Corrected handling of errors returned bydgp2008-10-082-44/+29
| | | | | | | | | variable traces so that the errorInfo value contains the original error message. [Bug 2151707] * generic/tclVar.c: Revised implementation of TclObjVarErrMsg so that error message construction does not disturb an existing iPtr->errorInfo that may be in progress.
* Some cleaning up of the binary encode/decode enginesdkf2008-10-071-121/+160
|
* undo "fix warnings from 2008-10-05 constification" (tclExecute.c 1.414), butnijtmans2008-10-072-8/+8
| | | | | in stead modify two macro's in tclCompile.h with the same affect, but now without polluting C-code with type casts.
* * generic/tclBasic.c: Move [tailcall], [coroutine] andMiguel Sofer2008-10-073-24/+20
| | | | | | * generic/tclCmdIL.c: [yield] out of ::tcl::unsupported * tests/info.test: and into global scope: TIPs #327 * tests/unsupported.test: and #328
* fix warnings from 2008-10-05 constificationdas2008-10-071-6/+8
|
* fixed constness of last commit for msvcpatthoyts2008-10-061-2/+2
|
* * doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProcnijtmans2008-10-056-23/+25
| | | | | | | | | | | | | | | * generic/tclFCmd.c: and tclpFileAttrStrings. This allows * generic/tclIOUtil.c: FileSystems to report their attributes * generic/tclTest.c: as const strings, without worrying that * unix/tclUnixFCmd.c: Tcl modifies them (which Tcl should not * win/tclWinFCmd.c: do anyway, but the API didn't indicate that) * generic/tcl.decls * generic/tclDecls.h: regenerated * generic/tcl.h: make sure that if CONST84 is defined as empty, CONST86 should be defined as empty as well (unless overridden). This change complies with TIP #27 *** POTENTIAL INCOMPATIBILITY ***
* TIP #331 IMPLEMENTATIONKevin B Kenny2008-10-051-6/+19
| | | | | | | * generic/tclListObj.c (TclLsetFlat): * tests/lset.test: Modified the [lset] command so that it allows for an index of 'end+1', which has the effect of appending an element to the list.
* * generic/tclInt.decls: CONSTified the AuxDataType argumentnijtmans2008-10-056-42/+42
| | | | | | | | | | | * generic/tclCompCmds.c: of TclCreateAuxData and * generic/tclCompile.c TclRegisterAuxDataType and the return * generic/tclCompile.h values of TclGetAuxDataType and * generic/tclExecute.c TclGetInstructionTable * ChangeLog * generic/tclIntDecls.h: regenerated This change complies with TIP #27 (even though it only involves internal function, so this is not even necessary).
* Fix [Bug 2144595]dkf2008-10-051-5/+9
|
* More result hygiene.dkf2008-10-042-7/+9
|
* * generic/tclLoad.c: Make sure that any library whichnijtmans2008-10-041-3/+5
| | | | | doesn't have an unloadproc is only really unloaded when no library code is executed yet. [Bug 2059262]
* * doc/ChnlStack.3: CONSTified the typePtr argumentnijtmans2008-10-045-21/+22
| | | | | | | | | | | * doc/CrtChannel.3: of Tcl_CreateChannel and Tcl_StackChannel * generic/tcl.decls and the return value of Tcl_GetChannelType * generic/tcl.h * generic/tclIO.h * generic/tclIO.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* Clean up result handling, factor out some duplicated code, share objects.dkf2008-10-042-185/+143
|
* * doc/Hash.3: CONSTified the typePtr argumentnijtmans2008-10-044-10/+10
| | | | | | | | | * generic/tcl.decls: of Tcl_InitCustomHashTable. * generic/tcl.h * generic/tclHash.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* * doc/RegConfig.3: CONSTified the configuration argumentnijtmans2008-10-044-9/+9
| | | | | | | | | * generic/tcl.decls: of Tcl_RegisterConfig. * generic/tclConfig.c * generic/tclPkgConfig.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* * doc/GetIndex.3: CONSTified the tablePtr argumentnijtmans2008-10-043-8/+9
| | | | | | | | * generic/tcl.decls: of Tcl_GetIndexFromObj. * generic/tclIndexObj.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* Tidying up formattingdkf2008-10-031-73/+73
|
* regen againdkf2008-10-032-8/+13
|
* typofixdkf2008-10-031-4/+4
|
* typodkf2008-10-031-2/+2
|
* Implemented TIP#195 - tcl::prefix command. [Patch 1040206]dkf2008-10-033-11/+410
|
* Regendkf2008-10-022-2/+10
|
* Reduce the number of (pointless) type-casts.dkf2008-10-021-38/+39
|
* Implement TIP #265. [FRQ 1446696]dkf2008-10-023-4/+446
|
* TIP #330 IMPLEMENTATIONdgp2008-10-026-22/+32
| | | | | | | | | | * generic/tcl.h: Remove the "result" and "freeProc" fields * generic/tclBasic.c: from the default public declaration of the * generic/tclResult.c: Tcl_Interp struct. Code should no longer * generic/tclStubLib.c: be accessing these fields. Access can be * generic/tclTest.c: restored by defining USE_INTERP_RESULT, but * generic/tclUtil.c: that should only be a temporary migration aid. *** POTENTIAL INCOMPATIBILITY ***
* remove outdated commentdgp2008-09-301-14/+1
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-291-5/+1
| | | | | | * doc/glob.n: Revise [glob] to accept zero patterns. * generic/tclFileName.c: * tests fileName.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-291-3/+3
| | | | | | * doc/linsert.n: Revise [linsert] to accept zero elements. * generic/tclCmdIL.c: * tests/linsert.test:
* TIP #326 IMPLEMENTATIONdkf2008-09-291-13/+115
|
* TIP #313 IMPLEMENTATIONdkf2008-09-291-19/+39
|
* Implement TIP 318.dkf2008-09-291-7/+15
|
* regendkf2008-09-282-33/+52
|
* Implement TIP 314. [Patch 1901783]dkf2008-09-283-40/+274
|
* * generic/tclBasic.c: Fix the numLevels computations onMiguel Sofer2008-09-282-5/+18
| | | | | * generic/tclInt.h: coroutine yield/resume * tests/unsupported.test:
* Fix [Bug 2130726].dkf2008-09-271-1/+24
|
* Stylistic improvements (consistent function separation standards, etc.) anddkf2008-09-271-324/+320
| | | | some reduction in nesting in functions.
* Corrected sanity test in zero-element casedkf2008-09-271-2/+3
|