Wez Furlong
6c0584d8f1
fix win32 build - thanks Sebastian.
2003-11-27 17:58:58 +00:00
Wez Furlong
eaf0942c8b
Port liveness and SSL CA validation from 4.3 branch.
...
Make stream_select() work on ssl-enabled sockets again.
2003-11-27 17:40:16 +00:00
Wez Furlong
43698d6dbb
initialize this one to be safe
2003-11-27 17:37:35 +00:00
Uwe Steinmann
6b81317509
- set precision to 0 unless the field is of type N or I
2003-11-27 11:32:05 +00:00
Uwe Steinmann
3977fdd7b0
- fixed indenting
2003-11-27 10:15:20 +00:00
Ilia Alshanetsky
cd482c502c
Removed dead code.
2003-11-27 01:08:42 +00:00
Marcus Boerger
0f2f745393
Cleanup
2003-11-26 23:28:35 +00:00
Marcus Boerger
06cdd3e4cc
Remove interfaces implemented in engine now
2003-11-26 08:18:26 +00:00
foobar
78cb38105d
style fix
2003-11-25 20:02:22 +00:00
Sebastian Bergmann
8dd6cded76
'Fix' for bison 1.875.
2003-11-25 15:36:38 +00:00
foobar
7a3ad4172f
- Fixed bug #26376 (typo in ext/odbc/config.m4: DBMaker test fails)
2003-11-25 08:07:35 +00:00
Ilia Alshanetsky
d1a04493bb
Make sure zend stuff is built first.
2003-11-24 18:23:36 +00:00
Andi Gutmans
d344648b07
- Fix __autoload() to preserve class case.
...
- Heads up, this patch might break stuff so please let me know if you
- bump into any problems.
2003-11-24 18:13:29 +00:00
foobar
83650e4e67
Fix the build for other than x86 archs.
2003-11-24 16:09:45 +00:00
Georg Richter
e664af1943
added/fixed write property
2003-11-24 11:31:26 +00:00
Rob Richards
be974aff6e
Fix bug #26159 - SimpleXML XPath support (patch by Adam Trachtenberg)
...
a few fixes to memory corruption
2003-11-24 11:24:40 +00:00
Moriyoshi Koizumi
4b439176da
Partial fix for bug #25803 (xml_get_current_byte_index() always returns 0)
2003-11-24 06:04:39 +00:00
Ilia Alshanetsky
c722ab91ee
Fixed bug #26355 (flock() doesn't initialize the wouldblock argument)
2003-11-24 01:42:43 +00:00
Ilia Alshanetsky
b03d3fa5b7
Added php_strip_whitespace() and php_check_syntax() functions.
2003-11-24 01:17:27 +00:00
Marcus Boerger
a7a9ec079a
Add new test
2003-11-23 16:22:11 +00:00
Marcus Boerger
fc117add30
Several improvements to the simplexml_element object:
...
- Allow to use it as an instance of Iterator
- Prepareto use it as a normal object, including spcialization
2003-11-23 16:20:58 +00:00
Andi Gutmans
ceaddf238b
- Allocation optimizations by Timm Friebe
2003-11-23 12:55:22 +00:00
Georg Richter
fee99f6b29
fixed mem leak in constructor
2003-11-23 07:50:04 +00:00
Georg Richter
230b207849
- Added multiquery support:
...
mysqli_multi_query
mysqli_more_results
mysqli_next_results
- added read-only properties (and removed methods)
object mysql
affected_rows
client_flags
client_version
errno, error,
host, host_info, info
server_capabilities, server_version
sqlstate, port, protocol_version,
server_language
thread_id, user, warning_count
object result
current_field, field_count,
lengths, num_rows, type
object stmt
query, param_count, field_count,
id, errno, error, sqlstate
- added constructor
- minor fixes, prototypes
2003-11-22 21:20:07 +00:00
Marcus Boerger
95c0c36525
Add missing files
2003-11-22 20:52:06 +00:00
Marcus Boerger
3d9ec63384
Update examples
2003-11-22 20:51:15 +00:00
Marcus Boerger
eca139ec52
- rename getLevel() to getDepth()
...
- make parameter to getSubIterator() optinal
- refcount fix
2003-11-22 20:49:15 +00:00
Marcus Boerger
9ed350cf67
- current() returns self
...
- add __toString() casting
2003-11-22 20:46:46 +00:00
Marcus Boerger
e3cbda9789
Disable interfaces ArrayRead and ArrayAccess
2003-11-22 20:44:44 +00:00
Moriyoshi Koizumi
fd28ad3e8c
Fixed bug #26194 (iconv() not properly defined with libiconv).
...
# Thank you Steph and Frank!
2003-11-22 13:36:55 +00:00
Christian Stocker
6f8746a14d
added test for exslt support
2003-11-21 12:22:48 +00:00
Christian Stocker
44ae81871b
- Added $proc->hasExsltSupport()
2003-11-21 12:21:35 +00:00
Hartmut Holzgraefe
ead7c2388d
debug mode no longer needed
2003-11-20 19:01:33 +00:00
Andi Gutmans
fea31127ec
- Fix Windows build
2003-11-20 09:14:51 +00:00
Sara Golemon
0101c27823
New function: headers_list(). Ennumerate headers sent to SAPI engine
2003-11-19 21:10:33 +00:00
Hartmut Holzgraefe
f992fbfa2c
proto fix
2003-11-19 20:13:49 +00:00
Hartmut Holzgraefe
7eb2471565
XSchema stuff finally done right ... (at least i hope so ...)
2003-11-19 19:55:13 +00:00
Hartmut Holzgraefe
8053a324aa
typo fix
2003-11-19 17:38:42 +00:00
Hartmut Holzgraefe
47ee4d5e88
regression test for bug # 26320
...
"strtotime() does not understand ISO6801 datetime format as used in XMLSchema"
2003-11-19 16:37:50 +00:00
Hartmut Holzgraefe
5339f9134f
Testcase done right ...
2003-11-19 16:19:28 +00:00
Hartmut Holzgraefe
8cc9c96cef
regression test for http://bugs.php.net/bug.php?id=26317
...
"military timezones and strtotime()"
2003-11-19 16:01:25 +00:00
Ilia Alshanetsky
44e180b286
Fixed bug #26309 (Fixed argument parsing for imageftbbox()).
2003-11-19 15:49:55 +00:00
Ilia Alshanetsky
2b7b909e16
Fixed bug #26285 (escapeshellarg() uses wrong quotes on windows).
2003-11-19 15:34:30 +00:00
Christian Stocker
b63803a06c
added exslt support
2003-11-19 12:07:59 +00:00
foobar
398b9048dd
ws fix
2003-11-19 05:00:56 +00:00
foobar
56ca2bb6c1
- Fixed bug #26267 (gmp_random() leaks memory and does not produce random numbers)
...
# ..and mpz_random() is obsolete according to the GNU MP manual.
2003-11-19 04:44:06 +00:00
Marcus Boerger
a16ca5a1c2
Dont't stop if directory can't be openedbecause of user rights etc
2003-11-19 00:18:30 +00:00
foobar
9964911cb7
Fix build
2003-11-19 00:09:45 +00:00
Marcus Boerger
e9d0b04588
Must use hasNext() here
2003-11-18 22:34:51 +00:00
Marcus Boerger
43d4079590
update directory examples
2003-11-18 22:18:38 +00:00
Marcus Boerger
dc42ce8cf2
- Rename DirectoryTreeIterator to RecursiveDirectoryiterator (what it
...
effectively is).
- Add DirectoryIterator::__toString ->getFilename
- Add RecursiveDirecetoryIterator::__toString ->getPathname
- Add RecursiveIteratorIterator::getSubIterator.
2003-11-18 22:14:19 +00:00
foobar
97886632ad
- Fix the parameter setting. (this function has 1 optional parameter)
2003-11-18 10:28:13 +00:00
Hartmut Holzgraefe
45a07a546f
the military time zone offsets where pointing in the wrong direction
2003-11-18 06:46:07 +00:00
Hartmut Holzgraefe
f4d669d712
make strtotime() understand the datetime format used with XML Schema
2003-11-18 06:45:01 +00:00
Ilia Alshanetsky
2a58fb80e7
Fixed Bug #25694 (round() and number_format() give inconsistent results).
2003-11-18 02:50:41 +00:00
Frank M. Kromann
02ea233faa
MFB: Fix for bug #25817
...
Check for a return value from a stored procedure right after fetching rows
Replace code with some Z_ macros
2003-11-17 20:56:53 +00:00
foobar
d240eea0d8
- Fixed bug #26253 (ext/tokenizer: build as shared extension fails)
2003-11-17 19:31:17 +00:00
Marcus Boerger
5757ae3d24
Rename ArrayClass to ArrayObject
2003-11-17 05:32:43 +00:00
Marcus Boerger
b904d296c9
Fix ArrayClass and provide missing has_dimension handler.
2003-11-17 05:25:47 +00:00
Ilia Alshanetsky
ace83a8262
Silence warning.
2003-11-17 04:54:27 +00:00
Marcus Boerger
54352a63ad
Fix RecursiveIteratorIterator
2003-11-17 00:57:01 +00:00
Marcus Boerger
3bfa497254
WS
2003-11-17 00:56:15 +00:00
Marcus Boerger
883777623a
Make it an interface with an code example as comment
2003-11-17 00:55:37 +00:00
Ilia Alshanetsky
8845a0300f
Added myself to credits.
2003-11-16 20:43:57 +00:00
Frank M. Kromann
4394ccf358
Fix win32 compilation. This will import the core_globals_id
2003-11-15 05:42:57 +00:00
Frank M. Kromann
72297f444b
Adding missing class init's for new ming 0.3a functions
2003-11-15 00:53:39 +00:00
Ilia Alshanetsky
c53b53f926
Rename nanosleep() to time_nanosleep().
2003-11-14 22:55:54 +00:00
Moriyoshi Koizumi
6b7bd4be8f
ctime ( #10 ) may differ on several filesystems.
...
# I confirmed it on Darwin
2003-11-14 08:59:30 +00:00
Marcus Boerger
86676d4d12
Adjust to latest conversion cast changes
2003-11-14 07:41:05 +00:00
Ilia Alshanetsky
64bc9176e1
Fixed bug #26235 (yp_first/yp_next do not specify correct key length).
2003-11-14 00:32:25 +00:00
Marcus Boerger
3733cf409e
Fix testcase name
2003-11-13 21:16:57 +00:00
Rasmus Lerdorf
8afe759fa8
proto fix
2003-11-13 20:55:00 +00:00
Marcus Boerger
2b35596d7f
Fix classname, CDATA handling (semantically identical to text) and
...
iterators (Return sub elements as objects, converted to string you get
the text).
2003-11-13 20:32:38 +00:00
Marcus Boerger
2bed6c2b8a
Proto fixes (Friedhelm Betz <holliwell|gmx.net>)
2003-11-13 19:08:41 +00:00
John Coggeshall
365f0638fc
Releasing 1.0....
2003-11-13 17:50:39 +00:00
Edin Kadribasic
45f12cc61f
Windows compile fix (patch by sfox@php.net).
2003-11-13 10:32:05 +00:00
Marcus Boerger
a18bd05f32
Bugfix #25794 : Cannot open existing hash db3 file with write
2003-11-13 08:59:02 +00:00
Marcus Boerger
4d752bd78e
Pass eof
2003-11-13 07:53:15 +00:00
Ilia Alshanetsky
127ed194b7
Added configure check for nanosleep() availability.
2003-11-12 23:43:46 +00:00
foobar
32b5a41941
- Fixed bug #26072 (--disable-libxml does not work).
2003-11-12 23:42:38 +00:00
Marcus Boerger
81d1a19d0b
Bugfix #26216 : ("getimagesize(): stream does not support seeking" when
...
using remote files)
2003-11-12 22:51:22 +00:00
Ilia Alshanetsky
3691ab699c
Added nanosleep(), in addition to allowing setting of very short states.
...
This function is signal safe.
2003-11-12 22:02:37 +00:00
Jay Smith
544fe688c5
Plugged a small memleak when errstr isn't efree()'d.
2003-11-12 22:01:02 +00:00
Marcus Boerger
daaef88047
Add helper function that splits inifile keys into an array which again
...
can be used in dba_fetch calls.
2003-11-12 21:43:03 +00:00
Marcus Boerger
038cb2dc9a
Compiler fixes for older ming versions
2003-11-12 09:12:51 +00:00
Sergey Kartashoff
228918223e
- A bug in WORDINFO calculation in mnogosearch extension was fixed.
2003-11-12 07:40:17 +00:00
Ilia Alshanetsky
770a111a43
Fixed bug #26198 (strtotime() handling of M/F Y date format).
2003-11-12 02:55:03 +00:00
Marcus Boerger
e480d10021
Fix this
2003-11-11 18:33:34 +00:00
Marcus Boerger
91ab36096e
Add shortcut interface SeekableIterator to LimitIterator
2003-11-11 18:31:50 +00:00
Moriyoshi Koizumi
f8e6e5dad3
Compiler warning fix (patch by Joe Orton)
2003-11-11 17:35:32 +00:00
Ilia Alshanetsky
beffc71b3f
Fix ZTS build.
2003-11-11 01:51:22 +00:00
Marcus Boerger
ab05faf5b1
Implement different recursion modes as statemachine and have an optional
...
parameter to choose the mode in the constructor.
2003-11-11 00:25:26 +00:00
Marcus Boerger
bfb73676de
Split into element=property and attribute=dimension overloading.
2003-11-10 20:27:16 +00:00
Ilia Alshanetsky
7fe481c9d0
Fixed bug #26176 (Fixed handling of numeric keys in INI files).
2003-11-10 04:12:38 +00:00
Marcus Boerger
c300480441
Synch exposed functions with c-level iterator functions
2003-11-09 23:00:50 +00:00
Marcus Boerger
159c538bcf
Major update:
...
- Remove all overloading hooks -> array_read/array_access must be rewritten
- Remove all basic iterators
- Remove all 'spl_' prefixing exposed to user level
- Add RecursiveIterator, RecursiveIteratorIterator
- Add DirectoryIterator, DirectoryTreeIterator
- Add some examples
2003-11-09 14:05:36 +00:00
Marcus Boerger
e72339284f
Add method reflection_class::implementsInterface()
...
Allow string & reflection_class in isSubclassOf()
2003-11-08 21:41:42 +00:00
Marcus Boerger
ab6b1adf0b
Fix reflection_class::isSubclassOf()
2003-11-08 21:02:21 +00:00
Sergey Kartashoff
899b960ed1
- Mnogosearch Extension was updated to include mnogosearch-3.2.16 features
2003-11-08 14:36:32 +00:00
Ilia Alshanetsky
2016ac0a73
Fixed write support.
2003-11-07 19:12:46 +00:00
Ilia Alshanetsky
d9bf51b17c
10-18% optimization of fetch_array(), when both number & string indexes are
...
created.
# Do we want to MFH the change (for ext/mysql) into 4.3.X?
2003-11-07 17:20:49 +00:00
Marcus Boerger
220e41a421
Move typedef to where it is needed now.
2003-11-07 09:26:18 +00:00
Marcus Boerger
ccb6311406
Make php_stat() available for extensions.
2003-11-07 09:16:16 +00:00
Ilia Alshanetsky
648a1e0d78
Added mandatory safe_mode & open_basedir checks.
2003-11-07 01:17:32 +00:00
Frank M. Kromann
f68114414b
Getting rid of c++ style comments
2003-11-06 16:50:40 +00:00
Sascha Schumann
db56268231
WS
2003-11-06 14:31:33 +00:00
Sascha Schumann
5a32c21f46
Fix a format string
...
Nuke a sprintf (slooow)
And embed the charset as part of the hashed details (persistent conn key),
because the function otherwise happily returns incompatible connections.
(e.g. US7ASCII vs. UTF8; the client-side charset is not alterable once a
connection has been established.)
2003-11-06 14:29:09 +00:00
Frank M. Kromann
2c3edcea09
MFB: Adding new features from ming 0.3a.
2003-11-06 07:29:38 +00:00
Ilia Alshanetsky
f884a5b437
Kill unused variables.
2003-11-05 23:44:09 +00:00
Ilia Alshanetsky
046904f2b1
Fixed bug #26113 (remove leftover local file when ftp_get/ftp_nb_get fails)
2003-11-04 20:56:47 +00:00
Moriyoshi Koizumi
668e8a87e6
Fix tests
2003-11-04 16:18:21 +00:00
Moriyoshi Koizumi
f0725828f0
Add XML_SAX_IMPL constant to determine which implementation (libxml / expat)
...
is selected for SAX interface.
2003-11-04 16:15:52 +00:00
Moriyoshi Koizumi
bb6f3a115e
Fixed bug #24394 (serializing cross-referenced objects causes segfault)
2003-11-04 16:08:10 +00:00
foobar
5b4e619cdd
- Moved all the mime_magic.c specific stuff into their own header file
...
to prevent possible compile failures.
# Should fix bug #26103
2003-11-04 05:15:19 +00:00
Ilia Alshanetsky
b520c9d42c
Fixed bug #26097 (gdImageColorClosestAlpha() returns incorrect results).
2003-11-04 01:55:50 +00:00
Moriyoshi Koizumi
8572fc2af5
Add regression test for XPath support
2003-11-03 22:49:24 +00:00
Moriyoshi Koizumi
2a3e05e865
Fix test
2003-11-03 22:42:56 +00:00
John Coggeshall
5d0f70a004
Should've added a few more cases to that bugfix switch.
2003-11-03 22:34:44 +00:00
John Coggeshall
8a36e954f0
Fixed a bug -- Nodes of certain types don't actually have ID values and PHP
...
would segv trying to read one.
2003-11-03 16:35:58 +00:00
Derick Rethans
3ab8d263b8
- Always store the URI path in the streams structure, and expose it with
...
stream_get_meta_data().
2003-11-03 14:12:46 +00:00
Sterling Hughes
040d945fb7
make this macro safe
2003-11-03 13:55:19 +00:00
Sterling Hughes
6ab221b3f6
remove attributes from this check
2003-11-03 13:50:43 +00:00
Sterling Hughes
e963f0b168
- Stop a crash in xpath
...
- Remove the ability to access attributes via the -> operator, attributes
are accessed via the array indicators
2003-11-03 13:36:23 +00:00
Marc Boeren
22872bb8fa
Make life for the doc-team easier, without causing harm ;-)
2003-11-03 11:15:23 +00:00
Moriyoshi Koizumi
8e1bbd9aea
Proto fix
2003-11-02 18:54:08 +00:00
Moriyoshi Koizumi
06d541a63a
SKIP tests if compress.zlib wrapper is not available.
2003-10-31 16:12:27 +00:00
foobar
2c9f29b9b6
cosmetics
2003-10-31 13:48:34 +00:00
Ilia Alshanetsky
00635d0807
Fixed bug #26042 (memory leak if mcrypt_generic_deinit() is not called
...
after every mcrypt_generic_init() call).
# This will be MFHed into 4.3.X tree after release.
2003-10-31 04:33:51 +00:00
Zak Greant
8802c3ad8c
Ensure that INI entries are unregistered on shutdown
2003-10-30 13:32:18 +00:00
Georg Richter
8f1f9b2f6d
changed return value from long to boolean for mysql_execute
2003-10-30 12:35:16 +00:00
Christian Stocker
038a7c4831
make test work with libxml2 2.6.x and lower
...
(I used lowercase html again in the EXPECT part, as this is now the default
behaviour for newer libxml2 releases)
2003-10-30 10:06:00 +00:00
Ilia Alshanetsky
ab7ee13670
Added substr_compare().
2003-10-30 00:49:33 +00:00
Moriyoshi Koizumi
e6feb47f00
Some clean-ups
2003-10-29 22:25:57 +00:00
Moriyoshi Koizumi
cca80292fe
This check's always necessary.
2003-10-29 21:50:15 +00:00
Georg Richter
73be3af983
added functions for embedded server
2003-10-29 20:52:25 +00:00
Georg Richter
8caae993a3
added support for embedded MySQL Server
...
some prototype fixes
2003-10-29 20:48:47 +00:00
Moriyoshi Koizumi
28369f6e86
Add test case for bug #26003
2003-10-29 19:45:38 +00:00
Moriyoshi Koizumi
13f16d5690
MFB(r-1.109.2.12): A possible fix for bug #26026
2003-10-29 18:48:37 +00:00
Moriyoshi Koizumi
9547ac2dde
Oops.
2003-10-29 18:04:24 +00:00
Moriyoshi Koizumi
088acb6efb
Update test for an additional check to ensure the variable used for an
...
index would not be modified during deference.
2003-10-29 17:58:40 +00:00
Moriyoshi Koizumi
734254513c
Do not use convert_to_*_ex() for ordinary zval pointers.
2003-10-29 17:50:56 +00:00
Marcus Boerger
6b57bb1675
Add simplexml array handlers that allow to explicitly work with attributes.
2003-10-29 12:06:52 +00:00
Frank M. Kromann
c26303c789
On win32 extensions starts with php_
2003-10-29 05:42:26 +00:00
Frank M. Kromann
aefb8fe2f8
Fix typo in parameter
2003-10-29 05:34:00 +00:00
Ilia Alshanetsky
e0a943dcdb
Fixed test.
2003-10-29 05:04:40 +00:00
Sara Golemon
70f4a0c9ec
Allow userspace filters to use wildcards
2003-10-29 00:19:57 +00:00
Sara Golemon
735b24a727
Allow userfilter instantiation to programmatically fail by returning false.
...
Equivalent of Cspace filter "failure" by returning NULL.
2003-10-28 23:56:57 +00:00
George Schlossnagle
797ac80e7c
Added pcntl_wait, a wraspper around wait()/wait3()
2003-10-28 17:08:18 +00:00
Ilia Alshanetsky
a4eebd74a6
Fixed compiler warning.
2003-10-28 04:22:12 +00:00
Shane Caraveo
4e283ed686
fix win32 build
2003-10-28 04:21:29 +00:00
Ilia Alshanetsky
8f6b374d1d
By popular demand renaming uu(encode/decode) to convert_uu(encode/decode).
2003-10-28 04:02:11 +00:00
Moriyoshi Koizumi
1085c08aa5
Add missing reinitialization call
2003-10-27 22:45:58 +00:00
Moriyoshi Koizumi
69dcdcb7c1
Fixed bug #26003 (fgetcsv() not binary-safe on null bytes)
2003-10-27 22:36:44 +00:00
Christian Stocker
9e5bc9509e
use php_error_docref
2003-10-27 19:52:50 +00:00
Christian Stocker
901153b441
extending of domDocument class test
2003-10-27 17:51:55 +00:00
Christian Stocker
e735e44f52
added html test
2003-10-27 17:36:44 +00:00
Christian Stocker
0d59b3dda6
xinclude test
2003-10-27 15:32:44 +00:00
Christian Stocker
3cd8d4a865
xinclude support readded to ext/dom
2003-10-27 15:32:22 +00:00
Christian Stocker
df7799762a
streams test
2003-10-27 15:13:12 +00:00
Christian Stocker
1d40b25f68
- streams test
2003-10-27 15:12:20 +00:00
Christian Stocker
e311179b72
exception/try/catch test
2003-10-27 12:52:37 +00:00
Christian Stocker
c07a013345
forgot one file
2003-10-27 12:17:28 +00:00
Christian Stocker
45614453cd
fix for test Nr 3 bug (not freeing all params)
2003-10-27 12:16:35 +00:00
Christian Stocker
11a63934d4
added interop test
2003-10-27 11:34:45 +00:00
Christian Stocker
d8f6f9d763
added SKIPIF extension is not loaded checks
2003-10-27 11:28:43 +00:00
Christian Stocker
a8063d776c
interop test
2003-10-27 11:24:30 +00:00
Christian Stocker
9caf3e1253
totally wrong expected output...
2003-10-27 08:49:11 +00:00
Christian Stocker
acd5eb24db
some tests (test #3 is currently broken due to memleak, fix is on the way)
2003-10-27 08:46:55 +00:00
Marcus Boerger
dcc060382a
Add another test
2003-10-27 08:43:52 +00:00
Marcus Boerger
da9ce6380c
Rename test
2003-10-27 08:43:25 +00:00
Ilia Alshanetsky
17b9b2dc85
Added uuencode() & uudecode() functions.
2003-10-27 05:35:41 +00:00
Rob Richards
a807b34427
cannot import nodes without document
2003-10-27 01:12:53 +00:00
Christian Stocker
eb2104d17c
remove unneeded variables
2003-10-27 00:03:28 +00:00
Christian Stocker
e5bd8fdd0d
- Make distinction in error-reporting between Warnings and Errors from libxml2
...
- Use internal error_handlers during html-parsing as well
2003-10-27 00:01:39 +00:00
Christian Stocker
70f75fff89
fix test (validation returns a warning, if xml is not valid)
2003-10-26 19:35:08 +00:00
Christian Stocker
4e5d4006fd
- added interop between DOM and SimpleXML example
...
- added xpath example
2003-10-26 19:15:52 +00:00
Christian Stocker
1e46a26f0f
fix example for saving to file
2003-10-26 18:56:03 +00:00
Rob Richards
5191cd3e99
add interop with dom - simplexml_import_dom
...
change write behavior on elements to change actual contents
change clone method to clone node and not document
fix a few libxml mem leaks
2003-10-26 16:00:58 +00:00
Rob Richards
09c09f4279
use common structures from php_libxml.h
2003-10-26 15:57:31 +00:00
Rob Richards
207dc90924
add interop with simplexml - dom_import_simplexml
...
fix cloneNode with elements
2003-10-26 15:57:02 +00:00
Rob Richards
d29fb55bbb
common functions for interoperability
2003-10-26 15:53:20 +00:00
Marcus Boerger
7e90647611
Add attribute test
2003-10-26 13:27:26 +00:00
Marcus Boerger
14911a136f
Fix memory corruption
2003-10-26 13:27:03 +00:00
Marcus Boerger
c7995af071
Add foreach test
2003-10-26 13:18:59 +00:00
Marcus Boerger
6131454cca
Add iterator to make foreach work
2003-10-26 13:11:56 +00:00
Marcus Boerger
869ce07c96
And get the last thing working
2003-10-26 01:17:51 +00:00
Marcus Boerger
ad172161e0
Add test
2003-10-26 01:04:25 +00:00
Marcus Boerger
2318a83e81
Fix tests
2003-10-26 01:03:21 +00:00
Sebastian Bergmann
b2f860ce6d
Patch by Steph to sanitize ssize_t typedef on Windows.
2003-10-26 00:42:42 +00:00
Marcus Boerger
0d95b23a51
Fix casting (the question is when & what should be freed here).
2003-10-26 00:39:48 +00:00
Marcus Boerger
2befd022b1
Fix test
2003-10-26 00:35:56 +00:00
Marcus Boerger
37f6618c64
Allow static methods being called from sqlite sql. Notice by Stphane Mariel
2003-10-25 23:17:15 +00:00
Marcus Boerger
07d94c2410
Fix test 4 with the help of Rob
2003-10-25 23:06:23 +00:00
Marcus Boerger
46251fa3f8
Show if Schemas are supported
2003-10-25 21:28:01 +00:00
Marcus Boerger
873bcefa52
Fix memleaks
2003-10-25 21:08:33 +00:00
Marcus Boerger
0197d5b916
More testing
2003-10-25 21:07:37 +00:00
Marcus Boerger
0a68fb0222
Fix warning
2003-10-25 20:28:39 +00:00
Marcus Boerger
168f2ac787
Fix test
2003-10-25 20:27:48 +00:00
Marcus Boerger
f67510a0d8
Add some testing
2003-10-25 20:00:04 +00:00
Marcus Boerger
da8ce17f7a
This forces a better error message for non working clone calls.
2003-10-25 19:28:31 +00:00
Marcus Boerger
fe3db4c7e9
You shall not clone reflection_xx instances
2003-10-25 19:06:35 +00:00
Marcus Boerger
ee0f709e4b
- Fixed bug #25581 (getimagesize () return incorrect values on bitmap
...
(os2) files)
2003-10-25 14:06:29 +00:00
Rui Hirokawa
c4b163de88
encoding detection shouldn't be performed if mbstring.http_input is set to auto or any valid encoding.
2003-10-25 10:29:07 +00:00
Adam Dickmeiss
dca01635d5
For YAZ, RSHUTDOWN closes persistent connections that have been idle
...
more than yaz.keepalive seconds. Default value for config yaz.keepalive
is 120 seconds. The shutdown prevents many sockets in CLOSE_WAIT state.
2003-10-24 19:32:09 +00:00
Marcus Boerger
eabcb173b1
Revert accidential commit
2003-10-24 18:44:40 +00:00
Marcus Boerger
071eaf8576
Zend/ZEND_CHANGES
2003-10-24 18:24:28 +00:00
Marko Karppinen
074ca45399
Workaround for bug #25955
...
Generalized a Darwin check in dns.c to a check for inet_pton() (kalowsky)
2003-10-24 17:09:36 +00:00
Ilia Alshanetsky
4d349926ff
Fixed some test names.
...
Removed extraneous \r from a number of tests.
2003-10-24 03:31:57 +00:00
Marcus Boerger
a3d6fb043d
Update tests
2003-10-23 07:14:50 +00:00
Marcus Boerger
000e01e5d3
Update
2003-10-23 07:09:04 +00:00
Rui Hirokawa
0ce637835a
name/value in multipart/form-date will be converted into internal encoding when mbstring.encoding_translation is On.
2003-10-22 14:14:05 +00:00
Ilia Alshanetsky
980c3b2b4c
Fixed compile warnings.
2003-10-22 02:38:47 +00:00
Moriyoshi Koizumi
48fbe0af2a
Add a test case for getElementsByTagName() / getElementsByTagNameNS()
2003-10-21 02:43:24 +00:00
Moriyoshi Koizumi
bde1fe4d81
Missing '&' in the result of get_html_translation_table()
2003-10-21 01:46:54 +00:00
Rob Richards
44164170f3
implement namespace nodes
...
fix getElementsByTagName
fixes to attribute namespaces
remove safemode stuff as its handled in streams
2003-10-20 15:50:34 +00:00
Moriyoshi Koizumi
5dac05638f
Fix typo
2003-10-20 15:45:01 +00:00
Moriyoshi Koizumi
3929cf22d8
Fix compiler warnings
2003-10-20 15:41:53 +00:00
Moriyoshi Koizumi
569309765c
Fix compiler warnings
2003-10-20 15:33:40 +00:00
Ilia Alshanetsky
30cc4dc8c9
Fixed bug #25918 (Possible crash in mime_content_type()).
2003-10-20 14:36:51 +00:00
Ilia Alshanetsky
21fceae7d6
Fixed bug #25923 (mail() modifies the to & subject arguments).
2003-10-20 14:22:01 +00:00
Shane Caraveo
c55f987230
fix the stat check in stream open
...
addref to the stream context
2003-10-20 03:11:45 +00:00
Ilia Alshanetsky
26f7af25ba
Fixed bug #25895 (Incorrect detection of safe_mode limited ini options)
2003-10-20 01:59:35 +00:00
Rob Richards
56ce4a84e7
add generic default error handling rather than the default stderr
2003-10-19 23:34:39 +00:00
Rob Richards
33004a01ee
unescape filepath which libxml excapes
2003-10-19 23:25:48 +00:00
Shane Caraveo
052f9378b2
add global init/shutdown functions for libxml. this is required as
...
shutdown is not safe to call multiple times, and to make streams work
correctly some init stuff has to happen in a specific order
2003-10-19 23:17:56 +00:00
Shane Caraveo
399095e7a5
Add libxml extension for common code that is needed to be shared between
...
various xml extensions. currently the only implemented support is the
addition of the streams support for libxml. One new function,
libxml_set_streams_context, which allows a streams context to bet set
prior to loading or writing documents. This works transparently with any
extension that uses libxml. All ini settings that effect streams will
also now effect the loading and writing of xml documents.
TODO: linux support, not sure if config.m4 will work right.
2003-10-19 21:48:46 +00:00
Shane Caraveo
e5103d764a
make file uri's work with streams
2003-10-19 20:04:33 +00:00
Shane Caraveo
4505a611ba
make parse_url work correctly for file uri's on windows, such as
...
file:///c:/somepath/somefile.txt
2003-10-19 20:00:51 +00:00
Marcus Boerger
b0b82541e8
Fix class/iterator relationship & handling
2003-10-18 18:43:31 +00:00
Wez Furlong
0577d9310b
bah. does it really make any difference where rewind lives in the struct!?
2003-10-18 15:56:16 +00:00
Wez Furlong
398f032203
fix cruft from previous incarnation of the iterators
2003-10-17 21:03:01 +00:00
Wez Furlong
d8d1ca3f3b
add com iterator support
2003-10-17 20:52:18 +00:00
Marcus Boerger
641a55a4dd
Show if a class/object is iterateable
2003-10-17 17:51:01 +00:00
Marcus Boerger
9fbaa7aca5
- Make use of engine iterators
2003-10-17 17:21:56 +00:00
Marcus Boerger
08d1c991cf
The sqlite classes need to be final
2003-10-17 08:17:09 +00:00
Marcus Boerger
43a948379a
Fix showing final/abstract for classes
2003-10-17 08:15:48 +00:00
Marcus Boerger
4943cae926
pre/hasprev have nothing to do with iteration
2003-10-17 08:01:49 +00:00
Ilia Alshanetsky
4c4d5a02b9
Fixed formatting issues (patch by: Joe Orton)
2003-10-17 02:21:27 +00:00
Ilia Alshanetsky
1459361c3e
Do not strip trailing spaces.
2003-10-16 04:24:07 +00:00
Ilia Alshanetsky
fff7c6098b
Fixed bug #25777 (Do not rtrim() of text fields fetched from mssql)
2003-10-15 03:31:29 +00:00
Wez Furlong
54d1769653
MFB Fix for #25825
2003-10-15 00:18:53 +00:00
George Schlossnagle
54a31f5a88
fix for dereferncing null pointer (mfladischer@gmx.net)
2003-10-15 00:15:23 +00:00
Uwe Steinmann
84d156ae15
- limit writing of field data to field len + 1
...
This fixed many memory overrun errors which appeared
in several scripts when writing a record.
2003-10-14 07:49:34 +00:00
Wez Furlong
c35810c203
unintialized variable.
...
Patch by Joe Orton
2003-10-13 11:46:36 +00:00
Wez Furlong
42ae98d7a2
Fix unintialized variable.
...
Patch by Joe Orton.
2003-10-13 11:43:14 +00:00
Derick Rethans
c3b21fc55c
- Email address change
2003-10-13 09:33:00 +00:00
Ilia Alshanetsky
a9b20a6abf
Fixed bug #25800 (parse_url() could not parse urls with empty port).
2003-10-13 04:27:23 +00:00
Ilia Alshanetsky
3158ff714e
Remove sendmail patch check.
2003-10-13 04:15:09 +00:00
Wez Furlong
f27387c68c
Fix possible segfault (this one came up when a method could not be found).
...
Add a couple of headers used by another file that is not yet ready to
commit.
2003-10-13 01:29:39 +00:00
Vlad Krupin
db0a175bcb
rolling back fix for 23463. The "fix" broke more than it fixed (see bug 25558)
2003-10-12 01:07:59 +00:00
Andrey Hristov
638b940307
New array functions for doing intersection of arrays that are complementary
...
to array_*diff* family of functions. Namely array_uintersect(), array_uintersect_assoc(),
array_intersect_uassoc() and array_uintersect_uassoc(). Test case is also included.
#docs and news entry later.
2003-10-09 08:10:39 +00:00
Shane Caraveo
31b7b3a2b2
add the valid xml test
2003-10-09 05:47:38 +00:00
Shane Caraveo
d0cf1ec40d
add a DTD example
2003-10-09 05:46:03 +00:00
Wez Furlong
e087da60dc
And this EOF flag...
2003-10-08 11:23:47 +00:00
foobar
e85a4cdbd2
- Fixed bug #25780 (ext/session: invalid session.cookie_lifetime causes crash in win32).
2003-10-08 10:22:51 +00:00
Wez Furlong
628afb40b6
Implement stream_get_contents, which is somewhat akin to file_get_contents,
...
except that it works on an already opened stream.
2003-10-08 10:07:25 +00:00
Moriyoshi Koizumi
ed40a56c6c
Oops..
2003-10-08 01:51:32 +00:00
Moriyoshi Koizumi
f4595d18af
Better fix for bug #25758
2003-10-08 01:49:31 +00:00
Ilia Alshanetsky
6f8b8ade45
Fixed bug #25758 (var_export does not escape ' & \ inside array keys)
2003-10-08 01:16:44 +00:00
Wez Furlong
18bfcc8897
A much better fix for moniker based COM object creation.
...
We now support binding monikers to remote machines.
However, MSDN docs indicate that this isn't yet implemented
as of Win2000.
2003-10-07 18:50:07 +00:00
Zeev Suraski
2cc9511cc7
Fix cast callbacks
2003-10-07 15:47:25 +00:00
Corne' Cornelius
5eb3a1dfdd
- Fixed bug #18534 (ifx_close() leaves open session)
...
- (ifx_do_close) Added
2003-10-07 09:29:58 +00:00
Ilia Alshanetsky
90100e5c90
Cleaned up previous patch.
2003-10-07 00:36:31 +00:00
foobar
47484ce5d3
- Fixed bug #25764 (ldap_get_option() crashes when called with unbinded ldap link)
2003-10-06 23:33:00 +00:00
Rob Richards
6c9bbe70bf
some namespace fixes
...
fix compiler warning
2003-10-06 21:28:01 +00:00
Wez Furlong
a1b5c341a2
potential fix for #25759 , although it will need further review.
2003-10-06 15:10:38 +00:00
Moriyoshi Koizumi
506136f9c6
Forgot about this one
2003-10-06 01:04:49 +00:00
Moriyoshi Koizumi
503d74aa29
Fixed bug #25756 (SimpleXML's validate_schema_file() broken)
2003-10-06 01:02:28 +00:00
Shane Caraveo
e12aafca6b
fix crash building nodeName
2003-10-05 21:53:08 +00:00
Shane Caraveo
4fbf5a0733
fix crash accessing tagName without namespace
2003-10-05 21:49:47 +00:00
Shane Caraveo
87bd7d57c6
Add schema and relaxNG validation support
...
domdocument->schemaValidate(string filename)
domdocument->schemaValidateSource(string xml)
domdocument->relaxNGValidate(string filename)
domdocument->relaxNGValidateSource(string xml)
also fix domelement->setAttributeNS
2003-10-05 20:45:27 +00:00
Ilia Alshanetsky
31a3c87159
Fixed clobbering of the source array, when merging complex
...
multi-dimensional arrays. Bug reported by Lukas Smith.
2003-10-05 19:37:02 +00:00
Shane Caraveo
a05dbd3a28
remove a debug printf
2003-10-05 16:37:50 +00:00
Moriyoshi Koizumi
2c95c42404
Fix the macro to prevent it from falling over in a mess
2003-10-05 13:59:15 +00:00
Moriyoshi Koizumi
30d64ecc3e
Fix test to make sure it can find the external xml file relatively to
...
the script file.
2003-10-05 13:53:16 +00:00
Rob Richards
8f489130bf
fix segfault if xpath expression string is invalid
2003-10-05 13:14:21 +00:00
Rob Richards
c21e78ddf2
implement isDefaultNameSpace and baseURI
...
nodeName and tagName return qualified names
fix removeAttributeNode - takes domAttr as parameter
better uri and file handling for document load method
fix possible segfault when document is freed
set get_property_ptr_ptr handler to NULL
2003-10-05 11:52:22 +00:00
Zeev Suraski
c6c240a455
Sync with new API
2003-10-05 08:08:49 +00:00
Moriyoshi Koizumi
80edbeba2f
Change fgetcsv() so that the second parameter is also optional.
2003-10-04 21:06:29 +00:00
Moriyoshi Koizumi
10961114ad
Fix autoconf(2.13) build
2003-10-04 12:23:11 +00:00
Sergey Kartashoff
069e311c60
- Updated README for mnogosearch extension
2003-10-04 08:27:37 +00:00
Moriyoshi Koizumi
921e5b47c5
Fix fgetcsv() to correctly support international characters
...
# note: mblen() is not a mbstring function, but is part of the ANSI standard
# which is even supported by Microsoft's libc.
2003-10-04 02:51:19 +00:00
foobar
96e0010f13
- Fixed bug #25752 (ext/ncurses: ncurses.h instead of curses.h with BSD).
2003-10-04 01:04:31 +00:00
foobar
708dee922c
ws
2003-10-04 00:43:06 +00:00
Moriyoshi Koizumi
4859431fc1
Fixed bug #24766 (strange result array from unpack())
2003-10-03 22:41:43 +00:00
Ilia Alshanetsky
df11d7079c
More ZTS stuff.
2003-10-03 18:05:42 +00:00
Moriyoshi Koizumi
7e9a54990c
Add regression test for bug #25745
2003-10-03 16:59:44 +00:00
Moriyoshi Koizumi
0d2b8c68df
Bug #25745 (ctype functions don't deal with non-ascii characters properly)
2003-10-03 15:50:01 +00:00
Ilia Alshanetsky
afc48dc8f2
Fixed bug #25744 (make ZTS build of ext/sybase compile)
2003-10-03 13:03:40 +00:00
foobar
f3f9f8db7f
- Added test for bug #24766
...
# This bug is caused by the HANDLE_NUMERIC() change in ZE2 vs ZE1
2003-10-03 05:47:07 +00:00
foobar
db50cd251e
Aligned configure help texts.
2003-10-03 05:24:33 +00:00
Moriyoshi Koizumi
5fee3a3ce1
Alignment fix
2003-10-03 01:13:44 +00:00
Ilia Alshanetsky
763b39cc1d
Fixed compile warnings.
2003-10-03 01:07:35 +00:00
Moriyoshi Koizumi
76ae064883
Add a test case for bug #25708
2003-10-02 22:50:28 +00:00
Moriyoshi Koizumi
75bb36ed09
Fixed bug #25708 (extract($GLOBALS, EXTR_REFS) mangles $GLOBALS)
2003-10-02 22:20:48 +00:00
Moriyoshi Koizumi
d7398813c3
A temporary voodoo hack to avoid memory leaks.
...
# Stuff of this kind must be removed if any neater way is out there.
2003-10-02 19:45:05 +00:00
Moriyoshi Koizumi
6745000c37
Fix for the fix for #25707
2003-10-02 19:23:00 +00:00
Moriyoshi Koizumi
04bcd89277
Add support for hexadecimal-style numeric entities (&#x..;)
2003-10-02 19:07:59 +00:00
Moriyoshi Koizumi
edd18bae09
Drop multibyte character support in html_entity_decode().
...
# This has never worked as expected.
2003-10-02 19:06:44 +00:00
Frank M. Kromann
20315a3c5d
FrontBase uses ws2_win32 lib now
2003-10-02 18:49:30 +00:00
Frank M. Kromann
7c5bd1e180
Fixing type cast
2003-10-02 18:49:18 +00:00
foobar
d0422ea0bc
fix skipif for these tests
2003-10-02 14:55:49 +00:00
Moriyoshi Koizumi
a5422685fb
Remove leftovers
2003-10-02 11:02:54 +00:00
Moriyoshi Koizumi
daf7528d90
Alignment fix
2003-10-02 10:47:12 +00:00
Moriyoshi Koizumi
f2b36ec52b
Fix php_regex_encoding() so it can handle two additional encoding names
...
mbfilter supports by default.
2003-10-02 07:49:14 +00:00
Moriyoshi Koizumi
647408978e
Fixed bug #25707 (html_entity_decode over-decodes &lt;)
2003-10-02 06:57:21 +00:00
foobar
dc080a5db6
- Always look into /usr/local before /usr
...
- Added breaks to make sure the preferred value is used.
2003-10-01 02:53:23 +00:00
Ilia Alshanetsky
526a3d9ce2
Always prefer user specified paths over the default /usr /usr/local.
...
This may fix compilation problems with on systems with multiple copies of
the same library.
2003-09-30 22:36:43 +00:00
Andrey Hristov
26aba89a43
Move the test to new file.
2003-09-30 15:22:33 +00:00
Andrey Hristov
a11645dda8
fix
2003-09-30 15:06:05 +00:00
Andrey Hristov
40088d0bbc
smash a segmentation fault
2003-09-30 15:00:36 +00:00
Andrey Hristov
02827c46be
Memory leak fixed (no need of MFH since this is code specific to PHP5)
2003-09-30 12:43:58 +00:00
Stanislav Malyshev
e21669502b
MF4: allow realpath() for win32 non-ZTS
2003-09-30 09:52:11 +00:00
Moriyoshi Koizumi
77726c734e
Add regression test for bug #25666
2003-09-30 01:31:06 +00:00
Moriyoshi Koizumi
5d3b5cd1c2
Fixed bug #25669 (eregi() with non-ascii characters)
2003-09-30 00:26:03 +00:00
Rob Richards
b437ac77bc
add property_get_ptr handler
...
fix possible segfault in xpath
add wide character support for characterdata
2003-09-29 11:43:26 +00:00
Rob Richards
5fa23c593b
fix for bug #25666 (XML namespaces broken in PHP5)
2003-09-29 11:35:39 +00:00
Moriyoshi Koizumi
103b3c6626
Simplification.
2003-09-29 02:23:40 +00:00
foobar
06616ccdce
Bundled GD has this function
2003-09-27 20:53:50 +00:00
Sara Golemon
2acca5d015
Test for Bug 25671
2003-09-27 18:48:48 +00:00
Sara Golemon
ef7905a188
Bug Fix#25671 Corruption in subarrays in subject when using str_replace
2003-09-26 17:57:13 +00:00
Moriyoshi Koizumi
07a021f477
Add test cases for the regex probles
2003-09-26 17:44:06 +00:00
Moriyoshi Koizumi
83609e0874
Repatch fixes for the problem that was reported at php-dev@php.gr.jp ( #884 )
2003-09-26 17:43:39 +00:00
Moriyoshi Koizumi
7e4a886971
Forgot to commit this one.
2003-09-26 17:41:52 +00:00
Moriyoshi Koizumi
91bf8e5dc9
Explicitly specify mbstring.language.
2003-09-26 14:42:37 +00:00
Moriyoshi Koizumi
b82679412c
Fix some incompatibilities with the pre-libmbfl behaviour regarding encoding detection.
2003-09-26 14:42:14 +00:00
Moriyoshi Koizumi
96cdea35c1
Specify full path to cat for mb_send_mail() tests
2003-09-26 11:08:54 +00:00
Ard Biesheuvel
c40234b47e
Let client library pick its own transaction param defaults
2003-09-26 10:06:22 +00:00
Hartmut Holzgraefe
fbc1386eac
stupid typo fix
2003-09-26 10:02:06 +00:00
foobar
3462761d2b
typo
2003-09-26 09:56:24 +00:00
foobar
ef1c2d59a4
Test case for bug #25665
2003-09-26 09:55:56 +00:00
Hartmut Holzgraefe
075e66cc08
signed/unsigned compiler warning fixes
2003-09-26 08:09:56 +00:00
Hartmut Holzgraefe
0a46866d8f
silenced a compiler warning
2003-09-26 07:51:52 +00:00
Hartmut Holzgraefe
3735d2f8bd
error message was missing an argument
2003-09-26 07:50:02 +00:00
Hartmut Holzgraefe
ee922e3085
compiler warning fixes, one of them a potential crash bug
2003-09-26 07:47:01 +00:00
Ilia Alshanetsky
6966350013
Fixed typo.
2003-09-26 00:40:32 +00:00
foobar
72de75c99a
This is only needed for Windows.
2003-09-25 14:53:41 +00:00
Georg Richter
340d891b3e
mysqli_prepare_result -> mysqli_get_metadata
2003-09-25 11:19:58 +00:00
Georg Richter
49823c5edb
mysql_prepare_result -> mysqli_get_metadata
...
This function was renamed in libmysql (changeset 1.607 by monty)
2003-09-25 11:19:25 +00:00
John Coggeshall
bca08dabb4
Fixed a --enable-maintainer-zts glitch where TSRMLS_DC was being used
...
unnecessarily.
2003-09-25 09:32:55 +00:00
Ilia Alshanetsky
569bd005d2
Fixed bug #25070 (Don't forget to unlock session files on win32 before
...
closing them).
Regions should be locked only briefly and should be unlocked before
closing a file or exiting the program. On Win32 locked files that are
closed without being explicitly unlocked will be unlocked only when "system
resources become avaliable".
2003-09-24 23:39:14 +00:00
Rob Richards
f9640d5fad
fix preserveWhiteSpace on document load
2003-09-24 12:56:37 +00:00
Wez Furlong
f7d32e30b0
Fix
2003-09-24 10:35:20 +00:00
Ilia Alshanetsky
ff4d200772
Specify full path for cat utility used by the test.
2003-09-24 02:27:43 +00:00
foobar
258d5838bb
- Fixed bug #24402 (Compile failure with gettext 0.12.x)
2003-09-24 02:07:04 +00:00
Ard Biesheuvel
50911d0904
Always return long from ibase_gen_id() on IB < 6
2003-09-23 23:08:59 +00:00
foobar
afdc20a094
ws fix
2003-09-23 22:17:40 +00:00
Ard Biesheuvel
f48f725348
Added ibase_gen_id()
...
# Lightweight shortcut to SELECT GEN_ID() ... function
2003-09-23 20:58:14 +00:00
Moriyoshi Koizumi
1ee441613d
Remove useless mutex code due to the switch to oniguruma.
2003-09-23 20:11:05 +00:00
foobar
08effa1b04
Fixed typo.
2003-09-23 19:29:34 +00:00
Ilia Alshanetsky
b9823393ea
Fixed bug #25636 (SNMP Session not closed on success).
...
Patch by: nesslage[at]mwsc[dot]edu
2003-09-23 18:26:02 +00:00
Andrey Hristov
a7ac568486
New test cases for the new 4 functions :
...
- array_udiff()
- array_udiff_assoc()
- array_diff_uassoc()
- array_udiff_uassoc()
2003-09-23 17:40:34 +00:00
Andrey Hristov
3579f212df
4 new functions :
...
array_udiff()
array_udiff_assoc()
array_diff_uassoc()
array_udiff_uassoc()
They work like array_diff() or array_diff_assoc() but callback function(s)
can be used to perform the comparisons. For example array_udiff_uassoc()
expects 2 callbacks are last 2 parameters one is used to compare the values
of the entries in the arrays the second to compare the keys.
Class methods are also valid callbacks. Even when the data that should be
used in the comparison is private or protected then a static method of a
class should be used (this behaviour can be seen in the regression test -
007.phpt).
2003-09-23 17:37:29 +00:00
Wez Furlong
fce7b92891
MFB 25614 "fix"
2003-09-23 16:05:52 +00:00
Moriyoshi Koizumi
aa36f5bbdb
Oops
2003-09-23 13:23:30 +00:00
Moriyoshi Koizumi
a89d00bb6c
Remove unused variable
2003-09-23 13:21:01 +00:00
foobar
30c3155d12
add as binary..
2003-09-23 10:06:19 +00:00
foobar
4d02a9379c
remove corrupt file
2003-09-23 10:05:48 +00:00
foobar
9fea9fec53
Added simple test for gettext
2003-09-23 10:00:23 +00:00
foobar
a299e943f8
- Fixed bug #25604 (HAVE_SNMP_PARSE_OID undefined with phpize build)
2003-09-23 08:15:49 +00:00
Rui Hirokawa
ce66e1eb8d
fixed wrong string length in mbregex.
2003-09-23 02:47:06 +00:00
Rui Hirokawa
b6b761ca84
revert a patch.
2003-09-23 02:43:49 +00:00
Rui Hirokawa
25bb0d16a9
fixed win32-build and update e-mail address in mbstring.
2003-09-23 02:43:04 +00:00
Ilia Alshanetsky
4aaa2becbe
String format stuff.
2003-09-22 23:27:51 +00:00
Andrey Hristov
63d7df3e2f
improve the fix for #25494 . If more then one bad parameter is passed
...
an warning for all will be emitted.
2003-09-22 23:19:17 +00:00
Rob Richards
cb4db32030
set consistent pathing for libxml
...
set document url when loaded from memory to set base href
2003-09-22 19:11:35 +00:00
Rob Richards
bd2511af40
set base href for copied, imported doc
...
set environment for imported stylesheet
add optional clone parameter for data to transform
2003-09-22 19:07:52 +00:00
Rob Richards
8569ee1c1e
move hash.h for libxml 2.6 compatibility
2003-09-22 19:04:49 +00:00
John Coggeshall
8cd08f7e9d
Forgot package.xml
2003-09-22 18:45:46 +00:00
John Coggeshall
d8eeb8e286
Updated test cases and examples and cleaned up the new OO code so it will
...
be easier to maintain.
2003-09-22 18:40:38 +00:00
John Coggeshall
6b567f80c7
Completely re-wrote the ZE2 OO stuff to do it the proper way. It is not
...
considerably more stable, cleaner, and looks as if it works well :) This
probably is going to break any scripts which used it before, but oh well.
2003-09-22 17:06:45 +00:00
Hartmut Holzgraefe
55d9ec0f6f
proto thiko fix
2003-09-22 06:54:29 +00:00
Ilia Alshanetsky
e2caa6eaf9
String formatting stuff.
2003-09-22 04:18:24 +00:00
John Coggeshall
a7b75e2054
Complete refactoring of the OO support in tidy. Although currently
...
incomplete, it is a good start.
2003-09-22 00:12:54 +00:00
Ilia Alshanetsky
5927b50869
Fix ZTS build.
2003-09-21 20:24:39 +00:00
Ilia Alshanetsky
d14df17390
Added a note & fix for a memory leak in libtidy.
...
This will be removed once the libtidy developers release a patched version
of their library (or we start bundling the patched version).
2003-09-21 20:21:39 +00:00
Marcus Boerger
36655400cb
- return correct hash constants
...
- check for 'memory' in sqlite_factory() too (noticed by John Coggeshal)
2003-09-21 19:36:40 +00:00
Ilia Alshanetsky
4f6874b3ff
Added tidy_repair_string() & tidy_repair_file() that allow for quick repair
...
of files & strings.
Modified tidy_parse_file() to accept include_path parameter.
Fixed a few bugs that may have allowed configurations directives loaded via
a file to carry over across requests.
2003-09-21 19:22:19 +00:00
Wez Furlong
ad93053ec4
Merge remaining code from 4.3 to fix #22238 in HEAD.
2003-09-21 18:02:08 +00:00
Uwe Steinmann
eea84f787b
- fixed typo in error message
2003-09-21 13:17:20 +00:00
Sascha Schumann
394d3b82b0
Alias session_commit to session_write_close, a more intuitive name
...
for the functionality.
2003-09-21 11:53:12 +00:00
Ilia Alshanetsky
4cd101abed
Tidy Hijacked! Read all about it ;)
...
* No more tidy resources, it's now persistent and internal. This helps speed
quite a bit, since the tidy resource only needs to be initialized once.
* Replace common code with macros.
* Added necessary safe_mode & open_basedir checks when working with files.
* Added ini option to allow loading of config file on startup.
* Show current configuration in phpinfo();
* Coding Style Cleanup
* Added tidy_get_config(), returns an associated array with all configuration
values.
* Added tidy_reset_config(), it restores tidy configuration to default values.
* Fixed a possible crash inside tidy_setopt().
* Added myself to the credits.
More changes to follow.
2003-09-20 19:45:32 +00:00
Sascha Schumann
36ac7a5bb0
MFB Avoid zero-length keys which result in a spinning process
2003-09-20 16:10:49 +00:00
Marcus Boerger
0266efb8b5
Add public array Reflection_Class::getDefaultProperties()
2003-09-20 14:22:48 +00:00
Marcus Boerger
6433226749
Explicit cwqasting is now necessary
2003-09-20 12:51:20 +00:00
Ilia Alshanetsky
0917a7f62f
Fixed bug #25583 (Incorrect handling of paths starting with / on win32
...
inside glob() function).
2003-09-20 02:51:20 +00:00
Ilia Alshanetsky
ace85c9015
MFB: Add myself to credits
2003-09-19 12:24:51 +00:00
Sara Golemon
0a3bc21c5c
Manageability
2003-09-18 17:51:55 +00:00
Sara Golemon
c553af47e0
Add ftp_alloc() for servers which require client to predeclare filesize to be sent.
2003-09-18 17:36:08 +00:00
Marcus Boerger
cd021cfb3a
Go with studlyCaps
2003-09-18 16:26:29 +00:00
Marcus Boerger
5b3bb16530
Go with studlyCaps
2003-09-18 12:09:55 +00:00
Marcus Boerger
f8a376fe8e
Change tostring() into __toString() to match method name used in casting.
2003-09-18 11:55:57 +00:00
Ilia Alshanetsky
a7f2ec3cdb
Fixed compile warnings. HAVE_ defines cannot work without the header that
...
defines them.
2003-09-17 05:42:57 +00:00
Ard Biesheuvel
0cce471b0a
Link to fbclient.dll if available
...
Add client lib name to dll version info
2003-09-17 01:25:08 +00:00
Ard Biesheuvel
b9a208d821
Use isc_get_version() for client lib info if available
2003-09-16 20:28:27 +00:00
Hartmut Holzgraefe
92b237f4c3
proto fix
2003-09-16 19:45:22 +00:00
Marcus Boerger
d2088841a4
- Make it clear whether it is an interface or a class
...
- Fix static properties
2003-09-16 19:31:45 +00:00
Ard Biesheuvel
be16d129c5
Check for Firebird libfbclient.so first
2003-09-16 19:25:11 +00:00
Ilia Alshanetsky
b871ebd8dc
Fixed bug #25106 (Added more stringent checks on bzopen() mode).
...
In some cases bz2 may fail to open the file, but stream wrappers will still
create an empty file, remove this file.
Change virtual_filepath to virtual_filepath_ex, which allows BZ2_bzfopen()
to work without having to resort to stream wrappers.
2003-09-15 23:49:32 +00:00
Rob Richards
7c33d55961
validate encoding against valid handlers
2003-09-15 12:29:52 +00:00
Hartmut Holzgraefe
3988db4af1
proto descriptions
2003-09-15 09:25:18 +00:00
Moriyoshi Koizumi
676755da54
FREETYPE_PATCH is not always defined.
...
# will likely fix Sebastian's build :)
2003-09-15 07:27:18 +00:00
Ilia Alshanetsky
67a070c151
Fixed bug #25530 (checkdate incorrectly handles floats)
2003-09-15 00:07:51 +00:00
John Coggeshall
ce38ec2b25
Moved things around and added some #ifdefs so that the extension can be used
...
in PHP 4 (without the ZE2 tree parsing).
2003-09-14 00:45:51 +00:00
Sara Golemon
94ff3d5e7d
Fix Bug #25525 ldap_explode_dn crashes when passed invalid params.
2003-09-13 17:31:07 +00:00
Marcus Boerger
2a68d3c19e
Make use of dedicated macro
2003-09-13 10:31:06 +00:00
Ard Biesheuvel
95b0fc58f7
Pointer size fix
2003-09-12 21:02:43 +00:00
Marcus Boerger
7fac56c593
- Change email
...
- Fix warnings
2003-09-12 13:31:23 +00:00
foobar
df8809650c
- Fixed bug #25504 (pcre_match_all() crashes when passed only 2 parameters)
2003-09-12 01:31:54 +00:00
foobar
c77c0269ea
- Fixed bug #25483 (ext/informix: bogus -469 error from ifx_query())
2003-09-11 23:49:26 +00:00
Ard Biesheuvel
7ff3a3e4a3
Add client library info to phpinfo() function
...
Small inter-op fix for IB6
2003-09-11 23:08:48 +00:00
Jay Smith
6c6fd76bac
Fixed bug #25494 (array_merge allowing "false" as argument (silent when
...
non-array is passed))
# 4.3 throws E_NOTICEs, 5 errors out on non-array args as per Ilia's
# suggestion.
2003-09-11 17:40:18 +00:00
foobar
554cee42af
- Fixed bug #25463 (ext/cpdf: compile failure with bundled GD)
2003-09-11 15:25:45 +00:00
Ard Biesheuvel
c5b69dcb14
Changed unsigned ISC_LONG to ISC_LONG
...
# Build fix for FB 1.5
2003-09-11 08:50:30 +00:00
Ilia Alshanetsky
f3f3b772b2
Cleanup r1.76 patch
2003-09-11 04:46:10 +00:00
Hartmut Holzgraefe
1c30f5bcf0
check for FDFErcNoValue was in the wrong execution path,
...
should always be treated as 'no error' (should finally fix #22803 )
2003-09-11 00:47:32 +00:00
Ilia Alshanetsky
dfe3f32ec6
Cleanup previous patch.
2003-09-10 01:07:01 +00:00
Ilia Alshanetsky
29e829fdcf
Fixed bug #14049 (realpath() w/ZTS returns invalid results for non-existent
...
paths)
2003-09-10 00:22:10 +00:00
Melvyn Sopacua
50947cb155
MFB: Fix US/Eastern vs. America/New_York style tzset implementations.
2003-09-09 21:56:33 +00:00
Sara Golemon
4e6672eadd
Fix Bug #25294 LIST/NLST can cause segfault because ftp->data not cleaned properly
2003-09-09 21:12:49 +00:00
foobar
5e40faa1d6
- Fixed bug #25211 (image.c compile failure with AIX)
2003-09-09 19:25:55 +00:00
Moriyoshi Koizumi
36e89f6deb
Add an phpinfo entry showing which version of freetype is linked to gd.
2003-09-09 19:08:30 +00:00
Sara Golemon
4936234fd8
MFB(r-1.74.2.13) Bug #25314 ASCII mode transfers behaving like binary when initiated from windows.
2003-09-08 22:40:12 +00:00
foobar
8345cff1ff
Revert the JIS addition, it did not fix anything
2003-09-08 22:19:39 +00:00
Moriyoshi Koizumi
303fc609a6
Fix build in VC++7.
...
# The line didn't reflect the above comment, helly :)
2003-09-08 20:59:36 +00:00
Ilia Alshanetsky
80fb9496b3
Re-enable sendmail binary check, now with parameter detection.
2003-09-08 20:15:35 +00:00
Rob Richards
315bf401ba
move some document properties internally
...
add xpath namespace support (by Shane)
2003-09-08 18:28:35 +00:00
foobar
62d7073a8b
- Fixed bug #25424 (ext/informix: lvarchar not supported in win32 build)
2003-09-08 15:07:21 +00:00
foobar
8fe843b9ac
MFB: - Added JISX0208=1 and USE_GD_JISX0208 defines
2003-09-08 13:35:14 +00:00
Marc Boeren
b135205d05
Fix warning and converted dos-crlf to unix line-endings.
2003-09-08 07:19:08 +00:00
Ard Biesheuvel
19f69336e2
Don't include unnecessary headers in other configuration too
2003-09-08 00:41:03 +00:00
Ard Biesheuvel
e9ca738200
Don't include unnecessary headers
2003-09-08 00:32:22 +00:00
Marcus Boerger
93a07f6c68
Allow to search for section FILE with 2nd parameter (found by Derick)
2003-09-07 23:46:33 +00:00
Ard Biesheuvel
366a4b7f94
Zero-terminate strings
...
Add fileflags for DEBUG build
2003-09-07 20:35:09 +00:00
Ard Biesheuvel
6c0e21fc74
Add version info to Windows DLL
2003-09-07 19:59:55 +00:00
foobar
9539471c60
Fixed ming to work with new OO stuff. Patch by tony2001 at phpclub dot net
2003-09-07 16:11:41 +00:00
Marcus Boerger
c0b9d55cfa
ZTS fix
2003-09-07 02:37:10 +00:00
foobar
5a7d97fab7
typo + proto fix
2003-09-07 00:00:00 +00:00
Georg Richter
c836bf6036
test for helly's mysqli_fetch_object changes
2003-09-06 19:40:53 +00:00
Marcus Boerger
1ae13e543a
Modify mysqli_fetch_object() to be able to instantiate a selected class and
...
pass parameters to the constructor.
2003-09-06 19:34:48 +00:00
Marcus Boerger
f6239c33bc
Modify pg_fetch_object() to be able to instantiate a selected class and pass
...
parameters to the constructor. Update tests and add a test for these features.
2003-09-06 18:34:55 +00:00
Stefan Roehrich
6206837929
Code cleanup:
...
Fixed ob_gzhandler with register_long_arrays = On.
Unified compression_coding global var (removed ob_gzip_coding).
Switched to zend_parse_parameters().
Added some tests.
2003-09-06 15:31:35 +00:00
Marcus Boerger
5d1dbdbfd2
Bugfix #25404
2003-09-06 15:30:28 +00:00
Sara Golemon
f9734f810c
Add missing proto
2003-09-06 14:56:36 +00:00
Sara Golemon
e6fbb7baf5
http.h php_http,h rename
2003-09-06 14:52:10 +00:00
Marcus Boerger
a986b3f6a4
Add missing newline if no static methods are available
2003-09-06 13:18:12 +00:00
Marcus Boerger
10ea007e39
- Internal functions shall be static
...
- Fix more nesting
2003-09-06 13:11:27 +00:00
foobar
d00a14339c
- Typos, CS, etc.
...
# Sara, add the missing description to the proto..
2003-09-06 13:07:47 +00:00
Marcus Boerger
35529e1964
Fix logic
2003-09-06 13:02:16 +00:00
foobar
ed32007f58
renamed http.h -> php_http.h
2003-09-06 12:56:02 +00:00
Marcus Boerger
c31fc7771a
- Fix CS: {{{ / }}}
...
- Fix static reflection_*::export()
- Add class reflection_object which allows to show dynamic properties
2003-09-06 12:52:40 +00:00
Marcus Boerger
f5b1114449
Use %s where it makes more sense
2003-09-06 10:59:07 +00:00
Sara Golemon
c0469ceb8d
Fix Objects bug. (Objects != Arrays)
2003-09-06 07:34:58 +00:00
Sara Golemon
490e7fd6fd
Fix segfault on uninitialized zval, skip NULL/Resource types, fix integer value handling, and process doubles/bools more efficiently.
2003-09-06 06:57:40 +00:00
Sara Golemon
3b63b21f37
Standard Footer
2003-09-06 05:41:48 +00:00
Sara Golemon
79ad5802a5
Prevent Recursion
2003-09-06 05:41:36 +00:00
Sara Golemon
0be65c49d3
Introducing php_url_encode_hash_ex() internal function
...
and http_build_query() userspace function.
2003-09-06 00:35:21 +00:00
Marcus Boerger
d9d082072c
Omitting is also possible here
2003-09-05 20:09:19 +00:00
Marcus Boerger
f05525a0ef
WS
2003-09-05 20:05:08 +00:00
Marcus Boerger
14ffad71d6
Fix warnings
2003-09-05 19:27:26 +00:00
Ard Biesheuvel
193f5a67db
Add missing CVS Ids
2003-09-05 17:02:02 +00:00
Marcus Boerger
79a507e4eb
Simplify reflection_property::__constructor() and fix property factory
2003-09-05 14:48:55 +00:00
foobar
821f517f63
- Simple test for ming
2003-09-05 14:46:38 +00:00
Marcus Boerger
9a39cd5501
- Don't use resorved words as variable names.
...
- Improve several exception messages.
- Fix Reflection_Property::_construct() / getDeclaringClass()
# The above does not imply that properties are fixed when returned
# by other reflection api methods.
2003-09-05 14:35:31 +00:00
Ard Biesheuvel
2815169319
Be more relaxed about dimensions of array arguments
2003-09-05 14:21:25 +00:00
Ard Biesheuvel
c9d082ef21
Test array handling
2003-09-05 13:08:41 +00:00
Ard Biesheuvel
2802293dd3
Make the test fail if anything goes wrong :-)
...
Some CS
2003-09-05 12:18:03 +00:00
Marcus Boerger
34990374e1
Fix reflection_api::__construct() (noticed by Andrey)
2003-09-05 12:14:03 +00:00
Marc Boeren
e3929cc33a
Added DBX_RESULT_UNBUFFERED flag for dbx_query.
...
Added dbx_fetch_row() function.
Added/updated tests for both.
@Added DBX_RESULT_UNBUFFERED flag for dbx_query. (Marc)
@Added dbx_fetch_row() function. (Marc)
2003-09-05 08:39:26 +00:00
Ard Biesheuvel
e73be1cb4a
Added support for binding arrays
2003-09-04 22:37:14 +00:00
Marcus Boerger
95649ab260
Tests show updating consts must happen once at runtime (revert optimization).
...
Add tests for static properties.
2003-09-04 16:00:01 +00:00
Marcus Boerger
4e7a782f3a
Add reflection_class::getstaticproerties()
2003-09-04 15:57:25 +00:00
Marcus Boerger
421e2e9275
Go with the mess
2003-09-04 14:54:53 +00:00
Marcus Boerger
0f91d8a4f6
Go with stdlyCaps
2003-09-04 14:44:55 +00:00
Ard Biesheuvel
f4511d4aae
Don't rely on sizeof(int) == 4
2003-09-04 14:44:34 +00:00
Ard Biesheuvel
cb8da7b090
Fix inter-op with IB < 6
...
Fixes for 64-bit archs
2003-09-04 14:18:39 +00:00
Ard Biesheuvel
6f998688b5
Fixed fetching of arrays
...
# Untested for multidimensional arrays
2003-09-04 11:09:46 +00:00
Jon Parise
da7facc21b
Register the TYPEMODEL constant from c-client's mail.h.
2003-09-04 07:47:58 +00:00
Ard Biesheuvel
912a834749
No scaling for double type
...
Added missing array types
Precompute scale factors
2003-09-04 01:26:36 +00:00
Sebastian Bergmann
afdecc374d
ZTS fix.
2003-09-03 18:13:11 +00:00
Ard Biesheuvel
4ff5341fb0
WS
2003-09-03 17:15:40 +00:00
foobar
af06d049cf
test for bug #25378
2003-09-03 16:40:52 +00:00
foobar
7d57f9eddf
sync
2003-09-03 16:24:24 +00:00
foobar
ba6c58ad73
- Fixed bug #25378 (Invalid data passed to unserialize() causes segfault)
2003-09-03 16:24:15 +00:00
Ard Biesheuvel
804312c4a1
Test correct binding of 16-bit NUMERIC parameters
2003-09-03 15:24:50 +00:00
Ard Biesheuvel
b3b68834b5
Fix binding of 16-bit NUMERIC parameters
2003-09-03 15:15:30 +00:00
foobar
acd8096d53
- Fixed bug #25372 (sscanf() does not work with %X)
2003-09-03 11:54:35 +00:00
Rob Richards
fd5758781c
changes to php_dom.h for last commit
...
replaced removed closing tags - doh
2003-09-03 10:48:02 +00:00
Rob Richards
5630dd0be2
add document HTML load/save methods
...
add document standalone validate method
cleanup some prototype declarations
domexception inherits from default exception
2003-09-03 10:11:53 +00:00
Marcus Boerger
2f6e25da79
Clearly distinguish between Const, Static and Other members.
...
# Const and static props have more in common then static and dynamic/implicit.
2003-09-03 00:38:13 +00:00
Ard Biesheuvel
d674159601
Nuke far pointers
...
# Unfortunately, this does break compatibility with Windows 3.x :-)
2003-09-02 22:37:26 +00:00
Ard Biesheuvel
f19dcfe8a3
CS fixes
...
# Boy, these guys are worse than -ansi -pedantic
2003-09-02 22:19:18 +00:00
Ard Biesheuvel
4545ea4666
Make ibase_{param|field}_info() return typenames that actually mean something
2003-09-02 19:30:20 +00:00
Marcus Boerger
560d3ab36a
Use appropriate function for property name unmangling.
...
# Make Andrey happy
2003-09-02 14:46:02 +00:00
Marcus Boerger
7148cb9e73
Make these static as noticed by Andrey
2003-09-02 14:11:53 +00:00
Ard Biesheuvel
3d6426ee14
Fix use of EXTERN_C macros
2003-09-02 13:34:23 +00:00
Ard Biesheuvel
0f1b506f20
Can't ignore variadic DEBUG macro for compilers
...
that don't support them. Revert.
2003-09-02 13:17:56 +00:00
Marcus Boerger
bd86aff005
These are implicit properties as denoted by the flag. Dynamic properties only
...
exist in one single object and currently reflection api is not capable of
showing those.
2003-09-02 13:12:47 +00:00
Ard Biesheuvel
dbdd5b415d
Changed some formatting/macro/debugging/variadic stuff
2003-09-02 12:46:42 +00:00
foobar
62d2810cfc
- Fixed bug #25343 (is_dir() gives warning on FreeBSD).
2003-09-02 01:22:02 +00:00
Sara Golemon
29664d9322
MFB: Plug leak when invalid domain name provided.
2003-09-01 22:38:40 +00:00
Marcus Boerger
bca0019d43
Fix initial buffer size
2003-09-01 21:14:09 +00:00
Marcus Boerger
2b19c5435e
Fix class handling of invoke
2003-09-01 21:11:38 +00:00
Marcus Boerger
bef3e13caf
Add missing '}'
2003-09-01 19:47:34 +00:00
Marcus Boerger
cbd08869f2
Add static reflector::export() and its implementations.
...
#
# This makes the main reflection use a lot easier.
#
2003-09-01 16:13:24 +00:00
Marcus Boerger
a389286b99
Set the params in the struct
2003-09-01 15:09:57 +00:00
Stanislav Malyshev
90f7a474ac
The sendmail_path executable check breaks setups that use parameters
...
for sendmail - including the default setup - so I'm disabling it for now.
2003-09-01 08:20:17 +00:00
Ilia Alshanetsky
07f864d06b
Make sure that ftp->data is nulled after it's freed. This may fix bug
...
#25294 & bug #25296 .
2003-08-31 21:07:01 +00:00
Ilia Alshanetsky
9c82b1fa75
Fixed compiler warnings.
2003-08-31 20:45:51 +00:00
foobar
c952ea0bb3
- Fix win32 debug build
2003-08-31 16:28:19 +00:00
foobar
46e47ec0db
- Fix the win32 build.
...
# mbregex is still not build, that onigurama stuff didn't compile
2003-08-31 16:08:46 +00:00
Marcus Boerger
4506d4ea24
Don't repeat first const count(consts) time
2003-08-31 15:47:48 +00:00
Marcus Boerger
660c14e74a
Beautify output
2003-08-31 15:30:13 +00:00
Marcus Boerger
4af0621036
Add reflection_parameters, patch by Timm Friebe
2003-08-31 15:06:54 +00:00
Marcus Boerger
47d1e8ac77
Fix formatting specifier
2003-08-31 14:38:25 +00:00
Marcus Boerger
733e90bf0a
No dots at the end of error messages
2003-08-31 14:35:10 +00:00
Marcus Boerger
2a744ccb90
Fix format specifiers
2003-08-31 14:33:17 +00:00
Zeev Suraski
8767205afa
Fix Win32 linkage problems
2003-08-31 12:41:53 +00:00
Marcus Boerger
8376b7eff7
Check whether we may access tat union
2003-08-31 11:21:30 +00:00
Marcus Boerger
63dacec1d4
Revert commit by accident, sorry
2003-08-31 11:03:05 +00:00
Marcus Boerger
d15ad4609d
Revisited: Replace the non portable code by spprintf
2003-08-31 10:52:23 +00:00
Marcus Boerger
ade319ac54
Using zend_spprintf should be faster here
2003-08-31 10:06:13 +00:00
Sergey Kartashoff
c4b0b8c262
- a new UDM_PARAM_SEARCH_RESULTS mnogosearch API command added to limit
...
maximum number of search results
2003-08-31 07:00:29 +00:00
Marcus Boerger
f1c92fa4c5
- Calling abstract methods should be a error for consistency reason.
...
- So in reflection_api we use the reflection_exception again.
2003-08-30 23:51:42 +00:00
foobar
c803e4643d
No need to enable by default. Derick got confused. :)
2003-08-30 22:09:27 +00:00
foobar
4d788fc1e2
libmbfl is required always
2003-08-30 21:57:29 +00:00
foobar
c57ecb0e9a
ws
2003-08-30 21:32:10 +00:00
Marcus Boerger
6c69b28790
fci.function_table & fci.function_name are not needed since we use zend_fcall_info_cache
2003-08-30 13:47:27 +00:00
Marcus Boerger
e679504861
Be precise
2003-08-30 13:38:23 +00:00
Marcus Boerger
49a538d054
Actually using fcc would be a good idea
2003-08-30 12:58:35 +00:00
foobar
49ff8e7866
Add note about version requirement
2003-08-30 11:01:25 +00:00
foobar
97b151ee3e
Added version checking and --with-openssl-dir option
2003-08-30 10:57:42 +00:00
Sascha Schumann
e090d2ddb9
Never overwrite .c files when re2c does not exist.
2003-08-30 07:27:05 +00:00
Marcus Boerger
c3f7ea3510
Fix property inheritance by using dedicated new function
2003-08-29 23:30:03 +00:00
Marcus Boerger
50040c8ae9
- Use zend_fcall_info_cache in invoke() to improve speed.
...
# This also fixes the problem with calling static methods.
2003-08-29 21:46:12 +00:00
Marcus Boerger
0cb983885d
Throw exception if user wants to pass arguments to an non existing constructor
2003-08-29 21:33:24 +00:00
Marcus Boerger
adaf6429a7
Throw exception if user wants to pass arguments to an non existing constructor
2003-08-29 21:32:25 +00:00
Marcus Boerger
eb8d89c363
Allow to pass arguments to the constructor
2003-08-29 21:13:50 +00:00
Sergey Kartashoff
1795915b32
- A mnogosearch extension is updated to work with mnogosearch-3.2.15+
2003-08-29 13:35:26 +00:00
Sascha Schumann
a3c89a2e8f
Fix a segfault which occured when using a storage format not capable
...
of expressing references (e.g. WDDX) and deserializing a session variable
whose name conflicted with an existing symbol in the global scope.
PR: #25307
Submitted by: Jani Taskinen
Speling fixes: me
2003-08-29 12:33:47 +00:00
foobar
a256170d66
- skip with CLI
2003-08-29 09:09:18 +00:00
Sascha Schumann
5b09f342fe
improve format string
2003-08-29 07:34:47 +00:00
foobar
192666b184
MFB
2003-08-29 00:53:46 +00:00
Marcus Boerger
b75133c0c6
Need to check if we got any value before destroying it
2003-08-28 23:36:46 +00:00
Marcus Boerger
257223bdcc
Match expected class and instantiated class
2003-08-28 23:30:16 +00:00
Marcus Boerger
90561350f9
Add sqlite_fetch_object()
2003-08-28 23:19:51 +00:00
Marcus Boerger
07789ebd0e
Error messages show the class now
2003-08-28 23:18:38 +00:00
Marcus Boerger
d2f39fc11e
format string fix and number of arguments
2003-08-28 23:04:27 +00:00
Ard Biesheuvel
6ee5a0db28
Prototype fixes
...
Return number of affected rows by ibase_query() and ibase_execute() if > 0
# Second change was actually introduced in 1.149, but never
# mentioned in the CVS log
2003-08-28 22:12:06 +00:00
Andrey Hristov
189e2d8862
this is the right parameter
2003-08-28 21:06:44 +00:00
Andrey Hristov
b2eb454171
format string fixes
2003-08-28 21:00:24 +00:00
Andrey Hristov
acb65b7c0a
misplaced quote
2003-08-28 20:51:18 +00:00
Andrey Hristov
20383f9080
\n at the end of the message is not needed
2003-08-28 20:43:18 +00:00
Ilia Alshanetsky
9d9727aac5
Fixed compiler warnings.
2003-08-28 19:17:34 +00:00
Ilia Alshanetsky
4f2e9bbc45
Fixed format error.
2003-08-28 17:56:41 +00:00
Sascha Schumann
237da469d7
format string fix
2003-08-28 17:34:33 +00:00
Sascha Schumann
b9a67764d5
Fix error message
2003-08-28 17:09:44 +00:00
Sascha Schumann
436a07176c
fix format strings
2003-08-28 16:49:57 +00:00
Ard Biesheuvel
50006652ae
Fixed some format strings
2003-08-28 16:48:22 +00:00
foobar
04bbd9a2f7
Revert the patch per Dan\´s request
2003-08-28 16:35:32 +00:00
Sascha Schumann
6a7dde29e7
kill warnings
2003-08-28 16:28:33 +00:00
foobar
2811f9293d
MFB
2003-08-28 16:19:08 +00:00
Sascha Schumann
96ad1c8bcb
fix format string (long port)
2003-08-28 15:16:20 +00:00
foobar
b26dcef54f
MFB
2003-08-28 14:58:02 +00:00
Andrey Hristov
367880b2c1
proto fix
2003-08-28 12:18:51 +00:00
foobar
29b9d26223
typofix
2003-08-28 09:55:11 +00:00
Moriyoshi Koizumi
86e2c16d9c
Add further check for "#include MACRO" style syntax
2003-08-28 06:04:48 +00:00
Ilia Alshanetsky
bf82857475
Fixed bug #25109 (Possible crash when fetching field name)
2003-08-28 00:31:36 +00:00
Ilia Alshanetsky
e5879a5060
Fixed tests that failed in ZTS due to incorrect file paths.
...
Fixed test that failed due to new array dimension property being fetched.
2003-08-28 00:29:44 +00:00
Ard Biesheuvel
c78169086b
Test multiple execution of a prepared EXEC PROCEDURE statement
2003-08-28 00:18:27 +00:00
Ard Biesheuvel
36716c2525
Test for BLOB ID survival of close()/connect()
2003-08-28 00:17:25 +00:00
Ard Biesheuvel
fd89b9a783
Removed TSRMLS_FETCH from _php_ibase_module_error()
2003-08-28 00:11:16 +00:00
Ilia Alshanetsky
32b5df0bc7
Prevent abrupt script execution when sendmail_path contains invalid
...
executable.
Add more detail to the warnings regarding execution of sendmail binary.
2003-08-27 23:53:15 +00:00
Ard Biesheuvel
2db5c7de85
Do not reuse data structure for ibase_execute() results.
...
Invalidate the results whose statement handle has been invalidated.
# EXEC PROCEDURE results don't need a statement handle, so
# the result doesn't have to be invalidated.
Fixed some add_{index|assoc}_*() bogosity
2003-08-27 22:55:06 +00:00
Marcus Boerger
43836e97c5
Nuke unused variable
...
# I should have taken Timm's patch
2003-08-27 20:48:41 +00:00
Marcus Boerger
7f5196953c
Fix reflection_class::newInstance()
2003-08-27 20:45:34 +00:00
Dan Kalowsky
0347ca91f4
Committing a patch for IBM DB2 BLOB support submitted by Clara Liu
...
(clara@zealworks.com ).
# I haven't had time to completely test this patch, a few users have stated
# that it works well for them and a few others want to test with windows
# builds, hence the submission.
2003-08-27 18:21:52 +00:00
Sara Golemon
3560cd83c0
Squelch warning "Variable may be used uninitialized."
...
This would never occur anyway because of the logic of the function,
but gcc isn't quite smart enough to realize this.
2003-08-27 00:43:54 +00:00
Ilia Alshanetsky
249e8d5fa8
Fixed bug #22243 (make pg_meta_data fetch array dimentions)
...
m-lesser[at]better-com.de
2003-08-27 00:04:19 +00:00
foobar
625600af30
- Prevent crash if non-existing save/serializer handler is tried to be used
...
- Added the registered serializers information to MINFO.
2003-08-26 02:03:41 +00:00
Sara Golemon
a76f0dc8ae
Bugfix#25239 Closing control stream while data stream is open violates RFC959 section 2.3
2003-08-25 22:25:33 +00:00
Marcus Boerger
ba4178189b
- Fix compile
...
- Building still not possible
2003-08-25 21:54:26 +00:00
Marcus Boerger
0bd1567fe1
Update exception code
2003-08-25 20:55:14 +00:00
Marcus Boerger
b7d325991d
Exceptions work now
2003-08-25 20:54:37 +00:00
foobar
6b7cb7c570
Some minor fixes so that this works with autoconf 2.13 too
2003-08-25 04:08:29 +00:00
Moriyoshi Koizumi
e49c59038c
Sync with original
2003-08-25 01:44:17 +00:00
Moriyoshi Koizumi
39ae479942
Allow usage of external libmbfl
2003-08-24 22:46:13 +00:00
Moriyoshi Koizumi
7fe12aaa17
Integrate allocator code into mbstring.c
2003-08-24 22:15:49 +00:00
Moriyoshi Koizumi
ebcdf6f299
Sync with the original
2003-08-24 20:07:13 +00:00
Marcus Boerger
cec053f707
Don't identify alias'ed functions
2003-08-24 16:35:58 +00:00
Marcus Boerger
e44d0f526c
Add dedicated reflection_exception
2003-08-24 15:07:54 +00:00
Stefan Roehrich
aa632187cd
Fixed bug #25218 ("deflate" compressed pages had a gzip header, which
...
should only be sent with "gzip" compressed pages).
2003-08-24 13:59:34 +00:00
Stefan Roehrich
8828e17a44
Fixed zlib.output_compression without register_long_vars set.
2003-08-24 13:32:50 +00:00
Marcus Boerger
669603f69d
Make invoke() work
2003-08-24 12:07:13 +00:00
Marcus Boerger
96d4ac7a3f
zend_parse_parameters 'O' works the way we need here
2003-08-24 11:34:01 +00:00
Marcus Boerger
418a7f980c
Not needed
2003-08-24 11:28:53 +00:00
Marcus Boerger
bd07968bef
- Add Reflection_Function::isAlias
...
- Use ZEND_ME/ZEND_METHOD
- Fix static entries
2003-08-24 11:11:55 +00:00
Rob Richards
b196c0551e
implement stricterrorcheck
...
fix clonenode
cleanup error routines
forgot these files
2003-08-24 10:24:22 +00:00
Rob Richards
09481c642b
implement stricterrorcheck
...
fix clonenode
cleanup error routines
2003-08-24 10:23:43 +00:00
Rob Richards
ea1b33438a
remove document pointer references as doc is now copied
2003-08-24 10:18:08 +00:00
Marcus Boerger
c3d60fd7ff
Allow zend_throw_exception() to also set the exception code
2003-08-23 19:48:52 +00:00
Marcus Boerger
5e77dc44dc
Show ctor/dtor information and those don't return anything
2003-08-23 15:47:23 +00:00
Rui Hirokawa
6b92fbdef9
revert previous patch.
2003-08-23 10:04:43 +00:00
Rui Hirokawa
d2f002eed9
changed for ZTS mode.
2003-08-23 08:59:47 +00:00
Rui Hirokawa
697ce0776f
revert my patch.
2003-08-23 08:27:46 +00:00
Rui Hirokawa
c8b525859d
strcasecmp macro moved to mbfl_compat.h.
2003-08-23 08:26:46 +00:00
Rui Hirokawa
e4f5e1da6d
remove unnessesary files.
2003-08-23 06:51:16 +00:00
Rui Hirokawa
48d8c3fba7
removed mbstring/*/config.h.
2003-08-23 06:27:06 +00:00
Rui Hirokawa
a05608dd7b
added .cvsignore and README.
2003-08-23 06:20:59 +00:00
Rui Hirokawa
5a80df26f3
@mbfilter is changed to bundled version of libmbfl to prevent LGPL licence problem. mbregex is changed to oniguruma.
2003-08-23 06:18:44 +00:00
Wez Furlong
21329c5e0c
allow building without libxml2 under win32
2003-08-22 15:04:29 +00:00
Marcus Boerger
0e32aaa8c6
Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);'
...
to provide an easy way to throw exceptions for extension developers.
2003-08-21 23:32:13 +00:00
Marcus Boerger
304f37fb80
Fix parameter spec
2003-08-21 14:34:07 +00:00
Jon Parise
34821ed474
Under FreeBSD, statfs(2) requires both <sys/mount.h> _and_ <sys/param.h>.
...
The autoconf check for <sys/mount.h> was failing because <sys/param.h>
wasn't being universally included.
This gets disk_total_space() and disk_free_space() working again under
FreeBSD.
2003-08-21 06:24:17 +00:00
Marcus Boerger
1cf91a7ac5
Extensions that do opcode hooking must provide the removed functions/macros
...
themselves now.
2003-08-21 00:10:49 +00:00
Ard Biesheuvel
84f995903b
Fix false warning on zero-size BLOB fetch
2003-08-20 22:59:33 +00:00
Sara Golemon
6f88d49d6c
Add resume_pos (resume position) context option for restarting file downloads.
2003-08-20 21:59:29 +00:00
Brian France
d50e0bf4de
Added a parameter to php_setcookie to toggle URL encoding of the cookie data
...
Added the function setrawcookie that turns off URL encoding of the cookie data
Changed setcookie to turn on the URL encoding of the cookie data
2003-08-20 20:51:10 +00:00
Ard Biesheuvel
27582c4862
Reuse result data structure and resource id for consecutive executions
...
of a prepared query
# As previous resources are invalidated anyway because their statement
# handle is reused, we don't have to allocate a new result for every
# execution of a prepared query
2003-08-20 19:47:00 +00:00
Brad House
f0bf9dd62d
allow destructor to clean up connection data
2003-08-20 19:45:07 +00:00
Rob Richards
d7e6bdaa0f
fix infinite loop in normalize
2003-08-20 18:58:03 +00:00
Rob Richards
20a878dc60
doc must be copied when importing stylesheet
...
libxslt uses the _private for processing
2003-08-20 17:58:55 +00:00
Ilia Alshanetsky
ece0a731e9
Fixed bug #25170 (Problem with generation of random numbers on solaris)
2003-08-20 16:40:22 +00:00
Ard Biesheuvel
d70f744a63
Moved transaction defaults to header file
2003-08-20 16:13:51 +00:00
Ard Biesheuvel
8f869998b5
Cleaned up _php_ibase_var_zval()
2003-08-20 13:02:26 +00:00
Ard Biesheuvel
551526812b
Fix Win32 build
2003-08-20 12:40:59 +00:00
Ard Biesheuvel
1b8e0440d2
Moved some local vars to stack
2003-08-20 12:40:05 +00:00
Ard Biesheuvel
d7c734edb9
Nuke link handle from BLOB id
...
# Now BLOB ids can survive disconnect/reconnect
Added link argument to ibase_blob_{open|info|echo}()
2003-08-20 12:22:58 +00:00
foobar
498685fb2f
Fix phpize build
2003-08-20 08:14:24 +00:00
Jon Parise
5649b2ca2a
Explicitly declare the dependencies on the generated sqlite.h file. This
...
allows the libsqlite source tree (and php-src, as a whole) to be built
using 'make -j' once again.
2003-08-20 07:41:42 +00:00
Ilia Alshanetsky
ef088c9d16
Fixed bug #25155 (Possible namespace conflict between mime-magic & mssql)
2003-08-19 22:13:01 +00:00
Moriyoshi Koizumi
9bb299eb42
More accurate fix for bug #25140
2003-08-19 14:48:33 +00:00
Derick Rethans
9cd7b9d3c3
- Fix for bug #25140 (mb_convert_encoding returns FALSE when it tries to
...
convert empty string)
2003-08-19 08:29:57 +00:00
Derick Rethans
5e1062fe7c
- Back out Ilia's not-yet-ready patch.
2003-08-19 06:34:46 +00:00
Wez Furlong
9ada9e5767
fix build
2003-08-19 01:30:27 +00:00
Wez Furlong
bedccec85b
Update credits
...
# re-ordering of some of the lines is due to case-insensitive
# win32 filesystem
2003-08-18 23:31:14 +00:00
Wez Furlong
42a8c536de
5 sir
2003-08-18 23:26:31 +00:00
Zeev Suraski
391c027da6
Get rid of PZVAL_UNLOCK() - fix untested
2003-08-18 23:13:25 +00:00
Ilia Alshanetsky
c23609efa7
Fixed paths in various tests. In certain conditions usage of partial file
...
paths results in test failures.
2003-08-18 22:57:49 +00:00
Zeev Suraski
ed21ddd4f3
Fix a gazillion leaks in SimpleXML. One gazillion to go ;)
2003-08-18 22:33:15 +00:00
Zeev Suraski
e404e1d0fe
Fix leak - non persistent hashes cannot be used in MINIT!
2003-08-18 20:45:00 +00:00
Zeev Suraski
1fb9d4896a
WTF was that doing here? :)
...
Fix crash
2003-08-18 11:26:12 +00:00
Ilia Alshanetsky
06da1b95db
Fixed typo.
2003-08-18 11:18:41 +00:00
Ilia Alshanetsky
741014089e
emalloc -> safe_emalloc
2003-08-18 04:41:48 +00:00
Ard Biesheuvel
f96efcbf90
Nuke bogus BLOB ids
...
# User-space BLOB id no longer contains transaction handle, so BLOB ids
# now remain valid throughout multiple transactions.
# Oh, and they look better too :-)
2003-08-18 00:14:53 +00:00
Marcus Boerger
717b5afe1d
Fix warnings
2003-08-17 18:56:54 +00:00
Marcus Boerger
ae2c7b9b4f
Fix warnings
2003-08-17 18:21:35 +00:00
Marcus Boerger
ddf4ad5744
Fix warning
2003-08-17 17:14:11 +00:00
Ard Biesheuvel
a4bb353f2b
Simplify previous fix
2003-08-17 16:30:15 +00:00
Ard Biesheuvel
91e3344eec
Test immediate BLOB inserts
2003-08-17 16:14:29 +00:00