summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 3029891] Functions that don't belong in the stub table.nijtmans2010-07-241-3/+3
|
* Use function prototypes from the FS API.nijtmans2010-04-201-49/+30
|
* Remove unnecessary '&' decoration for functionnijtmans2010-03-111-29/+29
| | | | | pointers. Fix double declaration of TclNativeDupInternalRep
* test that tclOO stubs are present in stub librarynijtmans2010-03-071-3/+6
| | | | | | | | Applied missing part of [Patch 2961556] Change all tclWinProcs signatures to use TCHAR* in stead of WCHAR*. This is meant as preparation to make [Enh 2965056] possible at all.
* remove presence of tclTomMathStubsPtr in tclStubLib.cnijtmans2010-03-061-2/+5
| | | | test that tommath stubs are present in stub library
* [ tcl-Feature Requests-2958832 ] Furthernijtmans2010-02-251-81/+77
| | | | | | speed-up of ouster-hash function. Eliminate various unnecessary (ClientData) type casts.
* Pure whitespace changes, changing to follow Engineering Manual style.dkf2010-02-241-3/+3
|
* Remove unnecessary EXTERN's, which alreadynijtmans2010-02-221-2/+2
| | | | | | | | are in the global stub table. Use @EXEEXT@ in stead of @EXT_SUFFIX@ Use -DBUILD_tcl in Makefile for CYGWIN Use EXTERN to control CYGWIN exported symbols Remove some unnecessary type casts.
* Follow-up to earlier commit today:nijtmans2010-02-051-3/+3
| | | | | | Eliminate the need for an extra Stubs Pointer for adressing a static stub table: Just change the exported table from static to MODULE_SCOPE.
* Fix gcc warning: ignoring return value of ‘write’,nijtmans2009-12-161-3/+11
| | | | | | declared with attribute warn_unused_result CONSTify functions TclpGetUserHome and TclSetPreInitScript (TIP #27)
* Plug testing memleak. [Bug 2895367]dkf2009-12-121-77/+98
|
* #undef STATIC_BUILD in tclWin(Dde|Reg).c, in order to makenijtmans2009-11-231-1/+2
| | | | | | | | | | | sure that Xxxxx_Init is always exported even when Tcl is built static (otherwise we cannot create a DLL). tclThreadTest.c: Make all functions static, except TclThread_Init. fCmd.test Enable fCmd-30.1 when registry is available. tcl.m4 Fix ${SHLIB_LD_LIBS} definition, fix conflicts configure.in between static libraries and import library on windows. configure (regenerated) Makefile.in Simplifications related to tcl.m4 changes.
* Test-case for fixed [Bug 2849797]nijtmans2009-11-191-3/+1
| | | | | | Fix safe-10.1 and safe-10.4 test cases, making the wrong assumption that Tcltest should be a static package.
* Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-181-12/+54
| | | | get created with static Tcl build
* Use proper command creation routine.dgp2009-11-161-2/+2
|
* (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-161-1/+46
| | | | manifestations in the future. Add tcltest support for finalization.
* - eliminate some unnessary type castsnijtmans2009-02-101-19/+19
| | | | | - some internal const decorations - spacing
* Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵dkf2009-01-091-11/+12
| | | | etc.)
* Alternate fix for[Bug 2251175]: missing backslash substitution on expanded ↵ferrieux2008-11-271-4/+1
| | | | literals.
* A few more (harmless) Tcl_SetResult eliminationsnijtmans2008-11-261-14/+8
|
* don't assume that Tcl_SetResult sets interp->result, especially notnijtmans2008-11-251-9/+8
| | | | in a dstring test
* Fix [Bug 2251175]: missing backslash substitution on expanded literals.ferrieux2008-11-171-1/+4
|
* change two Tcl_SetResult calls to Tcl_SetObjResult,nijtmans2008-11-161-5/+5
| | | | as simplification for the TIP #340 patch.
* * generic/tclCompile.h: Declare the internal tclInstructionTabledgp2008-10-171-3/+3
| | | | | | | | * 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-161-29/+29
| | | | | const tables. No functional or API change.
* set array of Tcl_Obj's to the right size.patthoyts2008-10-131-2/+2
|
* * doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProcnijtmans2008-10-051-3/+3
| | | | | | | | | | | | | | | * 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 #330 IMPLEMENTATIONdgp2008-10-021-7/+9
| | | | | | | | | | * 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 pointless castsdkf2008-08-201-3/+3
|
* * generic/tclTest.c (TestconcatobjCmd): fix use of internal-onlydas2008-08-201-3/+9
| | | | | TclInvalidateStringRep macro. [Bug 2057479]
* * generic/tclTest.c (TestconcatobjCmd):Miguel Sofer2008-08-171-1/+282
| | | | | | | | | | * generic/tclUtil.c (Tcl_ConcatObj): * tests/util.test (util-4.7): fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a hairy monster. This was exposed by [Bug 2055782]. Additionally, Tcl_ConcatObj could corrupt its input under certain conditions! *** NASTY BUG FIXED ***
* Dumped tclNRE.h's contents into tclInt.h. The file is now empty andMiguel Sofer2008-07-311-2/+1
| | | | | | unrefernced everywhere but in macosx/Tcl.xcodeproj/project.pbxproj: some knowledgeable maintainer please remove tclNRE.h after making sure it doesn't break the build on macosx
* * generic/tclBasic.c: Improved tailcalls and tests.Miguel Sofer2008-07-311-3/+12
| | | | | | | * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclTest.c: * tests/NRE.test:
* Completely revamped NRE implementation, with (almost) unchanged API.Miguel Sofer2008-07-291-1/+37
|
* * doc/FileSystem.3: CONSTified many functions using Tcl_FileSystemnijtmans2008-07-281-3/+3
| | | | | | | | | | | * generic/tcl.decls: which all are supposed to be a constant, but * generic/tclDecls.h: this was not reflected in the API: * generic/tclFileSystem.h: Tcl_FSGetInternalRep * generic/tclIOUtil.c: Tcl_FSNewNativePath, Tcl_FSData * generic/tclPathObj.c: Tcl_FSRegister, Tcl_FSUnregister * generic/tclTest.c: Tcl_FSGetFileSystemForPath ... This change complies with TIP #24. ***POTENTIAL INCOMPATIBILITY***
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-2/+2
|
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-3/+3
|
* * generic/tclIOUtil.c: Removed all code delimited bydgp2008-04-211-535/+1
| | | | | | | | | * generic/tclTest.c: USE_OBSOLETE_FS_HOOKS, completing * tests/ioCmd.test: the deprecation path for these * tests/ioUtil.test (removed): obsolete interfaces. (Code was active in Tcl 8.4, present but enabled only by customized compile switch in Tcl 8.5, and now completely gone for Tcl 8.6). Also removed all tests relevant only to the removed interfaces.
* * generic/tclTest.c: Ignore the return value of write() whenrmax2008-03-141-3/+3
| | | | * unix/tclUnixPipe.c: we are about to exit anyways.
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tclTest.c (TestSetCmd2):Miguel Sofer2007-11-031-1/+37
| | | | | | | * generic/tclVar.c (TclObjLookupVarEx): * tests/set.test (set-5.1): fix error branch when array name looks like array element (code not normally exercised). x
* * generic/tclTrace.c: Corrected broken trace reversal logic indgp2007-06-271-2/+18
| | | | | | * generic/tclTest.c: TclCheckInterpTraces that led to infinite loop * tests/trace.test: when multiple Tcl_CreateTrace traces were set and one of them did not fire due to level restrictions. [Bug 1743931].
* * generic/tclTest.c (SimpleMatchInDirectory): Corrected a refcountKevin B Kenny2007-05-021-2/+1
| | | | | imbalance that affected the filesystem-[147]* tests in the test suite. Thanks to Don Porter for the patch. [Bug 1710707]
* * generic/tclTest.c (Testregexpobjcmd): Removed an invalid accessKevin B Kenny2007-04-231-2/+2
| | | | beyond the end of 'objv' in 'testregexp -about'.
* Replaced commas in varargs with string concatenation where possible [Patch ↵Kevin B Kenny2007-04-201-31/+31
| | | | 1515234]
* Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-1641/+1624
|
* * generic/tclCompExpr.c: fix gcc warnings about 'cast to/fromdas2006-11-131-14/+14
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c: pointer from/to integer of different * generic/tclEvent.c: size' on 64-bit platforms by casting to * generic/tclExecute.c: intermediate types intptr_t/uintptr_t * generic/tclHash.c: via new PTR2INT(), INT2PTR(), * generic/tclIO.c: PTR2UINT() and UINT2PTR() macros. * generic/tclInt.h: [Patch 1592791] * generic/tclProc.c: * generic/tclTest.c: * generic/tclThreadStorage.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/configure.in: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * unix/tclUnixPort.h: * unix/tclUnixTest.c: * unix/tclUnixThrd.c: * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* TIP#268 IMPLEMENTATIONandreas_kupries2006-09-221-2/+4
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/PkgRequire.3: Documentation of extended API, * doc/package.n: extended testsuite. * tests/pkg.test: * generic/tcl.decls: Implementation. * generic/tclBasic.c: * generic/tclConfig.c: * generic/tclInt.h: * generic/tclPkg.c: * generic/tclTest.c: * generic/tclTomMathInterface.c: * library/init.tcl: * library/package.tcl: * library/tm.tcl:
* fix warningsdas2006-06-211-22/+22
|
* * generic/tclIOUtil.c: Changed default configuration todgp2006-06-211-10/+19
| | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: #undef USE_OBSOLETE_FS_HOOKS which disables * generic/tclTest.c: access to the Tcl 8.3 internal routines for hooking into filesystem operations. Everyone ought to have migrated to Tcl_Filesystems by now. ***POTENTIAL INCOMPATIBILITY*** for any code still stuck in the pre-Tcl_Filesystem era. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclStrToD.c: Removed dead code that permitted disabling of recognition of the new 0b and 0o numeric formats. * generic/tclExecute.c: Removed dead code that implemented alternative * generic/tclObj.c: design where numeric values did not automatically narrow to the smallest Tcl_ObjType required to hold them.