Tue, 10 Oct 2006 18:43:20 -0300 call ui.updateopts only after changing directories
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3348
call ui.updateopts only after changing directories This corrects --config paths.foo=bar when it's used with --cwd
Tue, 10 Oct 2006 18:43:20 -0300 ui.py: normalize settings every time the configuration changes
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3347
ui.py: normalize settings every time the configuration changes Previously, we would normalize settings (e.g. turn relative paths into absolute ones) only after reading a config file. Now "--config paths.foo=bar" will use the cwd to make "bar" an absolute path.
Tue, 10 Oct 2006 18:43:20 -0300 move the parsing of --config options to commands.py
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3346
move the parsing of --config options to commands.py
Tue, 10 Oct 2006 18:43:20 -0300 ui.py: use the overlay to hold --config data
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3345
ui.py: use the overlay to hold --config data This allows the ui class to know that these items have a higher priority without further help from commands.py.
Tue, 10 Oct 2006 18:43:20 -0300 ui.py: change the overlay from a dict to a SafeConfigParser.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3344
ui.py: change the overlay from a dict to a SafeConfigParser. This also fixes what's probably a bug - configitems was ignoring the overlay.
Tue, 10 Oct 2006 18:43:20 -0300 ui.py: don't query parentui.cdata when looking up config items.
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3343
ui.py: don't query parentui.cdata when looking up config items. We copied the contents of parentui.cdata on initialization.
Tue, 10 Oct 2006 18:43:20 -0300 ui.py: make walkconfig use configitems
Alexis S. L. Carvalho <alexis@cecm.usp.br> [Tue, 10 Oct 2006 18:43:20 -0300] rev 3342
ui.py: make walkconfig use configitems Also make it sort the available config sections while we're at it.
(0) -3000 -1000 -300 -100 -30 -10 -7 +7 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip