[GRASS5] color table

Glynn Clements glynn.clements at virgin.net
Thu Sep 4 17:04:54 EDT 2003


Markus Neteler wrote:

> > > If possible, I would like to release 5.0.3 tomorrow or
> > > Thursday latest (then I am out of town for more than a week).
> > 
> > I'd like more time to look at the changes. Note that nobody has posted
> > a comprehensive summary of what's actually changed. I'm fairly sure
> > that some of those changes don't belong in the release branch (e.g. 
> > Mike's MinGW stuff in src/general/init/chk_dbase.c, possibly
> > elsewhere).
> 
> No problem to wait. I would appreciate if the changes get reviewed.

A few more issues:

1. src/tcltkgrass/module/d.grid has been updated for the bordercolor=
option and -b/-g flags, but these aren't in the release version of
d.grid itself. Which one is wrong?

2. The src/tcltkgrass/module/r.proj update introduced a typo:

    {checkbox -n {Do not preform region cropping optimization} "" -n}

I've fixed this one in both head and release branch.

3. The signal handling changes in

	src/general/init/grass.src
	src/general/init/init.sh

prevent trapping SIGKILL (9) and SIGTERM (15). Not trapping SIGKILL is
sensible enough (IIRC, this will fail on some shells), but why avoid
trapping SIGTERM?

4. Some of the changes seem rather extensive for something that's
supposed to be a bug-fix release. Specifically: d.barscale, v.in.dgn,
m.in.e00, r.los, r.spread.

I've attached a summary of the changes.

-- 
Glynn Clements <glynn.clements at virgin.net>

-------------- next part --------------

aclocal.m4
	LOC_CHECK_VERSION

src.contrib/GMSL/NVIZ2.2/src/interface.h
	Tk 8.4 fix

src.garden/grass.postgresql/g.column.pg/main.c
src.garden/grass.postgresql/g.stats.pg/infxStats.c
	Newlines in string literal

src.garden/grass.postgresql/g.select.pg/main.c
	Unset PG_HOST if no host specified

src/CMD/VERSION
	5.0.2 -> 5.0.3

src/CMD/lists/GRASS
	Add src/general/g.parser

src/display/d.area/screenpoly.h
	Wrap uint8_t/uint32_t definitions in #if !defined ( __CYGWIN32__ )

src/display/d.barscale/cmd/draw_scale.c
src/display/d.barscale/cmd/main.c
src/display/d.barscale/cmd/mouse.c
src/display/d.barscale/cmd/options.h
src/tcltkgrass/module/d.barscale
	Upgrade

src/display/d.geodesic/cmd/Gmakefile
	Remove gratuitous $(MATHLIB) from LIBES, DEPLIBS

src/display/d.leg.thin/main.c
	Force boxes to be at least 1 pixel wide/high

src/display/d.what.sites/main.c
	Change help text

src/display/devices/PNGdriver/Gmakefile
	Add $(MATHLIB)

src/display/devices/windows/libW11/w32/xlib.c
	Fix XCreateImage

src/fonts/fonts/cyrilc.hmp
	?

src/fonts/for_grass/splitfont.c
	char -> int (workaround for gcc internal error)
	Allow wider character sets

src/general/g.ask/cmd/main.c
src/general/g.filename/cmd/main.c
src/general/g.findfile/cmd/main.c
	include <string.h>, <stdlib.h>

src/general/g.gisenv/main.c
	Don't use G_gisinit(); tolerate invalid environment

src/general/g.mapsets/main_cmd.c
	Fix help text

src/general/g.parser/test.sh
	Enhance example script

src/general/init/grass.src
	Don't trap SIGKILL, SIGTERM

src/general/init/init.sh
	Don't trap SIGKILL, SIGTERM
	Add version number
	Fix for first-time use
	Change test -e -> test -r

src/general/init/mke_loc.c
src/general/init/mke_mapset.c
src/general/init/set_data.c
	Quote paths in system() argument

-src/imagery/i.class/draw_match.c
	Remove draw_match.c

src/imagery/i.ortho.photo/libes/Gmakefile
	Tidy

src/libes/gis/sleep.c
	Don't retrive timezone

-src/libes/proj/doc/OF90-284.pdf
-src/libes/proj/doc/PROJ.4.3.I2.pdf
-src/libes/proj/doc/PROJ.4.3.pdf
-src/libes/proj/doc/SWISS.pdf
	Removed

src/libes/proj/do_proj_nad.c
	?

src/mapdev/v.build/main.c
	Indent messages

src/mapdev/v.digit/node_lines.c
	Use LEFTB/RIGHTB/MIDDLEB macros

src/mapdev/v.digit/set_thresh.c
	Display map scale
	Tidy

