[GRASS5] GRASS 5.7.0 beta4

http://mpa.itc.it/radim/grass-5.7.0beta4.tar.gz

Significant changes in DBF driver, I have rewritten the code
parsing and evaluating WHERE conditions. Testing of DBF driver
is desirable, especially with complicated WHERE conditions.
I have added db.test but currently only one simple test is available,
run it anyway (db.test test=test1), database must exist and set by db.connect.

Small fix in Postgres driver ( escape backslash ).

NVIZ: added points option, select sites -> select vector.

Many new scripts and changes in tcltkgrass ( Michael Barton ).

This should be last beta, 5.7.0 next week.

Radim

On Saturday 12 June 2004 12:08, Radim Blazek wrote:

http://mpa.itc.it/radim/grass-5.7.0beta4.tar.gz

Significant changes in DBF driver, I have rewritten the code
parsing and evaluating WHERE conditions. Testing of DBF driver
is desirable, especially with complicated WHERE conditions.
I have added db.test but currently only one simple test is available,
run it anyway (db.test test=test1), database must exist and set by
db.connect.

./configure --with-tcltk-includes=/usr/include/tcl8.4 --without-fftw
--without-postgres --without-odbc

(some problems with my debian repositories, hence --without)

nevertheless, doing make results in this error:

make[3]: Nothing to be done for `first'.
make[3]: Leaving directory
`/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/lib/db/dbmi_driver'
sqlp
make[3]: Entering directory
`/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/lib/db/sqlp'
gcc -I/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/include
-I/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/dist.i686-pc-linux-gnu/include
-g -O2 -Wall -Wconversion -Wno-implicit-int -fPIC
-I/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/include
-I/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/dist.i686-pc-linux-gnu/include
\
        -o OBJ.i686-pc-linux-gnu/y.tab.o -c y.tab.c
yac.y: In function `yyparse':
yac.y:197: error: syntax error before '}' token
make[3]: *** [OBJ.i686-pc-linux-gnu/y.tab.o] Error 1
make[3]: Leaving directory
`/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/lib/db/sqlp'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory
`/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/lib/db'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/misc/software/grass/grass57/5.7.0beta4/grass-5.7.0/lib'
make: *** [default] Error 1

any idea what might be wrong, anything to do with the ./configure flags?

cheers Martin

Hello Radim,

On Sat, 12 Jun 2004 12:08:40 +0200 Radim Blazek <blazek@itc.it> wrote:

http://mpa.itc.it/radim/grass-5.7.0beta4.tar.gz

Significant changes in DBF driver, I have rewritten the code
parsing and evaluating WHERE conditions. Testing of DBF driver
is desirable, especially with complicated WHERE conditions.
I have added db.test but currently only one simple test is available,
run it anyway (db.test test=test1), database must exist and set by
db.connect.

Small fix in Postgres driver ( escape backslash ).

I had to add this to make it compile fine.

diff -u -r1.18 yac.y
--- yac.y 11 Jun 2004 16:47:23 -0000 1.18
+++ yac.y 13 Jun 2004 16:47:27 -0000
@@ -194,7 +194,7 @@

y_sub_condition:
                y_comparison { $$ = $1; }
- | '(' y_sub_condition ')' { $$ = $2 }
+ | '(' y_sub_condition ')' { $$ = $2; }

cheers
  Stephan Holl
--
Stephan Holl

Check headers for GnuPG Key!
http://www.gdf-hannover.de

On Sunday 13 June 2004 18:50, Stephan Holl wrote:

- | '(' y_sub_condition ')' { $$ = $2 }
+ | '(' y_sub_condition ')' { $$ = $2; }

I fixed this, v.extract dissolve and path to MySQL header files.

---> http://mpa.itc.it/radim/grass-5.7.0beta5.tar.gz

Radim

Hello Radim,

compilation worked fine.

just two questions.
The button d.m - options - launch tcltkgrass sometimes keeps on top of all
windows after I selected options - anyone else encountered this problem using
debian?

In the d.m. I set a raster on top and a vector below it but in the monitor the
vector was above the raster - intuitively I would say the the top layer in
the d.m. is also the top layer in the monitor.

but anyway, GRASS definitely matured! looks great! congratulations. Martin

On Tuesday 15 June 2004 17:49, Radim Blazek wrote:

On Sunday 13 June 2004 18:50, Stephan Holl wrote:
> - | '(' y_sub_condition ')' { $$ = $2 }
> + | '(' y_sub_condition ')' { $$ = $2; }

I fixed this, v.extract dissolve and path to MySQL header files.

---> http://mpa.itc.it/radim/grass-5.7.0beta5.tar.gz

Radim

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

I will tag 'grass' and 'grass51' modules as 'release_17_06_2004_grass5_7_0'.
this afternoon. OK?

Radim

