summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
Commit message (Collapse)AuthorAgeFilesLines
* make some more internal tables CONSTjan.nijtmans2012-04-181-1/+1
| | | fix compilation with -DNO_CONST
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | more harm than good. Purged them.
* Backported fix for #1923966patthoyts2008-03-241-2/+4
|
* De-fang an instance of the shared-result anti-pattern. [Bug 1716704]dkf2007-06-301-1/+5
|
* * generic/tclBasic.c:Miguel Sofer2005-10-231-6/+10
| | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others.
* Fix [Bug 1116542]dkf2005-09-271-2/+18
|
* * generic/tclBinary.c (DeleteScanNumberCache): fixed crashing bugdas2003-12-171-2/+4
| | | | when numeric scan-value cache contains NULL value.
* Stop losing references when variables are repeated in [binary scan]. [851747]dkf2003-12-021-40/+71
|
* Stopped sign-bit propagation in [binary scan] of wide values. [Bug #690774]dkf2003-02-211-20/+20
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-6/+72
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* * More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that weredgp2002-01-171-2/+2
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* * generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem):dgp2001-12-281-3/+3
| | | | | | | | | | | | | | | | | | | Added the [memory onexit] command, intended to replace [checkmem]. * doc/DumpActiveMemory.3: * doc/memory.n: Updated documentation for [memory] and related matters. [Bug 487677] * mac/tclMacBOAMain.c (Tcl_Main, CheckmemCmd): Removed all the machinery for the [checkmem] command that is completely duplicated by code in generic/tclCkalloc.c. * generic/tclBinary.c: * generic/tclListObj.c: * generic/tclObj.c: * generic/tclStringObj.c: Removed references to [checkmem] in comments, referencing [memory active] instead, since it is documented.
* * generic/tclBinary.c: Added caching scheme to reduce number of objectdkf2001-11-291-19/+114
| | | | allocations when doing scans of large repetitive binary strings.
* Fixed annoying fault in [binary format] on 64-bit architectures.dkf2001-08-231-3/+3
|
* (TIP#27) Changed a number of Tcl API's to accept "CONST char*"Kevin B Kenny2001-04-041-8/+8
| | | | in place of simple "char*". (kennykb) [Patch #404026]
* * tests/binary.test:stanton1999-05-031-1/+3
| | | | | * generic/tclBinary.c (DupByteArrayInternalRep): Fixed bug where type was not being set in duplicated object.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-175/+250
|
* Merged stubs changes into mainline for 8.0stanton1999-03-101-35/+496
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* lintstanton1998-06-251-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+1013