]> granicus.if.org Git - php/log
php
22 years agoA add much more useful select(2) implementation than is provided by
Wez Furlong [Sun, 16 Feb 2003 03:48:49 +0000 (03:48 +0000)]
A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.

22 years agoChangeLog update
<changelog@php.net> [Sun, 16 Feb 2003 01:32:24 +0000 (01:32 +0000)]
ChangeLog update

22 years agofix error msg typo
Anil Madhavapeddy [Sun, 16 Feb 2003 01:31:46 +0000 (01:31 +0000)]
fix error msg typo

22 years ago- Allow long option names
Marcus Boerger [Sun, 16 Feb 2003 01:23:11 +0000 (01:23 +0000)]
- Allow long option names
- Update CLI's manpage

@Added support for long options in CLI & CGI (e.g. --version). (Marcus)

# In contrast to the preliminary patch this should work now completely.
# If all long option names are accepted we may even think about MFHing.

22 years agoNew feature news.
Ilia Alshanetsky [Sat, 15 Feb 2003 22:07:49 +0000 (22:07 +0000)]
New feature news.

22 years agoAdded feature #19645 (ini parser can now handle quoted multi-line values).
Ilia Alshanetsky [Sat, 15 Feb 2003 22:06:45 +0000 (22:06 +0000)]
Added feature #19645 (ini parser can now handle quoted multi-line values).

22 years ago- Fix unsetting of open_basedir, safe_mode_exec_dir and user_dir with
foobar [Sat, 15 Feb 2003 20:22:19 +0000 (20:22 +0000)]
- Fix unsetting of open_basedir, safe_mode_exec_dir and user_dir with
  "php_admin_value <ini option> none"
- Fixes bug #22220

22 years agoProper lib detection.
Ilia Alshanetsky [Sat, 15 Feb 2003 20:09:49 +0000 (20:09 +0000)]
Proper lib detection.

22 years agoFixed bug #22234
Moriyoshi Koizumi [Sat, 15 Feb 2003 19:56:12 +0000 (19:56 +0000)]
Fixed bug #22234

22 years agoIf a test does not have any data after 60 seconds of waiting, assume that
Wez Furlong [Sat, 15 Feb 2003 18:09:52 +0000 (18:09 +0000)]
If a test does not have any data after 60 seconds of waiting, assume that
it died a horrible death and kill it.
This is useful on windows when a message box is popped-up during an automated
test-run.

22 years agoAdd optional signal parameter to proc_terminate.
Wez Furlong [Sat, 15 Feb 2003 17:33:11 +0000 (17:33 +0000)]
Add optional signal parameter to proc_terminate.

22 years agoAdd proc_terminate() function to forcibly kill off a process created
Wez Furlong [Sat, 15 Feb 2003 17:18:57 +0000 (17:18 +0000)]
Add proc_terminate() function to forcibly kill off a process created
with proc_open().

22 years agoFixed skip condition.
Ilia Alshanetsky [Sat, 15 Feb 2003 17:06:35 +0000 (17:06 +0000)]
Fixed skip condition.

22 years agoadded skipif section (innodb-support)
Georg Richter [Sat, 15 Feb 2003 16:21:35 +0000 (16:21 +0000)]
added skipif section (innodb-support)

22 years agoFixed bug #22227
Moriyoshi Koizumi [Sat, 15 Feb 2003 15:57:31 +0000 (15:57 +0000)]
Fixed bug #22227
Added test case for bug #22227

22 years agofix parameter string (-R & -H)
Marcus Boerger [Sat, 15 Feb 2003 15:20:17 +0000 (15:20 +0000)]
fix parameter string (-R & -H)

22 years agoAdded test case for bug #22231
Moriyoshi Koizumi [Sat, 15 Feb 2003 15:15:14 +0000 (15:15 +0000)]
Added test case for bug #22231

22 years agoAdd .cvsignore for tests.
Sebastian Bergmann [Sat, 15 Feb 2003 07:12:09 +0000 (07:12 +0000)]
Add .cvsignore for tests.

22 years agoChangeLog update
<changelog@php.net> [Sat, 15 Feb 2003 01:35:51 +0000 (01:35 +0000)]
ChangeLog update

22 years agoAllow mysqli to be built when imap (c-client) is used.
Ilia Alshanetsky [Fri, 14 Feb 2003 21:27:13 +0000 (21:27 +0000)]
Allow mysqli to be built when imap (c-client) is used.