Debian/testing vs. GRASS 5.7.0 beta5
gcc (GCC) 3.3.3 (Debian 20040422)
i686, TclTk8.3

compiles fine.

NVIZ: added points option, select sites -> select vector.

Works fine.

problem (5.7 only, goes back >1 month)
'Add new map' only lets you pick maps from the current or PERMANENT
mapsets; NVIZ in 5.3 lists all mapsets in location.... ?

minor (5.3 too):
the "site size" slider is backwards

choose a consistent capitalization scheme
"Line Width" vs "site size"

Many new scripts and changes in tcltkgrass ( Michael Barton ).

minor point:
The d.m & the tcltkgrass menu don't close when you leave grass via
the command line. I realize you lose control of child windows to some
extent when you background them, but to be consistent with the d.mon
windows closing?

Martin wrote:

The button d.m - options - launch tcltkgrass sometimes keeps on top of
all windows after I selected options - anyone else encountered this
problem using debian?

Nope. (TclTk 8.3)
Does a "mouse over" the offending text help?

In the d.m. I set a raster on top and a vector below it but in the
monitor the vector was above the raster - intuitively I would say the
the top layer in the d.m. is also the top layer in the monitor.

You can think of it as a list of commands, the first instruction on the
list is drawn first; you build the display from the bottom up, not
the top down.. It's just a matter of perception really, e.g. are the
silhouettes of Tom Servo & Crow really watching you or the movie?

Anyway, the side that makes sense from a programming standpoint tends to
win, so that's why it's like that. The tree being open ended at the top
provides a tiny hint.

Hamish

On Thu, Jun 17, 2004 at 11:07:01AM +0200, Radim Blazek wrote:

I will tag 'grass' and 'grass51' modules as 'release_17_06_2004_grass5_7_0'.
this afternoon. OK?

I have fixed the Makefile:

diff -u -r1.38 Makefile
--- Makefile 31 May 2004 10:17:38 -0000 1.38
+++ Makefile 17 Jun 2004 11:59:10 -0000
@@ -25,7 +25,7 @@
# Install directories
exec_prefix= ${prefix}
BINDIR= ${UNIX_BIN}
-INST_DIR= ${prefix}/grass${VERSION_MAJOR}${VERSION_MINOR}
+INST_DIR= ${prefix}/grass-${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_RELEASE}

and will submit the RPM spec file soon. Then it seems to be ready
for release.

Markus

On Thursday 17 June 2004 12:44, Hamish wrote:
[...]

Martin wrote:
> The button d.m - options - launch tcltkgrass sometimes keeps on top of
> all windows after I selected options - anyone else encountered this
> problem using debian?

Nope. (TclTk 8.3)
Does a "mouse over" the offending text help?

well TclTk 8.4 - I tried to reproduce it, but so far no success. But as far as
I can remember nothing except launching tcltkgrass helped.
I will remember it next time it happens and give it a try.

> In the d.m. I set a raster on top and a vector below it but in the
> monitor the vector was above the raster - intuitively I would say the
> the top layer in the d.m. is also the top layer in the monitor.

You can think of it as a list of commands, the first instruction on the
list is drawn first; you build the display from the bottom up, not
the top down.. It's just a matter of perception really, e.g. are the
silhouettes of Tom Servo & Crow really watching you or the movie?

Anyway, the side that makes sense from a programming standpoint tends to
win, so that's why it's like that. The tree being open ended at the top
provides a tiny hint.

well, ok it makes sense from the "list of commands" point of view but
nevertheless it is quit a challenge to swap my intuition :wink: - wouldn't there
be an easy way to decide if I want to have the classical way or the command
way displayed?
Otherwise I have to get used to it ... :-), Cheers Martin

On Thu, Jun 17, 2004 at 06:18:26PM +0200, Martin Wegmann wrote:

On Thursday 17 June 2004 12:44, Hamish wrote:

[...]

> > In the d.m. I set a raster on top and a vector below it but in the
> > monitor the vector was above the raster - intuitively I would say the
> > the top layer in the d.m. is also the top layer in the monitor.
>
> You can think of it as a list of commands, the first instruction on the
> list is drawn first; you build the display from the bottom up, not
> the top down.. It's just a matter of perception really, e.g. are the
> silhouettes of Tom Servo & Crow really watching you or the movie?
>
> Anyway, the side that makes sense from a programming standpoint tends to
> win, so that's why it's like that. The tree being open ended at the top
> provides a tiny hint.

Well, but programs are for users :slight_smile:

well, ok it makes sense from the "list of commands" point of view but
nevertheless it is quit a challenge to swap my intuition :wink: - wouldn't there
be an easy way to decide if I want to have the classical way or the command
way displayed?

I also feel that it's confusing (say, inverted).
So I vote for reversion of the stacking order.

Otherwise I have to get used to it ... :-), Cheers Martin

... as a last resort ...

Markus