]>
granicus.if.org Git - php/log
Stanislav Malyshev [Sun, 16 Feb 2003 11:15:30 +0000 (11:15 +0000)]
namespace patch - static variable access
Stanislav Malyshev [Sun, 16 Feb 2003 11:12:43 +0000 (11:12 +0000)]
Namespace patch. Big changes:
1. Nested classes are gone.
2. New syntax for namespaces:
namespace foo {
class X { ... }
function bar { ... }
var x = 1;
const ZZ = 2;
}
3. Namespaced symbol access: $x = new foo::X; - etc.
For now, namespaces are case insensitive, just like classes.
Also, there can be no global class and namespace with the same name
(to avoid ambiguities in :: resolution).
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.
<changelog@php.net> [Sun, 16 Feb 2003 01:32:24 +0000 (01:32 +0000)]
ChangeLog update
Anil Madhavapeddy [Sun, 16 Feb 2003 01:31:46 +0000 (01:31 +0000)]
fix error msg typo
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.
Ilia Alshanetsky [Sat, 15 Feb 2003 22:07:49 +0000 (22:07 +0000)]
New feature news.
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).
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
Ilia Alshanetsky [Sat, 15 Feb 2003 20:09:49 +0000 (20:09 +0000)]
Proper lib detection.
Moriyoshi Koizumi [Sat, 15 Feb 2003 19:56:12 +0000 (19:56 +0000)]
Fixed bug #22234
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.
Wez Furlong [Sat, 15 Feb 2003 17:33:11 +0000 (17:33 +0000)]
Add optional signal parameter to proc_terminate.
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().
Ilia Alshanetsky [Sat, 15 Feb 2003 17:06:35 +0000 (17:06 +0000)]
Fixed skip condition.
Georg Richter [Sat, 15 Feb 2003 16:21:35 +0000 (16:21 +0000)]
added skipif section (innodb-support)
Moriyoshi Koizumi [Sat, 15 Feb 2003 15:57:31 +0000 (15:57 +0000)]
Fixed bug #22227
Added test case for bug #22227
Marcus Boerger [Sat, 15 Feb 2003 15:20:17 +0000 (15:20 +0000)]
fix parameter string (-R & -H)
Moriyoshi Koizumi [Sat, 15 Feb 2003 15:15:14 +0000 (15:15 +0000)]
Added test case for bug #22231
Sebastian Bergmann [Sat, 15 Feb 2003 07:12:09 +0000 (07:12 +0000)]
Add .cvsignore for tests.
<changelog@php.net> [Sat, 15 Feb 2003 01:35:51 +0000 (01:35 +0000)]
ChangeLog update
Ilia Alshanetsky [Fri, 14 Feb 2003 21:27:13 +0000 (21:27 +0000)]
Allow mysqli to be built when imap (c-client) is used.
Ilia Alshanetsky [Fri, 14 Feb 2003 20:15:11 +0000 (20:15 +0000)]
CS fixes.
Ilia Alshanetsky [Fri, 14 Feb 2003 20:14:44 +0000 (20:14 +0000)]
Fixed compile warnings.
Georg Richter [Fri, 14 Feb 2003 19:49:35 +0000 (19:49 +0000)]
test for bind_result with show
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
Moriyoshi Koizumi [Fri, 14 Feb 2003 18:59:50 +0000 (18:59 +0000)]
Fixed a str_replace() bug similar to bug #22224
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
Ilia Alshanetsky [Fri, 14 Feb 2003 18:35:30 +0000 (18:35 +0000)]
CS fixes.
Ilia Alshanetsky [Fri, 14 Feb 2003 18:27:20 +0000 (18:27 +0000)]
Fixed a typo.
Georg Richter [Fri, 14 Feb 2003 18:18:12 +0000 (18:18 +0000)]
fixed compiler warning
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
Ilia Alshanetsky [Fri, 14 Feb 2003 16:49:09 +0000 (16:49 +0000)]
Missing portion of the previous patch.
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.
Georg Richter [Fri, 14 Feb 2003 16:31:51 +0000 (16:31 +0000)]
bind_result fix
Georg Richter [Fri, 14 Feb 2003 16:31:22 +0000 (16:31 +0000)]
fixed a bug in prepare/bind
foobar [Fri, 14 Feb 2003 14:38:20 +0000 (14:38 +0000)]
MFB
Thies C. Arntzen [Fri, 14 Feb 2003 12:25:09 +0000 (12:25 +0000)]
init current_execute_data befor we start executing
Thies C. Arntzen [Fri, 14 Feb 2003 12:05:16 +0000 (12:05 +0000)]
ups
Thies C. Arntzen [Fri, 14 Feb 2003 12:04:03 +0000 (12:04 +0000)]
add really nice dump_bt function for debugging in gdb
<changelog@php.net> [Fri, 14 Feb 2003 01:33:16 +0000 (01:33 +0000)]
ChangeLog update
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)
Zeev Suraski [Thu, 13 Feb 2003 22:47:25 +0000 (22:47 +0000)]
Fix error handling in illegal property access
Sara Golemon [Thu, 13 Feb 2003 22:20:21 +0000 (22:20 +0000)]
MFB(r-1.68.2.5) Bug 22052
Marcus Boerger [Thu, 13 Feb 2003 21:41:00 +0000 (21:41 +0000)]
pass tsrmls instead of fetching it always
Wez Furlong [Thu, 13 Feb 2003 21:08:04 +0000 (21:08 +0000)]
MFB: Fix for bug #22199
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.
Marcus Boerger [Thu, 13 Feb 2003 19:46:40 +0000 (19:46 +0000)]
fix non FCGI build
Ilia Alshanetsky [Thu, 13 Feb 2003 19:07:20 +0000 (19:07 +0000)]
Added test case for bug #22187.
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.
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.
Georg Richter [Thu, 13 Feb 2003 18:21:37 +0000 (18:21 +0000)]
include file for test
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.
Ilia Alshanetsky [Thu, 13 Feb 2003 17:39:18 +0000 (17:39 +0000)]
Fixed warnings.
Wez Furlong [Thu, 13 Feb 2003 17:36:35 +0000 (17:36 +0000)]
Another IS_SLASH fix.
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.
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.
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.
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.
foobar [Thu, 13 Feb 2003 17:01:28 +0000 (17:01 +0000)]
change history
Harald Radi [Thu, 13 Feb 2003 16:46:53 +0000 (16:46 +0000)]
MFB PHP_4_3
Edin Kadribasic [Thu, 13 Feb 2003 16:38:28 +0000 (16:38 +0000)]
Adding missing .cvsignore
Ilia Alshanetsky [Thu, 13 Feb 2003 16:22:03 +0000 (16:22 +0000)]
Fixed a typo.
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.
Ilia Alshanetsky [Thu, 13 Feb 2003 14:54:43 +0000 (14:54 +0000)]
Added missing header needed for rpc_error().
Wez Furlong [Thu, 13 Feb 2003 14:52:54 +0000 (14:52 +0000)]
Clarify error message.
Edin Kadribasic [Thu, 13 Feb 2003 14:46:11 +0000 (14:46 +0000)]
Initial windows project file
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).
Wez Furlong [Thu, 13 Feb 2003 14:35:47 +0000 (14:35 +0000)]
Potential fixes for #21809 and #22099.
Wez Furlong [Thu, 13 Feb 2003 13:43:37 +0000 (13:43 +0000)]
Use FILE*-less implementation for php://(stdin|stdout|stderr)
Wez Furlong [Thu, 13 Feb 2003 13:40:34 +0000 (13:40 +0000)]
Moving away from ANSI stdio for plain files.
Wez Furlong [Thu, 13 Feb 2003 13:38:20 +0000 (13:38 +0000)]
Avoid problems with chunk_size and auto_detect_line_endings.
Wez Furlong [Thu, 13 Feb 2003 13:35:55 +0000 (13:35 +0000)]
cli should be allowed to have the chroot() function.
Wez Furlong [Thu, 13 Feb 2003 11:12:56 +0000 (11:12 +0000)]
Whitespace-fix these goto labels.
Wez Furlong [Thu, 13 Feb 2003 10:25:30 +0000 (10:25 +0000)]
Update installer so that no extensions are enabled by default.
Georg Richter [Thu, 13 Feb 2003 08:54:46 +0000 (08:54 +0000)]
removed warnings (unused vars)
Uwe Steinmann [Thu, 13 Feb 2003 07:59:24 +0000 (07:59 +0000)]
- added more missing strcmp()
foobar [Thu, 13 Feb 2003 07:47:21 +0000 (07:47 +0000)]
Added HAVE_APACHE define.
foobar [Thu, 13 Feb 2003 07:16:19 +0000 (07:16 +0000)]
Merged these to 4.3.x branch
foobar [Thu, 13 Feb 2003 07:02:53 +0000 (07:02 +0000)]
ws fix
Sascha Schumann [Thu, 13 Feb 2003 02:30:10 +0000 (02:30 +0000)]
include limits.h for portability
Sascha Schumann [Thu, 13 Feb 2003 02:24:38 +0000 (02:24 +0000)]
portability work
<changelog@php.net> [Thu, 13 Feb 2003 01:33:15 +0000 (01:33 +0000)]
ChangeLog update
Georg Richter [Thu, 13 Feb 2003 01:23:28 +0000 (01:23 +0000)]
new tests
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)
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)
Georg Richter [Wed, 12 Feb 2003 21:07:28 +0000 (21:07 +0000)]
changed function entries for statements
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).
Ilia Alshanetsky [Wed, 12 Feb 2003 20:41:53 +0000 (20:41 +0000)]
Fixed bug #22187 (spprintf function did not handle floats correctly).
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.
Mark L. Woodward [Wed, 12 Feb 2003 18:34:21 +0000 (18:34 +0000)]
Fix for GCC 3
foobar [Wed, 12 Feb 2003 17:09:31 +0000 (17:09 +0000)]
Fixed the "member fd in BUFF" test for --with-apxs builds
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.
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
Derick Rethans [Wed, 12 Feb 2003 16:24:41 +0000 (16:24 +0000)]
- Let's add the config.m4 file too :-)
foobar [Wed, 12 Feb 2003 16:18:59 +0000 (16:18 +0000)]
added missing entry
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).
Uwe Steinmann [Wed, 12 Feb 2003 11:18:43 +0000 (11:18 +0000)]
- Fixed compile errors and some oddities like missing strcmp
Georg Richter [Wed, 12 Feb 2003 10:40:19 +0000 (10:40 +0000)]
added new tests
Georg Richter [Wed, 12 Feb 2003 10:39:06 +0000 (10:39 +0000)]
removed function mysql_num_warnings (libmysql change).