Commit Graph

10528 Commits

Author SHA1 Message Date
Marcus Boerger
e504166277 This depends on libc and CPU used 2003-05-21 07:23:45 +00:00
Sara Golemon
83b7b75c3c Implement default contexts. For the moment this is useless
but it will be used soon for connection pooling.
2003-05-21 04:04:50 +00:00
Ilia Alshanetsky
b078f60fce Added missing safe_mode checks and corrected a typo in stdout check. 2003-05-21 00:57:34 +00:00
Marcus Boerger
323eedd1b2 Fix build 2003-05-21 00:14:16 +00:00
Frank M. Kromann
03c56a5a1f Fix for bug 23402. Crash when mssql?bind was used incorrectly 2003-05-21 00:08:10 +00:00
Marcus Boerger
e9c10acc76 Fix test (ssen by Dan Torop) 2003-05-20 22:28:10 +00:00
Sterling Hughes
3c6fd35007 initialize these to NULL 2003-05-20 18:18:56 +00:00
Andrei Zmievski
8571f5eac2 Put some guards in place. 2003-05-20 18:11:09 +00:00
Jay Smith
515f0e3f71 Make get_browser() try harder to find better matches. 2003-05-20 17:59:16 +00:00
Dan Kalowsky
53c90b2344 Adding imap_getacl, patch provided by Holger Burbach
(holger.burbach@gonicus.de)
@  Adding imap_getacl functionality.  Function provided by Holger Burbach
2003-05-20 17:37:53 +00:00
Sterling Hughes
9ac50a13d7 convert array functions to use fast_call_user_function(), gives a nice
performance win.
2003-05-20 16:46:53 +00:00
Dan Kalowsky
99a616b0b9 NIL, NULL, same thing, but changing for consistency sake 2003-05-20 16:34:04 +00:00
Brad House
8b3a698ec0 Properly map mcve_text_code to MCVE_TEXT_Code instead of MCVE_TEXT_AVS.
Properly cast MCVE_TTID.
Correct DVAL arguments to MCVE_Gut and MCVE_Gl.
2003-05-20 13:59:04 +00:00
Hartmut Holzgraefe
2bffad8fce zend_is_callable() already checks this ... 2003-05-20 13:36:38 +00:00
Hartmut Holzgraefe
4b7c5cea4b proto and typo fixes 2003-05-20 13:35:13 +00:00
Hartmut Holzgraefe
78b874f85e C++ extensions build fix 2003-05-20 13:32:21 +00:00
Derick Rethans
92d5589a94 - Commit broken support for sxe_properties_get 2003-05-20 13:08:05 +00:00
Derick Rethans
37a9e03654 - Implement two dummy handlers so that var_dump() doesn't crash on it. 2003-05-20 11:17:04 +00:00
Derick Rethans
7dea37a077 - Add Revision to MINFO (I was chasing ghosts ;) 2003-05-20 08:48:18 +00:00
Derick Rethans
813ea0b663 - Make it build with the unbundled libxml again 2003-05-20 08:46:55 +00:00
Sterling Hughes
7e161dafeb data corruption is for sissy boys 2003-05-20 02:12:03 +00:00
Ilia Alshanetsky
31f0d1c949 Added missing safe_mode & open_basedir checks. 2003-05-20 00:37:00 +00:00
foobar
dab706ee2a - Go back to using --disable-xml and --enable-xml
. Require use of --with-libxml-dir and --with-libexpat-dir for ext/xml.
    Allows other extensions to use --with-expat-dir for now.