22 years agoCS fixes.
Ilia Alshanetsky [Fri, 14 Feb 2003 20:15:11 +0000 (20:15 +0000)]
CS fixes.

22 years agoFixed compile warnings.
Ilia Alshanetsky [Fri, 14 Feb 2003 20:14:44 +0000 (20:14 +0000)]
Fixed compile warnings.

22 years agotest for bind_result with show
Georg Richter [Fri, 14 Feb 2003 19:49:35 +0000 (19:49 +0000)]
test for bind_result with show

22 years agoa little bit slower but somewhat tricky and more flexible and it does not
Marcus Boerger [Fri, 14 Feb 2003 19:43:06 +0000 (19:43 +0000)]
a little bit slower but somewhat tricky and more flexible and it does not
allocate static buffers anymore

22 years agoFixed a str_replace() bug similar to bug #22224
Moriyoshi Koizumi [Fri, 14 Feb 2003 18:59:50 +0000 (18:59 +0000)]
Fixed a str_replace() bug similar to bug #22224

22 years agoFixed bug #22224 (implode changes object references in array)
Moriyoshi Koizumi [Fri, 14 Feb 2003 18:42:36 +0000 (18:42 +0000)]
Fixed bug #22224 (implode changes object references in array)
Added test case for the bug

22 years agoCS fixes.
Ilia Alshanetsky [Fri, 14 Feb 2003 18:35:30 +0000 (18:35 +0000)]
CS fixes.

22 years agoFixed a typo.
Ilia Alshanetsky [Fri, 14 Feb 2003 18:27:20 +0000 (18:27 +0000)]
Fixed a typo.

22 years agofixed compiler warning
Georg Richter [Fri, 14 Feb 2003 18:18:12 +0000 (18:18 +0000)]
fixed compiler warning

22 years agofixed a bug in mysqli_fetch
Georg Richter [Fri, 14 Feb 2003 18:17:25 +0000 (18:17 +0000)]
fixed a bug in mysqli_fetch
removed c++ comment (thx to Jani :)
fixed compiler warning

22 years agoMissing portion of the previous patch.
Ilia Alshanetsky [Fri, 14 Feb 2003 16:49:09 +0000 (16:49 +0000)]
Missing portion of the previous patch.

22 years agoBuncha Fixes.
Ilia Alshanetsky [Fri, 14 Feb 2003 16:45:31 +0000 (16:45 +0000)]
Buncha Fixes.
 * Fixed a number of memory leaks.
 * Fixed some php_error_docref() calls that tried to print non-existent
   arguments.
 * Fixed some signed/unsigned problems.
 * Fixed the MYSQLI_FETCH_RESOURCE macro so that compilers do not complain
   about un-initialized variables.
 * CS fixes.

22 years agobind_result fix
Georg Richter [Fri, 14 Feb 2003 16:31:51 +0000 (16:31 +0000)]
bind_result fix

22 years agofixed a bug in prepare/bind
Georg Richter [Fri, 14 Feb 2003 16:31:22 +0000 (16:31 +0000)]
fixed a bug in prepare/bind

22 years agoMFB
foobar [Fri, 14 Feb 2003 14:38:20 +0000 (14:38 +0000)]
MFB

22 years agoinit current_execute_data befor we start executing
Thies C. Arntzen [Fri, 14 Feb 2003 12:25:09 +0000 (12:25 +0000)]
init current_execute_data befor we start executing

22 years agoups
Thies C. Arntzen [Fri, 14 Feb 2003 12:05:16 +0000 (12:05 +0000)]
ups

22 years agoadd really nice dump_bt function for debugging in gdb
Thies C. Arntzen [Fri, 14 Feb 2003 12:04:03 +0000 (12:04 +0000)]
add really nice dump_bt function for debugging in gdb

22 years agoChangeLog update
<changelog@php.net> [Fri, 14 Feb 2003 01:33:16 +0000 (01:33 +0000)]
ChangeLog update

22 years ago- Don't add libcrypt if the crypt() function is provided already.
foobar [Fri, 14 Feb 2003 01:27:15 +0000 (01:27 +0000)]
- Don't add libcrypt if the crypt() function is provided already.
  (by libc, like in HP-UX)

22 years agoFix error handling in illegal property access
Zeev Suraski [Thu, 13 Feb 2003 22:47:25 +0000 (22:47 +0000)]
Fix error handling in illegal property access

