Martin Landa
|
052b5e7060
Exit GRASS from GUI (see https://trac.osgeo.org/grass/changeset/66917) - implement also for g.gui
|
9 years ago |
Martin Landa
|
8c5ffa71c5
wxGUI: add experimental option to exit GRASS shell from GUI session
|
9 years ago |
Martin Landa
|
ab53e2aaaa
grass.py: fix initialization script when gis_set.py is not available, explain to the user how to solve this issue
|
9 years ago |
Luca Delucchi
|
fbedf25e21
init/grass.py: check if owner mapset is valid
|
9 years ago |
Vaclav Petras
|
31fd4b20a4
init: change gis_init return code
|
9 years ago |
Markus Neteler
|
dbca1efd5c
init: msg cosmetics as -text is a flag
|
9 years ago |
Vaclav Petras
|
27b99e9369
init: end immediately when GUI not available
|
9 years ago |
Pietro Zambelli
|
a52c9b357c
Changes to add Python3 compatibility
|
9 years ago |
Martin Landa
|
c7eadfe21f
partly re-introduce https://trac.osgeo.org/grass/changeset/65307 (see https://trac.osgeo.org/grass/changeset/65584)
|
9 years ago |
Huidae Cho
|
8559f27037
grass.py: reverted part of https://trac.osgeo.org/grass/changeset/65307 to allow aliases and custom prompt in ~/.grass7/bashrc again
|
9 years ago |
Martin Landa
|
a1dfd3cf37
make GRASS data TMPDIR configurable (GRASS_TMPDIR_MAPSET && TMPDIR)
|
10 years ago |
Vaclav Petras
|
1d491d1d2c
init: escape backslash in prompt string
|
10 years ago |
Martin Landa
|
b877ea2bb3
grass.py: don't overwrite environmental variables in bash_startup()
|
10 years ago |
Vaclav Petras
|
0ad1b8ef29
init: use standard long flag syntax for 'exec', improve its help
|
10 years ago |
Vaclav Petras
|
7a0119d1e2
init: introduce main function, remove most of the global vars
|
10 years ago |
Vaclav Petras
|
fe3ebef480
init: move code from 'main' to functions, remove more usages of global variables
|
10 years ago |
Vaclav Petras
|
498e5c1e06
init: pass explicitly variables related to shell, move code from 'main'
|
10 years ago |
Vaclav Petras
|
9a08360601
init: introduce Cleaner class to manage files to clean up, reduce scope of variables
|
10 years ago |
Vaclav Petras
|
61e146fa22
init: introduce class for mapset and related variables to allow for return by value semantics
|
10 years ago |
Vaclav Petras
|
42120c6377
init: simplify conditions for getting location and mapset, use more descriptive names for functions, add doc, fix bug in reading params from https://trac.osgeo.org/grass/changeset/65271
|
10 years ago |
Vaclav Petras
|
741149c840
init: refactor function for detecting and creating location and mapset
|
10 years ago |
Vaclav Petras
|
243abf572a
init: store cmd line parameters in one object and avoid some global variables
|
10 years ago |
Vaclav Petras
|
7b6167a2f0
init: update help documentation, add exec param (see https://trac.osgeo.org/grass/changeset/65252)
|
10 years ago |
Vaclav Petras
|
eda5d04cd0
init: use format function with keys instead of % operator with positional params
|
10 years ago |
Vaclav Petras
|
85544cb775
init: remove global variables from user, tmpdir and check GUI functions
|
10 years ago |
Martin Landa
|
0594efcba8
grass.py: fix cleanup - must be registered when tmpdir variable is initialized
|
10 years ago |
Martin Landa
|
42f3c660cc
grass.py: don't discard clean_temp stderr output
|
10 years ago |
Martin Landa
|
9f487c088c
grass.py: promote TMPDIR environmental variable
|
10 years ago |
Vaclav Petras
|
bef1648821
init: cleanup some strings and comments
|
10 years ago |
Vaclav Petras
|
360dc796ea
init: execute command specified as parameter, see https://trac.osgeo.org/grass/ticket/2579
|
10 years ago |