]> granicus.if.org Git - php/log
php
22 years agoFixed memory leaks on conversion failure.
Moriyoshi Koizumi [Tue, 18 Feb 2003 23:30:36 +0000 (23:30 +0000)]
Fixed memory leaks on conversion failure.

22 years agoRevived convert filter codes
Moriyoshi Koizumi [Tue, 18 Feb 2003 23:22:49 +0000 (23:22 +0000)]
Revived convert filter codes

22 years agoRemove a stray COM reference.
Jon Parise [Tue, 18 Feb 2003 23:22:15 +0000 (23:22 +0000)]
Remove a stray COM reference.

22 years agofileno() needs a FILE * here, and at least on FreeBSD with gcc-2.95.3
Rasmus Lerdorf [Tue, 18 Feb 2003 22:29:27 +0000 (22:29 +0000)]
fileno() needs a FILE * here, and at least on FreeBSD with gcc-2.95.3
it is unable to figure out that this is indeed a FILE * and hence it
won't compile without this cast.

22 years ago- wrong use of sizeof(char)
Marcus Boerger [Tue, 18 Feb 2003 22:19:18 +0000 (22:19 +0000)]
- wrong use of sizeof(char)
- use define for block size
- a bit faster

22 years agocoding style
Marcus Boerger [Tue, 18 Feb 2003 20:49:52 +0000 (20:49 +0000)]
coding style

22 years agoavoiding problems
Marcus Boerger [Tue, 18 Feb 2003 20:48:05 +0000 (20:48 +0000)]
avoiding problems

22 years agoBFN
Moriyoshi Koizumi [Tue, 18 Feb 2003 20:34:35 +0000 (20:34 +0000)]
BFN

22 years ago- Added new parameter to sha1() and md5() which return the digest as
Derick Rethans [Tue, 18 Feb 2003 20:31:19 +0000 (20:31 +0000)]
- Added new parameter to sha1() and md5() which return the digest as
  binary data. (Original patch by Michael Bretterklieber <mbretter@jawa.at>)
- Added test cases for sha1() and md5() based on the testvectors in RFC 1321
  and RFC 3174.
@- Added new parameter to sha1() and md5() which return the digest as
@  binary data. (Michael Bretterklieber <mbretter@jawa.at>, Derick)

22 years agoAdded description for the hand-made finite state machine.
Moriyoshi Koizumi [Tue, 18 Feb 2003 20:31:04 +0000 (20:31 +0000)]
Added description for the hand-made finite state machine.

22 years ago- Add check for proc_open() being available
Derick Rethans [Tue, 18 Feb 2003 20:07:59 +0000 (20:07 +0000)]
- Add check for proc_open() being available

22 years agoRefactor new-session-id code
Sascha Schumann [Tue, 18 Feb 2003 19:29:38 +0000 (19:29 +0000)]
Refactor new-session-id code

22 years agoRemember whether to send a cookie, so that we send out the correct
Sascha Schumann [Tue, 18 Feb 2003 19:13:49 +0000 (19:13 +0000)]
Remember whether to send a cookie, so that we send out the correct
session id.  Also improve check for active session

22 years agoFix incorrect TSRMLS_CC usage.
Wez Furlong [Tue, 18 Feb 2003 19:03:44 +0000 (19:03 +0000)]
Fix incorrect TSRMLS_CC usage.
Fix com_create_guid()

22 years agoadd session_regenerate_id()
Sascha Schumann [Tue, 18 Feb 2003 18:50:44 +0000 (18:50 +0000)]
add session_regenerate_id()

22 years agoFixed mb_send_mail() so that Content-Type and Content-Transfer-Encoding
Moriyoshi Koizumi [Tue, 18 Feb 2003 18:49:47 +0000 (18:49 +0000)]
Fixed mb_send_mail() so that Content-Type and Content-Transfer-Encoding
headers are overridable by additional header parameters.
This patch fixes bug #21985 and bug #22064.

22 years agoFixed bug #21708 (ucfirst() trouble again)
Moriyoshi Koizumi [Tue, 18 Feb 2003 18:11:34 +0000 (18:11 +0000)]
Fixed bug #21708 (ucfirst() trouble again)

# this bug is related to bug #21689

22 years agoAvoid using a C++ reserved word
Zeev Suraski [Tue, 18 Feb 2003 17:18:28 +0000 (17:18 +0000)]
Avoid using a C++ reserved word