22 years agoMFB(r-1.68.2.5) Bug 22052
Sara Golemon [Thu, 13 Feb 2003 22:20:21 +0000 (22:20 +0000)]
MFB(r-1.68.2.5) Bug 22052

22 years agopass tsrmls instead of fetching it always
Marcus Boerger [Thu, 13 Feb 2003 21:41:00 +0000 (21:41 +0000)]
pass tsrmls instead of fetching it always

22 years agoMFB: Fix for bug #22199
Wez Furlong [Thu, 13 Feb 2003 21:08:04 +0000 (21:08 +0000)]
MFB: Fix for bug #22199

22 years agoBug #22059. ftp_chdir() causes segfault. efree(ftp->pwd) was being called without...
Sara Golemon [Thu, 13 Feb 2003 19:48:49 +0000 (19:48 +0000)]
Bug #22059. ftp_chdir() causes segfault.  efree(ftp->pwd) was being called without knowing for certain that ftp->pwd
actually pointed anywhere.

22 years agofix non FCGI build
Marcus Boerger [Thu, 13 Feb 2003 19:46:40 +0000 (19:46 +0000)]
fix non FCGI build

22 years agoAdded test case for bug #22187.
Ilia Alshanetsky [Thu, 13 Feb 2003 19:07:20 +0000 (19:07 +0000)]
Added test case for bug #22187.

22 years agoModified fix for bug #22187 so that it does not affect handling of numbers
Ilia Alshanetsky [Thu, 13 Feb 2003 19:02:34 +0000 (19:02 +0000)]
Modified fix for bug #22187 so that it does not affect handling of numbers
represented in scientific notation.

22 years agoAdded test for those different crypt() methods. Hopefully I got the results right.
foobar [Thu, 13 Feb 2003 18:49:57 +0000 (18:49 +0000)]
Added test for those different crypt() methods. Hopefully I got the results right.

22 years agoinclude file for test
Georg Richter [Thu, 13 Feb 2003 18:21:37 +0000 (18:21 +0000)]
include file for test

22 years agoThere is *absolutely no* definitive way to know if argv0 is the
Shane Caraveo [Thu, 13 Feb 2003 18:21:12 +0000 (18:21 +0000)]
There is *absolutely no* definitive way to know if argv0 is the
actual php script, or if it is the beginning of a query string.
Additionaly, passing parameters on the command line is
not part of CGI spec, and is not required by either
Apache or IIS.  So I have removed that code altogether,
and done some further cleanup.  Also fix pre4.3 behaviour if fix_pathinfo=0.
I've tested with IIS and Apache 1.3.27 on w2k and RH 7.3.

22 years agoFixed warnings.
Ilia Alshanetsky [Thu, 13 Feb 2003 17:39:18 +0000 (17:39 +0000)]
Fixed warnings.

22 years agoAnother IS_SLASH fix.
Wez Furlong [Thu, 13 Feb 2003 17:36:35 +0000 (17:36 +0000)]
Another IS_SLASH fix.

22 years agoFixed bug #22207 (e notation in *printf would be missing a 0 when there is
Ilia Alshanetsky [Thu, 13 Feb 2003 17:25:31 +0000 (17:25 +0000)]
Fixed bug #22207 (e notation in *printf would be missing a 0 when there is
no exponent).
Added a test case for the bug.

22 years agoA probable cure for many getcwd/relative include related problems for win32.
Wez Furlong [Thu, 13 Feb 2003 17:20:20 +0000 (17:20 +0000)]
A probable cure for many getcwd/relative include related problems for win32.

22 years agoPAD() macro didn't increase the buffer size resulting in loss of the
Ilia Alshanetsky [Thu, 13 Feb 2003 17:17:03 +0000 (17:17 +0000)]
PAD() macro didn't increase the buffer size resulting in loss of the
padding.

22 years agoUse my_ulonglong instead of unsigned long long to make msvc++ happy.
Edin Kadribasic [Thu, 13 Feb 2003 17:15:22 +0000 (17:15 +0000)]
Use my_ulonglong instead of unsigned long long to make msvc++ happy.

22 years agochange history
foobar [Thu, 13 Feb 2003 17:01:28 +0000 (17:01 +0000)]
change history

22 years agoMFB PHP_4_3
Harald Radi [Thu, 13 Feb 2003 16:46:53 +0000 (16:46 +0000)]
MFB PHP_4_3

22 years agoAdding missing .cvsignore
Edin Kadribasic [Thu, 13 Feb 2003 16:38:28 +0000 (16:38 +0000)]
Adding missing .cvsignore

