"final patch for 1.0.4"

[email protected] Fri, 21 Jun 2002 14:12:14 -0700
Newsgroups gmane.comp.lib.ivtools.patches
Message-ID <[email protected]>
Patch:    ivtools-020621-johnston-054
For:      ivtools-1.0.3
Author:   [email protected]
Subject:  final patch for 1.0.4
Requires: 

This is an intermediate patch to ivtools-1.0.3.  To apply, cd to the
top-level directory of the ivtools source tree (the directory with src
and config subdirs), and apply like this:

	patch -p0 <ThisFile

Summary of Changes:

- final patch for 1.0.4

Index: top_ivtools/CHANGES
diff -c top_ivtools/CHANGES:1.5 top_ivtools/CHANGES:1.6
*** top_ivtools/CHANGES:1.5	Mon Mar 11 12:03:47 2002
--- ./CHANGES	Fri Jun 21 14:01:02 2002
***************
*** 1,3 ****
--- 1,108 ----
+ June 21st, 2002  ivtools-1.0.4
+ 
+ - give special meaning to a set of parentheses that proceed the
+ tuple operator ",", by adding an extra level of nesting to the
+ resultant list.  Before the expression "(1,2),(3,4)" yielded
+ "{1,2,{3,4}}".  Now it yields "{{1,2},{3,4}}" as one might expect.
+ This anomaly stemmed from the fact the tuple operator "," works
+ by concatenating its right-hand argument to its left-hand argument
+ if the left-hand argument is already a list (that's how the
+ interpreter concatenates a compound tuple-expression, i.e. "1,2,3,4").
+ 
+ - fix unitialized variable used when reading from sockets that would
+ cause a hang.
+ 
+ - add comterp commands for the value of PI (pi), converting radians to
+ degrees (radtodeg), and converting degrees to radians (degtorad).
+ 
+ - add new matrix transpose command (xpose), which takes a 2d list of numbers
+ (i.e. a matrix), and transposes them.  Examples:
+ 
+ xpose(1,2,3)
+ {{1,2,3}}
+ xpose((1,2),(3,4))
+ {{1,3},{2,4}}
+ xpose((1,2,3),(11,12,13),(21,22,23))
+ {{1,11,21},{2,12,22},{3,13,23}}
+ 
+ - add a matrix addition capability to the comterp "+" operator.
+ 
+ - add matrix multiplication to comterp "*" operator.
+ 
+ If:
+ a=(1,4),(2,-3),(3,1),(-1,0)
+ b=(-1,2,1),(-9,2,-3)
+ 
+ Then:
+ a*b
+ 
+ Yields:
+ {{-37,10,-11},{25,-2,11},{-12,8,0},{1,-2,-1}}
+ 
+ - extend matrix multiply to support vector inputs.  Now:
+ 
+ a=list,list(1),list(2),list(3)
+ b=list,list(1,2,3)
+ a*b
+ 
+ Yields the same as:
+ 
+ a=1,2,3
+ b=list,list(1,2,3)
+ a*b
+ 
+ Conversely:
+ 
+ a=list,list(1,2,3)
+ b=list,list(1),list(2),list(3)
+ a*b
+ 
+ Yields the same as:
+ 
+ a=list,list(1,2,3)
+ b=1,2,3
+ a*b
+ 
+ And:
+ 
+ list(2)*list(3)
+ 
+ Yields:
+ 
+ {{6}}
+ 
+ - add support for panning with cursor keys (left/right/up/down) as well
+ as Page Up and Page Down (PgUp/PgDn) for larger vertical moves.
+ 
+ - greatly improve the efficiency of rendering alpha-transparent
+ rasters with a TrueColor visual.  Prior to this each input color was
+ being looked up in a table that could be as long as 2 to the 24th,
+ then the weighed average computed in floating point, then the result
+ rescaled into a TrueColor color.  Now everything is done with nothing
+ more than 32 bit integer multiplies, adds, and shifts.  Performance
+ has gone from a multi-second lag to adequately interactive.
+ 
+ - rename "Custom Tools" to "Extra Tools".
+ 
+ - migrate Attribute, Annotate, and GraphicLoc to "Extra Tools".
+ 
+ - add a :next flag to comdraw's import func.  It attempts to
+ auto-increment the numerics in the last URL and import again.
+ 
+ - sync with diffs from latest Debian release (ivtools-0.9.2-6).
+ 
+ - add gcc-2.96 warning to INSTALL and README files
+ 
+ - remove installation of extraneous scripts when non-local install.
+ 
+ - save/restore raster alpha-transparency value in drawing documents.
+ 
+ - create AlphaTransparentCmd and make available under Edit/"Image Processing"
+ 
+ - create raster peek command for comdraw (RasterPeekFunc).
+ 
+ 
+ 
  March 11th, 2002  ivtools-1.0.3
  
  - add missing src/include/ivstd/stdlib.h to MANIFEST.  This was
