[Gas] updates to gas

Zachary C. Miller wolfgang at wolfgang.groogroo.com
Thu Jun 21 04:08:49 CDT 2001


I am about to commit the following updates to Gas, these are all
feature additions, none of them should break or otherwise affect old
code:

* Added initialization of $ENV{UNIQUE_ID} to Gas::new in the case that
  it hasn't already been set by the server. This is to facilitate
  command line debugging. This shouldn't be trusted to be truly unique
  and mod_unique_id should be used for production purposes.

* Made GET the default method for Gas::form_preamble so that
  $gas->form_preamble() is a valid call (previously such a call would
  be an error).

* Corrected ErrorManager routines to output exception pages even if
  OutputManager::suppress has been called on the theory that suppress
  only applied to the proper output and not to exceptional output.

* Changed the detection of CGI::Dump vs CGI::dump to actually check
  the symbol table for the proper function rather than relying on
  version numbers.

* Added support for a Config.pm file by adding the
  OutputManager::import_config_variables function. This require's a
  given file and then scans its namespace and puts all variables from
  the file into the output manager data.

* misc code formatting changes

* rewrote some StateManager code to fit my particular stylistic whim of
  the moment.

* added a title() subroutine to the supported subroutines in a State
  library file. This routine outputs the HTML <TITLE> string that
  should be used when that page is the destination page. This string
  is placed in the OutputManager and the Gas::data by the StateManager.

-- 
Zachary C. Miller - @= - http://wolfgang.groogroo.com/
IMSA 1995 - UIUC 2000 - Just Another Leftist Muppet - Ya Basta!
 Social Justice, Community, Nonviolence, Decentralization, Feminism,
 Sustainability, Responsibility, Diversity, Democracy, Ecology














More information about the Gas mailing list