Stig Venaas
f3a17761be
Made API simpler
2000-11-14 09:54:25 +00:00
Daniel Beulshausen
b4a6acf697
fix link object
...
# maybe it's too late already...
2000-11-13 22:28:58 +00:00
Daniel Beulshausen
fcdf44a1a0
forgot to add...
2000-11-13 22:24:06 +00:00
Daniel Beulshausen
0c3d96c3ba
make ingres compile under win32
...
# no cleanup...
2000-11-13 22:23:16 +00:00
Daniel Beulshausen
c1e1bc07ff
added dsp for openssl win32
2000-11-13 20:24:23 +00:00
Andrei Zmievski
468068705f
@- Modified preg_replace() to ignore backreferences that refer to
...
@ non-existing subpatterns. (Andrei)
2000-11-13 19:49:41 +00:00
Stig Venaas
86b7cd0572
OpenSSL extension. So far it implements assymetric encryption functions.
2000-11-13 19:47:20 +00:00
Zeev Suraski
6a86b6fad5
Handle unable-to-add-new-headers error nicely
2000-11-13 19:05:25 +00:00
Zeev Suraski
0f7f5c2c0e
- Import Jade Nicoletti's transparent gzip encoding support as an output
...
handler. Works quite nicely!
- Fix buglets in output buffering
- Add output_handler INI directive
2000-11-13 18:54:37 +00:00
Thies C. Arntzen
db65d0e076
@- Fixed column-title buffer-overflow in OCIFetchStatement(). (Thies)
...
fix #7784
2000-11-13 17:30:52 +00:00
Onn Ben-Zvi
34b0b1fc11
initial - ONn
2000-11-13 16:01:05 +00:00
Uwe Steinmann
eea750ebc8
- fixed serveral prototypes
...
- replaced C++ style comments
2000-11-13 13:27:19 +00:00
foobar
dd83069fff
Fixed bug: #7768 . Some cleaning up too.
2000-11-13 02:02:40 +00:00
Kristian Köhntopp
89d6b5b5bd
Prototype corrected.
2000-11-12 22:13:35 +00:00
Sascha Schumann
2325a41346
PHP_FDFTK is always != no. $PHP_FDFTK is not.
2000-11-12 12:01:05 +00:00
Rui Hirokawa
71e53f2a5f
enabled shared module.
2000-11-12 05:59:34 +00:00
foobar
40462d1d02
Fix for #7758 . Plus some cleaning.
2000-11-11 19:27:46 +00:00
Sascha Schumann
4d6ecaf26b
Add Apache 2.0 sapi module and sort alphabetically.
2000-11-11 18:38:26 +00:00
Chuck Hagenbuch
b69dd89d34
RFC822 does specify two digit years, but practically every decent mail
...
client I could check is using 4-digit years these days.
2000-11-11 17:28:20 +00:00
Uwe Steinmann
52aba68aa2
- new function set_content() which is a workaround for bug #6457
2000-11-10 11:40:03 +00:00
Uwe Steinmann
0bbb1906bd
- Fixed many problems to make xpath working
...
- Each function now expects an object and not a resource anymore
I hope this makes it more straightforward for the PHP-Programmer
2000-11-10 10:27:57 +00:00
Uwe Steinmann
b98f580143
- Fixed several error including segm fault (but still one left :-(
2000-11-10 06:09:41 +00:00
Colin Viebrock
2a5f8a8906
some changes, and added 'r' flag which generates an RFC822 compatible date string.
2000-11-09 21:30:03 +00:00
Danny Heijl
a46f36a564
- fix crash when using blob_in_file mode (danny).
2000-11-09 19:34:31 +00:00
Uwe Steinmann
eaad937f84
- Some more comments
...
- Initial support to just include anchors into documents
2000-11-09 13:36:54 +00:00
Uwe Steinmann
d82bade81c
- Started support for XPath/XPtr (completely untested)
2000-11-09 08:42:20 +00:00
foobar
ffc95d6125
Beutifying the output of configure a bit.
...
# I promise, this is the last commit for today. =)
2000-11-09 02:59:17 +00:00
foobar
781816998c
Remove duplicate check for xpm support.
2000-11-09 02:31:56 +00:00
foobar
368054d223
Fix to get jpeg/xpm support everytime.
2000-11-09 02:29:15 +00:00
foobar
1f71f1f3c0
Remove duplicates (when curl-7.4.1 is used).
2000-11-09 02:11:45 +00:00
foobar
443d289380
Fixed bug: #5460
2000-11-09 00:16:28 +00:00
Marc Pohl
4eece9b1bd
add gzdeflate() and gzinflate() for handling of pure gzip-datastreams
2000-11-08 21:40:34 +00:00
Mathieu Kooiman
3e2fa2781a
E_WARNING into E_ERROR, Last commit (today)! I PROMISE! :-)
2000-11-08 18:41:22 +00:00
Nikos Mavroyanopoulos
f6a8f905b1
Added license
2000-11-08 16:16:49 +00:00
Mathieu Kooiman
63cdbbd56e
Alert user if they're trying to use
...
ImageCreateFromString() with GD < 1.5..
Sorry, should've added this last commit.
2000-11-08 16:08:42 +00:00
Mathieu Kooiman
5e7041615a
- Made gd extension build when using gd version < 1.5
2000-11-08 14:56:09 +00:00
Zeev Suraski
905e41af5c
Will work on a more thorough implementation for mysql_store_result() after 4.0.4
2000-11-08 08:27:27 +00:00
foobar
1afebc69c7
Make this compile with libxml2.2.7.
2000-11-08 02:17:36 +00:00
foobar
95eceee413
Cleaned up a bit.
2000-11-08 01:53:51 +00:00
foobar
3f85e944ab
config.m4
2000-11-08 00:18:49 +00:00
Daniel Beulshausen
87d8e44c26
win32 sapi symbol export fixes
2000-11-07 21:13:26 +00:00
Stanislav Malyshev
ef8fb2767b
Enable to use mysql_use_result in query functions.
...
You may need this if you use real big queries.
@- Allow user to use mysql_use_result in mysql queries (Stas)
2000-11-07 15:46:15 +00:00
Stanislav Malyshev
c9e39592b5
Andi says it should be zval_ptr_dtor
2000-11-07 15:06:43 +00:00
Sascha Schumann
ae6314468f
Use socklen_t for getsockopt
2000-11-06 23:38:15 +00:00
Derick Rethans
e2bb93c575
- Added myself to the credits...
2000-11-06 22:53:11 +00:00
David Hedbor
44ecf58519
(ImageCreateFromString) Added forgotten GDLS_FETCH() needed for ZTS.
2000-11-06 22:00:07 +00:00
Andrei Zmievski
65f37060db
Fix bug #7667 .
2000-11-06 19:41:30 +00:00
Stanislav Malyshev
cde5c779dc
And now the right fix - should add it still
2000-11-06 18:19:05 +00:00
Stanislav Malyshev
7f1dc85574
Serialize as reference only if it's a true reference
2000-11-06 18:09:51 +00:00
Stanislav Malyshev
dec089e39c
Add support to ukrainian characters (by serhiy@society.kiev.ua)
2000-11-06 08:46:12 +00:00
Sebastian Bergmann
c5ff85c8bc
Fixed windows build.
2000-11-06 06:31:00 +00:00
Rasmus Lerdorf
16ca32d057
Make sure these are initialized to NULL
2000-11-06 01:07:53 +00:00
John Donagher
ee7821ea7d
Bring phpcredits() up to date
2000-11-05 23:34:49 +00:00
Sterling Hughes
ea9ac669da
Fix the other part...
2000-11-05 17:22:05 +00:00
Sterling Hughes
f25ccb0a83
This should fix the garbage.
2000-11-05 17:14:16 +00:00
Stanislav Malyshev
41a2b59977
Fix crash from #7577 (torben@php.net)
2000-11-05 16:25:26 +00:00
Sascha Schumann
d381e0702c
PHP_EXTENSION_DIR is defined in build-defs.h
2000-11-05 15:10:47 +00:00
Zeev Suraski
1f9ee4857b
Fix the problem Sascha reported, about extension_dir
...
@- Fixed a bug that prevented a changed compile-time extension_dir from
@ affecting modules that were loaded via php.ini (Zeev)
2000-11-05 15:03:41 +00:00
Mathieu Kooiman
d6e7b4fefa
- ImageCreateFromString(): Fixed segfault that occured if an image was tried to be
...
generate while there was no support for such an image type.
2000-11-04 20:43:53 +00:00
Andi Gutmans
e314da896f
- Fix build
2000-11-04 17:15:00 +00:00
Thies C. Arntzen
b80e71fdac
fix #7573
...
closedir() now really close the directory - used to stay open 'cause the
default-directory resource was "remembered" for arg-less calls.
2000-11-04 14:58:50 +00:00
Zeev Suraski
47654fd021
Now make it work too (thanks for noticing that Andi :)
2000-11-04 10:45:31 +00:00
Zeev Suraski
ffde875f70
Fix build
2000-11-04 10:36:13 +00:00
Jesus M. Castagnetto
cc73072804
Updated proto for highlight_file/highlight_string
2000-11-04 01:18:10 +00:00
foobar
6f398a247d
Fixed incorrect logic. And NSLDAP does not have LDAP_OPT_MATCHED_DN.
2000-11-03 22:53:49 +00:00
foobar
1f00cff3ab
Fixed ftp_mkdir(). It return the dirname passed to it in case of
...
braindead ftp server which doesn't put the real path into reply.
PR: 7216
2000-11-03 21:53:24 +00:00
Derick Rethans
848d353880
- Fixed gd by adding a define
2000-11-03 20:44:04 +00:00
Derick Rethans
0d04945bfa
- Fixing Mathieu's indentation problems
...
# It does not build, undefined references to getmbi and skipheader
2000-11-03 20:31:36 +00:00
Joey Smith
90f2f64ca8
Include header file for phpi_get_le_gd()
2000-11-03 20:13:46 +00:00
Joey Smith
8e9967be00
Include header file for php_file_le_fopen()
2000-11-03 20:11:38 +00:00
Mathieu Kooiman
f391eb7423
- Introduced ImageCreateFromString() function,
...
works for GIF/JPEG/PNG and WBMP ..
(Note: This built with the latest snapshot I grabbed
tonight; Derick seemed to have trouble though..)
@-Introduced ImageCreateFromString(), creates an image
@ stream out of eg a MySQL blob. (Mathieu)
2000-11-03 19:53:42 +00:00
Sascha Schumann
0feb2a21e5
Add some additional checks
...
Submitted by: mookid@sigent.ru (Mikhail Zabaluev)
2000-11-03 12:00:49 +00:00
Sascha Schumann
b4ce4e2634
Fix implementation of hash algorithm
2000-11-03 11:59:41 +00:00
Stig Venaas
a5c75761c2
Fixed memory leak in array_diff and array_intersect, was introduced with
...
last change.
2000-11-03 07:20:35 +00:00
Zeev Suraski
6d0749a95b
Fix msql_close(), pg_close() and sybase_close() (Sybase CT)
2000-11-03 02:46:49 +00:00
foobar
8ea486c58f
fix configure..
2000-11-03 01:56:58 +00:00
Zeev Suraski
b20f8b39b9
Fixed mysql_close() - A bit more complicated than I originally thought
2000-11-03 01:56:47 +00:00
Sterling Hughes
76accf4806
Changed as per discussion with Sablotron folks.
...
@ Changed the sablot configuration file so that if you use any version of
@ Sablotron below 0.44 you must use Sablotron's built-in Expat libraries.
@ (Sterling)
2000-11-03 01:10:11 +00:00
Zeev Suraski
a43cd1438e
Fix msql_close()
2000-11-03 00:52:54 +00:00
Zeev Suraski
e560ecfa47
Fix pg_close()
2000-11-03 00:51:53 +00:00
Andi Gutmans
139d5c102b
- Make the random generator work again. This patch seems to work.
2000-11-03 00:45:24 +00:00
Zeev Suraski
6451d58455
Fix mysql_close()
2000-11-03 00:41:29 +00:00
Andi Gutmans
d0ec3df288
- Use CHECKUID_* #define's instead of cryptic numbers in php_checkuid()
...
- I did not test for validity of the actual php_checkuid() calls and there
- might be mistakes in the previous code.
2000-11-02 23:08:07 +00:00
David Hedbor
b06998a7d1
Added Caudium to credit line.
2000-11-02 19:07:15 +00:00
Zeev Suraski
816f1f7903
- Fixed a bug that caused PHP not to properly flush its output buffer, if more
...
than one output buffer was used
2000-11-02 16:46:30 +00:00
Sascha Schumann
43ff395b65
Const'ify part of sapi_request_info.
...
query_string, post_data, path_translated, request_uri, auth_user,
auth_password and argv0 are modified, so they cannot become const.
2000-11-02 15:47:02 +00:00
Sascha Schumann
9866d899e9
Namespace protect mergesort (caused conflict on Darwin).
2000-11-02 15:32:52 +00:00
Sterling Hughes
0b25301bce
Das war nicht gut.
2000-11-02 14:39:16 +00:00
foobar
648c141cbc
Validators are happy now.
2000-11-01 22:53:42 +00:00
Adam Dickmeiss
f0c0ea97a8
Updated for ZTS mode.
2000-11-01 22:10:55 +00:00
Andi Gutmans
91622ad7cb
- Beautify
2000-11-01 19:55:13 +00:00
Andi Gutmans
b25b80c147
- Change some estrdup()'s to estrndup()'s
2000-11-01 14:48:00 +00:00
foobar
2ad7083005
No more segfaults.
2000-11-01 05:05:33 +00:00
foobar
d6d3f5e9b6
Add line of possible XBM support to the phpinfo()
2000-11-01 04:38:28 +00:00
foobar
dfcd4c18e6
Fixed some compile warnings and removed useless code.
2000-11-01 02:30:37 +00:00
Zeev Suraski
7ab46420be
mode_t fixes
2000-10-31 18:05:19 +00:00
Hartmut Holzgraefe
00b8b66132
generalization of image handling in phpinfo
2000-10-31 17:21:52 +00:00
Hartmut Holzgraefe
c420d653ee
support for short comments was added to ext_skel proto files
...
theese will be used in proto comments in the source
and as <refpurpose> information in the XML docs
2000-10-31 11:30:11 +00:00
Jesus M. Castagnetto
f589a3b587
cosmetic changes (added some "proto"s missing in the function documentations)
2000-10-31 06:33:07 +00:00
foobar
4c2abe7df4
Both RETR and STOR have also 250 as possible return value
2000-10-31 00:30:37 +00:00
foobar
55ccb5a35b
Fix the fix.
2000-10-31 00:00:26 +00:00
Zeev Suraski
78194a47b7
- Complete the move to the new INI parser. (Side effect: at last, people
...
can finally have spaces and tabs in their extension statements...)
2000-10-30 23:39:14 +00:00
Derick Rethans
2f5f83f518
- Added the two constants mentioned in bug #6097
...
# I did not test it, because I don't have access to an Adabase RDBMS
2000-10-30 18:00:58 +00:00
Stanislav Malyshev
fad7092ff8
Update to use reference-serializer too
2000-10-30 17:18:39 +00:00
Stanislav Malyshev
c31faf0bd9
Add support for serializing references.
...
@- Add support for serializing references (Stas)
# WDDX and shared memory functions not covered yet
2000-10-30 17:10:06 +00:00
Stanislav Malyshev
4b5eb2cf2c
Fix crash in sscanf in error handler ( #7533 )
2000-10-30 16:44:01 +00:00
Stanislav Malyshev
702b510dc6
Don't try to work with negative timestamps
...
# It returns the same day as for 0, which is wrong
2000-10-30 16:13:03 +00:00
Stanislav Malyshev
7eed2e5b01
Make "H*" work
2000-10-30 12:26:26 +00:00
Chris Vandomelen
7e8074731b
Removed INI entry for read() function, made changes to read() so it will
...
take 4th parameter specifying whether to use the read() wrapper or the
system read() function, and modified the wrapper() so that it worked (mostly)
properly once again.
2000-10-30 01:09:15 +00:00
Zeev Suraski
f52a59062d
parse_ini_file() supports a new optional 2nd argument that instructs it
...
to divide the directives to arrays according to the sections in which they
reside
2000-10-29 23:34:33 +00:00
Zeev Suraski
60c0835470
Move browscap code to the new modular INI parser
2000-10-29 23:10:22 +00:00
Zeev Suraski
4af433d627
Use the new INI parser for parse_ini_str()
...
- parse_ini_str() is now thread-safe, and supported under Windows (Zeev)
2000-10-29 22:42:01 +00:00
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
2000-10-29 11:38:26 +00:00
Thies C. Arntzen
825457ae64
update my email.
2000-10-29 09:14:55 +00:00
foobar
e76bafd648
Check also that the file isn't empty.
2000-10-29 04:36:33 +00:00
foobar
4a895b6919
@- Fixed conflict with OpenLDAP and Oracle 8.1.x (Jani)
...
# PR: 4257,4698,5527,6112,6650,7195
2000-10-29 04:10:07 +00:00
foobar
ac7e22d3c4
Fix for bug #7416 . ldap_set|get_option() are also in NSLDAP SDKs.
2000-10-28 19:22:46 +00:00
Stig Venaas
273422f277
Moving --with-openssl to global configure, want OpenSSL for not just snmp
2000-10-28 18:26:45 +00:00
Stanislav Malyshev
06de8e78cf
Allow to send secure cookies
2000-10-28 17:13:28 +00:00
Zeev Suraski
3dc7fc54a0
- URL-opened files now store the HTTP response header in $http_response_header
...
- Some layout updates
2000-10-28 01:31:56 +00:00
foobar
b45d265c54
Fixed PR: 6730. And it is mentioned also in RFC 959 to be this way.
2000-10-27 20:53:04 +00:00
foobar
11af318a62
Fixes PR: 7245
2000-10-27 20:47:36 +00:00
Frank M. Kromann
d313ad8bf5
Making _php_math_longtobase() and _php_math_basetolong() callable from DLL and SO modules
2000-10-27 20:26:16 +00:00
Sterling Hughes
70f262d0c5
New e-mail address.
2000-10-27 19:10:23 +00:00
Andrei Zmievski
d4cf62f86f
@- Fixed array_rand() to shuffle results when the number of requested
...
@ elements is the same as the number of elements in the array. (Andrei)
2000-10-27 14:08:33 +00:00
Hartmut Holzgraefe
6b435870de
type fixes to make compilers happy
2000-10-27 10:48:07 +00:00
Sam Ruby
33c8f50534
Allow strings to be passed to methods expecting primitive types.
2000-10-27 10:27:19 +00:00
Sascha Schumann
9b2a1110a6
Allow users to specify whether they want to replace existing header fields.
2000-10-27 09:43:06 +00:00
Uwe Steinmann
e577215736
- added four functions to do fulltext query
2000-10-27 09:29:40 +00:00
Daniel Beulshausen
6f0e47f690
it won't work otherwise
...
# http://support.microsoft.com/support/kb/articles/Q115/8/57.asp
2000-10-26 18:51:12 +00:00
Daniel Beulshausen
4aab269181
added dba extension for win32, currently the dsp is
...
only configured with db3, adding other configurations
shouldn't be hard
2000-10-26 18:29:10 +00:00
Daniel Beulshausen
52e45f514b
use V_RENAME makro instead
2000-10-26 18:17:45 +00:00
Sascha Schumann
00d1d1a347
Protect us from Apache 2.0's pcre-posix stuff
2000-10-26 18:15:56 +00:00
Sascha Schumann
39387c7781
Remove second_arg_force_ref, defined in Zend
...
Submitted by: Bill Stoddard
2000-10-26 18:15:18 +00:00
Sascha Schumann
2517250b35
The type has changed to size_t.
2000-10-26 18:10:57 +00:00
Sascha Schumann
4f757a3af0
Add session_adapt_url().
2000-10-26 18:10:43 +00:00
Sascha Schumann
c57830c1d2
Reinstantiate single quotes properly.
...
Add url_adapt_single_url() API which modifies a single URL. Might be used
to modify the Location: URL.
2000-10-26 18:05:47 +00:00
Sascha Schumann
8ef0d01baf
Make the API more leaner (sp?) and get rid of *copy*.
2000-10-26 18:01:51 +00:00
Andrei Zmievski
26f5fe6375
Fix dba after resources patch.
2000-10-26 17:38:01 +00:00
Andrei Zmievski
27a1c12ad8
session_unset() now cleans up $HTTP_SESSION_VARS as well.
2000-10-26 17:37:47 +00:00
Nikos Mavroyanopoulos
e5b0945e4c
Corrected some checks for errors.
2000-10-25 18:27:55 +00:00
Nikos Mavroyanopoulos
93232c7064
Added keygen_s2k function. Function which generates keys from passwords.
2000-10-25 18:09:23 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Andrei Zmievski
a35bf41670
Added array_sum() function.
2000-10-25 17:40:11 +00:00
foobar
1026416153
gdImageWBMP has some bug in it. Using the php-internal one works.
2000-10-25 17:35:29 +00:00
Sascha Schumann
2d7860edc7
__USE_GNU shall not be defined by application
2000-10-23 14:04:54 +00:00
Daniel Beulshausen
6911ee5b99
it's n.a. on win32 :)
2000-10-23 13:56:22 +00:00
Stanislav Malyshev
48e5d3189f
Make zlib compile again
2000-10-23 13:19:07 +00:00
Alexander Feldman
7c11cfaf03
Fixed a bug in session.c. If the user calls session_module_name with a
...
parameter, then the mod_data pointer is initialized to NULL and then
php_session_save_current_state did not check this value before referencing
the pointer. Added a check in php_session_save_current_state.
2000-10-23 13:10:01 +00:00
Hartmut Holzgraefe
86c0d81253
have you ever tried to run the regression tests with error_reporting=E_ALL ?
...
now it will run smoothly without all theese 'undefined ...' warnings
2000-10-23 07:40:05 +00:00
Hartmut Holzgraefe
b17451635d
added a regression test skeleton file
...
plus a partintro in xml documentation template
2000-10-23 07:31:31 +00:00
Andrei Zmievski
fa8452bbb2
Fix bug #7397
2000-10-23 02:01:19 +00:00
Chris Vandomelen
b57f9eb541
Added ini entry for choosing whether to use the read() wrapper or directly
...
calling the read() system call.
# Some people were commenting about "oddities" in the wrapper that I hadn't
# noticed before, though I've used it in many places before now..
2000-10-22 23:43:48 +00:00
Thies C. Arntzen
248d8527fd
@- OCIBindByName() now does better parameter-checking. (Thies)
2000-10-22 19:33:59 +00:00
foobar
7ef3e414e2
Makes curl extension compile again plus some typo fixes.
2000-10-22 17:29:33 +00:00
Sascha Schumann
f69a4a431a
Fix php://* being handled by the ftp handler
2000-10-22 14:41:02 +00:00
Stig Venaas
5741816315
Corrected prototype comments for ldap_get_option and ldap_set_option
2000-10-22 11:25:47 +00:00
Stig Venaas
e8c7fd7f5f
Fixed array_type_data_compare(). I want strings to always differ from
...
numbers, but not say 7 and 7.0 to differ.
2000-10-22 11:18:21 +00:00
Chris Vandomelen
989d471643
Hopefully made some compile fixes for Solaris ("sun" is an already defined
...
symbol on Solaris.. s_un isn't...), and corrected bugs with checking for a
string by checking if Z_STRVAL_PP(ptr) == NULL instead of
Z_STRLEN_PP == 0, causing segfaults when uninitialized values were passed
into certain functions.
@- Attempted to make compile fixes for Solaris in ext/sockets/sockets.c (Chris Vandomelen)
# OK, so I have a tendency to make lots and lots of bug fixes in big spurts..
2000-10-22 07:54:49 +00:00
Chris Vandomelen
4f1a8a763a
Oops, forgot to remove those .. thought I had..
2000-10-22 06:46:43 +00:00
Chris Vandomelen
0646a49386
Corrected some bugs dealing with compile failures (should now compile
...
on most varieties of Linux, and should hopefully fix at least 3 of the
compile errors that were discovered). Also modified read() slightly
to take an optional parameter as to whether the data was binary or
text so it wouldn't stop reading on a newline or null byte received.
@- Made read() binary-safe in sockets.c (Chris Vandomelen)
@- Attempted fixing some compile failures (Chris Vandomelen)
# Hopefully someone will attempt to compile this on other systems, I
# have no access to other platforms to compile it on ....
2000-10-22 06:45:03 +00:00
Daniel Beulshausen
1d582b8829
added missing def.
2000-10-21 21:17:31 +00:00
Andi Gutmans
4d676fe9d8
- including php.h automatically includes the PHP config file.
2000-10-21 19:18:55 +00:00
Stig Venaas
4edb210028
Made array_unique use array_type_data_compare instead of array_data_compare
2000-10-21 18:12:30 +00:00
Stig Venaas
508d1993ed
Added array_type_data_compare which is like array_data_compare but
...
compares type first. Also rewrote array_intersect and array_diff,
so that the order is not changed.
@- Made array_intersect and array_diff not alter order (Stig Venaas)
2000-10-21 17:48:11 +00:00
Daniel Beulshausen
a953b5ae4d
i'm sure this should be ibase_query :)
2000-10-21 17:38:08 +00:00
Daniel Beulshausen
bef776742c
i can find no php_config.h on win32 :)
2000-10-21 17:19:23 +00:00
Daniel Beulshausen
9224f8e211
made yaz compile under windows
2000-10-21 14:18:28 +00:00
Rasmus Lerdorf
d12c4de6ba
Fix annoying $withval interaction in GD configure stuff
2000-10-21 12:03:52 +00:00
Rasmus Lerdorf
04f0f0b12c
Gremlins?
2000-10-21 12:03:09 +00:00
Andreas Karajannis
7d3b7d7cb2
Config Patch for DBMaker
2000-10-21 11:11:11 +00:00
Daniel Beulshausen
6337c12473
make libmysql compile under win
2000-10-21 10:14:09 +00:00
Sebastian Bergmann
8f280b2656
Removed files from Win32 workspace that were removed in libmysql 3.23
2000-10-21 06:55:08 +00:00
foobar
c663980808
Now checks that the library really exists even if path is specified as /usr
...
PR: 7358
2000-10-21 00:35:10 +00:00
Sascha Schumann
8fe7cf26fc
Add explicit format string
2000-10-20 23:39:16 +00:00
MySQL Team
a2dbb10eb1
Update libmysql to 3.23 version. No major changes visible to the user - mostly
...
bug fixes and other maintenance-oriented changes.
2000-10-20 22:26:48 +00:00
Nikos Mavroyanopoulos
ebaf484830
updated for the new sqlcli
2000-10-20 21:01:31 +00:00
Frank M. Kromann
4682a3fe95
Fixing bug #6000
...
Return the full content for datetime colums
Make the same fix for smalldatetime
2000-10-20 20:58:57 +00:00
Frank M. Kromann
2c874f745d
Fixing bug #6000
...
Return the full content for datetime colums
2000-10-20 20:49:35 +00:00
Stig Venaas
094d01148a
Made ldap_connect() accept URL in host parameter when using OpenLDAP 2.x.
...
@- Made ldap_connect() accept URL in host parameter when using OpenLDAP
@ 2.x. To use SSL, use ldaps://host/ as URL. (Stig Venaas)
2000-10-20 20:22:59 +00:00
Frank M. Kromann
a2cb42039f
Fixing bug in mssql_fetch_object() and mssql_close()
2000-10-20 19:55:03 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Sterling Hughes
6b8faeb1f2
Fix CURLOPT_REFERER.
...
@ Added the curl_getinfo() function to find out information about a CURL
transfer. This function requires cURL 4.0 or above. (Sterling)
@ Added the CURLOPT_KRB4, CURLOPT_INTERFACE, CURLOPT_QUOTE,
CURLOPT_POSTQUOTE, CURLOPT_QUOTE and CURLOPT_HTTPPROXYTUNNELL options.
(Sterling)
2000-10-20 04:57:14 +00:00
Derick Rethans
6cfcf6e010
- Removed the shm_* aliases
...
@- Removed the shm_* aliases, only the smhop_* function wiil be
@ supported (Derick)
#I'll change the NEWS file as soon as it has been rebuild
2000-10-19 23:14:51 +00:00
Derick Rethans
2c05a539e5
- Renamed the shm_ to shmop_ and created aliases for the old shm_
...
functions
@- Renamed the shm_* functions to shmop_* and added aliases for the
@ old functions (Derick)
2000-10-19 22:50:41 +00:00
Sascha Schumann
1d9acd8337
Hack for #7262 , not fixed yet
2000-10-19 17:40:56 +00:00
Joey Smith
78493a1b03
Use sybct for INI values.
2000-10-19 17:03:25 +00:00
Joey Smith
52fc5f0cd3
Fix compiler warnings.
2000-10-19 16:10:41 +00:00
Joey Smith
dc44e06eeb
Fix #7338 .
2000-10-19 16:09:30 +00:00
Sascha Schumann
57dcb93324
Remove left over ext_skel comment
2000-10-19 14:34:03 +00:00
Rui Hirokawa
e8967fdc58
fixed a mistake. should be .
2000-10-19 12:10:59 +00:00
Chuck Hagenbuch
f9606d82fa
add an optional parameter to imap_sort to specify a search program that
...
messages must match to be included in the sorted list.
2000-10-19 01:32:50 +00:00
Rui Hirokawa
6eb45b5964
modified the configure scripts to make shared extension.
2000-10-18 22:17:41 +00:00
Sascha Schumann
9f71179ca9
Back out circular references protection patch.
...
This causes problems with serializing regular variables and object
properties.
We need a smarter way to tell whether we have serialized one node
already.
PR: #7291 , #7294
2000-10-18 18:32:32 +00:00
Andrew Skalski
23defd97e9
fixed logic error in the get parameters stage of mcal_list_alarms
2000-10-18 14:24:20 +00:00
foobar
7a54e0b10c
Fixed crash (bus error) in readdir() and session cleanup when compiled
...
with Sun CC.
2000-10-18 14:14:14 +00:00
Stig Venaas
33d15279ac
Removed some zval_dtor calls. There were two more than needed, and I had
...
just added two more...
2000-10-18 13:41:42 +00:00
Stig Venaas
afdf0e759f
Added some missing zval_dtor calls in php_fsockopen()
2000-10-18 13:21:08 +00:00
Stig Venaas
2da9a94d38
Added destruction of return value parameter, and using ZVAL_LONG and
...
ZVAL_STRING to set return value in ldap_get_option.
2000-10-18 07:47:51 +00:00
Nikos Mavroyanopoulos
2ecce2dc35
corrected authors notice
2000-10-18 07:25:26 +00:00
Nikos Mavroyanopoulos
5386c05cd1
Added the mhash HMAC functionality. Now the mhash function can use
...
keyed hash by added the key as an extra parameter to the function.
2000-10-17 19:43:49 +00:00
Jouni Ahto
68b899ce26
(ibase_execute) - Oops, trying to free a little bit too much. Maybe fixes
...
#6721 , #7117 , #7278 .
# Shouldn't have 6 versions of interbase.c lying around. Can't always
# remember which versions were tested, which ones committed and which ones
# actually in CVS... :(
2000-10-17 17:46:14 +00:00
Chuck Hagenbuch
13fa52b881
spaces to tabs. do we have a standard on this?
2000-10-17 17:31:37 +00:00
Chuck Hagenbuch
e058cb0648
fix imap_fetchstructure(). msgindex is not valid if we're using FT_UID;
...
always use Z_LVAL_PP(msgno) in the actual c-client function call.
2000-10-17 16:11:26 +00:00
Stig Venaas
ffbd2367e7
Added ldap_get_option() and ldap_set_option() functions
...
@- Added ldap_get_option() and ldap_set_option() functions (Stig Venaas)
2000-10-17 16:06:04 +00:00
Chuck Hagenbuch
9e693657d9
replace fixed-size buffers for username and password with dynamically
...
allocated strings in the MCAL extension.
2000-10-17 15:52:04 +00:00
Stig Venaas
0b59e4b821
Removed some redundant convert_to_*_ex() calls. Edited some whitespace.
2000-10-17 15:51:04 +00:00
foobar
6e09d7cb53
*** empty log message ***
2000-10-17 15:42:05 +00:00
Andreas Karajannis
e8861e6d20
Added support for SAP DB
2000-10-17 15:23:18 +00:00
Sascha Schumann
d95bc9b3eb
Initialize tags properly.
...
Submitted by: Andreas Karajannis <Andreas.Karajannis@gmd.de>
2000-10-17 14:17:21 +00:00
Sascha Schumann
2d24f03033
Back out ws changes
2000-10-17 03:02:47 +00:00
Sascha Schumann
7c0ba95806
fix indentation
2000-10-17 02:50:15 +00:00
Rasmus Lerdorf
b3fb8a6e97
Aha, Sascha made a mistake! ;)
...
Make this thing compile again without trans-sid
2000-10-16 22:12:28 +00:00
Daniel Beulshausen
1f245a6f73
make compile again
2000-10-16 20:08:27 +00:00
Sascha Schumann
1c85ad029b
Enable users to set the HTML tags to rewrite
...
through a configuration directive
2000-10-16 17:25:36 +00:00
Daniel Beulshausen
8f5e25598a
include php.h to have VIRTUAL_DIR defined this
...
should fix bugs where the ttf functions won't
find the font in the actual working dir
# like under windows :)
2000-10-16 13:55:47 +00:00
Rui Hirokawa
4de105ae4a
added a option to use the truetype string handling function in gd.\n it is useful for japanese because the truetype string function in gd supports some japanese encodings.
2000-10-16 13:50:30 +00:00
Daniel Beulshausen
4086197d95
fixes bug 7055 & 7235
2000-10-16 10:35:43 +00:00
foobar
d282abf2df
Changed to look also for liblber.so (sometimes there are only shared libs)
...
Fixes bug 6072.
2000-10-15 22:53:43 +00:00
David Eriksson
f6b66196e1
Updated build instructions, changed E_ERRORs to E_WARNINGs
2000-10-15 17:27:29 +00:00
Marko Karppinen
cd7dae0676
We don't support FreeType 2 - let's stop pretending we do
2000-10-14 23:04:26 +00:00
foobar
e6d03e7a3e
config.m4
2000-10-14 22:48:38 +00:00
Hartmut Holzgraefe
545ae277bc
post handler registration done right
...
(never use emalloc in an extension MINIT function)
2000-10-13 12:13:35 +00:00
Hartmut Holzgraefe
6d5f1d97f8
now it works for me as CGI and APXS, with or without --enable-debug ...
2000-10-13 10:04:17 +00:00
Daniel Beulshausen
6fb51171c8
compile fixes & update of win32 dsp
2000-10-13 09:13:01 +00:00
Hartmut Holzgraefe
cae27179ce
fopen wrappers cleanup
...
- comfiguration is now done by an ini parameter
instead of a compile time option
- the implementations of the three standard wrappers
now live in seperate files in ext/standard
- the compiler is happy again, no more warnings
2000-10-13 00:09:31 +00:00
Sascha Schumann
3ee228371d
Let strtr() use smart_str to reduce complexity
2000-10-12 01:26:26 +00:00
Sascha Schumann
174253123e
Rewrite php_str_to_str using the smart_str API.
...
This removes much complexity from the function.
Speed is improved by pre-allocating memory instead of reallocating
the buffer each time the pattern is found.
2000-10-12 00:50:28 +00:00
Sascha Schumann
82d199b639
Move structure definition into its own file, so that public header
...
files don't need to include the complete source code.
2000-10-12 00:48:12 +00:00
Hartmut Holzgraefe
22e48a814a
@ - POST handler for Adobe FDF format (Hartmut)
...
the FDF handler is now working and totaly living
in the fdf extension, no more special code in
main is needed
2000-10-11 22:44:15 +00:00
Hartmut Holzgraefe
5423a08558
@ -read and write .gz-files transparently on glibc based systems
...
@ using the 'zlib:' fopen wrapper (Hartmut)
2000-10-11 22:40:22 +00:00
Nikos Mavroyanopoulos
3156be3fa6
fixed some includes and removed an unneeded file.
2000-10-11 20:32:04 +00:00
Nikos Mavroyanopoulos
68683825ad
corrected typo
2000-10-11 20:26:09 +00:00
Sascha Schumann
d2d5320ee8
Add session_write_close(). This is primarily intended to enable
...
script writers to release the lock associated with the session lock
before the request finishes.
You can pass arrays now to session_set_save_handler(), so that the handlers
can be located in an object for better abstraction.
2000-10-11 19:47:15 +00:00
Zeev Suraski
dea72ba6a4
Added mysql_escape_String()
2000-10-11 18:27:21 +00:00
Zeev Suraski
ac0880fd8f
Remove conflict
2000-10-11 18:00:18 +00:00
Nikos Mavroyanopoulos
c834cbba59
Corrected a wrong include
2000-10-11 17:05:18 +00:00
Nikos Mavroyanopoulos
98038f8228
Added support for Ovrimos SQL Server.
2000-10-11 16:54:23 +00:00
Hartmut Holzgraefe
f2ddc10685
proto typo fixes
2000-10-11 13:51:32 +00:00
Hartmut Holzgraefe
0b7745d713
added protos
2000-10-11 13:34:42 +00:00
Zeev Suraski
8fc4200414
Old PostgreSQL fix I forgot to commit, and NEWS consistency update
2000-10-11 13:27:21 +00:00
Hartmut Holzgraefe
332b7125de
added missing protos
2000-10-11 11:40:29 +00:00
Hartmut Holzgraefe
be19c812ab
added some missing protos
2000-10-11 11:25:13 +00:00
Hartmut Holzgraefe
8716039dec
protos fixed
2000-10-11 10:46:53 +00:00
Daniel Beulshausen
814639b2fc
make windows compile
2000-10-11 09:17:10 +00:00
Sterling Hughes
8759dcc0ce
Fix compilation, I wonder when these were omitted??
2000-10-10 20:51:32 +00:00
Derick Rethans
a03858c40b
- Reserved the patch
...
# Please check if it works, as I'm not be able to test it
# Blame CaPS for this one :)
2000-10-10 16:58:27 +00:00
Uwe Steinmann
e9ba352023
- added optional argument pdf_show_boxed() to determine if text is
...
actually shown or not.
2000-10-10 07:42:55 +00:00
Andrei Zmievski
ab0f48d506
Fix compiler warnings.
2000-10-09 19:18:42 +00:00
Andrei Zmievski
a193c9ce3e
Fix a misconfiguration error and missing return statement.
2000-10-09 19:10:39 +00:00
Derick Rethans
92b3dd06e3
- Made ora_close return values like it should (thanks to james@php.net and
...
mathieu@gginter.net )
2000-10-09 18:45:56 +00:00
Chuck Hagenbuch
046ecab96f
revert patch. Sablot won't build anymore, at least in combination with zlib.
2000-10-09 18:32:37 +00:00
Hartmut Holzgraefe
86f2ad3017
I SHALL NOT TOUCH A RELEASE CANDIDATE!
...
I SHALL NOT TOUCH A RELEASE CANDIDATE!
I SHALL NOT TOUCH A RELEASE CANDIDATE!
(previous patch reverted)
2000-10-09 15:24:26 +00:00
Hartmut Holzgraefe
bbc37db2f3
added support for GNU-specific domainname field in uname
2000-10-09 15:12:34 +00:00
Chuck Hagenbuch
85d125c22c
No comment on this, so I'm guessing it's okay.
2000-10-09 14:51:17 +00:00
Zeev Suraski
9103cae5e5
Fix bug #6447
2000-10-09 11:48:16 +00:00
Daniel Beulshausen
d667e05543
more cleanup of info code
2000-10-08 11:45:18 +00:00
Daniel Beulshausen
990a86615d
only beautifying
2000-10-08 10:55:09 +00:00
Sascha Schumann
683ce541c8
Move static declaration to source file.
2000-10-07 20:46:30 +00:00
Thies C. Arntzen
6b5441c30f
@- Fixed returning of empty LOB fields in OCI8. (Thies)
2000-10-07 09:10:54 +00:00
Andi Gutmans
31a5160a0a
- Add calendar to default Win32 build.
2000-10-06 00:03:02 +00:00
Andi Gutmans
9ece8612b8
- Add FTP extension to default Win32 build
2000-10-05 23:25:41 +00:00
Rasmus Lerdorf
348079bc3f
Get ext_skel working again
2000-10-05 20:48:12 +00:00
Andi Gutmans
fb2c23645b
- Clean-up original code and add to NEWS.
2000-10-05 18:26:54 +00:00
Brendan W. McAdams
5ab813e1b6
Updated email address to reflect my php.net address.
...
I am no longer associated with Plexus InterActive (my plexmedia.com address) so
the old address is no longer any good.
2000-10-05 18:20:06 +00:00
Alexander Feldman
791cda209c
Fixed posix_addlimit() when adding the string "unlimited" to the result.
...
Now the posix_getrlimit() function does not cause core dump.
2000-10-05 18:06:55 +00:00
Jouni Ahto
f06ee6bdba
- List entry types should be true globals.
2000-10-05 12:47:39 +00:00
Joey Smith
8538f86ac1
Add more missing protos and make folding style closer to mysql module.
2000-10-05 02:40:53 +00:00
foobar
b3450c2246
Now it really checks that libxml version is >= 2.0
2000-10-05 00:51:46 +00:00
Sascha Schumann
47dfaf232f
Use ZEND_DECLARE_MODULE_GLOBALS instead of equivalent #if ZTS/#else/#endif
...
construct.
2000-10-04 23:11:07 +00:00
Sascha Schumann
5674f1be45
Ignore close tags and use unsigned char type.
2000-10-04 18:06:20 +00:00
Sascha Schumann
da6c94f73b
typo
2000-10-03 21:56:21 +00:00
Sascha Schumann
cc415d699e
#include "ext/standard/php_string.h" to get php_memnstr().
2000-10-03 18:52:46 +00:00
Andi Gutmans
a1abfb7643
- Fix dirname()
2000-10-03 16:47:25 +00:00
Sterling Hughes
e97718461b
Fix some small issues.
2000-10-03 15:51:39 +00:00
Andi Gutmans
d37b140601
- Fix VC++ warning
2000-10-03 14:43:04 +00:00
Rasmus Lerdorf
ff9946b264
Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
...
@Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
@(Rasmus)
2000-10-02 22:16:53 +00:00
Andi Gutmans
bf7603cf83
- Now really fix it.
2000-10-02 18:13:53 +00:00
Andi Gutmans
28c96e89e1
- Fix bug in parse_url()
2000-10-02 17:51:30 +00:00
Rasmus Lerdorf
b189759bcd
Clean up the alignment of configure --help output
2000-10-02 17:36:01 +00:00
Daniel Beulshausen
7482eb6adc
fixed unresolved externals.
...
# it compiles fine now, and php loads the extension fine
# but there must be definetly something with the paths
# cause mcrypt doesn't want to load any alogrithm
2000-10-02 11:00:54 +00:00
Sterling Hughes
82070f1cdf
Tiny change in copying of buffer.
2000-10-02 04:55:26 +00:00
Derick Rethans
58294f67d2
@- Added the shmop extension. It allows more general ways of shared memory
...
@ access. (thanks to Ilia Alshanestky <iliaa@home.com> and Slava Poliakov
@ <slavapl@mailandnews.com> (Derick)
2000-10-01 15:06:04 +00:00
Daniel Beulshausen
0960b3618f
snmp win extension
2000-09-30 17:39:13 +00:00
Daniel Beulshausen
ef1dea5e1e
uses php.h define
2000-09-30 16:32:11 +00:00
Andi Gutmans
3f80efd660
- Cleanup output functions
2000-09-30 16:14:54 +00:00
Andi Gutmans
2622eba31d
- Cleanup some output functions
2000-09-30 16:13:48 +00:00
Daniel Beulshausen
499507ca0e
added dsp for the filepro extension
2000-09-30 15:57:45 +00:00
Daniel Beulshausen
1c4207a1f8
made win32 compile
2000-09-30 13:32:25 +00:00
Daniel Beulshausen
c7c8ed155c
removed zendts.lib from link options
2000-09-30 13:29:20 +00:00
Daniel Beulshausen
8ef9700499
cleanup
2000-09-30 13:25:41 +00:00
Daniel Beulshausen
53e1e33045
fix not producing valid extension
2000-09-30 13:24:16 +00:00
Sterling Hughes
85e2dc34d5
leftovers.
2000-09-30 04:50:39 +00:00
Sterling Hughes
1e6ae4496b
Buncha changes, generally makes the module more stable and removes unnecessary
...
(as of Sablotron 0.44) workarounds.
2000-09-30 04:44:33 +00:00
Sterling Hughes
36dc3e1c20
@ Added the ability for CURLOPT_POSTFIELDS to accept an array of HTTP post
...
parameters. (Sterling)
@ Added the CURLOPT_HTTPHEADER option that allows for the posting of HTTP
headers to a remote site from cURL. (Sterling)
@ Add the curl_error() and curl_errno() functions. (Sterling)
Buncha other changes...
- Changed if () else if () in curl_setopt to switch .. case
- Fixed a couple crashes in certain cases.
- Finally a decent error reporting scheme.
- A few formatting changes.
2000-09-30 03:09:54 +00:00
Sascha Schumann
11c88a0ff5
Return SUCCESS from write handler, if vallen is 0.
...
Submitted by: tcarroll@chc-chimes.com
PR: #6958
2000-09-29 21:44:45 +00:00
Dan Kalowsky
ca1b12c5a1
corrected lines for Solid 2.3 systems after some advice from users, please test...
2000-09-29 19:03:23 +00:00
Sascha Schumann
4b89b67d1c
Don't try to serialize references.
...
Circular references would otherwise kill PHP, as the serializer
would overrun the stack.
2000-09-29 18:48:40 +00:00
Hénot David
a68a224efd
Added clean up code for persistent connections to avoid some problems with
...
autocommit.
2000-09-29 09:29:06 +00:00
foobar
5844b74e22
Fix configure (with Solaris).
2000-09-28 23:46:15 +00:00
Daniel Beulshausen
7fdb466d14
a little cleanup
2000-09-28 20:29:39 +00:00
Daniel Beulshausen
23b14d4cfb
added tsrm dir to include path
2000-09-28 20:26:31 +00:00
Daniel Beulshausen
eba5d76078
removed ignoring msvcrt(d) libary
2000-09-28 20:25:03 +00:00
Daniel Beulshausen
97089c0370
major cleanup
...
# but still doesn't work for me
2000-09-28 20:22:57 +00:00
foobar
aee1a49287
@- Changed ext/db not to be enabled by default (Jani)
2000-09-28 20:09:23 +00:00
Frank M. Kromann
e048e34e80
Having odbc_tables() and odbc_columns() match the documentation with parameters optionel from the right
2000-09-28 16:42:04 +00:00
Andi Gutmans
3e0d46d222
- Fix build of db2
2000-09-28 13:08:14 +00:00
Stefan Roehrich
045ee57f04
Line seems to be missing and causing configure test failures for other extensions.
2000-09-28 09:37:30 +00:00
Sascha Schumann
2e4ab68995
Automatic conversion might cause interpretation of 0xff as EOF, so we store
...
the result in an object of type int first.
Submitted by: melchers@cis.fu-berlin.de
2000-09-27 16:08:26 +00:00
Sascha Schumann
3823ad3ec0
Recognize single quotes around cdata.
...
Move smart_str functions to an extra file.
2000-09-27 15:26:39 +00:00
Sascha Schumann
5bf4e7857d
Clean up STR_CAT macro (it is still ugly)
2000-09-27 15:24:09 +00:00
Sascha Schumann
1cc3e6b5e6
Move php_memnstr to the header file, so that the function body is available
...
in all compilation units (note the static linkage).
2000-09-27 15:18:00 +00:00
Daniel Beulshausen
5b6d752119
fixed tsrm dir, little cleanups
2000-09-26 13:17:21 +00:00
Daniel Beulshausen
b8dabd3fb8
removed redefines
2000-09-26 12:05:37 +00:00
Daniel Beulshausen
77e7617654
cleanup, added configurations for ssl as well
2000-09-26 11:51:31 +00:00
Daniel Beulshausen
58d8ab855f
cleanup
2000-09-26 11:34:10 +00:00
Sascha Schumann
7db874096e
Unify memory allocation in smart_str functions
2000-09-26 11:00:39 +00:00
Sascha Schumann
d959c647e2
Remove superflucious variable
2000-09-26 11:00:02 +00:00
Stanislav Malyshev
9ff7f19e32
Add URL support for GD
2000-09-26 09:08:02 +00:00
Joey Smith
12aca26b5b
Add protos from sybase DB Library.
2000-09-26 07:38:47 +00:00
foobar
0f3ef58fa3
No more empty '-l' caused by this extension.
2000-09-22 00:59:16 +00:00
Stig Venaas
9a9e2e72b0
Small fix to the literal IPv6 parsing, now stops at first ] after [
2000-09-22 00:33:55 +00:00
Stig Venaas
0776f7d3d7
Parsing of URLs with literal IPv6 addresses, see RFC 2732
...
@- IPv6 support in fopen (one can access IPv6 ftp/web servers) (Stig Venaas)
2000-09-22 00:12:00 +00:00
Brian Moon
09e00183bd
added mysql_fetch_assoc. Acts like mysql_fetch_array used to.
2000-09-20 21:43:57 +00:00
Sascha Schumann
854c0622f0
Cleanup SCANNER_DEBUG and don't NUL terminate work buffer
2000-09-20 08:59:52 +00:00
Sascha Schumann
cfa22547e0
Use emalloc and friends. Since we reuse all buffers, this does not affect
...
the speed.
The smart_str_* functions don't NUL terminate strings anymore. We can
rely on the length of the strings completely.
2000-09-20 08:40:33 +00:00
Sascha Schumann
16d7cb88fa
Remove this pseudo optimization from the previous rewrite.
...
Since we leave/enter the loop more often, the cost of maintaining
c_arg/c_val is higher than simply copying the tag/arg string once.
2000-09-20 08:13:45 +00:00
Sascha Schumann
f27f790f29
Another 5%-10% speed increase achieved by
...
- making ctx->val read-only
- adding a special appendc function for appending single characters
2000-09-20 08:06:01 +00:00
Joey Smith
e5bb148d4e
le_link and le_plink are no longer part of the sybase_globals.
2000-09-20 04:12:03 +00:00
Sascha Schumann
7aa23d3ca3
Add support for URLs containing NAME info (for scrolling; #name).
2000-09-20 02:04:19 +00:00
Sascha Schumann
9c6414d6fa
Deactivate E_NOTICE message on gc
2000-09-20 01:38:39 +00:00
Sascha Schumann
cd9ab22f84
Rename prototype to currently used name. These stupid names will go away once
...
the transition periode ends.
2000-09-20 01:25:19 +00:00
Sascha Schumann
07e71ce1f1
s/url_scanner.h/url_scanner_ex.h/
2000-09-20 01:22:55 +00:00
Sascha Schumann
61dc840cdd
Make the new url scanner the default.
...
If there are any problems (especially with characters > 127), let me know.
2000-09-20 01:22:17 +00:00
Sascha Schumann
a2dc8a2fa5
2nd Rewrite of the main scanner engine. This version is cleaner and faster.
...
It handles the following tags currently:
<FRAME .. SRC=URL ..>
<INPUT .. TYPE=IMAGE SRC=URL ..>
<A .. HREF=URL ..>
<AREA .. HREF=URL ..>
<IMG .. SRC=URL ..>
Additional ones can be added within seconds.
The support for HTML forms has been significantly improved. The scanner
will now add proper Hidden Fields for the Session ID.
2000-09-20 01:15:10 +00:00
Sascha Schumann
cc53ad5166
Reduce the amount of copying in the mainloop. We copy tag/arg only, if we
...
need to preserve them for a new loop iteration (after we leave mainloop).
Otherwise, we can just let them point to the work area.
2000-09-19 20:19:03 +00:00
Sascha Schumann
dd59d14805
Revert part of last commit. I'll refine it later.
2000-09-19 19:18:41 +00:00
Andi Gutmans
c54047b0b0
- Change to Z_BVAL macro
2000-09-19 18:19:02 +00:00
Sascha Schumann
a7ef1966ac
Another speedup by avoiding string copies.
...
15% speed gain in test case (rewriting 1M URLs).
2000-09-19 18:17:28 +00:00
Sascha Schumann
95ae21ff1b
Remove nextiter label
2000-09-19 18:01:29 +00:00
Sascha Schumann
7f86b7224c
s/DEBUG/SCANNER_DEBUG/. "Convert" one macro to inline function to be more
...
consistent. Also use continue.
2000-09-19 18:00:58 +00:00
Zeev Suraski
5b0ca1585a
Fix a few build bugs, still no go
2000-09-19 17:53:09 +00:00
Sascha Schumann
51498e1d3f
Kill warning
2000-09-19 17:46:23 +00:00
Sascha Schumann
e07e19f271
The rewrite was completely authored by Hartmut
2000-09-19 17:45:44 +00:00
Sascha Schumann
e2efb3cf06
Remove unnecessary include directive
2000-09-19 17:39:43 +00:00
Zeev Suraski
c45b1c2c8b
- Fix warnings
...
- Fix URL scanner startup crash
2000-09-19 17:37:34 +00:00
Sascha Schumann
4b3fb7b05e
Add new URL scanner. This version is up to 20% faster. It will be
...
enabled by default once I'm sure that it works in every case.
To enable it, apply s/url_adapt_ext/url_adapt_ext_ex/ to session.c
2000-09-19 17:32:27 +00:00
Sascha Schumann
2ec043606b
*** empty log message ***
2000-09-19 17:22:37 +00:00
Sascha Schumann
e986a4b0a3
Fix RINIT/RSHUTDOWN functions and add url_adapt_ext()
2000-09-19 17:21:26 +00:00
Stanislav Malyshev
08e1c852aa
Fix decbin
2000-09-17 21:11:55 +00:00