Ilia Alshanetsky
3bc8512cf0
Added test case for bug #20865 .
2002-12-06 17:46:26 +00:00
Ilia Alshanetsky
ed7c3bfe0e
Fixed bug #20865 , array_key_exists() could not locate NULL keys.
2002-12-06 17:35:52 +00:00
Marcus Boerger
e0a972c061
cpdf + bundled gd
...
#maybe someone finds a better solution (perhaps in config) and comitts it
2002-12-06 16:33:57 +00:00
Abdul-Kareem Abo-Namous
646c4747b4
added support for multiple character sets.
...
OCILogon now has a forth optional parameter, which is the character set requested by the string (i.e. we8iso8859p1). when left blank, NLS_LANG or default is used.
config.m4 was changed to identify Oracle 9+ which is needed for this feature. all other oracle versions (lesser) fall back to the old behaviour.
2002-12-06 13:44:35 +00:00
Ilia Alshanetsky
33de9befa1
Fixed bug #20812 , ftp_get returned NULL on success instead of TRUE.
2002-12-06 06:07:40 +00:00
Pierre Joye
dda7acaad5
Add imageistruecolor
2002-12-06 02:16:06 +00:00
Ilia Alshanetsky
d6c29c781e
Fixed a memory leak inside heb_number_to_chars().
2002-12-05 22:46:54 +00:00
Ilia Alshanetsky
c668055159
Remove pointless checks for array_init() return values.
2002-12-05 22:28:02 +00:00
Marcus Boerger
4ce4a1c32c
php_error -> php_error_docref
2002-12-05 21:53:25 +00:00
Sara Golemon
ad65d01cbe
Bug #20746 . Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC.
2002-12-05 21:20:47 +00:00
Marcus Boerger
49a99a98f4
-php_error -> php_error_docref
...
-removed some cases where emalloc result was tested
2002-12-05 20:59:49 +00:00
Marcus Boerger
3cf581b1b3
correct code that is guarded by "#if 0"
2002-12-05 20:41:55 +00:00
Marcus Boerger
9a04528061
fix ZTS build
2002-12-05 20:39:43 +00:00
Marcus Boerger
dcfe988820
php_error -> php_error_docref
2002-12-05 20:13:35 +00:00
Marcus Boerger
47b0e79b1a
-fix a warning that was an error
...
-php_error -> php_error_docref
2002-12-05 20:01:31 +00:00
Ilia Alshanetsky
7364e3b771
Fixed bug #12556 , updated the test for this bug.
2002-12-05 20:01:19 +00:00
Marcus Boerger
cf5d2e79b9
fix debug only
2002-12-05 19:49:12 +00:00
Derick Rethans
83741be445
- Renamed snmpv3_* to snmp3_*
...
- Conversion to php_error_docref
- Whitespace fixes
2002-12-05 19:33:03 +00:00
Melvyn Sopacua
bd06d48e56
Test data
2002-12-05 19:30:28 +00:00
Melvyn Sopacua
76436b8820
Add a testcase for this bug
2002-12-05 19:29:45 +00:00
Marcus Boerger
19d5e535c0
Remove unnecessary code here
2002-12-05 15:52:20 +00:00
foobar
f8c050395c
ws fix (bug: #20808 )
2002-12-05 15:44:27 +00:00
Marcus Boerger
373361d9c4
Return FALSE on error as mentioned by John Coggeshall.
...
See Bug #20822
2002-12-05 12:39:00 +00:00
Rasmus Lerdorf
4c749f08c0
Fix build
2002-12-04 23:21:30 +00:00
Ilia Alshanetsky
8d4b717518
Added GD image conversion tests.
2002-12-04 21:04:07 +00:00
Ilia Alshanetsky
5779f9bb0f
Made imagecreatefromxpm() work once again.
2002-12-04 20:58:04 +00:00
Ilia Alshanetsky
1e8ec47a99
Fixed a memory leak inside gdImageTrueColorToPalette().
2002-12-04 17:16:19 +00:00
Moriyoshi Koizumi
cf0a0f0967
Added a test for bug #12776
2002-12-04 17:01:07 +00:00
Moriyoshi Koizumi
7bf4090efb
Fixed segfaults of array_walk() when keys are passed to cb by reference.
...
Fixed bug #12776 .
2002-12-04 16:41:28 +00:00
Ilia Alshanetsky
143e46ae28
WS fixes.
2002-12-04 16:29:48 +00:00
Sebastian Bergmann
49f05c470a
Fix bugs #20270 , #15702 , #18600 . Patch by Tony J. White <tjw@tjw.org>.
2002-12-04 08:18:02 +00:00
Pierre Joye
00881ea504
Fix imagegd stdoutput
...
Typo 256 colors
2002-12-04 02:48:23 +00:00
Pierre Joye
e8e2420042
Fix imagegd crashes when used with truecolor image (from jpeg,png, or imagecreatetruecolor)
...
may we add parameters to imagegd to let user specify the palette size and dither (set to 256 and true) ?
2002-12-04 02:37:21 +00:00
Frank M. Kromann
956d63899c
Changed php_error() to php_error_docref()
2002-12-03 19:39:25 +00:00
Ilia Alshanetsky
e1b9a77725
Fixed a bug that caused a crash in pdf_open_memory_image(), when a truecolor
...
image was loaded, it now checks if the image is truecolor and performs the
appropriate calculations (fixed bug #20785 ).
Changed E_WARNING back to E_ERROR.
2002-12-03 19:25:17 +00:00
Frank M. Kromann
686010e050
Changed php_error() to php_error_docref()
2002-12-03 19:19:15 +00:00
Frank M. Kromann
13b6390df7
Bug #19370
...
Allow stored procedures to return multiple results.
2002-12-03 18:57:04 +00:00
Frank M. Kromann
5eaf2d10e7
Bug #17593
...
Make sure any pending data is released from the server when freeing the result
2002-12-03 18:04:35 +00:00
Ilia Alshanetsky
b08f247f32
Fixed a crash that occurs during the last step of png/jpeg -> gd2 -> png/jpeg
...
conversion. The same crash still occures with png/jpeg -> gd -> png/jpeg, because
apparently gd format cannot handle truecolor images.
Turned off debug messages inside gd_gd2.c.
2002-12-03 15:43:17 +00:00
Moriyoshi Koizumi
242ddba326
Fixed leaks in array_walk()
2002-12-03 15:02:06 +00:00
foobar
7d744c54b4
- Need these libraries for static build
2002-12-03 11:34:12 +00:00
foobar
68eaf6391a
- Fixed the build with iPlanet LDAP SDK 5.x
2002-12-03 09:35:42 +00:00
Frank M. Kromann
679d645738
Allocating enough memory to hold values.
...
Fix crash when certan stored procedures was called. This caused the free_result function to free memory not yet allocated.
2002-12-03 05:56:39 +00:00
Moriyoshi Koizumi
e7f1bbf0f2
Iconv extension is no longer experimental
2002-12-02 21:29:06 +00:00
Moriyoshi Koizumi
de79a4e9d8
Reverted the changes because the problem was elsewhere.
2002-12-02 21:10:37 +00:00
Frank M. Kromann
b2a648f5b5
Fixing the Win32 compilation of mbstring with mbregex enabled.
2002-12-02 19:18:23 +00:00
Frank M. Kromann
a7f3ad42a4
Fixing build on WIn32
...
MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32
2002-12-02 18:19:17 +00:00
Ilia Alshanetsky
057e87e6e5
Repositioned CoInitialize and CoUninitialize that apparetly makes it more
...
correct according to MS docs. Patch (+5) by Michael Sisolak
<msisolak@yahoo.com>.
2002-12-02 06:43:54 +00:00
Ilia Alshanetsky
a6e02dc45d
Fixed a crash bug that can occur due to PDF_delete() being called more then
...
once and E_ERROR occurring during the shutdown sequence.
2002-12-02 06:35:29 +00:00
Jason Greene
5e1741fd48
Revert patch that should have been reverted a long time ago.
...
There was a memory leak in the error handling system on win32, that this patch
circumvented (by preventing the errors (EAGAIN mesages) from being generated).
# I must have forgotten to remove this when I fixed the leak
2002-12-02 05:45:13 +00:00
Sterling Hughes
065104b8fe
TODO: Cleanup elements that have happened, or most likely won't happen. There
...
is probably more that should be gone, but its still a move in the right
direction.
Other stuff is ws/formatting changes
2002-12-01 22:15:39 +00:00
Stefan Roehrich
e50dc16b21
Comment about maximal length now matches code.
2002-12-01 18:48:51 +00:00
foobar
cef45338c9
fix build..
2002-12-01 17:24:00 +00:00
Derick Rethans
7fbcf76973
-fix typo
2002-12-01 13:43:17 +00:00
Marcus Boerger
fa38a6af6f
No more (f)printf for errors and warnings instead use php_error_docref.
2002-12-01 11:43:54 +00:00
Moriyoshi Koizumi
aeb6a6c458
Fixed possible buffer overflow in php_base64_decode();
...
# This bug doesn't appear to be harmful for now,
# so I won't merge it into branches...
2002-12-01 02:44:50 +00:00
Marcus Boerger
38f5812191
Skip overload for ZE2
...
Bug #20156
2002-12-01 00:38:30 +00:00
Frank M. Kromann
7afd92792b
Fix the use of "personal" information in To and Cc headers
2002-11-30 21:49:20 +00:00
Ilia Alshanetsky
cc13af6a07
Fixed bug #20716 .
2002-11-30 19:12:48 +00:00
Marcus Boerger
0d7957bc15
Bug #20433
2002-11-30 18:36:17 +00:00
Christian Stocker
3429e3313b
fixed big bad memory leak in xpath objects.
2002-11-30 10:38:17 +00:00
Jason Greene
5d554c20d2
Sockets is no longer experimental
2002-11-29 23:44:06 +00:00
Moriyoshi Koizumi
b9687bea65
Prevented the result from being affected by function overloading
2002-11-29 18:32:50 +00:00
Sander Roobol
348b429b5b
Remove all traces of _bc_Free_list - it's not used anymore
2002-11-29 17:59:30 +00:00
Yasuo Ohgaki
e4be6b3ac2
Fixed problem with PostgreSQL 7.3
2002-11-29 17:18:01 +00:00
Christian Stocker
71235e4140
removed unused variable
2002-11-29 16:31:41 +00:00
Christian Stocker
55ee8af808
fix for bug #20389 (no trailing slash in configure option)
2002-11-29 13:30:29 +00:00
Christian Stocker
a2ccb29a97
@- Added xpath_register_ns_auto([contextnode]) for automatically registering
...
@ namespace definitions (chregu)
changed my mind. Automatic namesapce registration is not done within
xpath_eval() anymore, but in a seperate function.
2002-11-29 11:22:06 +00:00
Christian Stocker
eed5b11b5f
do some kind of automatic namespace registration in xpath_eval(). This
...
works only for namespaces defined in the context node (eg docroot if
no second argument is given. If one wants to use namespaces defined
elsewhere or with different prefixes, you still have to use
xpath_ns_register()
2002-11-29 10:24:44 +00:00
Christian Stocker
b1dab29214
relative xpath queries are already possible
...
(use $ctx->xpath_eval($xpath,$contextnode) )
2002-11-29 08:28:53 +00:00
Christian Stocker
cac5d670b3
get_element_by_id does not need LIBXML_XPATH support
2002-11-29 07:50:37 +00:00
Marcus Boerger
65eb0d8125
Conversion fixes
2002-11-29 01:44:19 +00:00
Marcus Boerger
0a7487e32d
Conversion fixes
2002-11-28 22:48:20 +00:00
Ilia Alshanetsky
398ff4fe82
Fixed mhash tests, apparently the TIGER algorithm was updated (fixed?) in
...
later mhash releases and consequently returns a different hash. I've updated
the hash to the one generated by latter releases.
Removed useless \r from ext/mhash/tests/003.phpt.
2002-11-28 14:13:44 +00:00
Martin Kraemer
966f75d4fb
Portability: avoid <malloc.h> warnings on FreeBSD
2002-11-28 09:19:16 +00:00
Martin Kraemer
f3845c3ae0
Portability: The header contains the declaration; while the source ext/bcmath/libbcmath/src/init.c has the definition
...
(otherwise some compilers complain about 'duplicate symbols')
2002-11-28 08:26:14 +00:00
Martin Kraemer
c5a7a522a1
Portability: Use 0 if the platform does not define EX_OK
2002-11-28 08:23:36 +00:00
Sterling Hughes
52a451ccd2
no more need for this either
2002-11-27 20:06:01 +00:00
Sterling Hughes
5c96f91123
don't use stupid constants, be smart, just read the line
2002-11-27 20:05:20 +00:00
Frank M. Kromann
7abdf90a0e
free alocated mem.
...
minor changes in the layout
2002-11-27 18:52:31 +00:00
Tal Peer
1d768548cd
jdtojewish() test
2002-11-27 15:54:32 +00:00
Tal Peer
8aac1ce2ee
Added an additional (optional) argument to jdtojewish() to keep BC
...
with 4.3 (and let users getdates in Hebrew without further formatting)
2002-11-27 15:52:25 +00:00
Ilia Alshanetsky
e195b10ede
Fixed bug #20664 .
2002-11-27 06:20:19 +00:00
Marcus Boerger
28c10e29d0
-Code completley rewritten
2002-11-27 02:42:41 +00:00
Marcus Boerger
569c69ba36
-Add test for exif_read_data and magic_quotes_runtime
2002-11-27 02:31:26 +00:00
Marcus Boerger
57f41b1a90
-Forgot to correct length
2002-11-27 02:28:29 +00:00
Marcus Boerger
3ff08b91a6
-Add magic_quotes_runtime support
...
-Fix Canon Markernote
2002-11-27 01:46:36 +00:00
Frank M. Kromann
9f927c1a2e
time is a function. Use the name of the variable 'timestamp'
2002-11-26 23:03:07 +00:00
Frank M. Kromann
863962d5cf
Adding missing header file on Win32
2002-11-26 23:02:09 +00:00
Frank M. Kromann
0cddc5b4eb
removing unused variables
2002-11-26 23:01:17 +00:00
Frank M. Kromann
2ac7c4f2de
Adding missing ;
2002-11-26 22:44:16 +00:00
Moriyoshi Koizumi
98dace883e
Improved the error reporting portion of array_walk() as suggested by Markus
2002-11-26 22:12:40 +00:00
Moriyoshi Koizumi
3fd513f32a
Prevent too many error reports from being displayed
2002-11-26 21:51:37 +00:00
Moriyoshi Koizumi
61b3d5ccb5
Fixed incorrect error messages of array_walk() in case the callback is
...
specified in an array form
2002-11-26 21:21:32 +00:00
Christian Stocker
20688a30ab
Fix for Bug #20639 DomElement->get_elements_by_tagname() doesn't work
2002-11-26 15:37:54 +00:00
Wez Furlong
b1a5434537
Update to use new parameter parsing API.
...
Updates to Jewish/Hebrew calendar code.
Patch from Moshe Doron, amended by Tal Peer,
reviewed by me.
# Maybe Tal and/or Moshe could comment on whether this should
# also be commited to the 4_3 branch (it completes some earlier work
# started prior to the branch).
2002-11-26 14:52:00 +00:00
Marcus Boerger
579e3ca96b
Add Berkeley db4 support
2002-11-26 12:05:59 +00:00
Marcus Boerger
197fd585bd
-Disallow combining db2 with db3 which are conflicting.
...
-Stop searching for headers and libraries when found.
-Check version for Berkeley DB library headers.
2002-11-26 12:00:25 +00:00
Frank M. Kromann
a2bf03ccea
Avoid , at the end of each string (to, cc and bcc)
2002-11-26 07:04:31 +00:00
Yasuo Ohgaki
f0b6f5450c
Remove a warning
2002-11-26 02:13:35 +00:00
Ilia Alshanetsky
9497ba9d49
MFH (test failure if session.serialize_handler is not set to php).
2002-11-25 23:20:05 +00:00
Stefan Esser
ababfedb66
tmp_line was possible uninitialised, resulting in crap error messages.
2002-11-25 22:53:57 +00:00
Ilia Alshanetsky
693fd4a36b
Added a check to determine if the file can be retrieved or sent.
...
This check also prevents incorrect error reporting in the event the retrieval
or the sending of the file cannot be accomplished.
2002-11-25 22:00:52 +00:00
Maxim Maletsky
d9cf3c2a0e
Bug# 16798. Tests appreciated by someone with Oracle 8.0
2002-11-25 18:14:45 +00:00
Moriyoshi Koizumi
53fba5f8a6
@- Enabled mbregex by default when mbstring is also enabled (Moriyoshi)
2002-11-25 17:44:14 +00:00
Moriyoshi Koizumi
12d4a19fce
Forgot to adjust this one
2002-11-25 17:21:50 +00:00
Moriyoshi Koizumi
76b218cb6e
Renamed several internal functions for consistency
2002-11-25 17:20:20 +00:00
Rui Hirokawa
b3cfda6389
simplified korean encoding conversion table.
2002-11-25 15:21:04 +00:00
Ilia Alshanetsky
c330fdc1a1
Removed un-needed zlib check.
2002-11-25 14:25:52 +00:00
Hartmut Holzgraefe
8bd550825f
email address change
2002-11-25 12:30:28 +00:00
Ilia Alshanetsky
9251486567
Synchronized bundled gd library with the latest stable GD, 2.0.6
...
Fixed a configuration problem with xpm.
Fixed 2 possible memory leaks in fontFetch().
2002-11-25 01:51:53 +00:00
Yasuo Ohgaki
5c851cba19
Cleanup state=4 and avoid using sscanf()
2002-11-25 01:38:29 +00:00
Moriyoshi Koizumi
436bc265e6
MFB
2002-11-24 19:48:58 +00:00
Sergey Kartashoff
dab1bb005a
- Header file update for new mnogosearch functions
2002-11-24 19:39:47 +00:00
Sergey Kartashoff
319f286562
@- A new functions have been added: udm_set_agent_param_ex and
...
udm_get_res_field_ex
- A new functions have been added: udm_set_agent_param_ex and
udm_get_res_field_ex
2002-11-24 19:36:46 +00:00
Sascha Schumann
3f6b470770
Use proper form of NUL
...
Drop superfluous checks for NULL results
2002-11-24 16:23:37 +00:00
Sterling Hughes
490903da5a
null after the erealloc()
2002-11-24 15:11:43 +00:00
Yasuo Ohgaki
5c2fda30b2
Added missing '\0'
2002-11-24 07:45:26 +00:00
Moriyoshi Koizumi
c7c7132a66
Renamed the file because this is actually a test for gdImageStringFt().
2002-11-24 01:32:15 +00:00
Ilia Alshanetsky
ef1d4e1dcf
Fix compile warning, MIN/MAX macros may already be defined by param.h
2002-11-24 01:30:51 +00:00
Ilia Alshanetsky
67e25fcbd8
Added gdPEstrdup macro.
2002-11-24 01:20:13 +00:00
Ilia Alshanetsky
ef26e2d1f8
Fixed 3 memory leaks.
...
Formatted the code to meet PHP's coding standards, which makes it MUCH easier
to understand.
2002-11-24 01:15:34 +00:00
Moriyoshi Koizumi
9db2512418
Fixed the macro so this can be compiled with ft1
2002-11-24 00:59:41 +00:00
Moriyoshi Koizumi
fe23fcab12
Sorry, wrong commit.
2002-11-23 23:35:57 +00:00
Moriyoshi Koizumi
0f8916e37c
Dismissed the second part of the test
2002-11-23 23:34:38 +00:00
Frank M. Kromann
ecd975550b
Adding mb_gpc files to project
2002-11-23 22:59:24 +00:00
Moriyoshi Koizumi
4124672edf
Fixed leaks. Other leaks are originated in libgd.
2002-11-23 22:11:59 +00:00
Moriyoshi Koizumi
57e4b81d13
Fixed segfaults
2002-11-23 21:33:31 +00:00
Marcus Boerger
1827a58de0
Allow db4.0 & db4.1 here. Patch by Ralf Engelschall (rse@engelschall.com)
2002-11-23 21:11:12 +00:00
Moriyoshi Koizumi
f920e5d068
Forgot this one. Updated license information
2002-11-23 20:17:46 +00:00
Moriyoshi Koizumi
7f1f056f16
Updated license information headers
2002-11-23 20:14:33 +00:00
Moriyoshi Koizumi
22a9d7ad25
Separated GPC related part from mbstring.c
2002-11-23 20:08:44 +00:00
foobar
5e429447b1
ws fix
2002-11-23 19:20:44 +00:00
Derick Rethans
36e82c84ae
- Make it compile on IRIX again
...
#- Tested with Linux/FreeBSD and IRIX
2002-11-23 19:03:21 +00:00
Moriyoshi Koizumi
44c98c7e3f
Fixed some odd behaviours of range()
2002-11-23 11:27:56 +00:00
Moriyoshi Koizumi
715ad2730c
Fixed tab positions.
2002-11-23 11:20:51 +00:00
Moriyoshi Koizumi
40d605a385
Test for mb_send_mail() under language=Korean
2002-11-23 05:26:18 +00:00
Sara Golemon
e9047df607
New function dns_get_record(): close resolver socket after use.
...
fix to internal func php_parserr(): correct bug in return state.
2002-11-23 01:09:07 +00:00
Marcus Boerger
318e561905
Testing default behaviour
2002-11-23 00:54:04 +00:00
Rui Hirokawa
c38db57f3c
fixed some bugs in korean encoding conversion.
2002-11-22 23:34:55 +00:00
Rasmus Lerdorf
761bcbd751
Applied imagedeallocate() fix
2002-11-22 23:25:14 +00:00
Ilia Alshanetsky
962e4864a1
Fixed bug #20560 .
2002-11-22 21:51:38 +00:00
Marcus Boerger
e7d20a0422
Make magic_quotes_runtime work bidirectional for dba
2002-11-22 15:47:48 +00:00
Marcus Boerger
d33ff48608
Show which algorythm fails and do not fail when we have new algos.
...
#for me TIGER fails anybody else?
2002-11-22 14:07:29 +00:00
Jan Kneschke
b4ced28d7c
- protect the function against a non-xml document
...
- initializing variables reduces the number of seg-faults
2002-11-22 13:41:51 +00:00
Jan Kneschke
3598fbcef9
- fixed a buffer under run
...
- initializing variables is a good thing
- in case of a invalid response we don't seg-fault here anymore
2002-11-22 13:39:06 +00:00
Sander Roobol
f200f739d8
Made bcmath extension thread safe.
...
@Made bcmath extension thread safe. (Sander)
2002-11-22 09:25:29 +00:00
Ilia Alshanetsky
489b0f2115
Added missing header (fixed bug #20555 ).
2002-11-22 02:38:03 +00:00
Ilia Alshanetsky
2ca45412ed
Added a test case for bug #20528 .
2002-11-22 00:08:57 +00:00
Ilia Alshanetsky
c7dd366c1a
Fixed bug #20528 .
2002-11-21 23:51:52 +00:00
Melvyn Sopacua
7732ce7fe3
Fix bug #20518
2002-11-21 23:28:26 +00:00
Melvyn Sopacua
8d42dd7a8b
test for bug #20518
2002-11-21 23:27:38 +00:00
Maxim Maletsky
e20121e6c7
Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect
2002-11-21 21:26:18 +00:00
Maxim Maletsky
b5ae4adde1
@- Added OCIPasswordChange() which allows the password of an Oracle account to be changed. (Maxim)
2002-11-21 20:49:33 +00:00
Maxim Maletsky
1f73196bf9
comment typo
2002-11-21 20:32:56 +00:00
Maxim Maletsky
8338d8bfce
Disabled OCIPasswordChange() in safe mode. Possible security risks.
2002-11-21 20:28:11 +00:00
Moriyoshi Koizumi
1748935997
Added missing mb_internal_encoding()
2002-11-21 18:12:53 +00:00
Moriyoshi Koizumi
adfcb09190
Removed unnecessary "\n"
2002-11-21 17:36:16 +00:00
Moriyoshi Koizumi
9762403c26
Added a test case for imagettftext()
2002-11-21 17:26:18 +00:00
Sander Roobol
b8cf1a369f
Hardcode the bcmath.scale ini-entry
2002-11-21 16:16:38 +00:00
Rui Hirokawa
13a51b8f20
mbstring is supporting CJK + some other encodings.
2002-11-21 16:12:49 +00:00
Rui Hirokawa
8a2b5991d6
fixed incorrect encoding conversion in korean.
2002-11-21 16:05:38 +00:00
Sander Roobol
f4ffead6fa
Adding tests for the bcmath extension
2002-11-21 15:24:45 +00:00
Hartmut Holzgraefe
fb5ac5d286
the apache 1.x sapi read_posts tests for SG(read_post_bytes) being
...
counted up, so lets make it happy although this value is not really
needed in these cases ...
2002-11-21 10:29:11 +00:00
Andi Gutmans
32fcc74395
- CVS nuked number.* so we'll nuke it from the build:)
2002-11-20 21:16:39 +00:00
Andi Gutmans
b0528dbe5e
- Revert previous patch
2002-11-20 20:03:01 +00:00
Andi Gutmans
e6b7ab9db8
- Intermediate commit which works on making bcmath thread-safe.
2002-11-20 19:48:12 +00:00
Frank M. Kromann
c77d276997
Adding path to resolv.lib
2002-11-20 18:53:14 +00:00
Sascha Schumann
a257d758a5
Add an error message to the ini handlers
2002-11-20 17:15:00 +00:00
Sascha Schumann
e9ed065afc
add protective checks to ini updates
...
Noticed by: Derick Rethans <d.rethans@jdimedia.nl>
PR: #20284
2002-11-20 16:06:29 +00:00
Ilia Alshanetsky
7908cffab4
Switched to a new parameter parsing API, which simplifies the code.
...
Made error reporting use php_error_docref().
Fixed a memory leak in shmop_open() when an invalid flag is specified.
Added tests for shmop() extension.
2002-11-20 15:56:56 +00:00
Sander Roobol
e532b24d82
One Apache 1.3 line is enough
2002-11-20 12:53:40 +00:00
Ilia Alshanetsky
d7d2b6ef50
Switched to a new parameter parsing API, which simplifies the code a great deal.
...
Made error reporting use php_error_docref()
Fixed a bug in mhash_keygen_s2k() that caused non \0 terminated data to be returned.
Added tests of all mhash functions.
2002-11-20 06:48:39 +00:00
Stefan Esser
63a50e500d
Adding SHA1 tests.
2002-11-19 23:25:57 +00:00
Ilia Alshanetsky
7751c4f549
Do not register IMAGETYPE_SWC if zlib, which is needed for parsing of swc
...
files is not available.
2002-11-19 21:24:47 +00:00
Ilia Alshanetsky
11e7f6278d
Addressed the issue of persistant allocation.
...
Fixed bug #20470 .
Fixed a memory leak in gdttf.c that would happen when an error during
processing occures.
2002-11-19 19:55:54 +00:00
Moriyoshi Koizumi
72f0be09c0
Function renamings: s/php_mbstr_/php_mb/.
...
# all of which are static so I don't see any problem for now.
2002-11-19 17:23:41 +00:00
Moriyoshi Koizumi
41ef851eb5
Unified the duplicated portions.
...
# No need to merge this patch to the branch
2002-11-19 17:02:06 +00:00
Moriyoshi Koizumi
65677445b4
Added a test to check whether mb_parse_str() works properly
2002-11-19 16:56:43 +00:00
Moriyoshi Koizumi
18089ce360
Modified the test so it wouldn't be affected by ini settings.
2002-11-19 16:55:34 +00:00
Edin Kadribasic
543c383302
Update Credits
2002-11-19 15:11:27 +00:00
Derick Rethans
0b2d775d3d
- Already moved to PECL, but forgot to remove it from php4
2002-11-19 09:51:50 +00:00
Marcus Boerger
3ca6344e57
-rename checkdnsrr to dns_check_record, keep old name as alias
...
-rename getmxrr to dns_get_mx, keep old name as alias
-added dns_get_record
@Added dns_get_record() which allows to retrieve DNS information about
@a host. (Marcus, Pollita)
2002-11-19 02:34:13 +00:00
Edin Kadribasic
ff55850562
No need to declare functions used internally by DBA as PHPAPI. This
...
fixes windows build.
2002-11-19 01:06:42 +00:00
Moriyoshi Koizumi
b75f2df3d4
We have to use binary mode here.
2002-11-18 21:20:45 +00:00
Moriyoshi Koizumi
a9d7509036
Fixed possible leaks
2002-11-18 21:15:41 +00:00
Thies C. Arntzen
6aaa7bc345
use FREE_ZVAL when freeing zvals
2002-11-18 17:34:55 +00:00
Sascha Schumann
58b26398de
Add FAM support for LGPLed libfam.
...
FAM, the File Alteration Monitor, provides an API that applications can use to
be notified when specific files or directories are changed.
FAM is being used in Enlightenment, GNOME/Nautilus, and KDE.
# Yes, this will be moved to PECL once that is fully usable. Emails about
# this issue will likely be redirected to /dev/null. :-)
2002-11-18 17:06:05 +00:00
Marcus Boerger
301330ff88
-Added colordepth for png
...
-Added tests for width/heidth for unsigned/signed problems
2002-11-18 16:51:02 +00:00
Marcus Boerger
a3d821c695
Added colordepth for png
2002-11-18 16:50:10 +00:00
Sascha Schumann
52f1135c8f
add missing backslash
2002-11-18 15:55:07 +00:00
Edin Kadribasic
b8d3c75a6c
Nuke one more win32 linking warning.
2002-11-18 15:53:00 +00:00
Marcus Boerger
25456939b3
Fixing unsigned/signed problems (and i thought about it before...)
2002-11-18 15:49:06 +00:00
Derick Rethans
e93f1c00c6
- Remove outdated GPL clause; the file was totally rewritten
2002-11-18 15:45:27 +00:00
Edin Kadribasic
d40c5e2624
Really nuke win32 linking warnings.
2002-11-18 14:33:34 +00:00
Ilia Alshanetsky
6e99ecdb01
Hopefully fix win32 linker warnings.
2002-11-18 13:17:14 +00:00
Ilia Alshanetsky
d9ecd30cc4
Changed memory allocation wrappers to macros, so that it is possible to see
...
where the memory leak is happening.
2002-11-18 12:31:39 +00:00
Wez Furlong
bceb56b2ba
Re-enable the curlwrappers configure option.
...
I still don't recommend it's use unless you are hacking both curl and PHP
to make it work.
2002-11-18 12:00:21 +00:00
Wez Furlong
ca58966a0d
Merge streams changes from branch.
2002-11-18 11:39:42 +00:00
foobar
6987855e95
Fixed bug: #20458 (--with-qtdom=shared broken)
2002-11-18 05:06:02 +00:00
foobar
43584058e9
Added error message if browscap location is not set in php.ini
2002-11-18 03:23:51 +00:00
Ilia Alshanetsky
c7fa1fa99f
Fixed bug #20462 .
2002-11-18 03:16:13 +00:00
Ilia Alshanetsky
c5107b8989
Removed duplicate php_compat.h include.
2002-11-18 02:30:27 +00:00
foobar
a3e9ae20d9
Fix the test. (and indented it for easier bug spotting :)
2002-11-18 00:41:27 +00:00
Ilia Alshanetsky
8d00d54f2f
Fixed gd 2.0.4 check
2002-11-17 21:57:43 +00:00
Sebastian Bergmann
9229918fd7
Fix warning. HAVE_MEMMOVE is already defined in config.w32.h.
2002-11-17 21:50:00 +00:00
Sebastian Bergmann
b4e42dd43f
Fix Win32 build. (Lots of linkage warnings remain!)
2002-11-17 21:29:16 +00:00
Ilia Alshanetsky
a10e0b6d8e
A better gd >=2.0.4 version check for non-bundled gd library.
2002-11-17 20:18:44 +00:00
Derick Rethans
8c86784cae
- MFB
2002-11-17 19:45:10 +00:00
Ilia Alshanetsky
cea2419529
Upgraded the bundled expat library to 1.95.5 (latest stable, atm).
...
Fixed bug #20442 .
2002-11-17 18:37:48 +00:00
Derick Rethans
1a5037de1a
- Fix compile problems for mips pro
2002-11-17 14:25:50 +00:00
Derick Rethans
c3fe54dfab
- MFB: Fix memory allocation problem in bundled GD (reported by Brian Havard)
2002-11-17 13:11:46 +00:00
Marcus Boerger
24726b0c64
Conversion fix by Michael Mauch
2002-11-17 09:27:48 +00:00
Marcus Boerger
2442adabe5
Force float for the float test
2002-11-16 23:45:58 +00:00
Marcus Boerger
4f747e80f0
Show module used in test
2002-11-16 19:43:53 +00:00
Marcus Boerger
015c117e37
-Do not rely on a side effect of 32bit platforms (patch by Michael Mauch)
...
-remove unused sections
2002-11-16 17:28:04 +00:00
Marcus Boerger
31e1cd13e2
removed unused sections
2002-11-16 17:26:52 +00:00
Ilia Alshanetsky
47596de32f
Fixed the test so it works properly on both 32 and 64 bit platforms.
2002-11-16 17:26:26 +00:00
Marcus Boerger
a3157908a8
Make getimagesize more robust against corrupt files
2002-11-16 17:02:07 +00:00
Georg Richter
208a3a3717
forgot to decrement result_allocated :(
2002-11-16 16:07:54 +00:00
Sebastian Bergmann
47388f2121
Fix Win32 build.
2002-11-16 08:30:31 +00:00
Marcus Boerger
dbf8593b5b
When --enable-dba is used then include builtin modules unless --without-xxx
...
is not used.
2002-11-15 21:28:42 +00:00
Ilia Alshanetsky
2306c0e9d7
Removed the md5 checks since the files may be slightly different due to
...
float -> int conversion inconsistencies on various architectures.
2002-11-15 18:53:07 +00:00
Maxim Maletsky
9e3788864b
WS
2002-11-15 18:20:59 +00:00
Maxim Maletsky
336e559718
Tons of WS fixes all over the file
2002-11-15 17:59:19 +00:00
Ilia Alshanetsky
8193641d2d
With ZTS on, we need to resolve the full paths before making symlinks.
...
If a chdir() call occurs before the symlink operation, the symlink is
created in the current directory rather then directory we've chdired to
because in ZTS we don't actually chdir but store the new path internally.
For an example of this problem consider the ext/standard/tests/file/001.phpt
test under ZTS.
2002-11-15 16:34:16 +00:00
Moriyoshi Koizumi
90317cbc5d
Always use binary mode for magic files
2002-11-15 16:25:31 +00:00
Moriyoshi Koizumi
7222abda70
Include php_config.h for HAVE_MBSTRING
2002-11-15 16:13:36 +00:00
Marcus Boerger
93769053cc
Use flatfile if available.
...
# This way we are using the internal library which we know about most.
2002-11-15 16:11:51 +00:00
Moriyoshi Koizumi
003be7fe32
Divided the overload test into two so as to handle the case mbregex is
...
not enabled
2002-11-15 15:59:07 +00:00
Marcus Boerger
7d03dc004e
Show which handler was used in the test
2002-11-15 15:58:09 +00:00
Moriyoshi Koizumi
b62afe783d
%s/SKIP/skip/g
2002-11-15 15:34:57 +00:00
Marcus Boerger
5841e290ac
Simplify and show skip reason
2002-11-15 15:22:07 +00:00
Marcus Boerger
adffe9fba6
Show correct result
2002-11-15 15:17:39 +00:00
Moriyoshi Koizumi
3ecc71a099
Fixed segfault in case the specified magic file cannot be read.
2002-11-15 15:13:30 +00:00
Moriyoshi Koizumi
46b4abc08b
Removed unnecessary ?>
2002-11-15 14:53:58 +00:00
Moriyoshi Koizumi
b23d2c8beb
Fixed bogus SKIPIF conditions.
2002-11-15 14:49:57 +00:00
Marcus Boerger
8c598f8bff
Only show the first results
2002-11-15 14:46:52 +00:00
Moriyoshi Koizumi
f0a7db1c7e
Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled.
2002-11-15 14:26:33 +00:00
Marcus Boerger
66ec203e70
Showing memleaks for a memleak test is a good idea
2002-11-15 11:55:57 +00:00
Marcus Boerger
4ef6a3af03
db is deprecated now
2002-11-15 11:49:58 +00:00
Marcus Boerger
b030a7a140
Fix segfaults (check ext/domxml/tests/domxml002.phpt)
2002-11-15 11:06:13 +00:00
Georg Richter
d46bd1cd63
removed restore_connection_defaults for pconnects (discussed on php-dev@)
...
bug #19529 closed
bug #12513 reopened
2002-11-15 10:35:10 +00:00
foobar
dadfd6e94a
ws fix
2002-11-15 07:21:33 +00:00
Moriyoshi Koizumi
fb20eae7fc
Fixed bug #20381
2002-11-15 02:16:41 +00:00
Moriyoshi Koizumi
ac209557dd
Added a test case for bug #20381
2002-11-15 02:11:23 +00:00
Maxim Maletsky
cd9b495663
I mean - todo typo :)
2002-11-15 02:06:11 +00:00
Maxim Maletsky
05f07d2eba
todo typo
2002-11-15 02:05:06 +00:00
Moriyoshi Koizumi
ee37386183
Use C comments
2002-11-15 01:45:23 +00:00
Moriyoshi Koizumi
5ca953b10f
Fixed a problem that ICONV_IMPL doesn't give a correct value in win32 build.
2002-11-14 23:07:53 +00:00
Stig Bakken
bdeb45b335
Added PATH_SEPARATOR constant
2002-11-14 22:50:01 +00:00
Moriyoshi Koizumi
9efefc742b
Added a test for zend-multibyte extension
2002-11-14 22:38:43 +00:00
Marcus Boerger
25641a7e96
Minor test corrections
2002-11-14 21:45:01 +00:00
Marcus Boerger
37e64f38ac
Test is affected by mbstring
2002-11-14 21:43:49 +00:00
Moriyoshi Koizumi
e40416ebf6
Fixed possible buffer over run in php_mb_safe_strrchr_ex()
2002-11-14 21:33:36 +00:00
Maxim Maletsky
7890b6fc87
Added function OCIPasswordChange() that allows renewal of an expired Oracle password.
...
# Tested, but still considered experimental...
2002-11-14 21:26:57 +00:00
Andrei Zmievski
26bd73fec6
Sort the modules for info output as well.
2002-11-14 21:15:42 +00:00
Marcus Boerger
dbb95f338e
file() is affected by magic_quotes_runtime
2002-11-14 21:15:31 +00:00
Marcus Boerger
a14bc7685d
Add magic_quotes_runtime support
2002-11-14 21:09:41 +00:00
Marcus Boerger
8579756c05
Test for bug #14383
2002-11-14 20:30:53 +00:00
Moriyoshi Koizumi
6841184abc
Fix build
2002-11-14 19:04:29 +00:00
Moriyoshi Koizumi
dac0b6fc4f
Moved some mbregex related portions from mbstring.c to php_mbregex.c
...
# No need to merge this change to PHP_4_3 branch
2002-11-14 18:54:42 +00:00
Moriyoshi Koizumi
db6efcf7e5
Prevent warnings under safe mode
2002-11-14 18:38:38 +00:00
Ilia Alshanetsky
4e1d684027
Fixed ZTS compile warning.
2002-11-14 16:32:30 +00:00
Ilia Alshanetsky
5f7de8bf5b
Fixed bug #20423 .
2002-11-14 16:20:23 +00:00
Marcus Boerger
f986cb84f3
Fix TSRM build
2002-11-14 15:09:53 +00:00
Marcus Boerger
a391c4b12b
Fix warnings (Marcus & Pierre-Alain Joye)
2002-11-14 15:08:39 +00:00
Wez Furlong
f921ea9f7d
Add a test case for this "bug" # 20134.
...
I'm not sure that this test is actually useful, so I'm not adding
it to the branch.
2002-11-14 14:56:35 +00:00
Marcus Boerger
5ec9375760
Fix locking behaviour: On some systems read during write is permitted but
...
most libraries are not capable of that. GDBM is system dependant so there
we only test that we do not deadlock.
2002-11-14 14:32:39 +00:00
Wez Furlong
4e85935386
MFB
2002-11-14 14:26:15 +00:00
Ilia Alshanetsky
6b7d77a7a0
Fixed bug #20420 and added partial urls to the test of the function.
2002-11-14 13:40:14 +00:00
Wez Furlong
b01add793c
Add this test to make sure that fopencookie is detected and working
...
correctly (or that the less efficient tmpfile casting is working).
More details in the test itself.
2002-11-14 12:20:36 +00:00
Wez Furlong
08362f90d9
Fix build for unix.
...
Not sure if this needs merging to the branch (haven't got that far yet today).
2002-11-14 12:06:01 +00:00
Wez Furlong
9ae3c2f7bd
Commit these before Sterling renames the files again :-)
...
When curlstreams are enabled, registers a each supported protocol
with PHP.
"More Correctly" implement eof for curlstreams.
Still not ready for anything like primetime.
2002-11-14 11:41:24 +00:00
Derick Rethans
bab4957d1c
- MFB: Fixed bug #20484 (stream_get_meta_data crashes on a normal file
...
stream). (Derick, Wez)
2002-11-14 10:56:35 +00:00
Jon Parise
92df58dab6
@- Added an optional "step" parameter to range(). (Jon)
2002-11-14 05:46:10 +00:00
Sterling Hughes
89ea16ffaa
remove C++ comments
2002-11-14 04:07:51 +00:00
James Cox
ad9788d853
changing..
...
#also, i think the qa and web team needs updating -- i'd like to see web change to a more general infrastructure category... anyone care to volunteer? :)
2002-11-14 02:05:53 +00:00
foobar
8efbeb68a1
MFB: Fix for bug: #20412
2002-11-14 00:21:14 +00:00
Edin Kadribasic
1eddce79dd
MFB (made mbstring compile on windows again).
2002-11-13 23:11:14 +00:00
Sterling Hughes
9d04acdaaa
curl_multi_info_read is unimplemented...
2002-11-13 22:43:31 +00:00
Sterling Hughes
537284418c
add multi support and reorganize things a bit...
2002-11-13 22:25:33 +00:00
Ilia Alshanetsky
4522738188
Added tests for imagefilter() function.
2002-11-13 20:03:59 +00:00
Ilia Alshanetsky
901980b3ab
Added imagefilter() function by Pierre-Alain Joye (paj@pearfr.org). This
...
function allows negate, grayscale, brightness, contrast, colorize, selective blur,
Gaussian blur, edge detect, smooth, sharpen and emboss filters to be applied
on an image.
2002-11-13 20:02:58 +00:00
Ilia Alshanetsky
a7487bb4f8
Compile warning fix.
2002-11-13 17:17:32 +00:00
Ilia Alshanetsky
0cb9c53033
Added a skip condition for when mail() function is not avaliable.
2002-11-13 17:16:33 +00:00
Ilia Alshanetsky
b0d519f730
Added a skip condition for when the encoding needed for the test is not
...
available or supported.
2002-11-13 16:52:48 +00:00
Marcus Boerger
244d5d1c11
must be unsigned
...
# maybe i will change this to size_t for 64bit systems but i do not have the
# time now and i have problems building php on a sun.
2002-11-13 16:30:50 +00:00
Marcus Boerger
4dd5fc67b7
-use size_t
...
-recheckin header as unix file
2002-11-13 16:28:44 +00:00
John Coggeshall
253cecd43a
Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob()
...
function.
Modified the layout and some minor logic in the experimental webHarness()
test class
Added Whitespace accidently to array.c :)
2002-11-13 13:31:33 +00:00
Edin Kadribasic
ae51b7f4db
Allow use of Berkeley db version 3.1 as found on many RedHat systems.
2002-11-13 13:12:26 +00:00
Edin Kadribasic
af436aa873
Added support for bundled flatfile, cdb and cdb_make handlers
...
to win32 build of the dba extension.
2002-11-13 12:12:44 +00:00
Moriyoshi Koizumi
9f2a1ce9d4
Added a test for mb_send_mail() to check if the function properly handles
...
Traditional Chinese characters.
2002-11-13 12:00:47 +00:00
Moriyoshi Koizumi
fd01313fde
Corrected Traditional Chinese language spec and the preferred MIME name
...
of which the encoding is used in that locale.
2002-11-13 11:57:59 +00:00
Marcus Boerger
77c9dfae6b
avoid fileno()
2002-11-13 10:17:19 +00:00
Derick Rethans
801c698992
- Reset globals for each request
2002-11-13 08:54:34 +00:00
Moriyoshi Koizumi
2016c0cc0a
Added a test for mb_send_mail() to check if the simplified Chinese support
...
works
2002-11-13 08:45:37 +00:00
Moriyoshi Koizumi
d9ebc7aadb
Updated the test
2002-11-13 08:27:17 +00:00
Moriyoshi Koizumi
7addde8521
Prevented unwanted encoding detections in mb_send_mail()
...
# This patch shouldn't break BC
2002-11-13 08:26:04 +00:00
Moriyoshi Koizumi
e01b60c2fb
Fixed mb_encode_mimeheader() to work with languages other than Japanese and
...
English
2002-11-13 08:13:34 +00:00
Moriyoshi Koizumi
04f59073e6
Fixed a buffer over-run bug in case a function to be overloaded doesn't exist.
...
# This patch was made by Ilia.
2002-11-13 07:40:11 +00:00
Andrei Zmievski
e87b45de44
Disable mbstring by default.
2002-11-13 04:36:04 +00:00
foobar
aab64595fa
Using // is not very good idea..
2002-11-12 23:34:06 +00:00
Edin Kadribasic
9a275e27a5
Fixed ZTS build and removed an unused variable.
2002-11-12 22:59:11 +00:00
Edin Kadribasic
f4903cd901
Fix build. flock_compat.c and flock_compat.h are now in the exported
...
part of php4ts.dll.
2002-11-12 22:44:11 +00:00
Moriyoshi Koizumi
16cf26ee18
Cosmetics
2002-11-12 22:05:18 +00:00
Moriyoshi Koizumi
3cf7002469
Fixed a function overloading related bug.
...
# Yet I suspect the problem is in another place...
2002-11-12 21:58:53 +00:00
Moriyoshi Koizumi
c65cbd2409
Fixed the tests so that they won't be affected by the ini setting of
...
default_charset
2002-11-12 21:37:54 +00:00
Marcus Boerger
0b8c9fc5b2
fix warnings
2002-11-12 21:11:01 +00:00
Marcus Boerger
b855dcc876
ftruncate is defined in flock_compat.h on windows
2002-11-12 21:03:10 +00:00
Moriyoshi Koizumi
072466203d
Fixed language name
2002-11-12 20:06:20 +00:00
Moriyoshi Koizumi
5d547d1f0c
Added test cases for mb_send_mail()
2002-11-12 20:04:58 +00:00
Moriyoshi Koizumi
827974bc94
Forgot to change this one.
2002-11-12 19:44:56 +00:00
Moriyoshi Koizumi
268903ce6c
Added neutral language spec for backwards compatibility
2002-11-12 19:24:45 +00:00
Hartmut Holzgraefe
be5e379ec6
HTTP_RAW_POST_DATA BC fixes
...
# hopefully all done, commiting anyway to continue work on my home box
php://input stream fixes (POST data handerl mangles data, CLI crashbug)
2002-11-12 18:29:11 +00:00
Ilia Alshanetsky
ef7bd02688
Added test for swc files (compressed swf files), this must be done in a
...
separate test, since this test has a dependency on the zlib extension.
2002-11-12 17:47:20 +00:00
Ilia Alshanetsky
d84afe1121
Fixed a memory leak.
2002-11-12 17:41:26 +00:00
foobar
2972859dcf
ws fixes
2002-11-12 17:31:39 +00:00
Ilia Alshanetsky
619fc2c3c0
Data manipulation (for big endian transformation) should occur after the
...
data has been read from file.
2002-11-12 16:14:18 +00:00
Marcus Boerger
f6885ab970
use *e*malloc functions
2002-11-12 16:02:03 +00:00
Marcus Boerger
1ad91e8b9b
fix warnings
2002-11-12 15:09:44 +00:00
James Moore
48d27095a7
Forgot the parsers and scanners
2002-11-12 14:31:37 +00:00
James Moore
41114c05fe
Rewrite of the W32api extension
...
@ New version of w32api extension. Old API deprecated (jmoore)
2002-11-12 14:29:42 +00:00
Ilia Alshanetsky
1a3e0f0487
Fixed compile error.
2002-11-12 14:18:25 +00:00
Marcus Boerger
c53e21ef05
php_error() => php_error_docref()
2002-11-12 13:16:13 +00:00
Timm Friebe
0d879e3323
- Added optional parameter to sybase_fetch_object() (Timm)
...
- Changed php_error and zend_error to php_error_docref (Timm)
- Changed sybase_query() to clean up and free unread results (Timm)
2002-11-12 13:13:12 +00:00
Marcus Boerger
b06085dd46
fix warnings
2002-11-12 13:12:58 +00:00
Marcus Boerger
22b8f0ea42
fix windows warning: not needed here
2002-11-12 13:11:37 +00:00
Marcus Boerger
99beb8034e
-fix includes
...
-fix one missing efree
-replace efree/emalloc with erealloc
2002-11-12 12:01:57 +00:00
Marcus Boerger
597acbc3d3
new function gd_info() returns an associative array of gd support options. # The index names are those from the minfo function. Therefore it is
...
# easy to look into phpinfo() to see which index names are possible.
2002-11-12 11:49:11 +00:00
Marcus Boerger
3ba7df4c6a
fix warnings
...
#highest bit cannot be set so this must work
2002-11-12 11:46:21 +00:00
Marcus Boerger
1017cf99a0
fix warnings
2002-11-12 11:45:10 +00:00
Marcus Boerger
f2de217740
correct the last patch: make flock() a function again when it is missing
...
#function name should be flock and not php_flock of cause
2002-11-12 09:09:55 +00:00
Yasuo Ohgaki
f482ac4011
Speed up pg_escape_bytea, from O(n^2) => O(n). My test script speed up
...
from 50 sec to 5 sec. (sscanf is too slow at least under my linux, I
might write better function that unescape values later)
Use emalloc/erealloc for bundled PQescapeBytea(php_pgsql_escape_bytea)
2002-11-12 09:07:36 +00:00
Derick Rethans
28d3be43a3
- Fix warning
2002-11-12 08:11:23 +00:00
David Viner
687b684d7b
adding to do list to help clarify exactly what we are (or
...
should be) working on for the XSLT extension.
--dviner
2002-11-12 05:14:47 +00:00
Zak Greant
c29f1aa468
Modified php_mysql_do_connect() as suggested by Nick Gaugler - using
...
mysql_ping() as a more efficient alternative to using mysql_stat() to
check if the server is alive and then calling mysql_(real_)?connect() to
reconnect.
Simple tests of opening pconnects indicate that only about 10k of data per
ping needs to be returned to the client per connection check, rather than
about 110k per status check.
2002-11-12 01:41:16 +00:00
Marcus Boerger
b8696890ca
make flock() a function again when it is missing
2002-11-11 23:40:33 +00:00
Harrie Hazewinkel
6a14b16e34
Adding a more detail print functions, that assist/make it easier for
...
creating SNMP scripts.
They are only supported when you have NET-SNMP.
Need to be documented still though.
2002-11-11 21:37:19 +00:00
Harrie Hazewinkel
957f651708
Adding SNMPv3 support.
...
This splits the old php_snmp function into an argument parsing part and
a data retrieval part. The data retrieval part is reused for SNMPv3.
SNMPv3 has only a different argument parsing.
THe code is not extremely beautiful, but having NET-SNMP and
UCD-SNMP support creates this. :-(
Documentation must still be done.
2002-11-11 21:09:19 +00:00
Marcus Boerger
759e4b10e8
Use php_flock instead of flock
2002-11-11 20:53:41 +00:00
Marcus Boerger
1554bb6db6
-make the flock() emulation a separate function named php_flock()
...
-use a define to make php_flock() available as flock() when necessary
# The emulated php_flock even works on NFS this will be used elsewhere.
2002-11-11 20:52:09 +00:00
Harrie Hazewinkel
e1f884c4bc
Fixing the php_info function.
...
Print UCD-SNMP when UCD-SNMP is used.
Print NET-SNMP when NET-SNMP is used.
2002-11-11 18:45:50 +00:00
Ilia Alshanetsky
aec6258a17
Fixed compile warnings.
2002-11-11 16:54:26 +00:00
Marcus Boerger
2f06a4fa77
make flock PHPAPI
2002-11-11 16:43:19 +00:00
Jason Greene
f8aae8702c
Switch to using error_docref
...
# Satisfy all those named Mar[ck]us
2002-11-11 16:34:39 +00:00
Edin Kadribasic
a2c170e296
Fixed windows build. Symbol PHP_EXPORTS is a no-no for dynamically
...
linked extensions.
2002-11-11 16:11:32 +00:00
Moriyoshi Koizumi
f300bdce82
Added support for windows code pages.
2002-11-11 13:31:08 +00:00
Moriyoshi Koizumi
488255ce54
WS
2002-11-11 13:28:34 +00:00
Georg Richter
f328f3ea51
Added new functionality:
...
Warnings for table/index scans
Warnings for SQL-Errors
Warnings for non free result sets
It can be activated via ini.setting "mysql.trace_mode"
2002-11-11 12:54:06 +00:00