[GRASS5] grass user interface description

Dear GRASS developers,

I have updated the parser to escape &, < and >.
I also added the Python GUI builder and the
document type definition in src/gui/python
and src/gui.

For those who have python, wxPython and
python-xml installed, please feel free to test
the gui and report any comment, bug etc.

Current limitations:

A few GRASS commands do not use G_parser(),
some output addtional usage information on their
own. Furthermore, the short description is
currently missing, because it is not incorporated
in the commands. Interactive-only commands
(e.g. i.composite) don't work either.

tcltkgrass and xml user interface description:

In principle, it is quite simple to make tcltkgrass
use the xml-based user interface description as well
and thus
(1) get rid of the module descriptions and
(2) update the tcltkgrass user interface.
First, a simple structure for the short description
needs to be added for the parser and second,
(just some work :slight_smile: all commands need to define their
short description.
Finally, before the tcl evaluation of the currently
used tcl list structure, the corresponding command
must be called with --interface-description and
the output parsed into the currently used list structure.

Cheers

  Jan

--
Jan-Oliver Wagner http://intevation.de/~jan/

Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi all,

I have added module descriptions to
s.in.shape/cmd/main.c
s.info/main.c
s.kcv/main.c
s.normal/main.c
s.out.ascii/main.c
s.out.e00/s.out.e00.c
s.perturb/main.c
s.probplt/probplot.c
s.proj/main.c
s.qcount/main.c
s.random/main.c
s.sample/main.c
s.surf.idw/cmd/main.c
s.surf.krig/main.c
s.surf.rst/main.c
s.sv/main.c
s.territory/main.c
s.to.rast/main.c
s.to.vect/cmd/main.c
s.univar/main.c
s.windavg/main.c

The modules:
s.datum.shift
s.in.ascii
s.in.mif
have been updated by Andreas.

The modules:
s.menu
s.geom
are *not* updated as they are not (yet) runing within GRASS 5.
s.o2n.tps is internal only.

Cheers

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi,
On Sun, Nov 26, 2000 at 06:13:27PM +0000, Markus Neteler wrote:

I have added module descriptions to
[...]

thanks Markus.

s.surf.krig/main.c

that one did not compile on my platform.
Will investigate further.

The modules:
[..]
have been updated by Andreas.

thanks Andreas.

I have update

v.timestamp v.to.db v.to.rast v.to.sites
v.transform v.trim v.what

Still 273 modules to go ... :slight_smile:

Jan

--
Jan-Oliver Wagner http://intevation.de/~jan/

Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi Jan-Oliver,

i have updated some other modules too:
m.clump
m.datum.shift
s.datum.shift (not compiled by default)
v.in.atlas
v.out.atlas
d.listcolors (new, not compiled by default)

I have no special order to proceed, just implementing if i encounter a
module source code for other reasons (not compiling, not working,
bugfixing etc.).

I don't plan to maintain a list by hand, as this can be done with a
script (grep'ing for the keyword in output of script).

cu,

Andreas

Jan-Oliver Wagner wrote:

Hi,
On Sun, Nov 26, 2000 at 06:13:27PM +0000, Markus Neteler wrote:
> I have added module descriptions to
> [...]

thanks Markus.

> s.surf.krig/main.c

that one did not compile on my platform.
Will investigate further.

> The modules:
> [..]
> have been updated by Andreas.

thanks Andreas.

I have update

v.timestamp v.to.db v.to.rast v.to.sites
v.transform v.trim v.what

Still 273 modules to go ... :slight_smile:

Jan

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi Andreas,

On Tue, Nov 28, 2000 at 11:46:09AM +0100, Andreas Lange wrote:

i have updated some other modules too:
[...]

great!

I have no special order to proceed, just implementing if i encounter a
module source code for other reasons (not compiling, not working,
bugfixing etc.).

Thats OK.

I don't plan to maintain a list by hand, as this can be done with a
script (grep'ing for the keyword in output of script).

Yes, I initially thought to do it that way, but it turned out
that for my purpose to track the proceeding of this activity
needed some additional information. So a yes/no indicator method
was not sufficient.

Also updated:
v.spag v.stats v.support v.surf.rst

To go: 266 commands

My hope is that we get the module information feature build into
GRASS before the next release. A brave task :slight_smile:

Cheers

  Jan

--
Jan-Oliver Wagner http://intevation.de/~jan/

Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'