$Id: Changes,v 1.19 2001/11/09 11:37:06 joern Exp $ Revision history for Perl extension CIPP. 2.40 Fri Nov 9 2001, joern Bugfix: - was broken and is still not documented in CIPP::Manual. If you provide the ISA switch and inside a , this module inherits from the loaded module. 2.39 Tue Oct 30 2001, joern Bugfix: - upload files are not closed by CIPP, instead they're seeked to the beginning, thus mulitpile saving the same file is possible (even if the same file was uploaded via different upload fields in one request) 2.38 Sat Oct 13 2001, joern Bugfix: - CGI::CIPP did not recognize the include_sub directive correctly - Apache::CIPP prints now many "" before giving error messages. This prevents invisible error messages inside tables which are not finished due to the exception. 2.37 Tue Jul 24 2001, joern Bugfix: - removed unwanted debugging output on database close from CIPP::Runtime. Note: you must install this CIPP::Runtime version (0.39) on all your production systems to get rid of the debugging messages. Features: - support for new.spirit generic file type and jar file types 2.36_04 Mon May 14 2001, joern INTERNAL BETA RELEASE Bugfix: - chdir to the base dir of the CGI program did not work, because it was exectued too late. Thus programs did not work, if the actual working directory differed from the installation directory. - documentation is uptodate Incompatible Change: - The shortcut syntax for includes is not deprecated anymore. It is completely forbidden. Features: - new CIPP command >arbitrary perl expression to be printed/> This makes it possible to write things like this with less syntax overhead: >$object->get_attribute/> The official Perl solution for this: ${\( $object->get_attribute )} is really ugly, and the CIPP way print $object->get_attribute;/PERL> too long ;) 2.36_03 Mon May 14 2001, joern INTERNAL BETA RELEASE Bugfix: - did not work for modules outside the own project 2.36_02 Mon May 14 2001, joern INTERNAL BETA RELEASE Bugfix: - CIPP::Runtime threw warnings on program exit: "commit ineffective with AutoCommit enabled ... " - "make test" always failed 2.36_01 Mon May 14 2001, joern INTERNAL BETA RELEASE Bugfix: - Bugzilla Bug #132: - fixes some mod_perl bugs. If several new.spirit projects are installed under one mod_perl instance some side effects occured (establishing wrong database connections, loading of wrong base configs) - establishing the correct @INC path failed under mod_perl (subsequent requests only had the standard @INC, all project specific @INC entries disappeared) 2.35 Wed Mar 28 2001, joern Bugfix: - under new.spirit did not work on cipp-html objects with special file extensions (js, css) 2.34 Wed Mar 28 2001, joern Bugfix: - an inside a block causes that the catched exception was thrown on exit - Include call code for Include Subroutines was totally broken 2.33 Tue Mar 27 2001, joern - throws more detailed exception, when the upload file parameter is not defined 2.32 Mon Mar 26 2001, joern - CIPP::Runtime now gives slightly more information on database connection faults - fixed a bug in CIPP::Include. Include parameters which contained double quotes produce syntax errors (in Include Subroutine mode) 2.31 Fri Mar 23 2001, joern - fixed a bug in parsing. Leading whitespace produces incorrect perl code. 2.30 Sat Mar 16 2001 joern - now Apache::CIPP and CGI::CIPP are integrated into the CIPP distribution. Extra downloading and installation is not neccessary anymore. The documentation is actually not perfectly merged, so some READMEs and PODs contain redundant information. Please be patient: a new documenatation is on its way! ;) Anyhow: this adresses only installation notes. The CIPP language itself is good documented through the CIPP::Manual POD module. - the experimental implementation of Subroutine Includes is now less experimental ;) You can control this feature through the Apache or CGI::CIPP configuration parameter 'include_subs'. The future will bring CIPP module generation with all that caching stuff for Apache::CIPP and CGI::CIPP environments, and not only under new.spirit. Note: ===== Before enabling Subroutine Includes, delete your CIPP cache directory, because the internal file structure has changed. - the new configuration parameter 'stats' controls collection of runtime profile statistics. You can see how much time your programs *and* Includes spend. Refer to the Apache::CIPP manpage for a brief description of enabling this feature. Note: ===== Statistics are collected on a per process base, so this only functions for mod_perl or SpeedyCGI environments. Pure CGI environments (new.spirit or CGI::CIPP) are currently not supported, but this may change in future. 2.29 Mon Mar 12 2001 joern - Bugfix: Due to a bug inside the CIPP Include Cache machanism a !HTTPHEADER> command used by an Include did not work, if you do a new.spirit "Project Compilation" (only for the *first* processed object, which includes this Cache include) 2.28 Wed Mar 07 2001 joern - updated CIPP::Manual 2.27 Mon Mar 05 2001 joern - the BEGIN block at the top of each CGI program is marked with a # sign to tell new.spirit not to strip it off for syntax checking 2.26 Mon Mar 05 2001 joern - experimental implementation of Subroutine Includes. Includes are processed to subroutines, instead of copying the content of the include into the actual document. Programs need much less memory and can speed up to 20% in a mod_perl environment. Currently this works only in Apache::CIPP and CGI::CIPP environment. To enable this feature, set $CIPP::INCLUDE_SUBS before CIPP->new(), until this feature is "official". - a new command: . Uses Data::Dumper to dump the listed variables to STDOUT, encapsulated in a
block. - added a new option to the SQL commands: DBH. If a DBH option is present, the given variable name is used as the database handle for this operation. It is not possible to use the DBH and DB option in combination. The following SQL related commands recognize the DBH option: 2.25 Wed Feb 28 2001 joern - fixed html formatting bug in error formatting function 2.24 Sun Feb 25 2001 joern - ported dynamic database connection feature to Apache::CIPP and CGI::CIPP. This now works under all CIPP environments. 2.23 Wed Feb 21 2001 joern - error formatting in case of a CIPP/new.spirit module name clashing was messed up, but there are still problems in error formatting (very seldom, so I don't hurry ;) 2.22 Mon Feb 19 2001 joern Bugfix: - did not work for .png images 2.21 Fri Feb 16 2001 joern Bugfix: - , and did not work inside of CIPP modules 2.20 Thu Feb 15 2001 joern - forces the preprocessor to generate print statements even in 'cipp/dynamic' mode. 2.19 Thu Feb 15 2001 joern - database connections are now establisjed dynamically. In earlier version all required database connections found in the program were established at the top of the program. Now the connection is made on the fly, where needed. - WARNING: this code is not tested neither under Apache::CIPP nor CGI::CIPP environment and likely will fail there. Please dont use CIPP 2.19 with these modules. 2.18 Wed Feb 14 2001 joern - Bugfix: alternate database names did still not work with new.spirit 2.x 2.17 Mon Feb 12 2001 joern - Bugfix: alternate database names did not work with new.spirit 2.x - Naming of x.bla.db does now work, project name does not matter 2.16 Tue Feb 11 2001 joern - (hopefully) final bug fixing in http header generation: The project wide configured default HTTP header was printed, although 'cipp/dynamic' is set and no !HTTPHEADER> occurs. - also a HTTP header was printed, if the 'print_content_type' attribute was set to false (e.g. in case of generating a static HTML page with new.spirit) 2.16_01 Tue Feb 6 2001 joern - fix for usage with new.spirit 2.x. The new style .m files for object properties broke the object source file resolution algorithm 2.15 Tue Nov 28 2000 joern - added - fixed Bug in HTTP Header generation in case of "cipp/dynamic" mode 2.14_04 Fri Oct 13 2000 joern - Bugfix: a broken http header was printed when generating CIPP-HTML files with new.spirit 2.x 2.14_03 Sun Aug 13 2000 joern - Include cache works now Ok in Apache::CIPP environments, if same named include occur in different virtual hosts 2.14_02 Tue Aug 8 2000 joern INTERNAL BETA RELEASE PRE 2.15 - this version represents a huge merge of the two CIPP trunks 2-0-9-patches and 2.14_01. 2-0-9 implements many mod_perl fixes for using generated CGI programs (new.spirit) under mod_perl. 2.14_01 adds many features to the CIPP language and has some internal optimizations. - the CIPP/DB_DBI.pm module comes mainly from the 2.14_01 trunk. Only some fixes added to the 2-0-9 revision in the 2-0-9-patches trunk are added manually to 2.14_01, because 2.14_01 got a major internal redesign of the method interfaces. - added STICKY Feature to - added new CIPP Tags !PROFILE> (experimental, interface may change) !HTTPHEADER> #> - Thanks go to Martin H. Slukafor his suggestion about the STICKY feature. - Change syntax of command. See documentation CIPP::Manual for details - is depreciated. Use !AUTOPRINT> instead. 2.14_01 Tue Mar 29 2000 joern INTERNAL BETA RELEASE - disconnect before connect to prevent rollback ineffective error messages in mod_perl context 2.13 Mo Mar 6 2000 joern - new release, published to CPAN 2.13_03 Fr Nov 26 1999 joern INTERNAL BETA RELEASE - Bugfix: debugging output in Apache/CGI Modus crashed 2.13_02 Fr Nov 26 1999 joern INTERNAL BETA RELEASE - many CIPP commands were dependent from the context, e.g. it was impossible to use in a context. Now nearly all CIPP commands can be used in any context, only inside a command context no other CIPP commands can be used (which of course would make no sense ;) - new CIPP command to switch from context into HTML context - now it is possible to nest commands, if the underlying database engine supports multiple executed statement handles 2.13_01 Thu Nov 25 1999 joern INTERNAL BETA RELEASE - CIPP debugging source output enhanced: a summary of errors is printed, with hyperlinks to the appropriate sections of the highlighted source code output, so you can navigate through your source code - new internal method to get the top level used objects of a CIPP program (the existent methods always flatten the dependency hierarchies) - new method for formatting Perl syntax error output, incl. referencing to the corresponding CIPP lines - new CIPP command - new CIPP command - command is depreciated - DBI code generator has been slighlty optimized - some CIPP global variables of the generated Perl programs did change. Currently there is a compatability patch active, so existent applications (e.g. new.spirit 1.x, Apache::CIPP and friends) need no change. Future releases will depend on the new interfaces. Actually only new.spirit 2.x uses the new style interface. 2.12 Sat Oct 09 1999 joern - added a workaround for Informix databases. After connecting to the database, a "set lock mode to wait" is executed, because some Informix databases do not wait on a lock. Instead nothing happens, even no exception is thrown. :( I will add this as an official feature in the near future, called 'initial sql statement' per database. This is more flexible than this hardcoded workaround. 2.11 Thu Sep 30 1999 joern - the Changes log has restarted with this version - CIPP has now multilanguage support. Error messages are in english or german. - the documentation is translated to english. It is not part of this distribution. Please download the package CIPP-Doc from CPAN. The previous section was in german language only and rather long, so it is omitted here.