Commit Graph

7907 Commits

Author SHA1 Message Date
Derick Rethans
5c0b6f7fa8 - Please use tabs for indentation 2002-09-05 14:32:47 +00:00
Anantha Kesari H Y
8b8f1e0590 NetWare related additions/modifications 2002-09-05 14:25:07 +00:00
Ilia Alshanetsky
eb58557e1c Fixed a buffer overflow that occurs when wordwrap is unable to calculate
the correct number of times the multi-byte break needs to be inserted into
the string.
2002-09-05 14:00:28 +00:00
Anantha Kesari H Y
96a4626b68 NetWare related additions/modifications 2002-09-05 12:09:57 +00:00
Anantha Kesari H Y
3e867bfdb1 NetWare related additions/modifications 2002-09-05 12:03:43 +00:00
Anantha Kesari H Y
bbc162d164 NetWare related additions/modifications 2002-09-05 11:50:43 +00:00
Anantha Kesari H Y
76d94e57ab NetWare related additions/modifications 2002-09-05 11:35:10 +00:00
Derick Rethans
60dcc761ac - php_error -> php_error_docref
- corrected proto of implode() (to match the docs)
2002-09-05 11:29:31 +00:00
Anantha Kesari H Y
98a1d774df NetWare makefile for LDAP Extension 2002-09-05 11:26:05 +00:00
Anantha Kesari H Y
ad844f0b1b NetWare related additions/modifications 2002-09-05 11:22:20 +00:00
Hartmut Holzgraefe
101d155baa in stristr:
this check was in the wrong place, the real version was some lines
below, this one assumed the type was 'string' in any case
now it looks like strstr
2002-09-05 11:12:01 +00:00
Anantha Kesari H Y
77e2ed4834 NetWare related additions/modifications into FTP files 2002-09-05 10:13:27 +00:00
foobar
c40262ef99 This _should_ fix those builds where gd.h might be in many places in
the system. Not guaranteed, but now the path for the found gd.h is always
first in the includes.
2002-09-05 00:24:33 +00:00
foobar
ba057e9bf3 Fix build with GD < 2.0.x 2002-09-05 00:22:40 +00:00
Yasuo Ohgaki
9e252a9616 php_error -> php_error_docref 2002-09-04 22:25:13 +00:00
foobar
3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
foobar
dcf995c648 ws fix 2002-09-04 17:41:51 +00:00
foobar
25e91506cb Fix the shared build (nobody ever build this as shared?) 2002-09-04 17:40:36 +00:00
Martin Kraemer
20f85627f5 The sasl.h file is in .../include/sasl/ (at least in cyrus-sasl-2.1.6) 2002-09-04 14:41:29 +00:00
foobar
f05db43a68 Fix bug: #19212 2002-09-04 14:30:36 +00:00
Sebastian Bergmann
419321979d Don't build ext/overload with Zend Engine 2. 2002-09-04 13:55:52 +00:00
Dan Kalowsky
e5324723d0 sniper claims its safe to take these out as well. 2002-09-04 13:52:41 +00:00
Dan Kalowsky
65df9d5127 taking out the PWRITE calls too 2002-09-04 13:51:08 +00:00
Dan Kalowsky
31fe6a549f This fixes Bug #19022 and #15983 2002-09-04 13:42:59 +00:00
Martin Kraemer
ab2df38f3d Fix bogus test 2002-09-04 12:50:41 +00:00
Anantha Kesari H Y
06e2fabc02 To include the NetWare config file 2002-09-04 11:20:18 +00:00
Yasuo Ohgaki
38ef35e5b0 Fixed undefiend referece at build time.
Fixed transilit test script.
Make fixes available on Windows.
Patch by Yoshimori Koizumi<readjust@deneb.freemail.ne.jp>
2002-09-04 05:17:16 +00:00
Dan Kalowsky
610b2b76d7 Fix for bug #19155 UNTESTED. Unfortunately I don't have a way to test it
hopefully the user will.
2002-09-04 04:24:54 +00:00
Dan Kalowsky
21e5f8ed77 No C++ comments, again! 2002-09-04 04:03:20 +00:00
Dan Kalowsky
4efc96d575 No C++ Comments 2002-09-04 03:57:59 +00:00
foobar
639221694f Use zend_ini_string instead of the 'alias'. 2002-09-03 22:54:02 +00:00
Rasmus Lerdorf
86c4c1730e Check for uppercase function names in .def files - patch from David Viner 2002-09-03 20:57:20 +00:00
Rui Hirokawa
ee2e4ed41f removed #ifdef for mbstring.encoding_translation. 2002-09-03 09:11:33 +00:00
Rui Hirokawa
9b33531910 *** empty log message *** 2002-09-03 05:20:40 +00:00
Rui Hirokawa
7678ada2b8 --enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie variables. the same functionality is controllable in php.ini option mbstring.encoding_translation (default:Off). 2002-09-03 05:18:20 +00:00
Sergey Kartashoff
e32f35eb4e - Udm_Cat_Path, Udm_Cat_List, Udm_Get_Doc_Count functions have been fixed
to work with mnogosearch-3.2.6 and later.
- Removed search words highlighting while getting document URL in
  mnogosearch extention
