2005-07-20	Claudio Fontana  <claudio@gnu.org>

	* doc/sourceinstall.texi: updated manual

2005-07-19	Claudio Fontana  <claudio@gnu.org>

	* configure.ac, Makefile.am: portability fixes. Use = as test operator
	  instead of ==, break long lines with backslash-newline. This should
	  make old Solaris versions happy.
	
	* src/sourceinstall.tcl.in: removed Enter<->Space binding for modal
	  dialogs.

	* m4/tcl.m4: strengthened tclConfig.sh and tkConfig.sh search

	* src/sourceinstall.tcl.in: new popup menu for the package listbox

	* src/sourceinstall.tcl.in: center configure window

2005-07-18	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in: added support for build subdirectories.
	  Multiple configure scripts are disambiguated by a configure script
	  browsing dialog.

	* src/sourceinstall.tcl.in: fixed tarball names (they now correctly
	  match package name+".tar.FORMAT")
	
	* src/sourceinstall.tcl.in: fixed bug that appeared when removing only
	  the source code.

	* src/sourceinstall.tcl.in: made internal uninstall much faster. New
	  function get_relative_dependencies to return all file dependencies of
	  current package.
	  
2005-07-17	Claudio Fontana  <claudio@gnu.org>

	* configure.ac:
	  implemented version checks for sourceinstall dependencies
	  (tclsh >= 8.4, tk >= 8.4, Expect >= 5.38).

	* configure.ac:
	  remove version checks when using expectk, because they could report
	  wrong versions.

2005-07-16	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in:
	  improved package ADD dialog, added possibility of choosing a source
	  directory instead of a release in packaged form. Added possibility
	  of specifying the package name immediately during package ADD

	* src/sourceinstall.tcl.in:
	  added support for source packages in directory format (useful for
	  example for code fetched through CVS, svn and the like)
	
2005-07-15	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in: implemented clearer functions to get
	  file type: file_type and file_ltype. The first gets the type of the
	  file after all symbolic links have been resolved, while the second
	  reads the real file type (will report "link" for symbolic links)
	  Both functions return the special type "none" if the file does not
	  exist or is unreachable.

	* src/sourceinstall.tcl.in: fix bug that caused an Assertion Failure
	  
2005-07-15	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in:
	  - new console function console_print_ref to make clickable references
	    in text
	
	  - added new functionality: Edit Package Information, reachable
	    through a new menu entry in $w(menu_edit), and through an Edit
	    href in the information frame.
	    Editable information contains: package name, package description
	
	  - removed association (package-name == top installation directory)
	    but left this association as the default behaviour when adding
	    packages.

2005-07-15	Claudio Fontana  <claudio@gnu.org>

	* Makefile.am: add description and description-long targets
	  it is now possible to run 'make description' and 
	  'make description-long'.
	  Added installation hook that installs sourceinstall into
	  sourceinstall itself. So it is possible to uninstall sourceinstall
	  by choosing the "Remove" button on the sourceinstall entry, and also
	  it is possible to update sourceinstall by just choosing "Add" button
	  and then selecting the new sourceinstall package.

	* configure.ac: do not use here-strings, use here-documents instead.
	* configure.ac: add subst for @make@
		
2005-07-10	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in:
	  new single Makefile feature check function: test_makefile_features,
	  replacing is_strip_supported, is_destdir_supported, ..

	* src/sourceinstall.tcl.in:
	  add support for special "description" and "description-long" Makefile
	  targets, adding the info on the package during make install
	
2005-07-03	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in:
	  added new package information entry: configured, which shows used
	  configure options, or "no" if package has not been configured

	* src/sourceinstall.tcl.in:
	  fixed bug with configure option values containing spaces

2005-07-02	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in:
	  fixed other bugs with "Cancel", "Stop" and other interrupt actions

	* src/sourceinstall.tcl.in:
	  environment variables are now read from the environment, and their
	  values are placed in the text entry widgets