22 years agoFixed a typo.
Ilia Alshanetsky [Thu, 13 Feb 2003 16:22:03 +0000 (16:22 +0000)]
Fixed a typo.

22 years agoSimplified the mode validation code & added support for read+write mode to
Ilia Alshanetsky [Thu, 13 Feb 2003 15:09:39 +0000 (15:09 +0000)]
Simplified the mode validation code & added support for read+write mode to
'x' mode.

22 years agoAdded missing header needed for rpc_error().
Ilia Alshanetsky [Thu, 13 Feb 2003 14:54:43 +0000 (14:54 +0000)]
Added missing header needed for rpc_error().

22 years agoClarify error message.
Wez Furlong [Thu, 13 Feb 2003 14:52:54 +0000 (14:52 +0000)]
Clarify error message.

22 years agoInitial windows project file
Edin Kadribasic [Thu, 13 Feb 2003 14:46:11 +0000 (14:46 +0000)]
Initial windows project file

22 years agoAdded 'x' mode for fopen() used on local files. This mode will create a new
Ilia Alshanetsky [Thu, 13 Feb 2003 14:40:17 +0000 (14:40 +0000)]
Added 'x' mode for fopen() used on local files. This mode will create a new
file only if a file does not already exist (O_CREAT|O_EXCL).

22 years agoPotential fixes for #21809 and #22099.
Wez Furlong [Thu, 13 Feb 2003 14:35:47 +0000 (14:35 +0000)]
Potential fixes for #21809 and #22099.

22 years agoUse FILE*-less implementation for php://(stdin|stdout|stderr)
Wez Furlong [Thu, 13 Feb 2003 13:43:37 +0000 (13:43 +0000)]
Use FILE*-less implementation for php://(stdin|stdout|stderr)

22 years agoMoving away from ANSI stdio for plain files.
Wez Furlong [Thu, 13 Feb 2003 13:40:34 +0000 (13:40 +0000)]
Moving away from ANSI stdio for plain files.

22 years agoAvoid problems with chunk_size and auto_detect_line_endings.
Wez Furlong [Thu, 13 Feb 2003 13:38:20 +0000 (13:38 +0000)]
Avoid problems with chunk_size and auto_detect_line_endings.

22 years agocli should be allowed to have the chroot() function.
Wez Furlong [Thu, 13 Feb 2003 13:35:55 +0000 (13:35 +0000)]
cli should be allowed to have the chroot() function.

22 years agoWhitespace-fix these goto labels.
Wez Furlong [Thu, 13 Feb 2003 11:12:56 +0000 (11:12 +0000)]
Whitespace-fix these goto labels.

22 years agoUpdate installer so that no extensions are enabled by default.
Wez Furlong [Thu, 13 Feb 2003 10:25:30 +0000 (10:25 +0000)]
Update installer so that no extensions are enabled by default.

22 years agoremoved warnings (unused vars)
Georg Richter [Thu, 13 Feb 2003 08:54:46 +0000 (08:54 +0000)]
removed warnings (unused vars)

22 years ago- added more missing strcmp()
Uwe Steinmann [Thu, 13 Feb 2003 07:59:24 +0000 (07:59 +0000)]
- added more missing strcmp()

22 years agoAdded HAVE_APACHE define.
foobar [Thu, 13 Feb 2003 07:47:21 +0000 (07:47 +0000)]
Added HAVE_APACHE define.

22 years agoMerged these to 4.3.x branch
foobar [Thu, 13 Feb 2003 07:16:19 +0000 (07:16 +0000)]
Merged these to 4.3.x branch

22 years agows fix
foobar [Thu, 13 Feb 2003 07:02:53 +0000 (07:02 +0000)]
ws fix

22 years agoinclude limits.h for portability
Sascha Schumann [Thu, 13 Feb 2003 02:30:10 +0000 (02:30 +0000)]
include limits.h for portability

22 years agoportability work
Sascha Schumann [Thu, 13 Feb 2003 02:24:38 +0000 (02:24 +0000)]
portability work

22 years agoChangeLog update
<changelog@php.net> [Thu, 13 Feb 2003 01:33:15 +0000 (01:33 +0000)]
ChangeLog update

22 years ago new tests
Georg Richter [Thu, 13 Feb 2003 01:23:28 +0000 (01:23 +0000)]
 new tests

