summaryrefslogtreecommitdiffstats
path: root/unix/dltest
Commit message (Collapse)AuthorAgeFilesLines
* Fix (possible) gcc warnings in unix/dltest/*.cjan.nijtmans2020-10-066-1/+31
|
* If compiling with -DTCL_NO_DEPRECATED, make Tcl_GetStringResult() a macro. ↵jan.nijtmans2019-05-091-1/+1
| | | | | This opens up one more simplification for Tcl 9. Compile the load-test dll's/so's with -DTCL_NO_DEPRECATED
* Record the fact that all stub-enabled extensions work in Tcl 8.5+, no 8.6 ↵jan.nijtmans2016-12-206-8/+8
| | | | (or 9.0) features are needed. (Differences between 8.x and 9.0 are handled by a different stub magic value)
* Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-3/+2
| | | | in many places where possible.
* Eliminate internal use of TCL_STORAGE_CLASS, as it will be gone in 9.0 anywayjan.nijtmans2016-06-295-51/+10
|
* Tcl_SetVar -> Tcl_SetVar2 and comparable replacements, eliminating functions ↵jan.nijtmans2016-06-291-3/+3
| | | | which are deprecated.
* Eliminate some usages of Tcl_GlobalEval() and Tcl_Eval(), which are ↵jan.nijtmans2016-01-181-1/+1
| | | | deprecated functions.
* -I${BUILD_DIR}/.. doesn't work when BUILD_DIR != "unix". jan.nijtmans2013-10-152-2/+4
| | | Reported by Matthias Kraft
* Fix comment in tclOO.decls: tclOOStubLib.c is not generated by "make genstubs". jan.nijtmans2013-10-141-32/+16
| | | In pkgooa.c, check whether the internal TclOO stub table is initialized correctly as well, some internal simplifications and improved comments.
* Allow loading of pkgooa.so in Tcl 8.5 for (regression) test purposes. jan.nijtmans2013-10-131-1/+18
| | | Better error messages in stead of crashes in some (hypothetical) error situations.
* Fix for bug [f51efe99a7]: MinGW build fails on current checkin. And a new ↵jan.nijtmans2013-10-102-2/+149
| | | | test-case which makes the problem visible on UNIX as well.
* Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-121-2/+2
|\ | | | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
| * Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-121-2/+2
| |\ | | | | | | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
| | * Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-121-2/+2
| | | | | | | | | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
* | | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-021-0/+7
|\ \ \ | |/ / | | | Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
| * | test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as well. jan.nijtmans2013-01-021-0/+7
| |\ \ | | |/ | | | | | | Marked some string subcommands as obsolete, following discussion on tcl-core. Don't free ctrl.script if thread creation fails: it is a constant string "testthread wait" normally.
| | * test Tcl_GetErrorLine() forwards/backwards compatibility in pkgb.so as welljan.nijtmans2013-01-021-0/+7
| | |
* | | Inline compat Tcl_GetDefaultEncodingDir. jan.nijtmans2012-12-211-28/+13
|\ \ \ | |/ / | | | Eliminate unnecessary static HasStubSupport() and isDigit() functions, just do the same inline.
| * | Make pkgb.so loadable in Tcl 8.4 as well. jan.nijtmans2012-12-211-6/+12
| |\ \ | | |/ | | | Eliminate unnessarcy static HasStubSupport() and isDigit() functions, just do the same inline.
| | * Turn pkgb.so into a Tcl9 interoperability test library: Whatever Tcl9 looks ↵jan.nijtmans2012-12-211-35/+41
| | | | | | | | | | | | | | | like, loading pkgb.so in Tcl 9 should either result in an error-message, either succeed, but never crash. Eliminate unnessarcy static HasStubSupport() and isDigit() functions, just do the same inline.
* | | Source compat, rather than stubs compat demo.dgp2012-12-071-6/+13
| | |
* | | add proper runtime-detection to pkgb.sojan.nijtmans2012-12-071-1/+10
| | |
* | | 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 crashjan.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.