]>
granicus.if.org Git - php/log
Andi Gutmans [Mon, 31 May 1999 18:33:12 +0000 (18:33 +0000)]
Fixes
Andi Gutmans [Mon, 31 May 1999 17:41:41 +0000 (17:41 +0000)]
*** empty log message ***
Zeev Suraski [Mon, 31 May 1999 17:40:15 +0000 (17:40 +0000)]
*** empty log message ***
Andrey Hristov [Sun, 30 May 1999 14:48:39 +0000 (14:48 +0000)]
preg_match_all() now returns the number of global matches.
Sascha Schumann [Sun, 30 May 1999 13:28:56 +0000 (13:28 +0000)]
* fix some casts
* introduce unary_op_type - cleaner than casting data voids to function ptrs
Sascha Schumann [Sun, 30 May 1999 12:00:06 +0000 (12:00 +0000)]
kill some warnings
Sascha Schumann [Sun, 30 May 1999 11:57:28 +0000 (11:57 +0000)]
zend_hash_merge was changed
Zeev Suraski [Sat, 29 May 1999 23:37:26 +0000 (23:37 +0000)]
That got fucked up when we went back to using uninitialized_zval
Sascha Schumann [Sat, 29 May 1999 23:20:55 +0000 (23:20 +0000)]
another VPATH related change
Zeev Suraski [Sat, 29 May 1999 22:26:28 +0000 (22:26 +0000)]
Fix a bug
Andrey Hristov [Sat, 29 May 1999 20:45:00 +0000 (20:45 +0000)]
Updated preg_split().
Andrey Hristov [Sat, 29 May 1999 20:04:05 +0000 (20:04 +0000)]
Fix preg_match_all to do proper matching with \b.
Andrey Hristov [Sat, 29 May 1999 19:38:50 +0000 (19:38 +0000)]
Fixed PCRE so that global matching with patterns with \b works.
Zeev Suraski [Sat, 29 May 1999 19:06:22 +0000 (19:06 +0000)]
* Changed the way INI entries work in Apache to allow .conf entries to work right too.
* vpath fixes for standard Apache build
Zeev Suraski [Sat, 29 May 1999 18:59:58 +0000 (18:59 +0000)]
Support overwrite mode in zend_hash_merge()
Zeev Suraski [Sat, 29 May 1999 18:28:46 +0000 (18:28 +0000)]
Fix
Sascha Schumann [Sat, 29 May 1999 18:13:14 +0000 (18:13 +0000)]
- clean is not called from automake. use CLEANFILES instead
- allow VPATH compilation
Sascha Schumann [Sat, 29 May 1999 18:11:49 +0000 (18:11 +0000)]
more VPATH work
Sascha Schumann [Sat, 29 May 1999 16:20:55 +0000 (16:20 +0000)]
kill warning
Sascha Schumann [Sat, 29 May 1999 16:15:21 +0000 (16:15 +0000)]
- fix APXS VPATH build
- libzend/TSRM build in their own directories
- ext/Makefile was generated twice
****NOTE******
If you use any kind of VPATH, you need to do a "make distclean" in your
libzend/TSRM directory, before running configure again.
Zeev Suraski [Sat, 29 May 1999 16:03:49 +0000 (16:03 +0000)]
avoid crashing with php4 directives in .conf files (they still don't work)
Zeev Suraski [Sat, 29 May 1999 15:10:06 +0000 (15:10 +0000)]
fixes
Sascha Schumann [Sat, 29 May 1999 13:53:59 +0000 (13:53 +0000)]
getopt.h conflicted with system include file
Sascha Schumann [Sat, 29 May 1999 12:15:04 +0000 (12:15 +0000)]
.
Zeev Suraski [Sat, 29 May 1999 12:00:32 +0000 (12:00 +0000)]
Correct fix
Zeev Suraski [Sat, 29 May 1999 11:02:37 +0000 (11:02 +0000)]
*** empty log message ***
Zeev Suraski [Sat, 29 May 1999 11:01:50 +0000 (11:01 +0000)]
Fix a leak
Zeev Suraski [Fri, 28 May 1999 22:42:17 +0000 (22:42 +0000)]
no need for those
Zeev Suraski [Fri, 28 May 1999 22:41:48 +0000 (22:41 +0000)]
* Get Apache module to compile again with the regex stuff.
* Get Apache to propertly work with POST, and some SAPI fixes
Sascha Schumann [Fri, 28 May 1999 21:41:17 +0000 (21:41 +0000)]
that seems to fix it
Sascha Schumann [Fri, 28 May 1999 21:27:19 +0000 (21:27 +0000)]
Either I'm playing the EG(symbol_table) game wrong or var.c leaks memory
when unserializing arrays/objects. Still testing
Andrey Hristov [Fri, 28 May 1999 20:54:52 +0000 (20:54 +0000)]
-Modified PCRE library slightly to do what needs to be done
-Updated preg_replace() code to handle stuff properly
-Removed ability to specify external PCRE library source to link against
(since our bundled version is patched now)
Sascha Schumann [Fri, 28 May 1999 18:51:51 +0000 (18:51 +0000)]
I think that is the preferred way as of now
Zeev Suraski [Fri, 28 May 1999 13:28:50 +0000 (13:28 +0000)]
*** empty log message ***
Zeev Suraski [Fri, 28 May 1999 12:06:59 +0000 (12:06 +0000)]
* Support getThis() for internal functions.
* Fix 'new object or die' and AiCount issue thoroughly (earlier fix didn't
work with the optimizer).
* Add new macros for standardized definition of classes.
* Only report AiCount problems if shutdown was not silent.
Zeev Suraski [Fri, 28 May 1999 11:09:39 +0000 (11:09 +0000)]
* Use new Zend macros for standardized definition of classes.
* Reverse bogus shutdown order.
* Use the new object/class support of Zend to make the dir functions work again.
Rasmus Lerdorf [Fri, 28 May 1999 03:54:15 +0000 (03:54 +0000)]
Some innocent cleanups
Andrey Hristov [Thu, 27 May 1999 14:02:29 +0000 (14:02 +0000)]
We don't need those there.
Andrey Hristov [Thu, 27 May 1999 13:59:39 +0000 (13:59 +0000)]
Really fix the configuration now so that it's possible to compile both
against the bundled PCRE library and the one external to the source tree.
Crossing my fingers while Zeev compiles this. :)
Stig Bakken [Thu, 27 May 1999 08:53:21 +0000 (08:53 +0000)]
self-contained extensions please :-)
Zeev Suraski [Thu, 27 May 1999 03:14:57 +0000 (03:14 +0000)]
Generate Visual Studio compatible error messages when compiling under Win32
Zeev Suraski [Thu, 27 May 1999 03:11:08 +0000 (03:11 +0000)]
Fix the AiCount issue with objects
Zeev Suraski [Thu, 27 May 1999 01:44:17 +0000 (01:44 +0000)]
Moved all #define's for SET_ and RETURN_ to zend_API.h
Sascha Schumann [Thu, 27 May 1999 01:34:18 +0000 (01:34 +0000)]
- fix CGI build (at least)
Sascha Schumann [Thu, 27 May 1999 01:20:52 +0000 (01:20 +0000)]
add rfc1867.c
Zeev Suraski [Thu, 27 May 1999 01:19:00 +0000 (01:19 +0000)]
Fix pcre build
Zeev Suraski [Thu, 27 May 1999 00:45:31 +0000 (00:45 +0000)]
Moved all SET_ and RETURN_ macros to Zend
Fixed all RETVAL_ macros
Andrey Hristov [Wed, 26 May 1999 21:47:57 +0000 (21:47 +0000)]
-Added PCRE library source
-Updated configuration process
Andrey Hristov [Wed, 26 May 1999 18:59:04 +0000 (18:59 +0000)]
Added preg_split. Same syntax as regular split().
Andrey Hristov [Wed, 26 May 1999 18:45:53 +0000 (18:45 +0000)]
Fixing a couple of long standing bugs.
Andrey Hristov [Wed, 26 May 1999 15:22:02 +0000 (15:22 +0000)]
A few changes here.
First of all, as per extensive discussion on the list, the functions are now
prefixed with "preg" instead of "pcre".
Secondly, global matching is now possible using preg_match_all. Please, give
suggestions on a better name if this one doesn't sit well with you. Possible
names are preg_global_match and preg_gmatch.
preg_match_all takes 4 arguments: a regex pattern, a subject string,
the array for capturing subpatterns, and a parameter that tells how the results
in the subpatterns array are arranged.
Basically, preg_match_all will go through the subject string and try to capture
all the matches that it finds, not just the first one like preg_match.
4th parameter can be PREG_PATTERN_ORDER (default) or PREG_SET_ORDER.
Example:
preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_PATTERN_ORDER);
This returns results so that $out[0] is an array of full pattern matches, $out[1] is an array
of first captured subpattern matches, and so on.
$out[0] -> ("<div align=left>", "</div>")
$out[1] -> ("div align=left", "div")
Example:
preg_match_all("|</?([^>]+)>|", "<div align=left>a test</div>", $out, PREG_SET_ORDER);
This returns results so that $out[0] is an array of first full pattern match and subpatterns,
$out[1] is an array of second full pattern match and subpatterns.
$out[0] -> ("<div align=left>", "div align=left")
$out[1] -> ("</div>", "div")
If anyone has a better name for these PREG_ constants and also which one should be the default,
I'd like to hear it.
Zeev Suraski [Tue, 25 May 1999 22:55:13 +0000 (22:55 +0000)]
Avoid crashing if an error occurs before we open the first file.
Zeev Suraski [Tue, 25 May 1999 22:28:24 +0000 (22:28 +0000)]
Add container for file-upload. It's not quite implemented yet.
Andrey Hristov [Tue, 25 May 1999 21:47:58 +0000 (21:47 +0000)]
Just a little sanity check.
Zeev Suraski [Tue, 25 May 1999 21:19:46 +0000 (21:19 +0000)]
Allow unregistering content types as well.
Zeev Suraski [Tue, 25 May 1999 21:14:54 +0000 (21:14 +0000)]
* Add generic POST content-type support. Only application/x-www-form-urlencoded
supported at this time, but the framework allows for any other types, including
runtime addition of types.
Zeev Suraski [Mon, 24 May 1999 18:02:42 +0000 (18:02 +0000)]
include regex in Win32 build
Zeev Suraski [Mon, 24 May 1999 16:48:01 +0000 (16:48 +0000)]
The last fix was wrong
Zeev Suraski [Mon, 24 May 1999 16:43:47 +0000 (16:43 +0000)]
Another operators fix
Zeev Suraski [Sun, 23 May 1999 22:07:04 +0000 (22:07 +0000)]
boolean comparison didn't work with smaller-than and greater-than, something that
fucked up berber's site a bit. fixed.
Zeev Suraski [Sun, 23 May 1999 20:32:19 +0000 (20:32 +0000)]
Thou shalt use the API, and thou shalt be safe
Andrey Hristov [Sat, 22 May 1999 19:46:27 +0000 (19:46 +0000)]
Some comments.
Sascha Schumann [Sat, 22 May 1999 19:41:28 +0000 (19:41 +0000)]
- add -lregex
- change module name to php4
Andrey Hristov [Sat, 22 May 1999 19:14:57 +0000 (19:14 +0000)]
Added ability to pass array parameters to pcre_replace.
Zeev Suraski [Sat, 22 May 1999 18:02:30 +0000 (18:02 +0000)]
Sigh, another leak bites the dust. FREE_OP missing in case of a SEND_VAR.
Zeev Suraski [Sat, 22 May 1999 17:30:09 +0000 (17:30 +0000)]
I'm on a roll. Fix a nasty yet stupid AiCount bug
Zeev Suraski [Sat, 22 May 1999 16:48:23 +0000 (16:48 +0000)]
Warn about AiCount not zeroing out
Sascha Schumann [Sat, 22 May 1999 16:13:10 +0000 (16:13 +0000)]
add a $(srcdir)
Sascha Schumann [Sat, 22 May 1999 16:12:09 +0000 (16:12 +0000)]
fix compile issues in LDAP/XML exts
Zeev Suraski [Sat, 22 May 1999 16:10:51 +0000 (16:10 +0000)]
* Add struct name to all typedef's so that they can be debugged with MSVC
* Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus
causing AiCount to be decreased multiple times even though it was increased only
once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only
decrease AiCount on the last FETCH_DIM.
* Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason
MSVC doesn't report these :I
Sascha Schumann [Sat, 22 May 1999 15:48:29 +0000 (15:48 +0000)]
fix APXS compile
Zeev Suraski [Sat, 22 May 1999 12:19:57 +0000 (12:19 +0000)]
More fixes. Should hopefully work well now.
Zeev Suraski [Sat, 22 May 1999 11:34:21 +0000 (11:34 +0000)]
php_ini fixes
Zeev Suraski [Sat, 22 May 1999 11:20:56 +0000 (11:20 +0000)]
Give more information and save log lines in memory leak reports
Zeev Suraski [Sat, 22 May 1999 10:56:36 +0000 (10:56 +0000)]
* Minor fixes
* Better handling for multiple repeated memory leaks (libzend updated)
Zeev Suraski [Sat, 22 May 1999 09:24:21 +0000 (09:24 +0000)]
Time to rename the child
Zeev Suraski [Sat, 22 May 1999 02:13:01 +0000 (02:13 +0000)]
Avoid leaking fd's in case of failures
Zeev Suraski [Sat, 22 May 1999 01:15:25 +0000 (01:15 +0000)]
Small fix
Zeev Suraski [Sat, 22 May 1999 01:07:50 +0000 (01:07 +0000)]
more fixes
Zeev Suraski [Fri, 21 May 1999 23:51:19 +0000 (23:51 +0000)]
Fix a memory leak
Zeev Suraski [Fri, 21 May 1999 23:48:24 +0000 (23:48 +0000)]
That wasn't supposed to slip in
Zeev Suraski [Fri, 21 May 1999 23:25:46 +0000 (23:25 +0000)]
This should be centralized...
Zeev Suraski [Fri, 21 May 1999 20:20:32 +0000 (20:20 +0000)]
* Properly handle failed file opens in C++
* Properly handle failed require()'s within libzend
Sascha Schumann [Fri, 21 May 1999 20:09:23 +0000 (20:09 +0000)]
add support for mhash 0.5.0
see http://sasweb.de/mhash/
Andrey Hristov [Fri, 21 May 1999 19:27:44 +0000 (19:27 +0000)]
-Added regex cache
-Made module thread-safe
Zeev Suraski [Fri, 21 May 1999 19:22:17 +0000 (19:22 +0000)]
* Fix error handling startup on the thread-safe CGI version
* A failed require() is a compile-time error, consider it as one
Zeev Suraski [Fri, 21 May 1999 17:31:49 +0000 (17:31 +0000)]
* Fix the comments issue. yymore() worked like a charm.
* Change all flex states to be prefixed with ST_
Andrey Hristov [Fri, 21 May 1999 13:29:05 +0000 (13:29 +0000)]
Get rid of debug printf's.
Andrey Hristov [Fri, 21 May 1999 13:17:23 +0000 (13:17 +0000)]
Initial check-in of PCRE (Perl Compatible Regular Expressions) extension.
PCRE library can be found at ftp://ftp.cus.cam.ac.uk/pub/software/programs/pcre/
config.m4 will be updated to be more robust later on.
perl_match() takes a regular expression, the source string, and the array
for subpattern matches.
perl_replace() takes a regular expression, the search string, and the replacement
string.
Regular expression is specified using delimiters and options. Example:
perl_match("/<[a-z]*>/i", $text, $tags);
More stuff is coming soon.
Sascha Schumann [Fri, 21 May 1999 10:06:25 +0000 (10:06 +0000)]
- run ext sources through conv_proto
- add necessary phpext_*_ptr
Sascha Schumann [Fri, 21 May 1999 08:37:48 +0000 (08:37 +0000)]
merge in some PHP3 stuff
Sascha Schumann [Fri, 21 May 1999 08:29:51 +0000 (08:29 +0000)]
incorporate YP/NIS support
Sascha Schumann [Fri, 21 May 1999 08:20:13 +0000 (08:20 +0000)]
- fix compile issues for various packages (dbase, sysv*, zlib)
- some cleanup in mhash/mcrypt
Sascha Schumann [Fri, 21 May 1999 08:04:38 +0000 (08:04 +0000)]
- add phpext_pgsql_ptr
- semaphore update for glibc-2.1 systems
Sascha Schumann [Fri, 21 May 1999 07:52:12 +0000 (07:52 +0000)]
Add default path for binary mysql distributions
Sascha Schumann [Fri, 21 May 1999 07:04:48 +0000 (07:04 +0000)]
remove debug messages
Zeev Suraski [Thu, 20 May 1999 20:00:59 +0000 (20:00 +0000)]
Optimize allocations into uninitialized_zval assignments
Zeev Suraski [Thu, 20 May 1999 19:06:28 +0000 (19:06 +0000)]
Use OutputDebugString() or fprintf(stderr,) for memory leaks
Sascha Schumann [Thu, 20 May 1999 13:56:19 +0000 (13:56 +0000)]
Apply the fix for feof()
Andi Gutmans [Thu, 20 May 1999 13:04:59 +0000 (13:04 +0000)]
- Updates we did today