Itk - the [incr Tk] extension

Check-in [52ddb55ee0]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment:Protect against loading Itk 4 in an interp already housing Itcl 3.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 52ddb55ee017f9bb58d81d6bf3081600a7c5f28b
User & Date: dgp 2016-09-19 19:01:41
Context
2017-06-28
16:28
Support [return] in an itcl::configbody. check-in: b53797db6b user: dgp tags: trunk
2016-09-19
19:01
merge trunk check-in: 360f468ec5 user: dgp tags: dgp-method-type
19:01
Protect against loading Itk 4 in an interp already housing Itcl 3. check-in: 52ddb55ee0 user: dgp tags: trunk
2016-09-16
15:10
Improvements to the MSVC build machinery and porting fixes to code from Ashok Nadkarni. check-in: 3f30d567bc user: dgp tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pkgIndex.tcl.in.

1
2
3

4
5
# Tcl package index file, version 1.0

if {![package vsatisfies [package present Tcl] 8.6]} return

package ifneeded itk @[email protected] [list load [file join $dir "@[email protected]"] Itk]
package ifneeded Itk @[email protected] [list load [file join $dir "@[email protected]"] Itk]

|
>


1
2
3
4
5
6
# Tcl package index file, version 1.0

if {![package vsatisfies [package provide Tcl] 8.6]} return
if {[string length [package provide Itcl]] && ![package vsatisfies [package provide Itcl] 4]} return
package ifneeded itk @[email protected] [list load [file join $dir "@[email protected]"] Itk]
package ifneeded Itk @[email protected] [list load [file join $dir "@[email protected]"] Itk]