Version 119 of Jos Decoster

Updated 2008-12-26 11:19:35 by jdc

Contact info

mail: jos _dot_ decoster _at_ gmail _dot_ com

jdc on the Tcler's chat.

homepage: http://jos.decoster.googlepages.com/

Contributions

Using BLT with Tcl 8.5.2

For an application I develop, I'm using the BLT commands bgexec, busy, graph and barchart. bgexec and busy are available as starkits (check Standalone bgexec and busy), but the graph and barchart commands have no startkit equivalent. So I had to get BLT going for Tcl 8.5.2. The followings changes were needed:

  1. BLT has its own copy of the TkDisplay structure definition. A new member was added to this struct in Tk 8.5.2, which caused a crash of the busy command. This new member is XIMStyle inputStyle;, found in file tkInt.h of the Tk distribution. This member needs to be added to the TkDisplay definition as found in bltWindow.c file of BLT.
  2. Tk must be compiled without Xft support. Xft seems to cause trouble with e.g. the bitmap command.
  3. Some libs need to be added to the link command. This needs to be inserted before -lX11 in the generated Makefile in the src and src/shared subdirectories: -lX11 -lXss -lXext.
  4. When using the zoom-stack, some assertion trigger. Commenting them out solved the problem without introducing problems. I removed the 4 assert statements in the BoxesDontOverlap function in file bltGrMarker.c.

The BLT code as I used can be found here . The archive also contains fixes for bgexec and the makefiles made by Koen Danckaert (a colleague). It does not contain the patches as found on sourceforge. I only tested the commands I'm using in my applications and they seem to work OK:

  • bgexec
  • busy
  • graph
  • barchart

Wiki edit statistics

1998: 8 edits

PageNumber of edits
Matt Newman1
NeoWebScript1
grab1
keysyms1
Binary representation of numbers1
Tcl Benchmarks1
Tk Gems1
TkBugs1
NickNumber of edits
134.243.55.722
208.244.224.651
193.98.144.21
209.17.183.2491
212.151.46.1941
66.68.174.1261
212.151.38.1541

1999: 511 edits

PageNumber of edits
Graffiti6
The Tcler's Wiki5
Wikit Problems5
Wikit4
Tcl'ers4
Comments on the Tcl'ers Wiki4
Larry Virden4
The purpose of this Wiki4
About this site4
Glossary of terms4
New Pages4
ETEN4
Jean-Claude Wippler3
Wiki3
Suggestions for Wikit3
scripted document3
3
SEE3
Additional list functions3
How to grow your own Wiki3
Acronym collection3
NickNumber of edits
134.243.50.70146
195.108.246.5174
195.108.246.5047
193.98.144.239
194.77.26.15032
local22
192.109.213.322
194.83.240.2115
129.176.215.12213
131.215.115.6912
129.6.88.10911
194.196.110.167
194.83.240.206
194.83.240.304
209.154.254.1843
134.243.55.723
146.169.14.733
129.6.77.562
209.154.226.1492
194.82.103.382
194.83.240.322

2000: 221 edits

PageNumber of edits
Dirty Dozen1
Comments on the Tcl'ers Wiki1
The purpose of this Wiki1
Welcome Visitors1
1
STEP1
How to grow your own Wiki1
Commonly encountered problems in Tcl1
Tcl community projects1
Chart of proposed list functionality1
Donal Fellows1
Mark Harrison1
Jim Ivler1
Don Libes1
Bob Techentin1
Namespace resolution on unknown command1
menu1
An analog clock in Tk1
A parser's monolog1
for1
A file properties dialog1
NickNumber of edits
193.98.144.248
134.243.55.7226
131.215.115.699
192.35.44.147
192.109.213.36
194.83.240.406
129.6.88.174
194.83.240.344
209.122.239.624
209.181.16.14
129.247.216.553
200.41.62.1313
129.176.215.1223
134.243.50.703
195.235.177.103
194.83.240.173
194.83.240.293
194.83.240.413
129.6.77.562
131.204.12.242
209.17.183.2492

2001: 5228 edits

PageNumber of edits
New Pages89
Einfach Tcl55
Graffiti48
Tcl'ers46
Ask, and it shall be given.38
VFS36
Tcl Tutorial Discussions36
Critcl builds C extensions on-the-fly34
The Tcler's Wiki32
Reworking the clock command28
mini.net misdirection27
testing27
Applications in Tcl and Tcl/Tk25
Why is TCL syntax so weird24
Graph theory in Tcl24
One-line web browser in Tcl23
argv22
Wikit's performance21
Degree histograms20
Ways to execute Perl programs from Tcl19
English plurals19
NickNumber of edits
134.243.55.721786
206.109.1.32661
193.98.144.2578
209.17.183.249344
209.140.121.22698
192.35.44.379
212.134.222.248
131.215.115.3447
213.95.15.20145
128.152.20.3340
129.6.88.13737
24.77.106.5834
194.200.145.533
64.65.203.12226
129.6.88.1724
155.104.239.1623
158.140.2.10223
193.243.161.10122
194.176.224.3321
216.37.15.3417
145.9.132.10016

