summaryrefslogtreecommitdiffstats
path: root/unix/dltest
Commit message (Collapse)AuthorAgeFilesLines
* Extended test of [load]ing Tcl 8 compiled extension into Tcl 9 interp.dgp2012-12-071-2/+15
|
* Turn pkgb.so into a Tcl9 interoperability testjan.nijtmans2012-12-071-6/+5
|\ | | | | | | library: Whatever Tcl9 looks like, loading pkgb.so in Tcl 9 should either result in an error-message, either succeed, but never crash.
| * Turn pkgb.so into a Tcl9 interoperability testjan.nijtmans2012-12-071-6/+5
| |\ | | | | | | | | | library: Whatever Tcl9 looks like, loading pkgb.so in Tcl 9 should either result in an error-message, either succeed, but never crash.
| | * do some Tcl_EvalEx, for test-purposes, demonstrating a crashnovem_supportjan.nijtmans2012-12-051-2/+1
| | |
| | * use Tcl_PkgProvideEx everywhere (again, for testing purposes)jan.nijtmans2012-12-055-8/+8
| | |
| | * merge trunkjan.nijtmans2012-12-056-8/+8
| |/ |/| | | Change TCL_VERSION to "8.6-" everywhere in Tcl_InitStubs. This is not the way how to do it! Just for testing purposes.
* | Now that we are no longer on CVS, the .cvsignore files serve no purposejan.nijtmans2011-03-071-5/+0
|\ \ | |/
| * Now that we are no longer on CVS, the .cvsignore files serve no purposejan.nijtmans2011-03-071-5/+0
| |\
| | * Now that we are no longer on CVS, the .cvsignore files serve no purposejan.nijtmans2011-03-071-1/+0
| | |
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-028-16/+1
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-028-16/+1
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-018-15/+0
| | | | | | | | | more harm than good. Purged them.
| | * .cvsignorenijtmans2010-10-231-0/+1
| | |
| | * * unix/dltest/Makefile.in: support use of LDFLAGS in SHLIB_LD.das2008-03-271-2/+5
| | |
| | * * unix/dltest/Makefile.in (clean): Fixup make cleanmdejong2004-09-231-2/+6
| | | | | | | | | | | | | | | | | | rule so that it does not delete all files when SHLIB_SUFFIX is set to the empty string in a static build. [Bug 1016726]
| | * * unix/tcl.m4: fixed Darwin autoconf breakage caused bydas2004-07-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | recent CFLAGS reordering. * unix/configure: regen * unix/tclConfig.sh.in: replaced EXTRA_CFLAGS with CFLAGS. * unix/dltest/Makefile.in: replaced EXTRA_CFLAGS with DEFS.
| | * Silence compiler warningsdgp2004-06-081-2/+2
| | |
| | * * unix/dltest/pkga.c (Pkga_EqObjCmd): Fix typomdejong2003-07-161-2/+2
| | | | | | | | | | | | that was causing a crash in load.test.
| | * * unix/dltest/pkga.c: Updated to not use Tcl_UtfNcmp and counteddgp2003-07-151-2/+10
| | | | | | | | | | | | | | | strings instead of strcmp (not defined in any #include'd header) and presumed NULL-terminated strings.
| * | Add .so to .cvsignorenijtmans2010-06-161-0/+1
| | |
| * | Various trivial fixes, discovered during CYGWIN porting attempt. All ↵nijtmans2010-01-061-0/+2
| | | | | | | | | | | | backported from trunk.
| * | Silence a bunch of unimportant messages from cvsdkf2009-12-161-0/+2
| | |
* | | Fix [Bug 3148192]: [load] broken. Assure that those files are never compiled ↵nijtmans2010-12-316-6/+12
| | | | | | | | | | | | with -DSTATIC_BUILD
* | | Revert the conversion of TCL_VERSION to "8.1" and "8.5" in the Tcl_InitStubs()dgp2010-03-286-15/+15
| | | | | | | | | | | | calls of the pkg*.c testing extensions.
* | | Provide "lowest supported Tcl version" tonijtmans2010-03-276-15/+15
| | | | | | | | | | | | | | | the Tcl_InitStubs functions in unix/dltest, in stead of "current Tcl version"
* | | Remove unnecessary '&' decoration for functionnijtmans2010-03-111-0/+1
| | | | | | | | | | | | | | | pointers. Fix double declaration of TclNativeDupInternalRep
* | | Remove unnecessary EXTERN's, which alreadynijtmans2010-02-226-45/+86
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still ↵nijtmans2009-12-211-0/+1
| | | | | | | | | | | | not enabled yet, but at least it is a step in the right direction.
* | | Added some OSX-specific thingsdkf2009-11-221-0/+2
| | |
* | | Add files to .cvsignorenijtmans2009-11-181-0/+1
| | |
* | | const addition (pkge.c)nijtmans2009-08-161-2/+2
| | | | | | | | | | | | | | | Use <pthread.h> in stead of "pthread.h" Eliminate some more gcc warnings
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-275-27/+27
|/ /
* | * generic/tclResult.c (ReleaseKeys): Workaround for [Bugandreas_kupries2008-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 1904907]. Reset the return option keys to NULL to allow full re-initialization by GetKeys(). This introduces a memory leak for the key objects, but gets us around a crash in the finalization of reflected channels when handling returns, either at compile- or runtime. In both cases we access the keys after they have been released by their thread exit handler. A proper fix is entangled with the untangling of the finalization ordering and attendant issues. For now we choose the lesser evil.
* | merge stable branch onto HEADdgp2007-12-136-6/+6
| |
* | * unix/dltest/pkga.c: whitespace & comment cleanup, removedas2007-08-146-64/+21
| | | | | | | | | | | | | | | | | | * unix/dltest/pkgb.c: unused pkgf.c. * unix/dltest/pkgc.c: * unix/dltest/pkge.c: * unix/dltest/pkgf.c (removed): * unix/dltest/pkgua.c: * macosx/Tcl.xcodeproj/project.pbxproj:
* | restore line endingsdgp2007-05-297-1058/+1058
| |
* | Convert to using ANSI function definitions.dkf2007-05-027-1066/+1058
| |
* | * tests/macOSXLoad.test (new file): add testing of .bundle loading anddas2006-12-171-16/+58
| | | | | | | | | | | | | | | | | | | | | | * tests/load.test: unloading on Darwin (in addition to * tests/unload.test: existing tests of .dylib loading). * macosx/Tcl.xcodeproj/project.pbxproj: add building of dltest binaries so that testsuite run from Xcode can use them; fix testsuite run script. * unix/configure.in: add support for building dltest binaries as * unix/dltest/Makefile.in: .bundle (in addition to .dylib) on Darwin. * unix/Makefile.in: add stub lib dependency to dltest target. * unix/configure: autoconf-2.59
* | * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tk/unix/configure.in. * unix/Makefile.in: add CFLAGS to tclsh/tcltest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of tclsh and compiling of tclTestInit.o or xtTestInit.o during parallel make. (checkstubs, checkdoc, checkexports): dependency and Darwin fixes (dist): add new macosx files. * unix/tclLoadDyld.c (TclpDlopen): use NSADDIMAGE_OPTION_WITH_SEARCHING on second NSAddImage only. [Bug 1204237] (TclGuessPackageName): should not be MODULE_SCOPE. (TclpLoadMemory): ppc64 and endian (i386) fixes, add support for loading universal (fat) bundles from memory. * unix/tclUnixFCmd.c: * macosx/tclMacOSXFCmd.c: ppc64 and endian (i386) fixes. (TclMacOSXCopyFileAttributes): add support for new Tiger copyfile() API to enable copying of xattrs & ACLs by [file copy]. * generic/tcl.h: add Darwin specifc configure overrides for TCL_WIDE defines to support fat compiles of ppc and ppc64 at the same time, (replaces Darwin CVS fix by emoy, rdar://3693001). add/correct location of version numbers in macosx files. * generic/tclInt.h: clarify fat compile comment. * unix/tclUnixPort.h: add Darwin specifc configure overrides to support fat compiles, where configure runs only once for multiple architectures (replaces Darwin CVS fix by emoy, rdar://3693001). * macosx/tclMacOSXBundle.c: * macosx/tclMacOSXNotify.c: * unix/tclUnixNotfy.c: * unix/tclUnixPort.h: fix #include order to support compile time override of HAVE_COREFOUNDATION in tclUnixPort.h when building for ppc64 * macosx/Tcl.pbproj/default.pbxuser (new file): * macosx/Tcl.pbproj/jingham.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * macosx/Tcl.xcode/default.pbxuser (new file): * macosx/Tcl.xcode/project.pbxproj (new file): * macosx/Tcl.xcodeproj/default.pbxuser (new file): * macosx/Tcl.xcodeproj/project.pbxproj (new file): new/updated projects for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with native tcltest targets and support for universal (fat) compiles. * macosx/README: clarification/cleanup, document new Xcode projects and universal (fat) builds via CFLAGS (i.e. all of ppc ppc64 i386 at once). * unix/Makefile.in: * unix/aclocal.m4: * unix/configure.in: * unix/dltest/Makefile.in: * macosx/configure.ac (new file): add support for inclusion of unix/configure.in by macosx/configure.ac, allows generation of a config headers enabled configure script in macosx (required by Xcode projects). * macosx/GNUmakefile: rename from Makefile to avoid overwriting by configure run in tcl/macosx, add support for reusing configure cache, build target fixes, remove GENERIC_FLAGS override now handled by tcl.m4. * generic/tcl.decls: add Tcl_Main declaration as comment to avoid 'checkstubs' target complaining about it missing from stubs. * generic/regex.h: * generic/tclDate.c: * generic/tclEnv.c: * generic/tclGetDate.y: * generic/tclIOUtil.c: * generic/tclObj.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclPathObj.c: * generic/tclThreadAlloc.c: * generic/tclThreadStorage.c: * generic/tclTrace.c: * generic/tclVar.c: * generic/tommath.h: * tools/fix_tommath_h.tcl: * unix/tclUnixFCmd.c: ensure externally visible symbols not contained in stubs table are declared as MODULE_SCOPE (or as static if not used outside of own source file). These changes allow 'make checkstubs' to complete without error on Darwin with gcc 4. * generic/rege_dfa.c (getvacant): * generic/regexec.c (cfind): * generic/tclCompExpr.c (CompileSubExpr): * generic/tclNamesp.c (NamespaceEnsembleCmd): * unix/tclUnixChan.c (TclUnixWaitForFile): initialise variables to silence gcc 4 warnings. * generic/tclExecute.c (TclExecuteByteCode): fix unused variable warning when NO_WIDE_TYPE is defined. * generic/regguts.h: only #define NDEBUG if not already #defined. * unix/tclUnixNotfy.c: * macosx/tclMacOSXNotify.c: sync whitespace & comments. * unix/tclUnixPort.h: * win/tclWinPort.h: remove declaration of obsolete&unused TclpMutex API. * unix/configure: * unix/tclConfig.h.in: regen.
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | Remove ${DBGX}, ${TCL_DBGX} from Tcl build system [Patch 1081595].jenglish2005-01-101-2/+1
| |
* | * generic/tcl.h:das2004-11-121-2/+3
| | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: * unix/Makefile.in: include tclConfig.h from tcl.h and install it as a public header. Normalized compiler include path order to -I${BUILD_DIR} -I${UNIX_DIR} -I${GENERIC_DIR}. * unix/dltest/Makefile.in: add ${BUILD_DIR}/.. to include path to pick up tclConfig.h.
* | * unix/dltest/Makefile.in (clean): Fixup make cleanmdejong2004-09-231-2/+6
| | | | | | | | | | | | rule so that it does not delete all files when SHLIB_SUFFIX is set to the empty string in a static build. [Bug 1016726]
* | Silence compiler warnings.dgp2004-06-082-5/+5
| |
* | * unix/Makefile.in: Rework configure ordering to TCL_LINK_LIBS,hobbs2004-05-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * unix/tcl.m4: ENABLE_SHARED, CONFIG_CFLAGS, & ENABLE_SYMBOLS * unix/configure: before TCL_EARLY_FLAGS and TCL_64BIT_FLAGS * unix/configure.in: (about 400 lines earlier) in configure.in. This forces CFLAGS configuration to be done before many tests, which is needed for 64-bit builds and may affect other builds. Also make CONFIG_CFLAGS append to CFLAGS directly instead of using EXTRA_CFLAGS, and have LDFLAGS append to any existing value. [Bug #874058] * unix/dltest/Makefile.in: change EXTRA_CFLAGS to DEFS
* | Fix minor syntax problems. [Bug 909288]dkf2004-03-041-6/+6
| |
* | TIP#100 implementation largely based on work by Georgios Petasis.dkf2004-02-243-5/+345
| |
* | * unix/dltest/pkga.c (Pkga_EqObjCmd): Fix typomdejong2003-07-161-2/+2
| | | | | | | | that was causing a crash in load.test.
* | * unix/dltest/pkga.c: Updated to not use Tcl_UtfNcmp and counteddgp2003-07-151-2/+10
| | | | | | | | | | strings instead of strcmp (not defined in any #include'd header) and presumed NULL-terminated strings.
* | * unix/Makefile.in: Don't subst MATH_LIBS,mdejong2003-04-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | LIBS, and DL_LIBS separately. Instead, just subst TCL_LIBS since it includes the others. * unix/configure: Regen. * unix/tcl.m4 (SC_CONFIG_CFLAGS, SC_TCL_LINK_LIBS): Set and subst TCL_LIBS in SC_CONFIG_CFLAGS instead of SC_TCL_LINK_LIBS. Don't subst MATH_LIBS since it is now covered by TCL_LIBS. * unix/tclConfig.sh.in: Use TCL_LIBS instead of DL_LIBS, LIBS, and MATH_LIBS. * unix/dltest/Makefile.in: Ditto.