Jim Tcl
Check-in [1d37d7b8ed]
Not logged in

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

Overview
Comment:Add release notes for v0.78
Timelines: family | ancestors | www
Files: files | file ages | folders
SHA1:1d37d7b8ed1750830e71deb8e2f43f45293a0609
User & Date: steveb 2018-07-01 00:55:03
Context
2018-07-01
00:55
Add release notes for v0.78 Leaf check-in: 1d37d7b8ed user: steveb tags: www
2016-09-04
05:26
Announce Jim Release 0.77 check-in: b2378115db user: steveb tags: www
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to www/articles/index.html.

44
45
46
47
48
49
50



51
52
53
54
55
56
57
			 
		
		</div>
		<div class="main" id="main">
		
		<h1 id="all-news-articles">All News Articles</h1>




<p class="articledate">Sunday, 04 September 2016</p>
<h2 class="news"><a href="jim-release-0-77/">Jim Tcl version 0.77</a></h2>

<p class="articledate">Saturday, 31 January 2015</p>
<h2 class="news"><a href="jim-release-0-76/">Jim Tcl version 0.76</a></h2>

<p class="articledate">Thursday, 27 February 2014</p>







>
>
>







44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
			 
		
		</div>
		<div class="main" id="main">
		
		<h1 id="all-news-articles">All News Articles</h1>

<p class="articledate">Sunday, 01 July 2018</p>
<h2 class="news"><a href="jim-release-0-78/">Jim Tcl version 0.78</a></h2>

<p class="articledate">Sunday, 04 September 2016</p>
<h2 class="news"><a href="jim-release-0-77/">Jim Tcl version 0.77</a></h2>

<p class="articledate">Saturday, 31 January 2015</p>
<h2 class="news"><a href="jim-release-0-76/">Jim Tcl version 0.76</a></h2>

<p class="articledate">Thursday, 27 February 2014</p>

