Wez Furlong
b2703047ab
Added uudecode support (MIME name "x-uuencode")
2001-05-12 23:42:09 +00:00
Wez Furlong
615086c2c9
prototype for php_file_le_stream()
2001-05-12 21:49:13 +00:00
Wez Furlong
7a88deb402
expose streams to other extensions.
2001-05-12 21:48:39 +00:00
Daniel Beulshausen
e91089edb9
hopefully fix win32 build, untested
2001-05-12 20:01:59 +00:00
Sascha Schumann
e5176fe60a
First step towards full libtool 1.4 portability
2001-05-12 12:22:34 +00:00
Sascha Schumann
afdaee9e47
Nuke more quotes
2001-05-12 11:09:05 +00:00
Sascha Schumann
9982ff568a
Nuke some unneccessary quotes
2001-05-12 10:33:52 +00:00
Sascha Schumann
b18077179d
Default to including expat.h
2001-05-12 10:22:16 +00:00
Sascha Schumann
cd30f5a6eb
Rename some custom macros from AC_* to PHP_*
2001-05-12 09:26:47 +00:00
Sascha Schumann
718b588b14
Fix indentation of ./configure --help messages.
2001-05-12 09:13:42 +00:00
Sascha Schumann
8a3eb51a26
Replace ssize_t with long, as Win32 lacks proper support for that type.
2001-05-12 08:39:33 +00:00
Thies C. Arntzen
679f794eb4
add missing file
2001-05-12 08:21:20 +00:00
Wez Furlong
340c56e5c7
Fixed leak.
2001-05-12 00:45:55 +00:00
foobar
be3b514637
Fixed bug: #10823
2001-05-12 00:15:08 +00:00
Andrei Zmievski
ae90bcf16d
Open season on memory leaks, shoot all you can.
2001-05-11 21:29:47 +00:00
Sascha Schumann
7566cf7f27
Fix special treatment of zlib by introducing the Apache concept
...
of config.m4 hierarchies.
2001-05-11 20:09:31 +00:00
Jason Greene
c115a75544
Rewrote stat() and fstat() to be memory efficient, due to a recent
...
thread on php-dev.
Note: I added a macro that might have use in other instances, but for now
is included in php_filestat.h
2001-05-11 19:55:44 +00:00
Thies C. Arntzen
cd2f057f1a
bump bundled expat to 1.95.1
...
win32 project _needs_ updating and i don't have windows
2001-05-11 17:57:37 +00:00
Sascha Schumann
814fa2c71c
Save a couple of syscalls per session
...
Fix apparent new-session-files-were-not-locked bug
Replace %m with portable "%s", strerror(errno)
2001-05-11 17:43:40 +00:00
Andrei Zmievski
1db2516277
Start cleaning up domxml memory leaks. Still much stuff to do.
2001-05-11 16:14:19 +00:00
Derick Rethans
04bd8d9174
Tabs please...
2001-05-11 13:34:49 +00:00
Sebastian Bergmann
e69f4dc51c
Fix for bug #10815 .
2001-05-11 13:32:10 +00:00
foobar
cf75b18a8d
Fixed problems which were caused by the previous patches.
...
#And the usage of PHP_ADD_LIBRARY_DEFER is clear to me now..:)
2001-05-11 10:04:06 +00:00
Jason Greene
7f3291ae8c
Fix is_executable test.
2001-05-11 02:45:49 +00:00
Jason Greene
0ed93d71b2
@fstat() and stat() now return identical output by returning a numerical and
...
@string indexed array (Jason)
(Andrei's suggestion to still allow backwords compatibility.)
2001-05-11 01:47:46 +00:00
foobar
5bc7cf90cd
default to /usr/local
2001-05-10 23:55:56 +00:00
Frank M. Kromann
c1b7b83d45
Fixing some proto types
2001-05-10 16:35:05 +00:00
Andrei Zmievski
f071e8c566
Always free the callback_name when using zend_is_callable().
2001-05-10 16:30:12 +00:00
Zeev Suraski
4c10e198e2
Fix buggy line split
2001-05-10 14:25:48 +00:00
Rui Hirokawa
45a2e761e7
fixed bug of mb_substitute_character() and mb_substr() in mbstring.
2001-05-10 13:12:03 +00:00
foobar
9fa37f60dc
Fixed bug: #10779
2001-05-10 09:25:32 +00:00
foobar
9cce67f16d
Cleaning this a bit too. Now I'm also able to configure and compile
...
with the test for imap-ssl.
2001-05-10 06:58:25 +00:00
Sterling Hughes
b01ba3f820
Fix naming issue
...
# UNTESTED, but it should do the trick
# everyone on a winblows box please try out the change
2001-05-10 05:42:54 +00:00
foobar
a972b6aa5b
Cleaning up here too.
2001-05-10 00:59:41 +00:00
foobar
5f20be7315
Moved the zlib configure before other extensions.
2001-05-10 00:57:36 +00:00
foobar
14e883c3a0
Cleaned up this a bit..
2001-05-10 00:55:48 +00:00
Wez Furlong
63b3fa262c
Reverse my earlier patch for mysql_db_query() & emit an E_NOTICE of it's
...
deprecated status.
# Should it be a warning or a notice?
2001-05-09 22:28:16 +00:00
Frank M. Kromann
4d1c545a9c
Switching to zend_register_list_destructors_ex()
2001-05-09 21:44:44 +00:00
Andrei Zmievski
8112d1beba
@- Added is_callable() function that can be used to find out whether
...
@ its argument is a valid callable construct. (Andrei)
2001-05-09 20:06:39 +00:00
Frank M. Kromann
5258141db8
Minor change to the way string lengths are calculated and space alocated.
2001-05-09 19:18:04 +00:00
Frank M. Kromann
90243d2cf0
Getting rid of memset.
2001-05-09 16:20:34 +00:00
foobar
3d430e4141
The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s
2001-05-09 15:38:29 +00:00
Wenhui Zhang
b6b5039f25
Change for Empress PHP support
2001-05-09 15:35:31 +00:00
Rui Hirokawa
223eca31fb
remaked mb_gpc_handler as mb_parse_str() in mbstring.
2001-05-09 11:18:11 +00:00
Sterling Hughes
59d4dfc4c6
fix crash bug (unlikely, but this is the only place where the reported bug
...
would make sense, and it can't hurt)...
2001-05-09 04:54:46 +00:00
foobar
1a032963ea
Fixed a typo.
2001-05-09 01:41:53 +00:00
Harald Radi
ffefed1972
E_ERROR instead of E_WARNING on nullpointer exceptions
2001-05-09 00:00:01 +00:00
Frank M. Kromann
383c757a43
Use RETURN_ macros to define function returns.
...
Fix fetch functions to return values from array data structure
2001-05-08 22:58:32 +00:00
foobar
3d856be7f6
No need to show these if they are not used.
2001-05-08 22:18:00 +00:00
Dan Kalowsky
b3a509ac9e
this is a fix for bug 10250. it basically provides the unixODBC driver with
...
access to the SQLDriver functions. patch originally submitted by
dzoll@nyscul.org , and is going to be tested by some of the unixODBC people.
2001-05-08 19:47:20 +00:00
Frank M. Kromann
8a030b9809
Fixing the use of compatibility mode. When the flag is off the system should return correct PHP types (default) when the flag is on strings will be returned for all data types.
2001-05-08 19:24:14 +00:00
Frank M. Kromann
aaebbecdcf
Fixing the use of compatibility_mode setting in php.ini.
...
Nuking trailing spaces when returning a string.
2001-05-08 18:10:25 +00:00
Rui Hirokawa
0a452b2ff2
added mb_language to ext/mbstring.
2001-05-08 14:33:20 +00:00
foobar
da0162a9de
Fix the build.
...
# I promise not to commit if I'm tired.. :(
2001-05-08 11:08:08 +00:00
James Moore
7056620699
Give correct warnings if certain libaries/verisons are not avalible
2001-05-08 00:23:59 +00:00
Zeev Suraski
ff11c36dc5
Avoid crashing if somehow, output is sent in a new thread tha had no requests
2001-05-07 22:00:13 +00:00
Marc Boeren
a7bff5d8f1
Passed db_handle to dbx_error_function instead of NULL (Mc)
...
# I don't know why it worked on my machine, but now it works
# because the code is right, not through magic :)
2001-05-07 14:49:05 +00:00
Rui Hirokawa
156a461117
update address of licence term in mbstring.
2001-05-07 13:58:00 +00:00
Wez Furlong
21ec6e2993
Enabled optional result_mode param in mysql_db_query() to make it behave
...
as mysql_unbuffered_query (can be either MYSQL_USE_RESULT or
MYSQL_STORE_RESULT)
2001-05-07 11:02:31 +00:00
Sascha Schumann
21eee58f6f
As the WDDX extension can now be built as shared extension
...
without functional loss with regard to the session serializer, it
is safe to default to disable. We enable XML automatically only,
if the user is building WDDX as a static extension.
2001-05-07 08:22:34 +00:00
Egon Schmid
78ee5d56b3
Fixed some protos.
2001-05-06 22:25:14 +00:00
Sterling Hughes
7bf6869583
fix crash bug
2001-05-06 22:24:25 +00:00
Rui Hirokawa
a09844a981
fixed divided by zero exception and lack of multidimentional array support in mbstring.
2001-05-06 22:06:10 +00:00
Sterling Hughes
af58697165
fix compile bug.
2001-05-06 21:38:58 +00:00
foobar
3a56faeec9
Attempt to fix the build when a c-client lib with kerberos, pam and ssl
...
is used.
2001-05-06 20:16:49 +00:00
James Moore
f3342a5b55
Fix win32 build
2001-05-06 19:20:25 +00:00
Derick Rethans
9f5e71bd42
- Nuke warning
2001-05-06 18:53:45 +00:00
Derick Rethans
b181237582
- Partial fix for bug #9050 , support for "Jan 19 2000" date format
2001-05-06 18:33:49 +00:00
foobar
6c21f7ef0f
Moved ts_alloca_id() into MINIT like Andi requested.
2001-05-06 17:55:10 +00:00
foobar
8e006f81af
Fix bug: #8834 . Now there should be more random salts..
2001-05-06 16:54:27 +00:00
foobar
9d1817ed7f
Fix bug: #10323 . Every value outputted is now escaped.
2001-05-06 15:20:56 +00:00
Sascha Schumann
eba7a8c8e6
Fix broken build
2001-05-06 10:33:21 +00:00
Wez Furlong
4f943b6012
Fixed win32 build problem.
2001-05-06 09:39:11 +00:00
Egon Schmid
58d2b0a52b
Corrected one proto.
2001-05-06 06:33:48 +00:00
foobar
9ce123076f
Beutify phpinfo() output.
2001-05-06 06:14:12 +00:00
foobar
60ad79335c
Added a check that libc-client support SSL.
2001-05-06 05:39:16 +00:00
foobar
8d99685a4a
Removed usused variables.
2001-05-06 05:38:46 +00:00
Rui Hirokawa
b0d91b12f8
fixed a compilation problem without --enable-mbstr-enc-trans.
2001-05-06 02:44:12 +00:00
Rasmus Lerdorf
4f059abacf
Add pg_last_notice() function
2001-05-06 01:34:56 +00:00
Wez Furlong
3ffb8e3800
Nuke buffering from php_streams, move connect_nonb() from fsock.c to network.c
...
and rename to php_connect_nonb().
Use php_connect_nonb() instead of connect() in php_hostconnect() -> timeouts
should now work in php_hostconnect().
sock streams abstraction now uses php_sockbuf as the "abstract" pointer.
2001-05-05 18:36:22 +00:00
Wez Furlong
080fdabc85
Added Sascha Kettler to credits
2001-05-05 11:29:01 +00:00
Sascha Schumann
d998ae4e5b
Fix broken ZTS build.
2001-05-05 11:11:32 +00:00
Zeev Suraski
52ba317606
emalloc()'d strings must be freed before the request shutdown;
...
Rule of the thumb: initialize in RINIT, clean in RSHUTDOWN
2001-05-05 01:42:15 +00:00
Wez Furlong
b379cd968c
Merged and adapted a patch from Sascha Kettler <kettler@gmx.net> that provides
...
some asymmetric RSA encrypt/decrypt functions.
2001-05-04 23:42:11 +00:00
Chuck Hagenbuch
2f8eef81f5
Add support for in_reply_to header, and fix erealloc usage ("Johan Ekenberg"
...
<johan@ekenberg.se>).
2001-05-04 20:03:47 +00:00
Jason Greene
bb131011a7
Fixed bug in my previous patch, forgot to reset connect error globals
...
on request startup.
2001-05-04 18:27:15 +00:00
foobar
a3c90853a0
Fix bugs: #10642 , #10612
2001-05-04 17:57:58 +00:00
Andrei Zmievski
0eecec7773
@- Fixed a bug in preg_split() that would incorrectly limit the number of
...
@ results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Fixed a bug in preg_split() that would incorrectly limit the number of
results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Also made limit = -1 when limit = 0, to emulate Perl.
2001-05-04 16:43:53 +00:00
Thies C. Arntzen
a085b708e1
namespace-protect "open"
2001-05-04 14:53:45 +00:00
Rui Hirokawa
c0624c769b
fixed a memory leak in ext/mbstring.
2001-05-04 10:42:54 +00:00
Marc Boeren
a3d3819f6f
Forgot the Visual Studio project, added now (Mc)
...
Updated CREDITS (Mc)
2001-05-04 09:43:57 +00:00
Marc Boeren
a56162243a
Registered db-module constants for use in dbx_connect (Mc)
...
Added support for Microsoft SQL Server (Mc)
2001-05-04 09:42:45 +00:00
Marc Boeren
e3770563fc
Added docs about creating dbx-support for other databases. (Mc)
2001-05-04 09:39:52 +00:00
Sebastian Bergmann
d92522c8d1
Nuke unreferenced local variables.
2001-05-04 06:25:10 +00:00
Sterling Hughes
1ae44c8e49
Make it compile with the latest cURL cvs, heck it even works.
2001-05-04 04:20:38 +00:00
Rui Hirokawa
93e7521639
added status parameter to output handler in ext/iconv.
2001-05-04 03:55:48 +00:00
Jason Greene
8405c36815
@ Added connection error support to mysql_error() and mysql_errno() (Jason)
...
This should work correctly without causing compatibility issues with previous
scripts. Someone might want to double check this change, just in case.
2001-05-04 01:14:26 +00:00
Derick Rethans
8909c33319
- Applied a patch that enables getimagesize to return the size of .bmp and
...
.psd files (Patch by Paul Jongsma <paulj@webtic.com>)
@- Added support to getimagesize to return dimensions of BMP and PSD
@ files (Derick)
2001-05-03 21:28:26 +00:00
Chuck Hagenbuch
3fc7a7aef7
add crash guard (valid message number check) to imap_body().
2001-05-03 19:44:42 +00:00
Chuck Hagenbuch
d0af2440e6
removing references to IMSP module, which will probably never be ported to
...
php4 (lack of a publically available library implementing it).
2001-05-03 19:32:49 +00:00