stk-website/www/changes.html

164 lines
5.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Changes in 3.99</title>
</head>
<body BACKGROUND="Images/texture.gif">
<TABLE WIDTH="100%"><TR>
<TD ALIGN=LEFT VALIGN=TOP WIDTH="20%" NOWRAP>
<IMG SRC="Images/STk-tiny.gif">
<P>
<BR><A HREF="./">STk home</A>
<BR><A HREF="distribution.html">Source Release</A>
<BR><A HREF="Binary">Binary Release</A>
<BR><A HREF="news.html">News</A>
<BR><A HREF="documentation.html">Documentation</A>
<BR><A HREF="FAQ">FAQ</A>
<BR><A HREF="archives.html">Mailing List</A>
<BR><A HREF="screenshots.html">Screenshots</A>
<BR><A HREF="Contribs">Contributions</A></TD>
<TD ALIGN=LEFT VALIGN=TOP WIDTH="80%">
<center><h1><IMG SRC="Images/LineLeft.gif"> Changes in 3.99 <IMG SRC="Images/LineRight.gif"></h1></center><pre>&nbsp;
&nbsp;
&nbsp;
</pre>
<H3>About Scheme</H3>
<ul>
<li> A module system has been added
<li> Integration of the Bigloo MATCH-CASE and MATCH-LAMBDA
primitives. Furthermore, the file bigloo.stk provide
some compatibility between <B>STk</B> and bigloo modules.
<li> A simple FFI has been added. It allows to access C functions
without writing C code (works only on a limited set of
architectures for now).
<li> integrates the R5RS VALUES and CALL-WITH-VALUES
<li> multi-line comments have been added.
<li> The "-file" interpreter option is no more necessary
<li> Display of the prompt and of the eval result in the REPL are
now user definable.
<li> report-error mechanism has been enhanced a lot (work is not
completely achieved).
<li> new-primitives: append!, mast-pair, C-string-&gt;string, remove-file,
rename-file, temporary-file-name, ...
<li> Numerous bug corrections
<li> ...
</ul>
<H3>About Tk</H3>
<ul>
<li> Integration of the Tk8.0 toolkit
<li> The old inspector has been adapted to work with current release
(not completely, but sufficiently while the new version is
terminated)
<li> Buttons, Checkbuttons and Radiobuttons can use a :variable
and :textvariable in a given environment. This environment is
given with the new :environment option.
<li> New metaclass: &lt;Tk-composite-toplevel&gt;. This is identical to
the class &lt;Tk-composite-widget&gt;, except that the widget lives
in its own toplevel window.
<li> make-image simplifies the usage of Tk images and uses a cache,
to speed-up access to already used images.
<li> The little square window, which used to appear as soon as <B>STk</B>
was launched, appears now only when the first widget is mapped
on screen.
<li> ...
</ul>
<H3>About STklos</H3>
<ul>
<li> The MOP of <B>STklos</B> is now very similar to the CLOS one. Here are some
of the new features:
<ul>
<li> when a slot does not exists, the gf slot-missing is called
<li> when a unbound slot is read, the gf slot-unbound is called
<li> new generic functions slot-ref-using-class,
slot-set-using-class,
slot-bound-using-class?, slot-exists-using-class?,
slot-definition-name, slot-definition-options,
slot-definition-allocation, slot-definition-getter,
slot-definition-setter, slot-definition-accessor,
generic-function-name, generic-function-methods,
method-generic-function, method-specializers
method-procedure, remove-method
change-object-class
</ul>
<li> When a class is redefined, the instances and methods which uses it
are redefined accordingly, as in CLOS (i.e. if you add a slot in a
class, all its -- direct or indirect -- instances will have the new
slot added dynamically.
<li> New kind of slot allocation: "active". An active slot is a
slot for which you can put a daemon before or after its
reading/writing
<li> Standard behavior of class slots is now identical to CLOS:
when a class-slot is inherited, it is shared with instances of
the superclass. If it is redefined, a new slot is created
<li> slot initializers are evaluated in the lexical environment of the
class definition.
<li> (Tk-)virtual slots can now have an :initform option.
<li> Generic functions can be now traced with the standard TRACE
function.
<li> Composite widgets have now a class slots which contains the
class of the object. This slot is initialized by default to
"Composite", but it can be overloaded for a particular class.
For instance labeled entries use the value "LabeledEntry" by
default. This feature can be used for initializing the X11 resource
database. for instance you can have
<quote>
STk*LabeledEntry*Entry*Background: white
</quote>
in your .Xdefaults file to set the default value of background of
the entry of a &lt;Labeled-entry&gt; widget.
<li> New composites widgets: Gauge, Valued-Gauge, Balloon-help,
Labeled-Frame
<li> The HTML-browser has been enhanced to access now the web (i.e. you
can grab distant texts or images). The Web browser admit now applets
written in Scheme.
<li> New kind of slot allocation: "active". An active slot is a slot for
which you can put a daemon before or after its reading/writing
<li> extended types (defined in C) are now automatically integrated in
the <B>STklos</B> hierarchy.
<li> Several new classes for displaying messages boxes
<li> New class &lt;Color-box&gt; for choosing colors.
<li> New &lt;Tk-Text-inset&gt;. This class is the now the parent class of
&lt;Text-window&gt; and of (the new) class &lt;Text-image&gt;.
<li> ...
</ul>
</TR>
</TABLE><HR><FONT SIZE=-1>This page is maintained by <A HREF=mailto:eg _@_ unice.fr>Erick Gallesio</A><BR>Last update Tue Feb 2 22:27:04 CET 1999
</font></BODY>
</HTML>