Added www/articles/jim-release-0-78/index.html.































































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE HTML>
<html lang="en">
  <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>Jim Tcl - Jim Tcl version 0.78</title>
    <link rel="stylesheet" type="text/css" href="../../css/style.css" media="screen">
    <link rel="stylesheet" type="text/css" href="../../css/sh_style.css" media="screen">
	
	<script src="../../javascript/sh_main.min.js" type="text/javascript"></script>
	<script src="../../javascript/sh_lang.js" type="text/javascript"></script>
	
	<script type="text/javascript">
	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-23178588-2']);
	  _gaq.push(['_trackPageview']);

	  (function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();
	</script>
	
	<meta name="generator" content="nanoc 3.1.6">
  </head>
  <body>
	<div id="header">
	  <h1 id="blog-title">The Jim Interpreter</h1>
	  <p id="description">A small footprint implementation of the Tcl programming language</p>
	</div>
    <div id="content">
		<div class="breadcrumbs">
		
		
			<a href="../../">The Jim Interpreter</a> 
			» 
		
			<a href="../">All News Articles</a> 
			» 
		
			<a href="./">Jim Tcl version 0.78</a> 
			 
		
		</div>
		<div class="main" id="main">
		
			<p class="articledate">Sunday, 01 July 2018</p>
			<h2 class="news">Jim Tcl version 0.78</h2>
		
		<h2 id="announce-jim-tcl-version-078">ANNOUNCE: Jim Tcl version 0.78</h2>

<p>Jim Tcl 0.78 has been released and is available from:</p>

<p><a href="http://repo.or.cz/w/jimtcl.git">http://repo.or.cz/w/jimtcl.git</a> or <a href="https://github.com/msteveb/jimtcl">https://github.com/msteveb/jimtcl</a></p>

<p>Find out all about Jim Tcl at <a href="http://jim.tcl.tk/">http://jim.tcl.tk/</a></p>

<h2 id="changes-since-version-077">CHANGES SINCE VERSION 0.77</h2>

<p>This release contains some bug fixes plus a number of additional features.
A summary is below. See git for the full changelog.</p>

<p>Thanks to everyone who contributed to this release.</p>

<p><strong>Bugs fixed in version 0.78</strong></p>

<ul>
  <li>
<code>local</code> - Fix crash when local command is deleted</li>
  <li>
<code>history</code> - When creating ~/.jim_history, set permissions to 0600 for security</li>
  <li>
<code>exec</code> - Fix windows exec with empty or unset env</li>
  <li>
<code>exec</code> - Fix check for <code>|</code> and <code>|&amp;</code>
</li>
  <li>jim.c - Fix Object leak in zlib support</li>
  <li>
<code>signal</code> - Restore default signal handling on interp exit</li>
  <li>
<code>dict</code> - Fix [dict values] with duplicate values</li>
  <li>Fix ‘/’ command, divide by zero</li>
  <li>
<code>expr</code> - Replace expression engine to fix a number of problems</li>
  <li>
<code>zlib</code> - Various fixes</li>
  <li>
<code>lsort -unique</code> - Fix case with no duplicates</li>
  <li>
<code>aio tempname</code> - Fix a crash when the template is invalid</li>
  <li>Tcl compatibility - Error on extra characters after close brace</li>
  <li>eventloop - Return from callback is not an error</li>
  <li>
<code>oo</code> - Fix <code>methods</code> for superclasses</li>
  <li>Various refcount and edge case fixes found by fuzz testing</li>
</ul>

<p><strong>Features added in version 0.78</strong></p>

<ul>
  <li>Add support for utf-8 wide characters</li>
  <li>
<code>aio</code> - Add <code>tty</code> for termios settings</li>
  <li>
<code>aio</code> - Add <code>sockopt</code> for <code>broadcast</code>, <code>tcp_nodelay</code>, etc.</li>
  <li>utf-8 - Update UnicodeData.txt to 9.0.0</li>
  <li>jimsh - Add support for <code>jimsh -</code>
</li>
  <li>jimsh - Scriptable command-line completion support via <code>tcl::autocomplete</code>
</li>
  <li>
<code>history</code> - Add autocompletion support <code>history completion &lt;cmd&gt;</code>
</li>
  <li>Add support for <code>-commands</code> to many commands</li>
  <li>Add pkg-config support - <code>jimtcl.pc</code>
</li>
  <li>
<code>clock</code> - Add <code>-gmt</code> option to <code>format</code> and <code>scan</code>
</li>
  <li>
<code>tree</code> - Allow nodes to be deleted</li>
  <li>
<code>defer</code>, <code>$jim::defer</code> - Allow scripts to run on proc exit</li>
  <li>eventloop - Support sub-millisecond timer resolution</li>
  <li>Support <code>lambda</code> even if references are disabled</li>
  <li>Performance - Improve a number of common cases through caching</li>
  <li>
<code>signal</code>, <code>exec</code>, <code>wait</code>, <code>pid</code>, <code>pipe</code> - Many improvements</li>
  <li>build - Support <code>--silent-rules</code>, and enable by default</li>
  <li>
<code>regexp</code> - Implement class shorthand escapes in brackets</li>
  <li>linenoise (<code>jimsh</code>) - Add ^Z (SUSP) support</li>
  <li>linenoise (<code>jismh</code>) - Update to support multiline mode</li>
</ul>

<p><strong>Other changes</strong></p>

<ul>
  <li>
<code>signal</code> - Remove the signal command from child interpreters</li>
  <li>
<code>os.wait</code> is now <code>wait</code>
</li>
  <li>
<code>aio ssl</code> now upgrades the current channel rather than creating a new channel</li>
  <li>Update autosetup to v0.6.8</li>
</ul>

<p>Steve Bennett (<a href="mailto:steveb@workware.net.au">steveb@workware.net.au</a>)</p>

		
			<hr id="#comments">
<div id="disqus_thread"></div>
<script type="text/javascript">
	var disqus_shortname = 'jimtcl';
	var disqus_identifier = '/articles/jim-release-0-78/'; 
	
	var disqus_url = 'http://jim.tcl.tk/index.html/doc/www/www/articles/jim-release-0-78/';
	(function() {
		var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
		dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
		(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
	})();
</script>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>

		
		</div>
	</div>
    <div id="sidebar">
      <h2>About Jim Tcl</h2>
      <ul>
		
			
			<li class="stdlink"><a href="../../">Introduction</a></li>
		
			
			<li class="stdlink"><a href="../../news/">News</a></li>
		
			
			<li class="stdlink"><a href="../../download/">Download</a></li>
		
			
			<li class="stdlink"><a href="../../documentation/">Documentation</a></li>
		
			
			<li class="stdlink"><a href="../../extensions/">Extensions</a></li>
		
			
			<li class="stdlink"><a href="../../license/">License</a></li>
		
			
			<li class="stdlink"><a href="../../about/">About</a></li>
		
      </ul>
      <h2>Community</h2>
      <ul>
		<li><a href="http://jim.tcl.tk:8080/cgi-bin/mailman/listinfo/jim-devel">Mailing List</a></li>
		<li><a href="https://github.com/msteveb/jimtcl">Jim @ github</a></li>
		<li><a href="http://jim.tcl.tk/fossil/timeline/">Jim in fossil</a></li>
		<li><a href="http://wiki.tcl.tk/jim">Jim @ the Tcler's Wiki</a></li>
      </ul>
    </div>
	<script language="javascript">sh_highlightDocument();</script>
  </body>
</html>

Changes to www/feed.xml.

1
2
3
4
5
6
7
8
9
10
11















































































12
13
14
15
16
17
18
....
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://jim.tcl.tk/index.html/doc/www/www/</id>
  <title>Jim Tcl News</title>
  <updated>2016-09-03T14:00:00Z</updated>
  <link rel="alternate" href="http://jim.tcl.tk/index.html/doc/www/www/"/>
  <link rel="self" href="http://jim.tcl.tk/index.html/doc/www/www/feed.xml"/>
  <author>
    <name>steveb@workware.net.au</name>
    <uri>mailto:steveb@workware.net.au</uri>
  </author>















































































  <entry>
    <id>tag:jim.tcl.tk,2016-09-04:/index.html/doc/www/www/articles/jim-release-0-77/</id>
    <title type="html">Jim Tcl version 0.77</title>
    <published>2016-09-03T14:00:00Z</published>
    <updated>2016-09-03T14:00:00Z</updated>
    <link rel="alternate" href="http://jim.tcl.tk/index.html/doc/www/www/articles/jim-release-0-77/"/>
    <content type="html">&lt;h2 id="announce-jim-tcl-version-077"&gt;ANNOUNCE: Jim Tcl version 0.77&lt;/h2&gt;
................................................................................

&lt;h2 id="other-enhancements"&gt;Other Enhancements&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Ability to “push” a proc over the top of an existing proc to easily create a
wrapper proc, including the ability to “upcall” the original proc.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Steve Bennett (&lt;a href="&amp;#109;&amp;#097;&amp;#105;&amp;#108;&amp;#116;&amp;#111;:&amp;#115;&amp;#116;&amp;#101;&amp;#118;&amp;#101;&amp;#098;&amp;#064;&amp;#119;&amp;#111;&amp;#114;&amp;#107;&amp;#119;&amp;#097;&amp;#114;&amp;#101;&amp;#046;&amp;#110;&amp;#101;&amp;#116;&amp;#046;&amp;#097;&amp;#117;"&gt;&amp;#115;&amp;#116;&amp;#101;&amp;#118;&amp;#101;&amp;#098;&amp;#064;&amp;#119;&amp;#111;&amp;#114;&amp;#107;&amp;#119;&amp;#097;&amp;#114;&amp;#101;&amp;#046;&amp;#110;&amp;#101;&amp;#116;&amp;#046;&amp;#097;&amp;#117;&lt;/a&gt;)&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:jim.tcl.tk,2011-04-14:/index.html/doc/www/www/articles/2011-04-14/</id>
    <title type="html">Announcing Jim Tcl version 0.70</title>
    <published>2011-04-13T14:00:00Z</published>
    <updated>2011-04-13T14:00:00Z</updated>
    <link rel="alternate" href="http://jim.tcl.tk/index.html/doc/www/www/articles/2011-04-14/"/>
    <content type="html">&lt;p&gt;Jim Tcl 0.70 has been released and is available from: &lt;/p&gt;

&lt;p&gt;&lt;a href="http://repo.or.cz/w/jimtcl.git"&gt;http://repo.or.cz/w/jimtcl.git&lt;/a&gt;
or &lt;a href="https://github.com/msteveb/jimtcl"&gt;https://github.com/msteveb/jimtcl&lt;/a&gt;&lt;/p&gt;

&lt;h2 id="changes-since-version-063"&gt;CHANGES SINCE VERSION 0.63&lt;/h2&gt;

&lt;p&gt;This is a major update which incorporates many bug fixes and
several new features, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Optional UTF-8 support&lt;/li&gt;
  &lt;li&gt;Optional built-in regexp engines for better Tcl compatibility and UTF-8 support&lt;/li&gt;
  &lt;li&gt;Command line editing with linenoise&lt;/li&gt;
  &lt;li&gt;Pure-Tcl OO extension &lt;/li&gt;
  &lt;li&gt;exec uses only vfork() for full functionality on no-mmu uClinux&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Steve Bennett (&lt;a href="&amp;#109;&amp;#097;&amp;#105;&amp;#108;&amp;#116;&amp;#111;:&amp;#115;&amp;#116;&amp;#101;&amp;#118;&amp;#101;&amp;#098;&amp;#064;&amp;#119;&amp;#111;&amp;#114;&amp;#107;&amp;#119;&amp;#097;&amp;#114;&amp;#101;&amp;#046;&amp;#110;&amp;#101;&amp;#116;&amp;#046;&amp;#097;&amp;#117;"&gt;&amp;#115;&amp;#116;&amp;#101;&amp;#118;&amp;#101;&amp;#098;&amp;#064;&amp;#119;&amp;#111;&amp;#114;&amp;#107;&amp;#119;&amp;#097;&amp;#114;&amp;#101;&amp;#046;&amp;#110;&amp;#101;&amp;#116;&amp;#046;&amp;#097;&amp;#117;&lt;/a&gt;)&lt;/p&gt;
</content>
  </entry>
</feed>




|






>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







 







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
....
1518
1519
1520
1521
1522
1523
1524



























1525
1526
1527
1528
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://jim.tcl.tk/index.html/doc/www/www/</id>
  <title>Jim Tcl News</title>
  <updated>2018-06-30T14:00:00Z</updated>
  <link rel="alternate" href="http://jim.tcl.tk/index.html/doc/www/www/"/>
  <link rel="self" href="http://jim.tcl.tk/index.html/doc/www/www/feed.xml"/>
  <author>
    <name>steveb@workware.net.au</name>
    <uri>mailto:steveb@workware.net.au</uri>
  </author>
  <entry>
    <id>tag:jim.tcl.tk,2018-07-01:/index.html/doc/www/www/articles/jim-release-0-78/</id>
    <title type="html">Jim Tcl version 0.78</title>
    <published>2018-06-30T14:00:00Z</published>
    <updated>2018-06-30T14:00:00Z</updated>
    <link rel="alternate" href="http://jim.tcl.tk/index.html/doc/www/www/articles/jim-release-0-78/"/>
    <content type="html">&lt;h2 id="announce-jim-tcl-version-078"&gt;ANNOUNCE: Jim Tcl version 0.78&lt;/h2&gt;

&lt;p&gt;Jim Tcl 0.78 has been released and is available from:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://repo.or.cz/w/jimtcl.git"&gt;http://repo.or.cz/w/jimtcl.git&lt;/a&gt; or &lt;a href="https://github.com/msteveb/jimtcl"&gt;https://github.com/msteveb/jimtcl&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Find out all about Jim Tcl at &lt;a href="http://jim.tcl.tk/"&gt;http://jim.tcl.tk/&lt;/a&gt;&lt;/p&gt;

&lt;h2 id="changes-since-version-077"&gt;CHANGES SINCE VERSION 0.77&lt;/h2&gt;

&lt;p&gt;This release contains some bug fixes plus a number of additional features.
A summary is below. See git for the full changelog.&lt;/p&gt;

&lt;p&gt;Thanks to everyone who contributed to this release.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bugs fixed in version 0.78&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code&gt;local&lt;/code&gt; - Fix crash when local command is deleted&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;history&lt;/code&gt; - When creating ~/.jim_history, set permissions to 0600 for security&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;exec&lt;/code&gt; - Fix windows exec with empty or unset env&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;exec&lt;/code&gt; - Fix check for &lt;code&gt;|&lt;/code&gt; and &lt;code&gt;|&amp;amp;&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;jim.c - Fix Object leak in zlib support&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;signal&lt;/code&gt; - Restore default signal handling on interp exit&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;dict&lt;/code&gt; - Fix [dict values] with duplicate values&lt;/li&gt;
  &lt;li&gt;Fix ‘/’ command, divide by zero&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;expr&lt;/code&gt; - Replace expression engine to fix a number of problems&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;zlib&lt;/code&gt; - Various fixes&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;lsort -unique&lt;/code&gt; - Fix case with no duplicates&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;aio tempname&lt;/code&gt; - Fix a crash when the template is invalid&lt;/li&gt;
  &lt;li&gt;Tcl compatibility - Error on extra characters after close brace&lt;/li&gt;
  &lt;li&gt;eventloop - Return from callback is not an error&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;oo&lt;/code&gt; - Fix &lt;code&gt;methods&lt;/code&gt; for superclasses&lt;/li&gt;
  &lt;li&gt;Various refcount and edge case fixes found by fuzz testing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Features added in version 0.78&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Add support for utf-8 wide characters&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;aio&lt;/code&gt; - Add &lt;code&gt;tty&lt;/code&gt; for termios settings&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;aio&lt;/code&gt; - Add &lt;code&gt;sockopt&lt;/code&gt; for &lt;code&gt;broadcast&lt;/code&gt;, &lt;code&gt;tcp_nodelay&lt;/code&gt;, etc.&lt;/li&gt;
  &lt;li&gt;utf-8 - Update UnicodeData.txt to 9.0.0&lt;/li&gt;
  &lt;li&gt;jimsh - Add support for &lt;code&gt;jimsh -&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;jimsh - Scriptable command-line completion support via &lt;code&gt;tcl::autocomplete&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;history&lt;/code&gt; - Add autocompletion support &lt;code&gt;history completion &amp;lt;cmd&amp;gt;&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Add support for &lt;code&gt;-commands&lt;/code&gt; to many commands&lt;/li&gt;
  &lt;li&gt;Add pkg-config support - &lt;code&gt;jimtcl.pc&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;clock&lt;/code&gt; - Add &lt;code&gt;-gmt&lt;/code&gt; option to &lt;code&gt;format&lt;/code&gt; and &lt;code&gt;scan&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;tree&lt;/code&gt; - Allow nodes to be deleted&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;defer&lt;/code&gt;, &lt;code&gt;$jim::defer&lt;/code&gt; - Allow scripts to run on proc exit&lt;/li&gt;
  &lt;li&gt;eventloop - Support sub-millisecond timer resolution&lt;/li&gt;
  &lt;li&gt;Support &lt;code&gt;lambda&lt;/code&gt; even if references are disabled&lt;/li&gt;
  &lt;li&gt;Performance - Improve a number of common cases through caching&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;signal&lt;/code&gt;, &lt;code&gt;exec&lt;/code&gt;, &lt;code&gt;wait&lt;/code&gt;, &lt;code&gt;pid&lt;/code&gt;, &lt;code&gt;pipe&lt;/code&gt; - Many improvements&lt;/li&gt;
  &lt;li&gt;build - Support &lt;code&gt;--silent-rules&lt;/code&gt;, and enable by default&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;regexp&lt;/code&gt; - Implement class shorthand escapes in brackets&lt;/li&gt;
  &lt;li&gt;linenoise (&lt;code&gt;jimsh&lt;/code&gt;) - Add ^Z (SUSP) support&lt;/li&gt;
  &lt;li&gt;linenoise (&lt;code&gt;jismh&lt;/code&gt;) - Update to support multiline mode&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;code&gt;signal&lt;/code&gt; - Remove the signal command from child interpreters&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;os.wait&lt;/code&gt; is now &lt;code&gt;wait&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code&gt;aio ssl&lt;/code&gt; now upgrades the current channel rather than creating a new channel&lt;/li&gt;
  &lt;li&gt;Update autosetup to v0.6.8&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Steve Bennett (&lt;a href="&amp;#109;&amp;#097;&amp;#105;&amp;#108;&amp;#116;&amp;#111;:&amp;#115;&amp;#116;&amp;#101;&amp;#118;&amp;#101;&amp;#098;&amp;#064;&amp;#119;&amp;#111;&amp;#114;&amp;#107;&amp;#119;&amp;#097;&amp;#114;&amp;#101;&amp;#046;&amp;#110;&amp;#101;&amp;#116;&amp;#046;&amp;#097;&amp;#117;"&gt;&amp;#115;&amp;#116;&amp;#101;&amp;#118;&amp;#101;&amp;#098;&amp;#064;&amp;#119;&amp;#111;&amp;#114;&amp;#107;&amp;#119;&amp;#097;&amp;#114;&amp;#101;&amp;#046;&amp;#110;&amp;#101;&amp;#116;&amp;#046;&amp;#097;&amp;#117;&lt;/a&gt;)&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:jim.tcl.tk,2016-09-04:/index.html/doc/www/www/articles/jim-release-0-77/</id>
    <title type="html">Jim Tcl version 0.77</title>
    <published>2016-09-03T14:00:00Z</published>
    <updated>2016-09-03T14:00:00Z</updated>
    <link rel="alternate" href="http://jim.tcl.tk/index.html/doc/www/www/articles/jim-release-0-77/"/>
    <content type="html">&lt;h2 id="announce-jim-tcl-version-077"&gt;ANNOUNCE: Jim Tcl version 0.77&lt;/h2&gt;
................................................................................

&lt;h2 id="other-enhancements"&gt;Other Enhancements&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Ability to “push” a proc over the top of an existing proc to easily create a
wrapper proc, including the ability to “upcall” the original proc.&lt;/li&gt;
&lt;/ul&gt;




























&lt;p&gt;Steve Bennett (&lt;a href="&amp;#109;&amp;#097;&amp;#105;&amp;#108;&amp;#116;&amp;#111;:&amp;#115;&amp;#116;&amp;#101;&amp;#118;&amp;#101;&amp;#098;&amp;#064;&amp;#119;&amp;#111;&amp;#114;&amp;#107;&amp;#119;&amp;#097;&amp;#114;&amp;#101;&amp;#046;&amp;#110;&amp;#101;&amp;#116;&amp;#046;&amp;#097;&amp;#117;"&gt;&amp;#115;&amp;#116;&amp;#101;&amp;#118;&amp;#101;&amp;#098;&amp;#064;&amp;#119;&amp;#111;&amp;#114;&amp;#107;&amp;#119;&amp;#097;&amp;#114;&amp;#101;&amp;#046;&amp;#110;&amp;#101;&amp;#116;&amp;#046;&amp;#097;&amp;#117;&lt;/a&gt;)&lt;/p&gt;
</content>
  </entry>
</feed>

Changes to www/news/index.html.

43
44
45
46
47
48
49

















































































































50
51
52
53
54
55
56
...
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
			<a href="./">News</a> 
			 
		
		</div>
		<div class="main" id="news">
		
		

















































































































<div class="main" id="main">
<p class="articledate">Sunday, 04 September 2016</p>
<h2 class="news"><a href="../articles/jim-release-0-77/">Jim Tcl version 0.77</a></h2>


<h2 id="announce-jim-tcl-version-077">ANNOUNCE: Jim Tcl version 0.77</h2>

................................................................................
</code></pre>

<p>Steve Bennett (<a href="mailto:steveb@workware.net.au">steveb@workware.net.au</a>)</p>


<a href="../articles/jim-release-0-74/#comments">Comments &gt;&gt;&gt;</a>



</div>

<div class="main" id="main">
<p class="articledate">Friday, 10 February 2012</p>
<h2 class="news"><a href="../articles/no-namespaces-revisited/">Coping without Namespaces - Revisited</a></h2>


<p>Back in the article <a href="../articles/no-namespaces/">Coping without Namespaces</a>,
we discussed that fact that Jim Tcl did not support namespaces, but
that small changes to the source could be made to allow namespace-based
Tcl code to be ported for use with Jim Tcl.</p>

<p>Now with <a href="../articles/light-weight-namespaces/">namespaces supported</a>
in <a href="../articles/jim-release-0.73/">Jim Tcl 0.73</a>, porting Tcl code
which makes use of namespaces is easier than ever.</p>

<p>Once again, let's consider porting <a href="http://tcllib.cvs.sourceforge.net/viewvc/tcllib/tcllib/modules/dns/dns.tcl">dns.tcl</a>
from <a href="http://tcllib.sourceforge.net/">tcllib</a> to Jim Tcl.</p>

<hr>

<p>Firstly an explanation of what was changed.</p>

<pre class="sh_tcl">
--- dns.tcl.orig	2012-03-05 13:02:36.000000000 +1000
+++ dns.tcl	2012-03-05 13:02:56.000000000 +1000
@@ -1,3 +1,15 @@
+# dns.tcl - Steve Bennett &lt;steveb@workware.net.au&gt;
+#
+# Modified for Jim Tcl to:
+# - use udp transport by default
+# - use sendto/recvfrom
+# - don't try to determine local nameservers
+# - remove support for dns uris and finding local nameservers
+# - remove logging calls
+#   (both of these in order to remove dependencies on tcllib)
+
+# Based on:
+
 # dns.tcl - Copyright (C) 2002 Pat Thoyts &lt;patthoyts@users.sourceforge.net&gt;
 #
 # Provide a Tcl only Domain Name Service client. See RFC 1034 and RFC 1035
</pre>

<p>For simplicity, we remove the dependencies on tcllib <code>logger</code>, <code>uri</code> and <code>ip</code> to
allow this example to be self contained. In Jim Tcl the <code>binary</code> and <code>namespace</code>
modules are optional, so load them if required.</p>

<pre class="sh_tcl">
@@ -31,14 +43,11 @@
 #
 # $Id: dns.tcl,v 1.36 2008/11/22 12:28:54 mic42 Exp $
 
-package require Tcl 8.2;                # tcl minimum version
-package require logger;                 # tcllib 1.3
-package require uri;                    # tcllib 1.1
-package require uri::urn;               # tcllib 1.2
-package require ip;                     # tcllib 1.7
+package require binary
+package require namespace
 
 namespace eval ::dns {
-    variable version 1.3.3
+    variable version 1.3.3-jim2
     variable rcsid {$Id: dns.tcl,v 1.36 2008/11/22 12:28:54 mic42 Exp $}
 
     namespace export configure resolve name address cname \
</pre>

<p>Since Jim Tcl supports udp out-of-the-box, and it is more efficient,
default to udp rather than tcp. Also comment out the logging calls.</p>

<pre class="sh_tcl">
@@ -49,23 +58,13 @@
         array set options {
             port       53
             timeout    30000
-            protocol   tcp
+            protocol   udp
             search     {}
             nameserver {localhost}
             loglevel   warn
         }
-        variable log [logger::init dns]
-        ${log}::setlevel $options(loglevel)
-    }
-
-    # We can use either ceptcl or tcludp for UDP support.
-    if {![catch {package require udp 1.0.4} msg]} { ;# tcludp 1.0.4+
-        # If TclUDP 1.0.4 or better is available, use it.
-        set options(protocol) udp
-    } else {
-        if {![catch {package require ceptcl} msg]} {
-            set options(protocol) udp
-        }
+        #variable log [logger::init dns]
+        #${log}::setlevel $options(loglevel)
     }
 
     variable types
</pre>

<p>udp is built-in with Jim Tcl.</p>

<pre class="sh_tcl">
@@ -248,14 +237,6 @@
         return -code error "no nameserver specified"
     }
 
-    if {$state(-protocol) == "udp"} {
-        if {[llength [package provide ceptcl]] == 0 \
-                &amp;&amp; [llength [package provide udp]] == 0} {
-            return -code error "udp support is not available,\
-                get ceptcl or tcludp"
-        }
-    }
-    
     # Check for reverse lookups
     if {[regexp {^(?:\d{0,3}\.){3}\d{0,3}$} $state(query)]} {
         set addr [lreverse [split $state(query) .]]
</pre>

<p>udp in Jim Tcl works just like tcp, with <code>readable</code> event handler being
triggered when the response is available.</p>

<pre class="sh_tcl">
@@ -273,6 +254,7 @@
         }
     } else {
         UdpTransmit $token
+        wait $token
     }
     
     return $token
</pre>

<p>Jim Tcl has no support for async connect, and the parameters to <code>socket</code> are a little different.</p>

<pre class="sh_tcl">
@@ -668,9 +650,9 @@
                                    "operation timed out"]]
     }
 
-    # Sometimes DNS servers drop TCP requests. So it's better to
-    # use asynchronous connect
-    set s [socket -async $state(-nameserver) $state(-port)]
+    # Jim Tcl has no async connect ...
+
+    set s [socket stream $state(-nameserver):$state(-port)]
     fileevent $s writable [list [namespace origin TcpConnected] $token $s]
     set state(sock) $s
     set state(status) connect
</pre>

<p>Comment out the async connect check.</p>

<pre class="sh_tcl">
@@ -683,11 +665,13 @@
     upvar 0 $token state
 
     fileevent $s writable {}
-    if {[catch {fconfigure $s -peername}]} {
-	# TCP connection failed
-        Finish $token "can't connect to server"
-	return
-    }
+
+    # Jim Tcl has no async connect ...
+#    if {[catch {fconfigure $s -peername}]} {
+#	# TCP connection failed
+#        Finish $token "can't connect to server"
+#	return
+#    }
 
     fconfigure $s -blocking 0 -translation binary -buffering none
 
</pre>

<p>udp in Jim Tcl is easy. Simpy create the socket with <code>socket dgram</code> and
send with <code>sendto</code>.</p>

<pre class="sh_tcl">
@@ -722,18 +706,10 @@
                                   "operation timed out"]]
     }
     