2002-09-01 14:11:46 +00:00
Jan Lehnardt
2334abeff4 - cosmetics 2002-08-31 21:43:54 +00:00
Adam Dickmeiss
b18b6f3691 Bug fix: dont cache connection if proxy setting have changed 2002-08-30 13:26:41 +00:00
foobar
06fe943795 Fix shared build 2002-08-30 03:52:41 +00:00
foobar
4e34d6ce27 Fix bug: #19124, xmlrpc extension builds ok now as shared extension. 2002-08-30 02:57:13 +00:00
foobar
55b22b16a2 xpm.h is sometimes in /usr/include/X11 (or /usr/X11R6/include/X11) 2002-08-30 02:44:45 +00:00
foobar
bda34955db Fix the build when bundled gd library is used 2002-08-30 02:41:52 +00:00
Jan Lehnardt
81dcd62bc2 - seperate registered streams.
#read: make sebastian happy ;)
2002-08-29 18:28:11 +00:00
Ilia Alshanetsky
7a7497e21b Fixed the \0 check in previous patch. 2002-08-29 15:58:33 +00:00
Ilia Alshanetsky
337448322f Fixed bug #18966 2002-08-29 15:44:00 +00:00
foobar
e040302807 Remove unnecessary whitespace 2002-08-29 15:28:09 +00:00
Jan Lehnardt
e1cac684df - fix ZTS build. thanks to edin. 2002-08-29 09:11:22 +00:00
Marcus Boerger
38247a7993 One zero to much 2002-08-29 08:32:41 +00:00
Derick Rethans
9d31d92712 - EXIF is about meta data from images, not for digital cameras 2002-08-29 05:36:42 +00:00
foobar
04bbf46957 Fix bug: #19159, mysql_field_count was available since 3.22.24 2002-08-29 01:17:24 +00:00
foobar
715615ea6b revert that undiscussed change until it is really agreed upon. 2002-08-29 00:55:24 +00:00
Ilia Alshanetsky
f387972a97 Fixed compile warning (unused variable)
Added a \n separator between Addition Modules
2002-08-28 23:19:59 +00:00
Jan Lehnardt
6676617693 - add phpinfo() support for CLI.
@phpinfo() support for CLI (jan)
2002-08-28 22:31:51 +00:00
Rasmus Lerdorf
89651dabde Description didn't match the function here 2002-08-28 22:14:42 +00:00
Marcus Boerger
562b78f422 Enable EXIF by default as discussed with Rasmus
@Made EXIF (digital camera) extension enabled by default. (Marcus)
2002-08-28 19:31:01 +00:00
Derick Rethans
a235002eeb - Let's make this a little bit more professional :) 2002-08-28 12:10:00 +00:00
Derick Rethans
5b9a26da81 - Whitespace 2002-08-28 09:28:06 +00:00
Jason Greene
b3a1998386 @socket_recvfrom is now binary safe (Jason)
Zero the structure so that when the tcp layer of the OS decides to ignore it,
we do not think we are getting a value
2002-08-28 06:15:13 +00:00
Dan Kalowsky
936df3c34f silence build warning, added default case 2002-08-28 06:13:49 +00:00
foobar
d102e54d5b This extension is not forced to be compiled as shared. 2002-08-28 02:44:40 +00:00
foobar
3410e25b17 Added the header and removed some commented out stuff (wrong place anyway) 2002-08-28 02:43:46 +00:00
foobar
73f43e35f0 ws fixes 2002-08-28 02:38:17 +00:00
foobar
1939764d98 Fix ZTS build 2002-08-28 02:08:57 +00:00
Brad House
77208efb26 Adding a left-out command 2002-08-27 20:55:48 +00:00
Marcus Boerger
1ab90386cf Some requirements engineering: today necessary defines exists where
needed.
2002-08-27 20:10:46 +00:00
Marcus Boerger
d1b56bf810 php_error_docref
BUT didn't we decide to disable those functions when not supported
instead of displaying an error?
2002-08-27 19:40:55 +00:00
Marcus Boerger
965ecdb3a6 php_error_docref 2002-08-27 15:32:04 +00:00
Marcus Boerger
a8027c1428 Remove this nonsense - this makes the module unpredicable since we do
not have default values in ini and more encodings will follow.
2002-08-27 14:57:09 +00:00
Christian Stocker
e8b3e2abe7 fix some to long property strings 2002-08-27 08:40:44 +00:00
Christian Stocker
b29110dd3d argh, domxml_doc_free is not yet ready for CVS :) 2002-08-27 07:33:55 +00:00
Christian Stocker
567c4bbe4b stupid typo 2002-08-27 07:25:53 +00:00
Christian Stocker
e0b4533eeb fix memleak in php_domxslt_string_to_xpathexpr 2002-08-27 06:54:21 +00:00
Marcus Boerger
a3c5628f82 -php_error_docref
-nuke unused variable
2002-08-27 00:44:57 +00:00
Marcus Boerger
f06fcbd59a header for last commit 2002-08-27 00:44:07 +00:00
Marcus Boerger
36ede8b86f -fix memory leak on failure
-only use one function for nearly identical things
-fix stripslashes not working on input directly
2002-08-27 00:20:37 +00:00
Marcus Boerger
6063c8c478 fix fwrite to no longer apply stripslashes on input string when
magic_quotes_runtime is set On.
2002-08-26 23:18:59 +00:00
Marcus Boerger
f0b492b88d fix proto and tweak error message 2002-08-26 23:16:51 +00:00
Wez Furlong
cfb5002e0b Implement com_invoke_ex, which allows the user to specify the invoke kind
flags, so that custom invocations can be made.
Tidy up code for com_propget and com_propset, so that it can work with
objects as well as resources.
# This code is from a couple of months ago, and has been hanging around
# on my windows dev box; I'm not entirely sure where I needed com_invoke_ex,
# but the additions to propget and propset are useful.
2002-08-26 13:36:35 +00:00
Derick Rethans
fc7eb838fc - Whitespace 2002-08-26 09:47:46 +00:00
Derick Rethans
7edb660af9 @- Use escape_shell_cmd() to allow multiple extra parameters to the
@  invocation of the mailer as used in the fifth parameter to mail(). (Derick)
- Use escape_shell_cmd() to allow multiple extra parameters to the invocation
  of the mailer as used in the fifth parameter to mail().