22 years agoFix for Bug #21815 (fpassthru ignored buffered data but then complained anyway)
Wez Furlong [Thu, 13 Feb 2003 01:17:45 +0000 (01:17 +0000)]
Fix for Bug #21815 (fpassthru ignored buffered data but then complained anyway)

22 years agoadded new function int mysql_get_server_version
Georg Richter [Thu, 13 Feb 2003 00:11:17 +0000 (00:11 +0000)]
added new function int mysql_get_server_version
this function is available since libmysql change set 1.1450 (2002-02-13)

22 years agochanged function entries for statements
Georg Richter [Wed, 12 Feb 2003 21:07:28 +0000 (21:07 +0000)]
changed function entries for statements

22 years agoFixed bug #22191 (frontbase build was broken for people using older
Ilia Alshanetsky [Wed, 12 Feb 2003 20:44:00 +0000 (20:44 +0000)]
Fixed bug #22191 (frontbase build was broken for people using older
versions).

22 years agoFixed bug #22187 (spprintf function did not handle floats correctly).
Ilia Alshanetsky [Wed, 12 Feb 2003 20:41:53 +0000 (20:41 +0000)]
Fixed bug #22187 (spprintf function did not handle floats correctly).

22 years ago - trims +100 lines of code from spprintf.c
Sascha Schumann [Wed, 12 Feb 2003 19:38:10 +0000 (19:38 +0000)]
- trims +100 lines of code from spprintf.c
    - introduces an overflow detection in STR_TO_DEC
    - eliminates dead code (e.g. assert(foo); if (foo) {..})
    - removes unused macros from the original code
    - simplifies code (e.g. cc was completely dropped)
    - improves run-time performance

      The max_len feature is never used in our code base.
      Nevertheless, cpu cycles were spent on each string
      operation to check the current length against max_len which
      is quite inefficient.  Thus, I've moved the check to
      vspprintf where it is applied only once per call.

22 years agoFix for GCC 3
Mark L. Woodward [Wed, 12 Feb 2003 18:34:21 +0000 (18:34 +0000)]
Fix for GCC 3

22 years agoFixed the "member fd in BUFF" test for --with-apxs builds
foobar [Wed, 12 Feb 2003 17:09:31 +0000 (17:09 +0000)]
Fixed the "member fd in BUFF" test for --with-apxs builds

22 years agoRemoved zend_get_module(), this function is not used by anything and more
Ilia Alshanetsky [Wed, 12 Feb 2003 16:50:51 +0000 (16:50 +0000)]
Removed zend_get_module(), this function is not used by anything and more
importantly. it does not work. It tries to find data based on numeric keys
in hash table using string keys.

22 years agoFix declaration of class members that don't have an explicit access modifier
Zeev Suraski [Wed, 12 Feb 2003 16:28:34 +0000 (16:28 +0000)]
Fix declaration of class members that don't have an explicit access modifier

22 years ago- Let's add the config.m4 file too :-)
Derick Rethans [Wed, 12 Feb 2003 16:24:41 +0000 (16:24 +0000)]
- Let's add the config.m4 file too :-)

22 years agoadded missing entry
foobar [Wed, 12 Feb 2003 16:18:59 +0000 (16:18 +0000)]
added missing entry

22 years agoFixed bug #22048 (incorrect insertion of session id when tabs are used to
Ilia Alshanetsky [Wed, 12 Feb 2003 14:56:13 +0000 (14:56 +0000)]
Fixed bug #22048 (incorrect insertion of session id when tabs are used to
separate tag elements).

22 years ago- Fixed compile errors and some oddities like missing strcmp
Uwe Steinmann [Wed, 12 Feb 2003 11:18:43 +0000 (11:18 +0000)]
- Fixed compile errors and some oddities like missing strcmp

22 years agoadded new tests
Georg Richter [Wed, 12 Feb 2003 10:40:19 +0000 (10:40 +0000)]
added new tests

22 years agoremoved function mysql_num_warnings (libmysql change).
Georg Richter [Wed, 12 Feb 2003 10:39:06 +0000 (10:39 +0000)]
removed function mysql_num_warnings (libmysql change).

22 years ago"Generate" the man page so that it gets correct version always.
foobar [Wed, 12 Feb 2003 04:38:30 +0000 (04:38 +0000)]
"Generate" the man page so that it gets correct version always.

22 years agoMan page is added in 4.3.1, moved this entry to branch
foobar [Wed, 12 Feb 2003 04:08:29 +0000 (04:08 +0000)]
Man page is added in 4.3.1, moved this entry to branch