-    if {[llength [package provide ceptcl]] &gt; 0} {
-        # using ceptcl
-        set state(sock) [cep -type datagram $state(-nameserver) $state(-port)]
-        fconfigure $state(sock) -blocking 0
-    } else {
-        # using tcludp
-        set state(sock) [udp_open]
-        udp_conf $state(sock) $state(-nameserver) $state(-port)
-    }
-    fconfigure $state(sock) -translation binary -buffering none
+    set state(sock) [socket dgram]
+    #fconfigure $state(sock) -translation binary -buffering none
     set state(status) connect
-    puts -nonewline $state(sock) $state(request)
+    $state(sock) sendto $state(request) $state(-nameserver):$state(-port)
     
     fileevent $state(sock) readable [list [namespace current]::UdpEvent $token]
     
</pre>

<p>Reading from a udp socket is best done with <code>recvfrom</code></p>

<pre class="sh_tcl">
@@ -879,7 +855,7 @@
     upvar 0 $token state
     set s $state(sock)
 
-    set payload [read $state(sock)]
+    set payload [$state(sock) recvfrom 1500]
     append state(reply) $payload
 
     binary scan $payload S id
</pre>

<p>Jim Tcl has <code>lreverse</code> built-in</p>

<pre class="sh_tcl">
@@ -1011,17 +987,6 @@
 }
 
 # -------------------------------------------------------------------------
