TDBC

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 check-ins occurring around 9f74690834dad35a.

2017-12-16
23:03
When testing (against) tdbc in the build dir, tdbc.tcl is presumed found in $srcdir/library, not in the same dir as the built shared object.

When testing against an installed tdbc, tdbc.tcl is presumed found in the same dir as the shared object.

This makes the pkgIndex.tcl in the build dir unusable for testing. Makefile targets affected: test, shell, gdb, valgrind, etc.

This can be a problem for other extensions as well.

One solution has been to have a [package ifneeded script] generated and used by the Makefile. This is a bit messy and is needed for all affected targets. Extensions building against tdbc would also have to act accordingly, which can be argued is not their responsibility.

This solution uses a pkgIndex.tcl that looks for tdbc.tcl in $srcdir/library. The $srcdir/library path is stripped-out when pkgIndex.tcl is installed. With this in place, [package require] simply works. It is, admittedly, a bit ugly but I think it's the better than:

- Use two pkgIndex.tcl files: one to use when testing and one to install. - The original method: copy file(s) from the library dir into the build dir and remember to clean them up.

The implementation on this branch also removes the extra copying and cleaning-up of tdbc.tcl, which is no longer necessary. This has been done in this branch for tdbc.

The tdbc-* extensions building against tdbc would simply have to add $(TDBC_BIN_DIR) to the existing $(TCLLIBPATH) in their Makefiles to work with this new scheme.

This has been done in this branch for tdbc-*.

The remaining tdbc-* Makefile targets (shell, gdb, valgrind, etc.) remain broken but can be fixed as was done with tdbc. Closed-Leaf check-in: c5f7bcffcb user: stu tags: stu-pkgIndex

