Commit Graph

5411 Commits

Author SHA1 Message Date
Derick Rethans
9d4c81e925 - whitespace fix 2001-09-26 12:44:34 +00:00
Derick Rethans
6b0196b652 - Fixed error introduced by the macro substitution 2001-09-26 12:34:30 +00:00
David Eriksson
9a4500d056 Fixed Jeroen's macrofication 2001-09-26 11:09:10 +00:00
David Eriksson
e1c448e8be leave on first directory 2001-09-26 10:45:22 +00:00
Jeroen van Wolffelaar
0916fd50c0 5th and probably/hopefully last run of conv_z_macros 2001-09-26 09:21:58 +00:00
Jeroen van Wolffelaar
23a942c795 Fix build 2001-09-26 09:09:40 +00:00
Jeroen van Wolffelaar
0729948990 Parse-fix 2001-09-26 09:00:30 +00:00
Jeroen van Wolffelaar
6a8a5767c2 4rd run... now also var.Z_* 2001-09-26 08:53:37 +00:00
Jeroen van Wolffelaar
6693d112d2 Fix the fix 2001-09-26 08:51:53 +00:00
Jeroen van Wolffelaar
8ec9e5bca0 Fix parse-error 2001-09-26 08:41:05 +00:00
Jeroen van Wolffelaar
21f2b9277f 3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now. 2001-09-26 08:35:48 +00:00
Frank M. Kromann
b77c39ea65 Fixing Win32 build...after the last macro convertions. 2001-09-26 03:43:34 +00:00
Frank M. Kromann
448e9d49cc Fixing Win32 build... 2001-09-26 03:24:19 +00:00
Harald Radi
23c65b60a0 no message 2001-09-25 23:39:50 +00:00
Jeroen van Wolffelaar
6cfba2a3ea 2nd phase in back-substitution those macro's
I've got pretty much everything now...
2001-09-25 22:49:04 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Mark L. Woodward
ad2113e635 Added REQ_RANDSTR to support msession_randstr 2001-09-25 12:21:45 +00:00
Mark L. Woodward
622fe4d488 Changed config.m4 to a better default, updated README. 2001-09-25 12:12:48 +00:00
Mark L. Woodward
32b196e4f7 Added msession_randstr, creates a random string from a single
source.
2001-09-25 12:11:25 +00:00
Sterling Hughes
bb2d4e3126 add a 7.9 version check 2001-09-25 07:07:22 +00:00
Sterling Hughes
2e79759f50 fix constant 2001-09-24 18:45:08 +00:00
Harald Radi
a491db4e2d removed VARIANT module and put the VARIANT class into
the COM module.
also fixed a few bugs.
2001-09-24 15:56:18 +00:00
Derick Rethans
f1ce7daccd - Fix crash bug (patch by <chocolateboy@lunomail.com>) 2001-09-24 08:33:51 +00:00
Jeroen van Wolffelaar
f61dfce39c Make chop the alias and rtrim the main function, in order to get automagically
generated alias-listings correct.
2001-09-23 18:32:46 +00:00
Derick Rethans
db1fe4b060 - Don't return from the function, so that mcrypt get properly initialized
(fix for bug #13399)
2001-09-23 14:39:08 +00:00
Derick Rethans
9c610ae87f - Added mcrypt_generic_deinit and added a warning about mcrypt_generic_end
being deprecated.
- Reordened constants, and added MCRYPT_3DES to the 2.4 set of constants
2001-09-23 14:14:27 +00:00
Rui Hirokawa
1b78716661 mbstring is no more in experimental status. 2001-09-23 13:42:00 +00:00
foobar
f78cf8ee67 Moved the check for mcrypt_generic_deinit to the right place. 2001-09-22 17:55:16 +00:00
foobar
6bcd0ae557 Check if mcrypt lib has mcrypt_generic_deinit 2001-09-22 17:51:07 +00:00
Sterling Hughes
958675c067 fix compile 2001-09-22 16:56:21 +00:00
foobar
b46354b7bc removed autogenerated file from cvs 2001-09-22 01:59:24 +00:00
Jeroen van Wolffelaar
929ae94c64 Let settype also accept 'int', 'bool', 'float' and 'null'
@Let settype also accept 'int', 'bool', 'float' and 'null' (Jeroen)
2001-09-22 01:39:14 +00:00
Sterling Hughes
f8e78a00f2 update to curl 7.9 (when it comes out :)
make REGISTER_CURL_CONSTANT() only take one argument
couple of speed-up's
few style fixes
2001-09-22 00:38:59 +00:00
Hartmut Holzgraefe
03f7406711 proto fixes "double" -> "float" 2001-09-21 21:59:27 +00:00
Hartmut Holzgraefe
8f01638bf6 local resource fix 2001-09-21 21:57:41 +00:00
Hartmut Holzgraefe
2c275bf793 renamed doubleval to floatval and made doubleval an alias to floatval
made is_float the function entry and is_double the alias
2001-09-21 21:29:14 +00:00
Sascha Schumann
4582d38519 Fix warning on Win32 (thanks to Sebastian) 2001-09-21 17:21:50 +00:00
Sascha Schumann
0a8677167d don't use boyer_str_to_str. It is experimental 2001-09-21 16:17:14 +00:00
Sascha Schumann
9002e37e4e Always seed the LCG from the request-init hook, otherwise the seed
would be shared among the threads which is quite pointless.  Also
use a function of the current time as one factor.

Use gettimeofday() instead of time(), because it is faster on some
operating systems.
2001-09-21 13:38:44 +00:00
Sascha Schumann
78fb121a61 indentation fix 2001-09-21 13:13:10 +00:00
Mark L. Woodward
d1a1ef3d9b (Removed Makefile, added accidentally.)
Eliminated mod_msession in ext/session, and moved that code into msesion.c
2001-09-20 12:21:01 +00:00
Sascha Schumann
f45555e62f Rework some string-to-number and vice-versa functions to work smarter
(e.g. without using functions that use slow locales, without allocating
 extra memory and with fewer integer/float operations)
2001-09-20 08:22:44 +00:00
Stig Venaas
7d2a912335 Not using _free_ldap_result destructor for le_result_entry, leads to
crashes due to freeing same memory several times in some cases
2001-09-19 19:43:59 +00:00
Andy Sautins
810dd37b90 Collections core-dump fix. ocicollgetelem was using OCIInd instead
of OCIInd * in call to OCICollGetElem
2001-09-19 19:25:43 +00:00
Stig Venaas
926d1506e0 Added IPv6 support to gethostbyaddr()
@- Added IPv6 support to gethostbyaddr()
@  (Patch by Matthias Wimmer <matthias@charente.de> and venaas)
2001-09-19 18:08:15 +00:00
Frank M. Kromann
a46c6157de Fixing debug build on Win32 2001-09-19 17:48:34 +00:00
Hartmut Holzgraefe
cc17f92947 argument count fix plus beginning local query support 2001-09-19 17:14:14 +00:00
Mark L. Woodward
49c66ea47e The extension should not be GPL. 2001-09-19 15:46:20 +00:00
Wez Furlong
ad72c064bc doh\! 2001-09-19 15:12:30 +00:00
Mark L. Woodward
ba2bc65d31 Added 2001-09-19 13:14:24 +00:00
Sascha Schumann
e261d310a0 quickly fix newly introdued off-by-one 2001-09-19 11:03:58 +00:00
Wez Furlong
c6a957e012 Fix silly bugs 2001-09-19 10:59:12 +00:00
Sascha Schumann
e4ace6cde6 Rewrite _php_match_basetozval to need only one multiplication
per iteration and avoid the U?LONG_MAX hassle.
2001-09-19 10:57:50 +00:00
Sascha Schumann
ed50e0e155 Fix indentation of ./configure --help 2001-09-19 09:17:56 +00:00
Joey Smith
0098833e86 Don't manually register the resource, let php_domobject_new do it for us.
This fixes and elusive SIGSEGV.
Bug id'd and fixed by Ivo Hulinsky <huld@fido.cz>.

This fixes #13322.
2001-09-19 02:24:05 +00:00
Frank M. Kromann
975ebe3524 Fixing win32 debug build 2001-09-18 23:39:25 +00:00
Hartmut Holzgraefe
d330072db9 argument count fix 2001-09-18 20:42:37 +00:00
Sterling Hughes
563c0670e5 another attempt at fixing compile warnings... 2001-09-18 20:05:05 +00:00
Sterling Hughes
8092460830 hopefully fix win32 compile warnings
# I really wish i had a box to compile php with win32 on
2001-09-18 05:48:49 +00:00
Hartmut Holzgraefe
30df2b3073 yet another ncurses 4.x fix 2001-09-17 22:11:55 +00:00
Hartmut Holzgraefe
38ab8708f2 editor hints added 2001-09-17 22:00:38 +00:00
Hartmut Holzgraefe
2f59bb576d whitespace 2001-09-17 21:59:15 +00:00
Hartmut Holzgraefe
bc631cce3e some keyboard constants 2001-09-17 21:57:09 +00:00
Hartmut Holzgraefe
a965a1759f some more function implementations 2001-09-17 21:54:25 +00:00
Sterling Hughes
bcb426a207 Merge in qsort changes 2001-09-17 21:02:53 +00:00
David Benson
d6cecfc213 Change duration of temporary lobs to avoid leakage of temporary lob
space (dbenson).
2001-09-17 20:52:31 +00:00
Hartmut Holzgraefe
0edb79a3d4 some proto fixes (not all done yet) 2001-09-17 19:55:22 +00:00
Hartmut Holzgraefe
75095ce66c got rid of strtok and added some comments 2001-09-17 19:49:17 +00:00
Hartmut Holzgraefe
891443e15f will now configure out functions not available in ncurses 4.2 2001-09-17 16:24:11 +00:00
Daniel Beulshausen
60812553d4 fix macros 2001-09-17 13:37:11 +00:00
Daniel Beulshausen
75aa3cfc51 fix fcntl 2001-09-17 13:21:10 +00:00
Hartmut Holzgraefe
311fe215aa fixed a warning regarding incompatible function pointer types 2001-09-17 13:02:26 +00:00
Andy Sautins
16ef3439f4 Collection fix. getelem method now handles returning nulls
correctly and gives warning when accessing an index that does
not exist.
2001-09-16 21:53:58 +00:00
Sterling Hughes
97fea0931c Make rand thread safe when ZTS is defined. 2001-09-16 20:49:57 +00:00
Sterling Hughes
96763e8372 Hopefully fix compile warnings on win32 systems 2001-09-16 17:37:19 +00:00
Andi Gutmans
11e733ce29 - Start giving the notes extension an indentation face lift but I got
- tried half way through :)
2001-09-16 16:23:58 +00:00
Hartmut Holzgraefe
639a36a3dd compiles without warnings now 2001-09-16 15:18:03 +00:00
Sterling Hughes
47f3851a00 for the daft folks that think 0 is a good seed. 2001-09-16 03:50:04 +00:00
Sterling Hughes
373fc12bb1 @ Make the seed options to srand() and mt_srand() optional, if the seed is
@ not specified, the generate the most random seed possible. (Sterling)

