New experimental 5.x (4.99.12) release

From: Angel Ortega <angel_triptico.com>
Date: Sat, 7 Oct 2006 13:20:57 +0200
Hello to everyone. There is a new experimental version of Minimum Profit
5.x available for download:

 http://www.triptico.com/download/mp-4.99.12.tar.gz
 http://www.triptico.com/download/mp-4.99.12.tar.gz.asc

The usual Win32 binary is also there. Look at the README file to know
how to install it:

 http://www.triptico.com/download/mp-4.99.12.zip
 http://www.triptico.com/download/mp-4.99.12.zip.asc

From RELEASE_NOTES:

 * The menu in the Curses interface has been (finally) implemented.
 * Interfaces have changed internally; a new driver function, mp.drv.form()
   serves as a dialog box generic generator, resulting in more useful queries
   for data (for example, all data required for a 'replace' operation is
   queried in only one dialog box). The Curses implementation, though
   functional, is still just a wrapper to the old interface functions
   and fields are queried one-by-one (which is annoying). This is an example
   of a call to mp.drv.form(); the r variable will contain an array of 5
   elements (one per widget) containing the values, or NULL if user cancelled:

	local r = mp.drv.form( [
	
		/* a 'text' widget */
		{ 'label'	=> "Replace this:",
		  'type'	=> 'text',
		  'history'	=> 'search',
		  'value'	=> 'THIS' },
	
		/* another one */
		{ 'label'	=> "With:",
		  'type'	=> 'text',
		  'history'	=> 'replace',
		  'value'	=> 'THAT' },
	
		/* a 'password' widget */
		{ 'label'	=> 'Password:',
		  'type'	=> 'password' },
	
		/* a 'checkbox' widget */
		{ 'label'	=> "Case sensitive:",
		  'type'	=> 'checkbox',
		  'value'	=> mp.config.case_sensitive_search },
	
		/* a 'list' widget */
		{ 'label'	=> 'All C files:',
		  'type'	=> 'list',
		  'list'	=> glob('*.c'),
		  'value'	=> 10 }
	] );

 * Password protecting files works (but they cannot be opened yet, so this
   is far from useful, unless you use mp 3.x to open them).
 * Case sensitivity in searches can be controlled with the new
   config flag mp.config.case_sensitive_search.
 * Replace (and global replace by use of the new config flag
   'mp.config.global_replace') works.

I'm almost there: next release will have a '5' as its major release
number, meaning it must be usable for everyone. Though the number of
release critical bugs (see TODO file) is still big, none is too hard.

Enjoy!

-- 
Angel Ortega
http://www.triptico.com



-- 
To unsubscribe, send mail to mp-unsubscribe_lists.triptico.com.


Received on Sat Oct 07 2006 - 13:21:08 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 10 2008 - 08:59:26 CEST