summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Make things compile... D'oh!dkf2010-01-282-5/+7
|
* Improvements to destructor handling.dkf2010-01-283-18/+91
| | | | Stop crashes from odd destruction routes.
* Remove double includes (which causes anijtmans2010-01-252-5/+2
| | | | | warning in CYGWIN compiles) Add confdefs.h to unix/.cvsignore
* Revert [2009-12-21] change in tcl.h, in steadnijtmans2010-01-221-8/+2
| | | | | | | | resolve the CYGWIN inclusion problems by re-arranging the inclusions at other places. Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* Revert [2009-12-21] change in tcl.h, in steadnijtmans2010-01-224-28/+28
| | | | | | | | resolve the CYGWIN inclusion problems by re-arranging the inclusions at other places. Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* Improve error code generation from some of the tailcall-related bits of TEBC.dkf2010-01-221-29/+32
|
* * generic/tclCompile.h: NRE-enable direct eval on BC spoilageMiguel Sofer2010-01-212-25/+25
| | | | | * generic/tclExecute.c: [Bug 2910748] * tests/nre.test:
* * generic/tclIO.c (CreateScriptRecord): [Bug 2918110]: Initializeandreas_kupries2010-01-181-6/+23
| | | | | | | | the EventScriptRecord (esPtr) fully before handing it to Tcl_CreateChannelHandler for registration. Otherwise a reflected channel calling 'chan postevent' (== Tcl_NotifyChannel) in its 'watchProc' will cause the function 'TclChannelEventScriptInvoker' to be run on an uninitialized structure.
* Ensure that objects are released in all cases (hard to test this particulardkf2010-01-181-1/+4
| | | | one without a very large system, but the leak path existed)
* [Bug 2932421]: Make [format] less likely to smash intreps.dkf2010-01-181-40/+48
|
* Fix TCL_LL_MODIFIER for Cygwinnijtmans2010-01-134-12/+17
| | | | | and various other minor CYGWIN compilation problems
* * win/tclWinDde.c: VC++ 6.0 doesn't havenijtmans2010-01-103-9/+9
| | | | | | | | | | | | | | | | | | | | * win/tclWinReg.c PDWORD_PTR * win/tclWinThrd.c: Fix various minor gcc warnings. * win/tclWinTime.c * win/tclWinConsole.c Put channel type definitions * win/tclWinChan.c in static const memory * win/tclWinPipe.c * win/tclWinSerial.c * win/tclWinSock.c * generic/tclIOGT.c * generic/tclIORChan.c * generic/tclIORTrans.c * unix/tclUnixChan.c * unix/tclUnixPipe.c * unix/tclUnixSock.c * unix/configure (regenerated with autoconf 2.59) * tests/info.test: Make test independant from tcltest implementation.
* * generic/tclPathObj.c (TclPathPart): Correct inconsistency betweendgp2010-01-051-26/+10
| | | | | | * tests/fileName.test (filename-14.31): the string rep and the intrep of a path value created by [file rootname]. Thanks to Vitaly Magerya for reporting. [Bug 2918610]
* * generic/tclBasic.c: Fix lerak of coroutines on namespaceMiguel Sofer2010-01-033-5/+29
| | | | | | | * generic/tclCompile.h: deletion, [Bug 2724403]. Added a test * generic/tclNamesp.c: for this leak, and also a test for * tests/coroutine.test: leaks on namespace deletion. * tests/namespace.test:
* Minor stylistic improvements.dkf2009-12-311-12/+15
|
* Minor optimization for Tcl_RecordAndEvalObjdkf2009-12-291-13/+73
|
* Simplify the logic in Tcl_GetCommandFromObjdkf2009-12-291-185/+208
|
* [Bug 2895741]: Make min() and max() supported in safe interpreters.dkf2009-12-291-1/+18
|
* Handle completely invalid input to the decode methods [Bug 2922555]patthoyts2009-12-291-1/+4
|
* [Bug 942170]: Detect the st_blocks field of 'struct stat' correctly.dkf2009-12-283-29/+25
|
* [Bug 2891362]: Make time limits work better with the event loop.dkf2009-12-281-3/+14
|
* Minor formatting issuesdkf2009-12-281-7/+6
|
* CONST -> constnijtmans2009-12-252-4/+4
|
* Move declarations to the top of the file, add boilerplate comments to somedkf2009-12-241-190/+203
| | | | functions
* Fix up a few stray spaces.dkf2009-12-231-32/+31
|
* [Bug 2918962]: Stop crash when -index and -stride are used together in [lsort].dkf2009-12-221-11/+15
|
* Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still ↵nijtmans2009-12-219-35/+78
| | | | not enabled yet, but at least it is a step in the right direction.
* * generic/tclBasic.c: Fix for bad cmd resolution by coroutinesMiguel Sofer2009-12-191-1/+2
| | | | | * tests/coroutine.test: [Bug #2917627]. Thanks to schelte for finding it.
* Fix gcc warning: ignoring return value of ‘write’,nijtmans2009-12-164-16/+24
| | | | | | declared with attribute warn_unused_result CONSTify functions TclpGetUserHome and TclSetPreInitScript (TIP #27)
* fix commentMiguel Sofer2009-12-131-7/+5
|
* remove accidentally committed c++ style temp commentsMiguel Sofer2009-12-131-3/+1
|
* * generic/tclBasic.c: Release TclPopCallFrame() from itsMiguel Sofer2009-12-133-18/+18
| | | | | * generic/tclExecute.c: tailcall-management duties * generic/tclNamesp.c:
* * generic/tclBasic.c: Moving TclBCArgumentRelease callMiguel Sofer2009-12-132-12/+5
| | | | | * generic/tclExecute.c: from TclNRTailcallObjCmd to TEBC, so that the pairing of the Enter and Release calls is clearer.
* Plug testing memleak. [Bug 2895367]dkf2009-12-121-77/+98
|
* Fix gcc warning, using gcc-4.3.4 on cygwinnijtmans2009-12-113-6/+6
| | | | | warning: array subscript has type 'char' win/makefile.vc Revert to version 1.203 [Bug #2912773]
* Fix gcc warning, using gcc-4.3.4 on cygwinnijtmans2009-12-113-6/+6
| | | | | warning: array subscript has type 'char' win/makefile.vc Revert to version 1.203 [Bug #2912773]
* fix commentMiguel Sofer2009-12-111-4/+3
|
* code commentsMiguel Sofer2009-12-111-20/+14
|
* code commentsMiguel Sofer2009-12-111-12/+13
|
* code commentsMiguel Sofer2009-12-111-13/+15
|
* simplify the coroutine BP-chain monkey-patching; tclBasic does not need toMiguel Sofer2009-12-113-36/+20
| | | | know about bottomPtr, tebc does not need to behave differently on exit for coros
* * generic/tclBasic.c: Full nre-enabling of coroutinesMiguel Sofer2009-12-102-16/+7
| | | | * generic/tclExecute.c: [Bug 2806407]
* * generic/tclBasic.c: small cleanupMiguel Sofer2009-12-101-24/+23
|
* * generic/tclExecute.c: fix panic in http11.test caused by buggyMiguel Sofer2009-12-101-2/+2
| | | | earlier commits in coroutine management.
* * generic/tclObj.c (TclContinuationsEnter): [Bug 2895323]: Updatedandreas_kupries2009-12-101-5/+19
| | | | | | | | comments to describe when the function can be entered for the same Tcl_Obj* multiple times. This is a continuation of the 2009-11-10 entry where a memory leak was plugged, but where not sure if that was just a band-aid to paper over some other error. It isn't, this is a legal situation.
* reorganization and better comments in TclNRCoroutineObjCmd()Miguel Sofer2009-12-101-49/+46
|
* * generic/tclBasic.c: Reducing the # of moving parts forMiguel Sofer2009-12-102-25/+5
| | | | | * generic/tclExecute.c: coroutines by delegating more to tebc; eliminate the special coroutine CallFrame.
* * generic/tclBasic.c: Reducing the # of moving parts forMiguel Sofer2009-12-102-31/+11
| | | | * generic/tclExecute.c: coroutines
* Killed c99/c++ comments left in by the IO patch.andreas_kupries2009-12-091-6/+1
|
* * generic/tclIO.c: [Bug 2901998]: Applied Alexandre Ferrieux'sandreas_kupries2009-12-091-5/+48
| | | | | | patch fixing the inconsistent buffered I/O. Tcl's I/O now flushes buffered output before reading, discards buffered input before writing, etc.