]> granicus.if.org Git - php/log
php
23 years agoFix warnings
Stanislav Malyshev [Thu, 19 Jul 2001 08:12:12 +0000 (08:12 +0000)]
Fix warnings

23 years agoupdate
Sascha Schumann [Thu, 19 Jul 2001 04:58:44 +0000 (04:58 +0000)]
update

23 years agoFix a serious long-standing bug which deleted the shared memory segment
Sascha Schumann [Thu, 19 Jul 2001 04:16:54 +0000 (04:16 +0000)]
Fix a serious long-standing bug which deleted the shared memory segment
when an Apache children died.

Dynamically resize hash-table.

The hash key is now stored as part of the hash entry structure which
saves a mm_malloc.

ps_sd_new has been restructured to avoid code duplication.

A bug concerning moving existing entries to the top of a linked list
has been fixed.

23 years agoChangeLog update
<changelog@php.net> [Thu, 19 Jul 2001 00:11:34 +0000 (00:11 +0000)]
ChangeLog update

23 years agoFix GC bug which did not increment the proper variable.
Sascha Schumann [Wed, 18 Jul 2001 23:18:58 +0000 (23:18 +0000)]
Fix GC bug which did not increment the proper variable.
Fix warning regarding the initial hash value.
Use php_uint32 everywhere.
Speedup linked-list traversal by using the hash value.
Degrade linked-list to singledly linked-list.
Allocate a new shared memory buffer, if the data does not fit into the
current one.  Prior to this change, we always allocated a new buffer.
Fix debug prints to be compatible with non-GCC compilers.
NUL-terminate string return values.

23 years ago- Only decompress package once
Tomas V.V.Cox [Wed, 18 Jul 2001 23:13:56 +0000 (23:13 +0000)]
- Only decompress package once
- Allow relative directory package calls (for ex:
  pear install packs/Pear_DB-1.1.tgz)

23 years agoInstead of using the poor system rand() algorithm and the
Sascha Schumann [Wed, 18 Jul 2001 22:56:56 +0000 (22:56 +0000)]
Instead of using the poor system rand() algorithm and the
system-time seed, rely on the long-living LCG to determine
whether to start the GC process.

23 years agoThe lcg needs to operate on signed 32-bit integers, so use
Sascha Schumann [Wed, 18 Jul 2001 22:55:52 +0000 (22:55 +0000)]
The lcg needs to operate on signed 32-bit integers, so use
the proper php_int32 types here.

23 years agoProvide typedefs for php_int32
Sascha Schumann [Wed, 18 Jul 2001 22:54:55 +0000 (22:54 +0000)]
Provide typedefs for php_int32

23 years agoRetire old hash algorithm and use the FNV-1 algorithm.
Sascha Schumann [Wed, 18 Jul 2001 21:39:02 +0000 (21:39 +0000)]
Retire old hash algorithm and use the FNV-1 algorithm.

23 years agofixed a bug in 'case VT_DATE'
Harald Radi [Wed, 18 Jul 2001 19:56:18 +0000 (19:56 +0000)]
fixed a bug in 'case VT_DATE'

23 years ago- remove the xml parser code (use PEAR_Common::infoFromDescFile)
Tomas V.V.Cox [Wed, 18 Jul 2001 17:29:09 +0000 (17:29 +0000)]
- remove the xml parser code (use PEAR_Common::infoFromDescFile)
- added the new package.xml Dir tag support
- killed many bugs and warnings

(as it is quite usable yet, work is still in progress)

23 years ago- always write a the package definition file as 'package.xml' inside the package
Tomas V.V.Cox [Wed, 18 Jul 2001 17:13:38 +0000 (17:13 +0000)]
- always write a the package definition file as 'package.xml' inside the package
- other clean-up's

23 years agokilled some warnings
Tomas V.V.Cox [Wed, 18 Jul 2001 17:11:28 +0000 (17:11 +0000)]
killed some warnings

23 years agoMake variables receiving long be long
Stanislav Malyshev [Wed, 18 Jul 2001 16:48:52 +0000 (16:48 +0000)]
Make variables receiving long be long
Fix binary (x,o,b) formats - they should not be signed

23 years agofix double->long conversion
Stanislav Malyshev [Wed, 18 Jul 2001 16:46:51 +0000 (16:46 +0000)]
fix double->long conversion

23 years agoPrevent cURl from always outputting the header. Fix bug #12018
Stanislav Malyshev [Wed, 18 Jul 2001 10:47:54 +0000 (10:47 +0000)]
Prevent cURl from always outputting the header. Fix bug #12018

