]> granicus.if.org Git - php/log
php
24 years agoBuild compat bridge for makes which support only the BSD .include command.
Sascha Schumann [Tue, 26 Sep 2000 11:19:38 +0000 (11:19 +0000)]
Build compat bridge for makes which support only the BSD .include command.

This is only required for BSD/OS, because BSDI did not merge in changes
from 4.4BSD Lite 1.

24 years agoRemove --enable-c9x-inline option. We now use a syntax which is compatible
Sascha Schumann [Tue, 26 Sep 2000 11:10:11 +0000 (11:10 +0000)]
Remove --enable-c9x-inline option. We now use a syntax which is compatible
with all compilers by providing the function with static linkage in every
compilation unit.

24 years agoUnify memory allocation in smart_str functions
Sascha Schumann [Tue, 26 Sep 2000 11:00:39 +0000 (11:00 +0000)]
Unify memory allocation in smart_str functions

24 years agoRemove superflucious variable
Sascha Schumann [Tue, 26 Sep 2000 11:00:02 +0000 (11:00 +0000)]
Remove superflucious variable

24 years ago#include "SAPI.h" once
Sascha Schumann [Tue, 26 Sep 2000 10:58:56 +0000 (10:58 +0000)]
#include "SAPI.h" once

24 years agoCleanup
Sascha Schumann [Tue, 26 Sep 2000 10:58:42 +0000 (10:58 +0000)]
Cleanup

24 years agoAdd URL support for GD
Stanislav Malyshev [Tue, 26 Sep 2000 09:08:02 +0000 (09:08 +0000)]
Add URL support for GD

24 years agoAdd protos from sybase DB Library.
Joey Smith [Tue, 26 Sep 2000 07:38:47 +0000 (07:38 +0000)]
Add protos from sybase DB Library.

24 years agoFix previous update - move extension startup further down the startup sequence
Zeev Suraski [Mon, 25 Sep 2000 18:10:45 +0000 (18:10 +0000)]
Fix previous update - move extension startup further down the startup sequence

24 years agoMove extension startup further down the startup sequence
Zeev Suraski [Mon, 25 Sep 2000 17:02:05 +0000 (17:02 +0000)]
Move extension startup further down the startup sequence

