2003-01-17 |
Added logic to reset options to their defaults before processing
...
the configuration file, either initially or on a reload.
This allows the user to comment out an options statment in
the configuration file and have the program go back to
default behavior. Also cleaned up debug output to separate
internal and user-settable options when asked to dump variable
information.
tundra
committed
on 17 Jan 2003
|
Added NODETAILS option which prevents details from ever being
...
displayed.
Added NONAVIGATE option which prevents any navigation away from
starting directory
tundra
committed
on 17 Jan 2003
|
Reassigned Command History popup to Ctrl-Shift-Button3.
...
Mask unneeded Mod2-Mod5 bits. Linux reports NumLock in Mod2
which can cause the program to not respond properly if on.
Changed semantics of Command History slightly: Commands
entered manually will be saved in the history without the
variables expanded. All other command invocations
save the command with all variables dereferenced.
tundra
committed
on 17 Jan 2003
|
2003-01-16 |
Program now catches/warns/ignores DIRSC numbers outside
...
the range of 1-12.
Cleaned up and generalized the "ignore" masks needed for
the various Unix/Win32 event state variations.
Implemented Alt-Button3 as the mouse shortcut to the History Menu.
tundra
committed
on 16 Jan 2003
|
Added ability for manually entered commands to reference environment
...
variables [$NAME] and User-Defined variables [NAME]. This necessitated
factoring out the variable parsing logic into a separate function
callable both by the configuration file parsing logic (for user-defined
commands) as well as the command execution logic (for manually entered
commands).
tundra
committed
on 16 Jan 2003
|
Fixed problem which cause History Menu to be sorted.
...
Added ability for manually entered commands to reference
built-in variables. To support this, the built-in
variable parser was factored out into a separate function
since it is now needed both by the keystroke command processor
and the manual command processor.
tundra
committed
on 16 Jan 2003
|
2003-01-15 |
Added [YESNO: ...] built-in variable.
...
Made program more forgiving by converting as many existing
errors to warnings with recovery and continued operation.
Some reformatting of warning messages for consistency.
tundra
committed
on 15 Jan 2003
|
Fixed problem on Unix when user rapidly selected a
...
symlink which pointed back at itself - Tk seems to get
confused about what message box it has up, and throws
a benign error. The Tk call is now protected by
try/except so the error is not seen on stdout.
Retructured options processing into a common routine
so that options get properly set to their defaults
even if the specified configuration file cannot
be found.
tundra
committed
on 15 Jan 2003
|
Bit 0 of DEBUGLEVEL is now observed on reload of the config file.
...
Added logic to enforce rule that RHS of a String option cannot
be blank.
Undid forced case collapse of Win32 file names. Instead, now
under Win32, both directory and file names are sorted using
a case-insensitive algorithm.
Factored menu update logic into a single, common handler
which can talk to either standard functions or event
handlers (via the 'fakeevent' option).
Both MAXDIR and MAXHIST are now observed on a config file reload.
However, they do not actually remove content from their respective
data structures. They merely limit what is visible. This allows
a subsequent change to restore the view of previous entries.
tundra
committed
on 15 Jan 2003
|
2003-01-14 |
Finished support for the remainining options which can
...
be set in the configuration file: Boolean (AUTOREFRESH, WARN) and
String (BCOLOR, FCOLOR, FNAME, FWT, QUOTECHAR, STARTDIR).
Restructured the command line processing to make sure the
environment variable and then the command line override
any options set in the configuration file and to skip
any options processing if the user just want help or
version information. Also resturctured the debug logic
to properly display requested information if the user
reloads a configuration file from a running instance of
the program.
tundra
committed
on 14 Jan 2003
|
2003-01-13 |
Change Directory was preserving last manual entry even
...
when MAXDIR=0. Fixed.
tundra
committed
on 13 Jan 2003
|
Collapsed all Win32 file names to lower-case so that sorted display
...
makes more sense. Also fixed bug in which the same Win32 directory
entered in different case would appear twice in the Directory Menu.
Added 'last entry' as default offering in the Change Directory
dialog much like the Run Command dialog already has.
The Clear History feature now additionally clears the
directory stack, the Change Directory 'last entry' buffer, as
well as the Directory Menu itself.
The directory menu logic now honors the MAXDIR option variable.
Fixed bug which left Command Menu enabled after reloading a
configuration file which had no commands defined.
All of the numeric options are now settable from within the
configuration file: DEBUGLEVEL, FSZ, HEIGHT, MAXDIR, MAXNESTING,
MAXHIST, REFRESHINT, and WIDTH.
tundra
committed
on 13 Jan 2003
|
Added try/except protection around command execution attempts.
...
Set GUI options like size and fonts *after* the configuration
file is read to allow the file to override the defaults.
Changed 'Last Command' semantics to include items selected
from Command History, but only if they were manually modified.
Changed logic of MAXNESTING to operate correctly when this
variable is set to 0 - this inhibits all user-define variable substitution.
Added MAXHIST variable and supporting logic to bound the size of
the Command History.
Began adding the infrastructure to support setting options in the
configuration file. MAXHIST, MAXNESTING, HEIGHT, WIDTH now
can be set this way.
Began implementing MAXDIR to bound size of Directory Menu
contents.
Changed semantics of how options are read at startup.
The Configuration File (if any) is read before any other
environment or command line options are processed. This
allows the configuration file to override program defaults
via options specified by the user in that file.
tundra
committed
on 13 Jan 2003
|
2003-01-11 |
Commands selected from History Menu no longer as saved
...
as the 'last command'. Only commands actually entered
manually from the RUNCMD dialog are saved as 'last'.
Added command to clear all history - CLRHIST.
tundra
committed
on 11 Jan 2003
|
Refactored accelerator logic and menu popup logic into common
...
routines.
Added full Command History features and menu.
tundra
committed
on 11 Jan 2003
|
Fixed a problem with mouse/keyboard input because different
...
configurations of Win32 (even of same OS) cause different
control bits to be set when the Alt key is pressed.
Changed logic in DirListHandler() slightly to only add
a trailing PSEP to a directory if it does not already have
one. Necessitated because of the Win32 Drive List View
which already has trailing '\' for each entry.
tundra
committed
on 11 Jan 2003
|
2003-01-10 |
Consolidated all the program execution points into a single,
...
common routine, ExecuteCommand(), with a Command History stack added.
Changed Run Command dialog to default with last command executed,
if any, in the entry field.
tundra
committed
on 10 Jan 2003
|
Fine-tuned the accelerator key logic.
...
Added the Directory Shortcut feature.
tundra
committed
on 10 Jan 2003
|
2003-01-09 |
Moved SetSelection() into GUI object where it belongs.
...
Fixed bug which caused program to exit on Unix if a
UID/GID was encountered which had no corresponding name.
Added logic to implemente menu accelerator keys.
tundra
committed
on 9 Jan 2003
|
2003-01-07 |
Restrutured all mouse events to go through one of two
...
mouse event dispatcher to make it easier to distinquish
between mouse events modified by Ctrl, Shift, etc. keys.
Implemented a single list which contains the names of
all Key/Mouse assignments which may not be rebound in
the configuration file.
Implemented a feature to popup the visited directories list
using the mouse (MOUSEDIR).
tundra
committed
on 7 Jan 2003
|
2003-01-05 |
Fixed nasty (and dangerous) bug which prevented the program from
...
differentiating between 'char', 'Alt-char', 'Ctrl-char' and so on.
This meant that a user entering 'Alt-d', for example, would see
the program try to exectute the command with 'd' as its command
string.
tundra
committed
on 5 Jan 2003
|
Fixed long-standing bug in which Titlebar was not being correctly updated.
tundra
committed
on 5 Jan 2003
|
2003-01-04 |
Added capability of displaying a Drive List View while running on Win32.
...
This functionality is only available if the user has installed Win32all.
tundra
committed
on 4 Jan 2003
|
Added ability to set default options via the 'TWANDER' environment variable.
...
Minor cosmetic cleanups.
tundra
committed
on 4 Jan 2003
|
2003-01-03 |
Slight reorganization of debug code so it picks up variables
...
just before GUI starts running - necessary to get correct
variable values in all cases.
Started implementing the "Drives View" for Win32 systems.
tundra
committed
on 3 Jan 2003
|
2003-01-02 |
Fixed long-standing (minor) bug. Under certain circumstances,
...
(selecting ".." from root or manually changing to the same
directory as current) the top of the directory stack could
end up with the name of the currently-viewed directory. This
meant you had to go "back" *twice* to actually get to the
previous directory. Now fixed.
tundra
committed
on 2 Jan 2003
|
Changed all debug points to use a common output routine, PrintDebug(),
...
for consistent output formatting.
tundra
committed
on 2 Jan 2003
|
Minor cosmetic cleanup on debug output.
tundra
committed
on 2 Jan 2003
|
Implemented multi-level debug capability.
tundra
committed
on 2 Jan 2003
|
2002-12-30 |
Inhibited display of Context Menu if no commands defined.
tundra
committed
on 30 Dec 2002
|