Please, if anyone has any comments on the way I generate this seed, speak up!
This seems to be the most "random" seed I could come up with...

This commit is 100% backwards compatible :)

Add myself to the authors list cause of recent work on the file
2001-09-16 03:46:59 +00:00
Sterling Hughes
ca5fdbf537 fix this in a couple of other places and use estrndup() when we have the
string length.
2001-09-15 16:05:38 +00:00
Sterling Hughes
236bcdb514 properly grab field and value pairs, plus avoid a segfault when errmsg isn't
defined
2001-09-15 16:00:47 +00:00
Sergey Kartashoff
55d84825c1 A bug fixed when trying to return NULL strings.
Added a new example of building search frontend based on mnoGoSearch
extension.
@- A bug fixed when tryint to return NULL strings.
@  Added a new example of building search frontend based on mnoGoSearch
@  extension.
2001-09-15 12:20:37 +00:00
Rui Hirokawa
9c5580c7d4 Added support for japanese encoding to htmlentites() and htmlspecialchars(). @ Added support for japanese encoding to htmlentites() and htmlspecialchars(). (Rui) 2001-09-15 04:48:48 +00:00
Hartmut Holzgraefe
c403d6846b more data types supported (and warn if unsupported encountered) 2001-09-13 19:52:57 +00:00
Thies C. Arntzen
e929389eeb fix strtr() when called with two parameters. this has been broken for some time!
guys, when "optimizing" functions you _shoudl_ write a testcase for the
working function and make _sure_ that it works afterwards!
2001-09-13 10:48:41 +00:00
Hartmut Holzgraefe
d4bee942d6 be more flexible in finding a db++ installation 2001-09-12 19:54:46 +00:00
foobar
5275b60398 Enable chroot() only if SAPI is CGI. 2001-09-12 02:07:46 +00:00
Andy Sautins
6e4e8e94d9 oops. Used C++ style comments. Make C style 2001-09-11 23:16:32 +00:00
Andy Sautins
5abba5ee0e Collection fix. Fix core dump when accessing an element that is
not in the collection.
2001-09-11 23:15:18 +00:00
Andy Sautins
23fea6461d Handle assign/append of NULL values to collections correctly. Now
works consistently with how the rest of the library operates.  If
the value passed in is a null string, the value is set to null
2001-09-11 21:03:58 +00:00
Sascha Schumann
919e7e9f69 revert last commit. Guys, discuss such things first, then commit. Mkay? 2001-09-11 10:16:01 +00:00
Sterling Hughes
e302d6a5e8 Add an API function for setting the session id from a session module...
# The SRM folks wanted/needed this
2001-09-11 10:13:44 +00:00
Sascha Schumann
fdd6f08aec Always return something from non-void function 2001-09-11 08:55:44 +00:00
Sascha Schumann
4c69a970d3 Remove some unused variables 2001-09-11 07:52:55 +00:00
Egon Schmid
88713e4d8d Fixed some protos. Haven't read the source code, so some protos could be wrong. bool notext=true looks very strange to me. 2001-09-11 01:03:59 +00:00
Wez Furlong
671b46a0db Revise the xxx_export api so that exporting to files is comfortable. 2001-09-11 00:33:25 +00:00
Wez Furlong
0f835fdf28 Arrrgghh!
Fix munched file.
# Dunno how that happened.
2001-09-11 00:03:58 +00:00
Wez Furlong
3b8f3cc439 Added some preliminary x509 cert and csr creation/signing functions.
Also, some problems with CGI initialization should be eliminated.
Renamed some pkey functions to be more consistent.
# Added aliases for older names; not sure if we should keep those.
2001-09-10 23:57:10 +00:00
foobar
8f9813031e fix build. 2001-09-10 23:34:42 +00:00
Daniel Beulshausen
1f9629d466 fix resource destruction 2001-09-10 19:28:50 +00:00
Derick Rethans
a4f9a16225 - Fix for bug #13230 2001-09-10 17:14:38 +00:00
Sascha Schumann
2ee197b4c6 Fix a problem when withval pointed to a symlink and automatic
detection for the java libraries failed
2001-09-10 16:59:31 +00:00
Daniel Beulshausen
87d7284e46 don't forget TSRMLS_CC when using zend_parse_parameters 2001-09-10 14:30:10 +00:00
Sascha Schumann
2bbbec107b A round of "d'ohs" for me, please.
We must not stop scanning after finding a "?", because we
need the information regarding the "#".
2001-09-10 11:22:43 +00:00
Sascha Schumann
d5e22e2a29 Use proper macro to return string with unknown length 2001-09-10 11:06:15 +00:00
Harald Radi
21b9a2ca2a removed ->is_ref check, doesn't make sense and causes bugs 2001-09-10 09:25:32 +00:00
Harald Radi
d1a2dbfd9d IDispatchs got released if they were passed to another component 2001-09-10 09:22:40 +00:00
Stig Bakken
4d90ca0aea * build fix 2001-09-10 07:56:23 +00:00
Sterling Hughes
2e890a36d4 Revert, this is max error size, not strlen(error) 2001-09-10 00:25:59 +00:00
Sterling Hughes
5830ffeb48 RETURN_STRING -> RETURN_STRINGL 2001-09-10 00:24:29 +00:00
Zeev Suraski
517bd3018c Do some justice to the doc team 2001-09-09 23:37:55 +00:00
Sascha Schumann
de963ce9c6 Better fix for mark problem 2001-09-09 14:52:39 +00:00
Sascha Schumann
c86c9f52b4 Fix mark-handling 2001-09-09 14:38:12 +00:00
Derick Rethans
78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
Derick Rethans
61d4f7fe65 - Really fix nl2br now... it's actaulyl faster now 2001-09-09 12:55:48 +00:00
Derick Rethans
176cd90bd7 - Fix for bug 11904
#- This is possibly not the best solution... feel free to improve
2001-09-09 11:42:36 +00:00
Sterling Hughes
ff2bc83c08 remove ARG_COUNT(ht)
# Is there any reason that the set_compare_func call is passed SORT_STRING
# instead of SORT_REGULAR??
2001-09-09 11:03:31 +00:00
Sterling Hughes
6963ac4050 export the mt rand functions... 2001-09-09 10:44:12 +00:00
Sterling Hughes
b5d77099fe have this go through php's error warning system 2001-09-09 09:58:49 +00:00
Sterling Hughes
6ee9f04f87 ws fix, MFB 2001-09-09 09:51:02 +00:00
Sterling Hughes
645a98ef99 Change DOM-XML's error reporting to E_WARNING which is more appropriate 2001-09-09 09:41:40 +00:00
Harald Radi
9a6fe9631e com_*() functions returned an oo-resource instead of an resource id,
thus subsequent com_*() calls to com-returnvalues failed.
2001-09-08 20:40:56 +00:00
André Langhorst
d4b86e1c5b fix curl build for curl >= 7.8 2001-09-08 16:51:00 +00:00
Sterling Hughes
1c3b3ad8f3 tense, tense, tense 2001-09-08 00:42:25 +00:00
Wez Furlong
3ed4cc33ac API update: use zend_parse_parameters 2001-09-07 17:09:56 +00:00
Daniel Beulshausen
2da75a405f build fixes 2001-09-07 13:53:28 +00:00
Daniel Beulshausen
a0acfe4375 fix def. 2001-09-07 13:35:32 +00:00
Daniel Beulshausen
0a543a9014 don't use ifx_free_result here 2001-09-07 13:29:50 +00:00
Daniel Beulshausen
da0c69d7b9 fix result freeing
# some of the work in (zif_)ifx_free_result should
# probably be done in the list destructor as well
2001-09-07 13:20:33 +00:00
Wez Furlong
5569abe1ee Fix for bug #13190 2001-09-07 12:12:19 +00:00
Sterling Hughes
92390db7e6 MFB 2001-09-07 11:39:00 +00:00
Sterling Hughes
b8cf53d8a5 get rid of global mess 2001-09-07 10:29:06 +00:00
Sterling Hughes
1bc80e6048 register a list destructor 2001-09-07 10:25:26 +00:00
Derick Rethans
2e153ddae1 - Fix for bug #13052 2001-09-07 07:31:39 +00:00
foobar
c8751fc8a5 Almost missed this one.. 2001-09-07 00:25:11 +00:00
foobar
e4df7dc7bf if test -f /usr/local/lib/libexample.s?; then <-- no workie
if test -f /usr/local/lib/libexample.so; then   <-- workie
#
# You can all point at me and laugh now..  :(
#
2001-09-07 00:24:06 +00:00
foobar
3c64473b71 Fixed bug: #13172 2001-09-06 23:10:37 +00:00
foobar
14152e7ca6 Introduce the good practise of using [] around output messages. 2001-09-06 21:05:57 +00:00
foobar
acb7d69ff7 Always quote the messages. 2001-09-06 20:55:24 +00:00
foobar
95ff1ab10f Hope this reduces the amount of bogus bug reports when people use wrong paths.. 2001-09-06 18:13:49 +00:00
Frank M. Kromann
059f1cc922 Fixing spelling 2001-09-06 16:49:17 +00:00
Dan Libby
79e6063a5e fix various build errors. default to no xmlrpc 2001-09-06 09:36:58 +00:00
Sterling Hughes
25d4500a86 I should really learn how to spell 2001-09-06 08:56:24 +00:00
Sterling Hughes
b7ba9e007d avoid lowercasing the string 2001-09-06 08:54:54 +00:00
Sterling Hughes
33fc6e2d5f add missing ) 2001-09-06 07:33:45 +00:00
Sterling Hughes
8a156d9a39 fix ms compile warnings 2001-09-06 06:41:16 +00:00
Dan Libby
6883b92116 adding xmlrpc extension, per Stig's request 2001-09-06 04:13:30 +00:00
Sterling Hughes
903c831be5 spaces -> tabs work cont. 2001-09-06 00:40:02 +00:00
Sterling Hughes
a4c905ff16 ws fix 2001-09-06 00:18:13 +00:00
Sterling Hughes
a1b11f0755 Fix ts build
# I've gotta start compiling --enable-experimental-zts...  anyway we can make
# this the default when compiling from cvs?  It'll help a large portion of
# compile issues with patches
2001-09-05 21:46:44 +00:00