2002-08-26 09:44:31 +00:00
Jason Greene
1ce75e3a63 Implement socket errno values for UNIX based platforms.
They are all prefixed with SOCKET_ to preserve name space
Win32 will follow...
2002-08-25 23:28:42 +00:00
Sebastian Bergmann
e8b50bc834 Fix ZTS build. 2002-08-25 22:17:56 +00:00
Wez Furlong
ddddf398af WS 2002-08-25 19:44:25 +00:00
Ilia Alshanetsky
64ef43ecd4 Slight optimization of php_strtoupper & php_strtoupper functions. 2002-08-25 19:08:07 +00:00
Marcus Boerger
412c2ba7a3 MFB 2002-08-25 18:48:46 +00:00
Marcus Boerger
ba40963985 improoved error messages 2002-08-25 18:21:40 +00:00
Derick Rethans
8218b5838c @- PHP's cURL extention now requires cURL version 7.9.8 (Derick)
- Bump up required version number of cURL to 7.9.8
2002-08-25 12:24:40 +00:00
Wez Furlong
5c6ad38c31 Prevent possible problems with include_path. 2002-08-25 12:09:57 +00:00
Wez Furlong
c7be7b55d1 Add a "closing" parameter for filters to determine if a flush is the last
flush before the stream is closed.  This allows filters to finish a chunk
and write footers etc.
2002-08-25 10:26:58 +00:00
Wez Furlong
27adb75585 Remove php_stream_error as discussed with Rasmus.
Unify error messages for ext/ftp. (which was using php_stream_error).
2002-08-25 10:10:23 +00:00
Yasuo Ohgaki
798236bc93 Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them.
@ Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them. (Yasuo)
2002-08-24 22:28:28 +00:00
Yasuo Ohgaki
d23cb1686d Rename mysql_character_set_name() to mysql_client_encoding(). pg_client_encoding() is available from PHP4.0.3 and this function is available from PHP 4.3.0 2002-08-24 21:41:25 +00:00
Zeev Suraski
4b81d04210 Undeprecate mysql_db_query() 2002-08-24 13:15:35 +00:00
Stefan Esser
3efb925931 Overwrite control chars in parameters with whitespace instead of truncating. 2002-08-24 11:37:50 +00:00
Georg Richter
11bd3c08b6 changed zend_error -> php_error_docref() 2002-08-24 10:53:40 +00:00
Den V. Tsopa
a1e0e5c859 convert encoding to cp1251,cp866 was not working, fixed 2002-08-24 09:48:00 +00:00
Georg Richter
3bd2a54064 changed error messages according to CODING_STANDARDS 2002-08-24 09:27:51 +00:00
Yasuo Ohgaki
e4f9053061 Fixed typo 2002-08-24 07:19:40 +00:00
Yasuo Ohgaki
488a1e7399 Make pg_result_status() a little more useufl by ignoring invalid
parameter and return FALSE.
(i.e. pg_query() may return FALSE instead of result resource)
2002-08-24 07:18:15 +00:00
Marcus Boerger
149ad05b4f php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Zeev Suraski
5a5e206ec2 Fix import_request_variables() 2002-08-24 00:45:09 +00:00
foobar
135a1c64c4 Made this extension to use the resource stuff 2002-08-23 22:24:02 +00:00
foobar
06c6a96721 ws fix 2002-08-23 20:57:30 +00:00
Rasmus Lerdorf
53e6c07907 stream closing bug here too 2002-08-23 17:53:03 +00:00
Wez Furlong
533c16e21e Fix segfault reported by Rasmus. 2002-08-23 17:45:46 +00:00
Georg Richter
6650761f9b fixed bug #18643 2002-08-23 15:56:34 +00:00
Christian Stocker
064fb5c3cb renamed xslt_dump_* to xslt_result_dump_* to avoid confusion
# will adjust NEWS file later
2002-08-23 15:26:19 +00:00
Christian Stocker
9278d9bf1a fix memleak in xslt->dump_mem() 2002-08-23 15:19:16 +00:00
Georg Richter
0c386174db fixed bug #19016
SSL is only available for MYSQL_VERSION_ID >= 40000
2002-08-23 14:10:27 +00:00
Georg Richter
8153dfc877 fixed bug #16965 2002-08-23 10:16:19 +00:00
Zeev Suraski
a6e8e72372 Fix ob_gzhandler()'s handling of requests w/o compression but that do have
the Accept-Encoding header
2002-08-23 08:37:35 +00:00
Ilia Alshanetsky
081e420c18 Fixed a typo 2002-08-22 19:19:37 +00:00
Marcus Boerger
17743955d0 more php_error_docref 2002-08-22 19:14:27 +00:00
Marcus Boerger
727067f59c php_error_docref... 2002-08-22 18:38:44 +00:00
Wez Furlong
62b7b412e2 *cough* 2002-08-22 17:40:25 +00:00
Wez Furlong
a388ab6205 Fix error messages. 2002-08-22 17:37:46 +00:00
Marcus Boerger
902c17e05a fiw warnings 2002-08-22 16:21:32 +00:00
Christian Stocker
8e52350a49 - moved xslt_dump_ to better place
- removed unused variables
2002-08-22 16:04:28 +00:00
Christian Stocker
1a486b6676 @- Added XsltObject->dump_file($result,$filename[,$compression]) for dumping
@  xslt-result directly into a file. (chregu)
2002-08-22 15:54:23 +00:00
Christian Stocker
1f57dec2bf @- Added XsltObject->dump_mem($result) for returning xslt-result directly
@  into a string (morus.walter@web.de, chregu)