# still defaults to libxml if --with-libxml-dir and --with-libexpat-dir
# are not used.
2003-05-20 00:20:29 +00:00
Marcus Boerger
daded6e633 Reorganized tests 2003-05-20 00:14:46 +00:00
Marcus Boerger
4a11372805 Fix Test (2nd time) 2003-05-20 00:09:47 +00:00
foobar
5e0a3ed73b Make this build with libxml too. 2003-05-19 23:45:20 +00:00
foobar
f8354b5c5d Align the configure --help texts 2003-05-19 23:43:41 +00:00
Marcus Boerger
1778caad0c Fix protos 2003-05-19 22:52:27 +00:00
Marcus Boerger
0c77fef23a Fix Test 2003-05-19 22:16:58 +00:00
Sterling Hughes
4cf3e8f3ee use libxml2 memory management throughout the file, which in turn uses the
PHP memory management.
2003-05-19 21:53:33 +00:00
Sterling Hughes
29eb399773 send some more data to the default handler
libxml2 is braindead when it comes to handling entities
2003-05-19 21:51:57 +00:00
foobar
4334f66065 Allow build with expat too. 2003-05-19 21:50:23 +00:00
Marcus Boerger
dc379b9d79 Fix test 2003-05-19 21:48:04 +00:00
foobar
efa8e404d8 Remove unnecessary test. 2003-05-19 21:45:49 +00:00
Marcus Boerger
2838dcb713 Add missing ini setting (use default and change expected result accordingly) 2003-05-19 19:14:34 +00:00
Sara Golemon
8e9c159f75 The bucket rewrite was done some time ago... 2003-05-19 18:40:11 +00:00
Derick Rethans
afabd0575c - Move examples to their own directory 2003-05-19 18:25:20 +00:00
Sterling Hughes
f726a84b1d use the appropriate accessor 2003-05-19 16:27:46 +00:00
Derick Rethans
92f0da58e6 - Rename stream_register_filter() to stream_filter_register(),
stream_register_wrapper() to stream_wrapper_register() and added an alias for
  the latter change.
2003-05-19 15:35:06 +00:00
foobar
73415c9e01 - Unbundle libxml and expat. Now this compiles too.. 2003-05-19 15:33:19 +00:00
Sterling Hughes
a432df541f fix attribute handling on the root node
simplify node access by defining/using GET_NODE() macro properly
2003-05-19 14:52:15 +00:00
Sterling Hughes
b3772c4f35 add the ability to serialize the contents back to a file 2003-05-19 13:33:01 +00:00
Moriyoshi Koizumi
08bf402440 Fixed bug #23683 2003-05-19 13:26:28 +00:00
Sterling Hughes
44f6100ff0 basic support for modifying XML documents 2003-05-19 13:16:01 +00:00
Sterling Hughes
f408e9eefc add some macros that simplify the loops
remove a unnecessary copy
2003-05-19 12:44:24 +00:00
Ilia Alshanetsky
8e3772a827 Added skip condition. 2003-05-19 04:57:01 +00:00
Sterling Hughes
6bfb5026d6 add sample file 2003-05-19 01:56:14 +00:00
Marcus Boerger
4229a483cf Really fix this 2003-05-18 23:20:10 +00:00
Wez Furlong
0ab6c816d9 Fix build 2003-05-18 23:05:38 +00:00
Sterling Hughes
26353e4e13 attribute support 2003-05-18 22:39:16 +00:00
Sterling Hughes
aec55ef95a properly detect blank nodes 2003-05-18 21:13:29 +00:00
Sterling Hughes
e3f351ddb0 make arrays of subnodes work (hacky)
drop property support for the moment, this will be re-added soonish
2003-05-18 20:53:21 +00:00
Adam Dickmeiss
5a848c6f25 Display current version as well as compiled version 2003-05-18 20:40:05 +00:00
Sterling Hughes
94925b1c33 add very basic code for the simplexml extension. The following works ::
person.xml
--
<person>
 <name>
  <first>Sterling</first>
  <last>Hughes</last>
 </name>
</person>

person.php
--
<?php
$p = simplexml_load_file('person.xml');
echo $p->name->last . ', ' . $p->name->first;
?>