22 years agoFixed bug #21689 (fgetcsv suppresses some characters before a separator)
Moriyoshi Koizumi [Tue, 18 Feb 2003 15:15:22 +0000 (15:15 +0000)]
Fixed bug #21689 (fgetcsv suppresses some characters before a separator)
The fix is suggested by Masahiro Nakayama <masa@sfc.wide.ad.jp>

# is* functions expect their argument to be an integer in range of 0-255

22 years agoCommit missing stuff
Zeev Suraski [Tue, 18 Feb 2003 13:34:52 +0000 (13:34 +0000)]
Commit missing stuff

22 years agoFixup build for win32
Wez Furlong [Tue, 18 Feb 2003 09:51:21 +0000 (09:51 +0000)]
Fixup build for win32

22 years agoImplement com_create_guid().
Wez Furlong [Tue, 18 Feb 2003 09:46:19 +0000 (09:46 +0000)]
Implement com_create_guid().
Add a special case for RETVAL_VARIANT when a variant is of type VT_DISPATCH but has a NULL dispatch pointer.
This kind of variant is returned by the WindowsInstaller automation interface.

22 years agoImplement simple stream support in the ZE scanners.
Wez Furlong [Tue, 18 Feb 2003 09:37:54 +0000 (09:37 +0000)]
Implement simple stream support in the ZE scanners.

22 years agoadded new function mysqli_stmt_store_result
Georg Richter [Tue, 18 Feb 2003 08:49:00 +0000 (08:49 +0000)]
added new function mysqli_stmt_store_result

22 years agotest for mysqli_stmt_store_result
Georg Richter [Tue, 18 Feb 2003 08:41:16 +0000 (08:41 +0000)]
test for mysqli_stmt_store_result

22 years agoImplement com_indexed_prop_set() which allows setting of array-like indexed propertie...
Wez Furlong [Tue, 18 Feb 2003 07:36:31 +0000 (07:36 +0000)]
Implement com_indexed_prop_set() which allows setting of array-like indexed properties on COM objects.
It is expected that this function will be transient, waiting for engine-level and then rpc-level support to be implemented so that this can be integrated more completely.
I'm committing this now so that others can help develop the msi installer scripts that require this feature.

22 years agoIntroduce //filter target to php: wrapper to allow inline application of filters...
Sara Golemon [Tue, 18 Feb 2003 06:10:14 +0000 (06:10 +0000)]
Introduce //filter target to php: wrapper to allow inline application of filters during fopen() style opperations

22 years agostyle polizei
foobar [Tue, 18 Feb 2003 03:27:55 +0000 (03:27 +0000)]
style polizei

22 years agogetpriority() and setpriority() are in libc..
foobar [Tue, 18 Feb 2003 03:25:33 +0000 (03:25 +0000)]
getpriority() and setpriority() are in libc..

22 years agonice() is part of libc, use AC_CHECK_FUNCS instead
foobar [Tue, 18 Feb 2003 03:22:47 +0000 (03:22 +0000)]
nice() is part of libc, use AC_CHECK_FUNCS instead

22 years agoFixed compiler warning.
Ilia Alshanetsky [Tue, 18 Feb 2003 03:12:38 +0000 (03:12 +0000)]
Fixed compiler warning.

22 years agoFix stream_filter_(ap|pre)pend to allow attaching on the read and/or write chains...
Sara Golemon [Tue, 18 Feb 2003 02:53:24 +0000 (02:53 +0000)]
Fix stream_filter_(ap|pre)pend to allow attaching on the read and/or write chains.  Automagically decide what to do if noone tells us.

22 years agoNew function news.
Ilia Alshanetsky [Tue, 18 Feb 2003 01:44:53 +0000 (01:44 +0000)]
New function news.

22 years agoAdded pcntl_setpriority & pcntl_getpriority(). These functions can be used
Ilia Alshanetsky [Tue, 18 Feb 2003 01:41:06 +0000 (01:41 +0000)]
Added pcntl_setpriority & pcntl_getpriority(). These functions can be used
to fetch and alter the priority of a process.

22 years agoTSRMLS!
Wez Furlong [Tue, 18 Feb 2003 01:39:26 +0000 (01:39 +0000)]
TSRMLS!