- XsltObject->dump_file() will follow
- bumped up needed libxslt version to 1.0.18
2002-08-22 15:02:41 +00:00
Christian Stocker
2ce44cd99c return version number of linked libxml2, not of the one, which it was
compiled against
2002-08-22 14:32:43 +00:00
Marcus Boerger
9b9052f27a fix zts build 2002-08-22 14:02:08 +00:00
Mark L. Woodward
7711aac1d8 Removed C++ comments 2002-08-22 13:30:03 +00:00
Edin Kadribasic
3c4c2926d0 magic.mime seems to be more common name for the file. 2002-08-22 13:23:51 +00:00
Edin Kadribasic
55173781b5 @- Made mime_magic extension available on win32 platform. (Edin)
Mime_magic extensions builds on windows now.
2002-08-22 13:16:03 +00:00
Ilia Alshanetsky
848bcf7527 Instead of hardcoding the path of magic.mime file, try to find the file
inside common paths for the file.
2002-08-22 12:21:25 +00:00
Ilia Alshanetsky
484d7793e0 Fixed a number of compile warnings. 2002-08-22 12:15:20 +00:00
Christian Stocker
47d8e08b11 @ - Added xslt_backend_version() and xslt_backend_name() for getting
@   information about the processor backend. (chregu)
2002-08-22 09:54:06 +00:00
Stefan Roehrich
0ea1dda8cd Fixed prototype.
Fixed double printing of function name in docref error messages.
2002-08-22 09:38:55 +00:00
Tim Toohey
266193159b (PHP imagecolormatch) makes a palette image match the colours in the
true-color version.
(PHP imagelayereffect) extended alpha-channel mixing effects for the
                       bundled GD library
