Adding new function cgi_edit_actions_section_swap(), to reorder
authorjongfoster <jongfoster@users.sourceforge.net>
Wed, 23 Jan 2002 00:22:59 +0000 (00:22 +0000)
committerjongfoster <jongfoster@users.sourceforge.net>
Wed, 23 Jan 2002 00:22:59 +0000 (00:22 +0000)
commitccedf2853b21370ecb456bda0551e7dbfa76aee9
tree2637edc3cd9c406541106e36cdccd11de274350a
parent4b33fba4bc8cd2ea8ef4f07fdc5a0c465facfcf8
Adding new function cgi_edit_actions_section_swap(), to reorder
the actions file.

Adding get_url_spec_param() to get a validated URL pattern.

Moving edit_read_line() out of this file and into loaders.c.

Adding missing html_encode() to many CGI functions.

Moving the functions that #include actionlist.h to the end of the file,
because the Visual C++ 97 debugger gets extremely confused if you try
to debug any code that comes after them in the file.

Major optimizations in cgi_edit_actions_list() to reduce the size of
the generated HTML (down 40% from 550k to 304k), with major side-effects
throughout the editor and templates.  In particular, the length of the
URLs throughout the editor has been drastically reduced, by cutting
paramater names down to 1 character and CGI names down to 3-4
characters, by removing all non-essential CGI paramaters even at the
expense of having to re-read the actions file for the most trivial
page, and by using relative rather than absolute URLs.  This means
that this (typical example):

<a href="http://ijbswa.sourceforge.net/config/edit-actions-url-form?
filename=ijb&amp;ver=1011487572&amp;section=12&amp;pattern=13
&amp;oldval=www.oesterhelt.org%2Fdeanimate-demo">

is now this:

<a href="eau?f=ijb&amp;v=1011487572&amp;p=13">
cgiedit.c