Index: top_ivtools/INSTALL
diff -c top_ivtools/INSTALL:1.7 top_ivtools/INSTALL:1.8
*** top_ivtools/INSTALL:1.7	Mon Jun 10 16:33:32 2002
--- ./INSTALL	Fri Jun 21 14:01:02 2002
***************
*** 1,7 ****
  
  			INSTALL for ivtools-1.0
  
! Instructions for building ivtools-1.0.3 from source, the short version:
  
  	./configure
  	make
--- 1,7 ----
  
  			INSTALL for ivtools-1.0
  
! Instructions for building ivtools-1.0.4 from source, the short version:
  
  	./configure
  	make
***************
*** 10,16 ****
  
  And if that doesn't work...
  
! Instructions for building ivtools-1.0.3 from source, the long version:
  
  0. Compilation Environment
  
--- 10,16 ----
  
  And if that doesn't work...
  
! Instructions for building ivtools-1.0.4 from source, the long version:
  
  0. Compilation Environment
  
Index: top_ivtools/README
diff -c top_ivtools/README:1.6 top_ivtools/README:1.7
*** top_ivtools/README:1.6	Mon Jun 10 16:33:32 2002
--- ./README	Fri Jun 21 14:01:03 2002
***************
*** 2,8 ****
  			README for ivtools 1.0
  
  
! This directory contains a release of ivtools 1.0.3.  You should read
  the rest of this file for information on what ivtools is and the
  INSTALL file for instructions on how to build it.
  
--- 2,8 ----
  			README for ivtools 1.0
  
  
! This directory contains a release of ivtools 1.0.4.  You should read
  the rest of this file for information on what ivtools is and the
  INSTALL file for instructions on how to build it.
  
Index: top_ivtools/VERSION
diff -c top_ivtools/VERSION:1.4 top_ivtools/VERSION:1.5
*** top_ivtools/VERSION:1.4	Mon Mar 11 12:03:47 2002
--- ./VERSION	Fri Jun 21 14:01:03 2002
***************
*** 1 ****
! Release 1.0.3
--- 1 ----
! Release 1.0.4
Index: include_std/version.h
diff -c include_std/version.h:1.4 include_std/version.h:1.5
*** include_std/version.h:1.4	Mon Mar 11 12:04:28 2002
--- src/include/ivstd/version.h	Fri Jun 21 14:02:04 2002
***************
*** 1,3 ****
! #define IvtoolsVersion 1.0.3
! #define VersionString "1.0.3"
! #define ReleaseString "ivtools-1.0.3"
--- 1,3 ----
! #define IvtoolsVersion 1.0.4
! #define VersionString "1.0.4"
! #define ReleaseString "ivtools-1.0.4"
Index: config_ivtools/params.def
diff -c config_ivtools/params.def:1.5 config_ivtools/params.def:1.6
*** config_ivtools/params.def:1.5	Mon Mar 11 12:04:35 2002
--- config/params.def	Fri Jun 21 14:02:12 2002
***************
*** 27,33 ****
   * Name of the software release
   */
  #ifndef Release
! #define	Release ivtools-1.0.3
  #endif
  
     RELEASE = Release
--- 27,33 ----
   * Name of the software release
   */
  #ifndef Release
! #define	Release ivtools-1.0.4
  #endif
  
     RELEASE = Release
***************
*** 36,42 ****
   * VersionNumber
   */
  #ifndef Version
! #define	Version 1.0.3
  #endif
  
     VERSION = Version
--- 36,42 ----
   * VersionNumber
   */
  #ifndef Version
! #define	Version 1.0.4
  #endif
  
     VERSION = Version
*** /dev/null	 Fri Jun 21 14:02:14 PDT 2002
--- patches/ivtools-020621-johnston-054
*************** patches/ivtools-020621-johnston-054
*** 0 ****
--- 1 ----
+ ivtools-020621-johnston-054


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/