@Added ImageColorMatch() and ImageLayerEffect() functions
@which work with the bundled GD library (ttoohey)
2002-08-22 07:28:26 +00:00
Jason Greene
261a60a360 @Made major improvents to the pcntl extension(Jason):
@ - Greatly improved performance, by switching the signal callback mechanism
@   to use ticks
@ - Implemented object signal callback ability by using array($obj, $method)
@ - Added a restart parameter to pcntl_signal, which allows you to disable
@   the default of system call restarting
Changed callback hash table to be initialized and destroyed per reqeust
(allows the ability to use request life zvals as handles)
Nuked warnings
Modified test script to adjust to new ticks backend
Some slight WS fixes
2002-08-22 04:20:10 +00:00
foobar
faff3a6e8a kill some compile warnings 2002-08-22 01:25:52 +00:00
foobar
ff5ed789bc style fix 2002-08-22 01:20:50 +00:00
foobar
0d4776625a comment out unused variable 2002-08-22 01:06:14 +00:00
foobar
7796bc12dd kill compiler warning (unused variable) 2002-08-22 00:43:18 +00:00
foobar
b9d4067001 Fix typo. 2002-08-22 00:34:07 +00:00
Marcus Boerger
d104d08a84 These require exif and mbstring 2002-08-21 23:14:40 +00:00
Ilia Alshanetsky
ea1bb5e172 Added monetary.h to prevent compile warning.
Fixed a memory leak inside money_format function, which occures if the
parameters to the function are not valid.
Fixed a segmentation fault inside money_format in the event the value
to be formated is >1024 bytes.
Made the return value of money_format be null terminated.
2002-08-21 13:14:57 +00:00
Marcus Boerger
3b24fc1c5a Reflect recent changes to exif.c 2002-08-21 11:37:22 +00:00
Marcus Boerger
95e933fc99 Fixes array test 004.phpt. Nice copy paste error. 2002-08-21 11:23:44 +00:00
Marcus Boerger
a70640480a Patch from Melvyn Sopacua <msopacua@idg.nl> finally fixes it (bug 19006). 2002-08-21 10:42:55 +00:00
Sebastian Bergmann
090e30a863 Fix ZTS build. 2002-08-21 06:22:19 +00:00
Derick Rethans
ccf51590b3 - Proper format for CREDITS files 2002-08-21 05:41:49 +00:00
Uwe Steinmann
6a79e354c1 - gave overdue credits to christian 2002-08-21 05:39:28 +00:00
Dan Kalowsky
4809e8ebbc This final change enables the ext/java to compile on OSX.
# now to do testing and ensure that it works as stated... weeee...
2002-08-21 04:42:58 +00:00
Ilia Alshanetsky
a86b1fc275 Fixed compile warning. 2002-08-21 03:59:27 +00:00
Marcus Boerger
d3d12daec4 add ini setting precision - this does not fix the real problem here 2002-08-21 03:13:33 +00:00
Marcus Boerger
e0c967508a more ini settings 2002-08-21 03:10:55 +00:00
Dan Kalowsky
a832091a2c One more patch up towards OSX compatibility...
# it compiles now with the ObjC files (Finlay Doobie rocks the casbah)
2002-08-21 01:41:22 +00:00
Marcus Boerger
be1e23cbc9 Add var_dump float format test 2002-08-21 01:27:56 +00:00
Marcus Boerger
534a63b5af Add combined base64 and md5 test 2002-08-21 01:26:21 +00:00
Marcus Boerger
9607a482b2 fix array tests
someone must have changed precision in php.ini-dist from 14 to 12
2002-08-21 01:22:02 +00:00
Dan Kalowsky
7ac1397636 Correcting english in config 2002-08-20 23:08:24 +00:00
Wez Furlong
9d348ea800 Implement filter API for streams.
Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.

Implement "string.rot13" filter

Allows the following script:

$fp = fopen("file.txt", "r");
stream_filter_prepend($fp, "string.rot13");

