Marcus Boerger
0e6d7d652e
- Update to new API
2004-10-30 19:14:05 +00:00
Andi Gutmans
939a0f136e
- [PATCH] Bug fix for #29770 , but for PHP 4.3.9 (Vladimir Zidar)
2004-10-29 00:37:22 +00:00
Ilia Alshanetsky
321cd10977
Simplify code.
2004-10-28 22:22:22 +00:00
Ilia Alshanetsky
23344ea427
Simplify and cleanup code.
2004-10-27 23:12:05 +00:00
Ilia Alshanetsky
852170d740
Merge gettimeofday() based code to prevent duplication.
2004-10-25 13:28:56 +00:00
Rob Richards
b20d2ba86c
fix windows build
2004-10-22 13:11:33 +00:00
Ilia Alshanetsky
4b947b0525
Allow gettimeofday() return a float if optional argument is specified.
2004-10-21 21:20:52 +00:00
Ilia Alshanetsky
0818faee7f
Slight optimization in str_split() when split length is the same or greater
...
then the string length.
2004-10-20 22:44:43 +00:00
Ilia Alshanetsky
c5e2e02b0a
Simplify code.
2004-10-19 22:25:15 +00:00
Anantha Kesari H Y
2559c94740
As NetWare LibC don't have the implementation of chown and chgrp there is no point in exposing this function to PHP
2004-10-19 08:21:24 +00:00
Ilia Alshanetsky
51ffc01776
Added optional offset parameter to file_get_contents().
2004-10-13 23:26:29 +00:00
Ilia Alshanetsky
2390ca71f1
MFH: Added optional offset parameter to stream_get_contents().
2004-10-12 23:25:24 +00:00
Ilia Alshanetsky
5c04e39383
Fixed bug #30362 (stream_get_line() not handling end string correctly).
2004-10-11 18:31:49 +00:00
Marcus Boerger
2ffbbb1588
Revert for now
2004-10-08 22:19:03 +00:00
Marcus Boerger
f0c9f998d3
speling
2004-10-08 19:02:00 +00:00
Ilia Alshanetsky
2476198086
Fixed bug #30356 (str_ireplace() does not work on all strings).
2004-10-07 23:10:35 +00:00
Marcus Boerger
476013cebd
- Use ZEND_ARG_SEND_AUTOMATIC for several array functions
2004-10-05 18:37:17 +00:00
Ilia Alshanetsky
5316f7bf25
Fixed bug #30281 (Prevent non-wbmp images from being detected as such).
2004-10-04 20:42:30 +00:00
Andi Gutmans
11bcaedfc8
- Rename delete_global_variable() to zend_delete_global_variable()
2004-10-04 20:17:06 +00:00
Andi Gutmans
db507dd153
- Commit the variable fetch optimization.
...
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
2004-10-04 19:54:35 +00:00
Marcus Boerger
bb77132391
- Add new test
2004-10-04 17:53:55 +00:00
Anantha Kesari H Y
474c53348c
removed unwanted comments, NEW_LIBC checks and NetWare specific stat structure population
2004-09-29 10:21:41 +00:00
Anantha Kesari H Y
745beb2deb
removed redundant NEW_LIBC and CLIB_STAT_PATCH checks for NETWARE
2004-09-29 09:47:15 +00:00
Anantha Kesari H Y
ec42c1432c
implemented proc_open for NETWARE
2004-09-29 06:04:36 +00:00
Sterling Hughes
8f1a327edb
Add strptime function.
2004-09-29 04:57:19 +00:00
foobar
72b2d1c9ee
MFB: - Fixed bug #30205 (Missing <unistd.h> in crypt() configure test).
2004-09-28 20:42:56 +00:00
Ilia Alshanetsky
52ee529ef4
Make test more generic.
...
# Thanks Marcus.
2004-09-27 17:52:25 +00:00
Anantha Kesari H Y
549ec65eee
removed redundant NEW_LIBC checks
2004-09-27 15:55:04 +00:00
Anantha Kesari H Y
32788092da
removed redundant NEW_LIBC and CLIB_STAT_PATCH checks
2004-09-27 15:37:33 +00:00
Anantha Kesari H Y
09d305c1ff
removed redundant NEW_LIBC checks
2004-09-27 14:51:17 +00:00
Marcus Boerger
32e478b9fc
- Add fputcsv() (David Sklar)
2004-09-26 21:55:22 +00:00
Marcus Boerger
881c2f05f5
- Earlier detection of failure (.c now)
2004-09-26 21:49:16 +00:00
Marcus Boerger
abe47301c1
- Earlier detection of failure
2004-09-26 21:47:27 +00:00
Ilia Alshanetsky
d6501f756a
fixed test output.
2004-09-26 19:12:06 +00:00
Marcus Boerger
3cdd2bcb01
- Add more tests
2004-09-26 18:28:07 +00:00
Anantha Kesari H Y
cc45f504d4
removing the unwanted inclusion of headers
2004-09-25 15:39:26 +00:00
Anantha Kesari H Y
b35e507884
removing unwanted comment
2004-09-25 15:36:47 +00:00
Anantha Kesari H Y
293ab565b5
removing unwanted inclusion of socket header file
2004-09-25 15:33:57 +00:00
Anantha Kesari H Y
80a4042a5c
removed NEW_LIBC checks in NETWARE
2004-09-25 15:30:26 +00:00
Anantha Kesari H Y
7d57757a8a
removed redundant NEW_LIBC checks
2004-09-25 15:26:55 +00:00
Anantha Kesari H Y
6692794433
removed redundance LIBC checks for NETWARE
2004-09-25 15:23:35 +00:00
Anantha Kesari H Y
78ecac2569
removed unwanted NEW_LIBC checks as they are no more needed for NETAWRE
2004-09-25 14:54:41 +00:00
Anantha Kesari H Y
146cb29054
removing unwanted header files getting included
2004-09-25 14:48:44 +00:00
Anantha Kesari H Y
bc90ecb7e2
removed unwanted NEW_LIBC checks
2004-09-25 14:46:24 +00:00
Anantha Kesari H Y
c4b57bc16b
Now NetWare LibC supports proper stat structure no need of CLIB_STAT_PATCH and all such checks
2004-09-25 14:23:32 +00:00
Anantha Kesari H Y
595268403a
removed the redundant NEW_LIBC checks
2004-09-25 14:19:38 +00:00
Anantha Kesari H Y
00760e1343
removed the redundant NEW_LIBC checks
2004-09-25 14:09:45 +00:00
Anantha Kesari H Y
24437ccb75
cleaned up confusing NetWare specific check. disabled chown and chgrp for NetWare
2004-09-25 13:19:45 +00:00
Frank M. Kromann
62fbbd1494
Fix win32 build
2004-09-21 18:09:29 +00:00
Wez Furlong
31a17d9044
Enable hypot for all
2004-09-20 22:08:06 +00:00
Ilia Alshanetsky
4af4cf0914
Fixed bug #29913 (parse_url() is now binary safe).
2004-09-20 05:13:35 +00:00
Wez Furlong
99e290f882
Fix for Bug #24189 : possibly unsafe select(2) usage.
...
We avoid the problem by using poll(2).
On systems without poll(2) (older bsd-ish systems, and win32), we emulate
poll(2) using select(2) and check for valid descriptors before attempting
to access them via the descriptor sets.
If an out-of-range descriptor is detected, an E_WARNING is raised suggesting
that PHP should be recompiled with a larger FD_SETSIZE (and also with a
suggested value).
Most uses of select(2) in the source are to poll a single descriptor, so
a couple of handy wrapper functions have been added to make this easier.
A configure option --enable-fd-setsize has been added to both the unix and
win32 builds; on unix we default to 16384 and on windows we default to 256.
Windows FD_SETSIZE imposes a limit on the maximum number of descriptors that
can be select()ed at once, whereas the unix FD_SETSIZE limit is based on the
highest numbered descriptor; 256 should be plenty for PHP scripts under windows
(the default OS setting is 64).
The win32 specific parts are untested; will do that now.
2004-09-17 12:44:56 +00:00
foobar
36a76f403a
Test for bug #30069
2004-09-15 13:54:16 +00:00
Derick Rethans
7795da58e6
- Added new boolean (fourth) parameter to array_slice() that turns on the
...
preservation of keys in the returned array.
2004-09-15 11:50:27 +00:00
Sara Golemon
34550382d8
Added stream_filter_remove() to cancel a stream filter.
...
Register filters as resources when
instantiated by stream_filter_(ap|pre)pend().
Export php_stream_filter_flush() internal function to wind buffered data
out of a particular filter until consumed by a later filter or sent to
stream->readbuffer or stream->ops->write()
2004-09-14 03:48:17 +00:00
Marcus Boerger
61bbeabdfa
- Moe changed from .re to .c
2004-09-12 12:45:01 +00:00
Marcus Boerger
8564352f59
- Readd check for nested data (but correct this time)
2004-09-12 12:43:05 +00:00
Marcus Boerger
06ade1ab1c
- Check for legal key types
2004-09-12 12:23:16 +00:00
Marcus Boerger
6200c9a5a1
- Remove wrong test
2004-09-12 11:51:13 +00:00
Derick Rethans
4bae5cb4d0
- MFB: Added the sorting flag SORT_LOCALE_STRING to the sort() functions which
...
makes them sort based on the current locale. (Derick)
2004-09-11 14:22:35 +00:00
Sara Golemon
955b43ba12
Add stream_wrapper_unregister()
...
Disables a wrapper (user-defined or built-in) for the life of the request.
Add stream_wrapper_restore()
Restores the wrapper originally defined at the time the request started
to the protocol name mentioned.
2004-09-10 20:45:35 +00:00
Wez Furlong
751f67d5d1
avoid ANSI stdio when calling tempnam() to avoid limitations of AT&T libc.
2004-09-09 19:41:07 +00:00
Sara Golemon
532a79aa52
*** empty log message ***
2004-09-08 23:37:55 +00:00
Sara Golemon
92c4a37a6a
Chunk Length may optionally be followed by whitespace
2004-09-07 22:46:24 +00:00
Sara Golemon
a85bff9796
Protocol version context option and chunked transfer encoding
2004-09-07 19:27:11 +00:00
Marcus Boerger
2f5990a5c4
Touch
2004-09-05 17:44:15 +00:00
Marcus Boerger
338e3357ae
- Bugfix #29985
2004-09-05 17:37:57 +00:00
Marcus Boerger
efea880e6f
- Add some checks to unserialize() to prevent bufferoverflows
2004-09-05 17:16:02 +00:00
Marcus Boerger
91af7f394f
- Add some checks when unserializing data to prevent buffer overflows
2004-09-05 16:29:05 +00:00
Andrey Hristov
945f7d68b9
remove "." at the end of messages
2004-09-05 13:27:58 +00:00
Moshe Doron
9632e324b6
make autogenerated docs happy (Friedhelm Betz)
2004-09-05 08:13:56 +00:00
Marcus Boerger
72000ecda9
Fix memleak in serialize
2004-09-02 18:28:47 +00:00
Marcus Boerger
94c4feef12
Fix test
2004-09-02 18:24:58 +00:00
Stanislav Malyshev
dbc1cb5e92
MF4: fix crash if shutdown uses file stats
2004-09-02 09:39:55 +00:00
Ilia Alshanetsky
9996b5f731
Fixed leak when serializing protected & private properties.
2004-08-29 17:16:20 +00:00
Ilia Alshanetsky
fe73e4d851
Fixed bug #29808 (array_count_values() breaks with numeric strings).
2004-08-26 00:26:19 +00:00
Ilia Alshanetsky
f95c1df583
Fixed bug #29821 (Fixed possible crashes in convert_uudecode() on invalid
...
data).
2004-08-24 15:25:48 +00:00
Ilia Alshanetsky
8eacea8b48
Fixed proto of headers_list().
2004-08-23 16:58:11 +00:00
Andrey Hristov
dd5538566e
fix for bug 26737 : private & protected member variables not serialized
...
when user defined __sleep() is declared. Additionally E_NOTICE is
being thrown if __sleep() returns a non-existing member variable name
2004-08-21 13:49:19 +00:00
Antony Dovgal
ca28e37be1
fix #29737 in the right way with performance in mind
2004-08-19 15:14:04 +00:00
Antony Dovgal
e156ed7433
fix #29737 (ip2long should return -1 if IP is 255.255.255.255 and FALSE on error)
2004-08-19 13:59:29 +00:00
Ilia Alshanetsky
60fc9c050a
Fixed bug #29678 (opendir() with ftp:// wrapper segfaults if path does not
...
have trailing slash).
2004-08-16 01:41:14 +00:00
Andi Gutmans
0286913937
- Use FREE_HASHTABLE()
2004-08-12 06:17:42 +00:00
Derick Rethans
318be175a4
- Added a notice to getimagesize in case zlib is not available and a compressed
...
SWF movie has been passed to the function.
2004-08-11 12:33:03 +00:00
Sara Golemon
74de8bdb02
Don't require the user to specify as a reference
2004-08-11 03:57:15 +00:00
Moriyoshi Koizumi
51fc7b8ea5
- Bugfix #29493 (extract(array, EXTR_REFS) misbehaves with elements referred
...
twice or more times). (Patch inspired by Michael Manley. Thanks.)
2004-08-10 06:00:30 +00:00
Sara Golemon
37b8c079d6
Fix inet_pton/ntop() on BSD
2004-08-07 15:59:59 +00:00
Sara Golemon
592b17d4d1
Binary safety fix for inet_pton()
2004-08-07 05:11:26 +00:00
Sara Golemon
75f4ec8879
New Functions inet_pton() and inet_ntop()
2004-08-07 04:50:24 +00:00
Sara Golemon
d1341b1c15
Add A6 support, fix IPv6 address parsing, and improve define compatability
2004-08-06 18:38:35 +00:00
Wez Furlong
d0ce6368b1
Avoid possible segfault when using stream_socket_client with bogus flags.
2004-08-06 14:08:17 +00:00
Gabor Hojtsy
15e14aeca5
update documentation credits, mentioning that more contributors are listed in the manual
2004-08-05 16:26:15 +00:00
Ilia Alshanetsky
e7b73ddce7
Fixed argument handling in sun* functions.
2004-08-04 00:28:03 +00:00
Antony Dovgal
cc39d06e4e
fix typo in mail.c: mail_force_extra_parameters -> mail.force_extra_parameters
2004-08-03 06:25:25 +00:00
Wez Furlong
47e7fef08e
Allow win32 stuff to build non-zts.
...
Fix stream crypto func (again? didn't I already commit that?)
2004-07-31 17:28:27 +00:00
Frank M. Kromann
62cd02c5a7
Adding missing PHPAPI for non ZTS builds
2004-07-30 22:49:02 +00:00
Ilia Alshanetsky
972940509f
Fixed bug #29443 (Sanity check for wbmp detection).
2004-07-30 01:10:41 +00:00
Wez Furlong
ff531cca4d
Missing ifdef; thanks Tony
2004-07-29 11:54:12 +00:00
Wez Furlong
cde7423cde
Misc. win32 thread safety fixes.
2004-07-29 02:59:44 +00:00
Ilia Alshanetsky
739696d2d7
Fixed but #29437 (Possible crash inside array_walk_recursive()).
2004-07-29 00:35:07 +00:00