PHPGen Changelog
================

20000518 v0.92 (Piotr Gackiewicz <gacek@intertel.com.pl> again..)
* Bug fix: null column name makes field non visible/editable
* New input and display type:
  - Upload file
  - Upload image
 
 Both types allow user to upload any file from user local disk to sql BLOB
 column. "Upload image" type also recognizes a few popular image types (by
 image extension), and stores http content-type header with proper mime type
 + image contents to BLOB column. When "browse" is used, this image is
 displayed.

* Updated Spanish support
* New language: Galician 

20000518 v 0.9
////////////////////////
// This version is the work of Piotr Gackiewicz <gacek@intertel.com.pl>
// Its more or less a complete rewrite and marks a new way of working
// with PHPGen. 
// I think this version is much better and easier to maintain if you use
// PHPGen a lot (like I do). It is, however, probably more difficult to 
// understand if you're new to PHP/PHPGen. Therefore the 0.8 version will
// be accessible for download for the foreseeable future.
// /MikaelU
///////////////////////

* Complete rewrite of generator code - output script is now being generated
  by glueing "source" files.
* SQL table description is stored in script. Everything is being generated
  dynamically on the basis of this description. Changing behaviour of
  already generated script is now extremely easy!
* We are using phplib to access SQL engines. Also some extentions to phplib are
  provided to determine SQL table architecture
* Generated scripts now can share functional blocks of code, extracted to
  individual files - it is easy then to make bugfixes, theme changes to
  already generated files.
* Optionally you can include customized header and footer files.
* New method of redirection were added - by http request.
* New input types were added.
* Easy access to every page of browsable data was added.
* Error handling was enhanced.
* Rearrangement of files.
* Themes and NLS data are stored in PHP variables.
* New style (pastel.php3) was added.
* Generated files are being chmoded g+w (its usable when you have g+sw
  project directory)


991114 v 0.8
* Clean up of generated code (more PHP, less true HTML)
* Bugfix (paging of browselist)
* New Pop Up with DB type of input. It is a input field in which the user can enter a search
  string and then click on "search". A new window with a list of everything that matches the 
  search is displayed. In this window the user can click on one of the items and it will appear in the input
  field. The window will automatically close. 
  The lookup is made in the same way as a "Pick list with db". The "label" in the lookup is displayed and
  the "id field" is stored in a hidden field in the form.
  The code for the lookup is generated in a separate file. 


990719 v 0.7 (Many changes from "Stanislav Malyshev a.k.a Frodo" <frodo@sharat.co.il>)
* Clean up of generator code
* Enhanced/new handling of pick lists/radio lists. Selection from table or 
  predefined list.
  It is also possible to select another table as source for DB based pick lists.
* New input type "Checkbox" that is stored as 0 or 1 in the database.
* New input type "Date" that generates pick lists for day, month and year. 
  The name of the months is stored in NLS file (please send me translations to your language).
* The GENERATED code now uses functions in the external file gen_util.inc.
* Callbacks uses $PHP_SELF instead of filename.
* Moved generated files to subdirectory projects/
* Generation also creates a project file with the values of all variables. With this file
  you can restore everything entered into genform.php3
* Added index file and logo
* Added online editing of theme files


990701 v 0.6
* Moved NLS and themefiles to separate subdirectories
* Enhanced apperance of generator pages. Added online documentation of genform
* Clean up of code.
* Nicer formatting of generated code (real tabs ....)
* Generated code uses only English (no more Swedish variable names :)
* Possible to leave out fieldname in ytgen.php3 with the result that the 
  field will be left out from the generated code (and hidden from the user).
* For all of you that have PHP3 warning level set high: The code (both generator and generated)
  is now (???!) safe for uninitialized variables.


990523 v 0.5 (Changes mostly from Piotr Gackiewicz <gacek@intertel.com.pl>)

* Selectable fields in "List all" and "Search" do actually work
* Support for language-files. Currently Swedish, English and Polish (select in theme-file)
* Added "May be null" column property in genform.php3
* Fixed broken column properties detection (pregen.php3)
* Fixed broken databases listing (pregen.php3)
* Added "Content-Type" META tag generation
* Added "mysql_free_result" code generation for all MySQL SELECT statements
* Now "Search Form" is passing its parameter through "$searchvalue", not
  "$$whichfield"
* Generated interfaces speedup large tables searching and viewing by
  dividing output into smaller pages
  Number of records shown is selectable (select in theme-file). Support for "Next" and "Previous"
* If mysql query fails, generated script echoes mysql_error(), good old
  META "Refresh" otherwise
* Added generating of "mysqlquery" function and "$verbose_queries"
  variable to simplify debugging of generated scripts
* Added "Sort by" property for columns in genform.php3


990423 v 0.4drb (These changes by Dennis Boone <drb@msu.edu>)

* Edits for readability of scripts and generated HTML (at least to my
  eyes) in pregen and genform
* Minor English grammar and spelling fixes to generated HTML in pregen
  and genform
* Minor screen layout changes in pregen and genform
* Improvements in correctness of generated HTML in pregen and genform
* Pregen multi-part screen is now separate parts, but still generated by
  the same script
* Submit buttons added where there was previously only JavaScript in pregen
* Squashed bug with multiple primary_keys in a table where pregen
  ended up dropping all but one of such fields; first such field is used
  as the suggested record id field
* Server name, userid and password pass through from genform to ytgen
* Made searchable fields application builder-selectable
* Made fields listed in "list all" and search results application
  builder-selectable
* Cleaned up display formatting in ytgen


990417 v 0.4

* A new "entryform" pregen.php3 that can assist you by filling in data
  directly from a MySQL server.
* Inserted a call to "htmlspecialchars" into the code for the edit-form


990416 v 0.3

* You can now click the generated file to test it directly
* genform changed to .php3 to allow themefiles
* Themes, consisting of separate *.pgtheme files (See README)


990413 V 0.2
Some 350 downloads the first day. Truly amazing !

* Code cleanup
* Wrong indexvariable in search-section
* A missplaced "?" in the META-tag for the delete-section
* Colored background in list-table
* Searchform


990411 V 0.1
* First release


######################
For all of you nice people who sends me suggestions and patches:
   Please, don't be angry on me if I did not include them. There could be many reasons
	
	1) I don't like them ;)
	2) They are to "big" for me right now. I'm using PHPGen professionally several times a week.
	3) <The most likely reason> I don't have time right now to study them in much detail. Even if
	   I'm USING PHPGen in my work I develop it in my spare time. And there is always to little of that.....
		
But hey, don't give up ! I love getting mail about PHPGen. If it wasn't for all the patches and suggestion
I wouldn't have so much use of it myself... but that is what GPL is all about, isn't it ?  :)
######################