2002: 19049 edits

PageNumber of edits
New Pages388
Graffiti274
Ask, and it shall be given.234
Tcl'ers159
NewzPoint151
Changes in Tcl/Tk 8.4100
Notebook App96
Scripted Compiler76
The Tcler's Wiki76
MacOS X70
Expect67
Tcl jobs65
Tcl 9.0 WishList62
Suggestions for Wikit60
Comments on the Tcl'ers Wiki58
Applications in Tcl and Tcl/Tk58
tDOM54
Migration to 8.4: CONSTification54
Critcl53
WikiDiff50
Wolf "Grossi" Grossbauer48
NickNumber of edits
134.243.40.1382253
193.98.144.21811
206.109.1.321161
209.17.183.249870
80.126.24.9820
206.230.0.251479
192.35.44.3378
24.42.208.231302
134.243.65.81280
131.215.115.34271
134.243.55.72261
216.17.21.254236
145.9.132.100225
24.77.106.58221
129.6.88.137208
155.104.248.11196
65.85.54.221182
209.151.183.223156
130.88.1.109143
24.62.122.151142
213.95.15.201139

2003: 21777 edits

PageNumber of edits
Ask, and it shall be given.367
Veronica Loell271
New Pages254
Graffiti252
Tcl 9.0 WishList193
Tk 9.0 WishList164
POLL: Argument Expansion Syntax119
wish-reaper114
XiRCON-II106
Tcl'ers96
The Tcler's Wiki80
Suggestions for Wikit70
user documentation project70
Rohan Pall66
Gem Game63
Why Do Programs Take Up So Much Memory ?61
RS58
Mark G. Saye56
Applications in Tcl and Tcl/Tk54
What feature or functionality is missing in Tcl53
Batteries Included53
NickNumber of edits
134.243.40.1382213
193.98.144.21247
64.81.55.180943
209.17.183.249719
195.241.128.75633
130.88.1.52520
199.86.45.178391
80.126.24.9384
209.151.183.223355
24.62.122.151319
206.230.0.251292
145.9.132.100272
67.112.119.146194
63.69.97.3185
129.6.88.137166
194.200.145.5165
24.114.111.163155
62.212.96.121153
66.83.88.14147
166.70.196.201147
155.104.239.16145

2004: 23654 edits

PageNumber of edits
Ask, and it shall be given # 2431
Ask and it shall be given Discussion231
Ask, and it shall be given.188
Graffiti187
New Pages185
George Peter Staplin154
The Tcler's Wiki151
Tcl'ers108
unperson108
Ask and it shall be given Survey108
Discussion about a more concise wiki front page104
unperson Problem103
RS99
Tkabber99
Looking for a TCL Programmer95
TclHttpd Needs94
CB86
The TK GUI - Q&A85
They help tcl'ers to travel79
dict76
Audio Webcast from the Tcl Conference74
NickNumber of edits
134.243.216.1331005
134.243.216.133423
80.126.24.9341
144.136.123.45328
82.168.209.239325
193.98.144.2316
144.136.122.2256
193.98.144.2251
166.70.196.201221
82.168.209.239211
134.243.40.138199
12.107.165.254189
62.212.96.121175
66.83.88.14174
145.9.132.100167
130.88.1.52158
80.126.24.9156
209.17.183.249151
166.70.196.201147
145.9.132.100145
129.6.88.137136

2005: 20856 edits

PageNumber of edits
Ask, and it shall be given # 3329
Ask, and it shall be given # 2269
New Pages188
Graffiti162
Poll: do you want OOP?144
Adrian Ho97
Whim window manager91
Jim85
Tcl'ers85
TIP #257: Object Orientation for Tcl78
Tcl Marketing discussion75
Hearts70
What If: Everything is a Thing70
Tcl Style Guide67
RS66
continuation64
another Asteroids60
Ideas for Projects in Tcl/Tk59
Dodekalogue56
Wikit Problems55
Zarutian51
NickNumber of edits
134.243.216.1331262
207.250.72.2699
193.98.144.2472
80.126.24.9273
194.144.84.110245
24.61.44.228213
62.253.32.7191
130.88.195.186156
62.254.0.48148
166.70.196.201144
12.107.165.254143
134.243.216.209127
152.121.100.100127
209.17.183.249120
212.159.102.166120
145.9.132.100118
70.248.178.2115
62.254.0.48110
64.168.64.116109
66.83.88.14102
202.150.96.34100

2006: 17312 edits