src/mapdev/v.in.dgn/Gmakefile
src/mapdev/v.in.dgn/README
src/mapdev/v.in.dgn/main.c
	?

src/mapdev/v.in.mif/main.c
src/mapdev/v.in.mif/write_lines.c
	Use sprintf() instead of snprintf()

src/mapdev/v.in.shape/lines.c
	Use sprintf() instead of snprintf()
	Fix bug (xtmp/ytmp confusion)

src/mapdev/v.in.shape/vmap_import.c
	Use sprintf() instead of snprintf()

src/mapdev/v.mkquads/ask_for.c
	Remove local atof() prototype

src/mapdev/v.mkquads/calc_quads.c
	Include <stdlib.h>

src/mapdev/v.out.e00/v.out.e00.c
	???

src/mapdev/v.timestamp/main.c
	Check return value from G_scan_timestamp()

src/mapdev/v.to.db/parse.c
	Fix gisprompt string

src/misc/m.in.e00/info.c
	???

src/misc/m.kappa/cmd/main.c
	Change exit(-1) -> exit(1)

src/misc/m.kappa/cmd/prt_hdr.c
	Use G_fatal_error()

src/misc/m.kappa/cmd/readin_data.c
	Change exit() -> exit(1)

src/ps.map/devices/ps.devices/a3
src/ps.map/devices/ps.devices/a4
	Fix paper sizes

src/ps.map/ps.map/cmd/do_labels.c
	Default font size to 10pt instead of 0pt

src/ps.map/ps.map/cmd/ps_fclrtbl.c
	Trap empty range
	Remove debug output

src/ps.map/ps.map/cmd/ps_map.c
	Draw grid after sites

src/ps.map/scripts/demo1.scr
src/ps.map/scripts/demo2.scr
src/ps.map/scripts/demo3.scr
src/ps.map/scripts/demo5.scr
src/ps.map/scripts/demo9.scr
	Remove streams.dead, streams.spear vector maps
	Add streams vector map

src/ps.map/scripts/demo8.scr
	Disable header, comments sections
	Disable icon attribute for bugsites

-src/raster/r.coin/cmd/cmd.c
+src/raster/r.coin/cmd/cmd_parms.c
src/raster/r.coin/cmd/Gmakefile
	Rename cmd.c -> cmd_parms.c

src/raster/r.colors/cmd/local_proto.h
src/raster/r.colors/cmd/main.c
src/raster/r.colors/cmd/rules.c
	Add -q (Quiet) flag

src/raster/r.cost/cmd/btree.c
	Include <stdlib.h>

src/raster/r.cost/cmd/main.c
src/raster/r.cost/cmd/stash.h
	Move G_parser() call
	Remove dead code

src/raster/r.fill.dir/ppupdate.c
	Enlarge array to allow for 1-based accesses

src/raster/r.his/cmd/main.c
	Fix gisprompt strings (old -> new)

src/raster/r.in.bin/main.c
	Change help text

src/raster/r.in.doq/cmd/get_newhead.c
	Change exit() -> exit(1)

src/raster/r.in.gdal/Gmakefile
	Reorder libraries

src/raster/r.in.gdal/main.c
	???

src/raster/r.info/inter/main.c
src/raster/r.info/inter/more_print.c
	Quote paths in system() argument

-src/raster/r.los/cmd/newsegment.c
src/raster/r.los/cmd/delete.c
src/raster/r.los/cmd/main.c
src/raster/r.los/cmd/mark_pts.c
src/raster/r.los/cmd/pts_elim.c
	CELL -> FCELL
	Remove newsegment.c

src/raster/r.mapcalc3/evaluate.c
	Only display percentages on tty

src/raster/r.mapcalc3/expression.c
	Fix segfault

-src/raster/r.patch/cmd/patch.c
src/raster/r.patch/cmd/Gmakefile
	Remove patch.c

src/raster/r.patch/cmd/main.c
	Use G_fatal_error()

src/raster/r.patch/cmd/nfiles.h
	Add comment regarding MAXFILES

src/raster/r.profile/cmd/main.c
	Remove unused variables
	Change help text
	Add return statements

src/raster/r.quant/main.c
	Fix help text

src/raster/r.reclass/cmd/reclass.c
	Fix reclass-of-reclass

-src/raster/r.statistics/cmd/median.c
-src/raster/r.statistics/cmd/moment.c
-src/raster/r.statistics/cmd/skew.c
src/raster/r.statistics/cmd/method.h
	Remove median, moment, skew

-src/raster/r.thin/cmd/size.c
	Remove size.c

src/raster/r.tiff/r.out.tiff.c
	Fix help text (Pallete -> Palette)

src/raster/r.timestamp/main.c
	Check return value from G_scan_timestamp()