24 years agoChangeLog update
<changelog@php.net> [Fri, 22 Sep 2000 01:09:07 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNo more empty '-l' caused by this extension.
foobar [Fri, 22 Sep 2000 00:59:16 +0000 (00:59 +0000)]
No more empty '-l' caused by this extension.

24 years agoSmall fix to the literal IPv6 parsing, now stops at first ] after [
Stig Venaas [Fri, 22 Sep 2000 00:33:55 +0000 (00:33 +0000)]
Small fix to the literal IPv6 parsing, now stops at first ] after [

24 years agoParsing of URLs with literal IPv6 addresses, see RFC 2732
Stig Venaas [Fri, 22 Sep 2000 00:12:00 +0000 (00:12 +0000)]
Parsing of URLs with literal IPv6 addresses, see RFC 2732
@- IPv6 support in fopen (one can access IPv6 ftp/web servers) (Stig Venaas)

24 years agoRevert controversial patch
Sascha Schumann [Thu, 21 Sep 2000 23:18:25 +0000 (23:18 +0000)]
Revert controversial patch

24 years agoChangeLog update
<changelog@php.net> [Thu, 21 Sep 2000 01:09:30 +0000 (01:09 +0000)]
ChangeLog update

24 years agoadded mysql_fetch_assoc. Acts like mysql_fetch_array used to.
Brian Moon [Wed, 20 Sep 2000 21:43:57 +0000 (21:43 +0000)]
added mysql_fetch_assoc.  Acts like mysql_fetch_array used to.

24 years agoThis was missing..
foobar [Wed, 20 Sep 2000 20:44:07 +0000 (20:44 +0000)]
This was missing..

24 years agoCleanup SCANNER_DEBUG and don't NUL terminate work buffer
Sascha Schumann [Wed, 20 Sep 2000 08:59:52 +0000 (08:59 +0000)]
Cleanup SCANNER_DEBUG and don't NUL terminate work buffer

24 years agoUse emalloc and friends. Since we reuse all buffers, this does not affect
Sascha Schumann [Wed, 20 Sep 2000 08:40:33 +0000 (08:40 +0000)]
Use emalloc and friends. Since we reuse all buffers, this does not affect
the speed.

The smart_str_* functions don't NUL terminate strings anymore. We can
rely on the length of the strings completely.

24 years agoRemove this pseudo optimization from the previous rewrite.
Sascha Schumann [Wed, 20 Sep 2000 08:13:45 +0000 (08:13 +0000)]
Remove this pseudo optimization from the previous rewrite.

Since we leave/enter the loop more often, the cost of maintaining
c_arg/c_val is higher than simply copying the tag/arg string once.

24 years agoAnother 5%-10% speed increase achieved by
Sascha Schumann [Wed, 20 Sep 2000 08:06:01 +0000 (08:06 +0000)]
Another 5%-10% speed increase achieved by

- making ctx->val read-only
- adding a special appendc function for appending single characters

24 years agole_link and le_plink are no longer part of the sybase_globals.
Joey Smith [Wed, 20 Sep 2000 04:12:03 +0000 (04:12 +0000)]
le_link and le_plink are no longer part of the sybase_globals.

24 years agoAdd support for URLs containing NAME info (for scrolling; #name).
Sascha Schumann [Wed, 20 Sep 2000 02:04:19 +0000 (02:04 +0000)]
Add support for URLs containing NAME info (for scrolling; #name).

24 years agoDeactivate E_NOTICE message on gc
Sascha Schumann [Wed, 20 Sep 2000 01:38:39 +0000 (01:38 +0000)]
Deactivate E_NOTICE message on gc

24 years agoRename prototype to currently used name. These stupid names will go away once
Sascha Schumann [Wed, 20 Sep 2000 01:25:19 +0000 (01:25 +0000)]
Rename prototype to currently used name. These stupid names will go away once
the transition periode ends.

24 years agos/url_scanner.h/url_scanner_ex.h/
Sascha Schumann [Wed, 20 Sep 2000 01:22:55 +0000 (01:22 +0000)]
s/url_scanner.h/url_scanner_ex.h/

24 years agoMake the new url scanner the default.
Sascha Schumann [Wed, 20 Sep 2000 01:22:17 +0000 (01:22 +0000)]
Make the new url scanner the default.

If there are any problems (especially with characters > 127), let me know.

24 years ago2nd Rewrite of the main scanner engine. This version is cleaner and faster.
Sascha Schumann [Wed, 20 Sep 2000 01:15:10 +0000 (01:15 +0000)]
2nd Rewrite of the main scanner engine. This version is cleaner and faster.

It handles the following tags currently:

<FRAME .. SRC=URL ..>
<INPUT .. TYPE=IMAGE SRC=URL ..>
<A     .. HREF=URL ..>
<AREA  .. HREF=URL ..>
<IMG   .. SRC=URL ..>

Additional ones can be added within seconds.

The support for HTML forms has been significantly improved. The scanner
will now add proper Hidden Fields for the Session ID.

24 years agoChangeLog update
<changelog@php.net> [Wed, 20 Sep 2000 01:09:22 +0000 (01:09 +0000)]
ChangeLog update

24 years agoThis fix prevents adding an empty -l to LIBS
foobar [Tue, 19 Sep 2000 23:52:24 +0000 (23:52 +0000)]
This fix prevents adding an empty -l to LIBS

24 years agofix unresolved externals
Daniel Beulshausen [Tue, 19 Sep 2000 22:05:26 +0000 (22:05 +0000)]
fix unresolved externals

24 years agoReduce the amount of copying in the mainloop. We copy tag/arg only, if we
Sascha Schumann [Tue, 19 Sep 2000 20:19:03 +0000 (20:19 +0000)]
Reduce the amount of copying in the mainloop. We copy tag/arg only, if we
need to preserve them for a new loop iteration (after we leave mainloop).
Otherwise, we can just let them point to the work area.

24 years agoRevert part of last commit. I'll refine it later.
Sascha Schumann [Tue, 19 Sep 2000 19:18:41 +0000 (19:18 +0000)]
Revert part of last commit. I'll refine it later.

24 years ago- Change to Z_BVAL macro
Andi Gutmans [Tue, 19 Sep 2000 18:19:02 +0000 (18:19 +0000)]
- Change to Z_BVAL macro

24 years ago- Add Z_BVAL* macros
Andi Gutmans [Tue, 19 Sep 2000 18:18:26 +0000 (18:18 +0000)]
- Add Z_BVAL* macros

24 years agoAnother speedup by avoiding string copies.
Sascha Schumann [Tue, 19 Sep 2000 18:17:28 +0000 (18:17 +0000)]
Another speedup by avoiding string copies.

15% speed gain in test case (rewriting 1M URLs).

24 years agoRemove nextiter label
Sascha Schumann [Tue, 19 Sep 2000 18:01:29 +0000 (18:01 +0000)]
Remove nextiter label

24 years agos/DEBUG/SCANNER_DEBUG/. "Convert" one macro to inline function to be more
Sascha Schumann [Tue, 19 Sep 2000 18:00:58 +0000 (18:00 +0000)]
s/DEBUG/SCANNER_DEBUG/. "Convert" one macro to inline function to be more
consistent. Also use continue.

24 years agoFix a few build bugs, still no go
Zeev Suraski [Tue, 19 Sep 2000 17:53:09 +0000 (17:53 +0000)]
Fix a few build bugs, still no go

24 years agoKill warning
Sascha Schumann [Tue, 19 Sep 2000 17:46:23 +0000 (17:46 +0000)]
Kill warning

24 years agoThe rewrite was completely authored by Hartmut
Sascha Schumann [Tue, 19 Sep 2000 17:45:44 +0000 (17:45 +0000)]
The rewrite was completely authored by Hartmut

24 years ago(Zeus-specific) Don't GetServerVariable() for vars which Zeus doesn't use
Ben Mansell [Tue, 19 Sep 2000 17:43:11 +0000 (17:43 +0000)]
(Zeus-specific) Don't GetServerVariable() for vars which Zeus doesn't use

24 years agoRemove unnecessary include directive
Sascha Schumann [Tue, 19 Sep 2000 17:39:43 +0000 (17:39 +0000)]
Remove unnecessary include directive

24 years ago- Fix warnings
Zeev Suraski [Tue, 19 Sep 2000 17:37:34 +0000 (17:37 +0000)]
- Fix warnings
- Fix URL scanner startup crash

24 years agoDon't restore timestamp on internal_functions.c, otherwise rerunning
Sascha Schumann [Tue, 19 Sep 2000 17:36:36 +0000 (17:36 +0000)]
Don't restore timestamp on internal_functions.c, otherwise rerunning
configure will cause config.status to be run again during make
(due to the rule in main/Makefile.in).

24 years agoFixed bug which could truncate PHP_SELF
Ben Mansell [Tue, 19 Sep 2000 17:34:53 +0000 (17:34 +0000)]
Fixed bug which could truncate PHP_SELF

24 years agoAdd new URL scanner. This version is up to 20% faster. It will be
Sascha Schumann [Tue, 19 Sep 2000 17:32:27 +0000 (17:32 +0000)]
Add new URL scanner. This version is up to 20% faster. It will be
enabled by default once I'm sure that it works in every case.

To enable it, apply s/url_adapt_ext/url_adapt_ext_ex/ to session.c

24 years agoFix crash on Solaris with function parameter destruction
Stanislav Malyshev [Tue, 19 Sep 2000 17:27:56 +0000 (17:27 +0000)]
Fix crash on Solaris with function parameter destruction

24 years ago*** empty log message ***
Sascha Schumann [Tue, 19 Sep 2000 17:22:37 +0000 (17:22 +0000)]
*** empty log message ***

24 years agoFix RINIT/RSHUTDOWN functions and add url_adapt_ext()
Sascha Schumann [Tue, 19 Sep 2000 17:21:26 +0000 (17:21 +0000)]
Fix RINIT/RSHUTDOWN functions and add url_adapt_ext()

24 years agoChangeLog update
<changelog@php.net> [Tue, 19 Sep 2000 01:09:14 +0000 (01:09 +0000)]
ChangeLog update

24 years ago#tiny formatting fix
Stig Bakken [Tue, 19 Sep 2000 00:10:46 +0000 (00:10 +0000)]
#tiny formatting fix

24 years agolet windows build with trans sid
Daniel Beulshausen [Mon, 18 Sep 2000 17:23:45 +0000 (17:23 +0000)]
let windows build with trans sid

24 years agoFix changelog.
Andrei Zmievski [Mon, 18 Sep 2000 15:21:59 +0000 (15:21 +0000)]
Fix changelog.

24 years agoChangeLog update
<changelog@php.net> [Mon, 18 Sep 2000 15:20:57 +0000 (15:20 +0000)]
ChangeLog update

24 years agoFix crash
Stanislav Malyshev [Mon, 18 Sep 2000 15:15:27 +0000 (15:15 +0000)]
Fix crash

24 years agoMade get_included_files() work again, in somewhat different way
Stanislav Malyshev [Mon, 18 Sep 2000 13:43:20 +0000 (13:43 +0000)]
Made get_included_files() work again, in somewhat different way

24 years agoFix decbin
Stanislav Malyshev [Sun, 17 Sep 2000 21:11:55 +0000 (21:11 +0000)]
Fix decbin

24 years agoAdd empty string checks to add?slashes
Stanislav Malyshev [Sun, 17 Sep 2000 09:15:48 +0000 (09:15 +0000)]
Add empty string checks to add?slashes

24 years agoSet filename even on recursive include
Stanislav Malyshev [Sun, 17 Sep 2000 08:58:39 +0000 (08:58 +0000)]
Set filename even on recursive include

24 years ago- Fix doc_root problem. If you need to limit under which directories the
Andi Gutmans [Sun, 17 Sep 2000 05:52:26 +0000 (05:52 +0000)]
- Fix doc_root problem. If you need to limit under which directories the
  scripts should reside use open_basedir.

24 years agoChangeLog update
<changelog@php.net> [Sun, 17 Sep 2000 01:09:06 +0000 (01:09 +0000)]
ChangeLog update

24 years ago- Add TODO
Andi Gutmans [Sat, 16 Sep 2000 19:07:50 +0000 (19:07 +0000)]
- Add TODO

24 years agoThought that I had just committed something really stupid.
Zak Greant [Sat, 16 Sep 2000 05:10:03 +0000 (05:10 +0000)]
Thought that I had just committed something really stupid.
On closer inspection, realized that the proto comments
for chown and chgrp were reversed. :)
I did not realize this and had only fixed chown previously

24 years agotrivial change
Zak Greant [Sat, 16 Sep 2000 05:02:06 +0000 (05:02 +0000)]
trivial change
corrected mistake in proto comment for chown fold

24 years agoChangeLog update
<changelog@php.net> [Sat, 16 Sep 2000 01:09:08 +0000 (01:09 +0000)]
ChangeLog update

24 years agoChanged assignment in read() to be more sane.
Chris Vandomelen [Fri, 15 Sep 2000 23:44:30 +0000 (23:44 +0000)]
Changed assignment in read() to be more sane.

24 years agoRemove CVS conflict. Zeev, I assume you wanted context inside the globals?
Joey Smith [Fri, 15 Sep 2000 20:54:42 +0000 (20:54 +0000)]
Remove CVS conflict. Zeev, I assume you wanted context inside the globals?

24 years agoIndicate the Sun's JDK 1.2.2 now works...and complete a sentence.
Sam Ruby [Fri, 15 Sep 2000 18:06:18 +0000 (18:06 +0000)]
Indicate the Sun's JDK 1.2.2 now works...and complete a sentence.

24 years agoChangeLog update
<changelog@php.net> [Fri, 15 Sep 2000 01:09:07 +0000 (01:09 +0000)]
ChangeLog update

24 years agoCorrected memory leak in read().
Chris Vandomelen [Thu, 14 Sep 2000 21:48:15 +0000 (21:48 +0000)]
Corrected memory leak in read().

24 years ago- Use IS_ABSOLUTE_PATH() so that this will work correctly under Windows
Andi Gutmans [Thu, 14 Sep 2000 20:47:35 +0000 (20:47 +0000)]
- Use IS_ABSOLUTE_PATH() so that this will work correctly under Windows

24 years ago- Time to remove these two.
Andi Gutmans [Thu, 14 Sep 2000 20:43:13 +0000 (20:43 +0000)]
- Time to remove these two.

24 years ago- Fix NULL handling in ARRAY opcode and resolve memory leak
Andi Gutmans [Thu, 14 Sep 2000 20:30:06 +0000 (20:30 +0000)]
- Fix NULL handling in ARRAY opcode and resolve memory leak

24 years agoFix warnings.
Andrei Zmievski [Thu, 14 Sep 2000 20:22:02 +0000 (20:22 +0000)]
Fix warnings.

24 years agoFixed bug #6740.
Andrei Zmievski [Thu, 14 Sep 2000 15:44:36 +0000 (15:44 +0000)]
Fixed bug #6740.
I happen to think that this is php_addslashes() problem, not PCRE's.
When 0 is passed for the length of the string to php_addslashes() it
assumes that we want to process the whole string and happily runs
strlen() on it. That is bad. It should respect the length and return
an empty string if it's 0.

24 years agoChangeLog update
<changelog@php.net> [Thu, 14 Sep 2000 01:09:10 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Thu, 14 Sep 2000 01:09:07 +0000 (01:09 +0000)]
NEWS update

24 years agoAdded prototypes for socketpair() and shutdown(), and corrected an obvious
Chris Vandomelen [Wed, 13 Sep 2000 23:33:39 +0000 (23:33 +0000)]
Added prototypes for socketpair() and shutdown(), and corrected an obvious
bug in socketpair (causing it to not return the created sockets to the PHP
script.)

24 years ago- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
Derick Rethans [Wed, 13 Sep 2000 22:00:31 +0000 (22:00 +0000)]
- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ (Derick)

24 years agoCreate module info function.
Andrei Zmievski [Wed, 13 Sep 2000 20:58:19 +0000 (20:58 +0000)]
Create module info function.

24 years agoChanged the php.ini examples to match the names in the source code.
Hénot David [Wed, 13 Sep 2000 16:12:50 +0000 (16:12 +0000)]
Changed the php.ini examples to match the names in the source code.

24 years agoReally fix the de-allocation.
Andrei Zmievski [Wed, 13 Sep 2000 15:31:50 +0000 (15:31 +0000)]
Really fix the de-allocation.

24 years agoFixed block overrun.
Andrei Zmievski [Wed, 13 Sep 2000 13:55:35 +0000 (13:55 +0000)]
Fixed block overrun.

24 years ago- a comma sneaked in before the java extension
Daniel Beulshausen [Wed, 13 Sep 2000 13:27:52 +0000 (13:27 +0000)]
- a comma sneaked in before the java extension
- added the java configuration section
#can you please add the setting for *nix as well?

24 years agoadded note about odbc support and changed to the appropriate names of the windows...
Daniel Beulshausen [Wed, 13 Sep 2000 13:03:01 +0000 (13:03 +0000)]
added note about odbc support and changed to the appropriate names of the windows extensions

24 years agoPEAR:
Stig Bakken [Wed, 13 Sep 2000 11:27:59 +0000 (11:27 +0000)]
PEAR:
 * added $debuginfo parameter to PEAR_Error constructor
 * put last query in $debuginfo from DB_common::raiseError()
@PEAR: add last executed query as debug info in DB errors (Stig)

24 years agoPEAR:
Stig Bakken [Wed, 13 Sep 2000 07:39:54 +0000 (07:39 +0000)]
PEAR:
 * show what's going on when PEAR files are installed
 * allow multiple modes (or'ed) in PEAR_Error
@PEAR: allow multiple modes in PEAR_Error (Stig)

24 years ago- The Sprit of PHP is to have descriptive function names and not
Andi Gutmans [Wed, 13 Sep 2000 04:13:36 +0000 (04:13 +0000)]
- The Sprit of PHP is to have descriptive function names and not
  necessarily short ones. Maybe we should have some FAQ for this?

24 years agoChangeLog update
<changelog@php.net> [Wed, 13 Sep 2000 01:09:10 +0000 (01:09 +0000)]
ChangeLog update

24 years agoNEWS update
<changelog@php.net> [Wed, 13 Sep 2000 01:09:07 +0000 (01:09 +0000)]
NEWS update

24 years agoupdated some functions'name using obsolete name convention.
Rui Hirokawa [Tue, 12 Sep 2000 23:19:58 +0000 (23:19 +0000)]
updated some functions'name using obsolete name convention.

24 years agoThanks, Adam
Zeev Suraski [Tue, 12 Sep 2000 20:57:21 +0000 (20:57 +0000)]
Thanks, Adam

24 years ago@- Made the Sybase CT module thread safe (Zeev)
Zeev Suraski [Tue, 12 Sep 2000 20:54:36 +0000 (20:54 +0000)]
@- Made the Sybase CT module thread safe (Zeev)

24 years ago- Made eval() and several other runtime-evaluated code portions report the
Zeev Suraski [Tue, 12 Sep 2000 20:48:33 +0000 (20:48 +0000)]
- Made eval() and several other runtime-evaluated code portions report the
  nature and location of errors more accurately (Stas)

24 years agoMake compile_string() accept a description of the code
Zeev Suraski [Tue, 12 Sep 2000 19:47:25 +0000 (19:47 +0000)]
Make compile_string() accept a description of the code

24 years agoForgot to update proto.
Andrei Zmievski [Tue, 12 Sep 2000 19:04:50 +0000 (19:04 +0000)]
Forgot to update proto.

24 years ago@- Added second argument to array_reverse() that indicatese whether
Andrei Zmievski [Tue, 12 Sep 2000 19:03:59 +0000 (19:03 +0000)]
@- Added second argument to array_reverse() that indicatese whether
@  the original array keys should be preserved. (Andrei)

24 years agoreversed chomp alias addition as per Andi Gutmans' request
Daniel Beckham [Tue, 12 Sep 2000 19:00:21 +0000 (19:00 +0000)]
reversed chomp alias addition as per Andi Gutmans' request