Commit Graph

5292 Commits

Author SHA1 Message Date
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
Sterling Hughes
e121eaaef5 Straight out da bronx, I be using zend_parse_parameters()
# Word out to my peeps on Connor st.
2001-09-05 21:38:49 +00:00
Sterling Hughes
5ec58914fe stray tabs and spaces 2001-09-05 21:04:30 +00:00
Sterling Hughes
f0c5631778 change range macro semantics
# Kinda torn between the two, thoughts?
2001-09-05 20:59:24 +00:00
Sterling Hughes
d930a72cd7 remove inline 2001-09-05 20:56:15 +00:00
Sterling Hughes
1b0f00d67f a bit of api cleanup... move range stuff into a macro (properly :) 2001-09-05 20:52:45 +00:00
foobar
42b5521af5 revert bad commit. 2001-09-05 19:47:55 +00:00
Dan Kalowsky
24b54b866f Patch to stop the crashing behavior exhibited by PHP/ODBC in SOLID/DB2
submitted by Walter Franzini (walter@sys-net.it)
@Fix for LONG_VARCHAR type crashing submitted by Walter Franzini (walter@sys-net.it)
#Should this also be put into the 4.0.7 RC cycle?
2001-09-05 16:19:48 +00:00
Jason Greene
54905782b6 Prevent incorrect warning message from occuring on an EOF of socket_read. 2001-09-05 15:30:34 +00:00
foobar
032b263129 Fixes commit / link problems with certain compilers.
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
2001-09-05 13:18:09 +00:00
Sterling Hughes
b9edf7c17c API Update 2001-09-05 06:55:37 +00:00
Jason Greene
9fe46a52d4 Much better fix for non forte compilers on Solaris.
Removed pragma hack.
Renamed socket struct to bsd_socket.
2001-09-04 22:27:30 +00:00
Frank M. Kromann
a219643b2b Adding function to set transaction locking and isolation. 2001-09-04 21:51:11 +00:00
Rasmus Lerdorf
9a5fdae381 ok, hand-patched this one in 2001-09-04 21:50:27 +00:00
Rasmus Lerdorf
7101179c8d Interbase extension fixes by Jeremy Bettis
(.dsp patch looked funky, but these ones look ok)
2001-09-04 21:47:05 +00:00
Egon Schmid
8820474d4a Fixed some protos. 2001-09-04 21:46:27 +00:00
Egon Schmid
e7e88a25d1 Fixed some protos. 2001-09-04 21:07:17 +00:00
Egon Schmid
03fbbb098c Fixed some protos. 2001-09-04 10:44:28 +00:00
Sterling Hughes
38cacba117 Thanks sebastian
# I really like this whole qa team thingy
2001-09-04 10:13:55 +00:00
Sterling Hughes
536c96969b update php_trim as well... 2001-09-04 09:35:53 +00:00
Sterling Hughes
c661449ebf fix crash bug 2001-09-04 09:33:30 +00:00
Andi Gutmans
17765221df - Fix namespace collisions. 2001-09-04 07:41:20 +00:00
Sterling Hughes
0935217091 fix proto 2001-09-04 06:21:48 +00:00
Sterling Hughes
e55315a375 tabs -> spaces 2001-09-04 06:20:23 +00:00
Sterling Hughes
fe03f6f4c2 Begin cleanup, api wise... 2001-09-04 06:18:11 +00:00
Sterling Hughes
3151916113 pval -> zval 2001-09-04 06:08:42 +00:00
Daniel Beulshausen
9b8886410d fix zts+win32 build 2001-09-04 02:19:30 +00:00
Sterling Hughes
dda004bcfb - update to php4 api
- expand case statements, ie:

case 1: case 2: case 3:

to

case 1:
case 2:
case 3:

