Derick Rethans
74929f352c
- Fixed bug #34052 (date('U') returns %ld not unix timestamp).
2005-09-15 19:10:13 +00:00
Derick Rethans
0f391bb0b3
- Add E_RECOVERABLE.
...
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
foobar
7d92b356d9
revert
2005-09-02 14:08:09 +00:00
foobar
1496355faf
MFB: Always return something, even if it succeeds :)
2005-09-02 08:26:05 +00:00
Ilia Alshanetsky
5f1aa243c3
Fixed bug #34331 (php crashes when variables_order is empty).
2005-09-01 19:14:54 +00:00
foobar
ec0b4f91f4
- Fixed bug #34307 (OnUpdateStringUnempty INI options can be set as empty)
2005-09-01 14:42:54 +00:00
Andrei Zmievski
674469245f
Further work on Unicode support in file uploads.
2005-08-31 20:42:14 +00:00
Dmitry Stogov
7999c0c3d4
Fixed SIGSEGV
2005-08-29 06:51:51 +00:00
Derick Rethans
cdcf566a21
- Fixed a bug where stream_get_meta_data() did not return the "uri" element for
...
files opened with tmpname().
2005-08-26 12:50:06 +00:00
Ilia Alshanetsky
0408e53679
Remainder of the 34191 bug fix.
2005-08-24 16:19:47 +00:00
Derick Rethans
377c3b3584
- Fixed another little buglet in the spprintf() formatters.
2005-08-23 06:48:55 +00:00
Dmitry Stogov
83bd44f1fd
Don't apply "unicode" filters in non-unicode mode
2005-08-22 14:48:25 +00:00
Dmitry Stogov
6b622046dc
zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string).
2005-08-22 12:22:16 +00:00
Dmitry Stogov
0f026c9fb7
Unicode support
2005-08-18 10:18:40 +00:00
foobar
5cf36ea50f
Fix EOLs under winblows
2005-08-17 07:52:17 +00:00
Marcus Boerger
a5f023a829
- Prevent E_STRICT from ending up as exception
2005-08-16 18:09:27 +00:00
Derick Rethans
1ee41e0d92
- Fixed a couple of bugs in the new smart_str macros, and allow them to
...
allocate two extra bytes (so that we can pad them with two \0's for UTF-16)
- Fixed usage of smart_str's in the PAD and INS_STRING macros.
2005-08-16 18:02:41 +00:00
foobar
f8e4528a3d
These are not defined anymore
2005-08-15 22:31:59 +00:00
foobar
077e356572
Goodbye PEAR
2005-08-15 22:30:40 +00:00
Dmitry Stogov
fbf8880292
Fixed var_dump() identation bug
2005-08-15 07:19:10 +00:00
Marcus Boerger
b7e23d00c6
- Need to terminate [v]uspprintf() with two \0
2005-08-14 21:04:52 +00:00
Marcus Boerger
5e298240d6
- Where did my backslash vanish?
2005-08-14 20:12:51 +00:00
Marcus Boerger
d0c6d77b9e
- Handle different cases of the actual strings correctly
2005-08-14 20:11:05 +00:00
Marcus Boerger
8b9c131f55
- Initial support of easy way to generate unicode strings: [v]uspprinf()
...
# Same semantics as [v]spprintf, only it prints unicode strings instead of
# native strings. Atm it has a little problem since it length doesn't take
# the difference between UTF-16 code points vs units into account. But as
# long as no 4 byte codes are involved it should already run everything.
2005-08-14 17:14:42 +00:00
Wez Furlong
7d44da10b6
tidy up implicit_mode handling; spotted by Nuno
...
There's probably a much more efficient way to do this than the current strchr stuff.
2005-08-14 13:48:29 +00:00
Wez Furlong
b282b4d1ec
a bit of pedantic ws
2005-08-13 19:22:03 +00:00
Antony Dovgal
6bd0350af8
make valgrind and gcc happy
2005-08-12 23:21:29 +00:00
Antony Dovgal
b40db3bcb8
allow default_charset & default_mimetype to be changed during runtime
2005-08-12 21:46:14 +00:00
Dmitry Stogov
239f84c215
Fixed incorrect variable parsing in non-unicode mode
2005-08-12 13:27:38 +00:00
Andrei Zmievski
264cec8be6
Unicode support.
2005-08-11 23:36:07 +00:00
Rasmus Lerdorf
c95107492d
MFB minor consistency cleanup
2005-08-10 23:35:51 +00:00
Derick Rethans
8f43323dee
- Changing the API numbers, which might be a bit premature, but it allows
...
to differentiate between different branches.
- Bumbed the version number to 6.0.0-dev. I know we didn't discuss this yet,
but I feel it should be 6.0. See mail to the mailinglist.
2005-08-09 08:47:58 +00:00
foobar
000a9e3015
- Fixed problem with -dextension=foobar.so not having it's MINIT run.
2005-08-08 16:49:44 +00:00
Hartmut Holzgraefe
47ae4b0cb9
typo fix
2005-08-07 15:13:50 +00:00
foobar
8864ad2606
- This ini option is only effective when set in php.ini or httpd.conf
...
or .htacces, etc. as GPC variables are set before any ini_set() is called
2005-08-05 21:44:26 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
990f7043d9
Fixed bug #33958 (duplicate cookies and magic_quotes=off may cause a crash)
2005-08-02 17:01:05 +00:00
Ilia Alshanetsky
22db404132
Fixed bug #33904 (input array keys being escaped when magic quotes is off).
2005-07-29 15:43:37 +00:00
foobar
f66d5f0cc5
- Fixed few logic errors in php*.ini search path creation as documented here:
...
http://fi.php.net/manual/en/configuration.php#configuration.file
#
# Before this patch:
#
# $ strace php -r 'echo 1;' 2>&1 | grep php.ini
# open("/www/php/lib/php.ini", O_RDONLY) = 3
# lstat64("/www/php/lib/php.ini", {st_mode=S_IFREG|0640, st_size=46264, ...}) = 0
#
# With this patch:
#
# $ strace php -r 'echo 1;' 2>&1 | grep php.ini
# open("./php.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
# open("/usr/src/php5_1_full/sapi/cli/php.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
# open("/www/php/lib/php.ini", O_RDONLY) = 3
# lstat64("/www/php/lib/php.ini", {st_mode=S_IFREG|0640, st_size=46264, ...}) = 0
#
2005-07-29 14:29:27 +00:00
Antony Dovgal
98694f919c
ws fix
2005-07-27 15:16:14 +00:00
Hartmut Holzgraefe
882cb200cc
edge case: do not remove trailing slash for root directory (Bug #33882 )
2005-07-27 15:13:50 +00:00
Hartmut Holzgraefe
7e071d9a1f
php.ini search logic needs to use the absolute path of the running binary
...
when looking for php.ini in the directory the php binary is installed in
2005-07-27 15:12:18 +00:00
Anantha Kesari H Y
a29793c4d2
NetWare can make use of autoconf based build
...
--Kamesh
2005-07-26 13:12:02 +00:00
Rasmus Lerdorf
c35454440c
I could have sworn I committed this a while ago. Just a tiny NULL safety
...
check here.
2005-07-25 22:37:35 +00:00
Wez Furlong
27c24383ee
revert my last change; chasing ghosts.
...
# the lesson is, ensure that php4 and php5 aren't loaded at the same time
2005-07-19 19:25:33 +00:00
Wez Furlong
546418a66b
Don't crash when no treat_data method has been set in the sapi module
...
# how come no one ran into this before?
2005-07-19 18:59:46 +00:00
Ilia Alshanetsky
e77c65f081
Revert cookie patch for BC reasons.
2005-07-18 19:18:03 +00:00
Dmitry Stogov
70bd938bbd
Fixed bug in new module statrup mechanism
2005-07-18 16:20:08 +00:00
Wez Furlong
8c57c3a9fe
compile before commit (gah!)
2005-07-18 14:12:52 +00:00
Wez Furlong
c4ba9edd57
Apparently our pipe detection code just above this isn't foolproof.
...
Catch it here.
2005-07-18 13:28:24 +00:00
Ilia Alshanetsky
75e6dd1c61
Fixed handling of HTTP requests with multiple Cookie headers.
2005-07-18 04:04:18 +00:00
Marcus Boerger
7316ee0399
- Fix problem with debug mode on selective machines
2005-07-17 18:39:24 +00:00
Anantha Kesari H Y
d77acff66f
main/fopen_wrappers.c
...
NetWare file names are case insensitive
main/main.c
NetWare has no sendmail binary. It uses the smart host mailing code avaiolable in php distro. Could not find a better place to put this than main/main.c.
-- Kamesh
2005-07-16 12:21:34 +00:00
Andi Gutmans
bdf2753ee8
- Back to -dev
2005-07-14 14:01:02 +00:00
Andi Gutmans
a007ddb190
- Beta 3
2005-07-14 13:44:03 +00:00
foobar
ec940d4d5a
- Fixed cacheing bug in PHP_SOCKADDR_SA_LEN macro
...
- Removed duplicate sa_len check from configure.in
- Unified the sockaddr tests into PHP_SOCKADDR_CHECKS macro
2005-07-14 00:12:26 +00:00
Ilia Alshanetsky
85e237888c
Fixed bug #33673 (Added detection for partially uploaded files).
2005-07-13 20:44:08 +00:00
Andi Gutmans
f030fe2f3a
- Back to -dev
2005-07-12 20:25:28 +00:00
Andi Gutmans
897818e1a0
- Beta 3
2005-07-12 19:59:52 +00:00
Ilia Alshanetsky
0131b2b032
Fixed double-free in the digest authentication handling.
...
# Found and Reported by Stefan Esser
2005-07-12 16:53:30 +00:00
Marcus Boerger
c1717ed8e6
- Fix *printf(%lld) under windows
2005-07-08 20:19:38 +00:00
Dmitry Stogov
43c84919be
Fixed crash in ext\standard\tests\general_functions\bug32647.php on Windows
2005-07-05 14:13:46 +00:00
Anantha Kesari H Y
fe81fa0338
NetWare LibC has reentrant time functions no need to have this.
...
-- Kamesh from hyanantha's account
2005-07-01 07:55:28 +00:00
foobar
6cea418c31
Netware also uses autoconf based config now
2005-06-30 14:11:13 +00:00
Ilia Alshanetsky
87d6f497f7
Likely fix for bug #33140
2005-06-24 02:04:19 +00:00
Andi Gutmans
ec92bb884e
- Back to -dev
2005-06-23 04:20:49 +00:00
Andi Gutmans
fe238490f9
- Beta 2
2005-06-23 03:56:37 +00:00
Andi Gutmans
da201c1be8
- Back to -dev. Guys (n' Girls), give at least 1 hour before you start
...
- complaining about not going back to -dev. I like checking the tarball
- before I change it back.
2005-06-21 16:31:19 +00:00
Andi Gutmans
9bf68ef6c5
- Take #3 :)
2005-06-21 15:44:50 +00:00
Antony Dovgal
79d649e173
fix memleak when connection fails (and we still keep trying)
2005-06-20 23:16:27 +00:00
Andi Gutmans
cf0c7a9f5a
- Back to -dev
2005-06-20 22:34:57 +00:00
Andi Gutmans
fd3d8e9537
- Beta 2
2005-06-20 20:49:56 +00:00
Antony Dovgal
e05ec94e1e
reorder and prevent memleak: bailout after free()
2005-06-20 19:58:51 +00:00
Ilia Alshanetsky
3b79941168
Fixed bug #31054 (safe_mode & open_basedir checks only check first
...
include_path value).
2005-06-20 15:59:13 +00:00
foobar
a6c7324979
- No extra spaces before #ifndef
2005-06-20 07:04:07 +00:00
Dmitry Stogov
f47c78487b
Improved PHP extension loading mechanism with support for module dependencies and conflicts
2005-06-17 09:39:23 +00:00
Ilia Alshanetsky
aa52c68a7a
bzero > memset
2005-06-14 13:09:04 +00:00
Sebastian Bergmann
1d9baf3dd5
ZTS fix.
2005-06-14 05:13:01 +00:00
Ilia Alshanetsky
b36d4ae02c
Added bindto socket context option.
2005-06-14 02:39:42 +00:00
Andi Gutmans
16bbd70cd5
- Back to -dev
2005-06-11 17:03:42 +00:00
Andi Gutmans
e0787f3d24
- b2 (will post it to internals@)
2005-06-11 16:59:24 +00:00
Andi Gutmans
0638c657e1
- Back to -dev
2005-06-10 18:29:10 +00:00
Andi Gutmans
3b1f8e9ad7
- Go with 5.1.0b1
2005-06-10 18:06:43 +00:00
Wez Furlong
a4874a5533
hmm, backing out this change, as it seems to cause problems with user-space
...
streams and filters (the ZE needs to close them before it blows away the
user-space code.
Noticed by Dmitry. Still need to find out how to avoid double-closing streams.
2005-06-09 12:15:14 +00:00
foobar
61e9d432d9
silence warning
2005-06-06 22:01:41 +00:00
Wez Furlong
6b29526617
Don't crash when compiled with the zend memory manager disabled.
2005-06-06 01:52:18 +00:00
Wez Furlong
42ada22e0c
Avoid double-freeing streams.
...
This can happen because all streams are registered as resources;
the engine also tracks them in the open_files global.
Avoid the potential for double-freeing by simply making streams exposed to the
engine have no closer for the engine to call; they will already be in the
resource list, and thus will be shut down properly at request end.
2005-06-06 01:51:48 +00:00
Zeev Suraski
5d880ee78c
__halt_compiler() patch interface
2005-06-04 16:16:53 +00:00
Dmitry Stogov
8b134356ef
Disabled search of recored separator outside of buffer
2005-06-01 15:11:44 +00:00
Dmitry Stogov
28446a4e45
Fixed "refcount" counting for autoglobals
2005-06-01 09:44:10 +00:00
Dmitry Stogov
84fef05939
Fixed possible memory corruption on request shutdown
...
`valgrind -q --tool=memcheck sapi/cli/php tests/reflection/001.phpt`
2005-05-31 17:42:15 +00:00
Dmitry Stogov
1add2cc70e
Fixed bug #29971 (variables_order behaviour)
2005-05-25 17:41:50 +00:00
foobar
396affc81e
nuked unused header file
2005-05-24 15:24:33 +00:00
foobar
158605a267
- Remove unused file
2005-05-24 15:16:04 +00:00
Antony Dovgal
041b37b2b9
make it compile on Win32 (thanks to Sebastian for noticing)
2005-05-24 10:13:52 +00:00
Ilia Alshanetsky
d367b7b913
Fixed bug #32810 (temporary files not using plain file wrapper).
2005-05-23 21:48:51 +00:00
Antony Dovgal
d4db964aed
revert by Wez's request
2005-05-23 15:36:58 +00:00
Antony Dovgal
201fbc48e6
fix bug #32810 (fread after tmpfile() reads only 8192 bytes)
2005-05-23 11:51:53 +00:00
Antony Dovgal
d5bb03b11a
fix bugs #32742 (segmentation fault when the stream with a wrapper is not closed),
...
#32171 (Userspace stream wrapper crashes PHP)
2005-05-16 08:37:14 +00:00
Wez Furlong
4cabeaf1c7
fix inverted logic and thus Bug #27508
2005-05-11 02:02:27 +00:00