2005-06-28	Claudio Fontana  <claudio@gnu.org>

 	* src/sourceinstall.tcl.in: 
	  Stephen Peters <smpeters@iastate.edu> detected source of evil
	  bug #13440. Changed comments, and a little about behaviour, 
	  but basically keep the current workaround in place.

	* src/sourceinstall.tcl.in:
	  Fixed bug in the reinstall action, where in the error case codepath
	  unlock_actions and update_actions were not called, resulting in buzz

	* src/sourceinstall.tcl.in:
	  removed useless -c option to /bin/sh when launching shars.

	* src/sourceinstall.tcl.in:
	  introduced new proc wait_spawned to avoid some code dup. Now
	  consider interrupts as errors when returning from process spawn
	  procs (console_send_wait, ...)

2005-06-27	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in: fixed interrupt handling. Clicking STOP
	  will appear to the program like a processed interrupt (sigint_seen)

	* src/sourceinstall.tcl.in: do not proceed to remove source if
	  uninstallation failed.

2005-06-23	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in: added support for .tgz packages
	* src/sourceinstall.tcl.in: added check for valid packages
	* src/sourceinstall.tcl.in: removed all (unused) filemagic code
	* src/sourceinstall.tcl.in: fixed signal name SIGINT to INT in kill

2005-06-20	Claudio Fontana  <claudio@gnu.org>

        * src/sourceinstall.tcl.in: implemented rough signal handling,
	  basically to correctly remove the lock file before quitting.
	  SIGTERM simply releases lock and exits, while
	  SIGINT handler depends on whether a spawned process is running or
	  not. During a process run, two consecutive SIGINTs are necessary
	  to force quit, while the first interrupts the spawned process.
	  
	* src/sourceinstall.tcl.in: fixed evil bug #13440.
	  'global timeout' in proc command_send_wait was being ignored.
	  Seems a bug in expect, implemented workaround (set to -1 in all
	  local scopes)

	* src/sourceinstall.tcl.in: better check for runnning sourceinstall
	  instances, using ps -p pid

	* src/sourceinstall.tcl.in: catch spawn and exec when optional tools
	  are missing.

	* src/sourceinstall.tcl.in: bound a, i, r keys to the main actions
	  in the main window.
	
	* doc/sourceinstall.texi: tweaked a little to reflect latest changes.
	  Ask to include ./configure output in bug reports.

	* configure.ac: report tcl package versions. No version check for
	  now, since I do not know the exact tcl package versions needed.
	  Add kill, find and ps to the tools detection.

	* src/sourceinstall.tcl.in: restored hightlightthickness and removed
	  autofocus for main actions, so one can move around using TAB,
	  arrows, PGUP, PGDOWN and then use SPACE or ENTER to select stuff.

	* release 0.3

2005-06-16	Claudio Fontana  <claudio@gnu.org>

	* configure.ac: implemented big check to determine suitable tcl
	  shell, introduced --with-tclsh=NAME, --with-expectk=NAME options.
	  Autodetection performed using ./configure with no options should
	  be strong. However, cross-compilation breaks.

	* m4/tcl.m4: changed TEA_PROG_TCLSH not to block on error. Just
	  return an empty string.

	* src/sourceinstall.tcl.in: added support for different autoconf
	  versions. Currently there are two behaviours, one for >=2.50 and
	  one for 2.13 and pre-2.13 style configure help output

	* doc/sourceinstall.texi: updated manual for the new support for
	  expectk as an alternative interpreter
	  
2005-06-14	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in (proc srcinst): normalize filename before
	  calling add_package. This fixes errors when calling with arguments
	  that are not absolute pathnames.

2005-06-14	Claudio Fontana  <claudio@gnu.org>

	* src/sourceinstall.tcl.in: catch errors when cd-ing to add_directory
	  (the user might have written a wrong directory name)

	* src/sourceinstall.tcl.in: fix problem with invalid widget path
	  names, when the configure option includes bizarre chars 