- Remove un-necessary brackets and parentheses (only when it takes away from
readability, I know this is quite arbitrary, but I did my best :)
2001-09-03 23:30:33 +00:00
Sterling Hughes
55b600d03c fix compile on sun forte cc 2001-09-03 21:54:27 +00:00
Andi Gutmans
1ecd31b66c - Fix thread safe mode.
- Please don't use Java style function braces.
2001-09-03 20:21:00 +00:00
Derick Rethans
383691eec2 - Fix broken build
#- Please test before commit!
2001-09-03 17:38:10 +00:00
Stanislav Malyshev
0a143cf655 Add _php_math_zvaltobase and _php_math_basetozval
This allows to use bindec, etc. functions to convert numbers longer
than fits in long, using floats instead.
Note: the functions like decbin still don't use the zval-ed functions,
so they work only on longs yet.
2001-09-03 16:26:31 +00:00
Jeroen van Wolffelaar
dc8386e30d Removed outdated comment until I've got a better one 2001-09-03 12:01:50 +00:00
Jeroen van Wolffelaar
efb83df9f9 Kill some warnings/errors (reported by Sebastian, more to come, but
could take some time. Update of ZTS-builderrors is welcome)
2001-09-03 11:57:15 +00:00
Sterling Hughes
79c27f0cd2 should be this 2001-09-03 08:47:45 +00:00
Sterling Hughes
b417b96fb8 - Update to the PHP4 API (newer macros)
- Improve error reporting from split()
- Some minor speed improvements
2001-09-03 08:44:02 +00:00
Sterling Hughes
f6d73d73fb stray tabs 2001-09-03 06:10:45 +00:00
Sterling Hughes
f14ada19ac cleanup sscanf() just a tiny bit, just so it looks like the rest of the code
in the string.c file.
2001-09-03 04:49:36 +00:00
Jeroen van Wolffelaar
0cb6a31906 Fix array_rand and array_suffle to use php_rand correctly 2001-09-03 01:54:04 +00:00
Jeroen van Wolffelaar
b0300e26df Fix prototype 2001-09-03 01:46:03 +00:00
Jeroen van Wolffelaar
72c7ae080b Fix SIGSEGV because HAS_SRAND didn't check wether the entry existed at
all
2001-09-03 01:25:24 +00:00
Jeroen van Wolffelaar
1a68fe49cb Add forgotten files to MAIN 2001-09-03 01:10:29 +00:00
Jeroen van Wolffelaar
92f1248a49 Update credits 2001-09-03 01:09:35 +00:00
Jeroen van Wolffelaar
f7306ce010 Merge RAND_REDESIGN into MAIN 2001-09-03 01:06:23 +00:00
Zeev Suraski
f7e7b42d4b Restore session_adapt_url() 2001-08-31 20:03:09 +00:00
Zeev Suraski
b080ddb867 Cleanup and clarify 2001-08-31 19:26:12 +00:00
Zeev Suraski
642eab8b46 define_sid updates 2001-08-31 19:22:08 +00:00
Zeev Suraski
b2b50ab525 Fix trans_sid handler registration logic 2001-08-31 15:22:10 +00:00
Andrei Zmievski
392e1edee8 @- Made in_array() and search_array() allow the needle to be an array in
@  itself. (Andrei)
2001-08-31 04:52:10 +00:00
foobar
d340c5b2bf @- Added ini_get_all() function which returns all registered ini entries
or the entries for the specified extension. (Jani)
2001-08-30 17:47:04 +00:00
foobar
67b9fb4912 KISS. And the search order must be reversed always. Last one counts. 2001-08-30 16:29:36 +00:00
foobar
5dd2b6e2fd According to Zeev this code is just for showing how to create overloaded classes. 2001-08-29 23:53:22 +00:00
Joey Smith
a4a1543753 Fix bug #13025. 2001-08-29 22:26:04 +00:00
foobar
08a521572f WS fixes and indenting. 2001-08-29 16:00:30 +00:00
Wez Furlong
efdc50c175 fix build 2001-08-29 13:13:24 +00:00
Wez Furlong
e6c7f6f22c fix bug# 13017 - patch from tsukada@fminn.nagano.nagano.jp 2001-08-29 11:29:52 +00:00
Wez Furlong
b9c4dc4a05 @- Added mailparse_uudecode_all() which extracts all uuencoded attachments
(Wez)
2001-08-28 21:52:11 +00:00
Rasmus Lerdorf
563ffb8984 Kill a warning 2001-08-28 21:50:37 +00:00
Wez Furlong
1164abcdab fix uudecode 2001-08-28 21:50:29 +00:00
Wez Furlong
9a8c9439e8 fix cp1252 -> wchar conversion 2001-08-28 18:26:46 +00:00
foobar
6cc6e1e668 Coding style. 2001-08-27 22:26:49 +00:00
Chuck Hagenbuch
1c6bfcaa33 shorter protos 2001-08-27 20:05:11 +00:00
Chuck Hagenbuch
0aca825435 add ngettext() support from Walter Franzini <walter@sys-net.it>, and use Z_*
macros.
2001-08-27 18:43:07 +00:00
Zeev Suraski
d7149ba8fc Cleanup 2001-08-27 02:06:32 +00:00
Zeev Suraski
b781720b36 More fixes and refinements 2001-08-27 00:23:55 +00:00
Hartmut Holzgraefe
05af99cd35 whitespace 2001-08-26 14:26:36 +00:00
Hartmut Holzgraefe
739716883b removed dbplus_change function
moved db++ specific includes to .c files
2001-08-26 14:25:48 +00:00
Hartmut Holzgraefe
521084f661 implementation of missing functionality
implementation and build improvements
2001-08-26 14:24:34 +00:00
Hartmut Holzgraefe
b693782c36 removed as all functions from the perl interface have now been implemented 2001-08-26 14:20:51 +00:00
Hartmut Holzgraefe
c7b55925a1 added symbolic constatns for error codes
removed dbplus_change function
some build improvements
2001-08-26 14:19:47 +00:00
Hartmut Holzgraefe
b073c312b3 added -lm to LIBS, whitespae 2001-08-26 14:15:39 +00:00
Hartmut Holzgraefe
57d971d2ef whitespace 2001-08-26 14:12:27 +00:00
Zeev Suraski
d697a558ac Fix my session updates.
trans_sid handling will no longer slow down performance unless a session
is actually in use.
2001-08-26 11:49:43 +00:00
Joey Smith
5d451c9885 Fix 1st case of #9893. 2nd case was already fixed in previous commit. 2001-08-26 11:36:27 +00:00
Zeev Suraski
dc9769ea96 Fix trans-sid.
Still need to figure out how to turn trans-sid only when sessions
are actually used.
2001-08-26 11:14:35 +00:00
Rasmus Lerdorf
70c581b820 Test your changes please Jani 2001-08-26 01:10:10 +00:00
Zeev Suraski
7b73aee40f Make the session module more independent 2001-08-26 01:09:20 +00:00
Zeev Suraski
d5e5e376ab This option is no longer needed 2001-08-25 16:19:57 +00:00
Zeev Suraski
b8763a6f8c Get rid of TRANS_SID - it's always possible to use it now. 2001-08-25 16:09:23 +00:00
Zeev Suraski
13ff183225 Move the trans-sid mechanism to use the output buffering mechanism.
Advantages:
- Would work with the output buffering mechanism in general, and with
  output compression in particular