PageNumber of edits
eTcl201
New Pages184
Mel's Internet Toolkit171
Ask, and it shall be given # 4165
Graffiti163
CrowTDE141
Ask, and it shall be given # 3132
Refrigerator_Magnetic_Poetry118
Tcl 9.0 WishList117
slogan82
Tcl/Tk OS80
Ask, and it shall be given # 579
wikignomes75
wanyozxy70
Applications in Tcl and Tcl/Tk69
TIP #257: Object Orientation for Tcl69
TWAPI63
SpamReport63
Engineering Notation59
Offering TCL Jobs57
How to migrate to Tile57
NickNumber of edits
193.102.25.2324
193.98.144.2310
134.243.216.133240
207.250.72.2228
82.37.195.45228
134.243.50.190215
166.70.196.201157
62.176.136.233154
213.61.99.156147
130.88.195.186139
134.243.216.133118
70.248.178.2117
62.253.32.7115
84.92.246.238112
68.99.184.24111
66.117.217.10108
134.243.50.190104
152.121.16.49102
84.81.131.115100
62.254.0.4893
67.53.175.18092

2007: 23489 edits

PageNumber of edits
WubWikit Problems507
Ask, and it shall be given # 6340
One Liners336
Pages containing invalid UTF-8 sequences259
Zarutian249
Graffiti239
Iching_Fortunes207
ToW Tcl on WebFreeWay194
tclOO missing features for Itcl174
New Pages167
Changes in Tcl/Tk 8.5144
Ask, and it shall be given # 5144
TemplaTcl: a Tcl template engine142
Applications in TCL and Tcl/Tk -#Index-126
Proposed solutions to the current problems, Discussion117
Tiny Tcl/Tk IDE108
BraceStarBrace97
Applications in Tcl-Tk, Index93
eTcl85
horoscope pie plotter84
Applications in Tcl and Tcl/Tk -Discussion of the new system-83
NickNumber of edits
LV2700
dkf1386
134.243.50.190877
suchenwi746
EMJ537
escargo485
colin481
lvirden452
gold434
MJ362
Josh356
Zarutian352
APW347
jdc300
HJG264
lars_h262
FF254
72.232.214.186253
KJN233
hoffi219
wdb210

2008: 13141 edits

PageNumber of edits
Ask, and it shall be given # 7217
Graffiti151
Ask, and it shall be given # 6138
Project Ideas for Google Summer of Code 2008117
New Pages99
eTcl bugs and comments93
Cloverfield86
Tcl/Tk 8.6 Roadmap81
Wiki Announcements80
wiki database for offline use76
Tcl'ers62
Web-hosting companies that offer server-side Tcl52
Recent Changes is virtually worthless50
Tcl 8.6 Wish List45
Tcl Math Syntax is Inferior to JavaScript/Python/Ruby/C/C++/Java/Perl/PHP42
Changes in Tcl/Tk 8.640
TIP proposal for Try-Catch Exception Handling38
itcl internals38
Jos Decoster37
pdf4tcl37
TclOO37
NickNumber of edits
LV1677
dkf1160
lars_h807
jdc304
escargo273
FB252
nem221
MHo220
CMcC204
theover203
Stu202
AK182
suchenwi174
peterc162
andy150
dgp147
SL138
stevel123
tb113
WJG105
arjen104

Edit statistics generated with this script:

package require Mk4tcl

mk::file open db wikit-20081226.tkd -readonly

proc get_nick {who} {
    set idx [string first @ $who]
    if {$idx > 0} {
        return [string range $who 0  [expr {$idx-1}]]
    } else {
        return $who
    }
}

mk::loop i db.pages {
    lassign [mk::get $i name who date] name who date
    set y [clock format $date -format %Y]
    incr ys($y)
    incr w($y,[get_nick $who])
    incr p($y,[string range $i 9 end])

    mk::loop j $i.changes {
        lassign [mk::get $j who date] who date
        set y [clock format $date -format %Y]
        incr ys($y)
        incr w($y,[get_nick $who])
        incr p($y,[string range $i 9 end])
    }
}

foreach y [lsort -integer [array names ys]] {

    puts "***$y: $ys($y) edits***"

    set l {}
    foreach {k v} [array get p $y,*] {
        set n [lindex [split $k ,] end]
        set name [mk::get db.pages!$n name]
        lappend l [list $name $v]
    }
    set n 0
    puts "\n%|Page|Number of edits|%"
    foreach il [lsort -integer -decreasing -index 1 $l] {
        puts "&|[join $il |]|&"
        incr n
        if {$n>20} {break}
    }

    set l {}
    foreach {k v} [array get w $y,*] {
        lappend l [list [lindex [split $k ,] end] $v]
    }
    set n 0
    puts "\n%|Nick|Number of edits|%"
    foreach il [lsort -integer -decreasing -index 1 $l] {
        puts "&|[join $il |]|&"
        incr n
        if {$n>20} {break}
    }
}

mk::file close db