]>
granicus.if.org Git - php/log
Stanislav Malyshev [Thu, 19 Jul 2001 08:12:12 +0000 (08:12 +0000)]
Fix warnings
Sascha Schumann [Thu, 19 Jul 2001 04:58:44 +0000 (04:58 +0000)]
update
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.
<changelog@php.net> [Thu, 19 Jul 2001 00:11:34 +0000 (00:11 +0000)]
ChangeLog update
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.
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)
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.
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.
Sascha Schumann [Wed, 18 Jul 2001 22:54:55 +0000 (22:54 +0000)]
Provide typedefs for php_int32
Sascha Schumann [Wed, 18 Jul 2001 21:39:02 +0000 (21:39 +0000)]
Retire old hash algorithm and use the FNV-1 algorithm.
Harald Radi [Wed, 18 Jul 2001 19:56:18 +0000 (19:56 +0000)]
fixed a bug in 'case VT_DATE'
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)
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
Tomas V.V.Cox [Wed, 18 Jul 2001 17:11:28 +0000 (17:11 +0000)]
killed some warnings
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
Stanislav Malyshev [Wed, 18 Jul 2001 16:46:51 +0000 (16:46 +0000)]
fix double->long conversion
Stanislav Malyshev [Wed, 18 Jul 2001 10:47:54 +0000 (10:47 +0000)]
Prevent cURl from always outputting the header. Fix bug #12018
Jon Parise [Wed, 18 Jul 2001 00:27:15 +0000 (00:27 +0000)]
Private members don't have to be functions.
<changelog@php.net> [Wed, 18 Jul 2001 00:10:01 +0000 (00:10 +0000)]
ChangeLog update
<changelog@php.net> [Wed, 18 Jul 2001 00:09:58 +0000 (00:09 +0000)]
NEWS update
Jon Parise [Tue, 17 Jul 2001 23:56:46 +0000 (23:56 +0000)]
Woops, missed a closing paren.
Jon Parise [Tue, 17 Jul 2001 23:55:10 +0000 (23:55 +0000)]
Describe the standards for function naming and private methods.
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)
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
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
Tomas V.V.Cox [Tue, 17 Jul 2001 19:11:48 +0000 (19:11 +0000)]
include only the needed files
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)
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)
Andi Gutmans [Tue, 17 Jul 2001 16:10:15 +0000 (16:10 +0000)]
- Remove unused code
Chuck Hagenbuch [Tue, 17 Jul 2001 16:01:16 +0000 (16:01 +0000)]
fix problem with static usage...
Joey Smith [Tue, 17 Jul 2001 08:16:58 +0000 (08:16 +0000)]
Be consistent with hashed_details behavior.
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)
<changelog@php.net> [Tue, 17 Jul 2001 00:10:19 +0000 (00:10 +0000)]
ChangeLog update
Zeev Suraski [Mon, 16 Jul 2001 20:43:18 +0000 (20:43 +0000)]
Another layout fix
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.
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
Zeev Suraski [Mon, 16 Jul 2001 15:48:31 +0000 (15:48 +0000)]
Fix bug #10287 - avoid crashing under a bogus usage of list()
Stanislav Malyshev [Mon, 16 Jul 2001 15:44:36 +0000 (15:44 +0000)]
Make read always 0-terminate strings
Zeev Suraski [Mon, 16 Jul 2001 13:48:07 +0000 (13:48 +0000)]
Fix the crash Joey found
Zeev Suraski [Mon, 16 Jul 2001 13:31:55 +0000 (13:31 +0000)]
Generalize
Zeev Suraski [Mon, 16 Jul 2001 13:31:22 +0000 (13:31 +0000)]
Add a useful #define
<changelog@php.net> [Mon, 16 Jul 2001 13:17:45 +0000 (13:17 +0000)]
ChangeLog update
Andrei Zmievski [Mon, 16 Jul 2001 13:09:55 +0000 (13:09 +0000)]
Fix NEWS.
Stanislav Malyshev [Mon, 16 Jul 2001 12:45:36 +0000 (12:45 +0000)]
Add credits to GMP
Zeev Suraski [Mon, 16 Jul 2001 11:41:06 +0000 (11:41 +0000)]
Fix bug #10467
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.
Rasmus Lerdorf [Mon, 16 Jul 2001 04:31:13 +0000 (04:31 +0000)]
Fix a couple of build warnings
<changelog@php.net> [Mon, 16 Jul 2001 00:10:10 +0000 (00:10 +0000)]
ChangeLog update
<changelog@php.net> [Mon, 16 Jul 2001 00:10:07 +0000 (00:10 +0000)]
NEWS update
Stig Bakken [Sun, 15 Jul 2001 22:54:08 +0000 (22:54 +0000)]
(PEAR DB) some doc fixes
Zeev Suraski [Sun, 15 Jul 2001 22:49:25 +0000 (22:49 +0000)]
Update cast
Zeev Suraski [Sun, 15 Jul 2001 22:48:04 +0000 (22:48 +0000)]
Minor cleaning
Zeev Suraski [Sun, 15 Jul 2001 19:24:32 +0000 (19:24 +0000)]
Optimize the parser a bit
Zeev Suraski [Sun, 15 Jul 2001 19:14:25 +0000 (19:14 +0000)]
Fix warning
Zeev Suraski [Sun, 15 Jul 2001 19:08:32 +0000 (19:08 +0000)]
Fix an inline
Zeev Suraski [Sun, 15 Jul 2001 19:03:04 +0000 (19:03 +0000)]
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()
Zeev Suraski [Sun, 15 Jul 2001 18:57:43 +0000 (18:57 +0000)]
Fix bug #6239
Zeev Suraski [Sun, 15 Jul 2001 18:39:14 +0000 (18:39 +0000)]
Allow indirect reference to method names in class::method() construct
Zeev Suraski [Sun, 15 Jul 2001 17:48:50 +0000 (17:48 +0000)]
Fix bug #10257
Zeev Suraski [Sun, 15 Jul 2001 16:51:30 +0000 (16:51 +0000)]
Fix bug #11970
Zeev Suraski [Sun, 15 Jul 2001 16:22:41 +0000 (16:22 +0000)]
Fix bug #9884
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
Zeev Suraski [Sun, 15 Jul 2001 14:08:23 +0000 (14:08 +0000)]
Fix an inline
Zeev Suraski [Sun, 15 Jul 2001 12:24:10 +0000 (12:24 +0000)]
Early initialization
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)
Zeev Suraski [Sun, 15 Jul 2001 12:22:11 +0000 (12:22 +0000)]
2nd bug in the same line
Zeev Suraski [Sun, 15 Jul 2001 12:02:58 +0000 (12:02 +0000)]
remove bogus &
Zeev Suraski [Sun, 15 Jul 2001 11:53:18 +0000 (11:53 +0000)]
Make bailouts valid at request_startup
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)
<changelog@php.net> [Sat, 14 Jul 2001 23:10:30 +0000 (23:10 +0000)]
ChangeLog update
<changelog@php.net> [Sat, 14 Jul 2001 23:10:25 +0000 (23:10 +0000)]
NEWS update
Andi Gutmans [Sat, 14 Jul 2001 16:41:58 +0000 (16:41 +0000)]
- Faster without calling strlen()
Rasmus Lerdorf [Sat, 14 Jul 2001 15:08:36 +0000 (15:08 +0000)]
Fix for bug #11632
Andrei Zmievski [Sat, 14 Jul 2001 14:26:56 +0000 (14:26 +0000)]
Fix NEWS.
Wez Furlong [Sat, 14 Jul 2001 12:59:46 +0000 (12:59 +0000)]
Fix for bug #12065
# Was that it??
Thies C. Arntzen [Sat, 14 Jul 2001 12:45:42 +0000 (12:45 +0000)]
clearify ocisetprefetch
<changelog@php.net> [Sat, 14 Jul 2001 01:42:40 +0000 (01:42 +0000)]
ChangeLog update
<changelog@php.net> [Sat, 14 Jul 2001 01:42:34 +0000 (01:42 +0000)]
NEWS update
<changelog@php.net> [Fri, 13 Jul 2001 23:10:03 +0000 (23:10 +0000)]
ChangeLog update
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
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 ]
Rasmus Lerdorf [Fri, 13 Jul 2001 17:13:00 +0000 (17:13 +0000)]
Fix for #11941
<changelog@php.net> [Fri, 13 Jul 2001 17:07:29 +0000 (17:07 +0000)]
ChangeLog update
Rasmus Lerdorf [Fri, 13 Jul 2001 16:58:09 +0000 (16:58 +0000)]
Add fdf_set_encoding()
Sterling Hughes [Fri, 13 Jul 2001 16:44:44 +0000 (16:44 +0000)]
add missing break statements.
Sascha Schumann [Fri, 13 Jul 2001 16:08:39 +0000 (16:08 +0000)]
Fix xmlrpc_error:number handling
Thies C. Arntzen [Fri, 13 Jul 2001 15:49:18 +0000 (15:49 +0000)]
change test-name
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
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.
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)
Thies C. Arntzen [Fri, 13 Jul 2001 12:20:13 +0000 (12:20 +0000)]
.
Zeev Suraski [Fri, 13 Jul 2001 12:08:32 +0000 (12:08 +0000)]
layout
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!
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.
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)
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)
Rui Hirokawa [Fri, 13 Jul 2001 03:37:18 +0000 (03:37 +0000)]
added an option to support utf-8 in pcre.
John Donagher [Fri, 13 Jul 2001 01:46:31 +0000 (01:46 +0000)]
Quote grep patterns to avoid shell interpretation
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