01:14
Move tdbc.tcl to its own target. Add tdbc.tcl to BINARIES to ensure it gets copied once during build and removed with "make clean". Fixes [625f0ee464]. check-in: 239b87734b user: stu tags: trunk
00:24
Add tdbcConfig.sh to CONFIG_CLEAN_FILES so that "make distclean" will remove it. check-in: 72ca85415c user: stu tags: trunk
2017-12-13
11:12
Merge vc-reform: new nmake build system check-in: 1e8eda7f51 user: apnadkarni tags: trunk
10:46
Use nmakehlp -L to locate TDBC directories Closed-Leaf check-in: bf96767d46 user: apnadkarni tags: vc-reform
2017-12-11
16:29
Updated copy of Tcl nmake support files and make use of default stubs and header installs check-in: 501f635181 user: apnadkarni tags: vc-reform
09:09
Do not need Tcl sources. Also fix rc file macro name. check-in: 3ee1af86cf user: apnadkarni tags: vc-reform
2017-12-10
13:06
Do not need the cwarn macro check-in: 2fee183e61 user: apnadkarni tags: vc-reform
12:47
Get rid of custom test and shell targets as built-in ones suffice check-in: 1e733cc160 user: apnadkarni tags: vc-reform
11:13
Turn off Unicode to match older nmake build check-in: 79e65ab0a3 user: apnadkarni tags: vc-reform
08:23
Intermediate check-in for new nmake system (non-functional!) check-in: 8fcb66a50a user: apnadkarni tags: vc-reform
04:52
Create new branch named "vc-reform" check-in: 6f6e19a9ac user: apnadkarni tags: vc-reform
2017-12-08
13:38
Bump to 1.0.6 check-in: 71b1f2c185 user: dgp tags: trunk
2017-12-06
18:39
Ensure consistent results. From kbk. check-in: ccbfd35b36 user: stu tags: trunk
2017-05-26
18:33
rm -f not needed before ${INSTALL_*}. A ghost of past installing. check-in: 43b96d33bb user: stu tags: trunk, tdbc-1-0-5
2017-05-25
16:10
obect -> object. Closes [cf073c38f2]. check-in: da98ff490b user: stu tags: trunk
2017-05-04
18:53
[5f95cdd83c] Avoid trouble when directory does not exist (yet). check-in: ab533463bb user: dgp tags: trunk
17:25
Improper value for tdbc_BUILD_LIB_SPEC check-in: ab6983f505 user: dgp tags: trunk
17:04
TEA_INIT required bump to TEA 3.10 as well. check-in: 5defe85817 user: dgp tags: trunk
2017-04-18
17:06
Bump to 1.0.5 (TEA changes only). check-in: ae6dd8f833 user: dgp tags: trunk
2016-02-18
20:37
typo check-in: 4dec62a1ee user: dgp tags: trunk, tdbc-1-0-4, rc1
2016-01-28
19:28
Bump to 1.0.4 check-in: 4921326d77 user: dgp tags: trunk
2015-10-13
13:11
Revert [7f0253a5c5aa2bdc]: It causes test-failures in the other tdbc* packages. check-in: 255ee301f9 user: jan.nijtmans tags: trunk
2015-10-05
12:27
minor bug-fix in ucrt support check-in: 9a408380e5 user: jan.nijtmans tags: trunk
11:51
re-generate "configure" using latest TEA. check-in: 9f74690834 user: jan.nijtmans tags: trunk
10:57
Fix 06f1692bbe: cross compilation with native mingw compiler in Cygwin environment. Remove a few end-of-line spaces. check-in: e007b127fb user: jan.nijtmans tags: trunk
2015-07-08
14:24
[6af4223559964a82]: if "package require tdbc::*" fails to load a DLL, it should clean up. Suggested by aspect check-in: 105afc59f2 user: jan.nijtmans tags: trunk
2015-06-26
21:57
Fix [625f0ee464]: Disable writing to build-dir at install time. Thanks to Erik Leunissen for noticing that this copying to the top build directory is completely unnecessary. check-in: 7f0253a5c5 user: jan.nijtmans tags: trunk
13:01
Make stub table pointer a 'const'ant, because Tcl_LoadFile is the only function that is allowed to fill the table. check-in: b8fd487e3f user: jan.nijtmans tags: trunk
2015-06-15
10:09
Make sure that tdbc_LIB_DIR is always a canonical absolute path. Improve formatting in Makefile.in, adapted from latest sampleextension. check-in: 8a460b3726 user: jan.nijtmans tags: trunk
2015-05-08
14:17
repair check-in: 8e963150b5 user: dgp tags: trunk
2015-04-21
15:08
Fix bug [2ca1f6da0dca4a33d57720a2eb9bb0992415819e|2ca1f6da0d]: Windows compilation in pkgs fails when using msys/configure. Rename configure.in -> configure.ac check-in: 86a892a16a user: jan.nijtmans tags: trunk
2015-04-20
11:52
proposed fix for[2ca1f6da0dca4a33d57720a2eb9bb0992415819e|2ca1f6da0d]: Windows compilation in pkgs fails when using msys/configure Closed-Leaf check-in: 80c5063e0c user: jan.nijtmans tags: bug-2ca1f6da0d
2015-01-23
18:50
Bump to tdbc 1.0.3; TEA/autoconf update. check-in: b7669d2c1c user: dgp tags: trunk, tdbc-1-0-3
2014-10-23
20:01
Bump to tdbc 1.0.2; TEA update. check-in: c02f0aa3e3 user: dgp tags: trunk, tdbc-1-0-2
19:21
[00b79282998] OpendBSD friendly docs. check-in: 7efb694cab user: dgp tags: trunk
2014-08-14
17:40
bump to 1.0.1 check-in: 46ba36b508 user: dgp tags: trunk, tdbc-1-0-1
2014-03-20
11:24
Fix 2f7cbd01c3: tcl8.6.1 fails to build on FreeBSD 10.0 check-in: 0e6b34f2d8 user: jan.nijtmans tags: trunk
2014-02-11
14:00
merge trunk Closed-Leaf check-in: 547503ad5c user: jan.nijtmans tags: novem-support
13:59
Update to latest TEA. Eliminate use of __WIN32__ macro: _WIN32 is more portable check-in: 94b7037067 user: jan.nijtmans tags: trunk
2013-11-14
14:29
merge trunk check-in: dd4b16afe9 user: jan.nijtmans tags: novem-support
14:10
Make "package require tdbc" work in Tcl 8.5, when TclOO is not loaded yet. check-in: 51cadedf9c user: jan.nijtmans tags: trunk
13:29
merge trunk check-in: 63f6d88132 user: jan.nijtmans tags: novem-support
13:26
tdbc works fine with Tcl 8.5 as well. check-in: f250d67d31 user: jan.nijtmans tags: trunk
2013-10-30
15:58
Put extern "C" guard around stub table definition. See also same change in Itcl: http://core.tcl.tk/itcl/info/ddf387cd88 check-in: f34e92eb70 user: jan.nijtmans tags: trunk
2013-10-08
13:39
update to latest TEA check-in: 325ae41b83 user: jan.nijtmans tags: trunk
2013-10-04
12:17
update to latest TEA check-in: 586821dfb4 user: jan.nijtmans tags: trunk
2013-10-02
11:19
update to latest TEA check-in: de4076cdd1 user: jan.nijtmans tags: trunk
2013-07-03
13:06
update to latest TEA check-in: 747bb08da3 user: jan.nijtmans tags: trunk
2012-12-06
15:21
merge contributed patch check-in: caab6510cb user: dgp tags: trunk, tdbc-1-0-0