23 years agoPrivate members don't have to be functions.
Jon Parise [Wed, 18 Jul 2001 00:27:15 +0000 (00:27 +0000)]
Private members don't have to be functions.

23 years agoChangeLog update
<changelog@php.net> [Wed, 18 Jul 2001 00:10:01 +0000 (00:10 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Wed, 18 Jul 2001 00:09:58 +0000 (00:09 +0000)]
NEWS update

23 years agoWoops, missed a closing paren.
Jon Parise [Tue, 17 Jul 2001 23:56:46 +0000 (23:56 +0000)]
Woops, missed a closing paren.

23 years agoDescribe the standards for function naming and private methods.
Jon Parise [Tue, 17 Jul 2001 23:55:10 +0000 (23:55 +0000)]
Describe the standards for function naming and private methods.

23 years agoOops, said include but do require (thanks Jon and Rasmus)
Tomas V.V.Cox [Tue, 17 Jul 2001 20:46:16 +0000 (20:46 +0000)]
Oops, said include but do require (thanks Jon and Rasmus)

23 years ago- Removed the xml parser code (use now PEAR_Common::infoFromDescriptionFile())
Tomas V.V.Cox [Tue, 17 Jul 2001 19:21:55 +0000 (19:21 +0000)]
- Removed the xml parser code (use now PEAR_Common::infoFromDescriptionFile())
- Added the ability to build packages without the need of being in the same
  dir as the package.xml file (f.ex: pear package ./mypack/package.xml)
- Removed methods log() and mkdirHier() as they are now in Common.php
- More debug code and error checks

23 years agomoved methods log() and mkdirHier() from Packager/Installer to here
Tomas V.V.Cox [Tue, 17 Jul 2001 19:13:40 +0000 (19:13 +0000)]
moved methods log() and mkdirHier() from Packager/Installer to here

23 years agoinclude only the needed files
Tomas V.V.Cox [Tue, 17 Jul 2001 19:11:48 +0000 (19:11 +0000)]
include only the needed files

23 years agoForgotten Include.
Jason Greene [Tue, 17 Jul 2001 16:56:51 +0000 (16:56 +0000)]
Forgotten Include.
This should fix the windows build (though I currently don't have a way to test it)

23 years agoAdd always_populate_raw_post_data ini directive and default it to 0 to
Rasmus Lerdorf [Tue, 17 Jul 2001 16:46:07 +0000 (16:46 +0000)]
Add always_populate_raw_post_data ini directive and default it to 0 to
maintain current behaviour.  If this is turned on then $HTTP_RAW_POST_DATA
is always populated with a copy of the raw post data.
@ - Add config option (always_populate_raw_post_data) which when enabled
@   will always populate $HTTP_RAW_POST_DATA regardless of the post mime
@   type (Rasmus)

23 years ago- Remove unused code
Andi Gutmans [Tue, 17 Jul 2001 16:10:15 +0000 (16:10 +0000)]
- Remove unused code

23 years agofix problem with static usage...
Chuck Hagenbuch [Tue, 17 Jul 2001 16:01:16 +0000 (16:01 +0000)]
fix problem with static usage...

23 years agoBe consistent with hashed_details behavior.
Joey Smith [Tue, 17 Jul 2001 08:16:58 +0000 (08:16 +0000)]
Be consistent with hashed_details behavior.

23 years ago@Added support for socket and popen file types to ftp_fput (Jason)
Jason Greene [Tue, 17 Jul 2001 05:53:03 +0000 (05:53 +0000)]
@Added support for socket and popen file types to ftp_fput (Jason)

23 years agoChangeLog update
<changelog@php.net> [Tue, 17 Jul 2001 00:10:19 +0000 (00:10 +0000)]
ChangeLog update

23 years agoAnother layout fix
Zeev Suraski [Mon, 16 Jul 2001 20:43:18 +0000 (20:43 +0000)]
Another layout fix

23 years agoFix layout
Zeev Suraski [Mon, 16 Jul 2001 20:42:49 +0000 (20:42 +0000)]
Fix layout

Guys - when submitting patches - please make sure you're not breaking
the layout of the code!  It's not less important than the patch
itself.

23 years agoextend infoFromDescriptionFile() to:
Tomas V.V.Cox [Mon, 16 Jul 2001 18:01:09 +0000 (18:01 +0000)]
extend infoFromDescriptionFile() to:
- Handle the new FileList->Dir tag format (see
http://marc.theaimsgroup.com/?l=pear-dev&m=99071271521558&w=2)
- Attributes of Files can inherit from Dir
- Support for the experimental LibFile/LibName/Sources tags

other indents and fixes

23 years agoFix bug #10287 - avoid crashing under a bogus usage of list()
Zeev Suraski [Mon, 16 Jul 2001 15:48:31 +0000 (15:48 +0000)]
Fix bug #10287 - avoid crashing under a bogus usage of list()

23 years agoMake read always 0-terminate strings
Stanislav Malyshev [Mon, 16 Jul 2001 15:44:36 +0000 (15:44 +0000)]
Make read always 0-terminate strings

23 years agoFix the crash Joey found
Zeev Suraski [Mon, 16 Jul 2001 13:48:07 +0000 (13:48 +0000)]
Fix the crash Joey found

23 years agoGeneralize
Zeev Suraski [Mon, 16 Jul 2001 13:31:55 +0000 (13:31 +0000)]
Generalize

23 years agoAdd a useful #define
Zeev Suraski [Mon, 16 Jul 2001 13:31:22 +0000 (13:31 +0000)]
Add a useful #define

23 years agoChangeLog update
<changelog@php.net> [Mon, 16 Jul 2001 13:17:45 +0000 (13:17 +0000)]
ChangeLog update

23 years agoFix NEWS.
Andrei Zmievski [Mon, 16 Jul 2001 13:09:55 +0000 (13:09 +0000)]
Fix NEWS.

23 years agoAdd credits to GMP
Stanislav Malyshev [Mon, 16 Jul 2001 12:45:36 +0000 (12:45 +0000)]
Add credits to GMP

23 years agoFix bug #10467
Zeev Suraski [Mon, 16 Jul 2001 11:41:06 +0000 (11:41 +0000)]
Fix bug #10467

23 years agoClose Bug #10235.
Joey Smith [Mon, 16 Jul 2001 11:16:44 +0000 (11:16 +0000)]
Close Bug #10235.

This makes domxml_root() work again. It now works
equally as well as object method or a simple function.

23 years agoFix a couple of build warnings
Rasmus Lerdorf [Mon, 16 Jul 2001 04:31:13 +0000 (04:31 +0000)]
Fix a couple of build warnings

23 years agoChangeLog update
<changelog@php.net> [Mon, 16 Jul 2001 00:10:10 +0000 (00:10 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Mon, 16 Jul 2001 00:10:07 +0000 (00:10 +0000)]
NEWS update

23 years ago(PEAR DB) some doc fixes
Stig Bakken [Sun, 15 Jul 2001 22:54:08 +0000 (22:54 +0000)]
(PEAR DB) some doc fixes

23 years agoUpdate cast
Zeev Suraski [Sun, 15 Jul 2001 22:49:25 +0000 (22:49 +0000)]
Update cast

23 years agoMinor cleaning
Zeev Suraski [Sun, 15 Jul 2001 22:48:04 +0000 (22:48 +0000)]
Minor cleaning

23 years agoOptimize the parser a bit
Zeev Suraski [Sun, 15 Jul 2001 19:24:32 +0000 (19:24 +0000)]
Optimize the parser a bit

23 years agoFix warning
Zeev Suraski [Sun, 15 Jul 2001 19:14:25 +0000 (19:14 +0000)]
Fix warning

23 years agoFix an inline
Zeev Suraski [Sun, 15 Jul 2001 19:08:32 +0000 (19:08 +0000)]
Fix an inline

23 years agoGet rid of var_uninit()
Zeev Suraski [Sun, 15 Jul 2001 19:03:04 +0000 (19:03 +0000)]
Get rid of var_uninit()

23 years agoTime to bid this old timer goodbye - get rid of var_uninit()
Zeev Suraski [Sun, 15 Jul 2001 19:02:20 +0000 (19:02 +0000)]
Time to bid this old timer goodbye - get rid of var_uninit()

23 years agoFix bug #6239
Zeev Suraski [Sun, 15 Jul 2001 18:57:43 +0000 (18:57 +0000)]
Fix bug #6239

23 years agoAllow indirect reference to method names in class::method() construct
Zeev Suraski [Sun, 15 Jul 2001 18:39:14 +0000 (18:39 +0000)]
Allow indirect reference to method names in class::method() construct

23 years agoFix bug #10257
Zeev Suraski [Sun, 15 Jul 2001 17:48:50 +0000 (17:48 +0000)]
Fix bug #10257

23 years agoFix bug #11970
Zeev Suraski [Sun, 15 Jul 2001 16:51:30 +0000 (16:51 +0000)]
Fix bug #11970

23 years agoFix bug #9884
Zeev Suraski [Sun, 15 Jul 2001 16:22:41 +0000 (16:22 +0000)]
Fix bug #9884

23 years agoImproved interactive mode - it is now available in all builds, without any significan...
Zeev Suraski [Sun, 15 Jul 2001 14:08:58 +0000 (14:08 +0000)]
Improved interactive mode - it is now available in all builds, without any significant slowdown

23 years agoFix an inline
Zeev Suraski [Sun, 15 Jul 2001 14:08:23 +0000 (14:08 +0000)]
Fix an inline

23 years agoEarly initialization
Zeev Suraski [Sun, 15 Jul 2001 12:24:10 +0000 (12:24 +0000)]
Early initialization

23 years agoFix a crash with the new check-in-cwd code. It will now work only
Zeev Suraski [Sun, 15 Jul 2001 12:24:06 +0000 (12:24 +0000)]
Fix a crash with the new check-in-cwd code.  It will now work only
with files which are included in runtime, and not files which are opened at startup (e.g., php.ini)

23 years ago2nd bug in the same line
Zeev Suraski [Sun, 15 Jul 2001 12:22:11 +0000 (12:22 +0000)]
2nd bug in the same line

23 years agoremove bogus &
Zeev Suraski [Sun, 15 Jul 2001 12:02:58 +0000 (12:02 +0000)]
remove bogus &

23 years agoMake bailouts valid at request_startup
Zeev Suraski [Sun, 15 Jul 2001 11:53:18 +0000 (11:53 +0000)]
Make bailouts valid at request_startup

23 years agoFixed memory leaks in ldap_get_entries() and ldap_get_dn() when using
Stig Venaas [Sun, 15 Jul 2001 11:12:28 +0000 (11:12 +0000)]
Fixed memory leaks in ldap_get_entries() and ldap_get_dn() when using
RFC1823 API
# These leaks have always been there, will fix in PHP3
@- Fixed various memory leaks in the LDAP extension (Stig Venaas)

23 years agoChangeLog update
<changelog@php.net> [Sat, 14 Jul 2001 23:10:30 +0000 (23:10 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sat, 14 Jul 2001 23:10:25 +0000 (23:10 +0000)]
NEWS update

23 years ago- Faster without calling strlen()
Andi Gutmans [Sat, 14 Jul 2001 16:41:58 +0000 (16:41 +0000)]
- Faster without calling strlen()

23 years agoFix for bug #11632
Rasmus Lerdorf [Sat, 14 Jul 2001 15:08:36 +0000 (15:08 +0000)]
Fix for bug #11632

23 years agoFix NEWS.
Andrei Zmievski [Sat, 14 Jul 2001 14:26:56 +0000 (14:26 +0000)]
Fix NEWS.

23 years agoFix for bug #12065
Wez Furlong [Sat, 14 Jul 2001 12:59:46 +0000 (12:59 +0000)]
Fix for bug #12065
# Was that it??

23 years agoclearify ocisetprefetch
Thies C. Arntzen [Sat, 14 Jul 2001 12:45:42 +0000 (12:45 +0000)]
clearify ocisetprefetch

23 years agoChangeLog update
<changelog@php.net> [Sat, 14 Jul 2001 01:42:40 +0000 (01:42 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sat, 14 Jul 2001 01:42:34 +0000 (01:42 +0000)]
NEWS update

23 years agoChangeLog update
<changelog@php.net> [Fri, 13 Jul 2001 23:10:03 +0000 (23:10 +0000)]
ChangeLog update

23 years agoreplaced add_index_string with add_next_index_string
Boian Bonev [Fri, 13 Jul 2001 20:45:19 +0000 (20:45 +0000)]
replaced add_index_string with add_next_index_string
made vpopmail_alias_get_all return sane result

23 years agoo Fixed Bug #12121: chdir and safe_mode
James E. Flemer [Fri, 13 Jul 2001 18:21:21 +0000 (18:21 +0000)]
o Fixed Bug #12121: chdir and safe_mode
  - [ main/safe_mode.h ] added new checkuid mode:
    CHECKUID_ALLOW_ONLY_FILE: skips directory check if file check
fails

  - [ ext/standard/dir.c ] changed php_checkuid() to use
    CHECKUID_ALLOW_ONLY_FILE instead of CHECKUID_ALLOW_ONLY_DIR

  - [ main/safe_mode.c ] added code for new checkuid mode

o Fixed Bug #12119: safe mode owner check can be bypassed with symlink
  - [ main/safe_mode.c ] use VCWD_REALPATH to resolve destination
    of symlink before trimming filename

o New Feature: safe_mode_include_dir (php.ini directive)
  - Allows bypassing UID/GID checks when including files
    from the directory in safe_mode_include_dir and its
subdirectories. (safe_mode must be on, directory must
also be in include_path or full path must be used when
including)

o Fixed Feature: safe_mode_gid (php.ini directive)
  - Correctly check (and report) UID/GID bits on directories

o Changed include() fall back to scripts cwd implementation
  - CWD added to the (local) search path in php_fopen_with_path()
    instead of seperate case. [ main/fopen_wrappers.c ]

23 years agoFix for #11941
Rasmus Lerdorf [Fri, 13 Jul 2001 17:13:00 +0000 (17:13 +0000)]
Fix for #11941

23 years agoChangeLog update
<changelog@php.net> [Fri, 13 Jul 2001 17:07:29 +0000 (17:07 +0000)]
ChangeLog update

23 years agoAdd fdf_set_encoding()
Rasmus Lerdorf [Fri, 13 Jul 2001 16:58:09 +0000 (16:58 +0000)]
Add fdf_set_encoding()

23 years agoadd missing break statements.
Sterling Hughes [Fri, 13 Jul 2001 16:44:44 +0000 (16:44 +0000)]
add missing break statements.

23 years agoFix xmlrpc_error:number handling
Sascha Schumann [Fri, 13 Jul 2001 16:08:39 +0000 (16:08 +0000)]
Fix xmlrpc_error:number handling

23 years agochange test-name
Thies C. Arntzen [Fri, 13 Jul 2001 15:49:18 +0000 (15:49 +0000)]
change test-name

23 years agomake sure all string from zlib are \0 terminated.
Thies C. Arntzen [Fri, 13 Jul 2001 15:48:37 +0000 (15:48 +0000)]
make sure all string from zlib are \0 terminated.
change one realloc to erealloc (though this code is never reached IMHO)
add regression tests

23 years agofixed #12091. added \0 bytes at EOS in a few cases.
Thies C. Arntzen [Fri, 13 Jul 2001 15:19:17 +0000 (15:19 +0000)]
fixed #12091. added \0 bytes at EOS in a few cases.

23 years ago@ - Fixed crash in iptcparse() if the supplied data was bogus. (Thies)
Thies C. Arntzen [Fri, 13 Jul 2001 14:35:05 +0000 (14:35 +0000)]
@ - Fixed crash in iptcparse() if the supplied data was bogus. (Thies)

23 years ago.
Thies C. Arntzen [Fri, 13 Jul 2001 12:20:13 +0000 (12:20 +0000)]
.

23 years agolayout
Zeev Suraski [Fri, 13 Jul 2001 12:08:32 +0000 (12:08 +0000)]
layout

23 years agothe resource-lists are now destroyed backwards. this will make sure that
Thies C. Arntzen [Fri, 13 Jul 2001 12:05:47 +0000 (12:05 +0000)]
the resource-lists are now destroyed backwards. this will make sure that
resources get destroyed in the opposite order they were created and thereby
db-cursors will always be released before their corresponding connection etc.
this sould not break anything!

23 years agomake regession test of session work without the ugly hack in session.c
Thies C. Arntzen [Fri, 13 Jul 2001 10:32:37 +0000 (10:32 +0000)]
make regession test of session work without the ugly hack in session.c
and removed that ugly hack.

23 years agoFix for bug #12081
Rasmus Lerdorf [Fri, 13 Jul 2001 05:21:37 +0000 (05:21 +0000)]
Fix for bug #12081
@ - Fix return value for a failed snmpset() - now returns false  (Rasmus)

23 years agoAdd port support to snmp functions
Rasmus Lerdorf [Fri, 13 Jul 2001 05:09:40 +0000 (05:09 +0000)]
Add port support to snmp functions
@ - Add hostname:port support to snmp functions
@   (nbougues@axialys.net, Rasmus)

23 years agoadded an option to support utf-8 in pcre.
Rui Hirokawa [Fri, 13 Jul 2001 03:37:18 +0000 (03:37 +0000)]
added an option to support utf-8 in pcre.

23 years agoQuote grep patterns to avoid shell interpretation
John Donagher [Fri, 13 Jul 2001 01:46:31 +0000 (01:46 +0000)]
Quote grep patterns to avoid shell interpretation

23 years agoFixing bug when using select unique from <table>
Frank M. Kromann [Thu, 12 Jul 2001 22:43:25 +0000 (22:43 +0000)]
Fixing bug when using select unique from <table>
The value was not returned to the script