- Should yield better performance (untested as of yet)
2001-08-25 15:57:42 +00:00
Zeev Suraski
bc596544a1 add struct name 2001-08-25 12:47:12 +00:00
Wez Furlong
2121989d4d This test needed a newline after an echo.
# However, the test still fails on my system
2001-08-25 09:23:10 +00:00
Wez Furlong
cda7f49324 Windows-1252 encoding awareness 2001-08-25 09:21:43 +00:00
foobar
f03a871d93 Fixed bug: #12948, #12945 2001-08-24 20:05:58 +00:00
Wez Furlong
9e7da02d3b Fix htmlspecialchars problem. 2001-08-24 08:58:10 +00:00
Andrei Zmievski
cae9763d0a @- Fixed a crash bug in array_map() if the input arrays had string or
@  non-sequential keys. Also modified it so that if a single array is passed,
@  its keys are preserved in the resulting array. (Andrei)
2001-08-24 02:58:23 +00:00
Sterling Hughes
36412eb5de proto fix 2001-08-24 02:24:03 +00:00
John Donagher
faa5031f25 Don't try and search a 0-length string. This allows parse_url() to correctly
parse a non-pathed URI, i.e. 'scheme://'
2001-08-24 02:21:16 +00:00
Sterling Hughes
bd4eb1bf78 noet 2001-08-24 01:23:14 +00:00
Sterling Hughes
580d41b3af Break the entire PHP build
# just kidding, noet work :)
2001-08-24 01:21:14 +00:00
Sterling Hughes
dd094d1866 noet 2001-08-24 01:12:37 +00:00
Sterling Hughes
ca5eb34608 New extensions should put this in by default 2001-08-24 01:09:10 +00:00
Sterling Hughes
398b65ed2f noet 2001-08-23 21:56:29 +00:00
Sterling Hughes
0fabddb745 some cleanup 2001-08-23 21:22:38 +00:00
Zeev Suraski
55c5c68769 whitespace 2001-08-23 14:24:13 +00:00
Wez Furlong
f20e9fa298 - Add support for chinese encodings to htmlentities/htmlspecialchars
(patch from Alan Knowles <alan_k@hklc.com>)
2001-08-23 10:43:15 +00:00
Jeroen van Wolffelaar
3e62bd0867 Reverted the patch to main branch - should have branched whole
ext/standard...
2001-08-22 22:14:08 +00:00
Jeroen van Wolffelaar
43c2bc364f Commit forgotten fix in crypt.c, oversight of a BC-problem 2001-08-22 22:11:57 +00:00
foobar
8ade27507a killed a compile warning. 2001-08-22 17:39:16 +00:00
foobar
93311d9301 Fixed two problems:
- CGI_BINARY was defined always thus this extension
  could be compiled with even when not building CGI binary.

