summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tcl.decls: use new genstubs 'export' command todas2007-12-103-122/+133
| | | | | | * generic/tclInt.decls: mark exported symbols not in stubs * generic/tclTomMath.decls: table [Tk FR 1716117]; cleanup formatting.
* make tclChannelType static (fix 'make checkstubs')das2007-12-101-2/+2
|
* * tests/io.test, tests/chanio.test (io-73.1): Make sure to invalidatehobbs2007-12-091-6/+8
| | | | | * generic/tclIO.c (SetChannelFromAny): internal rep only after validating channel rep. [Bug 1847044]
* Match docs and reality. [Bug 1662436]dkf2007-12-081-2/+2
|
* * generic/tclExecute.c (TclExecuteByteCode INST_REGEXP):hobbs2007-12-072-10/+13
| | | | | * generic/tclCompCmds.c (TclCompileRegexpCmd): Pass correct RE compile flags at compile time, and use TCL_REG_NOSUB.
* * generic/tclExecute.c (TclExecuteByteCode INST_REGEXP): Usehobbs2007-12-071-2/+5
| | | | TCL_REG_NOSUB as we come here without capture vars.
* * generic/tclIOCmd.c (FinalizeIOCmdTSD, Tcl_PutsObjCmd): cachehobbs2007-12-071-18/+59
| | | | stdout channel object for [puts $str] calls.
* (TclMatchIsTrivial): simplify TclMatchIsTrivial to remove ] checkhobbs2007-12-061-2/+2
|
* add TclGetChannelFromObj declhobbs2007-12-061-1/+4
|
* Oops!dkf2007-12-061-2/+2
|
* Simplify code for setting up the [chan] ensemble now that we can leveragedkf2007-12-063-352/+403
| | | | TclMakeEnsemble to do most of the work.
* Fix [Bug 1845320] and [Bug 1845397]dkf2007-12-062-9/+13
|
* * generic/tclIO.h: Create Tcl_Obj for Tcl channels to reducehobbs2007-12-053-116/+344
| | | | | | | * generic/tclIO.c: overhead in lookup by Tcl_GetChannel. New * generic/tclIOCmd.c: TclGetChannelFromObj for internal use. * generic/tclIO.c (WriteBytes, WriteChars): add opt check to avoid EOL translation when not linebuffered or using lf. [Bug 1845092]
* Prevent shimmering crash in [lsearch] when -exact and -integer/-real are mixed.dkf2007-12-051-1/+15
| | | | [Bug 1844789]
* Make two-arg switch work reliably (and actually as documented!) [Bug 1836519]dkf2007-12-032-49/+77
|
* Silence syntax warning by Sun C compiler. [Bug 1840211]dkf2007-12-011-2/+2
|
* * generic/tclConfig.c: Corrected failure of the [::foo::pkgconfig]dgp2007-11-281-10/+27
| | | | | command to clean up registered configuration data when the query command is deleted from the interp. [Bug 983501].
* * generic/tclNamesp.c (Tcl_SetEnsembleMappingDict): Added checksdgp2007-11-281-2/+24
| | | | | that the dict value passed in is in the format required to make the internals of ensembles work.
* * generic/tclIO.c: Simplify test and improve accuracy of errordgp2007-11-281-5/+4
| | | | message in latest changes.
* -eofchar must support no eofchar.patthoyts2007-11-281-3/+3
|
* * generic/tclBasic.c: remove unneeded call in Tcl_CreateInterp,Miguel Sofer2007-11-281-8/+6
| | | | add comments
* * doc/chan.n: "Fix" the limitation on channel -eofchardgp2007-11-271-13/+18
| | | | | | | * doc/fconfigure.n: values to single byte characters by documenting * generic/tclIO.c: it and making it fail loudly. Thanks to * tests/chan.test: Stuart Cassoff for contributing the fix. [Bug 800753]
* * generic/tclBasic.c:Miguel Sofer2007-11-262-3/+10
| | | | | | | | | * generic/tclInt.h: * unix/tclUnixInit.c: * unix/tclUnixThrd.c: Fix stack checking via workaround for bug in glibc's pthread_attr_get_np, patch from [Bug 1815573]. Many thanks to Sergei Golovan (aka Teo) for detecting the bug and helping diagnose and develop the fix.
* Fix stack corruption in [dict append] compilerdkf2007-11-241-26/+31
|
* * generic/tclIORChan.c: Fixed a problem with reflectedandreas_kupries2007-11-241-10/+146
| | | | | | | | | | | | | | | | | | channels. 'chan postevent' is defined to work only from within the interpreter containing the handler command. Sensible, we want only handler commands to use it. It identifies the channel by handle. The channel moves to a different interpreter or thread. The interpreter containing the handler command doesn't know the channel any longer. 'chan postevent' fails, not finding the channel any longer. Uhm. Fixed by creating a second per-interpreter channel table, just for reflected channels, where each interpreter remembers for which reflected channels it has the handler command. This info does not move with the channel itself. The table is updated by 'chan create', and used by 'chan postevent'. * tests/ioCmd.test: Updated the testsuite.
* Remove #ifdef out accidentally left indkf2007-11-231-4/+1
|
* * generic/tclVar.c (Tcl_ArrayObjCmd): handle the right data forhobbs2007-11-231-6/+11
| | | | * tests/var.test (var-14.2): [array names $var -glob $ptn]
* Turn the [string] command into a real compiled ensemble.dkf2007-11-234-325/+439
|
* Rebuild [dict] as a full compiled ensemble.dkf2007-11-224-609/+777
|
* Rewrote the [string] and [dict] implementations to be ready for conversiondkf2007-11-222-1142/+2028
| | | | to ensembles.
* Generalize the ensemble compiler further. Still doesn't precopile rewrites, ↵dkf2007-11-211-50/+138
| | | | | | but now handles many other things making the compiler at least useful.
* Factor out the core compiled-ensemble builder for simplicity.dkf2007-11-213-46/+93
|
* A little more errorCode goodnessdkf2007-11-211-4/+10
|
* Trim the fat from the sourcedkf2007-11-211-310/+280
|
* * generic/tclDictObj.c: Changed the underlying implementation of thedkf2007-11-204-185/+344
| | | | | | | | | hash table used in dictionaries to additionally keep all entries in the hash table in a linked list, which is only ever added to at the end. This makes iteration over all entries in the dictionary in key insertion order a trivial operation, and so cleans up a great deal of complexity relating to dictionary representation and stability of iteration order.
* Correct usage of Tcl_WrongNumArgsdkf2007-11-201-3/+3
|
* * README: Bump version number to 8.5b3.dgp2007-11-191-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:
* INST_EXIST_*: simplify result settingdas2007-11-191-26/+9
|
* improvements to commentsdkf2007-11-191-39/+43
|
* Reduce cast count.dkf2007-11-191-67/+51
|
* Reduce cast count.dkf2007-11-191-109/+102
|
* Simplifications (fewer casts, less manual bit twiddling)dkf2007-11-191-192/+191
|
* Reduce cast count.dkf2007-11-191-77/+72
|
* improvements to commentsdkf2007-11-192-7/+31
|
* eschew superfluous whitespacedkf2007-11-191-3/+3
|
* Reduce cast count.dkf2007-11-192-137/+136
|
* Reduce cast count.dkf2007-11-191-40/+40
|
* More minor cleanupdkf2007-11-187-404/+414
|
* Avoid using 'new' as an identifier.dkf2007-11-182-9/+9
|
* More minor cleanupdkf2007-11-183-471/+482
|