CVS update: php31

From: Date: Sun, 30 Aug 1998 06:45:15 +0000
Subject: CVS update: php31
Groups: php.dev 
Request: Send a blank email to php-dev+get-658@lists.php.net to get a copy of this message
Date: Sunday August 30, 1998 @ 2:45 Author: shane Update of /repository/php31 In directory asf:/u2/tmp/cvs-serv20306 Modified Files: ChangeLog TODO31.txt WISHLIST-3.1 WISHLIST-3.2 Log Message: minor fixes. remove pwd.h, it didn't do anything. added file security functions to implement safe mode on NT with NTFS Index: php31/ChangeLog diff -c php31/ChangeLog:2.1 php31/ChangeLog:2.2 *** php31/ChangeLog:2.1 Thu Aug 20 20:15:26 1998 --- php31/ChangeLog Sun Aug 30 02:45:13 1998 *************** *** 2,5 **** --- 2,22 ---- ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| September ??, 1998 Version 3.1a2 + - add file security functions for NT. Need to check this at least runs, if not + anything else, on 95/98. If not, I'll have to seperate out to a dynamicly + loaded library. This should provide NT with safe mode! (requires NTFS to work) + - fixes to dl functionality to prevent reloading dl's for every thread + - make dl() add file extensions to library name if left off. good for script + portability. - Added memory_status() + - added cross-thread list for dl's + - add some minor exception handling + - implemented wsapi. Special thanks to Bob Denny for all the help in making + wsapi possible. + - unix makefiles compile cgi version now + - implemented nsapi + - port patches from 3.0 tree + - implemented apache NT + - implemented isapi + - implemented sapi interface for server api's. sapi replaces request_info. + - reoganized directory structure \ No newline at end of file Index: php31/TODO31.txt diff -c php31/TODO31.txt:2.0 php31/TODO31.txt:2.1 *** php31/TODO31.txt:2.0 Fri Jul 3 09:09:24 1998 --- php31/TODO31.txt Sun Aug 30 02:45:14 1998 *************** *** 1,4 **** ! $Id: TODO31.txt,v 2.0 1998/07/03 13:09:24 rasmus Exp $ +---- | * -- to be done --- 1,4 ---- ! $Id: TODO31.txt,v 2.1 1998/08/30 06:45:14 shane Exp $ +---- | * -- to be done *************** *** 19,44 **** Core Functions -------------- ! * Identify and move all server-specific code out of the core of php and into the SAPI structures. * make the config parser able to read more than one ini file per request. Then I can implement per-directory directives for iis and any other windows server that doesnt have all the nice apache stuff. Thread Issues ------------- * figure out where the hell that one single character outputed at the very end comes from. It realy sticks out in the thread version, but see it on rare occasion in 3.0 also. ! D YY_TLS_VARS in main() causes an access violation. Doesnt appear to do this in the flex scanner though. (Was uninitialized threads. shane) ! * we have to make a master list and a request list of dl's that are loaded. The current implementation relies on a request (thread) always being there, which with threads is not true. Probably need to make the dl list true global, and use critical sections around the dl functions. Currently, an access violation occures in request shutdown in the _php3_hash_apply function that does the module registry cleanup. ! P for isapi, all headers must be sent in one call (including cookies). Nees to pool all headers together, then call sapi->header when ready to send header. ! D fix php3_ini_master -> php3_ini so that the copy is done per request and the master is a true global. P create a debug messages in critical thread areas for debug version compiles --- 19,45 ---- Core Functions -------------- ! P Identify and move all server-specific code out of the core of php and into the SAPI structures. * make the config parser able to read more than one ini file per request. Then I can implement per-directory directives for iis and any other windows server that doesnt have all the nice apache stuff. + (perhapes handle this differently) Thread Issues ------------- * figure out where the hell that one single character outputed at the very end comes from. It realy sticks out in the thread version, but see it on rare occasion in 3.0 also. ! U YY_TLS_VARS in main() causes an access violation. Doesnt appear to do this in the flex scanner though. (Was uninitialized threads. shane) ! V we have to make a master list and a request list of dl's that are loaded. The current implementation relies on a request (thread) always being there, which with threads is not true. Probably need to make the dl list true global, and use critical sections around the dl functions. Currently, an access violation occures in request shutdown in the _php3_hash_apply function that does the module registry cleanup. ! V for isapi, all headers must be sent in one call (including cookies). Nees to pool all headers together, then call sapi->header when ready to send header. ! U fix php3_ini_master -> php3_ini so that the copy is done per request and the master is a true global. P create a debug messages in critical thread areas for debug version compiles *************** *** 49,78 **** -------------- * SAPI - move all working server interfaces to the SAPI structure. ! P ISAPI (Shane) ! * process cookies ! * blocking functions ! * make sure it's Microsoft-clean so it can be used with other ISAPI implementations ! * WSAPI ! * NSAPI ! * process cookies ! * check POST method handling code ! * use Netscape memory allocation inside emalloc() and company * FastCGI support - see http://fastcgi.idle.com/ Win32 Specific -------------- * implement symlinks via windows shell links (shortcuts). This will work only at the script level and is not a c language level port. ! * Convert windows file functions to win32 api file functions. Testing ------- Miscellaneous ------------- ! * Consider usage of new api's and libraries such as the Netscape library for cross-platfrom functions. They also have a messageing library which includes pop and imap support, is it thread safe? (probably) We should move to that rather than the non-thread safe ! umich library. --- 50,78 ---- -------------- * SAPI - move all working server interfaces to the SAPI structure. ! U ISAPI (Shane) ! U process cookies ! U blocking functions ! D make sure it's Microsoft-clean so it can be used with other ISAPI implementations ! U WSAPI ! U NSAPI ! U process cookies ! U check POST method handling code * FastCGI support - see http://fastcgi.idle.com/ Win32 Specific -------------- * implement symlinks via windows shell links (shortcuts). This will work only at the script level and is not a c language level port. ! D Convert windows file functions to win32 api file functions. (3.2) Testing ------- Miscellaneous ------------- ! D Consider usage of new api's and libraries such as the Netscape library for cross-platfrom functions. They also have a messageing library which includes pop and imap support, is it thread safe? (probably) We should move to that rather than the non-thread safe ! umich library. (3.2) Index: php31/WISHLIST-3.1 diff -c php31/WISHLIST-3.1:2.1 php31/WISHLIST-3.1:2.2 *** php31/WISHLIST-3.1:2.1 Mon Aug 24 16:18:52 1998 --- php31/WISHLIST-3.1 Sun Aug 30 02:45:14 1998 *************** *** 1,12 **** * Handle out of memory (inside emalloc()?) * Try to figure out a way to declare *real* global variables * Improve the reading of configuration variables into php3_ini (generalize) Make it possible to implement config_get("configuration_variable") and config_set("configuration_variable","value") that'll work with *php3_ini*, not the configuration hash! ! * Clean up API and modules to make .so modules portable across CGI and server binaries ! V Clean up the file structure so the top-level directory isn't such a mess. V Bring the module concept to maturity: use libtool and make it possible to decide at compile time whether you want to compile a module statically or dynamically. Remove the distinction between --- 1,16 ---- * Handle out of memory (inside emalloc()?) * Try to figure out a way to declare *real* global variables + (what does this mean, in script or in php?) * Improve the reading of configuration variables into php3_ini (generalize) Make it possible to implement config_get("configuration_variable") and config_set("configuration_variable","value") that'll work with *php3_ini*, not the configuration hash! ! (we can change the request version of php3_ini directly. we probably ! shouldnt want to change the php3_ini_master from script) ! P Clean up API and modules to make .so modules portable across CGI and server binaries ! (Done on windows, unix???) ! D Clean up the file structure so the top-level directory isn't such a mess. V Bring the module concept to maturity: use libtool and make it possible to decide at compile time whether you want to compile a module statically or dynamically. Remove the distinction between Index: php31/WISHLIST-3.2 diff -c php31/WISHLIST-3.2:2.1 php31/WISHLIST-3.2:2.2 *** php31/WISHLIST-3.2:2.1 Mon Aug 24 16:18:52 1998 --- php31/WISHLIST-3.2 Sun Aug 30 02:45:15 1998 *************** *** 1,3 **** --- 1,4 ---- + * UNICODE Support * Do yystype_ptr and hash pointers the right way - use the hash pointer and the bucket pointer, instead of a pointer to the data. Allows for a real unset() among other things. -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#658) next »