- HAVE_READLINE => HAVE_LIBREADLINE (typo)
2001-08-22 10:25:24 +00:00
foobar
1f30f907b9 More compile warnings nuked. 2001-08-22 09:20:40 +00:00
foobar
b78f77575b indent. 2001-08-22 08:43:52 +00:00
foobar
5296d29b59 Killed a compile warning. 2001-08-22 08:34:04 +00:00
Gavin Sherry
bd4150ed80 Fixed buffer overflow issue. 2001-08-22 05:47:11 +00:00
Gavin Sherry
ff7a694e0f Changed php_strip_tags() to check if <? was XML code. 2001-08-22 02:03:14 +00:00
Stig Bakken
3b4f80a035 * added two missing end folds 2001-08-22 00:09:27 +00:00
Joey Smith
1c10503029 Hmmm...not sure what this was trying to do. stat() was acting like filesize(). 2001-08-21 23:58:19 +00:00
Joey Smith
f0ea3478cb Some changes to help out previous users of domxml...
node::tagname == node::name.
Add property "type" to textnode types.
2001-08-21 21:49:32 +00:00
Sterling Hughes
f9d913537b Fix typo 2001-08-21 17:58:37 +00:00
Ulf Wendel
1ffed2e53f Added two new functions:
int pdf_get_minorversion()
  int pdf_get_majorversion()

Both functions are taken from the C-Library. You should be able to determine
the API version of the extension/library using pdf_get_value() or
pdf_get_parameter() but these functions need a pdf object to work on. This
means that you have to create an pdf object before you can find out the
API version. Using pdf_get_minorversion() and pdf_get_majorversion() there's
no need for this.
2001-08-21 13:33:16 +00:00
Zeev Suraski
e140b35b04 API update 2001-08-21 12:57:53 +00:00
Sascha Schumann
95347cd868 Further work on autoconf-2.5x support 2001-08-21 11:45:33 +00:00
Sascha Schumann
8ab1c2aa44 nuke some apparently harmful spaces 2001-08-21 11:02:42 +00:00
Sterling Hughes
ee1eaf9fbb Update api and fix some compile warnings 2001-08-21 09:04:18 +00:00
Jeroen van Wolffelaar
d14b3a86cf Proto fix 2001-08-20 20:50:54 +00:00
Sascha Schumann
01672af8f0 Improved fix 2001-08-20 15:27:45 +00:00
Stanislav Malyshev
902100a692 Fix long printing in smart_str_print_long 2001-08-20 15:26:10 +00:00
Stanislav Malyshev
8fd65b9f16 test big numbers too 2001-08-20 14:15:05 +00:00
foobar
abeb4bd2e5 Cleaning. And made the check for SSL support in SNMP to really work. 2001-08-20 14:04:48 +00:00
Harald Radi
acf13f82c1 catch date conversion errors 2001-08-20 08:53:18 +00:00