// File contents will be subject to a rot13 transformation before
// being output.
fpassthru($fp);
fclose($fp);
2002-08-20 20:47:47 +00:00
Wez Furlong
a9ba30cd89 fix vim modeline 2002-08-20 20:43:45 +00:00
Marcus Boerger
f15b4c1e30 change to php_error_docref()
#documentation about output relevant ini settings will be in ref.outcontrol
2002-08-20 20:22:30 +00:00
Marcus Boerger
0f8681fc69 Changed handling of output buffer sizes. 2002-08-20 20:07:00 +00:00
Marcus Boerger
7bd7e14e4c Changed handling of output buffer sizes.
#.c to follow
2002-08-20 20:01:14 +00:00
Marcus Boerger
fdf514f45c Changed handling of output buffer sizes. 2002-08-20 19:51:00 +00:00
foobar
c4d424254a remove tabs 2002-08-20 12:01:24 +00:00
Derick Rethans
c20c3fc610 - Fix for the compiler on Compaq Tru64 4.0F PK3 (bug #18974) 2002-08-20 11:18:18 +00:00
Marcus Boerger
bb258468fc NO C++ comments 2002-08-20 10:00:28 +00:00
Edin Kadribasic
e632758b19 Windows build supports returning the sql statement which failed. 2002-08-20 09:15:11 +00:00
Edin Kadribasic
48389cc2a6 Fixed build with Oracle 8.0.x (bug #18973). 2002-08-20 07:26:50 +00:00
Wez Furlong
5f9a5a7c8e Remove php_stream_sock_set_blocking and replace with
php_stream_set_option which can be used in a similar way as ioctl()
to set options for streams.

Current options include buffering and blocking support.

o Buffer control is support for stdio based streams.
o Blocking/non-blocking is supported for stdio and socket based streams.
2002-08-19 22:59:10 +00:00
Ilia Alshanetsky
6dbc0e5483 Convert the value of tz_minuteswest inside struct timezone on Windows to
minutes from seconds.
2002-08-19 21:59:46 +00:00
foobar
7ea1e2d511 Fix the build when using --with-java without any path 2002-08-19 21:49:37 +00:00
Adam Dickmeiss
e1a8983287 Make options piggyback and timeout work with ZOOM 2002-08-19 21:15:59 +00:00
Zeev Suraski
df4fdeb54e Fix a warning 2002-08-19 20:47:42 +00:00
Sander Roobol
bed405cce4 Sync with var_unserializer.re 2002-08-19 20:02:59 +00:00
Sander Roobol
47ae4068bb Made unserialize handle floats with an E notation - bug #18654
Patch by Christophe Sollet <csollet@coleebris.com>.
(I'll commit a new var_unserializer.c in a second)
2002-08-19 19:45:46 +00:00
Christian Stocker
9698d5da45 w3c adjustments :)
- has_attributes returns empty string if attribute is not there
- parent_node returns null, if no parent
2002-08-19 14:01:04 +00:00
Stanislav Malyshev
2282ac6074 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-19 10:58:18 +00:00
Stanislav Malyshev
05156fa349 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-18 12:22:28 +00:00
Ilia Alshanetsky
1aea030cf2 Corrected if() syntax in previous patch. 2002-08-18 07:54:33 +00:00
Ilia Alshanetsky
d42dbfce8e Fixed a segmentation fault that would occur if an entry contained a
non-terminated enclosure. Bug #12556
2002-08-18 06:55:32 +00:00
Anil Madhavapeddy
d5fd43be37 include PDFLIB_SHARED_LIBADD in the pdflib test, or it fails with
unresolved symbols on OpenBSD
2002-08-18 05:13:05 +00:00
James Cox
aad8f14739 reverting to 1.73 for steph (sfox@php.net)
#is it just me or reverting using cvs just suck?
2002-08-18 05:05:44 +00:00
Dan Kalowsky
4e3cb1d3c5 Bug Fix #18960 - Submitted by alan_k@php.net 2002-08-18 04:33:10 +00:00
Zeev Suraski
3b646f0e5d Use mtime instead of atime, as we always update the session file anyway. 2002-08-17 20:32:26 +00:00
Christian Stocker
6cbb350607 More W3C conformance stuff (they returned all false before..)
- DomNode->attributes() returns NULL, if not found.
- DomNode->first_child() returns NULL, if not found
- DomNode->last_child() returns NULL, if not found.
- DomNode->namespace_uri() returns NULL, if not found.
2002-08-17 11:47:21 +00:00
foobar
2ae84184d3 ws fixes 2002-08-16 23:25:53 +00:00
Dan Kalowsky
26e044a143 Silence a compiler warning, and returns the SUCCESS value on PHP_MINIT 2002-08-16 16:56:55 +00:00
Andi Gutmans
f7096fb8fc - Use tabs instead of spaces for indentation!
- Fix all sorts of ugly whitespace things.
- People, please write code according to our standards even if you don't
- like them.
2002-08-16 15:45:22 +00:00
Ilia Alshanetsky
3bd899ea43 Fixed a compile failure in Win32 caused by previous patch.
Changed else statement to comply with PHP coding standards.
2002-08-16 15:04:00 +00:00
Jason Greene
980feb5e98 Nuke warnings on strict compilers 2002-08-16 14:23:27 +00:00
Ilia Alshanetsky
f11c3a4095 Added a handler for php -r '' for SAFE_MODE 2002-08-16 12:47:56 +00:00
Sterling Hughes
88c1d8983f clean this up a bit 2002-08-16 10:08:32 +00:00
Christian Stocker
9c20c7c9ba More on the way to W3C coformance:
@- Changed DomNode->next_sibling and DomNode->previous_sibling to return NULL
@  instead of false (W3C specs). (chregu)
@- Changed DomNode->insert_before() and DomNode->append_child() to conform to
@  W3C specs (moving not copying nodes, accepting NULL as 2nd param). (chregu)
2002-08-16 08:42:41 +00:00
Ilia Alshanetsky
b284497eaf Added safe_mode & open_basedir check when a user is chaning ini options
that specify file system paths. Fixes bug #17168.
2002-08-16 01:39:10 +00:00
Zeev Suraski
900651b7ab Make unset($_SESSION['foo']) actually remove the variable from the session,
if register_globals is off.
2002-08-15 21:44:44 +00:00
Zeev Suraski
cc287d4c21 Update email address 2002-08-15 21:43:41 +00:00
Dan Kalowsky
26986164b4 Correcting some english in the comment... 2002-08-15 19:32:08 +00:00
Dan Kalowsky
dee21adc3d Fix for bug #18401, makes shuffle() properly generate all possibilities.
Patch provided by Adam Trachtenberg <adam@trachtenberg.com>
2002-08-15 19:09:05 +00:00
Christian Stocker
993d235c07 include libxml/xinclude.h to make some compilers happy 2002-08-15 18:02:25 +00:00
Dan Kalowsky
1462813bfd A fix suggested by chregu (who doesn't have karma) to re-enable older java
JDKs to work.
2002-08-15 14:18:09 +00:00
Christian Stocker
2126f799b9 proto fixes 2002-08-15 13:26:32 +00:00
Christian Stocker
c0f4035116 @ - Added DomNode->set_namespace(uri[,prefix]) (chregu)
- Added third optional parameter (prefix) to DomDocument->create_element_ns()
- generate prefix from random number, if not provided.
2002-08-15 12:43:44 +00:00
Alan Knowles
d46bdbde66 changed default stop bits to a valid value 2002-08-15 09:39:35 +00:00
Alan Knowles
08887eaaf2 changed default stop bits 2002-08-15 09:37:26 +00:00
Alan Knowles
0dc8cdd4c7 adding dio_tcsetattr and ASYNC support 2002-08-15 09:23:41 +00:00
Zeev Suraski
0e6b647741 coming to think of it, it shouldn't be necessary at all (thanks Jani :) 2002-08-15 00:37:21 +00:00
Zeev Suraski
f4196d9bd2 Fix build 2002-08-15 00:35:36 +00:00
Marcus Boerger
18ef76e361 do not include "php_have_iconv.h" 2002-08-14 23:48:52 +00:00
Yasuo Ohgaki
13a3dd7b77 Forgot to update source default. 2002-08-14 22:31:39 +00:00
Dan Kalowsky
c55d024c29 Comming a fix for a compile error found in Bug #15630
# NOTE this is NOT the supplied patch in said bug for fixing imap_utf7_decode
2002-08-14 20:55:11 +00:00
Dan Kalowsky
161e279981 Silencing a compilier warning on windows 2002-08-14 20:40:48 +00:00
Dan Kalowsky
f3fc7fe2fd Updating the error message to state a difference between libraries and
include.  Also restoring old for search to keep BC on configure
2002-08-14 17:49:41 +00:00
Christian Stocker
5c935cb372 - let DomNode->replace_child always behave correctly (acc. to W3C specs)
if the newchild had the same parent as the old child, nothing happened,
which seemed strange behaviout to me...
2002-08-14 17:38:20 +00:00
Dan Kalowsky
4b691d154a Adding a check for the binaries rather than just the directories. 2002-08-14 17:04:05 +00:00
Christian Stocker
ce71fe0288 DomNode->replace_node moves instead of copies node. 2002-08-14 16:53:56 +00:00
Dan Kalowsky
d10bf42029 JavaC doesn't take flags like this, Java jar does, pay attention kalowsky 2002-08-14 16:53:49 +00:00
Dan Kalowsky
00b467bd6a cleaning up the displayed path (removing the ./ in the middle) 2002-08-14 16:49:22 +00:00
Dan Kalowsky
38a6873f20 correcting these to be only docref's not docref1's 2002-08-14 16:23:16 +00:00
Dan Kalowsky
73557f5b52 Adding in MSG_RESULT check and \n for configure output viewing 2002-08-14 16:22:20 +00:00
Christian Stocker
c0a79401fd - fix for bug #17771 (insert_before misbeaviour (DOM L2 spec.))
@ - DomNode->insert_before behaves now according to W3C spec
@   ie. new_child is moved, not copied. (chregu)
2002-08-14 16:12:18 +00:00
Dan Kalowsky
9f597d2dd1 Correcting mis-versioned comment 2002-08-14 16:11:49 +00:00
Dan Kalowsky
8d9487c00e JAVA_INCLUDE, not JAVE_INCLUDE 2002-08-14 16:01:13 +00:00
Dan Kalowsky
49dd85c460 A little more clean up on the error messages, with a sample JDK 1.3 path to libjava.so 2002-08-14 15:29:48 +00:00
Dan Kalowsky
8b1e7744c1 correcting the AC_MSG_RESULT line 2002-08-14 14:37:04 +00:00
Dan Kalowsky
ba07aa06d8 adding in PATH check for JavaJar as well... 2002-08-14 14:36:08 +00:00
Christian Stocker
63874f9017 @ - Added some namespace support with DomNode->add_namespace(uri, prefix)
@   and DomDocument->create_element_ns(uri, nodename) (chregu)
2002-08-14 14:23:44 +00:00
Dan Kalowsky
6be8fb6a2e Fix a bug for a user provided path as eru. 2002-08-14 13:48:44 +00:00
Christian Stocker
780c1605c8 bump up api version number 2002-08-14 09:20:19 +00:00
Christian Stocker
280cb97fef fix for bug #18196
@ - DomElement->node_name() takes optional boolean argument for retrieving
@ -  full qualified name (ie namespace prefix) (chregu)
2002-08-14 09:07:34 +00:00
Christian Stocker
323765cc17 fix for bug #18395 (DOMXML crash on removing previously created attributes) 2002-08-14 08:27:36 +00:00
Christian Stocker
43bdd6ed73 @ - DomNode->child_nodes() returns empty array instead of false, if no
@ - child nodes are found (chregu)
2002-08-14 07:29:46 +00:00
Den V. Tsopa
e139decdea Revert from patch added mb_guess_encoding to previous version 2002-08-14 06:38:07 +00:00
Yasuo Ohgaki
8c020d357f Add warning... It seems posting message to php-dev/php-cvs does not work! 2002-08-14 06:28:16 +00:00
Den V. Tsopa
4f5743582e Added new function mb_guess_encoding, based on symbols rating 2002-08-14 05:41:40 +00:00
Brad LaFountain
7c1d2ff2e4 some more doc/lit stuff
some more wsdl stuff
2002-08-14 05:26:25 +00:00
Dan Kalowsky
2f1b6397bc Fix for Bug #17572 2002-08-13 23:48:05 +00:00
Dan Kalowsky
19e42a2ed3 Fixed another memory leak, patch provided by Ilia <ilia@prohost.org> 2002-08-13 23:12:54 +00:00
Dan Kalowsky
ed135034a9 Fixes a memory leak which results when an invalid format code is
specified.  Patch by Ilia <ilia@prohost.org>
#Someone give him php4 karma :)
2002-08-13 21:56:39 +00:00
Dan Kalowsky
ce160f1bde fixing my misunderstanding of the php_error_docref 2002-08-13 21:39:36 +00:00
Dan Kalowsky
4fcca0167b Removing the PHP_31 tag...
# I'm not sure if the rest of this define can go or not...
2002-08-13 21:35:54 +00:00
Dan Kalowsky
ea6ed5b8a5 Fixing the php_error_docref's to be compliant with the standard.
# Can't we just compress all these docrefs down to one function?!?
2002-08-13 13:26:31 +00:00
Marcus Boerger
6474731f91 some work on the messages 2002-08-13 09:41:30 +00:00
Dan Kalowsky
e9dcdd12aa Fix for Bug #18873 2002-08-13 05:12:32 +00:00
Rasmus Lerdorf
b025bb1023 Missing proto 2002-08-13 05:08:47 +00:00
Rasmus Lerdorf
7a8330acd9 Single-line comments please 2002-08-13 05:00:11 +00:00
Dan Kalowsky
039902b912 spelling error 2002-08-13 04:52:50 +00:00
Dan Kalowsky
aed9e2355c Added more folding markers.... 2002-08-13 04:47:02 +00:00
Rasmus Lerdorf
f50df31d7f bool not boolean 2002-08-13 04:44:45 +00:00
Rasmus Lerdorf
3ffe4cb1ff bool not boolean 2002-08-13 04:37:28 +00:00
Rasmus Lerdorf
d820c177bf dir() returns an instantiated object, not a class. 2002-08-13 04:24:15 +00:00
Rasmus Lerdorf
87ddcef3c3 Don't use long as a type 2002-08-13 04:20:34 +00:00
Rasmus Lerdorf
fb0c9122c1 Fix typo 2002-08-13 04:19:25 +00:00
Rasmus Lerdorf
0779da509b Don't use long as a type 2002-08-13 04:11:51 +00:00
Dan Kalowsky
f9e8a5701b Fix for Bug #18746 by sfox and I
#What is the GDBM_FIX for anyways, we can find it anywhere?
2002-08-13 04:10:31 +00:00