-# Description:
-#   Reverse a list. Code from http://wiki.tcl.tk/tcl/43
-#
-proc ::dns::lreverse {lst} {
-    set res {}
-    set i [llength $lst]
-    while {$i} {lappend res [lindex $lst [incr i -1]]}
-    return $res
-}
-
-# -------------------------------------------------------------------------
 
 proc ::dns::KeyOf {arrayname value {default {}}} {
     upvar $arrayname array
</pre>

<hr>

<p>Notice that no namespace-related changes were required when porting this module.</p>

<p>The latest version of <a href="https://github.com/msteveb/jimtcl/blob/ad3b3c48c9d7e9/examples/dns.tcl">dns.tcl for Jim Tcl</a> is
available in git.</p>

<p>Steve Bennett (<a href="mailto:steveb@workware.net.au">steveb@workware.net.au</a>)</p>


<a href="../articles/no-namespaces-revisited/#comments">Comments &gt;&gt;&gt;</a>



</div>

<p><a href="../articles/">See All News Articles »</a></p>

		







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







 







<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
...
641
642
643
644
645
646
647

































































































































































































































































648
649
650
651
652
653
654
			<a href="./">News</a> 
			 
		
		</div>
		<div class="main" id="news">
		
		
<div class="main" id="main">
<p class="articledate">Sunday, 01 July 2018</p>
<h2 class="news"><a href="../articles/jim-release-0-78/">Jim Tcl version 0.78</a></h2>


<h2 id="announce-jim-tcl-version-078">ANNOUNCE: Jim Tcl version 0.78</h2>

<p>Jim Tcl 0.78 has been released and is available from:</p>

<p><a href="http://repo.or.cz/w/jimtcl.git">http://repo.or.cz/w/jimtcl.git</a> or <a href="https://github.com/msteveb/jimtcl">https://github.com/msteveb/jimtcl</a></p>

<p>Find out all about Jim Tcl at <a href="http://jim.tcl.tk/">http://jim.tcl.tk/</a></p>

<h2 id="changes-since-version-077">CHANGES SINCE VERSION 0.77</h2>

<p>This release contains some bug fixes plus a number of additional features.
A summary is below. See git for the full changelog.</p>

<p>Thanks to everyone who contributed to this release.</p>

<p><strong>Bugs fixed in version 0.78</strong></p>

<ul>
  <li>
<code>local</code> - Fix crash when local command is deleted</li>
  <li>
<code>history</code> - When creating ~/.jim_history, set permissions to 0600 for security</li>
  <li>
<code>exec</code> - Fix windows exec with empty or unset env</li>
  <li>
<code>exec</code> - Fix check for <code>|</code> and <code>|&amp;</code>
</li>
  <li>jim.c - Fix Object leak in zlib support</li>
  <li>
<code>signal</code> - Restore default signal handling on interp exit</li>
  <li>
<code>dict</code> - Fix [dict values] with duplicate values</li>
  <li>Fix ‘/’ command, divide by zero</li>
  <li>
<code>expr</code> - Replace expression engine to fix a number of problems</li>
  <li>
<code>zlib</code> - Various fixes</li>
  <li>
<code>lsort -unique</code> - Fix case with no duplicates</li>
  <li>
<code>aio tempname</code> - Fix a crash when the template is invalid</li>
  <li>Tcl compatibility - Error on extra characters after close brace</li>
  <li>eventloop - Return from callback is not an error</li>
  <li>
<code>oo</code> - Fix <code>methods</code> for superclasses</li>
  <li>Various refcount and edge case fixes found by fuzz testing</li>
</ul>

<p><strong>Features added in version 0.78</strong></p>

<ul>
  <li>Add support for utf-8 wide characters</li>
  <li>
<code>aio</code> - Add <code>tty</code> for termios settings</li>
  <li>
<code>aio</code> - Add <code>sockopt</code> for <code>broadcast</code>, <code>tcp_nodelay</code>, etc.</li>
  <li>utf-8 - Update UnicodeData.txt to 9.0.0</li>
  <li>jimsh - Add support for <code>jimsh -</code>
</li>
  <li>jimsh - Scriptable command-line completion support via <code>tcl::autocomplete</code>
</li>
  <li>
<code>history</code> - Add autocompletion support <code>history completion &lt;cmd&gt;</code>
</li>
  <li>Add support for <code>-commands</code> to many commands</li>
  <li>Add pkg-config support - <code>jimtcl.pc</code>
</li>
  <li>
<code>clock</code> - Add <code>-gmt</code> option to <code>format</code> and <code>scan</code>
</li>
  <li>
<code>tree</code> - Allow nodes to be deleted</li>
  <li>
<code>defer</code>, <code>$jim::defer</code> - Allow scripts to run on proc exit</li>
  <li>eventloop - Support sub-millisecond timer resolution</li>
  <li>Support <code>lambda</code> even if references are disabled</li>
  <li>Performance - Improve a number of common cases through caching</li>
  <li>
<code>signal</code>, <code>exec</code>, <code>wait</code>, <code>pid</code>, <code>pipe</code> - Many improvements</li>
  <li>build - Support <code>--silent-rules</code>, and enable by default</li>
  <li>
<code>regexp</code> - Implement class shorthand escapes in brackets</li>
  <li>linenoise (<code>jimsh</code>) - Add ^Z (SUSP) support</li>
  <li>linenoise (<code>jismh</code>) - Update to support multiline mode</li>
</ul>

<p><strong>Other changes</strong></p>

<ul>
  <li>
<code>signal</code> - Remove the signal command from child interpreters</li>
  <li>
<code>os.wait</code> is now <code>wait</code>
</li>
  <li>
<code>aio ssl</code> now upgrades the current channel rather than creating a new channel</li>
  <li>Update autosetup to v0.6.8</li>
</ul>

<p>Steve Bennett (<a href="mailto:steveb@workware.net.au">steveb@workware.net.au</a>)</p>


<a href="../articles/jim-release-0-78/#comments">Comments &gt;&gt;&gt;</a>



</div>

<div class="main" id="main">
<p class="articledate">Sunday, 04 September 2016</p>
<h2 class="news"><a href="../articles/jim-release-0-77/">Jim Tcl version 0.77</a></h2>


<h2 id="announce-jim-tcl-version-077">ANNOUNCE: Jim Tcl version 0.77</h2>

................................................................................
</code></pre>

<p>Steve Bennett (<a href="mailto:steveb@workware.net.au">steveb@workware.net.au</a>)</p>


<a href="../articles/jim-release-0-74/#comments">Comments &gt;&gt;&gt;</a>




































































































































































































































































</div>

<p><a href="../articles/">See All News Articles »</a></p>