Still needs lots of work.
2003-05-18 20:33:26 +00:00
foobar
422309353d CS 2003-05-18 14:55:18 +00:00
Marcus Boerger
80aa82e24b Enable bundled submodules when enabling module 2003-05-18 12:36:24 +00:00
Marcus Boerger
66a3e8deb7 Fix test (for now - need EXPECTF/EXPECTREGEX) 2003-05-18 12:10:03 +00:00
Marcus Boerger
dbf0d7572e Fix unserialize (commit later) 2003-05-18 12:09:08 +00:00
Marcus Boerger
2307193255 Fix unserialize 2003-05-18 12:08:51 +00:00
Moriyoshi Koizumi
586a43cfda Adjusted the expected output to reflect the change in var_dump() 2003-05-17 23:50:16 +00:00
Sterling Hughes
00e48b7f70 send comments to the default handler like done with expat, add a
setcommenthandler function, which exists in expat, but isn't used by the
extension.
2003-05-17 22:09:58 +00:00
Moriyoshi Koizumi
80c75c4d62 MFB(r-1.1.2.7): fix test 2003-05-17 20:06:00 +00:00
Sterling Hughes
2d64d3aff5 pecl 2003-05-17 14:37:28 +00:00
Sterling Hughes
3a5f401a04 move to pecl 2003-05-17 14:32:03 +00:00
Sterling Hughes
a42ae5f191 add a package.xml file 2003-05-17 14:29:31 +00:00
Sterling Hughes
7153eb7378 add bzip2 extension to pecl from php5 cvs 2003-05-17 14:27:07 +00:00
Sterling Hughes
38c96364c6 move this extension to pecl 2003-05-17 14:17:57 +00:00
Sterling Hughes
dd8accf890 apply fix from bug #23539 2003-05-17 14:12:36 +00:00
Marcus Boerger
be7b80dcba TSRM fix 2003-05-17 11:44:57 +00:00
Sebastian Bergmann
85a13e3e9a Fix warnings. 2003-05-17 06:21:34 +00:00
Sara Golemon
c9651182c6 MFB(r-1.74.2.8) Bug #14369. ftp extension allows circumvention of safe_mode restrictions. HEAD version of this patch uses the simpler open_wrapper approach to applying safe mode restrictions. Also allows writting to/from wrappers this way. 2003-05-17 04:21:57 +00:00
Sara Golemon
8924395720 MFB(r-1.333.2.27) Bugfix 23654. If subject is an array and it contains other arrays, we want to pass those subarrays through unchanged rather than attempt to convert them to string. 2003-05-16 23:30:08 +00:00
Moriyoshi Koizumi
b67f2dc98d Allow libxml to detect the document encoding if encoding parameter passed to
XML_ParserCreate_MM is null.
2003-05-16 23:21:48 +00:00
Derick Rethans
0596442eef - MFB: Fixed bug #23661: mysql_fetch_array gives no warning on an invalid
result_type
2003-05-16 19:09:19 +00:00
Ilia Alshanetsky
7e2a99d091 Fixed bug #23657 (Missing initialization in browscap module init) 2003-05-16 15:13:47 +00:00
Moriyoshi Koizumi
27b8c453b9 copy'n'paste failure 2003-05-16 06:24:57 +00:00
Moriyoshi Koizumi
3d2b9af9eb Added test case for bug #23650 2003-05-16 06:20:23 +00:00
Moriyoshi Koizumi
8cbb6b6341 Fixed bug #23650 (strip_tags() removes hyphens) 2003-05-16 06:19:51 +00:00
Ilia Alshanetsky
e2444c223b MFB 2003-05-16 01:09:58 +00:00
Moriyoshi Koizumi
f78ec11339 Fixed test so it won't fail in case the output handler is enabled 2003-05-15 19:20:31 +00:00
Sascha Schumann
289ad3960e Fix the way we create references to (sometimes non-)existing
variables.

