stk/ChangeLog

3110 lines
109 KiB
Plaintext
Raw Normal View History

1999-09-27 07:20:21 -04:00
1999-09-27 Erick Gallesio <eg@unice.fr>
* Release 4.0.1
* Doc/Reference/*.tex : Numerous documentation correction provided
by Ben L. Di Vito <bld@air57.larc.nasa.gov>
* Lib/srfi-9.stk: New file which implements (guess what?) SRFI-9
aka records.
* STklos/stklos.stk : Bug correction in find-class
1999-09-16 Erick Gallesio <eg@unice.fr>
* Doc/Reference/Reference2.tex : Added documentation on the
primitive export-al-symbols which was missing.
* Lib/www-mailto:
* Lib/www.stk: New hook "www:hook-mailto" to handle "mailto:"
requests. Furthermore, unknown protocol are properly handled now.
* Lib/www-browser.stklos: Added a mail composer !!! It is used
by the HTML browser when a "mailto:" is encountered.
1999-09-15 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Hierarchy.stklos (maybe-update-hierarchy):
new function which retain that a update of the hierarchy is
requested. If there is already a request pending nothing is
done. This solves the problem (and enhance redisplay btw)
signalled by Harvey Stein <hjstein@bfr.co.il>
* Lib/www-url.stk : Applied a patch provided by Harvey Stein to
correctly parse URL which use proxies.
* Src/unix.c (STk_setenv): Use of STk_must_malloc instead of
malloc.
1999-09-14 Erick Gallesio <eg@unice.fr>
* Lib/init.stk (dotimes): Corrected incorrect behavior for
negative bounds. Bug signalled by "Ben L. Di Vito"
<bld@air57.larc.nasa.gov>. BTW, if no result is given by the user
in the dotimes, the result is now undetermined.
* Extensions/process.c (run_process): Added the option :fork to
run-process. This allows to simulate the "exec" command of Unix
shells. Not implemented on Win32
* Src/: Minor problems for Alpha compilation (thanks to Jeremie
Petit <Jeremie.Petit@Digital.com>)
1999-09-13 Erick Gallesio <eg@unice.fr>
* Demos/README.html: Modified the applet for allowing the
execution of the examples when STk is installed (bug signalled
by Harvey Stein <hjstein@bfr.co.il>
1999-09-12 Erick Gallesio <eg@unice.fr>
* Demos/server.stk : Bug correction: two xterm were launched and a
GC caused the death of all the demo.
* Doc/Makefile: Added the installation of manual in
$(prefix)/stk-$(version). Manual is also added in RPMS as
requested by Harvey Stein <hjstein@bfr.co.il>
1999-09-05 07:16:41 -04:00
1999-09-05 Erick Gallesio <eg@unice.fr>
* Release 4.0.0
* STk.prj: Added the file Combobox.stklos
1999-09-04 Erick Gallesio <eg@unice.fr>
* Demos/server.stk : Set the process in a variable to avoid the
socket be closed when a GC occurs.
* Win32: some minor corrections
1999-09-03 Erick Gallesio <eg@unice.fr>
* First package named 4.0 (Let's pray).
* New Copyright applied to all the files which need it. The new
copyright deletes the restriction on commercial applocations.
* Tk/generic/tkConfig.c (DoConfig): Correction of a long standing
bug signalled by Brian Denheyer <briand@deldotd.com>about the
environments which were garbaged on checkbutton menu entry.
* configure.in : Modifications for RPM 3.0 packaging
1999-09-01 Erick Gallesio <eg@unice.fr>
* Src/syntax.c (syntax_let_family): Bug correction in named let:
the scope of the name of a * named let encloses only the body of
the let and not the * initialization values of the bound
variables. That means that
(let ((f -)) (let f ((n (f 1))) n)) => -1
rather than 1. This (apparently very common) bug was signaled in
comp.lang.scheme.
* Src/print.c (STk_print): Deleted an extra close parenthesis when
printing a local var.
1999-08-31 Erick Gallesio <eg@unice.fr>
* Lib/srfi-7.stk: New file for SRFI-7 (PROGRAM)
* Src/syntax.c (STk_syntax_begin): Accepts now the form "(begin)"
without complaining about a null body
* Src/port.c : slight modification to input-port? primtive: it
returns #t for all the input port (i.e. file, string and virtual
port) instead of the file port only. A new primitive as been
added: input-file-port? for testing explicitly if an object is an
input port. Of course, the same applies also for output. This
change was needed to be conform to SRFI-6.
1999-08-30 Erick Gallesio <eg@unice.fr>
* Lib/defsyntax.stk : R4RS define-syntax. This is the Macro By
Example implementation from Dorai Sitaram <dorai@cs.rice.edu>
adapted for STk.
* Lib/srfi-0.stk: New file implementing srfi-0
* Lib/srfi-2.stk: New file implementing srfi-2
1999-08-24 Erick Gallesio <eg@unice.fr>
* Demos/widget.stk (show-code): Changed the way the code file is
read to work under Win32 too.
1999-08-23 Erick Gallesio <eg@unice.fr>
* Lib/init.stk (STk): Changed the time where the autoload of the
graphical error routine is done, so that an error during the
reading of initialization file doesn't pop this weird black empty
window on the screen.
* Src/port.c (STk_close_file_port): closing a closed file with
fclose on glibc2.1.1 dumps core. fclose has been replaced by a
fflush and a close.
* Lib/winsocket.stklos : New file which implements sockets for
Win32. This file is a contribution of Steve Pruitt
<steve@pruitt.net>
1999-08-22 Erick Gallesio <eg@unice.fr>
* Demos/console-demo.stk: New (simple) demo showing the console in
action.
* Makefile.in (install-no-strip): New entry to install the
executable without stripping them. This was needed by Brian
Denheyer <briand@deldotd.com>
* Lib/console.stk : Added scrollbar in the list of modules when
choosing a new console
1999-08-19 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Paned.stklos (): Made the fraction of a
paned an active slot. This was requested by Andrew Dorrell
<andrewd@mountains.net.au>
1999-08-18 Erick Gallesio <eg@unice.fr>
* Demos/widget.stk :Changed the Quit button by a new toolbar for
the widget Demo.
1999-08-16 Erick Gallesio <eg@unice.fr>
* Doc/Reference/Reference*.tex: Big documentation update.
* Src/io.c (STk_internal_flush): Changed the implementation of
virtual port and make some cleanups. everything is documented now.
1999-08-15 Erick Gallesio <eg@unice.fr>
* Lib/console.stk : Clos console menu didn't exit the interpreter
on the main console.
* Lib/help.stk: Modified the help function to deiconify the
browser if it already exists
* Src/stk.h: Conditionally define TRUE and FALSE as requested by
Shiro Kawai <shiro@squareusa.com>
* Lib/console.stk : New menu in
console to allow to open a new console in a given module.
* Src/module.c (STk_all_modules): New primitive "all-modules"
which returns the list of all the living modules.
1999-08-12 Erick Gallesio <eg@unice.fr>
* Lib/www-url.stk (merge-paths): modified to take into account Win32
* Lib/fs.stk: * Lib/win32.stk: fs.stk is the file which will load
either unix.stk or win32.stk depending of the running system.
* Lib/image.stk : Changed the images are searched. It didn't work
for Win32
1999-08-04 Erick Gallesio <eg@unice.fr>
* Lib/console.stk (console-splash-screen): compute geometry with
quotient rather than "/" (useful for people with odd
resolutions. Yes it exists!)
1999-08-03 Erick Gallesio <eg@unice.fr>
* Src/unix.c: Modifications to parse correctly DOS filenames.
This is probably not completely correct (DOS guys are really
crazy).
* Lib/www-url.stk (url-regexp): Changed the regexp for parsing
correctly DOS filename (C:\\A was seen as the path \\A for the
service "C")
1999-07-02 Erick Gallesio <eg@unice.fr>
* Src/error.c (STk_err): the assignment of the two global is done
now in STk_err to have it even in the context of a CATCH. Patch
provided by Ian Wild <ian.wild@eurocontrol.be>.
* Lib/balloon.stk ((display-balloon-help w)): Correction of a bug
which apperas when the window to which a ballon is associated does
not exists anymore.
* Lib/dialog.stk:
* Lib/error.stk:
* STklos/Tk/Composite/Msgbox.stklos (): Added more colorful icons
for the standard message boxes
1999-07-01 Erick Gallesio <eg@unice.fr>
* STklos/stklos.stk:
* Src/stklos.c (next_method_exists): New primitive in STklos:
next-methods-exists?
1999-06-30 Erick Gallesio <eg@unice.fr>
* Src/symbol.c: New primitive string->uninterned-symbol.
* Lib/init.stk (gensym): gensym now use an uninterned symbol.
1999-06-21 Erick Gallesio <eg@unice.fr>
* install.bat: Added the installation of libraries for Win32 as
requested by Jonathan Berry <berryj@elon.edu>
1999-06-19 Erick Gallesio <eg@unice.fr>
* Src/hash.c (hash_table_put):
* Src/tk-glue.c (STk_add_callback): Changed the variable new to
new_entry to be more C++ friendly as requested by Jonathan Berry
<berryj@elon.edu>
1999-06-06 Erick Gallesio <eg@unice.fr>
* Use a coherent scheme for toolbars. All the pixmaps have been
modified.
1999-06-05 Erick Gallesio <eg@unice.fr>
* Doc/Reference/Appendix-C.tex (subsection{Example}): Typo error
signalled by Ben L. Di Vito <bld@air57.larc.nasa.gov>
1999-06-04 Erick Gallesio <eg@unice.fr>
* Src/proc.c (STk_procedurep): Bug corrcetion: procedure? was
returning #t for all STklos instance, it returns #t for
next-methods and descendants of methods now.
(STk_is_thunk): ditto.
* Tcl/tclInt.h: The Tcl List type is now hidden (since it is not
used by STk) . It is a request from Jonathan Berry
<berryj@elon.edu>
1999-05-28 Erick Gallesio <eg@unice.fr>
* Tk/generic/tkCanvLine.c: Added the option :centerarrow for
lines. The implementation was provided by Sarah Calvo
<sarah@grammatech.com>
* STklos/Tk/Canvitem.stklos (<Line>): Added the center-arrow slot
to the <Line> class to take into account the new:centerarrow
option
1999-05-26 Erick Gallesio <eg@unice.fr>
****** All the stuff below has been provided by people at Grammatech
****** <sarah@grammatech.com> & <paul@grammatech.com>
* Tk/generic/tkFrame.c: Declare the menu option of a frame as
a TK_CONFIG_MENU rathere than a TK_CONFIG_STRING.
* Src/tcl-lib.c (Tcl_CreateInterp): flags field was not
initialized.
* Src/stk.h: Added #define USE_PROCESS for Win32
* Src/eval.c: Two new functions for applying 1 or 2 arguments only.
* Src/io.c (STk_StdinProc): initializing errno to 0 before a read
system call.
* Src/dynload.c: Type declaration was uncorrect for a message
issued on architectures without FFI.
* Src/cont.c (STk_throw): On some architecture, the thunk to be
executed on restauration of a continuation should be in a global
rather than a local variable.
* Lib/unix.stk: Win32 adaptations
* Lib/menu.stk: Typos and motion.
* Lib/init.stk: Win32 fixes
* Lib/console.stk (console-invoke): fix of STk Error if there were
multiple regions with "input" tag.
((init-console module std-console?)): color missing on HPUX
replaced by its value.
* configure.in: the --prefix option was not correctly propagated
to Tk and Tcl configure scripts.
* Stack/Makefile.in: new entry install.libs
1999-05-21 Erick Gallesio <eg@unice.fr>
* Src/dynload.c:
* Src/number.c:
* Src/port.c:
* Src/env.c: Some typo errors signalled by David Fox.
* Src/tcl-lib.c (Tcl_CreateCommand): bug correction suggested by
David Fox <dsfox@cogsci.ucsd.edu>
1999-05-20 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Filebox.stklos: When the filebox was first
invoked the "all" button was NOT checked, but the filebox displays
all of the files, i.e., the button doesn't match functionality.
Bug signaled and corrected by Brian Denheyer <briand@deldotd.com>.
* STklos/describe.stklos (describe): Extended types were described
as unknown types, whereas a class is automatically defined for
them.
* Lib/init.stk (STk): added the function repl-write which is used
by the repl-display-result to display results at the toplevel. It
was write*, but it doesn't seem to be appreciated. The new value
is a function which use write or write* for list and write* for
other object. Of course it can be changed by just setting the
repl-write result.
* STklos/Tk/Composite/Hierarchy.stklos: Added the remove-item!
method.
* STklos/Tk/Composite/Toolbar.stklos: Modification of the toolbar
code to allow the inclusion of any widget in a toolbar
1999-05-19 Erick Gallesio <eg@unice.fr>
* Lib/www-browser.stklos (WWW:browser):
* Demos/Widget/Wmenu.stklos (demo-menu):
* Demos/amib.stklos (build-interface): Use the new toolbar widget
instead of simple menu as before.
* Demos/stklos-widgets.stklos: Added the font-chooser demo.
1999-05-18 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Toolbar.stklos (map-toolbar): Added the
convention that spaces of length 0 in a toolbar correspond to a
space which takes all the spaces (i.e. it sets the :expand option
of the packer to #t)
* Lib/menu.stk (Tk:menu-escape menu): code was incorrect when
using the Escape key on a cascade menu.
* STklos/Tk/Composite/*.stklos: Added a class to all the composite
widgets, so that it can be initialized from resources.
* STklos/Tk/Composite/Scrollframe.stklos: Modification to take
into account the width and the height of a Scroll frame.
* STklos/Tk/Font.stklos: New <Font> class which allow to
manipulate fonts as widgets.
1999-05-16 Erick Gallesio <eg@unice.fr>
* Src/dynload.c (push_argument): New convention: #f is now
accepted for speicfing a NULL value for a string or a pointer.
This was already the case for returned values but not for
parameters. thsi was requested by terry jones
<terry@cliffs.ucsd.edu>
* STklos/Tk/Composite/Notepad.stklos (initialize): Set the
highlight thickness of tabs to 0, Otherwise the effect was bad
(unluckily this was the defaut value I set in my .Xdefaults)
* Lib/font-chooser.stklos (pretty): The weight of the font was
missing.
1999-05-13 Erick Gallesio <eg@unice.fr>
* STklos/Examples/E3.stklos: Use a require "Tk-classes" instead of
"Canvas", otherwise *top-root* is improperly initialized
1999-05-11 Erick Gallesio <eg@unice.fr>
* STk.prj: Integration of floating toolbars
* STklos/Tk/Tk-classes.stklos: Integration of toolbars
* STklos/Tk/Composite/Toolbar.stklos: New file which implements
the floating toolbar abstraction. This was really a pain to write
(even if it does not seem complicate afterwards :-<). This is not
complete, but it's time to release...
* STklos/Tk/Menu.stklos: Special clone-widget methods for <menu>
and <menu-button>. This was necessary when cloning a toolbar which
contains a menu.
1999-05-10 Erick Gallesio <eg@unice.fr>
* STk.prj: A pseudo-stable version.
* Src/tcl-obj.c (Tcl_EvalObj): Added code for evaluating a Tcl_obj
expression. I forgot to write the code when new handlers were
introduced for 3.99.4 :-<. Bug signalled by many, really many,
users.
* Lib/palette.stk: New functions: make-rgb-color, make-darker-color
make-lighter-color
* STklos/Tk/Basics.stklos (clone-widget): New generic function.
It allows the creation of a clone of the given widget in another
place in the hierarchy.
1999-05-06 Erick Gallesio <eg@unice.fr>
* Tk/generic/tkFrame.c (TkCreateFrame): Small modification to
allow the specification of a :colormap which is the empty string
for Frames and toplevels. This is needed for cloning frames.
1999-05-02 Erick Gallesio <eg@unice.fr>
* Lib/menu.stk: Some global grabs in the Tcl file were reported as
local grab in STk.
* STklos/Tk/Composite/Combobox.stklos (show/hide-combo-list):
Changed the focus policy for combo boxes
1999-05-01 Erick Gallesio <eg@unice.fr>
* Tk/generic/tkPlace.c: Typo error detected in Biglook and which
seems not harmful in STk.
* Src/vector.c (STk_sort): When sorting a list, there was an
unnecessary copy vector which was allocated. Thanks to Manuel for
signalling this bug.
1999-04-25 Erick Gallesio <eg@unice.fr>
* Demos/stkfontsel.stk: New demo.
* Lib/font-chooser.stklos (): When the user exits the widget
without selecting a font, the old font remains the default one.
1999-04-24 Erick Gallesio <eg@unice.fr>
* Lib/font-chooser.stklos: The font chooser has been completely
rewritten. Now it only use one global variable (instead of 6) and
is cleaner than the older one. The chooser also use the Combobox
composite widget.
1999-04-17 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Text.stklos (text-see): typo error signalled by
Brian Denheyer <briand@deldotd.com>
* Src/argv.c: Added the -version option to stk. This options just
prints the version number and exit the interpreter.
1999-04-06 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Combobox.stklos: New Composite widget.
* STklos/Tk/Tk-classes.stklos (STklos+Tk): Adaptation for the new
composite widget.
1999-04-01 Erick Gallesio <eg@unice.fr>
* Lib/trace.stk (Trace): Correction of a bug which deals with
environments. Bug signaled by Jacques Chazarain <jmch@unice.fr>.
* Src/boolean.c (STk_eqv): Now environment can be compared with
eqv?. Consequently, (eqv? (the-environment) (the-environment))
returns now #t.
1999-03-26 Erick Gallesio <eg@unice.fr>
* STklos/describe.stklos (describe): Used ~W instead of ~S in some
format to avoid infinite loops when describing circular structures.
1999-03-24 Erick Gallesio <eg@unice.fr>
* Src/dynload.c (push_argument): Forgot to implement the boolean case
Patch provided by David Fox <dsfox@cogsci.ucsd.edu>.
* configure.in: Application of corrections for FreeBSD provided by
"F. Heinrichmeyer" <fritz.heinrichmeyer@FernUni-Hagen.de>
* STk.prj: Various bug corrections
* STklos/Tk/Image.stklos (initialize): New method: Pixmap
extension need that the :file or :data be passed when the image
is created => we use a new initialize method rather than the
initialize-image scheme used for bitmaps and photos.
Bug signaled by Brian Denheyer <briand@deldotd.com>
1999-03-13 Erick Gallesio <eg@unice.fr>
* Src/io.c (STk_getc): Correction of a bug on Alpha (OSF does not
seem to set errno to 0 before a read!). Bug signaled by Vincent
Granet <vg@unice.fr>
1999-03-11 Erick Gallesio <eg@unice.fr>
* Tk/generic/tkBind.c: patch to make significant only the first
character of a parameter in a binding lambda (i.e. x1 is now
equivalent to x). Strange behaviour signalled by Brian Denheyer
<briand@deldotd.com>.
* Src/primitives.c: New primitive port-closed?.
1999-02-13 Erick Gallesio <eg@unice.fr>
* Demos/widget.stk: Modification of the path for accessing source
in the widget demo. Thanks to Daniel Ortmann <ortmann@us.ibm.com>
1999-02-10 Erick Gallesio <eg@unice.fr>
* Tk/win/tkWinDialog.c (ProcessCDError): compound options for
standard dialog have now a dash (-initialfile => :initial-file, ...)
to be consistent with Unix.
* Tk/win/tkWinFont.c (WinFontFamilyEnumProc): Modified to
transform font-name into strings rather than symbols.
* Lib/menu.stk (Tk:menu-button-button-up): Typo correction (thanks
to Eric Fintzel <tpfintz@fr.ibm.com>)
* STklos/Tk/Composite/Scrollframe.stklos: Rewritten
1999-02-08 Erick Gallesio <eg@unice.fr>
* STklos/Tk/Composite/Scrollframe.stklos: New widget <Scroll-Frame>.
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>