stk/ChangeLog

2538 lines
90 KiB
Plaintext
Raw Normal View History

1999-02-02 06:13:40 -05:00
1999-02-02 Erick Gallesio <eg@unice.fr>
* Release 3.99.4: This is the last pre 4.0 version. Code for Win32
is included. The definitive version will follow shortly if people
thinks this version is OK (and when documentation will be updated
:-<)
1999-02-01 Erick Gallesio <eg@unice.fr>
* Lib/font-chooser.stklos: New file.
1999-01-28 Erick Gallesio <eg@unice.fr>
* Lib/ftp.stklos: Changed the ftp code which hanged in some
situations Thanks to David Tillman <dtillman@cannonexpress.com>
for signalling the bug.
1999-01-27 Erick Gallesio <eg@unice.fr>
* configure.in : typos which avoid the compilation of static
libraries.
1999-01-26 Erick Gallesio <eg@unice.fr>
* Lib/console.stk: some console binding have been changed to be less
"alien" with Windows.
1999-01-07 Erick Gallesio <eg@unice.fr>
* Src/stk.h: Acces to float is now direct (i.e. without pointer).
It was not the case to avoid to make too much big cells due to
alignments problems. The trick was to put the union before the
tag (suggested by "Jay Krell" <jay.krell@cornell.edu>. Thanks)
1998-12-27 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Balloon.stklos (<Help-Balloon>): class
redefined to use the STk layer ballons (defined for the console).
* STklos/Tk/Composite/Schemetext.stklos: Modified to use the new
font-lock code.
1998-12-26 Erick Gallesio <eg@unice.fr>
* Src/signal.c: Finally code for Control-C works (finger crossed),
for the console and for classical xterms. This was a pain to write
it correctly.
* Lib/console.stk: code cleaning and some minor bug corrections.
1998-12-25 Erick Gallesio <eg@unice.fr>
* Src/dynload.c (find_function): Better error message when dynamic
loading fails
1998-12-19 Erick Gallesio <eg@unice.fr>
* Src/error.c (print_message): recursive error seems finally correct ;-)
This was something that was unsatisfying since v2.0 !!!
* Src/unix.c: Changes for MS C compiler provided by jay.krell@cornell.edu
have been applied.
* STklos/Tk/Basics.stklos (Id->instance): typo error
1998-12-10 Erick Gallesio <eg@unice.fr>
* Src/error.c: error management has ben completely changed. This should
be less fragile now.
1998-12-08 Erick Gallesio <eg@unice.fr>
* Lib/tk-init.stk ("edit"): The ed function is now the scheme editor
instead of the old one in file editor.stk
* Lib/text.stk: Deleted the binding for Control-v on Unix. I don't
like that but this allow to be more consistent with others
software which use the windowish Contol-C Control-v Control-X
bindings.
* Lib/tk-init.stk:New functions set-widget-property! and
get-widget-property
1998-12-02 Erick Gallesio <eg@unice.fr>
* Lib/tk-init.stk: Typo correction which prevent the loading of
Tk:get-save-file on Unix.
* STklos/Tk/Text.stklos: Correction of a bug in the initialization
of <Text-window> (generic parent was hidden by a local). Thanks to
Eric Fintzel <tpfintz@fr.ibm.com> for signaling it.
1998-12-01 Erick Gallesio <eg@unice.fr>
* Src/argv.c: New option -console to the interpreter to interact
through a console rather than a xterm. On Windows, the console
will be the implicit way to interact with the interpreter
* Src/console.c:
* Lib/console.stk: New files to implement a console for interacting
with STklos.
* Lib/font-lock.stk: New file. Font-lock doesn't need to load STklos
now.
1998-11-22 Erick Gallesio <eg@unice.fr>
* Src/port.c (STk_copy_port): New primitive: copy-port
* Src/tcl-lib.c : Some cleaning on Tcl channels.
* STklos/Tk/Listbox.stklos (y-view): Method lacks a dot before the
"args" paramter (thanks to Walter C. Pelissero
<wcp@luppolo.lpds.sublink.org> for signaling it).
1998-11-21 Erick Gallesio <eg@unice.fr>
* configure.in : Applied the patch given by Shiro Kawai
<shiro@squareusa.com> for IRIX 6.2.
* Src/port.c: Char-ready is now implemented in io.c which is a
quite natural place ... More code cleaning.
1998-11-19 Erick Gallesio <eg@unice.fr>
* Src/sport.c: New primitive with-error-to-string
* Src/port.c:
- New primitive with-error-to-file (why was it absent?)
- New primitives with-input-from-port, with-output-to-port,
with-error-to-port
- Rewriting of large parts of the file using new primitives.
Src/io.c: has completely be rewritten. It should be faster now
and handle all the kind of port we have: file, strings and
virtual
1998-11-18 Erick Gallesio <eg@unice.fr>
* Lib/text.stk: Pasting with mouse is now correct.
1998-11-10 Erick Gallesio <eg@unice.fr>
* Src/*.c : * Extensions/*.c: Funtions using files heve all been
replaced with port. It means that port, string-ports and virtual
ports are now truly interchangeable. The drawback is that user
code written in C which use files can be BROKEN.
1998-11-05 Erick Gallesio <eg@unice.fr>
* Src/signal.c (STk_send_signal): New primitive.
1998-11-04 Erick Gallesio <eg@unice.fr>
* Src/vport.c: New file which implement virtual ports. A virtual
port can be opened for reading or writing. Functions to access
the port are given by the user as Scheme procedures
* STklos/Tk/Composite/Filebox.stklos : Error messages use a :text
option instead of :message => error messages were not correctly
displayed
1998-10-29 Erick Gallesio <eg@unice.fr>
* Src/port.c (STk_read_line): starts now with a static buffer and
extend it dynamically if needed. Furthermore a potential bug has
been corrceted.
1998-10-22 Erick Gallesio <eg@unice.fr>
* Lib/listbox.stk : 2 typo errors corrected
1998-10-15 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Toplevel.stklos: New generic-function: children and
typo error correction in export list
1998-09-30 Erick Gallesio <eg@unice.fr>
* Release 3.99.3
1998-09-30 07:11:02 -04:00
1998-09-27 Erick Gallesio <eg@unice.fr>
* Src/toplevel.c (init_interpreter): *stk-library* is now
initialized here instead in the Tk initialization procedure
(implying that this variable is now defined in snow).
* Tk version is now 8.0.3. The stable version of Tk8.0
1998-09-26 Erick Gallesio <eg@unice.fr>
* Demos/classbrowse.stklos: New Demo of the class browser
* Lib/class-browser.stklos: New file. This is class browser which
fully use the MOP to display various informations about classes,
such as their methods or their slots. Accessing to a class is done
through a panel which shows the complete class hierarchy
* Lib/method-editor.stklos: New file: Editor for methods and
generic functions
* Demos/widget.stk: Code of the various demo of the big widget
program are now "font-locked".
* STklos/Tk/Composite/Schemetext.stklos: New class: <Scheme-text>.
This is a subclass of <Scroll-text> specialize for Scheme
programs. For now, only Emacs like "font-locking" is done by this
widget.
* Tk/generic/tkText.c (TextSearchCmd): Added environment
management to the Text searches.
1998-09-25 Erick Gallesio <eg@unice.fr>
* Src/tcl-lib.c (Tcl_CreateInterp): Cache of regexp was not
correctly initialized.
* STklos/Tk/Composite/Multiwin.stklos: Border width of a Mutiple
window is fixed to 0. Otherwise, displacement of inner windows is
"chaotic". This particularly occurs when the user has a default
border-width defined in its Xdefaults file.
1998-09-19 Erick Gallesio <eg@unice.fr>
* Extensions/locale.c: New file. This extensions implement string
and character comparisons using locale. The new functions are of
the form string-lo<?, string-lo-ci=?, and so on...
* Src/str.c (stringcomp): Bug in stringcomp with 8bit characters.
We had (char<? #\<5C> #\e) => #f whereas (string<? "<22>" "e") => #t
Comparison is now done on unsigned chars.
1998-09-17 Erick Gallesio <eg@unice.fr>
* Src/argv.c (STk_process_argc_argv): Processing of argument has
been rewritten.
1998-09-16 Erick Gallesio <eg@unice.fr>
* Src/number.c (_STk_do_addition): Bug correction (two small
giving a bignum in some cases).
1998-09-10 Erick Gallesio <eg@unice.fr>
* Lib/tk-unix.stk: completely rewritten.
* Doc/Manual/choose-color.n:
* Doc/Manual/message-box.n: New manual pages
* STklos/Tk/Tk-classes.stklos : The standard Tk dialog were not
exported correctly.
1998-09-09 Erick Gallesio <eg@unice.fr>
* Big code cleanup on all STk code. There were problems with
Alpha, and I hope that this cleanup, will ease to find the
problems.
1998-08-31 Erick Gallesio <eg@unice.fr>
* Tk/unix/tkUnixSend.c (TkGetInterpNames): Bug correction: If the
number of running intrepreters was 1, the command (winfo 'interps)
returned a strings instead of a list of length 1.
* Src/toplevel.c (repl_driver): The interpreter cannot be executed
if the DISPLAY variable is not set and the option -no-tk has not
been used. This should avoid me a lot of mail from people which
install STk and complain of weird message when launching the
demos...
* Src/eval.c (STk_eval): Call to apply without parameter
(i.e. [apply]) yields an error. This was a long standing bug
signalled by Josh Mc Donald in 1995!!!
1998-08-29 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Toplevel.stklos: Two new methods make-transient and
place-toplevel.
* STklos/stklos.stk (class-methods): New function, which return
all the methods which have a given class (or a descendant) in its
specializers.
1998-08-25 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Notepad.stklos: New file which define a
Note-pad class.
* Demos/stklos-widgets.stklos: Added <Notepad> demo
1998-08-24 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Hierarchy.stklos: New file which define 2
new classes: <Hierarchy-tree> and <Hierarchy-item> which allow to
display any kind of hierarchy (see the source file for 3 examples
of use).
* Demos/stklos-widgets.stklos: Added <hierarchy-tree> demo
1998-08-23 Erick Gallesio <eg@unice.fr>
* Tk/generic/tkBind.c (Tk_CreateBinding, FreeTclBinding): Bug
correction: Bindings on item canvas, were not properly
garbaged. BTW, the way for keeping track of closures used in
bindings has been simplified.
* Tk/generic/tkCmds.c (Tk_BindCmd): Adaptated to the new scheme
for bindings.
1998-08-20 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Scrollbar.stklos: Adding exportation of
STk:{h|v}-scroll-side and STk:{h|v}-scroll-side-set!
1998-07-28 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk (compute-get-n-set): Signaling that an
allocation scheme is unknown is now done in a method which
discriminate on <object> instead of <class>. This greatly
simplifies the usage of meta-classes which use multiple
inheritance (old code implicitly suppose that a meta-class has a
CPL of the form [ ... <class> <object> <top>]. With this
modification, <class> can appear before an "ante-penultiem"
position.
1998-07-27 Erick Gallesio <eg@unice.fr>
* Utils/STk.spec.in: Modified to be more architecture independent
(as far as possible). In particular Linux PPC should work
(inspired from a STk.spec file given by Philippe Laliberte
<arsphl@oeil.qc.ca>).
1998-07-25 Erick Gallesio <eg@unice.fr>
* Tk/unix/tkUnixWm.c: Make the result of (wm 'state ...)
consistent. It was, depending the cases, a string or a
symbol. This is always a string now. THIS COULD BREAK EXISTING
CODE!
* Lib/tk-init.stk (*start-withdrawn*): One example of code broken
by previous modification...
1998-07-22 Erick Gallesio <eg@unice.fr>
* Src/Makefile.in (install.stk.libs): The tcl-glue.h and tk-glue.h
files were not installed when doing a "make
install.libs". Corrected now. Thanks to Vincent Granet
<vg@unice.fr> for signalling it.
1998-07-20 Erick Gallesio <eg@unice.fr>
* Src/print.c (printlist_star): Buggy when printing some simple
dotted pair. The patch was provided by Ian Wild
<ian.wild@eurocontrol.be>.
* Tk/generic/tkFont.c (GetAttributeInfoObj): Bug when reporting
boolean font attributes. Bug signalled by Vincent Granet
<vg@unice.fr>
* Extensions/base64.c: New file which provides base64 file
encoding and decoding (base64-encoding and base64-decoding)
* Lib/base64.stk: New file which load the base64 extension. It
also provides the functions (base64-encoding-string and
base64-decoding-string)
1998-07-19 Erick Gallesio <eg@unice.fr>
* Src/cont.c (STk_throw): Bug correction: continuation escape
procedures couldn't take an arbitrary number of arguments. Thanks
to Michael N. Livshin <mike@olan.com> for the patch.
1998-07-17 Erick Gallesio <eg@unice.fr>
* Makefile.in: Modified so that all the install paths are relative
to the value of "prefix". This seems to be useful for people using
STOW. Suggestion made by Michael N. Livshin <mike@olan.com>.
1998-07-15 Erick Gallesio <eg@unice.fr>
* Extensions/hash.c (hash_table_put): Another bug in the hash
table is corrected. Code for putting values in hash tables whose
hash function is given by the user has been rewritten. Thanks to
Brian Denheyer <briand@northwest.com> for pointing this bug.
1998-07-14 Erick Gallesio <eg@unice.fr>
* Suppression of the background bitmap for the Web pages. It was
not easily readable on 8bits displays. Even HTML is hard to port !!
1998-06-27 Erick Gallesio <eg@unice.fr>
* Doc/Reference/Appendix-F.tex: Correction of a "bug" for the
emacs auto-mode-alist variable initialization (signalled by
craig dry <ra0531@email.sps.mot.com>)
1998-06-09 07:07:40 -04:00
1998-06-09 Erick Gallesio <eg@unice.fr>
* Release 3.99.2
1998-06-03 Erick Gallesio <eg@unice.fr>
* Src/port.c (STk_read_line): Iconcorrect behaviour when a file is
not ended by a newline (thanks to Shiro Kawai
<shiro@sqush.squareusa.com>)
1998-06-02 Erick Gallesio <eg@unice.fr>
* Tcl/tcl.h: Added a dumb field to the Tcl_Obj type for AIX cc
compiler (thanks to Eric Fintzel <tpfintz@fr.ibm.com>)
* Src/dynload.c : Added fake functions STk_call_external,
STk_external_existsp and STk_cstring2string for systems without
dynamic loading. Patch proposed by Eric Fintzel <tpfintz@fr.ibm.com>
and Ron Lawrence <lawrence@chrysalis.com>.
* Extensions/stk-genmake.in: File added. This script file can be
used to build a Makefile for extensions. It constructs a Makefile
which uses exactly the same options and compiler that was used to
build the interpreter.
* Extensions/%README: Updated.
1998-06-01 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Basics.stklos: Added exportations of <Tk-object> and
tk-constructor.
* STklos/Tk/Tk-meta.stklos: Added exportation of
compute-tk-virtual-get-n-set.
1998-05-31 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk (ensure-class): Better error message when a
slot or a metaclass is duplicated (the duplicate is now clearly shown
now).
* configure.in: Added the -fpic option for Linux shared libraries.
It seems that problems appear when the object file is bigger than
64Kb (at least the Tktable is is in this case).
1998-05-30 Erick Gallesio <eg@unice.fr>
* Doc/Reference/*.tex : Documentation update
* Src/port.c (internal_format): Added the ~W format
* Src/print.c: heavy rewritting. should be a little bit more
efficient.
1998-05-28 Erick Gallesio <eg@unice.fr>
* Extensions/html.c (html_next_token): Partly rewritten to take
into account the syntax "&#number;" (signalled by Jacques
Chazarain). BTW, the procedure has now the same behaviour as
Netscape for unfinished entity (e.g. x&zz<...> is seen as a string
which must not be interpretated).
1998-05-25 Erick Gallesio <eg@unice.fr>
* Src/read.c: Now we can read circular data such as the ones
built by write*
1998-05-22 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Tk-classes.stklos: Added <Tk-composite-toplevel> to
Tk-classes.
1998-05-21 Erick Gallesio <eg@unice.fr>
* Tk/unix/tkUnixSend.c (Tk_SetAppName): Change the names of
mutiple applications from "STk #2", "STk #3", ... to "STk#2",
"STk#3" to avoid problems with the (winfo 'interps) call.
This is clearly a hack.
1998-05-19 Erick Gallesio <eg@unice.fr>
* Extensions/process.c: Correction of a bug that prevents you from
getting the exit status of a child process under certain
circumstances. Patch provided by Grant Edwards
<grante@reddwarf.frco.com>
* Src/tcl-glue.c (STk_tcl_getvar): forgot a return in the function
which breaks result at least on Solaris (thanks to Thomas Buerger
for the patch).
* STklos/stklos.stk (compute-get-n-set): Added the :each-subclass
allocation scheme which correspond to the 3.1.1 :class allocation.
Change was requested by Thomas Buerger
<buerger@serv1.iaa.tu-clausthal.de>
1998-05-15 Erick Gallesio <eg@unice.fr>
* Lib/trace.stk: Bug correction: traces of primitives was incorrect.
1998-05-14 Erick Gallesio <eg@unice.fr>
* Lib/init.stk:
* Src/toplevel.c: New global variable *last-defined* which is set
when a define is done. This allow some traces when evaluating
large pieces of code.
1998-05-11 Erick Gallesio <eg@unice.fr>
* Lib/tk-init.stk : functions of image.stk are now autoload
1998-04-30 07:04:33 -04:00
1998-04-30 Erick Gallesio <eg@unice.fr>
* STk-3.99.1 Release
* STklos/stklos.stk (ensure-class): Inclusion of the Metaclass
init-keywords patch from J-M kubek <kubek@insa-tlse.fr>, which
allows to initialize some slots of a class when declaring it.
* Lib/bigloo.stk (module): The compatibility function between
bigloo modules and STk modules was not updated to the current
version of modules. Bug signaled by J-M kubek <kubek@insa-tlse.fr>
* STklos/stklos.stk (shallow-clone): usage of
class-definition-name instead of slot-definition-name in *-clone
functions. Bug signaled by Walter C. Pelissero
<wcp@luppolo.lpds.sublink.org>
* Tcl/tclUnixPort.h:
* Tcl/Int.h: Path correction for accessing compatibility
files. This was needed for SunOS 4.3.x.
* Extensions/Makefile.in : Don't trap errors when linking to see
that there are problems (particularly for Solaris).
1998-04-27 Erick Gallesio <eg@unice.fr>
* Installation process has been updated.
* STklos/Tk/Button.stklos: The variable associated to a radio
button or check button was not using the environment.
* STklos/Tk/Text.stklos:
* STklos/Tk/Entry.stklos:
* STklos/Tk/Scale.stklos:
* STklos/Tk/Basic.stklos: New function: initialize-value-slot
which allow to initialize this slot even if the state of the
widget is disabled. Idea from Walter C. Pelissero
<wcp@luppolo.lpds.sublink.org>
1998-04-26 Erick Gallesio <eg@unice.fr>
* Src/toplevel.c: Correction of a long standing bug which causes
background STk to take all the CPU in some circumstances. It was
hard to track
1998-04-22 Erick Gallesio <eg@unice.fr>
* Src/tcl-glue.c (STk_valid_environment): Various problems
corrected with the new :environment options which is available on
widgets now.
* Src/port.c (STk_flush): Bug correction. Trying to flush a string
port was erroneous. Bug signalled by Walter C. Pelissero
<wcp@luppolo.lpds.sublink.org>
Mon Apr 20 20:52:21 1998 Erick Gallesio <eg@unice.fr>
* Doc/Manual/repl-display-prompt.n: New documentation file.
* Doc/Reference/*: Documentation update.
Mon Apr 13 12:24:19 1998 Erick Gallesio <eg@unice.fr>
* Demos/Html-demos/*: Adding the English demos which were
accidentally forgotten from the previous release
Sun Apr 12 14:13:05 1998 Erick Gallesio <eg@unice.fr>
* Help/*: Pages were not regenerated and correspond to an old
version.
* configure.in : Various correction in the installation process
which was wrong. The spec file for RPM and the STk.prj are now
auto generated at configuration time
1998-04-10 06:59:06 -04:00
Fri Apr 10 09:01:17 1998 Erick Gallesio <eg@unice.fr>
* STk-3.99.0 release
Wed Apr 8 17:02:26 1998 Erick Gallesio <eg@unice.fr>
1998-04-30 07:04:33 -04:00
* Src/*.c: Correction: stderr (instead of STk_stderr) was
incorrectly used in some places.
1998-04-10 06:59:06 -04:00
* Src/Stack: Code was absolutely incorrect for machine which don't
support FFI.
Sun Mar 22 15:05:47 1998 Erick Gallesio <eg@unice.fr>
* STk/port.c: load accepts now (again) a module as optionnal
parameter
Mon Mar 9 21:42:08 1998 Erick Gallesio <eg@unice.fr>
* Lib/www-html.stk: Code for applet in S-scape polished.
* Src/tcl-glue: Bug correction in STk_valid_environment
* Tcl/tclEvent.c: Bug correction: after events callback table was
not correctly cleaned when an event was fired.
Sun Mar 8 23:41:11 1998 Erick Gallesio <eg@unice.fr>
* Src/cont.c: Addition of R5RS values
Sun Mar 1 11:53:40 1998 Erick Gallesio <eg@unice.fr>
* Lib/www*: The Web Browser has been rewriten.
Sat Feb 28 12:37:29 1998 Erick Gallesio <eg@unice.fr>
* Src/gc.c: Bug correction: Error context was improperly reset
when an error occurs in catch.
Fri Feb 27 01:07:50 1998 Erick Gallesio <eg@unice.fr>
* Src/unix.c: Three new functions on file: remove-file,
rename-file temporary-file-name. They correspond to their
equivalent in the ANSI C norm.
Tue Feb 24 18:56:17 1998 Erick Gallesio <eg@unice.fr>
* Demos/Widget/*.stklos: All the widget demo are now implemented.
* STklos/Tk/Text.stklos: New <Tk-Text-inset>. This class is the
now the parent class of <Text-window> and of (the new) class
<Text-image>.
* Tk/generic/tkConfig.c: a lot of change to take image as a real
type (instead of a string). Configuration has been cleaned.
Thu Feb 19 16:39:46 1998 Erick Gallesio <eg@unice.fr>
* Demos/stetris.stk (new-game): replaced an after which use a pre
STk-3.0 after bindind (i.e. an after with a list) by a
lambda. This cause problem with module environment (the first one
I see since a long time). This could have been resolved by
makeing Tk importing STklos+Tk. But there is no good reason to do
so. The bad news is that very old code can be broken if it uses
list bindings instead of lambda (it's more than 2 years than this
form is deprecated) and STklos.
Thu Feb 12 16:17:36 1998 Erick Gallesio <eg@unice.fr>
* Demos/stklos-widgets.stklos: Updated to take into account new
composite widgets.
* Src/port.c: read-line now skips the '\r' characters.
Sun Feb 8 20:59:34 1998 Erick Gallesio <eg@unice.fr>
* Tk/generic/tkScale.c (ScaleVarProc): New option :ENVIRONMENT
* Tk/generic/tkMessage.c (ConfigureMessage): New option :ENVIRONMENT
* Src/error.c: Cleanup (one more time :-<)
Mon Feb 2 22:47:52 1998 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Colorbox.stklos: New class <Color-box>, and its
user function Tk:choose-color.
Sun Feb 1 19:16:46 1998 Erick Gallesio <eg@unice.fr>
1998-09-30 07:11:02 -04:00
* Lib/tk-unix.stk: New file for the definition of standard
messages box. They are simulated on Unix and will be native
(someday) on Windows.
1998-04-10 06:59:06 -04:00
* STklos/Tk/MsgBox.stklos: New Classes: <Tk-message-box>
<Abort-retry-ignore-message-box> <Ok-message-box>
<Ok-cancel-message-box> <Ok-cancel-message-box>
<Retry-cancel-message-box> <Yes-no-message-box>
<Yes-no-cancel-message-box>. This classes are used by the
new function Tk:message-box to build mesages boxes.
* Src/read.c: Now #. is evaluated in the current module (instead
of the global one).
* Src/tcl-glue.c (STk_convert_Tcl_string2list): current module is
set to the Tk module when converting a Tk result to Scheme. This
is mainly for "#." expression which must be evaluated in the Tk
module since all the side effects done by Tk are done in it.
Thu Jan 29 19:21:48 1998 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Choicebox.stklos: New slot for
<Choice-box>es: CHOICE. This slot contains the set of possible
values for the entry.
Mon Jan 26 15:42:11 1998 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Tk-meta.stklos: Protocol for widget has been
"lighted". The slot tk-valid-option has ben deleted and slot are
set one by one after class initialization. This in in fact faster
than the old method. However <Frame> and <Toplevel> classes, don't
fit well in this scheme (some of their slots cannot be changed
after the widget is created (e.g. class or visual) => There is a
spcial init function for theses classes.
* STklos/Tk/Basics.stklos: 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
STk*LabeledEntry*Entry*Background: white
in the .Xdefaults file to set the default value of background of
the entry of a <Labeled-entry> widget.
* STklos/Tk/Basics.stklos: :tk-virtual slots accept now the
:init-form option. That means that you can do new classes which
simply change the default value by subclassing a previous widget
class.
* STklos/Tk/Frame.stklos: Change in the STklos hierarchy:
<Toplevel> inherits now from <Frame>. They were separate classes
before.
Sun Jan 25 10:53:54 1998 Erick Gallesio <eg@unice.fr>
* Src/toplevel.c:
* Lib/init.stk: User initialization file (.stkrc) is now loaded
after Tk is initialized. It used to be initialized at the end of
init.stk (and hence just before Tk). File loading is done in C.
now.
Sat Jan 24 13:22:51 1998 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk: Bug correction in METHOD.
* STklos/describe.stk: renamed to STklos/describe.stklos
* STklos/active.stk: renamed to STklos/active.stklos
Thu Jan 22 23:50:38 1998 Erick Gallesio <eg@unice.fr>
* Lib/init.stk: New macro: DEFINE-VARIABLE. It's equivalent to the
Elisp/CL DEFVAR
* Lib/tk-init.stk (*start-withdrawn*): A lot of people dislike the
fact that the root window is mapped on screen when Tk is started,
The code below, unmaps the *root* window and make it appearing as
soon as the first sub-window is packed or some action is asked to
the window manager for *root*. With this code, the the behaviour
is identical to the Tk original one except that the empty squared
window don't appears on screen. The original behaviour can be
recovered by setting *start-withdrawn* to #f
Tue Jan 20 14:40:31 1998 Erick Gallesio <eg@unice.fr>
* Src/proc.c: New undoumented procedure: %procedure-arity
* STklos/stklos.stk:
* Src/stklos.c: Optimisation of slot accesses for virtual
slots. The call to APPLY is now inlined in the slot-ref and
slot-set! functions. The arity of the setter and getter functions
is now verified at class creation (rather than slot access, in
some extent). The only drawback is that the getter and setter
function must be closures now, whereas they could be generic
funtions or primitives before (but I cannot imagine how it could
be used).
Sun Jan 18 20:06:00 1998 Erick Gallesio <eg@unice.fr>
* STklos/trace-gf.stklos: New file for tracing generic functions.
* Lib/trace.stk: Trace has been updated and take into account
generic functions now.
Tue Jan 13 10:13:22 1998 Erick Gallesio <eg@unice.fr>
* Lib/dialog.stk: Correction of bug signaled by Fritz
Heinrichmeyer <fritz.heinrichmeyer@fernuni-hagen.de>
Fri Jan 9 21:06:22 1998 Erick Gallesio <eg@unice.fr>
* Src/port.c: Bug correction in "AUTOLOAD?". BTW, this function
admit now a (optional) second parameter which can be a module.
* Src/syntax.c:
* Src/env.c:
* Src/module.c: Bug correction for C varaiables which were
"disconnected" of their C counterpart in some cases
Thu Jan 8 12:27:44 1998 Erick Gallesio <eg@unice.fr>
* Src/stklos.c: New slot for generic functions: "module"
Sat Jan 3 16:50:55 1998 Erick Gallesio <eg@unice.fr>
1998-04-30 07:04:33 -04:00
* STk.prj: STk.prj has been completely redefined. Now PRCS
1998-04-10 06:59:06 -04:00
versions are in sync with STk version.
Thu Jan 1 13:18:22 1998 Erick Gallesio <eg@unice.fr>
* Src/dynload.c: New function: EXTERNAL-EXISTS? to determine if a
symbol is defined in a library.
Wed Dec 31 15:37:36 1997 Erick Gallesio <eg@unice.fr>
* Src/hash.c (hash_table_put) Bug correction: code was not GC
safe. Thanks to Sarah Calvo <sarah@grammatech.com>
Tue Dec 30 23:33:09 1997 Erick Gallesio <eg@unice.fr>
* Extensions/posix.c: Integration of several new functions given
by Shiro Kawai <shiro@sqush.squareusa.com>
* Src/argv.c: The way arguments are processed has been changed:
now the first argument is taken as a script name (unless there was
already a -file option specified). Furthermore, when the -file
option is used (implicitly or explicitly), the variable
*program-name* is set to the name of the script file (instead of
the file name of the interpreter).
* Doc/Manual/stk.1: Adaptation of the man page for the new
conventions for argument passing to the interpreter (-file option
and implicit -file).
* Src/eval.c:
* Src/error.c: Bug correction: In some circumstances a buggy
REPORT-ERROR can lead to an infinite loop. Now we can have the
stack when in report-error AND the original error which caused the
execution of the report-error procedure.
Sun Dec 28 21:44:01 1997 Erick Gallesio <eg@unice.fr>
* Lib/Match/normalize.scm:
* Lib/Match/compiler.scm:
* Lib/Match/descr.scm: Adaptation for STk.
Mon Dec 22 00:00:54 1997 Erick Gallesio <eg@unice.fr>
* Doc/Reference/Appendix.tex: New Appendix which describes the
main differences between STk versions.
* Src/extend.c: POINTER->STRING has been moved to file dynload.c
and renamed C-STRING->STRING since ita accepts pointers AND
strings now.
Mon Dec 15 13:53:46 1997 Erick Gallesio <eg@unice.fr>
* Src/print.c: Cosmetic change: When a procedure is writen, it
displays its argument list. This is helpful when debugging
* Src/number.c: Two new function for dealing with unsigned C
numbers: long STk_integer2long(SCM x); unsigned long
STk_integer2ulong(SCM x);
* Src/extend.c: New primitive C-POINTER->STRING. This procedure
converts a C-pointer to a string. An optionnal length can be
given.
Sat Dec 13 11:07:46 1997 Erick Gallesio <eg@unice.fr>
* Src/stklos.c:
* Src/slib.c:
* Src/port.c:
* Src/gc.c: Correction of various bugs signalled by Walter C. Pelissero
<wcp@luppolo.lpds.sublink.org>
* Src/syntax.c: Bug correction in definition of internal variables
Wed Dec 10 23:25:21 1997 Erick Gallesio <eg@unice.fr>
* Src/signal.c (handle_sigsegv_signal): new procedure. This
procedure is called when a SIGSEGV is called. This avoid an
infinite loop when a real SIGSEGV occurs. It just go to the
toplevel (if the signal has not been redirected)
Sun Dec 7 22:01:54 1997 Erick Gallesio <eg@unice.fr>
* configure.in: Take into account the new libc (Gnu libc) for
Linux.
Wed Nov 19 09:34:22 1997 Erick Gallesio <eg@unice.fr>
* Cleaning code of environment allocation. There is now a new type
for frame cells (tc_frame). For now this type is equivalent to a
cons, but it allows future optimization on environment allocation.
Thu Nov 13 01:10:41 1997 Erick Gallesio <eg@unice.fr>
* Src/proc.c:
* Src/gc.c:
* Src/eval.c:
* Src/syntax.c: Cleaning of procedure creation code. All
closures are created by the function STk_makeclosure
(instead of being inlined in code).
* Src/syntax.c:
* Src/env.c: Correction of a long standing bug with internal
defines management. In some cases, access to local variable could
be false. This was because new variables were inserted at the
beginning of the environment instead of the end.
* Extensions/process.c (free_process): Standard ports were freed
instead of closed when a process was deallocated. Bug discovered
by Sarah Calvo <sarah@grammatech.com>
Wed Nov 12 09:35:13 1997 Erick Gallesio <eg@unice.fr>
* Src/list.c: new primitve: the R3RS last-pair
Sun Nov 9 22:01:56 1997 Erick Gallesio <eg@unice.fr>
* Src/list.c:
* Src/primitives.c: New primitive: append!
Tue Oct 28 21:24:02 1997 Erick Gallesio <eg@unice.fr>
* Lib/match.stk: Integration of the Bigloo MATCH-CASE and MATCH-LAMBDA
primitives
Tue Oct 7 09:46:46 1997 Erick Gallesio <eg@unice.fr>
* Extensions/posix.c (posix_stat2vector): bug correction (GC
problems)
* Src/proc.c (STk_for_each): minor bug correction: return an
undefined result instead of NIL as before.
* Lib/posix.stk: Two new functions POSIX-STAT->LIST and
POSIX-LSTAT which make easier the use of stat function (they
return a keyworded list instead of a (cryptic) vector.
Wed Sep 17 15:39:54 1997 Erick Gallesio <eg@unice.fr>
* Lib/tk-init.stk: New variable *image-path* which contains path
for loading images.
Tue Sep 16 16:29:51 1997 Erick Gallesio <eg@unice.fr>
* Src/tcl-lib.c (Tcl_OpenFileChannel): build an error message when
file cannot be opened. This is now done in Tcl. Note that the
Tk8.0 code is not consistent here since it exists places where the
check against NULL is done and other where it is supposed that Tcl
fill the error message!!!!
Sun Sep 14 11:22:48 1997 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Basics.stklos: New metaclass:
<Tk-composite-toplevel>. This is identical to the class
<Tk-composite-widget>, except that the widhet lives in its own
toplevel window. Furthermore, this widget has a slot called TITLE
which contains the title of the widget window.
*STklos/Tk/*.stklos: added a "(select-module Tk) in all these files
Sat Sep 6 22:07:39 1997 Erick Gallesio <eg@unice.fr>
* Src/toplevel.c: names of display-prompt and display-result have
been changed to repl-display-prompt and repl-display-result
Wed Sep 3 18:18:45 1997 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Basics.stklos:
* STklos/Tk/Button.stklos:
* STklos/Tk/Menu.stklos: Addition of new Tk8.0 slots
Fri Aug 29 12:17:58 1997 Erick Gallesio <eg@unice.fr>
* Lib/tearoff.stk: File deleted. It is now included in menu.stk
Wed Aug 27 15:46:25 1997 Erick Gallesio <eg@unice.fr>
* Mp/Makefile: Path was incorrect when using fgmp.
* Src/stklos.c:
* Src/tk-main.c: Gc_protect is no more useful on modules since a
module is always accessible from the module table.
* Src/tcl-lib.c: Simulation of the new function
"Tcl_DeleteCommandFromToken" used by the final Tk8.0
Mon Aug 25 12:27:11 1997 Erick Gallesio <eg@unice.fr>
* Start of port for final Tk8.0.
* Src/module.c:
* Src/primitives.c: Modules are now stored in a private table
instead of bound in the global space. The new primitive
FIND-MODULE queries the module table to find a given module
(modules are still first-class objects).
* Tk/generic/tkWindow.c: Reverted the command "tk-state" to "tk"
since the module names are no more bound in global space.
Sun Aug 24 17:10:00 1997 Erick Gallesio <eg@unice.fr>
* Src/module.c: There is now a module which is created when the
interpreter is initialized. This module (named Scheme) exports
all initial bindings (mainly primitives) defined when the
interpreter starts. So, even when the user overload a standard
primitive, the initial bindings can be found in the Scheme module.
Wed Aug 20 14:02:06 1997 Erick Gallesio <eg@unice.fr>
* Doc/Makefile: Installation of manual pages even if the
documentation is not requested.
Mon Aug 18 11:50:32 1997 Erick Gallesio <eg@unice.fr>
* Doc/Manual/label.n:
* Doc/Manual/grid.n:
* Doc/Manual/frame.n:
* Doc/Manual/font.n:
* Doc/Manual/event.n:
* Doc/Manual/entry.n:
* Doc/Manual/destroy.n:
* Doc/Manual/checkbutton.n:
* Doc/Manual/button.n:
* Doc/Manual/canvas.n:
* Doc/Manual/bind.n:
* Doc/Manual/bindtags.n: Documentation update for Tk8.0
Sun Aug 17 23:47:09 1997 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Basics.stklos: New class <Tk-environment> for the
widget which have a "text-variable" or "variable" slot (Button,
Checkbutton, Entry, ...) The corresponding widget have been
changed to take into account this new class.
Sat Aug 16 16:28:55 1997 Erick Gallesio <eg@unice.fr>
* Tk/generic/tkButton.c: Buttons, Checkbuttons and Radiobuttons
can use a :variable and :textvariable in a given environment. This
environment is given with the new :environment option.
Wed Aug 13 17:21:08 1997 Erick Gallesio <eg@unice.fr>
* Src/error.c: The variables *last-error-message* and
*last-error-arg* are set hen an error occurs. This is useful to
find what error occured when errors are catched. This is also
needed by Envdraw.
Tue Jul 8 10:00:26 1997 Erick Gallesio <eg@unice.fr>
* New type in the interpreter: tc_tclobjet. This type is necessary
to simulate the Tcl "Tcl_Obj" type. Tcl_Obj is a crazy thing.
Why Tcl does not use a GC, and life would be a *lot* easier (for me
but for them too...)
Mon Jul 7 09:59:49 1997 Erick Gallesio <eg@unice.fr>
* Start of Tk8.0 integration
Mon Jun 23 19:43:36 1997 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk (class-subclasses): rewritten. It was too slow.
Sun Jun 1 11:20:21 1997 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk: (Tk-)virtual slots can now have an
:initform option.
Fri May 23 16:07:01 1997 Erick Gallesio <eg@unice.fr>
* Src/stklos.c (build_initializers): build_initializers takes now
one more parameter (the environment in which the class has been
defined) Consequently, initializer are evaluated in the lexical
environment of the class definition.
* STklos/stklos.stk (compute-get-n-set): 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
Thu May 15 18:04:50 1997 Erick Gallesio <eg@unice.fr>
* Lib/inspect-*.stk: Adaptation of the old inspector for the
STk-3.x release. This is incomplete but it can be use until the
Rigth Thing is finished. All the adaptation was done by Brian
Denheyer <briand@northwest.com>. Thanks to him.
* Src/proc.c (general_map): map was buggy with a null list of
argument (map +) gave a core dump!
Thu May 8 11:28:11 1997 Erick Gallesio <eg@unice.fr>
* Src/port.c: Go back: LOAD and TRY-LOAD don't use anymore the
environment parameter. In fact loading a file is done in the
current module now rather at the global level as before.
* Tcl/tclUtil.c (Tcl_DStringStartSublist, Tcl_DStringEndSublist):
braces replaced by parentheses (bug signaled by Vincent Granet
<vg@unice.fr>)
Sun Apr 6 15:07:20 1997 Erick Gallesio <eg@unice.fr>
* Src/port.c: File loading: LOAD and TRY-LOAD accept now an
optional second argument. This argument must be an environment
which states in which environment the file must be loaded.
Fri Apr 4 14:49:15 1997 Erick Gallesio <eg@unice.fr>
* Lib/error.stk: Minor fix in the layout of display environment
windows.
Thu Mar 27 15:32:28 1997 Erick Gallesio <eg@unice.fr>
* Src/toplevel.c (repl_loop): The interactive prompt is no more a
constant. In fact, when the prompt must be displayed, we try to
apply the thunk contained in the *prompt* global symbol (*prompt*
must be a thunk). If an error occurs during this application, the
usual "STk> " prompt is displayed.
* Lib/init.stk: Adding a default *prompt* closure in the startup file
Sun Mar 23 19:57:07 1997 Erick Gallesio <eg@unice.fr>
* Src/toplevel.c (repl_driver): in the toplevel repl, the result is
not displayed if we are not in interactive mode (suggested by a mail
from Jesse Schell <jns@ishmael>)
Fri Mar 14 14:00:51 1997 Erick Gallesio <eg@unice.fr>
* Src/list.c (STk_append2): The old private append2 is now public
since it is often used in the interpreter. Part of it using
STk_append have been modified.
Fri Feb 28 10:43:41 1997 Erick Gallesio <eg@unice.fr>
* Src/read.c: New feature: multi lines comments
(as in Common Lisp: #| ... |# )
* Src/stklos.c (STk_init_STklos): New MOP procedures
generic-function-name
generic-function-methods
method-generic-function
method-specializers
method-procedure
remove-method
change-object-class
Sun Feb 23 23:08:40 1997 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk: New MOP procedures
slot-definition-name
slot-definition-options
slot-definition-allocation
slot-definition-getter
slot-definition-setter
slot-definition-accessor
* Src/stklos.c: Instances type is now in the cell. This decreases
globally the size of a STklos instance of the size of one int.
* Two new classes: <simple-method> and <accessor-method>.
A <simple-method> is a method which cannot be call next_method.
<Accesor-method>s are used for defining slot-readers and writers.
Application of these methods are faster than normal method
since the next-method object is not constructed.
Mon Jan 20 15:59:24 1997 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk (object-equal?): has been redefined to call
eqv? rather than returning #f. This is the same thing except that
when you redefine eqv?, it automatically redefine equal?.
Furthermore, it is more coherent with standard Scheme eqv? and equal?
Sat Jan 4 00:45:37 1997 Erick Gallesio <eg@unice.fr>
* STklos/describe.stk: New DESCRIBE method for generic functions.
Modification of DESCRIBE method for classes to take into account new
class slots (specializers and initializers are no more displayed)
* Src/stklos.c:
STklos/stklos.stk:
Modifications
- when a slot does not exists, the gf slot-missing is called
- when a unbound slot is read, the gf slot-unbound is called
New primitives
- slot-ref-using-class
- slot-set-using-class
- slot-bound-using-class?
- slot-exists-using-class?
* STklos/stklos.stk (change-class): change-class didn't
initialize the slots added to the instance. This is done
now (but this is a little bit different from CLOS: unbound
slots in the "old" instances are initialized with the initform
value in the "new" instance, whereas they remain unbound
in CLOS).
Wed Jan 1 11:44:45 1997 Erick Gallesio <eg@unice.fr>
* Src/toplevel.c: Modification of copyright dates (we are (just) in
1997 now).
Mon Dec 30 10:08:19 1996 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk: STklos does not need hash table anymore.
Sun Dec 29 22:24:24 1996 Erick Gallesio <eg@unice.fr>
* Src/port.c (STk_autoloadp): Bug correction.
Mon Dec 23 12:05:35 1996 Erick Gallesio <eg@unice.fr>
* Src/io.c: old trace deleted
* Src/extend.h:
* Src/extend.c: Now, extended types are entered in the class
hierarchy; When you define a new type, such as hash-table, a new
class is defined. This class has a name which is built by adding
brackets (<>) around the type name; this class always inherits from
<object> (that means that it is not possible to make fancy
inheritance schemes with the current solution, which would have been
too difficult to take into account with dynamic loading precedence
problems).
Sun Dec 15 11:04:10 1996 Erick Gallesio <eg@unice.fr>
* Src/list.c: member: bug correction on circular lists
* Src/list.c: New list functions: remq, remv, remove.
Sun Dec 8 10:13:30 1996 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Toplevel.stklos:
* STklos/Tk/Tk-methods.stklos:
* STklos/Tk/Tk-classes.stklos:
* STklos/Tk/Basics.stklos: Bug correction: Toplevel.stklos could be
sometimes loaded several times. Toplevel is now loaded when doing a