22 years agoChangeLog update
<changelog@php.net> [Tue, 18 Feb 2003 01:34:00 +0000 (01:34 +0000)]
ChangeLog update

22 years agoAdd basic test of read filters and read filter chain.
Wez Furlong [Tue, 18 Feb 2003 01:24:41 +0000 (01:24 +0000)]
Add basic test of read filters and read filter chain.

22 years agoBy popular demand nice() is renamed to proc_nice().
Ilia Alshanetsky [Tue, 18 Feb 2003 01:23:51 +0000 (01:23 +0000)]
By popular demand nice() is renamed to proc_nice().
A better error message for proc_nice() failure.

22 years agoImplement new filter API, stage 1.
Wez Furlong [Tue, 18 Feb 2003 01:22:21 +0000 (01:22 +0000)]
Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separated into one chain for read and one chain
for write.

The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.

22 years agoAdded nice() function, which allows changing of priority for the current
Ilia Alshanetsky [Tue, 18 Feb 2003 01:07:57 +0000 (01:07 +0000)]
Added nice() function, which allows changing of priority for the current
process.

22 years agonew test (class which extends mysqli. currently this test fails :( )
Georg Richter [Tue, 18 Feb 2003 00:42:38 +0000 (00:42 +0000)]
new test (class which extends mysqli. currently this test fails :( )

22 years agoremoved duplicate code
Georg Richter [Tue, 18 Feb 2003 00:32:47 +0000 (00:32 +0000)]
removed duplicate code

22 years agofixed some leaks when mysql_close will be called before all stmts are freed.
Georg Richter [Tue, 18 Feb 2003 00:00:51 +0000 (00:00 +0000)]
fixed some leaks when mysql_close will be called before all stmts are freed.

22 years agoadditional tests for non freed objects
Georg Richter [Mon, 17 Feb 2003 23:29:58 +0000 (23:29 +0000)]
additional tests for non freed objects

22 years agoMFB: Sanity check.
foobar [Mon, 17 Feb 2003 22:45:50 +0000 (22:45 +0000)]
MFB: Sanity check.

22 years agoUpdate
foobar [Mon, 17 Feb 2003 18:10:53 +0000 (18:10 +0000)]
Update

22 years agotest for mysql_fetch_row (oo-style)
Georg Richter [Mon, 17 Feb 2003 16:19:49 +0000 (16:19 +0000)]
test for mysql_fetch_row (oo-style)

22 years agoWhitespace & minor renames
Zeev Suraski [Mon, 17 Feb 2003 15:07:57 +0000 (15:07 +0000)]
Whitespace & minor renames

22 years agowhitespace
Zeev Suraski [Mon, 17 Feb 2003 15:04:29 +0000 (15:04 +0000)]
whitespace

22 years agoImprove handling of static member variables
Zeev Suraski [Mon, 17 Feb 2003 14:06:39 +0000 (14:06 +0000)]
Improve handling of static member variables

22 years agoWin32 build improvements
Zeev Suraski [Mon, 17 Feb 2003 13:29:59 +0000 (13:29 +0000)]
Win32 build improvements

22 years agoMore Win32 build improvements
Zeev Suraski [Mon, 17 Feb 2003 13:27:15 +0000 (13:27 +0000)]
More Win32 build improvements

22 years agoImprove Win32 build performance
Zeev Suraski [Mon, 17 Feb 2003 13:20:41 +0000 (13:20 +0000)]
Improve Win32 build performance

22 years agoFix build under win32
Wez Furlong [Mon, 17 Feb 2003 13:11:22 +0000 (13:11 +0000)]
Fix build under win32

22 years agoadded close method/alias for result object (for compatibility with statement and
Georg Richter [Mon, 17 Feb 2003 09:38:32 +0000 (09:38 +0000)]
added close method/alias for result object (for compatibility with statement and
link objects)

22 years agotest for OO-Implementation (bind_result)
Georg Richter [Mon, 17 Feb 2003 08:54:23 +0000 (08:54 +0000)]
test for OO-Implementation (bind_result)

22 years agoyou know it's time to get away from the keyboard when you do this.
Shane Caraveo [Mon, 17 Feb 2003 06:45:37 +0000 (06:45 +0000)]
you know it's time to get away from the keyboard when you do this.

fix my last fix

22 years ago- Style polizei
Derick Rethans [Mon, 17 Feb 2003 06:35:13 +0000 (06:35 +0000)]
- Style polizei

22 years ago- Cleaned this mess a bit:
foobar [Mon, 17 Feb 2003 06:28:07 +0000 (06:28 +0000)]
- Cleaned this mess a bit:
  . Centralized the functions sunrise/sunset to php_sunrise_sunset
    to lessen duplicate code.
  . Made wrapper function php_do_date_sunrise_sunset() to lessen
    duplicate code.
  . Coding style fixes.
  . renamed sunfuncs.h -> php_sunfuncs.h

22 years ago- These results were obviously got with TZ=GMT
foobar [Mon, 17 Feb 2003 06:23:22 +0000 (06:23 +0000)]
- These results were obviously got with TZ=GMT
# also prefixed the test results with the tested option
# so it's easier to see which one fails..

22 years agoAssuming the results were created in system with Asia/Jerusalem as TZ
foobar [Mon, 17 Feb 2003 05:51:03 +0000 (05:51 +0000)]
Assuming the results were created in system with Asia/Jerusalem as TZ

22 years agofix it the right way
Shane Caraveo [Mon, 17 Feb 2003 05:47:56 +0000 (05:47 +0000)]
fix it the right way

22 years agooverride precision ini setting
foobar [Mon, 17 Feb 2003 05:02:05 +0000 (05:02 +0000)]
override precision ini setting

22 years agoprevent possible crash if used in combo with mod_gzip
Shane Caraveo [Mon, 17 Feb 2003 03:39:58 +0000 (03:39 +0000)]
prevent possible crash if used in combo with mod_gzip
fix command line

22 years agoIf you pass NULL, you do not get a NULL value, make sure it is.
Shane Caraveo [Mon, 17 Feb 2003 03:26:16 +0000 (03:26 +0000)]
If you pass NULL, you do not get a NULL value, make sure it is.

22 years ago- Let's be consistent with these..
foobar [Mon, 17 Feb 2003 03:07:33 +0000 (03:07 +0000)]
- Let's be consistent with these..

22 years agoNEWS update
<changelog@php.net> [Mon, 17 Feb 2003 01:31:54 +0000 (01:31 +0000)]
NEWS update

22 years agoChangeLog update
<changelog@php.net> [Mon, 17 Feb 2003 01:31:42 +0000 (01:31 +0000)]
ChangeLog update

22 years agoMove some of the streams header into supplementary files
Wez Furlong [Mon, 17 Feb 2003 00:20:38 +0000 (00:20 +0000)]
Move some of the streams header into supplementary files

# Just when you thought you had learned your way around the streams code;
# I like to keep you all on your toes!

22 years agobring up to date with change in run-tests
Shane Caraveo [Mon, 17 Feb 2003 00:19:16 +0000 (00:19 +0000)]
bring up to date with change in run-tests

22 years agoFix compile warning
Wez Furlong [Mon, 17 Feb 2003 00:01:31 +0000 (00:01 +0000)]
Fix compile warning

22 years agoSome additional sanity.
Wez Furlong [Sun, 16 Feb 2003 23:46:45 +0000 (23:46 +0000)]
Some additional sanity.

22 years agoAdd the sunfuncs to the .dsp file for Moshe.
Wez Furlong [Sun, 16 Feb 2003 22:39:01 +0000 (22:39 +0000)]
Add the sunfuncs to the .dsp file for Moshe.

22 years agoUpdate win32 project for streams juggling.
Wez Furlong [Sun, 16 Feb 2003 22:34:40 +0000 (22:34 +0000)]
Update win32 project for streams juggling.

22 years agoRemove unused vars
Wez Furlong [Sun, 16 Feb 2003 22:33:29 +0000 (22:33 +0000)]
Remove unused vars

22 years ago@ new idate() function.
Moshe Doron [Sun, 16 Feb 2003 22:28:01 +0000 (22:28 +0000)]
@ new idate() function.
@ new date_sunrise() function.
@ new date_sunset() function.
#since i have no premission updating the win32 project file, i'm sending patch on the list.

22 years agoMove streams files around a bit, to ease maintenance.
Wez Furlong [Sun, 16 Feb 2003 22:19:28 +0000 (22:19 +0000)]
Move streams files around a bit, to ease maintenance.
I will update the win32 .dsp in a moment.

22 years agofixed output
Georg Richter [Sun, 16 Feb 2003 21:19:32 +0000 (21:19 +0000)]
fixed output

22 years agoFix complex cases of self-assignments (bugs #21600, #22231)
Zeev Suraski [Sun, 16 Feb 2003 19:18:23 +0000 (19:18 +0000)]
Fix complex cases of self-assignments (bugs #21600, #22231)

22 years agoMake EG(This) and EG(scope) available to internal methods
Zeev Suraski [Sun, 16 Feb 2003 19:10:27 +0000 (19:10 +0000)]
Make EG(This) and EG(scope) available to internal methods

22 years agoRevert patches - they weren't ready yet!
Zeev Suraski [Sun, 16 Feb 2003 18:34:48 +0000 (18:34 +0000)]
Revert patches - they weren't ready yet!

22 years agoFix initialization
Zeev Suraski [Sun, 16 Feb 2003 18:17:19 +0000 (18:17 +0000)]
Fix initialization

22 years agofixed compiler warning
Georg Richter [Sun, 16 Feb 2003 18:04:29 +0000 (18:04 +0000)]
fixed compiler warning

22 years agoReverted lld -> lld patch and added explanation as to why it should not be
Ilia Alshanetsky [Sun, 16 Feb 2003 17:59:30 +0000 (17:59 +0000)]
Reverted lld -> lld patch and added explanation as to why it should not be
done.

22 years agotested patch from Zeev (fixes oo-bug in ext/mysqli)
Georg Richter [Sun, 16 Feb 2003 17:47:23 +0000 (17:47 +0000)]
tested patch from Zeev (fixes oo-bug in ext/mysqli)

22 years agoMoved longlong conversion to a macro.
Ilia Alshanetsky [Sun, 16 Feb 2003 15:56:57 +0000 (15:56 +0000)]
Moved longlong conversion to a macro.

22 years agobetter skip condition.
Ilia Alshanetsky [Sun, 16 Feb 2003 15:47:22 +0000 (15:47 +0000)]
better skip condition.

22 years agoRemove bogus test.
Wez Furlong [Sun, 16 Feb 2003 15:42:14 +0000 (15:42 +0000)]
Remove bogus test.
Append mode always causes written data to go to the end of the file,
regardless of the current seek position.

22 years agoIntegrate Shanes patch that allows specifying the cwd and environment
Wez Furlong [Sun, 16 Feb 2003 15:38:54 +0000 (15:38 +0000)]
Integrate Shanes patch that allows specifying the cwd and environment
for the child process created by proc_open().

22 years agotest for mysqli_prepare_result
Georg Richter [Sun, 16 Feb 2003 13:48:00 +0000 (13:48 +0000)]
test for mysqli_prepare_result

22 years agoadd support for ::foo syntax meaning "global one"
Stanislav Malyshev [Sun, 16 Feb 2003 13:27:33 +0000 (13:27 +0000)]
add support for ::foo syntax meaning "global one"

22 years agoFix bcmath build under win32.
Wez Furlong [Sun, 16 Feb 2003 12:46:16 +0000 (12:46 +0000)]
Fix bcmath build under win32.
# These problems occur because winsock2.h MUST be included before
#  windows.h.

22 years agoremove debug prints
Stanislav Malyshev [Sun, 16 Feb 2003 12:04:41 +0000 (12:04 +0000)]
remove debug prints

22 years agotest for mysqli_stmt_affected_rows (delete command)
Georg Richter [Sun, 16 Feb 2003 12:04:21 +0000 (12:04 +0000)]
test for mysqli_stmt_affected_rows (delete command)

22 years agoadded new function mysqli_stmt_affected_rows
Georg Richter [Sun, 16 Feb 2003 12:03:37 +0000 (12:03 +0000)]
added new function mysqli_stmt_affected_rows
added bigint support for mysqli_affected_rows
fixed memleak in mysqli_prepare (stmt->is_null)
fixed return type for mysqli_connect

22 years agoZTS fixes
Sebastian Bergmann [Sun, 16 Feb 2003 11:34:49 +0000 (11:34 +0000)]
ZTS fixes

22 years agonamespace patch - static variable access
Stanislav Malyshev [Sun, 16 Feb 2003 11:15:30 +0000 (11:15 +0000)]
namespace patch - static variable access

22 years agoNamespace patch. Big changes:
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).

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