Marcus Boerger
d6d17e510d
Remove this debug line too
2003-05-02 11:10:55 +00:00
Moriyoshi Koizumi
7638a25fef
Fixed bug #23449
2003-05-02 11:00:42 +00:00
Andrey Hristov
a894bf5c87
Extending substr_replace().
...
Every parameter can be mixed (string/array) also the return type.
#see the test file if you need more info.
2003-05-02 10:02:40 +00:00
Thies C. Arntzen
83a0e508df
@ - Fixed bug #23376 OCINewDescriptor
2003-05-02 08:43:28 +00:00
Sterling Hughes
c5a2f99703
remove this, its now in bundle
2003-05-02 04:05:23 +00:00
Sterling Hughes
80e9dc0b58
new file that deals with the bundle
2003-05-02 04:02:27 +00:00
Marcus Boerger
ff82ad268f
Add some info
2003-05-02 03:09:58 +00:00
Sara Golemon
07c679064a
Bug Fix (22433). When the bottom of a range() is chr(0) or the top is chr(255), the for loop carries over and never exits.
2003-05-02 00:58:02 +00:00
foobar
20d88e4c34
- Fixed bug #22580 (ext/odbc compile failure with dbmaker)
2003-05-02 00:40:20 +00:00
foobar
f60a086291
- Fixed bug #23427 (compile failure with GD 1.8.3)
2003-05-01 23:50:08 +00:00
Marcus Boerger
b5a70a72d1
Add spl extension
2003-05-01 23:28:28 +00:00
Edin Kadribasic
0d46a490f7
Allign.
2003-05-01 22:12:06 +00:00
Ilia Alshanetsky
894e2aaf68
emalloc -> safe_emalloc
2003-05-01 21:08:31 +00:00
Marcus Boerger
a8c650d1b8
tests depend on ini option
2003-05-01 13:29:11 +00:00
Marcus Boerger
2c2774c204
Don't return table names
2003-05-01 13:20:22 +00:00
Marcus Boerger
2cef4c3470
Check returned associative indexes
2003-05-01 13:18:56 +00:00
Sterling Hughes
1d32bcf0bc
no need to comment out, it doesn't belong there '.'
2003-05-01 03:47:54 +00:00
Wez Furlong
9db67f05e1
UnixODBC also supports the fetch_array() and fetch_object() functions...
2003-04-30 23:32:36 +00:00
Ilia Alshanetsky
8a09151f5e
emalloc -> safe_emalloc
2003-04-30 21:53:53 +00:00
Frank M. Kromann
c843ec8c6c
Fixing bit support. Bug #23324
2003-04-30 21:52:37 +00:00
Moriyoshi Koizumi
193fe6863a
Really fix the test.
...
# sorry for the mess..
2003-04-30 16:30:44 +00:00
Rasmus Lerdorf
63c966a33d
MFB
2003-04-30 16:26:22 +00:00
Marcus Boerger
bafbc8bdb2
Allow both parameter orderings
2003-04-30 15:22:57 +00:00
Marcus Boerger
4ad3ecc758
Allow to set result_type default for each query
2003-04-30 15:18:59 +00:00
Wez Furlong
6fc4f3a2ef
Fix memory leak in odbc_fetch_(array|object).
...
Enable those functions for IBM DB2.
2003-04-30 10:45:45 +00:00
foobar
d7fde48f1d
tempnam() creates an empty file..prevent them from going to /
2003-04-30 10:42:24 +00:00
foobar
58491116fc
- Fixed bug #23371 (configure falsely detects c-client using SSL)
2003-04-30 10:34:47 +00:00
foobar
511d5268a5
Add some missing quotes. Noticed by Michael Mauch <michael.mauch@gmx.de>
2003-04-30 10:22:56 +00:00
foobar
17892a4386
CS fix
2003-04-30 10:19:21 +00:00
foobar
5fbbd31ca4
Fix compile problems with < 9.2 oracle libs
2003-04-30 10:17:25 +00:00
Ilia Alshanetsky
35f8be6bcc
Fixed compiler warning (found by Larry Rosenman <ler@lerctr.org>)
2003-04-30 00:37:31 +00:00
Sara Golemon
5d3a8e4ce7
Add support for SRV and NAPTR records to dns_get_record() and dns_check_record()
...
Feature Request #23407
2003-04-29 22:02:01 +00:00
Wez Furlong
89503b163e
Fix dirname() under win32.
...
The calculated length would be off-by-two under windows, which resulted in bogus dirnames.
2003-04-29 13:35:48 +00:00
Moriyoshi Koizumi
180806f9e6
Fixed typo
2003-04-29 13:05:58 +00:00
Moriyoshi Koizumi
cc9b7895a0
Fixed bogus skip condition
2003-04-29 13:04:19 +00:00
Ilia Alshanetsky
c511cd2242
emalloc -> safe_emalloc
2003-04-28 22:42:22 +00:00
Jay Smith
ab1124b014
A few fixes Uwe suggested, plus plugged a memleak and a possible
...
overrun.
2003-04-28 21:49:47 +00:00
foobar
ac45c221ff
ws fix
2003-04-28 20:47:27 +00:00
Adam Dickmeiss
1329eac05a
For yaz_wait, when event=>TRUE is specified for array options,
...
yaz_wait returns when one event occurs. This allows us to perform
async operations on many databases. Use OnUpdateInt for PHP4.
2003-04-28 19:51:45 +00:00
Derick Rethans
9ab3ad2963
- Commit the .c file too...
2003-04-28 18:52:59 +00:00
Derick Rethans
cd13464709
- Make them available on Windows too from other files.
2003-04-28 18:41:32 +00:00
Sascha Schumann
e422f56dff
improve php_url_encode
2003-04-28 16:24:14 +00:00
Moriyoshi Koizumi
f4c9feb774
Added missing sanity check in fgetcsv()
2003-04-28 15:04:56 +00:00
Wez Furlong
169b3f72ed
Fix for #23340 ; fopen on multiple urls from the same server crashes.
2003-04-28 14:41:36 +00:00
Derick Rethans
810ac117f0
- Fix non-ZTS build after Sterling's changes to TSRM
2003-04-28 10:40:28 +00:00
Sterling Hughes
7ed6fd22bc
use the new TSRMLS_FETCH_FROM_CTX() macro
2003-04-27 22:15:19 +00:00
Marcus Boerger
8820a9cdcc
More tests
2003-04-27 20:02:35 +00:00
Stanislav Malyshev
cddface7f1
fix TSRM
2003-04-27 16:18:43 +00:00
Stanislav Malyshev
cad71d8c92
MFB 4_3:
...
Fix very nasty bug - session cookie kills one of the cookies
set before it on certain non-Apache SAPIs.
# for example, this code:
# <?
# setcookie("abc", 1);
# setcookie("def", 2);
# session_start();
# ?>
# would output only 'def' cookie on CGI and ISAPI
2003-04-27 16:04:53 +00:00
Wez Furlong
3bf392c160
Seems like a better fix..
2003-04-27 14:01:09 +00:00
Marcus Boerger
783d1d7b24
More safe_emalloc()
2003-04-27 13:46:07 +00:00
Wez Furlong
23c4c206a4
WS, plus default: would prevent case SQLITE_DONE: in php_sqlite_fetch().
2003-04-27 13:32:43 +00:00
Marcus Boerger
fe94e0394e
Enable some more functions with unbuffered queries
2003-04-27 13:25:10 +00:00
Marcus Boerger
88ef12964b
Add more tests
2003-04-27 11:29:39 +00:00
Sara Golemon
bb48c7d861
Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be. Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize. Other properties set to 0 since the FTP protocol simply doesn't support exploring them. url_stat won't actually work however until ext/standard/filestat.c is patched to allow stat wrappers.
2003-04-26 01:55:31 +00:00
Ilia Alshanetsky
ab0e80d42f
emalloc -> safe_emalloc
...
Fixed possible buffer overflow in pg_lo_read()
2003-04-25 21:59:58 +00:00
foobar
b83fc1a802
- Fixed some AIX/HPUX compile issues.
...
# Just a modified diff of the same file found in mysql 4.0.12 :)
2003-04-25 21:31:23 +00:00
Moriyoshi Koizumi
0e5df53be5
Moved copyright notice to the better place.
2003-04-25 17:39:46 +00:00
Moriyoshi Koizumi
4c2d694aa3
Added a bogus copyright notice.
2003-04-25 17:35:06 +00:00
foobar
a64269f0da
Make these tests actually work.
2003-04-25 15:43:28 +00:00
foobar
6bfa5b405f
Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to crypt")
2003-04-25 08:57:49 +00:00
foobar
93b154fea4
Some AIX version failed to compile if this was redefined.
2003-04-25 08:10:11 +00:00
Sara Golemon
2d558127af
No idea how that character dissapeared.
2003-04-24 22:25:33 +00:00
Sara Golemon
2fc1d2c330
Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add append support to wrapper
2003-04-24 21:21:41 +00:00
Marcus Boerger
8a5ba51ac8
MFB: safe_emalloc()
2003-04-24 20:54:43 +00:00
Sara Golemon
228f65f889
Abtract some ftp connection/negotiation steps out and add support for stream_opendir. This allows things like opendir('ftp://ftp.foo.com/path')
2003-04-24 20:32:14 +00:00
David Hill
cec89b2446
Fix compiler error on null statement in switch
2003-04-24 18:01:26 +00:00
foobar
92096ac753
Fix obvious flaw in this test
2003-04-23 08:54:49 +00:00
Wez Furlong
604a41e244
win32 fixes
2003-04-22 23:24:44 +00:00
Wez Furlong
9d43def392
Fix the extension...
...
# guess which extension I copied this from??
2003-04-22 21:41:46 +00:00
Rasmus Lerdorf
0d248d81a6
MFB: &039; which is a single-quote may also come in as &39;
...
I see no reason not to support both in html_entity_decode()
2003-04-22 20:47:09 +00:00
Wez Furlong
11a96965c9
Add windows .dsp and some kludgy pre-generated headers.
2003-04-22 19:06:31 +00:00
Sara Golemon
cb89565ba4
Feature Request #7121 .
...
Allow overwritting of files via ftp:// wrapper.
Requires context option: $context['ftp']['overwrite'] != 0
2003-04-22 04:13:09 +00:00
Sascha Schumann
c523fc4766
Add vr class
...
Noticed by: Jon Parise
2003-04-22 03:21:29 +00:00
Wez Furlong
71722f28ba
I will use my brain properly next time
2003-04-22 00:21:02 +00:00
Wez Furlong
eb22d78db8
allow sqlite_query() to accept the query string and database resource in
...
either order.
Forgot to bump the package version number displayed by phpinfo()...
Bump to 0.9a
2003-04-22 00:19:48 +00:00
Edin Kadribasic
43349ea014
Added sqlite.assoc_case ini entry with 0 as the default value.
...
0 - Make no changes to the keys in the associative array
1 - Change the keys to uppercase
2 - Change the keys to lowercase
2003-04-22 00:08:48 +00:00
Wez Furlong
04c5e2fc06
Prepare for release.
2003-04-21 20:24:03 +00:00
Moriyoshi Koizumi
f9e805d52b
The feature is less revelant to encoding conversion indeed
2003-04-21 19:07:21 +00:00
Moriyoshi Koizumi
c591d4decd
Reduced leaks in userland filters
2003-04-21 18:43:36 +00:00
Moriyoshi Koizumi
cf620ddfdb
Unified all those redundant printf's
2003-04-21 18:00:41 +00:00
foobar
dd0228d3d8
Fix bug #23198
2003-04-21 17:53:37 +00:00
Stanislav Malyshev
5a904d6ea8
Update to latest inteface change for get_class_name
2003-04-21 17:03:29 +00:00
Wez Furlong
276e721f96
Tidy up package.xml file.
...
Cleaner approach for setting THREADSAFE and NDEBUG for bundled libsqlite.
Tested with: static, shared and shared with separate build roots under a
non-zts build only.
2003-04-20 16:09:16 +00:00
Wez Furlong
8ccae81db2
Eliminate leaks from registering plain or aggregate functions.
...
Also, reduce (probably eliminate) the risk of a segfault when registering a
callback on a persistent connection and later triggering the callback from a
different script.
2003-04-20 15:13:04 +00:00
Wez Furlong
ac33bc48f0
Revise todo
2003-04-20 13:33:46 +00:00
Wez Furlong
d40a615a8e
Implement sqlite_create_function(), which allows binding of php functions by
...
name; this is a higher performance alternative to the generic php() SQL
function. (saves parsing the additional function call in the SQL and a call to
zend_is_callable on each function invocation).
Add test for sqlite_create_function().
Fixup proto for sqlite_create_aggregate().
Tweak package file and speling in header file.
2003-04-20 13:31:36 +00:00
Tal Peer
b0d26a11ac
Remove rendundant function
2003-04-20 13:21:17 +00:00
Tal Peer
2a54c9a308
typo
2003-04-20 13:17:17 +00:00
Tal Peer
a676f6c29d
Update
2003-04-20 13:15:45 +00:00
Wez Furlong
7360c5dfdd
Add test for aggregates
2003-04-20 13:08:40 +00:00
Wez Furlong
4a46882648
Implement sqlite_create_aggregate() which can be used to create aggregation
...
functions for use in SQL statements.
2003-04-20 13:08:22 +00:00
Edin Kadribasic
3f18d16957
Kluge, but it seems to work now in both phpize and bundled builds.
...
Only in there until Wez fixes it for real.
2003-04-20 03:03:28 +00:00
Edin Kadribasic
04d06dac3f
Reinstating these two items due to the fact that current config.m4
...
detection for debug and thread-safe build does not work if sqlite
is built as a standalone extension with phpize.
2003-04-20 01:55:20 +00:00
Edin Kadribasic
a10c8a3e1c
Erm, this works much better :)
2003-04-20 01:25:59 +00:00
Edin Kadribasic
3f95e99afc
Set appropriate flags when compiling bundled lib in thread-safe
...
and debug modes.
2003-04-20 01:22:08 +00:00
Sara Golemon
7c8c09b3cf
Revert change to stream_copy_to_stream()
2003-04-20 01:18:58 +00:00
Marcus Boerger
9e19524c5e
Access the struct directly here
2003-04-19 19:06:52 +00:00
Ilia Alshanetsky
6bc4ce43d0
Do not hardcode php path.
2003-04-19 18:10:54 +00:00
Ilia Alshanetsky
e4c38aec5a
Do not make the test rely on the availability of the cat command.
2003-04-19 17:45:46 +00:00
Sascha Schumann
e4183ae980
Extend print_table_row so that one can specify the CSS class
...
directly. Add "vr" class which aligns the content to the right border.
2003-04-19 17:40:19 +00:00
Marcus Boerger
b99a491e33
Update to new macros
2003-04-19 15:01:22 +00:00
Wez Furlong
e17b8b4b12
More things todo
2003-04-19 13:04:19 +00:00
Wez Furlong
ff0d6adda4
Transparently decode binary encoded data.
...
Add a test-case for that process.
When encoding binary data, we mark the string with \x01 as its first character.
When returning data via sqlite_fetch_array(), if the first character is \x01,
then we decode the encoding. This behaviour can be turned off by the optional
last parameter to sqlite_fetch_array(), for compatibility with databases
created with other applications.
2003-04-19 12:54:17 +00:00
Wez Furlong
de7874e11f
Little fix for people building sqlite as a static extension
2003-04-19 11:47:17 +00:00
Marcus Boerger
5f97e66ba5
Add test for different result representations
2003-04-19 10:36:58 +00:00
Wez Furlong
6640260253
Fix 2 potential segfaults.
2003-04-19 10:28:45 +00:00
Moriyoshi Koizumi
6be2406b63
Made phpinfo() / gd_info() indicate availability of JIS feature
2003-04-19 07:44:16 +00:00
Moriyoshi Koizumi
54096d3f43
Fixed help text alignment
2003-04-19 07:15:38 +00:00
Rui Hirokawa
442798bbe5
fixed compilation problem in php-4.3.2dev.
2003-04-19 07:04:00 +00:00
Moriyoshi Koizumi
1f229c0851
MFBed Rui's patch
2003-04-19 04:33:38 +00:00
Sara Golemon
6dde464ce7
Let stream_copy_to_stream() accept either stream resource or filename/url string. If filename, open the file, do the copy, then close it.
2003-04-19 02:47:16 +00:00
Marcus Boerger
cde6bdce5c
Improve test environment, fix 001.phpt and rename that one, also change from /tmp to dirname(__FILE__)
2003-04-18 20:53:18 +00:00
Marcus Boerger
16e873f864
Add a first simple open/close test
2003-04-18 20:08:01 +00:00
Marcus Boerger
d323659e5f
ZTS fixes
2003-04-18 19:43:38 +00:00
Wez Furlong
ff93259b82
First "real" test.
...
If anyone is motivated to write more tests, please do so.
2003-04-18 19:22:49 +00:00
Wez Furlong
c568087d6e
done: persistent connections
2003-04-18 16:42:28 +00:00
Wez Furlong
8f30d3e545
Implement sqlite_popen(), which opens persistent connections to an sqlite
...
database file. (This saves the cost of sqlite reading/parsing the indices).
Persistent db connections have any pending transactions rolled back at request
shutdown time. (non-persistent connections are automatically rolled back when
they are closed).
Enhance sqlite_query() and sqlite_unbuffered_query() to use the C api
sqlite_exec() when the PHP script does not use the return value. This avoids
the extra work and memory allocation for holding result sets when they are not
needed.
2003-04-18 16:30:16 +00:00
Wez Furlong
d28e06d3b2
Update todo
2003-04-18 12:23:14 +00:00
Wez Furlong
8ed14ff16f
Implement sqlite_unbuffered_query(), which works similarly to the mysql
...
function with a similar name.
Change sqlite_query() to use the same mechanism as the unbuffered query; this
moves the bulk of the memory allocations into the ZE memory manager, and will
hopefully be more efficient and less at risk of leaks.
2003-04-18 12:22:43 +00:00
Ilia Alshanetsky
7f94983ee0
Added missing safe_mode checks.
2003-04-18 00:20:22 +00:00
Sara Golemon
19ef914bb4
Catch up to Moriyoshi's streams megapatch
2003-04-17 23:59:28 +00:00
foobar
1e3e1d5880
CS cleanup + NS protection for some functions (used only in sockets.c btw)
2003-04-17 23:18:58 +00:00
Sara Golemon
f2654df92c
Basic IPv4 and IPv6 loopback tests for ext/sockets
2003-04-17 23:09:17 +00:00
Sara Golemon
d06232a871
Add IPv6 support to ext/sockets
2003-04-17 21:04:47 +00:00
Wez Furlong
0098ae7dc6
Constants for error codes
2003-04-17 20:17:54 +00:00
Wez Furlong
a016cfb10a
Folding markers
2003-04-17 20:09:45 +00:00
Wez Furlong
ec09b1b881
Add two new functions:
...
int sqlite_last_error($db) -- returns error code from last query
string sqlite_error_string(int code) -- returns english description of an error
code.
2003-04-17 20:08:00 +00:00
Wez Furlong
cca9ebddae
Add pecl release version to phpinfo output
2003-04-17 19:13:21 +00:00
Wez Furlong
c38fc9bc27
and one more
2003-04-17 19:02:10 +00:00
Wez Furlong
aeeb56cb2d
Add another todo
2003-04-17 19:01:26 +00:00
Wez Furlong
6a7502076d
Update TODO.
2003-04-17 18:56:34 +00:00
Wez Furlong
3cf1e2c7ed
Add safe_mode and open_basedir checks for the COPY SQL statement.
2003-04-17 18:54:40 +00:00
Wez Furlong
c54eff9f12
Update for new release
2003-04-17 17:31:50 +00:00
Wez Furlong
c53b5743df
WS
2003-04-17 17:15:36 +00:00
Wez Furlong
4d9ca8f135
NULL columns are NULL pointers
2003-04-17 17:09:59 +00:00
Wez Furlong
4eba9b8b46
Implement sqlite_busy_timeout() which sets the retry timeout (in milliseconds)
...
when multiple processes attempt to lock and update the database.
2003-04-17 16:57:46 +00:00
Jay Smith
3fbb4dbdc0
Fix some segfaults in some of the pg_lo_* functions.
2003-04-17 16:54:43 +00:00
Wez Furlong
28128e4154
Segfault fixing!
2003-04-17 16:36:59 +00:00
Wez Furlong
3eb3805d47
Really fix build
2003-04-17 12:49:44 +00:00
Wez Furlong
b09dc0e03a
Hopefully fix build...
2003-04-17 12:38:42 +00:00
Wez Furlong
5594945c76
Add dependency to generate header
2003-04-17 12:12:28 +00:00
Wez Furlong
f56412eace
Update build files
2003-04-17 11:57:29 +00:00
Wez Furlong
c53017d4c3
Remove whitespace added while touching.
2003-04-17 11:44:06 +00:00
Wez Furlong
64d20f54c4
Touch generated files
2003-04-17 11:43:26 +00:00
Wez Furlong
05d5a35c9b
Bundle relevant parts of sqlite 2.8.0.
...
# sqlite has a completely non-restrictive license
2003-04-17 11:27:30 +00:00
Wez Furlong
826583dc91
Nicer error message when an invalid function name is specified.
2003-04-17 03:38:20 +00:00
Wez Furlong
f7dbd9d909
Prep for release.
2003-04-17 03:19:33 +00:00
Wez Furlong
1c3b2a28d1
Update TODO and example.
...
Hide phpize crap from CVS
2003-04-17 03:15:13 +00:00
Wez Furlong
c73e304dc2
Implement a php function so that the following SQL can be used:
...
SELECT php('md5', sql) from sqlite_master
The php function has takes the name of a php function to call as the first
parameter; each additional parameter is passed on to the function, much like
call_user_func().
You can call both built-in and script-defined functions in this way.
2003-04-17 03:14:14 +00:00
foobar
2cd55ce73b
touch
2003-04-17 02:54:23 +00:00
foobar
b319982868
add missing header
2003-04-17 02:53:32 +00:00
foobar
85874549d6
touch
2003-04-17 02:45:10 +00:00
Wez Furlong
5e0b9bb451
Implement sqlite_escape_string() function.
2003-04-17 02:20:26 +00:00
Wez Furlong
2d14d8b520
Implement safe_mode and open_basedir checks.
...
Add package.xml
2003-04-17 01:57:55 +00:00
Wez Furlong
cc5903adb4
Add readme and todo
2003-04-17 01:37:42 +00:00
Wez Furlong
25954d1d72
This commit was generated by cvs2svn to compensate for changes in r123706,
...
which included commits to RCS files with non-trunk default branches.
2003-04-17 01:29:45 +00:00
Moriyoshi Koizumi
0c5548e636
Fixed implicit cast issue with is*() and to*() functions
2003-04-16 21:40:48 +00:00
Moriyoshi Koizumi
0ad2fc2007
Fixed bug #19795
...
# to*() and is*() expect for their arguments an integer in range of 0 - 255
2003-04-16 21:10:29 +00:00
Moriyoshi Koizumi
ccbec3e56c
Fixed typo
2003-04-16 20:00:46 +00:00
Moriyoshi Koizumi
8e15c4daff
compiler warning fix and possible 64bit fix
2003-04-16 19:18:35 +00:00
Moriyoshi Koizumi
ec91e86850
Fixed bug #23080
2003-04-16 17:31:31 +00:00
Moriyoshi Koizumi
2a31fa0569
Fixed memleak
2003-04-16 15:10:01 +00:00
Moriyoshi Koizumi
6dd17c380d
Added missing sanity check
2003-04-16 14:55:25 +00:00
Moriyoshi Koizumi
49b43ad115
Changed stream filter factory to be capable of accepting a zval as a parameter
...
instead of a string
2003-04-16 14:30:25 +00:00
Sascha Schumann
0bda867fe7
Simplify use of this header in external apps
2003-04-16 09:14:32 +00:00
Marcus Boerger
8363658641
Change to use safe_emalloc() and provide macro for now
2003-04-16 06:10:41 +00:00
foobar
b02dd10e03
SKIP -> SKIPIF
2003-04-16 02:21:30 +00:00
Ilia Alshanetsky
7f8bd25fcc
Fixed bug #23225 (money_format() didn't handle erroneous return of strfmon)
...
# Initial patch proposed by marcot@tabini.ca
2003-04-16 01:07:03 +00:00
Ilia Alshanetsky
56e44a4fc2
Fixed bug #22939 (crash in imap_header_info()).
2003-04-16 00:58:30 +00:00
Ilia Alshanetsky
7d2b4cab36
Cleaner error handling.
2003-04-15 01:48:02 +00:00
Ilia Alshanetsky
f1bd3d539f
Fixed bug #23187 (memory leaks in sybase_connect/sybase_pconnect).
...
Intial patch by: fukusaka@xa2.so-net.ne.jp
2003-04-15 00:59:42 +00:00
Marcus Boerger
da540a4d3b
Fixed Bug #23188 CDB databases created with 'c' mode do not work.
2003-04-14 21:50:48 +00:00
Ilia Alshanetsky
3d6fccc08c
Fixed bug #23152 ($http_response_header empty on invalid URLs)
2003-04-14 13:55:34 +00:00
Sara Golemon
9103aac254
Modify str_replace/str_ireplace to report how many needles were matched. (FR #8218 )
2003-04-13 22:59:19 +00:00
Marcus Boerger
268ffda27d
Reenable dba_popen()
2003-04-13 19:50:28 +00:00
Sergey Kartashoff
b296a3bd64
- Udm_Make_Excerpt has been fixed to be compatible with mnogosearch-3.2.10+
2003-04-13 17:52:25 +00:00
Moriyoshi Koizumi
560efa10c0
Forgot about this one :)
2003-04-12 21:56:08 +00:00
Moriyoshi Koizumi
fa0ac8a273
Made dirname() binary-safe.
2003-04-12 21:53:46 +00:00
Sara Golemon
76965beb04
Add tests for strrpos/stripos, and minor fix to maintain BC for condition with empty needles/haystacks
2003-04-12 20:04:06 +00:00
Sara Golemon
0b5c1112c5
Rewrite strrpos and strripos to be binary safe and behave the way their prototype suggests (also like their counterparts strpos and stripos) i.e.: Allow string needles rather than just characters
2003-04-12 07:36:22 +00:00
Derick Rethans
a802e0d6b3
- Fixed protos
2003-04-11 09:53:01 +00:00
Hartmut Holzgraefe
e06fdaae8b
accept possible leaks for now to make SELECTS with both bound parameters
...
and results again ...
2003-04-11 04:41:52 +00:00
Hartmut Holzgraefe
a1ff81d277
proto fix
2003-04-11 04:30:29 +00:00
Hartmut Holzgraefe
2f26d2b693
parameter count for bind stuff is different in OO interface
2003-04-11 04:29:28 +00:00
Sara Golemon
8da5e8e48e
Export constants to userland
2003-04-11 02:55:00 +00:00
Ilia Alshanetsky
4fbd27252d
Fixed integer overflow inside mhash_keygen_s2k().
2003-04-11 02:40:21 +00:00
Christian Stocker
aa09b09e1a
- More TSRMLS stuff.
...
- Fixed memleaks in domxml_doc_add_root, domxml_xslt_stylesheet
and domxml_xslt_stylesheet_doc
- Completed implementation of domxml_doc_imported_node.
2003-04-10 12:45:38 +00:00
Ilia Alshanetsky
8a9ff734a0
Fixed a crash in the query tracer output due to buffer overflow.
...
Fixed a crash in notice message for unbuffered query.
2003-04-10 04:35:39 +00:00
Marcus Boerger
1cdd29eeef
Fix ZTS build and warnings
2003-04-09 19:14:44 +00:00
Rasmus Lerdorf
861679d6c3
MFB: Forgotten _FORM -> _REQUEST change
2003-04-09 17:46:42 +00:00
Derick Rethans
429ae4e821
- Fixed printing the version string if it includes zend extensions in
...
text-mode
2003-04-09 15:19:07 +00:00
Edin Kadribasic
45d27aab68
*** empty log message ***
2003-04-09 12:03:58 +00:00
Christian Stocker
6f9d53e02d
- Fixed some memleaks when using attributes
...
- Added attrnode->set_value()
(by Rob Richards)
2003-04-09 07:29:39 +00:00
Ilia Alshanetsky
7029ef01b3
Added missing bit from gd2.0.12 sync.
2003-04-09 01:55:48 +00:00
Sara Golemon
87c5019dd2
Switch file_put_contents 'bool use_include_path' to 'int flags' to allow other options such as appending
2003-04-08 23:24:53 +00:00
Sara Golemon
41d4fcd0da
Add context support to file_put_contents() and readfile(), convert readfile() to zend_parse_parameters usage, fix proto for file_put_contents()
2003-04-08 22:10:15 +00:00
Sara Golemon
1e853b74a3
Added context support to file()
2003-04-08 21:00:07 +00:00
Christian Stocker
7a14e6358a
fixes memleaks in element->get_elements_by_tagname & document->get_elements_by_tagname
2003-04-08 19:30:27 +00:00
Christian Stocker
b99146a5c7
make it possible to free DomHtmlDocuments as well
2003-04-08 17:22:19 +00:00
Andrei Zmievski
b18542ba68
Remove php_memnstr (it's in ZE now).
2003-04-08 17:15:43 +00:00
Christian Stocker
50f5fcb0fe
make it compile ....
2003-04-08 14:29:15 +00:00
foobar
a45b4258f0
file_set_contents -> file_put_contents
2003-04-08 14:12:52 +00:00
Christian Stocker
2c3dc13027
- Fixes a bunch of memleaks, especially with attributes (by Rob Richards and me)
...
- Added domdocument->free() for freeing documents during script-time
#will later merge to PHP_4_3
2003-04-08 13:19:49 +00:00
Sebastian Bergmann
11f53cd111
Fix Win32 build.
2003-04-08 07:36:58 +00:00
Ilia Alshanetsky
b2e521a178
Fixed bug #23102 (integer overflow in exif_iif_add_value()).
2003-04-08 00:18:57 +00:00
Sara Golemon
8001f2922c
Add context support to file_get_contents
2003-04-08 00:02:47 +00:00
Sara Golemon
70155b6dcf
Introduce support for context options 'method', 'header', 'content'
2003-04-07 21:02:04 +00:00
foobar
c3e90bd6ed
Fixed bug #23071 (when DST in effect, date("T") crashed PHP)
2003-04-06 22:37:45 +00:00
Marcus Boerger
448d361290
Collate version handling and bump up version (noticed by Peter Neuman)
2003-04-05 20:43:53 +00:00
Christian Stocker
5dc852e734
@- Added domxml_doc_create_document_fragment() and
...
@ domxml_document_fragment_open_mem(string) method (Christian)
Useful for adding and parsing (well-balanced) document fragments.
- Bumped up API version number
2003-04-05 19:56:41 +00:00
foobar
78365069f0
Better ifdef it out here too
2003-04-05 17:33:55 +00:00
Sara Golemon
a8711474c0
Debug watches probably don't belong in CVS.
2003-04-05 17:31:34 +00:00
Ilia Alshanetsky
61026e391c
Syncronized bunbled GD library with gd 2.0.12
...
# One very useful feature that I still need to add support for in our
# interface to the lib is the support for png compression for imagepng().
2003-04-05 17:23:55 +00:00
Sascha Schumann
4226fe67d1
dividend -> divisor
...
Submitted by: Jesus M. Castagnetto <jmcastagnetto@yahoo.com>
2003-04-05 11:22:15 +00:00
Brian France
031aef1e0c
Added HAVE_CONFIG_H check so the phpize build method works
2003-04-05 08:14:56 +00:00
Wez Furlong
c64256e671
Warning fix
2003-04-04 21:09:25 +00:00
Sara Golemon
a65564f0fa
User shouldn't have to initialize this pass-by-ref parameter
2003-04-04 20:43:36 +00:00
foobar
cbb98284da
- Fixed bug #22944 (--with-java "make install" fails)
2003-04-04 17:42:46 +00:00
Sterling Hughes
335a1c1a6d
forgot to commit this.
2003-04-04 16:00:33 +00:00
foobar
9fbb5b5327
Check that t1lib has T1_StrError
2003-04-04 15:56:10 +00:00
foobar
392f3c2d7c
- Checks specific to some extension belong in the extension's config.m4
2003-04-04 15:42:54 +00:00
Moriyoshi Koizumi
da4cf6f9d8
Fixed memleak in socket_select
2003-04-04 14:16:59 +00:00
Moriyoshi Koizumi
b78e3c5155
Added cmsghdr check. Now sockets extension can be built under cygwin.
2003-04-04 13:02:43 +00:00
Moriyoshi Koizumi
d1b82409c3
Added missing sanity check, which was causing segfault.
2003-04-04 09:06:23 +00:00
Wez Furlong
0148c0cb02
Simplify and enhance readability.
2003-04-04 08:57:40 +00:00
Sara Golemon
b2d4514580
Added stream_get_transports()
2003-04-04 05:21:03 +00:00
Ilia Alshanetsky
5ec34bcd82
Might as well disallow 0x0 images.
...
Thanks Marcus.
2003-04-04 01:33:57 +00:00
Ilia Alshanetsky
925bc0fd7d
Fix segfault in imagecopyresized().
2003-04-04 00:16:47 +00:00
foobar
74868f3a45
- Better errors for T1lib.
...
- Sanity check into imagepsextendfont().
# Patches by John Coggeshall <john@coggeshall.org>
2003-04-04 00:09:23 +00:00
foobar
2063094acc
Use php_error_docref.
2003-04-03 23:10:08 +00:00
Rasmus Lerdorf
7461f1f45a
MFB
2003-04-03 22:45:25 +00:00
Sascha Schumann
c2e2423838
Fix segfaults in imagecreate/imagecreatetruecolor
2003-04-03 19:18:57 +00:00
Sara Golemon
465bb61357
Kludgy fix for floating point drift causing problems like range(1.0,1.5,0.1) == array(1.0,1.1,1.2,1.3,1.4);
2003-04-03 18:33:05 +00:00
Sascha Schumann
7e7bbb751e
Prevent entering of anything but arrays/strings in register_shutdown_func
...
Noticed by: Jan Schneider
2003-04-03 18:09:41 +00:00
Christian Stocker
630a00dda6
- Added domxml_elem_set_attribute_node() method. (Rob Richards)
2003-04-03 10:21:19 +00:00
Georg Richter
05e02eb27b
fixed mysqli_prepare_result
2003-04-03 08:03:59 +00:00
Georg Richter
130860e709
fixed output
2003-04-03 08:03:12 +00:00
Derick Rethans
6412e65bf9
- CS
2003-04-03 06:21:59 +00:00
foobar
c94eeb9fad
Another CS fix.
...
# Rasmus, at least try keep the style consistent..
2003-04-03 01:16:34 +00:00
foobar
16da825c7c
CS fix
2003-04-03 01:12:47 +00:00
Moriyoshi Koizumi
cb38be1bd2
Fixed segfault in xml_parser_create()
...
# due to too many %s in printf spec
2003-04-03 01:00:45 +00:00
Ilia Alshanetsky
6965f229a6
MFH
2003-04-03 00:55:56 +00:00
Moriyoshi Koizumi
8784a497b8
Fixed segfault in mb_ereg_match()
2003-04-03 00:15:13 +00:00
Moriyoshi Koizumi
8b539ed766
Fixed lots of crashes in mbregex.
...
# most of them were caused by stupid mistakes
2003-04-03 00:01:44 +00:00
Rasmus Lerdorf
1dba0c1ba7
MFB: Check for negative precision
2003-04-02 23:51:52 +00:00
Rasmus Lerdorf
066a68d7fa
MFB: Fix unregister_tick_function crash
2003-04-02 23:11:31 +00:00
Georg Richter
625df86428
fixed expected output
2003-04-02 22:07:27 +00:00
Rasmus Lerdorf
716142c4ea
MFB: Get rid of bogus dtors
2003-04-02 22:07:22 +00:00
Rasmus Lerdorf
1612ffad05
MFB: Fix the setlocale() segfault
2003-04-02 21:33:02 +00:00
Sterling Hughes
bb7c2ddb23
add the ability for curl_multi_info to introspect the handles.
...
# Zend commit doesn't break anything, so I'm committing it. If anyone
# has problems, just speak up. :)
2003-04-02 16:58:52 +00:00
Colin Viebrock
4888473efa
fixes for logo guid functions
2003-04-02 16:51:40 +00:00
Edin Kadribasic
f773cd8fea
Fixed bug #23008
2003-04-02 12:36:03 +00:00
Christian Stocker
19771e0433
Patch for Bug #22774 by Rob Richards
2003-04-02 10:31:33 +00:00
Sara Golemon
c249c67178
New test for userfilters rewrite
2003-04-02 00:41:09 +00:00
Ilia Alshanetsky
aab9718253
Fixed possible integer overflow in str_repeat().
2003-04-02 00:25:45 +00:00
Jay Smith
dcf0c70950
Fix 'timestamp without timezone', too.
2003-04-01 23:56:16 +00:00
Marcus Boerger
ccfcd0d411
Fix 'time with timezone', too
2003-04-01 23:34:11 +00:00
Jay Smith
cff236c4a6
Fixed bug #23009 (pg_select with timestamp)
2003-04-01 23:26:10 +00:00
Rasmus Lerdorf
4b343a0562
MFB
2003-04-01 21:47:21 +00:00
Moriyoshi Koizumi
6301bd9b95
Fixed bogus test
2003-04-01 19:47:33 +00:00
Rasmus Lerdorf
20ea550235
MFB
2003-04-01 19:12:32 +00:00
Moriyoshi Koizumi
b302824171
Added a test case for bug #22538
2003-04-01 19:10:04 +00:00
Moriyoshi Koizumi
2954ea0a01
oops
2003-04-01 18:56:59 +00:00
Moriyoshi Koizumi
1bb22a8bd0
Reverted the last patch; the problem is elsewhere..
2003-04-01 18:56:26 +00:00
Rasmus Lerdorf
423147c194
MFB
2003-04-01 18:50:31 +00:00
Moriyoshi Koizumi
df22d1016f
Fixed crash that occurs due to an abused persistent hashtable.
...
# thanks Sascha again.
2003-04-01 18:44:00 +00:00
Moshe Doron
3c982dea22
oops
2003-04-01 12:54:35 +00:00
Moshe Doron
d8b5687925
revert due the last string.c revert
2003-04-01 12:53:44 +00:00
Moshe Doron
31bd24860c
revert last commit for now
2003-04-01 12:46:01 +00:00
Moriyoshi Koizumi
6eaa47854e
Fixed crash in mb_convert_encoding() that occurs when a void array is
...
passed as the third parameter
2003-04-01 11:49:30 +00:00
Thies C. Arntzen
60214a0338
*** empty log message ***
2003-04-01 11:04:38 +00:00
Sascha Schumann
1879b27fc6
fix VPATH builds
2003-04-01 10:16:12 +00:00
Sascha Schumann
cc39646730
Fix segfault in register_shutdown_function
2003-04-01 10:02:29 +00:00
Sara Golemon
48c947389e
Bug #22962
2003-04-01 06:21:54 +00:00
Sebastian Bergmann
b8e3e0bfe3
Sorry Sterling, but this broke the ZTS build and I'd rather not 'ZTS fix' an April's Fool joke.
2003-04-01 05:30:32 +00:00
Sterling Hughes
53d90d8b9b
Add the landonize() and landonize_url() functions which provide a secure
...
alternative to the sha1() and sha1_file() functions.
2003-04-01 05:01:50 +00:00
Moriyoshi Koizumi
93386a8b09
oops
2003-03-31 23:49:53 +00:00
Moriyoshi Koizumi
e8f13586a7
Fixed test; in ZE2, all the properties used in any methods are populated
...
at compile time.
2003-03-31 22:54:18 +00:00
Moriyoshi Koizumi
383808e9d3
Fixed proto to sync with the documentation
2003-03-31 20:36:46 +00:00
Moriyoshi Koizumi
4932306f94
Rearranged search order for the magic file to avoid further confusions
2003-03-31 19:48:53 +00:00
Moshe Doron
64bd1cdbd6
# make derik happy
2003-03-31 19:01:43 +00:00
Moshe Doron
dc8daad70d
fix for 22904
...
@ now addslashes() do it also on cybase magic mode(moshe).
2003-03-31 18:56:41 +00:00
Wez Furlong
16dae2eba0
Fix const warning
2003-03-31 17:58:29 +00:00
Moshe Doron
5c3a073c07
# unnecessary condition here.
2003-03-31 12:08:31 +00:00
foobar
1d3542a6bc
cleanup
2003-03-31 08:49:19 +00:00
Sascha Schumann
0481896ff7
TS issue, noticed by Sebastian Bergmann
2003-03-31 05:39:25 +00:00
Sascha Schumann
cb3c506639
Ensure that the seed function has been called, even if we are used by
...
another module's request init function.
Noticed by: marcus.boerger@t-online.de
2003-03-31 03:24:18 +00:00
Derick Rethans
07dd6f49ff
- Typo and some whitespace
2003-03-30 22:29:22 +00:00
Derick Rethans
27496361d5
- Added optional parameter to openssl_sign() to specify the hashing
...
algorithm to use. (Patch by Scott <scott@planetscott.ca>)
@- Added optional parameter to openssl_sign() to specify the hashing
@ algorithm to use. (scott@planetscott.ca , Derick)
2003-03-30 22:25:23 +00:00
Ilia Alshanetsky
feba44546c
Fixed bug #22965 (Crash in gd lib's ImageFillToBorder()).
2003-03-30 20:48:05 +00:00
Georg Richter
e3bf2f5c9c
changed constant name
2003-03-30 15:28:21 +00:00
Georg Richter
7ff2c00be8
changed macro
2003-03-30 13:51:06 +00:00
Sebastian Bergmann
38491e487f
--+_
2003-03-30 09:24:40 +00:00
Moriyoshi Koizumi
47e40e1b98
Improved var_dump() and debug_zval_dump() so they also show the
...
namespace of the given object.
2003-03-29 21:29:22 +00:00
Moriyoshi Koizumi
9e6fdcd8f6
Fixed test cases so they wouldn't be failed in case register_globals=on
2003-03-29 07:13:47 +00:00
Ilia Alshanetsky
0e73275429
CS
2003-03-28 14:31:31 +00:00
David Hill
60a7aef6e9
Changing parsedate to be reentrant using pure_parser (Dave)
2003-03-28 13:10:52 +00:00
Moriyoshi Koizumi
8bdef0dda5
Removed redundant aliases & CS fix.
2003-03-28 03:38:13 +00:00
Harald Radi
f629da9384
MFB ext/com
...
fix #22899
invoke is called twice
2003-03-27 19:56:59 +00:00
Ilia Alshanetsky
3db5278dcc
CS
2003-03-27 18:57:53 +00:00
David Hill
86569cb154
Backing out part of TZ change
2003-03-27 14:23:48 +00:00
Edin Kadribasic
688c24bcaa
MFB
2003-03-27 13:30:40 +00:00
David Hill
1fa7504fae
Changing TZ to match Unix98 standard to make Tru64 happy
2003-03-26 16:42:03 +00:00
Sebastian Bergmann
3fc852824f
Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().
2003-03-26 07:44:11 +00:00
Sebastian Bergmann
a9b479612f
Eliminate TSRMLS_FETCH() call in php_find_gd_font().
2003-03-26 06:30:45 +00:00
Edin Kadribasic
d52937b8e7
MFB: php_gd.dll is no longer bult and the bundled library is always used.
2003-03-25 10:30:58 +00:00
Sebastian Bergmann
5ca078779a
Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32.
2003-03-25 08:07:13 +00:00
Edin Kadribasic
96e9337fc8
MFB
2003-03-24 21:49:46 +00:00
Moriyoshi Koizumi
570e929d49
Fixed bug #22834 (compile failure due to ugly implicit casts)
2003-03-24 21:22:23 +00:00
Moriyoshi Koizumi
03a5129429
oops...
2003-03-24 19:24:35 +00:00
Moriyoshi Koizumi
68b03bde3a
Added test cases for new functionality
2003-03-24 19:21:20 +00:00
Moriyoshi Koizumi
93b250f923
Added koi8-r, cp866, and cp1251 support for htmlentities
2003-03-24 19:13:02 +00:00
Ilia Alshanetsky
5c159052bf
Added missing header that prevents successful compilation.
2003-03-24 15:21:53 +00:00
foobar
0b4784d951
Fixed bug #18640 properly
2003-03-24 10:18:00 +00:00
Georg Richter
e43e219e46
changed method name
2003-03-24 07:43:28 +00:00
Alex Waugh
d403ed4bc3
Fix linkage of symbols.
2003-03-23 21:58:03 +00:00
Shane Caraveo
456b6cbeab
The environment should *never* be magic quoted.
2003-03-23 19:30:31 +00:00
Wez Furlong
badd5fb6fd
Fix curl detection when multiple installations exist
2003-03-23 18:14:41 +00:00
Moriyoshi Koizumi
9c038be621
Added some compiler check
2003-03-23 01:44:58 +00:00
Moriyoshi Koizumi
0d2bd85a61
Fixed win32 build, which fails with non-SBCS-compatible locale settings.
2003-03-22 23:31:52 +00:00
Sterling Hughes
0a4282eabf
fix segfault in file_set_contents() when the file could not successfully
...
be opened.
2003-03-21 22:22:15 +00:00
Marcus Boerger
f83c88e81d
Add missing initialization
2003-03-21 18:08:59 +00:00
Sterling Hughes
ecef1df39c
This broke the xml extension, and pres2, commented out for now
2003-03-21 05:26:56 +00:00
Marcus Boerger
49adbd1ef6
missing TSRMLS_FETCH
2003-03-20 20:03:21 +00:00
Marcus Boerger
f14a65c7b9
CS
2003-03-20 19:54:22 +00:00
Christian Stocker
0cc4b081a3
fix for bug #22786 ("Crash when trying to call DomAttribute's set_namespace method")
2003-03-20 09:48:19 +00:00
foobar
6638543a72
WS & CS fixes..
2003-03-20 01:27:40 +00:00
foobar
c8791084db
CS fix
2003-03-20 01:17:05 +00:00
foobar
0af32bc1ac
WS & CS fixes
2003-03-20 01:12:57 +00:00
foobar
fb2c346be1
WS & CS fixes
2003-03-20 00:37:12 +00:00
foobar
eccecff5f9
WS & CS fixes
2003-03-20 00:22:57 +00:00
foobar
6a6e0151c5
Better config.m4..
2003-03-19 23:52:45 +00:00
foobar
9ff622f268
And this too..
2003-03-19 23:10:27 +00:00
foobar
efe365abdc
Andrei forgot this..
2003-03-19 23:08:58 +00:00
Wez Furlong
0fd995f9fc
Add the mode string that was used to open the stream to the meta data,
...
as requested by Philip Olson.
2003-03-18 23:45:27 +00:00
Wez Furlong
86fb577d59
Implement persistent plain file streams.
...
Usage:
php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);
the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.
Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.
This is deliberately *not* exposed to user-space PHP at this time.
2003-03-18 23:37:54 +00:00
Jay Smith
c0d1508ec8
get_browser() needs to use zend_is_auto_global() on _SERVER.
2003-03-18 21:49:01 +00:00
Marcus Boerger
3e621fac94
make phpinfo() depend on executed sapi
2003-03-18 20:52:52 +00:00
Ilia Alshanetsky
d29d55e772
Cleanup.
2003-03-18 18:29:10 +00:00
foobar
d0ac3d0646
Fixed bug #22765
2003-03-18 17:30:32 +00:00
Wez Furlong
ce01fd9526
Avoid using FILE* where possible.
...
Tidy up handling of potential error situations for the php:// wrapper.
2003-03-18 16:40:29 +00:00
Wez Furlong
267db80b21
avoid unsigned issues.
2003-03-18 15:15:10 +00:00
Wez Furlong
862586e376
CS fixes
2003-03-18 14:35:15 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
foobar
980bac69f9
Fixed bug #22751 (Compile error in gdcache when external libgd is used)
2003-03-18 02:13:49 +00:00
foobar
6443ce1fc5
Fix the bad logic..
2003-03-17 15:56:17 +00:00
foobar
b4b661ae0a
WS & CS fixes
2003-03-17 15:06:11 +00:00
foobar
d8a62b8e4d
WS & CS fixes
2003-03-17 14:45:07 +00:00
Hartmut Holzgraefe
3343327ea1
fixing my proto fix :|
2003-03-17 13:50:27 +00:00