src/raster/r.topmodel/main.c
	Fix author's email address
	Remove $Log$
	Change help text

src/raster/r.transect/cmd/main.c
	Disable width=, result= options

src/raster/wildfire/src/r.ros/spot_dist.c
	Newline in string literal

-src/raster/wildfire/src/r.spread/prob_invsqr.c
+src/raster/wildfire/src/r.spread/local_proto.h
src/raster/wildfire/src/r.spread/cell_ptrHa.h
src/raster/wildfire/src/r.spread/cmd_line.h
src/raster/wildfire/src/r.spread/collect_ori.c
src/raster/wildfire/src/r.spread/costHa.h
src/raster/wildfire/src/r.spread/deleteHa.c
src/raster/wildfire/src/r.spread/display.c
src/raster/wildfire/src/r.spread/fixHa.c
src/raster/wildfire/src/r.spread/get_minHa.c
src/raster/wildfire/src/r.spread/insert2Ha.c
src/raster/wildfire/src/r.spread/insertHa.c
src/raster/wildfire/src/r.spread/main.c
src/raster/wildfire/src/r.spread/pick_dist.c
src/raster/wildfire/src/r.spread/pick_ignite.c
src/raster/wildfire/src/r.spread/ram2out.c
src/raster/wildfire/src/r.spread/replaceHa.c
src/raster/wildfire/src/r.spread/select_linksB.c
src/raster/wildfire/src/r.spread/spot.c
src/raster/wildfire/src/r.spread/spread.c
	[Tidying]
	Protect headers against repeated inclusion
	Move definitions from header files to source files
	Use ANSI prototypes
	Add local_proto.h
	Remove prob_invsqr.c

src/scripts/contrib/d.rast.labels/d.rast.labels
	Don't trap SIGKILL

src/scripts/contrib/d.rast.leg/d.rast.leg
	???

src/scripts/contrib/grassmirrorsmap/grass.sites.main
src/scripts/contrib/grassmirrorsmap/grass.sites.mirror
src/scripts/contrib/grassmirrorsmap/grass_sites.gif
src/scripts/contrib/grassmirrorsmap/grass_sites.htmlmap
src/scripts/contrib/grassmirrorsmap/grassmap.html
src/scripts/contrib/grassmirrorsmap/mkgrassmap.sh
	Changes regarding Spain, Argentina, Belgium
	index2.html -> index.html

src/scripts/contrib/r.fillnulls/r.fillnulls
src/scripts/contrib/r.to.pg/r.to.pg
src/scripts/contrib/s.in.atkisdgm/s.in.atkisdgm
src/scripts/contrib/s.in.atkisdgm/s.in.atkisktb
src/scripts/contrib/s.in.garmin.sh/s.in.garmin.sh
src/scripts/contrib/v.cutregion.sh/v.cutregion.sh
src/scripts/contrib/v.in.garmin.sh/v.in.garmin.sh
src/scripts/contrib/v.in.mapgen.sh/v.in.mapgen.sh
src/scripts/contrib/v.region.sh/v.region.sh
	Don't trap SIGKILL

src/scripts/contrib/v.line2area/v.area2line
src/scripts/contrib/v.line2area/v.line2area
	Use -eq instead of = (why?)

src/scripts/shells/shade.clr.sh
src/scripts/shells/shade.rel.sh
	Support scale factors for lat/lon
	Fix null handling

src/scripts/shells/slide.show.sh
	Don't trap SIGKILL

src/sites/s.cellstats/main.c
src/sites/s.cellstats/univar.c
src/sites/s.cellstats/univar.h
	Include <string.h>
	Add sum operation

src/sites/s.in.ascii/get_site.c
	Include attribute text in error messages

src/sites/s.in.ascii/main.c
	Fix help text
	Check return value from G_scan_timestamp()
	Check for empty fs= value
	Use G_fatal_error()

src/sites/s.in.dbf/dump.c
	Enlarge buffer

src/sites/s.in.dbf/main.c
	Fix help text
	Check return value from G_scan_timestamp()

src/sites/s.out.ascii/main.c
	Free result of G_site_format() (fix memory leak)

src/sites/s.out.e00/s.out.e00.c
	Allow use of qualified map names

src/sites/s.qcount/main.c
src/sites/s.qcount/tutorial/output
src/sites/s.windavg/main.c
	sites_list -> site_lists

src/tcltkgrass/main/gis_set.tcl
	I18N

src/tcltkgrass/module/d.grid
	*** BOGUS ***
	Add bordercolor=, -b, -g

src/tcltkgrass/module/r.proj
	Change help text

src/tcltkgrass/module/r.transect
	Remove width=, result=

tools/diff.sh
	Change *-{1,2} -> *-{rel,exp}



More information about the grass-dev mailing list