2005-06-09	Claudio Fontana  <claudio@gnu.org>

	* doc/sourceinstall.man (new file): wrote the man page
	* src/sourceinstall.tcl.in: implemented locks
	* src/sourceinstall.tcl.in: started to deal with 'file exists' and
	                            symlinks
	* src/sourceinstall.tcl.in: changed mouse cursor during actions
	* src/sourceinstall.tcl.in: signal when make uninstall fails (in red)
	* configure.ac: fixed loop using m4_foreach
	  (as suggested by Stepan Kasal: thanks!)

2005-06-08	Claudio Fontana  <claudio@gnu.org>

	* Source Installer is now a GNU package:
	  project name is now officially GNU Source Installer,
	  and its unix name is sourceinstall, to avoid conflicts with
	  the existing srcinst debian package.

	* rename srcinst sourceinstall `find .`

	* icons/*: removed folder icons
	
	* src/srcinst.tcl.in: restored Browse textual button
	* src/srcinst.tcl.in: redirect Enter key events to Space key events.

2005-06-08	Claudio Fontana  <claudio@gnu.org>
	
	* src/srcinst.tcl.in: implemented replacement for buggy tk_dialog
	  (see comments in the code). New procedure is src_dialog

	* fixed bug: did not handle cases in which the
	  user closes the modal dialogs without choosing anything

	* improved modal dialogs (made them transient = always on top)

	* changed dialog message strings (capitalize and add ending dot)

	* implemented file dependency check

2005-06-07	Claudio Fontana  <claudio@gnu.org>

	* m4/tcl.m4 (new file): use TEA_PROG_TCLSH to detect tclsh.
	  Fetched from tcl sourceforge project cvs.
	  m4/license.terms (new file): license for m4/tcl.m4 file
	
	* icons/folder_closed.gif, icons/folder_open.gif (new files):
	  use these icons to replace textual "Browse" button

	* doc/srcinst.texi: updated manual

	* src/srcinst.tcl.in:
	  program is now trying to be relocatable. However, this assumes that
	  pkgdatadir is PREFIX/share/srcinst (where PREFIX is calculated at
	  runtime by going up one level from srcinst executable location).
	
	* fixed bug that blocked configuration during
	  AC_LIBTOOL_SYS_MAX_CMD_LEN (reverted 2005-06-04 temporary fix)
	
	* implemented popup tips; now show tips for
	  configure options, with help read from ./configure --help.
	  Also show tips for preferences.

	* implemented status bar, showing "todo" labels and current progress,
	  and also currently executing command

	* fixed bug that caused wrong coloring in the pseudo-console.
	  Now commands, comments, etc are correctly colored

	* added $ prefix to all printed commands in the console

	* fixed wrong error message when compilation failed (was: no makefile
	  found, replaced with "error trying to compile the code")

	* fixed missing parameter from su invocation

2005-06-05	Claudio Fontana  <claudio@gnu.org>

	* restructured directory tree (src/ doc/ icons/)
	* srcinst.etk.in renamed to srcinst.tcl.in
	* now use tclsh instead of Expectk
	* build system changed accordingly

2005-06-04	Claudio Fontana  <claudio@gnu.org>

	* srcinst.etk.in:configure: inject arbitrary 32768 value in the cache
	  in order to skip AC_LIBTOOL_SYS_MAX_CMD_LEN test which blocks
	  when run under expect

2005-06-01	Claudio Fontana  <claudio@gnu.org>

	* AUTHORS (new file): author list
	* COPYING (new file): up to date GPL license.
	* ChangeLog (new file): this log
	* Makefile.am (new file): produces a Makefile.in (automake)
	* NEWS (new file): descriptive news about versions
	* README (new file): general instructions
	* autogen.sh (new file): runs aclocal, automake and autoconf
	* configure.ac (new file): produces a configure script (autoconf)
	
	* srcinst.etk.in (new file): the source installer. The source is
	  processed by ./configure to replace program pathnames.

	