Credits go to Rob Richards <rrichards@digarc.com> and Zeev
2003-05-15 13:33:18 +00:00
Ilia Alshanetsky
b9215a1538 Fixed bug #23527 (PostScript Type 1 font do not render properly) 2003-05-15 02:25:50 +00:00
Adam Dickmeiss
58040bfd33 Fix yaz_wait. Async mode incorrectly determine resource 2003-05-14 22:18:12 +00:00
Andrei Zmievski
8781970a78 MFB.
@- Updated wddx_deserialize() to take an open stream as an argument. (Andrei)
2003-05-14 18:15:17 +00:00
Sara Golemon
022a1625a3 Implement unlink() method in ftp wrapper ops and do some general cleanup of other code 2003-05-14 18:02:10 +00:00
foobar
6fb825bed4 - Removed remains of ext/fribidi (it's in PECL) 2003-05-14 15:26:38 +00:00
Sara Golemon
65d359d71a Fold 'options' parameter into wops->unlink method 2003-05-14 15:12:07 +00:00
Wez Furlong
1a521e5ab6 Prep for next release 2003-05-14 13:05:22 +00:00
Sascha Schumann
31dc62a905 MFB segfault fix 2003-05-14 08:27:48 +00:00
Daniela Mariaschi
82d513ee72 better fix bug #20641.
Overflow numeric/decimal datatype on NT
2003-05-14 08:22:54 +00:00
Marcus Boerger
7ddb7f15d4 Enable db<n> builds configured with --with-uniquename 2003-05-14 06:22:35 +00:00
Sara Golemon
5126fbe556 Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops 2003-05-14 06:10:04 +00:00
Moriyoshi Koizumi
f1679e4027 Fixed test so it won't fail in correct situations 2003-05-14 00:36:00 +00:00
Ilia Alshanetsky
f1c20d3b55 Added sqlite_fetch_string(), for speedy fetching of data from database
cursor containing only a single column.
2003-05-13 23:51:25 +00:00
foobar
0360a2c012 MFB: removing the crashbug on windows 2003-05-13 22:09:18 +00:00
Marcus Boerger
8dffa02661 Fix this test 2003-05-13 20:37:54 +00:00
Christian Stocker
d3ceb197a2 fixes possible segfault in domxml_xslt_result_dump_mem 2003-05-13 14:52:36 +00:00
Adam Dickmeiss
46dbbff7f0 Fix problem with yaz_record in array mode, when record is unavailable. 2003-05-13 10:31:46 +00:00
Moriyoshi Koizumi
0fc5d74364 oops 2003-05-12 13:28:06 +00:00
Moriyoshi Koizumi
e500e957ba Applied the right fix for bug #23016 2003-05-12 13:26:16 +00:00
Moriyoshi Koizumi
bc741c67d4 Those pieces were not intended. Partly reverted.
# sorry for messing
2003-05-11 09:10:48 +00:00
Moriyoshi Koizumi
ebd92654c1 Added an encoding detection option for expat XML parser. 2003-05-11 09:04:05 +00:00
Moriyoshi Koizumi
4e9e9c6e21 Fixed bug #22463 and bug #23581 2003-05-11 06:36:37 +00:00
Moriyoshi Koizumi
065a192411 Added a test case for bug #23581 2003-05-11 06:33:35 +00:00
Moriyoshi Koizumi
b666d8c679 Added test case for bug #22463 2003-05-11 02:37:17 +00:00
Moriyoshi Koizumi
82d769eefd Fixed compiler errors that occur when bundled libxml is not used. 2003-05-11 01:45:52 +00:00
Rob Richards
47c26016bb Bundle support 2003-05-11 01:01:16 +00:00
Moriyoshi Koizumi
27863eb499 MFB(r-1.40.2.4): fixed bug #23016 2003-05-11 00:49:15 +00:00
Rasmus Lerdorf
e4ff6a5e8b Grr.. Who changed this file from tabs to spaces? 2003-05-10 17:14:47 +00:00
Rasmus Lerdorf
d9eab20c00 MFB 2003-05-10 17:13:58 +00:00
Sascha Schumann
ed68ca44ec Fix types of bug_compat entries
PR: #21312
Submitted by: Rob Richards <rrichards@ctindustries.net>
2003-05-10 16:49:21 +00:00
Sergey Kartashoff
2726d79b9f @- A new functions Udm_Alloc_Agent_Array and Udm_Hash32 have been added to
@  mnogosearch extesion for use with mnogosearch-3.2.11 or later.
- A new functions Udm_Alloc_Agent_Array and Udm_Hash32 have been added to
  mnogosearch extesion for use with mnogosearch-3.2.11 or later.
2003-05-10 11:31:52 +00:00
Hartmut Holzgraefe
16ade3dd46 no more VC++ compile warnings 2003-05-09 07:55:32 +00:00
Ilia Alshanetsky
09fbc97d55 Add missing initialization. 2003-05-09 01:10:18 +00:00
Moriyoshi Koizumi
598dba147d Fixed test case so it reflects the recent change on var_dump() 2003-05-08 23:23:02 +00:00
Moriyoshi Koizumi
ea39409c60 Added missing break 2003-05-08 16:45:59 +00:00
Moriyoshi Koizumi
83ad8e3ae3 Added initialisation for thread safety 2003-05-08 16:01:50 +00:00
Moriyoshi Koizumi
e911b39158 Added "&euro;" support for htmlentities() and html_entity_decode() 2003-05-08 15:43:34 +00:00
Moriyoshi Koizumi
ee86979e21 I should have tested more carefully.. 2003-05-08 15:39:24 +00:00
Moriyoshi Koizumi
1ba4e590ef WS fix 2003-05-08 15:12:04 +00:00
Moriyoshi Koizumi
2b5cebba16 Fixed memleak when the libxml compat layer is used. 2003-05-08 15:07:26 +00:00
Moriyoshi Koizumi
6ed4fd1666 Improved html_entity_decode() so it can handle multibyte charsets and
numeric entities.
2003-05-08 10:42:20 +00:00
Ilia Alshanetsky
b20df54af7 Make serialize precision a configurable option. 2003-05-08 01:23:21 +00:00
Moriyoshi Koizumi
02c9b14ca2 Filled error_mappings[] with placeholders for actual error messages 2003-05-07 20:53:23 +00:00
Sara Golemon
13191aa841 Revert, this caused more trouble than it fixed. 2003-05-07 20:33:53 +00:00
Moriyoshi Koizumi
891bd02e10 Added missing object initialisation
Added missing sanity checks
2003-05-07 20:06:42 +00:00
Moriyoshi Koizumi
cced1b26ec Fixed typos 2003-05-07 19:52:30 +00:00
Moriyoshi Koizumi
29f346d7d7 Removed redundant TSRMLS_FETCH's 2003-05-07 17:40:46 +00:00
Moriyoshi Koizumi
8c539518fb This should be needed. 2003-05-07 15:28:58 +00:00
Moriyoshi Koizumi
21661d3bde Added even better allocator codes for both expat & libxml 2003-05-07 15:21:31 +00:00
Sara Golemon
451cd602f6 HINFO RDATA is <label><label> not <nshort><nshort> 2003-05-06 19:51:46 +00:00
Sterling Hughes
a0351b093f Bundle libxml and add compatibility layer 2003-05-06 19:38:49 +00:00
Marcus Boerger
34a36c466e #i shouldn't do test-fiddling after 3o-clock 2003-05-06 09:33:40 +00:00
Marcus Boerger
6360bda763 Find a better solution for the tests 2003-05-06 01:23:35 +00:00
Daniela Mariaschi
46b1372de7 - removed error message in dtor
(causing segfault when user doesn't free statement)
- removed erroneous controls as for bug #23436
2003-05-05 22:25:29 +00:00
Ilia Alshanetsky
7f404846ad s/g/G/ 2003-05-05 22:21:29 +00:00
Ilia Alshanetsky
a7591863fd Fixed tests to reflect full float values. 2003-05-05 19:57:32 +00:00
Moriyoshi Koizumi
b874a54846 Added links to HTML entity resources 2003-05-05 19:50:15 +00:00
Hartmut Holzgraefe
e6490c4a41 basename() now binary safe, testcases added 2003-05-05 13:46:14 +00:00
Christian Stocker
d9406876e2 MFB (set the doc property to NULL if no parent is available (by Rob Richards)) 2003-05-05 12:56:33 +00:00
Hartmut Holzgraefe
e364d1f589 proto fix 2003-05-05 12:36:35 +00:00
Thies C. Arntzen
747822c616 fixed FMR 2003-05-05 12:17:02 +00:00
Ilia Alshanetsky
88bafcb7a5 Safer implementation.
Thanks Marcus.
2003-05-04 19:09:54 +00:00
Ilia Alshanetsky
75c01dd66b Fixed bug #23298 (serialize cuts off floats & doubles) 2003-05-04 18:41:02 +00:00
Moriyoshi Koizumi
e9111e0f9b Fixed an issue that zend-multibyte's behaviour doesn't reflect the change
to mbstring.internal_encoding ini setting.
2003-05-04 13:11:30 +00:00
Moriyoshi Koizumi
b44ae54bc6 Real fix and a test case for bug #22008 2003-05-04 12:44:36 +00:00
Marcus Boerger
418106cc31 Add me 2003-05-04 12:04:26 +00:00
Moriyoshi Koizumi
e9c903ad3f A quick fix for bug #22008
# BTW I'm working on an enhanced strip_tags implementation with re2c, which
# will feature more CSS awareness and more stateful scanning.
2003-05-04 11:45:58 +00:00
Moriyoshi Koizumi
1dfc59f6d8 Added missing sanity check
# likely a fix for bug #23457
2003-05-04 11:19:57 +00:00
Zak Greant
eac7884bdb Added a few extra proto descriptions and made some minor corrections and comments 2003-05-04 03:15:02 +00:00