Correct double-mouse-click error
================================

1.  Modify glui.g so that variable last_click_time is now
    a 'long int'.
Add variable 'list_filter' to FileBrowser
=========================================

In file glui.h, add GLUI_String list_filter; to private
variables belonging to FileBrowser.

Example tests OK except for usual errors.
Add 'local_list' to FileBrowser
===============================

1.  In file glui.h, add GLUI_List_Item *local_list to FileBrowser
private variables.

2.  Example tests OK.
Add private list functions to FileBrowser
=========================================

1.  Modifu glui.h to add private list functions to FileBrowser
    definitions.

2.  Modify glui_filebrowser.cpp to add code of list functions.
Correct change directory bug
============================

The test example 6 did not change directory correctly.  A number of
errors were found.

1.  File glui_filebrowser.cpp modified:
    (a) Criteria for determining a directory changed.
    (b) Function "chdir" given full name (without first character removed).

2.  File glui_list.cpp modified:
    (a)  Function "GLUI_List::delete_all" now resets start_line to zero.

:
Working version with improved filebrowser
=========================================

The FileBrowser now sorts the file and directory names.  There
is also an option to filter the filenames.  This version still
contains many debug 'printf' statements.

All edited files have trailing spaces on each line removed.

1.  glui.h

    New FileBrowser private variable 'list_filter' and public
    functions 'set_filter' and 'filter_cstr' to set and read
    'list_filter'.

2.  glui_filebrowser

    C function 'fnmatch' used to filter listing of filenames
    using string 'list_filter'.  See:
    http://pubs.opengroup.org/onlinepubs/009695399/functions/fnmatch.html

    C function 'qsort' used to sort filenames and directory names
    using criteria of new private function 'fb_list_compare'.
    If present this places './' first, '../' next followed by
    directories in order and then filtered files in order.

3.  example6.cpp

    New variable 'fb_filter', plus EditText box to process
    filter.  Callback 'filter_cb' sets 'list_filter' and
    calls fbreaddir to reprocess directory.
Remove printf used for debugging
================================

Remove printf statements used for debugging.
Remove unwanted FileBrowser functions introduced when
   developing code.
Other minor spacing and makefile changes.
Minor corrections to FileBrowser and example5
=============================================

glui_filebrowser.cpp

  Redundent lines finally removed.
  Unused variable removed.

example5.cpp

   Change 'char*' to 'const char*' to remove g++ warning.
Edits to remove gnu cpp warning messages.
=========================================

1. A number of small changes have been made to remove cpp
   warning messages when compiled with the flags:
      -Wall -pedantic

2. The file glui.cpp still produces a number of warnings of
   the form:
      glui.cpp:1879:57: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object [enabled by default]
      window->glut_passive_motion_CB = (void(*)(int,int)) cb;
   A google search showed this arises from a conflict between ISO C++
   and SUSv3/POSIX.  See:
      http://www.trilithium.com/johan/2004/12/problem-with-dlsym/

   This really needs further work.