Release notes for Version 1.2

Changes 

added

popupM :: Menu -> GUI ()
getPointerLoc :: Window -> GUI Coord
getRootPointerLoc :: GUI Coord

Various bug fixes
Now compiles with ghc-5

Release notes for Version 1.1

Changes

CWidgets no longer have a unique integer. Instead their widget tag (wtag) is unique. So equality works on them.

Added iconifyWindow :: Window -> GUI ()

Added TModMove TIndex ModMove to TIndex
Supports transformations on text indices 
eg (TIndex LineStart TIndexEnd) means the start of the last line.

Type changes
fromTIndex :: Edit -> TIndex -> GUI (Int,Int)
becomes
fromTIndex :: Edit -> TIndex -> GUI (Maybe (Int,Int))

getMarkPos :: Mark -> GUI (Int,Int) 
becomes
getMarkPos :: Mark -> GUI(Maybe (Int,Int))
as the index or mark may not be valid.

Added 
scrollbar' :: WPath -> [Conf Scr] -> GUI Scrollbar

Added lines to makefile.nt to compile tclprim.dll. It uses some cygwin tools.

Bug fixes

Fixed bug with Tcl Embedded widget that prevented it from being displayed

Fixed problem with deleting and reshowing menus

Inserting text into a read/only text widget now works.


Release notes for Version 1.0

Widgets can now be built by giving them explicit names, or
by simply making them children of windows. This brings together
the best of TkHaskell and TclHaskell (the two previous releases).

Much greater range of Tcl-tk supported especially support for
listboxes, text edit areas, and entries.

Proper support for packing widgets into windows.

Support for user built dialog boxes.

Various bugs fixed.

IMPORTANT BUGS

There is one serious and important bug. With Tcl there appears to
be no way to get a system independent time value with a greater
accuracy than every second. This is ok most of the time. 
Where this is a problem, there is a system dependent solution.
There are several versions of module TclTime in the src directory.
These are TclTime.independent.hs TclTime.NT.hs TclTime.linux.hs
The independent version gives time units changing every second. This
is the version that is used as TclTime.hs initially.
The explicit NT and linux version use the system depedent 
"clock clicks" tcl function. Initial testing suggests that this gives
values in units of millisecond under NT and microseconds under linux.
If you want something this accurate use the system dependent versions
but you'd better test on your system first.

Here's what the tcl user manual has to say on the subject of clock clicks

clock clicks
Return a high-resolution time value as a system-dependent integer
value.  The unit of the value is system-dependent but should be the
highest resolution clock available on the system such as a CPU cycle
counter. This value should only be used for the relative measurement
of elapsed time. 


