2022-08-03 10:39:03 -04:00
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
< html >
< head >
< title > Changes in 3.99< / title >
< / head >
2022-08-03 11:06:40 -04:00
< body BACKGROUND = "Images/texture.gif" >
2022-08-03 10:39:03 -04:00
< TABLE WIDTH = "100%" > < TR >
< TD ALIGN = LEFT VALIGN = TOP WIDTH = "20%" NOWRAP >
2022-08-03 10:42:46 -04:00
< IMG SRC = http://kaolin.unice.fr/STk/Images/STk-tiny.gif >
2022-08-03 10:39:03 -04:00
< P >
< BR > < A HREF = http://kaolin.unice.fr/STk/STk.html > STk home< / A >
< BR > < A HREF = http://kaolin.unice.fr/STk/distribution.html > Source Release< / A >
< BR > < A HREF = http://kaolin.unice.fr/STk/Binary > Binary Release< / A >
< BR > < A HREF = http://kaolin.unice.fr/STk/news.html > News< / A >
< BR > < A HREF = http://kaolin.unice.fr/STk/documentation.html > Documentation< / A >
< BR > < A HREF = http://kaolin.unice.fr/STk/FAQ > FAQ< / A >
< BR > < A HREF = http://kaolin.unice.fr/STk/archives.html > Mailing List< / A >
< BR > < A HREF = http://kaolin.unice.fr/STk/screenshots.html > Screenshots< / A >
< BR > < A HREF = http://kaolin.unice.fr/STk/Contribs > Contributions< / A > < / TD >
< TD ALIGN = LEFT VALIGN = TOP WIDTH = "80%" >
< center > < h1 > < IMG SRC = http://kaolin.unice.fr/STk/Images/LineLeft.gif > Changes in 3.99 < IMG SRC = http://kaolin.unice.fr/STk/Images/LineRight.gif > < / h1 > < / center > < pre >
< / pre >
< H3 > About Scheme< / H3 >
< ul >
2022-08-03 10:42:46 -04:00
< li > A module system has been added
2022-08-03 10:39:03 -04:00
< li > Integration of the Bigloo MATCH-CASE and MATCH-LAMBDA
2022-08-03 10:42:46 -04:00
primitives. Furthermore, the file bigloo.stk provide
2022-08-03 10:39:03 -04:00
some compatibility between < B > STk< / B > and bigloo modules.
2022-08-03 10:42:46 -04:00
< li > A simple FFI has been added. It allows to access C functions
without writing C code (works only on a limited set of
2022-08-03 10:39:03 -04:00
architectures for now).
< li > integrates the R5RS VALUES and CALL-WITH-VALUES
< li > multi-line comments have been added.
2022-08-03 10:42:46 -04:00
2022-08-03 10:39:03 -04:00
< 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.
2022-08-03 10:42:46 -04:00
< li > report-error mechanism has been enhanced a lot (work is not
2022-08-03 10:39:03 -04:00
completely achieved).
< li > new-primitives: append!, mast-pair, C-string-> string, remove-file,
rename-file, temporary-file-name, ...
< li > Numerous bug corrections
2022-08-03 10:42:46 -04:00
2022-08-03 10:39:03 -04:00
< 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)
2022-08-03 10:42:46 -04:00
< li > Buttons, Checkbuttons and Radiobuttons can use a :variable
2022-08-03 10:39:03 -04:00
and :textvariable in a given environment. This environment is
given with the new :environment option.
2022-08-03 10:42:46 -04:00
< li > New metaclass: < Tk-composite-toplevel> . This is identical to
the class < Tk-composite-widget> , except that the widget lives
in its own toplevel window.
2022-08-03 10:39:03 -04:00
2022-08-03 10:42:46 -04:00
< li > make-image simplifies the usage of Tk images and uses a cache,
2022-08-03 10:39:03 -04:00
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 >
2022-08-03 10:42:46 -04:00
< li > The MOP of < B > STklos< / B > is now very similar to the CLOS one. Here are some
2022-08-03 10:39:03 -04:00
of the new features:
< ul >
2022-08-03 10:42:46 -04:00
< 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
2022-08-03 10:39:03 -04:00
< / 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
2022-08-03 10:42:46 -04:00
slot added dynamically.
2022-08-03 10:39:03 -04:00
< li > New kind of slot allocation: "active". An active slot is a
2022-08-03 10:42:46 -04:00
slot for which you can put a daemon before or after its
2022-08-03 10:39:03 -04:00
reading/writing
2022-08-03 10:42:46 -04:00
< li > Standard behavior of class slots is now identical to CLOS:
2022-08-03 10:39:03 -04:00
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.
2022-08-03 10:42:46 -04:00
< li > Generic functions can be now traced with the standard TRACE
2022-08-03 10:39:03 -04:00
function.
< li > Composite widgets have now a class slots which contains the
2022-08-03 10:42:46 -04:00
class of the object. This slot is initialized by default to
"Composite", but it can be overloaded for a particular class.
2022-08-03 10:39:03 -04:00
For instance labeled entries use the value "LabeledEntry" by
2022-08-03 10:42:46 -04:00
default. This feature can be used for initializing the X11 resource
2022-08-03 10:39:03 -04:00
database. for instance you can have
< quote >
2022-08-03 10:42:46 -04:00
STk*LabeledEntry*Entry*Background: white
2022-08-03 10:39:03 -04:00
< / quote >
in your .Xdefaults file to set the default value of background of
the entry of a < Labeled-entry> widget.
2022-08-03 10:42:46 -04:00
< li > New composites widgets: Gauge, Valued-Gauge, Balloon-help,
2022-08-03 10:39:03 -04:00
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
2022-08-03 10:42:46 -04:00
< li > extended types (defined in C) are now automatically integrated in
2022-08-03 10:39:03 -04:00
the < B > STklos< / B > hierarchy.
2022-08-03 10:42:46 -04:00
2022-08-03 10:39:03 -04:00
< li > Several new classes for displaying messages boxes
2022-08-03 10:42:46 -04:00
2022-08-03 10:39:03 -04:00
< li > New class < Color-box> for choosing colors.
< li > New < Tk-Text-inset> . This class is the now the parent class of
2022-08-03 10:42:46 -04:00
< Text-window> and of (the new) class < Text-image> .
2022-08-03 10:39:03 -04:00
< 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 >