Adam Dickmeiss
7a68b02482
Implemented yaz_schema. Cleanup. 1.8 YAZ required
2002-02-27 12:58:33 +00:00
Dan Kalowsky
a4113ee734
Bug fix 15719 as submited by Joseph Southwell and allows NULL values in ODBC
...
# I haven't been able to fully test this due to MacOSX compliation errors.
# if someone in the QA group could that'd be appriciated.
2002-02-26 15:33:54 +00:00
Edin Kadribasic
0bbc3c3a4c
Allow use of dl() when CLI is compiled with ZTS (bug #15717 ).
2002-02-26 11:00:20 +00:00
Derick Rethans
b5a0fd24a1
- Fix the fix.. no need to escape " in single quotes
2002-02-24 14:07:10 +00:00
Derick Rethans
a4946ca375
- Add slashes around string output
2002-02-24 13:26:43 +00:00
Sebastian Bergmann
dd95705ceb
Make phpinfo() look nicer.
2002-02-24 07:54:04 +00:00
Markus Fischer
b68e5f2ec9
- Fix info output (Peter Neuman <neuman_peter@hotmail.com>).
2002-02-23 22:46:19 +00:00
Rui Hirokawa
8cfa80d082
fixed configure error with freetype1.
2002-02-23 01:36:55 +00:00
Rui Hirokawa
07a08288a1
fixed a comment and default output encoding changed to pass.
2002-02-23 00:04:20 +00:00
Rui Hirokawa
acf08a9015
php.h included.
2002-02-23 00:00:15 +00:00
Frank M. Kromann
db63c9e291
Return true on update success.
2002-02-22 19:03:11 +00:00
Yasuo Ohgaki
b9d158c458
Fix crash bug 15607
2002-02-22 11:39:23 +00:00
Yasuo Ohgaki
15daf99288
Added fmod() function
...
# Is there any reason that math.c does not use errno?
2002-02-21 11:44:41 +00:00
Andrei Zmievski
513e598d1e
Adding object aggregation capability along with tests.
2002-02-21 03:32:42 +00:00
Christian Stocker
94d06d34e0
"o|a|b" is not valid ZE code. changed to "o|ab"
2002-02-20 23:35:20 +00:00
Rasmus Lerdorf
229d207a58
Split CRC32 table out into a header file so other code can use it
2002-02-20 18:18:39 +00:00
Derick Rethans
8b7b813ebc
- Fix for bug #15628 (for real now :)
2002-02-20 15:53:25 +00:00
Derick Rethans
cddd25661f
- Fix for bug #15638
2002-02-20 07:24:53 +00:00
Marc Boeren
6ddca71cdb
Oops: source copy&paste should be done with care :) (Mc)
2002-02-18 10:22:09 +00:00
Marc Boeren
cb46dbb6eb
Added support for Sybase-CT to dbx module (Mc).
2002-02-18 09:21:51 +00:00
Jason Greene
0a2438b057
Fix parse string
...
(Since arg6 is initialized at null this still catches the wrong param condition)
2002-02-15 17:33:08 +00:00
Dan Kalowsky
cd88ac738b
fix for bug 15516, patch submitted by torben@php.net
2002-02-15 17:24:44 +00:00
Yasuo Ohgaki
fe72f742eb
Fix problem with sesssion_pgsql module
2002-02-15 03:30:15 +00:00
Sean Bright
12430d1da1
Fix cosmetic bug. ( #15142 )
2002-02-15 03:08:41 +00:00
Derick Rethans
14d0c9d9a3
- Remove duplicate constant
2002-02-14 15:02:49 +00:00
Frank M. Kromann
d036b10062
Fixing release and debug build on Win32
2002-02-13 23:27:45 +00:00
Yasuo Ohgaki
d43e889854
Fix memory leaks.
2002-02-13 13:11:36 +00:00
Marc Boeren
6d3d668887
Fixed bug where users with empty passwords could not connect. (Mc)
...
# thanks for testing, Yasuo. Could you commit the mem-leak patch now?
2002-02-13 11:09:48 +00:00
Yasuo Ohgaki
c1507e1e40
Initialize automatic persistent connection reset flag
2002-02-12 10:01:08 +00:00
Andrei Zmievski
260aee10fe
Fix a long-standing infelicity that resulted in extra regex information
...
not being passed to PCRE functions.
2002-02-12 03:15:27 +00:00
Andrei Zmievski
51f1739983
Expose pcre_get_compiled_regex as an API function.
2002-02-12 03:00:05 +00:00
Mark L. Woodward
3edf26b509
Added one more tweak for 4.0.x compatibility.
...
Used "#warning" to inform users of a hard dependency.
(If #warning is unaccptable, let me know!)
2002-02-11 18:32:00 +00:00
Markus Fischer
8b2dcb33b7
- Fix protos.
2002-02-11 02:48:49 +00:00
Sean Bright
6829710dce
'0b' could be the beginning of a hex string (without leading '0x') so if
...
the user specifies base 16, use that instead.
2002-02-10 23:19:38 +00:00
Sean Bright
72c5a9cd8a
Add a new test for GMP base recognition.
2002-02-10 23:13:37 +00:00
Sean Bright
cc065b3351
Fix for bugs #10133 and #15454 .
...
Bug #15454 results from a bug in GMP. If you pass in a string '0xABCD' and
specify a base of 0, GMP figures out that it is hex and skips over the 0x
characters. If you specify base 16, then it doesn't skip those chars.
This was confirmed with the following test program:
#include <stdio.h>
#include <gmp.h>
int main()
{
char *str_one, *str_two;
mpz_t num_one, num_two;
mpz_init_set_str (num_one, "0x45", 0);
str_one = mpz_get_str(NULL, 10, num_one);
mpz_init_set_str (num_two, "0x45", 16);
str_two = mpz_get_str(NULL, 10, num_two);
printf("%s / %s\n", str_one, str_two);
mpz_clear (num_one);
mpz_clear (num_two);
return 0;
}
We now take anything that starts with 0[xX] as hexidecimal and anything
that starts 0[bB] as binary (this is what GMP does internally). We also
no longer force the base to 10 or 16, but instead let GMP decide what the
best base is, be it hex, dec, or octal.
2002-02-10 23:12:57 +00:00
Jason Greene
150d339231
Renamed zval_debug_dump() to debug_zval_dump()
2002-02-10 17:38:15 +00:00
Thies C. Arntzen
1d54bf97e0
only rollback at script end if there is something to rollback.
2002-02-10 12:41:52 +00:00
Stig Venaas
9e420659ad
Added php_sockaddr_size() in network.c (and the header file). This is used
...
in ftp.c to make sure connect() and bind() is called with size argument
which is exactly the size of the relevant sockaddr_xx structure
2002-02-10 12:35:29 +00:00
Sebastian Bergmann
8acc47a7a9
TSRM fixes.
2002-02-10 08:08:14 +00:00
Jason Greene
91ac18bc66
@Added zval_debug_dump which works similar to var_dump yet displays extra
...
internal information such as refcounts, and the true type names (Jason)
2002-02-10 06:52:35 +00:00
Yasuo Ohgaki
7baa36c885
Fix typo
2002-02-10 02:27:09 +00:00
Andrei Zmievski
66c94331bc
*** empty log message ***
2002-02-09 22:54:08 +00:00
Stig Bakken
5970cfb56c
* ZTS fix
...
# Sebastian, does it build on Windows now?
2002-02-09 22:01:00 +00:00
Sebastian Bergmann
07f95b3a79
Add MSVC workspace for tokenizer extension. Add php_tokenizer.dll entries to php.ini-*.
2002-02-08 21:19:55 +00:00
Thies C. Arntzen
7f29ed5798
- got rid of unneded calls to OCIAttrGet when reexecuting the same query
...
- only invalidate the define list after all rows from a REFCORSOR are read,
"normal" corsors will now remember their column defines. this means that
ocigetcolumn[name|type|..] will from now on work even after the result set
has been read.
2002-02-08 18:50:12 +00:00
Stig Bakken
cf5ba0feec
@Added Andrei's tokenizer extension (Stig)
2002-02-08 18:49:40 +00:00
Mark L. Woodward
e8285d6bba
Backward compatibility to 4.0.6 does not have "HAVE_PHP_SESSION" define
...
Renamed PHP_4_x_API to PHP_4_x
2002-02-08 03:05:21 +00:00
Sterling Hughes
ed6d751cd9
move to the ZEND_DECLARE_MODULE_GLOBALS() and ZEND_EXTERN_MODULE_GLOBALS
...
macros
2002-02-07 22:00:21 +00:00
Frank M. Kromann
9d0f7ba3b5
Convert pLists to output character set before parsing the list
2002-02-06 22:31:23 +00:00
Frank M. Kromann
1121df7c45
Added order by clause in fbsql_list_tables().
...
Table names will now be sorted.
2002-02-06 19:41:00 +00:00
Frank M. Kromann
d26c7a41ff
Adding fbsql_table_name() aliased fbsql_tablename() for compatibility with MySQL
2002-02-06 19:24:02 +00:00
Derick Rethans
cee660a123
- Fix for bug 15404
2002-02-06 19:10:35 +00:00
Yasuo Ohgaki
ccc8755196
Remove unused line
...
# I forgot to delete this line
2002-02-06 10:03:40 +00:00
Yasuo Ohgaki
eba550de9d
Fixed crash with mb_output_handler()
...
When mb_output_hanlder is applied muiltiple times, PHP does not output.
This should be fixed also.
2002-02-06 09:51:39 +00:00
Yasuo Ohgaki
39ad453266
Clean up code.
...
Removed PHP_PGSQL_API macro.
Define pgsql_globals_id
# Need a little more clean up
2002-02-06 07:25:51 +00:00
Yasuo Ohgaki
b42f0b0d43
Make module specified functions to static.
...
Added TSRMLS_D/C, get rid of one TSRMLS_FETCH.
2002-02-06 07:16:10 +00:00
Andi Gutmans
284eaf34cc
- Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2.
2002-02-05 20:43:49 +00:00
Mark L. Woodward
a8013517f5
Sorry guys, PHP 4.0.6's ZEND_MODULE_API_NO is whacked, it has an extra
...
zero, thus ZEND_MODULE_API_NO >= xxxx, will not work for about 18000 years.
Added better checking, and cleaned up some of the #ifdef you seem to love
so much.
2002-02-05 20:02:34 +00:00
Hartmut Holzgraefe
8b9b916ce9
removed the new-style parameter parser code for bc *and* readability
...
reasons, changed the remaining #ifdefs to check the api version
directly instead of using the not really related OLD_ZEND_PARAM macro
2002-02-05 17:00:28 +00:00
David Eriksson
2272eb57a4
@- Removed Satellite. It is now part of PEAR.
2002-02-05 09:09:35 +00:00
foobar
ff51415423
Let's be consistent and use zval instead of pval
2002-02-05 01:30:22 +00:00
foobar
86f123ba2e
Export php_session_start().
2002-02-05 01:28:55 +00:00
Jaroslaw Kolakowski
176a426b2e
Fixed compile error
2002-02-04 21:07:39 +00:00
Mark L. Woodward
5f52b45708
More 4.0.6 compatibility.
2002-02-04 18:33:46 +00:00
Mark L. Woodward
aa96e0e756
Restored backward compatibility to PHP 4.0.6
2002-02-04 18:01:40 +00:00
Yasuo Ohgaki
6abc327855
Fix ZTS startup crash
2002-02-04 14:28:02 +00:00
Thies C. Arntzen
32495f256c
add oracle 9 detection for oracle-module
2002-02-04 12:08:40 +00:00
Yasuo Ohgaki
23258ef145
Remove TSRMLS_FETCH() does not need
2002-02-04 11:55:12 +00:00
Yasuo Ohgaki
488f6a706d
Fix ZTS build
2002-02-04 11:43:07 +00:00
Yasuo Ohgaki
bd32363e2f
Revert last commit. Last patch has problem for the 1st request.
...
# I also found what's wrong in mod_mm.c :)
# I'll fix it later since don't have much time now.
2002-02-03 05:40:19 +00:00
Yasuo Ohgaki
4c6e58ac59
Fixed crash when save_path is invalid.
...
Fixed crash when user save handler is incorrectly used.
Fixed crash when session read failed.
2002-02-03 03:17:35 +00:00
Yasuo Ohgaki
665d38629b
Added UCS4 test
2002-02-03 02:18:30 +00:00
Sebastian Bergmann
5319d84400
Consistency.
2002-02-02 19:33:36 +00:00
Sebastian Bergmann
4a2f0316e1
Fix a warning.
2002-02-02 19:27:33 +00:00
Andrei Zmievski
441c583a2c
Converted extract() to use smart_str for variable name manipulation. This
...
sped it up a bit.
2002-02-01 20:17:32 +00:00
Adam Dickmeiss
f8d533d79d
Fixes in MARC decoder (base adress, DANmarc case).
2002-02-01 17:56:19 +00:00
Thies C. Arntzen
4526dd2078
remove some crap
2002-02-01 14:02:49 +00:00
Derick Rethans
32e9ea6c64
- Fix for bug 14899 (patch by Sander Roobol <sander@php.net>)
2002-02-01 08:53:47 +00:00
Yasuo Ohgaki
53d349a3a6
Fixed bug with encodings that has 0 byte in strings. Patch by <itai@siftology.com>
...
Fixed possible problem with encodings that a char can be larger than
4 bytes.
2002-02-01 08:32:04 +00:00
Boian Bonev
8ad5009b22
fix comment
2002-01-31 17:02:48 +00:00
Derick Rethans
98e8a7ba08
- Fix for bug 15311 (type mismatch of php_dl when #ifndef HAVE_LIBDL)
2002-01-31 10:21:24 +00:00
Derick Rethans
d26afcf366
- Fix for openssl_pkcs7_sign segfaults
...
(patch by Christian Stocker <chregu@php.net>)
2002-01-31 09:57:28 +00:00
Dan Kalowsky
860e2e97ee
Fix for bug #14803
2002-01-30 21:54:54 +00:00
Thies C. Arntzen
82a9fc746e
enable "user-interrupts"
2002-01-30 07:41:04 +00:00
Jon Parise
9aba9071b6
These are now defined in zend_config.w32.h.
2002-01-28 16:06:27 +00:00
jim winstead
95407d3202
testing checkin
2002-01-28 01:43:43 +00:00
Jon Parise
e40e7a669a
zend_isinf() is already defined in Zend/zend_config.w32.h for Win32.
2002-01-27 18:19:18 +00:00
fabrice aeschbacher
ece15242e7
add ibase_add_user(), ibase_modify_user(), ibase_delete_use()
2002-01-27 15:31:15 +00:00
Jon Parise
f174bbc711
Use the zend_* versions of finite(), isinf(), and isnan(), as defined
...
in php_config.h. Redefine the zend_* versions in the case of Win32.
This fixes the build on systems that don't provide a native version of,
say, isinf() (e.g. Solaris).
2002-01-27 07:41:20 +00:00
Jon Parise
ea089d09ae
Add a note that this statement will never be reached.
2002-01-27 07:23:21 +00:00
Jon Parise
d299bdc5d9
Add a comment indicating that this return statement will never be reached.
...
# Perhaps it should just be removed?
2002-01-27 07:15:07 +00:00
Jon Parise
539114339c
Use socklen_t (instead of int) where appropriate.
2002-01-27 07:06:09 +00:00
Jon Parise
d7523c883b
Because php_network.h includes <sys/socket.h>, it must be included after
...
_XPG4_2 is defined.
This fixes the build under Solaris 8.
2002-01-27 06:55:10 +00:00
Sterling Hughes
0d59ff42d4
don't throw fatal errors, throw E_WARNING instead.
2002-01-27 06:18:05 +00:00
Sterling Hughes
094873c6d2
hopefully fix --with-openssl issues
2002-01-27 06:11:50 +00:00
Yasuo Ohgaki
93cb481634
We need mm file for each user.
...
# GCI/CLI SAPI need this. It might be better to disable mm save handler
# for CGI/CLI, though.
2002-01-25 20:59:24 +00:00
Derick Rethans
edb0118d96
- Fix for bug #15227 : Compiling the CGI binary with xmlrpc fails to
...
build/link expat
2002-01-25 19:56:48 +00:00
Derick Rethans
33b66a224b
- Fixed highlight_* (make it more robust)
...
#- Thx Mr S for noticing this.
2002-01-25 15:43:58 +00:00
Hartmut Holzgraefe
58749ec3a4
no longer experimental
2002-01-25 14:01:41 +00:00
Derick Rethans
96a9eba020
- Added optional parameter to highlight_string and highlight_file which
...
makes these functions return a highlighted string instead of dumping
to standard output. (Derick)
@- Added optional parameter to highlight_string and highlight_file which
@ makes these functions return a highlighted string instead of dumping
@ to standard output. (Derick)
2002-01-25 11:27:47 +00:00
Rasmus Lerdorf
0d139d3c27
(extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags
...
@- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
@ EXTR_IF_EXISTS only extracts a variable if it already exists
@ EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and
@ then it prepends the prefix to it. ie. if $PATH exists then
@ extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH
@ This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS);
@ and you only get the global request variables you have defined imported
@ into your symbol table. (Rasmus)
2002-01-25 09:01:02 +00:00
Derick Rethans
22b1b4547f
- Fix for bug #14934 : type property not set in comment nodes (domxml)
2002-01-25 07:40:38 +00:00
Yasuo Ohgaki
d9692f7896
Add sapi postfix for mm save path.
...
cli/cgi would not complain about mm save handler with this.
# I'm really annoyed by mm save path problem...
2002-01-25 04:36:26 +00:00
Yasuo Ohgaki
1ea87faeb1
Added "auto_reset_presistent" ini entry.
2002-01-25 00:43:50 +00:00
Marko Karppinen
449b53e34a
Ignore ordinal suffixes on numbers (bug #15210 )
2002-01-24 22:24:58 +00:00
Andrei Zmievski
c330a4f9ce
Revert back to using <char> element for newlines.
2002-01-24 16:18:50 +00:00
Yasuo Ohgaki
c815a20aee
Revert last 2 commit. Instead, make php_pgsql_do_connect() to catch
...
broken connection always.
# I think this is better than check&reset connection when query
# functions are called.
2002-01-24 09:27:43 +00:00
Yasuo Ohgaki
448dbd72cd
Add a little more fault tolerance for pg_host, pg_tty and more.
2002-01-24 06:40:10 +00:00
Yasuo Ohgaki
ddee00da0e
No more httpd restart is required when PostgreSQL is rebooted.
...
# Works for pg_query()/pg_send_query()
2002-01-24 06:20:33 +00:00
Frank M. Kromann
2a02754b52
Fixing spelling error in FrontBase section
...
Changed som int to unsigned int to remove compiler warnings
2002-01-23 17:48:31 +00:00
Jaroslaw Kolakowski
4674123cca
Simplified domxml_substitute_entities_default() function
2002-01-22 18:47:06 +00:00
Sterling Hughes
1a36eb5574
just init CURL_GLOBAL_SSL
2002-01-22 17:06:16 +00:00
Christian Stocker
deb652deed
Getting rid of some compile warnings (thanks to markus for pointing me in the right direction :) )
2002-01-22 09:52:56 +00:00
Sean Bright
a38bfb424e
Fix for bug #15130 . Way too much effort for this bug, but cleaned up code
...
a bit, use zend_parse_parameters(), etc, etc. We only look for extensions
in the basename, not the full path.
2002-01-22 03:35:23 +00:00
Jaroslaw Kolakowski
b7f0e6bd1c
Added domxml_substitute_entities_default() function
2002-01-21 23:21:32 +00:00
Chris Jarecki
5f153ca929
- fixed bug caused by libxml2 in xpath_register_ns()
...
- registered namespaces are now persistent
2002-01-21 19:12:00 +00:00
Dan Kalowsky
31cd8e0b75
this closes off a number of ODBC bugs.
...
# this is a bit hack-ish in it's functionality. The proper answer (allowing
# users to set their cursor type) has bugs with some tests cases at this time.
# But this is being done to just get ODBC back into working order.
2002-01-21 14:11:17 +00:00
Yasuo Ohgaki
ae64c5cec3
Fixed typo and proto
2002-01-21 00:36:22 +00:00
Markus Fischer
fe6e7058ee
- Fix crash with invalid localtime on Win32 systems.
2002-01-20 20:16:54 +00:00
Hartmut Holzgraefe
ce8c6a04b6
cut&paste errors in protos fixed
2002-01-20 14:45:30 +00:00
Hartmut Holzgraefe
b0bffb022a
proto fix
2002-01-20 14:40:59 +00:00
Sean Bright
16344cc34e
Forgot to remove the return from a void function
2002-01-20 05:02:52 +00:00
Sean Bright
cbedeea53c
These PHP3_* macros aren't defined in the code, so these haven't been doing
...
anything for some time now (at least since 4.0 was released). So let's go
ahead and remove those.
# If I missed something obvious, let me know and I will revert the patch.
2002-01-20 04:55:40 +00:00
Edin Kadribasic
f5790b0a7c
Modified the build system to make certain extensions (pcntl, ncurses,
...
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
2002-01-20 02:30:18 +00:00
Jaroslaw Kolakowski
833de5e0d2
- Fixed passing parameters to domxml_xslt_process(). Now they can be either strings or XPath expressions.
...
- Several minor fixes in domxml_xslt_process().
2002-01-19 21:12:05 +00:00
Wez Furlong
bf7662a241
Make the decoder less strict to allow for brain-dead mailers that mark
...
messages as 7bit but then include 8bit chars in the body.
Thanks to Dan Fitzpatrick for bringing this to my attention.
2002-01-19 14:06:52 +00:00
Markus Fischer
b7285dde4e
- More WS fixes
2002-01-18 15:54:50 +00:00
Christian Stocker
6c08b99aac
shite :) too much WS fixes. leave the licence as it was...
...
# (why uses pear spaces and php tabs anyway... but i don't want to start another CS flame war ...)
2002-01-18 15:45:44 +00:00
Christian Stocker
33ffb64091
- WS fixes (replaced " " by \t)
2002-01-18 15:40:26 +00:00
Christian Stocker
98e5d33bb8
- added optional parameters format and level for domxml_dump_node()
2002-01-18 15:03:13 +00:00
Christian Stocker
8e70e61bfa
- added macro DOMXML_PARAM_ONE
...
@- added function domxml_dump_node($doc,$node). Dumps a node plus all
@ children into a string. (chregu)
2002-01-18 12:40:12 +00:00
Christian Stocker
afb8248e91
@- Added function domxml_node_get_content() (chregu)
2002-01-18 11:04:10 +00:00
Christian Stocker
793bc648bf
# sorry for the mixing of different things in this commit
...
- added DOMXML_PARAM_THREE macro
- renamed domxml_dumpmem to domxml_dump_mem, added alias for
domxml_dumpmem
- domxml_has_attributes was missing in in zend_function_entry
@- added function domxml_dump_file($filename,[$compression]). Dumps XML to
@ a file and uses compression, if specified (chregu)
@- added exslt integration (see http://exslt.org for details). To be
@ configured with --with-dom-exslt[=DIR] (and --with-dom-xslt) (chregu, jaroslaw)
2002-01-18 07:58:47 +00:00
Adam Dickmeiss
b2e578256e
New function yaz_es_result: Z395.0 Extended Services Result.
...
----------------------------------------------------------------------
2002-01-17 23:21:28 +00:00
Ilia Alshanetsky
5b20d4c067
Fixed shmop_read to append \0 to returned string in shmop_read to eliminate Zend warnings
2002-01-17 19:58:53 +00:00
Thies C. Arntzen
53f8b2d28b
@ - Don't touch any globals in session_unset() if register_globals is set
...
@ to off. (Thies)
guys, shoot me if i'm wrong, but when we have set register_globals to off we
should _not_ touch any global variables at any time, right? so all session
register/unregister should only work on $HTTP_SESSION_VARS and $_SESSION. this
patch fixes at least one spot where we were touching globals even with
register_globals set to off.
2002-01-17 18:56:11 +00:00
Thies C. Arntzen
dadf411b8d
@ - Added 3 new optional parameters to OCIFetchStatement(). They control
...
@ the number of rows to skip at the beginning of the cursor, the
@ maximun numer of rows that should be fetched and the format of the
@ returned array. (Thies)
# sorry, no time to write the docs for this right now...
2002-01-17 18:40:59 +00:00
Sterling Hughes
ce6c5801b3
Update for Sablotron .8
2002-01-17 17:21:38 +00:00
Yasuo Ohgaki
6c41675b0f
Use libxml2 header if there are older version. Reported by <jwagoner@wlion.com>
2002-01-17 01:18:25 +00:00
Jaroslaw Kolakowski
bde9576660
Added XsltStylesheet class with methods:
...
- domxml_xslt_stylesheet(string),
- domxml_xslt_stylesheet_doc(DomDocument),
- domxml_xslt_stylesheet_file(filename),
- process(DomDocument,parameters array) - previously domxml_xslt_process().
2002-01-17 01:13:39 +00:00
Yasuo Ohgaki
7dfff1a835
Export php_session_register_module/serializer
2002-01-16 23:24:37 +00:00
Rasmus Lerdorf
8f1eb93e0a
Fix typo
2002-01-16 22:32:40 +00:00
Marc Boeren
4ce7a79870
mysql_db_query is deprecated, fixed by using mysql_select_db and
...
mysql_query (Mc).
2002-01-16 16:28:50 +00:00
Yasuo Ohgaki
847fd9d595
Export php_session_register_module/serializer.
2002-01-16 04:56:35 +00:00
Andrei Zmievski
d0ed5b984c
- Fixed a bug with matching string containing null bytes.
2002-01-15 15:40:31 +00:00
Chris Jarecki
300b5c0955
- using macro in xpath_register_ns()
...
- fixed protos in xpath functions
2002-01-14 21:43:18 +00:00
Rui Hirokawa
0544cdca3a
fixed an error in mbstring caused by confliction with regex.
2002-01-14 03:08:40 +00:00
Rui Hirokawa
26a12ba990
fixed some link error of gd's configure.
2002-01-13 06:25:18 +00:00
Chris Jarecki
6536287267
- Added xpath_register_ns() function.
...
@ - Added xpath_register_ns() function.
@ It makes possible to issue XPath queries with namespaces
@ like for example: "//namespace:sampletag" (Chris Jarecki)
2002-01-13 01:17:34 +00:00
Gavin Sherry
0a8722a0ac
My bad. Left some stray debugging code in previous commit.
2002-01-12 07:38:35 +00:00
Gavin Sherry
e8baeb304a
See the update to dba_db3.c
2002-01-12 07:23:35 +00:00
Gavin Sherry
8f30e5f619
This fixes the notorious "mode 'c' fails" bug (see bugs - 10380, 10798, 11732). The bug originates from the fact that mode "c" for db3 sets 'type' to DB_UNKNOWN and mode DB_CREATE when the database already exists. The underlying library raises an error at this logical discrepancy: obviously one cannot create a database of unknown type.
2002-01-12 07:22:27 +00:00
Vlad Krupin
8df03e2814
Fixed segfault in imap_bodystruct() when called with an invalid message
...
number. Now it fails with a warning instead.
2002-01-12 05:39:07 +00:00
Jaroslaw Kolakowski
ca7c5978d9
Added domxml_node_replace_node() function.
2002-01-11 21:15:46 +00:00
Rui Hirokawa
c79f749ff8
@Added multi-byte enabled regex functions. (Rui)
2002-01-11 13:21:09 +00:00
Markus Fischer
1e2b854bba
- mkdir(): made second (mode) parameter optional, default to 0777
...
switched to zend_parse_parameters().
# Added vim 'noet' setting
2002-01-11 10:44:24 +00:00
Frank M. Kromann
d454f8bb3a
Adding functions to get BLOB/CLOB size from a lob_handle.
...
Added descriptions on most protos
2002-01-10 21:56:18 +00:00
Andrei Zmievski
ddc039d0f5
Fix the recursive counting, it was broken for associative or non-sequential
...
arrays. Also update NEWS file.
2002-01-10 21:31:06 +00:00
Yasuo Ohgaki
43c3d4495a
Fix startup crash
...
# Sascha, thanks for fixing poor patch :)
# mm save handler does not work regardlress of
# save path patch or not for some reason.
2002-01-10 12:08:39 +00:00
Markus Fischer
daecaa729c
- Unified error messages.
...
- Improved argument handling in dio_fcntl().
2002-01-10 09:09:19 +00:00
Sascha Schumann
770c39fed6
Improved code for handling PS(save_path)
...
Don't MFH before further testing
2002-01-10 07:37:10 +00:00
Sascha Schumann
bbda8d9678
Ws fix
2002-01-10 07:28:27 +00:00
Sascha Schumann
a1dbb4ab16
(PHP touch) Operate on a stack buffer.. no need for allocating newtime
...
on the heap.
2002-01-10 07:25:00 +00:00
Sascha Schumann
edfd6d0988
Add three-parameter touch() which enables users to set
...
mtime/atime to different values.
2002-01-10 07:21:57 +00:00
Yasuo Ohgaki
7d819fc0cf
Fix bug in test script
2002-01-10 06:44:02 +00:00
Yasuo Ohgaki
5c0dfdbdbe
Make use of save_path for mm file.
...
Patch by Henning Schmiedehausen <hps@intermeta.de>
Closes bug 14808
2002-01-10 06:14:40 +00:00
Sascha Schumann
3a86163f19
Make these tests succeed with non-standard settings
2002-01-10 05:11:19 +00:00
Markus Fischer
904e3e4a41
- Fix compilation. (Christian Stocker)
2002-01-10 01:53:22 +00:00
jim winstead
831473d76e
Rename finite/isinf/isnan to more standard is_*() names.
2002-01-09 23:59:05 +00:00
jim winstead
e68095972e
Move type-handling functions into ext/standard/type.c (which had
...
a few otherwise unused functions in it).
2002-01-09 23:47:46 +00:00
Markus Fischer
98220d2a82
- Correct some protos.
2002-01-09 16:51:53 +00:00
Derick Rethans
aee570302f
- Fix bug introduced in earlier patch
2002-01-09 16:03:36 +00:00
Uwe Steinmann
990c27a23a
- fixed typo in deprecated functionname
2002-01-09 08:09:16 +00:00
Yasuo Ohgaki
5e3ab6f514
- shmop_open has a new flag for read/write access, 'w'
...
- eliminated a segfault when trying to write to a SHM_RDONLY segment
- eliminated a segfault when an invalid flag which starts with 'a' or 'c' is passed
- updated creators' email addresses
- changed error messages to say shmop_* instead of shm* to correspond with new shmop_* function names
Patch by Ilia Alshanetsky (ilia@prohost.org )
# Please test :)
2002-01-09 08:02:21 +00:00
foobar
6d14a5c60b
- Fixed compile with older libxml.
...
# I had libxml 2.4.2 installed.
2002-01-09 03:42:30 +00:00
foobar
f50277f003
whitespace
2002-01-09 02:06:32 +00:00
Jaroslaw Kolakowski
b178addf5c
A
...
Changed names of functions:
- htmldoc() to html_doc(),
- htmldocfile() to html_doc_file(),
- domxml_htmldumpmem() to domxml_html_dump_mem(),
- htmldumpmem() to html_dump_mem().
2002-01-08 19:13:42 +00:00
foobar
a41ee123df
Some whitespace fixes (naugthy me :) and make use of PHP_CHECK_LIBRARY
...
macro instead of AC_CHECK_LIB.
# Better not touch LIBS anywhere. It might cause unexpected build problems
# if someone forgets to set it back in some config.m4..
2002-01-08 17:51:08 +00:00
Sterling Hughes
4afe145a10
Changed proto via Georg Richter's request.
2002-01-08 06:06:58 +00:00
Jaroslaw Kolakowski
415d5cbb75
- Added functions: htmldoc(), htmldocfile(), domxml_htmldumpmem().
...
- Added error handling for the libxml library.
- Added preliminary DOM XSLT support:
-- uses the libxslt library,
-- operates on DOM objects, not strings,
-- functions: domxml_xslt_process(), domxml_xslt_version().
2002-01-08 00:31:26 +00:00
Egon Schmid
ab32202968
Fixed some protos.
2002-01-07 06:58:01 +00:00
Rui Hirokawa
32c1b0fd2e
@added mb_get_info() to get internal settings of mbstring.
2002-01-07 02:40:54 +00:00
Markus Fischer
d4fa619d49
- Fix domxml_node_unlink_node() proto and return value.
2002-01-07 00:54:20 +00:00
Stig Venaas
9a307e4550
Added IPv6 support
...
@- Added IPv6 support in FTP extension. (Stig Venaas)
2002-01-06 23:10:54 +00:00
Stig Venaas
6e1878b0fc
Added some consts for arguments in network.c declarations. Moved
...
php_sockaddr_storage to php_network.h and added check for struct
sockaddr_storage
2002-01-06 11:54:19 +00:00
Markus Fischer
734b77d130
- Refuse attribute nodes on add_child() and add list destructor for PI
...
nodes. (Christian Stocker)
- Fix append_child() according to add_child().
- Fix some protos, minor code and warning message cosmetics.
2002-01-05 23:50:59 +00:00
jim winstead
4fb4c6d4b3
More tweaking of wordwrap() with the cut parameter set. It was being a
...
little too aggressive and cutting words without breaking at spaces
first. (A couple of tests were incorrect.)
2002-01-05 23:49:58 +00:00
jim winstead
ca15b22212
New memcpy()-based wordwrap() implementation. The simple case
...
(single-character break, no forced break) appears to be about 60%
faster, and there's simply no comparison for non-simple cases with
non-trivial amounts of text. The old algorithm was O(n^2) (with an
unfortunately large constant factor) because of the use of strncat(),
the new one is O(n). Added some more tests, too.
@ - Made wordwrap() significantly faster. (Jim)
# test case: $t = join('',file('ChangeLog')); $w = wordwrap($t,10,"\n",1);
# new code completes in less than a second. i'm still waiting for the
# old code to finish.
2002-01-05 20:46:43 +00:00
jim winstead
62395159a9
Fix the Win32 compile.
2002-01-05 08:29:53 +00:00
Egon Schmid
87ad1fdb3b
Fixed some protos.
2002-01-05 07:54:49 +00:00
jim winstead
b9d68b8e9d
Apparently multi_convert_to_double_ex() didn't quite do what I
...
thought. Still need to handle numeric strings.
2002-01-05 03:56:38 +00:00
jim winstead
461e105069
Fixed pow(), and added finite(), isinf(), and isnan(). Also fixed
...
pow() tests.
@- Fixed pow(), and added finite(), isinf(), and isnan(). (Jim)
# Jeroen was on crack, and apparently flunked arithmetic. Names of new
# functions subject to change if people get persnickety about them.
# (They're currently the same as the underlying C library function
# names. Hope nobody forgets to update the tests if they change the
# names.)
# Oh, and pow() uses the new parameter-passing API now.
2002-01-05 03:45:11 +00:00
jim winstead
4b8f435b2a
good grief, positive powers of 0 are well-defined. (code fix coming.)
2002-01-05 02:16:16 +00:00
jim winstead
9a171d03e8
Be more aggressive in making sure that substring matches are valid in
...
ereg_replace before trying to use them.
# i could have sworn i fixed this in php3. ereg() has similar logic, i
# guess i just missed ereg_replace. fixing this lets
# ext/standard/tests/reg/012.phpt pass on my debian/unstable box
2002-01-05 01:59:11 +00:00
Zak Greant
6823fb1fe7
Surprising how tests can fail when they don't have any supporting data :) Thanks for the catch Jan and Jim
2002-01-05 01:58:44 +00:00
Stig Venaas
2ac2b22c9b
Made ldap_modify() an alias for ldap_mod_replace(). The two were identical.
...
#For more info, see my posting on php-dev Dec 25th.
2002-01-04 20:56:03 +00:00
jim winstead
f68b7c5f3e
Fixed segfault in wordwrap() when wrapping to zero width and using
...
multi-character break or trying to force cut (bug #12768 , now fails
and issues a warning because forcing a zero-width cut doesn't make
sense). Also converted to new paramater-passing API and avoid making
an extra copy of the return values.
# also added tests.
@- Fixed segfault in wordwrap() when wrapping to zero width and using
@ multi-character break or trying to force cut (bug #12768 ). (Jim)
2002-01-04 19:48:08 +00:00
Sterling Hughes
1808802279
Added the O_NOCTTY option, for terminal i/o.
2002-01-04 19:42:31 +00:00
Hartmut Holzgraefe
0195cc8364
ncurses is useless in webserver modules
2002-01-04 14:15:51 +00:00
Hartmut Holzgraefe
25534467c7
more unquoted messages with kommas fixed
2002-01-04 14:15:25 +00:00
Hartmut Holzgraefe
5a8b199454
always quote messages with [...], *especialy* when using kommas in the text
2002-01-04 14:13:53 +00:00
Hartmut Holzgraefe
e69e9be289
proto fixes
2002-01-04 14:10:05 +00:00
Hartmut Holzgraefe
5560c7a686
use predefined function instead of hardcoded test
2002-01-04 14:08:50 +00:00
Hartmut Holzgraefe
dda970500e
proto fix
2002-01-04 14:08:25 +00:00
Hartmut Holzgraefe
3edcf21dda
proto fix
2002-01-04 13:51:03 +00:00
Hartmut Holzgraefe
ec89317ff2
check for library existance before adding them
2002-01-04 12:27:01 +00:00
Frank M. Kromann
5d0ac50c8b
Making error handling thread safe. Thanks to Paco Ortiz <fjortiz@comunet.es>
2002-01-03 23:08:21 +00:00
Hartmut Holzgraefe
c9bc54abc3
fix for bug #14832 : basename with 2nd parm corrupts source string
2002-01-03 20:20:35 +00:00
Markus Fischer
7603d13733
- Now use ZE's builtin zend_zval_type_name().
2002-01-03 14:32:36 +00:00
Markus Fischer
7f428de370
- domxml_node_add_child(): Perform deep copy before adding child to prevent
...
double memory freeing.
# I wonder how this could work before.
2002-01-03 13:20:04 +00:00
Markus Fischer
84b948a15f
- FTP_BINARY is more common instead of FTP_IMAGE.
2002-01-03 07:57:58 +00:00
Thies C. Arntzen
21cc717bac
protos fixes by Wolfgang Drews
2002-01-03 06:57:22 +00:00
Egon Schmid
e941df5d1a
Please, no punctuation mark at the end of the description.
2002-01-03 05:55:22 +00:00
Zak Greant
8c8b49ed20
Adding key_exists alias for array_key_exists, at the request of One-Who-Shall-Not-Be-Named-Because-He-Is-On-Vacation
2002-01-02 21:21:48 +00:00
Markus Fischer
f7bd38413e
- Corrected proto for ftp_connect() (new optional parameter for initial
...
custom timeout).
2002-01-02 15:01:15 +00:00
Markus Fischer
9bde60d148
- Added ftp_set_option(), ftp_get_option() and support for setting a
...
custom timeout.
# Adding custom buffer size would be next, no promises though.
2002-01-02 14:58:17 +00:00
jim winstead
8e6a16984a
jpeg2wbmp,png2wbmp: fix prototypes; _php_image_convert: simplify argument count checking
2002-01-02 01:25:48 +00:00
Markus Fischer
83ccb3e511
- Fixed ftp_fget() and ftp_mkdir() protos.
2002-01-02 01:05:10 +00:00
Markus Fischer
7c197409ae
- Corrected proto for ftp_fget().
2002-01-02 00:42:11 +00:00
Markus Fischer
8559f372fd
- Switched to zend_parse_parameters(), unified error/warning messages,
...
use real resources instead of integers, adjusted prototypes (hope I got
them all).
2002-01-01 22:15:22 +00:00
Adam Dickmeiss
a1432aa89a
Removal of non-essential parameters for non-piggyback search.
2002-01-01 14:09:03 +00:00
Jon Parise
a2d83ca4a4
Match the table style of the other single-row info entries.
2001-12-31 19:46:30 +00:00
Vlad Krupin
543077d915
Now dbase_pack() actually truncates the resulting .dbf file to the right
...
size (possibly fixing bug #6852 #3 ).
@Make dbase_pack() truncate the file to the right size. (Vlad)
2001-12-31 12:52:34 +00:00
Vlad Krupin
2f0cd79621
Verified and fixed bug 6852 #2 . Now memo fields are 10 butes long, not 9.
...
That does not seem to affect how the code works except when creating a new
structure, in which case 'M' fields used to get created with size 9.
@Fixed bug 6852 #2 . Mem fields are now 10 bytesin size, not 9. (Vlad)
2001-12-31 10:23:30 +00:00
Vlad Krupin
431c1f1d31
Verified and fixed bug 6852 #1 . No more null byte after terminating 0x0D.
...
Verified that the problem is real when creating new files and writing
a record. Both fixed and old versions seem to be able to somehow read
and write already existing files properly though.
@Fixed bug 6852 #1 . No more null byte after terminating 0x0D. (Vlad)
2001-12-31 09:13:08 +00:00
Egon Schmid
cc121adc54
Oops, missed one proto.
2001-12-31 05:37:19 +00:00
Egon Schmid
97e03e1573
Fixed some protos.
2001-12-31 05:25:30 +00:00
Egon Schmid
831dfbd011
Fixed some protos.
2001-12-31 04:57:25 +00:00
Georg Richter
69ce6a99a4
some prototypes changed
2001-12-30 19:14:12 +00:00
Zak Greant
f01745896f
chdir: corrected proto, converted to zend_parse_parameters
2001-12-30 10:13:08 +00:00
Zak Greant
3ac1646ef2
Corrected bug in php_mysql_fetch_hash() that prevented columns with NULL values from having both numeric and associative indexes. (Bug 14291)
2001-12-30 10:00:26 +00:00
Zak Greant
59a45acca6
chroot: corrected prototype, converted to zend_parse_parameters
2001-12-30 09:50:41 +00:00
Zak Greant
2f6ffb545e
Converted getenv to use zend_parse_parameters
2001-12-30 09:36:24 +00:00
Rui Hirokawa
427019cc76
added libfdftk for link path to make shared module.
2001-12-30 09:00:43 +00:00
Egon Schmid
adee5f9451
Fixed a proto.
2001-12-30 08:21:58 +00:00
Egon Schmid
9f69163453
Fixed some protos.
2001-12-30 08:12:29 +00:00
Egon Schmid
f347f25987
Fixed some protos.
2001-12-30 07:29:11 +00:00
Egon Schmid
a3e6298de3
Fixed some protos.
2001-12-30 06:46:53 +00:00
Yasuo Ohgaki
47e4a02a64
Get rid of error message
...
# These lines should be enabled when save handlers can be initialized
# before session module initialization.
2001-12-30 01:37:23 +00:00
Derick Rethans
57f3c395b8
- Removed is_array_multidimensional
2001-12-29 22:59:40 +00:00
Derick Rethans
ae07e93028
- Added test for recursive counting
2001-12-29 21:05:03 +00:00
Derick Rethans
cef0a461f9
- Added extra parameter to count() that recursively counts elements in an
...
array and added is_array_multidimensional(). (patch by Vlad Bosinceanu
<glipy@fx.ro>)
2001-12-29 20:59:59 +00:00
Andi Gutmans
211d712c59
@ Fix bug in krsort() where an extra character was being compared (Andi)
...
- Fix bug in krsort() where an extra character was being compared (Andi)
2001-12-29 20:47:25 +00:00
Andi Gutmans
66d88ba07b
- Fix bug in XML extension which exists due to a not perfect work around
...
- with ZE1. In ZE2 the correct code seems to work well.
2001-12-29 18:10:01 +00:00
Sebastian Bergmann
9063a96dfa
PHP 4.0 -> PHP 4. Patch by Martin Jansen <mail@martin-jansen.de>.
2001-12-29 14:23:58 +00:00
Georg Richter
df9dc889e0
1) fixed bugs in soft label key functions
...
2) insert new slk-functions
3) defined new key-constants
2001-12-29 11:48:30 +00:00
Vlad Krupin
2f307b2a53
fixed bug preventing pspell from building when pspell header files are
...
located in an unusual (e.g. /usr/local/include/pspell) location.
@fixed bug that made pspell include pspell.h from a wrong location. (Vlad)
2001-12-29 01:50:10 +00:00
Georg Richter
87932e1e59
mouse support for ncurses added:
...
ncurses_getmouse, ncurses_ungetmouse, ncurses_mouse_trafo, ncurses_wmouse_trafo
2001-12-28 10:35:53 +00:00
Dan Kalowsky
b76eb3ae40
Making PHP compile again on MacOSX 10.1
...
# 10.1 does not have inet_pton support yet it seems so disabling it.
2001-12-27 15:42:05 +00:00
Georg Richter
9c133dd23e
Added new functions: ncurses_waddstr, ncurses_wnoutrefresh, ncurses_wclear,
...
ncurses_wcolorset, ncurses_wgetch, ncurses_keypad, ncurses_wmove
minor changes in protos.
Special Thanx to Mathieu Kooiman for submitting his patches!
2001-12-27 08:49:12 +00:00
Stig Venaas
403350e41d
unbreak parallel search
2001-12-26 18:40:57 +00:00
Rui Hirokawa
e72d606c36
added code to remove overloaded function in RSHUTDOWN.
2001-12-26 15:21:13 +00:00
Derick Rethans
08c69a5aac
- Fix for bug 14690
2001-12-26 10:01:50 +00:00
Yasuo Ohgaki
fe81186629
Fix crash with external session save handlers
...
# This fixes only a little issue with sub modules
# More fixes are needed to make sub modules work correctly.
# 4.1.x also has the same problem....
2001-12-26 01:55:54 +00:00
Mark L. Woodward
05fd3d04f3
Moved "ifdef HAVE_PHP_SESSION" oops!
2001-12-26 00:50:09 +00:00
Georg Richter
1ca88c9276
activated ncurses_instr
...
New functions: ncurses_longname, ncurses_termname, ncurses_mousemask
2001-12-25 23:30:55 +00:00
Stig Venaas
a05e74cd29
Added check for ldap_parse_reference() (needed for broken Solaris 2.8), and
...
report more detailed library version info in the info function.
2001-12-25 14:36:06 +00:00
Georg Richter
ae090a31a5
functions ncurses_erasechar, ncurses_inch, mcurses_killchar:
...
changed return values from bool to string (char)
2001-12-25 13:34:06 +00:00
Sterling Hughes
85fa03aab3
Avoid a segfault when 0 bytes are returned from a website, and RETURNTRANSFER is enabled.
2001-12-24 13:58:03 +00:00
Mark L. Woodward
04999445d7
Major cleanup
2001-12-23 19:58:22 +00:00
Mark L. Woodward
5514a3e582
A php script which shows how to use msession with PHP sessions
2001-12-23 19:58:00 +00:00
Mark L. Woodward
84d3bfc0ea
Added php.ini entry info.
2001-12-23 19:57:33 +00:00
Stig Venaas
ed942af693
Made ldap_set_option work with NULL as link, added option
...
LDAP_OPT_DEBUG_LEVEL for those that support it, and made sure the rebind
code is currently included for OpenLDAP only.
2001-12-23 16:32:06 +00:00
Markus Fischer
7cf14fb1e1
- Fix tiny leak.
2001-12-23 15:56:41 +00:00
Rui Hirokawa
8488a5a475
@added function overload in mbstring to add multibyte support for string and mail functions.
2001-12-23 15:32:08 +00:00
Alex Waugh
57d2cec170
Check for ushort
2001-12-23 14:37:24 +00:00
Mark L. Woodward
c20deee43d
Renamed msession_getdata and msession_setdata to
...
msession_get_data and msession_set_data respectively.
2001-12-23 02:22:09 +00:00
Derick Rethans
b498ec567c
- Fix for bug 14554 - segfault upon zip_entry_open. (patch by
...
phpbug@robin.pfft.net )
2001-12-23 01:59:10 +00:00
Alex Waugh
e320de1e2e
Undefine AF_UNIX under RISC OS
2001-12-23 00:46:13 +00:00
Alex Waugh
3b09117535
Cache results of check for int8
2001-12-23 00:41:27 +00:00
Hartmut Holzgraefe
ebe7376243
re-added prototype folding hooks
2001-12-22 18:54:40 +00:00
Hartmut Holzgraefe
0d69607ebd
*now* it is backwards compatible ...
2001-12-22 18:47:59 +00:00
Mark L. Woodward
dc474647e9
Toned down a comment that was written in the heat of the moment.
2001-12-22 13:33:19 +00:00
Derick Rethans
e8f3e3ffa0
- Let ceil also return a float in every case
2001-12-22 11:53:29 +00:00
Derick Rethans
6729156450
- Add test for floor and ceil
2001-12-22 11:52:56 +00:00
Zak Greant
2c9f5d8a91
Modified array_walk, arsort, asort, krsort, ksort, rsort, shuffle, sort,
...
uasort, uksort and usort.
Corrected prototype comments for all.
Converted to use zend_parse_parameters, except for the u.?sort functions.
Changed return values for failure from implicit NULL to explicit FALSE in
asort(), krsort(), and ksort().
Changed pval to zval in the u.?sort functions.
Added test to help ensure that fixes to code do not change function
behavior. Tests are quite large (~237k) but compress down to ~16k.
Please let me know if this is a problem!
2001-12-22 11:49:56 +00:00
Zeev Suraski
431c793e0c
Fix a warning
2001-12-22 03:04:32 +00:00
Zeev Suraski
2f8284ca0a
Fix a warning and remove a printf() that slipped in...
2001-12-22 03:04:14 +00:00
Mark L. Woodward
f6c98834ea
Added msession_call
2001-12-22 02:10:43 +00:00
Mark L. Woodward
1c057aaf67
reverted chages
...
Restored zend_get_parameters_ex
Put back ansi brackets
Added author note.
Added msession_call
2001-12-22 02:10:19 +00:00
Derick Rethans
ca1bcd9ac3
- Fix for bug #14646 , floor() always returns a float now.
2001-12-21 16:38:49 +00:00
Markus Fischer
ba1d89b386
- Typo.
2001-12-21 12:57:17 +00:00
Derick Rethans
e5c08b815f
- Added open basedir checks to file functions. (Patch by
...
Christoph Kassen <chkassen@chkassen.de>)
2001-12-21 08:04:21 +00:00
Sean Bright
25058db066
Use memset() instead.
2001-12-21 03:50:07 +00:00
Sean Bright
33730ca2b9
Initialize variable to avoid bogus data and possible segfault.
2001-12-21 03:10:11 +00:00
Sean Bright
0ca4f69d31
Switched some functions to use zend_parse_parameters, cleaned up some
...
unused variables and some whitespace work.
2001-12-21 01:53:25 +00:00
Sebastian Bergmann
825198e7f7
Update header.
2001-12-20 17:08:16 +00:00
Colin Viebrock
0222aed97b
Add headers and Id lines
2001-12-20 16:50:49 +00:00
Markus Fischer
529761f0f7
- Fix crash with EntityRef nodes (and properly support them).
2001-12-20 14:40:43 +00:00
Yasuo Ohgaki
d9149f023d
Added when experimental functions are added.
2001-12-20 02:31:44 +00:00
Yasuo Ohgaki
806f578365
Updated README. Module will not cancel queued query sent.
2001-12-19 05:57:57 +00:00
Yasuo Ohgaki
4ae3af8a3c
Do not cancel queued query automatically.
2001-12-19 05:41:26 +00:00
Yasuo Ohgaki
8e52216b2e
More proper error message.
...
Remove old lines that aren't needed.
2001-12-18 23:52:55 +00:00
Yasuo Ohgaki
ee012b03c1
Get rid of useless path from seach path
2001-12-18 23:47:12 +00:00
Andrei Zmievski
0858fb4b73
@- Added flags parameter to preg_grep(). The only flag currently is
...
@ PREG_GREP_INVERT that will make the function return entries that
@ did not match. (Andrei)
2001-12-18 19:17:57 +00:00
Frank M. Kromann
92e1241ca9
Adding missing define, needed to build with FrontBase 3.4 and later
2001-12-18 17:40:17 +00:00
Hartmut Holzgraefe
7dd8ded152
typo fix
2001-12-18 11:16:53 +00:00
Hartmut Holzgraefe
dcda91c1a1
proto fix
2001-12-17 21:01:06 +00:00
Derick Rethans
e51ce799af
- Try to be a little bit more sane dealing backwards compability
2001-12-17 20:18:16 +00:00
Hartmut Holzgraefe
f0c0b88fdd
proto fix
2001-12-17 20:06:29 +00:00
Rui Hirokawa
1524fa7287
output encoding translation turn off in mb_output_handler() when non-text (binary) data was sent.(Patched by Kanemoto.)
2001-12-17 15:30:08 +00:00
Hartmut Holzgraefe
a16b64b7aa
yet another proto fix
2001-12-17 12:14:46 +00:00
Hartmut Holzgraefe
eb42e4a847
proto fixes
2001-12-17 11:53:38 +00:00
Hartmut Holzgraefe
67d9cd6975
proto fix
2001-12-17 11:48:07 +00:00
Hartmut Holzgraefe
8a13c8788e
added proto descriptions
2001-12-17 10:59:52 +00:00
Yasuo Ohgaki
3778705036
Actually drop test table.
...
# name is dropdb since it may be changed to actually destory test db
2001-12-17 02:20:43 +00:00
Yasuo Ohgaki
0f12a9ca33
Use database named test for testing
2001-12-17 02:09:07 +00:00
Yasuo Ohgaki
ff219f1f21
Fix compile error
2001-12-17 01:03:52 +00:00
Yasuo Ohgaki
1fc2a27fa5
Funtion rename:
...
Functions are renamed accoding to coding stanard. Some functions has
completely different name now.
New functions:
pg_copy_to()/pg_copy_from() - by Youichi Iwakiri <yiwakiri@st.rim.or.jp>
pg_lo_tell()/pg_lo_seek()/pg_result_error()/pg_result_status()
pg_escape_string()/pg_escape_bytea() - Only pgsql 7.2 or later.
Fixed:
Wrong mode when clean up connection resource.
Compiler warning for pg_encoding_to_char().
# Please do not document new functions, yet.
# For new functions and other info, please read README
# in module dir.
2001-12-17 00:24:59 +00:00
Yasuo Ohgaki
9a40810c85
Added test files
2001-12-17 00:16:48 +00:00
Rui Hirokawa
26e30dc606
added an option mbstring.func_overload to overload some function by multibyte enabled version of function in mbstring.
2001-12-16 22:58:24 +00:00
Yasuo Ohgaki
13dbb1553c
README update
...
Raise error for bogus installation path for --with-pgsql
Added check for pg_escape_*
2001-12-16 15:36:33 +00:00
Derick Rethans
d578e05f96
Mail should go to php-dev
2001-12-16 13:04:02 +00:00
Derick Rethans
3709eb6ab2
- Fix for bug #14544 , bogus warning in pow()
...
#- I think I do not need to tell who screwed this up....
2001-12-16 10:59:20 +00:00
Hartmut Holzgraefe
424679e9fb
proto fixes
2001-12-16 10:18:45 +00:00
Hartmut Holzgraefe
afba31f440
proto fixes
2001-12-16 09:56:01 +00:00
Zeev Suraski
9590c5173c
Fix bug #13456 - I'm unable to actually test it
2001-12-15 17:09:37 +00:00
Derick Rethans
f5f4a5cf37
- TSRMLS here and there, it's all about the Windows flair
2001-12-15 14:55:18 +00:00
Derick Rethans
143df7de6b
- Added a second parameter to var_export which makes the function return
...
the variable representation in a string.
2001-12-15 14:45:59 +00:00
Hartmut Holzgraefe
052d5fc85d
proto fix
2001-12-15 14:23:07 +00:00
Hartmut Holzgraefe
c51651dee2
proto fixes
2001-12-15 14:22:59 +00:00
Hartmut Holzgraefe
57c7f0ab5c
cleanup
2001-12-15 14:20:41 +00:00
Hartmut Holzgraefe
1c23d93135
removed a stray proto comment
2001-12-15 14:20:00 +00:00
Hartmut Holzgraefe
43d0919298
improved xml generatioimproved xml generation
2001-12-15 14:19:13 +00:00
Hartmut Holzgraefe
72c7872e7f
proto fix
2001-12-15 14:12:33 +00:00
Derick Rethans
9f6ff716c1
- Added TODO file
2001-12-15 13:18:51 +00:00
Derick Rethans
856c9fa57b
- Fix for bug 14162, invalidate the resource then mcrypt_generic_init fails
2001-12-15 13:17:55 +00:00
Markus Fischer
e1d33db97f
- Damn Typo.
2001-12-14 21:03:06 +00:00
Markus Fischer
022bef6ca7
- Remove redundant code.
2001-12-14 20:48:29 +00:00
Thies C. Arntzen
7155e1311f
add todo
2001-12-14 09:42:39 +00:00
Jason Greene
2807e1742f
Add myself as a maintainer
2001-12-14 05:58:28 +00:00
Vlad Krupin
fb8c063249
Fixed bug #5993 . Now if the result returned from a database is bigger
...
than a long, dbase_get_record() and dbase_get_record_with_names() will
return a string instead.
# Need to update documentation to reflect that change
@ Fixed problem with dbase not returning very large (larger than long)
@ integers properly. (Vlad)
2001-12-14 04:22:01 +00:00
foobar
ae24aa4b8e
Got some undefined symbol without this patch..
...
# Also, shouldn't this extension be only available when building a CGI ?
2001-12-14 03:05:54 +00:00
Derick Rethans
cf8c1ef7b4
- Remove debug stuff
2001-12-13 21:12:53 +00:00
Derick Rethans
0adf145a9f
- Fixes for bugs 10324, 12777, 14488 and 13399
...
@- Fixed several crash bugs in the mcrypt extension (Derick)
2001-12-13 20:44:40 +00:00
Sterling Hughes
c55f8b96c9
MFB
2001-12-13 16:27:39 +00:00
Hartmut Holzgraefe
39fcedd78c
more proto descriptions and fixes
2001-12-13 14:40:40 +00:00
Rui Hirokawa
5f8a57efec
added mbstring to maintainers list.
2001-12-13 14:31:16 +00:00
Thies C. Arntzen
b8b0a6ac27
typo
2001-12-13 12:23:32 +00:00
Hartmut Holzgraefe
4fb28d67b6
- new parameter parsing api used
...
- added proto descriptions (not complete)
- swapped x/y arguments
- indentation style fix (no seperate WS fix as most of the file changed anyway)
2001-12-13 09:06:11 +00:00
Hartmut Holzgraefe
3686d84a68
editor preferences for XML files updated
2001-12-12 20:49:44 +00:00
foobar
657ce39a28
Fixed a typo and added [] around the message text.
2001-12-12 15:42:25 +00:00
foobar
97a29e07c9
More ZTS fixes.
2001-12-12 15:32:08 +00:00
foobar
bc033a67db
Fixed some compile problems (in ZTS mode)
2001-12-12 15:04:23 +00:00
Sebastian Bergmann
515e8c2c0e
Move PHPDoc extension to PECL.
2001-12-12 11:21:43 +00:00
Jan Kneschke
63a566c65a
added the new PHPDoc extension which transform PHP-Code into a XML
...
representation.
The XML output will be used by PHPDoc as it provides more accuracy and
speed.
2001-12-12 09:46:27 +00:00
Andrei Zmievski
14ea586525
Since PHP method names are case-insensitive, we have to fold access to 'FOO'
...
and 'foo' properties into a call to the same accessor.
2001-12-12 02:53:05 +00:00
Andrei Zmievski
727ef4b94f
Ack, apparently in statically linked-in extensions we have to clean the
...
hash of overloaded classes on request shutdown. Also, added some fold
markers and rearranged some defines.
2001-12-12 02:27:49 +00:00
Stig Bakken
dd969337a0
return boolean where appropriate
2001-12-12 01:36:07 +00:00
Hartmut Holzgraefe
cc4b274a58
ereg functions will now take in account the real number of
...
subexpressions instead of simply assuming a fixed count of 10
2001-12-11 19:28:31 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Yasuo Ohgaki
02c1e81a54
More README update.
2001-12-11 08:15:25 +00:00
Yasuo Ohgaki
f4eff912d9
README update
2001-12-11 07:57:48 +00:00
Yasuo Ohgaki
35cc422378
Added README file for pgsql module
...
Added my self to CREDIT
2001-12-11 07:44:46 +00:00
Andrei Zmievski
51a29e57f8
Show example of property-specific accessors.
2001-12-11 04:45:58 +00:00
Andrei Zmievski
b197b8d104
This commit implements property-specific accessors.
...
When overload() is called, it not only scans for general handlers, but
also for any methods beginning with __get_ and __set_ and saves a list of
them. Then when a property is accessed, e.g. $obj->x, the extension will first
check whether __get_x() is available, and will call it if it is, otherwise
it will invoke the general __get() handler.
2001-12-11 04:41:15 +00:00
Andrei Zmievski
0c509e5cf8
Modified __call() handler to accept a byref return value parameter that
...
should be filled in. The __call() handler is now supposed to return true
or false, depending on whether it was successful or not.
2001-12-10 17:20:04 +00:00
Sterling Hughes
737b6f8b13
Spaces -> Tabs
2001-12-10 13:22:48 +00:00
Sergey Kartashoff
678613b9d8
- mnogosearch example updated to include searchd support
2001-12-10 07:21:50 +00:00
Sergey Kartashoff
f9f46598a9
- Fixed search daemon support in mnogosearch module.
2001-12-10 07:11:50 +00:00
Yasuo Ohgaki
9b405fa636
Fix proto
2001-12-10 06:14:03 +00:00
Yasuo Ohgaki
db8bb9f23c
Added async query functions
2001-12-10 04:02:08 +00:00
foobar
1066633281
Enable it for real.
2001-12-10 00:38:18 +00:00
Stig Bakken
70ea4df4af
* enable overload extension by default
2001-12-10 00:33:01 +00:00
Stig Bakken
f22f8adedd
* use macros in error messages
2001-12-09 22:39:24 +00:00
Andrei Zmievski
0ba80e7943
*** empty log message ***
2001-12-09 04:34:54 +00:00
Andrei Zmievski
2f4035c833
Adjust to account for latest changes.
2001-12-09 04:31:33 +00:00
Andrei Zmievski
36c4708a84
- Only destroy the current object if it was received from the __get() handler.
...
- Changed the way method arguments are passed to __call() handler. They are
now encapsulated inside of an array, which makes it easier to pass them
to call_user_func_array().
2001-12-09 04:28:23 +00:00
foobar
068be1721f
Fixed a typo.
2001-12-09 02:02:44 +00:00
Sterling Hughes
c8ef634f1b
Align comments in xslt.c
...
First try at fixing funny resource free'ing problems with objects, don't
perform a zval seperation when we're directly saving a pointer to the SAX
or Scheme handlers
2001-12-09 01:18:20 +00:00
Derick Rethans
a7b9d5590b
- Remove debug code
2001-12-08 23:46:19 +00:00
Derick Rethans
3cb1db985e
- Added var_export, which shows a representation of a variable, much like
...
var_dump, but in such a way you can use it as PHP code.
@- Added var_export, which shows a representation of a variable, much like
@ var_dump, but in such a way you can use it as PHP code. (Derick)
2001-12-08 23:44:34 +00:00
Andrei Zmievski
7b7f46aa2d
- Fix memory leak when accessing undefined index or property.
...
- Only invoke call_get_handler() on an object in the chain if it's overloaded.
2001-12-07 22:03:19 +00:00
Markus Fischer
363a8b69c9
- Fix crash with invalid option to xslt_set_scheme_handlers().
2001-12-07 18:16:29 +00:00
Rasmus Lerdorf
ff3774d1ee
Let's not crash when no error str has been set
2001-12-07 17:29:53 +00:00
Dan Kalowsky
89aa330637
Fix for bug #13628 .
...
# basically handles a SQL_ERROR case for all odbc_execute()'s
2001-12-07 17:21:49 +00:00
Thies C. Arntzen
9fff2f7bbe
fix #13801 (imap_rfc822_parse_adrlist changes arg1)
2001-12-07 16:48:36 +00:00
Andrei Zmievski
480d2b5624
Make sure refcount is 1 on stack zval.
2001-12-07 14:30:55 +00:00
Hartmut Holzgraefe
8e29c1e9ee
old stuff removed
2001-12-07 14:25:10 +00:00
Sterling Hughes
d95a4e2c19
Fix long2ip's handling of unsigned longs, by accepting a string argument and
...
then manually converting the string to an unsigned long using strtoul()
2001-12-07 13:20:18 +00:00
Hartmut Holzgraefe
836e8af6ff
proto fixes
2001-12-07 10:17:20 +00:00
Hartmut Holzgraefe
7c8dc40fe3
proto fix
2001-12-07 10:10:47 +00:00
Hartmut Holzgraefe
126e776bb1
- proto descriptions
...
- changed to new parameter parser api
- changed to K&R style
- various cleanups
2001-12-07 09:49:26 +00:00
Egon Schmid
b847333273
Fixed one proto.
2001-12-07 09:47:35 +00:00
Egon Schmid
9f456af68b
Fixed some protos.
2001-12-07 09:34:50 +00:00
Stig Bakken
9b17045bdd
* configure help indent fix
2001-12-07 09:08:02 +00:00
Hartmut Holzgraefe
94737d086f
proto fix
2001-12-07 07:27:00 +00:00
Hartmut Holzgraefe
15515da8a2
protos prepared
2001-12-07 07:21:05 +00:00
Andrei Zmievski
1ec143228a
All right, let people RTFM.
2001-12-07 06:19:20 +00:00
Andrei Zmievski
9a1f3b48a9
Add fold markers in strategic places and improve MINIT function a bit.
2001-12-07 06:15:02 +00:00
Andrei Zmievski
ecd484ac21
If the method exists in object's function table, call it directly without
...
using __call() handler.
2001-12-07 06:08:15 +00:00
Andrei Zmievski
9789e43af1
Support overloaded method calls via __call().
2001-12-07 05:46:02 +00:00
Hartmut Holzgraefe
8b95f1005f
added protos (but without description yet)
2001-12-06 22:27:49 +00:00
Hartmut Holzgraefe
6ebc57505c
some cleanup of ext_skel stuff
2001-12-06 21:55:34 +00:00
Hartmut Holzgraefe
bd1ac39821
whitespace/indent
2001-12-06 21:51:52 +00:00
Hartmut Holzgraefe
49cc65cdae
renamed rot13 to str_rot13()
2001-12-06 21:39:01 +00:00
Hartmut Holzgraefe
7a3c3e85ad
proto fix
2001-12-06 19:18:41 +00:00
Hartmut Holzgraefe
71028d46cf
ported rot13() from php3
2001-12-06 19:02:27 +00:00
Hartmut Holzgraefe
c1626365f9
proto fixes
2001-12-06 18:59:22 +00:00
Hartmut Holzgraefe
552ee2a247
proto fixes
2001-12-06 18:37:05 +00:00
Hartmut Holzgraefe
250aded265
proto fixes
2001-12-06 17:51:48 +00:00
Hartmut Holzgraefe
75b47ad142
fixing the proto fixes
2001-12-06 17:18:10 +00:00
Hartmut Holzgraefe
38472b48d7
proto fix
2001-12-06 17:15:59 +00:00
Hartmut Holzgraefe
b74a38968a
proto fix (sort of)
2001-12-06 17:11:42 +00:00
Hartmut Holzgraefe
e5f4a7541d
proto fixes
2001-12-06 17:09:09 +00:00
Zeev Suraski
990e2612cc
Work around a quirk in the MySQL client library to fix unbuffered queries
2001-12-06 15:04:23 +00:00
Zeev Suraski
a702dc02f9
Fix session_unregister()
2001-12-06 14:20:20 +00:00
Zeev Suraski
2258453ba3
Remove PS_DEL_VAR macro, always use PS_DEL_VARL()
2001-12-06 13:33:10 +00:00
Sterling Hughes
84ed9d387f
use PHP_INFO_ALL and PHP_CREDITS_ALL instead of hardcoding them
2001-12-06 13:31:34 +00:00
Sterling Hughes
91c6db000f
2 arguments, not 3
2001-12-06 11:44:38 +00:00
Markus Fischer
2b615c3ba4
- Prototype new parameter which forces the creation of new links.
2001-12-06 09:56:24 +00:00
Jason Greene
49c3d762ee
Fix broken format string in socket_recv -> zend_parse_parameters
...
Rewrote socket_setopt and socket_getopt to be cleaner
@Added support for SO_RCVTIMEO and SO_SNDTIMEO to ext/sockets (Jason)
2001-12-06 04:44:23 +00:00
foobar
686380b824
Fix test when allow_call_time_pass_reference = Off
2001-12-06 04:43:58 +00:00
Hartmut Holzgraefe
c08d1ad74c
proto fix
2001-12-05 23:07:13 +00:00
Hartmut Holzgraefe
2c93a6ac2d
proto fixes
2001-12-05 23:01:21 +00:00
Hartmut Holzgraefe
6a42e63dee
proto fix
2001-12-05 22:43:21 +00:00
Hartmut Holzgraefe
41d93ca3fd
proto fixes
2001-12-05 22:38:49 +00:00
Sascha Schumann
ab38ad27a5
increase timestamp, because make tries to regenerate this file without any reason
2001-12-05 21:45:33 +00:00
Hartmut Holzgraefe
648648ff1b
proto fix
2001-12-04 22:57:16 +00:00
Hartmut Holzgraefe
d9f641aa34
proto fix
2001-12-04 22:49:53 +00:00
Hartmut Holzgraefe
e3fdc42dfa
proto fixes
2001-12-04 22:46:06 +00:00
Hartmut Holzgraefe
a1cc1fddd8
proto fixes
2001-12-04 21:18:26 +00:00
Sterling Hughes
886ad91adf
Make the length parameter to fgets optional (defaults to 1024)
2001-12-04 19:40:48 +00:00
Frank M. Kromann
08978fc3f4
Enable imap_mail() on win32
2001-12-04 18:47:32 +00:00
Sebastian Bergmann
46c3d99a9c
Mark ext/java as what it is: experimental.
2001-12-04 13:19:42 +00:00
foobar
9c462b0d01
typo fix
2001-12-04 00:28:36 +00:00
foobar
c247b8081e
- Let's not default to any set of extra libraries. This way any kind of
...
builds of pdflib work. And this configure stays simple.
2001-12-03 23:54:10 +00:00
Shane Caraveo
7b03b7571b
Make xmlrpc module compilable on windows. compiles, but untested.
2001-12-03 22:33:32 +00:00
Andi Gutmans
288d96229e
- Missed one
2001-12-03 20:55:59 +00:00
Andi Gutmans
67122717a4
- Nuke REGISTER_MAIN_*. Extension maintainers please make sure I didn't
...
- change something I wasn't supposed to. It should be fine IMO.
2001-12-03 20:54:23 +00:00
Sascha Schumann
74de59dff1
Fix declarations of static variables. Builds on AIX now.
2001-12-03 15:32:12 +00:00
Sterling Hughes
80f4a863f9
Add a content length field to perhaps eliminate null truncation
2001-12-03 12:24:03 +00:00
Sterling Hughes
fa58a95035
Re-add support for HTTP file uploads
2001-12-03 09:19:14 +00:00
Sterling Hughes
734708319f
MFB
2001-12-03 08:28:12 +00:00
Derick Rethans
1f14640b3e
- Added ob_get_level, which returns the nesting level of the output buffering
...
mechanism. (patch by Yasuo Ohgaki <yasuo_ohgaki@yahoo.com>)
@- Added ob_get_level, which returns the nesting level of the output buffering
@ mechanism. (Yasuo, Derick)
2001-12-03 07:43:53 +00:00
Frank M. Kromann
03b5cb6775
Make php_reg_replace available from shared extensions
2001-12-03 05:15:29 +00:00
Frank M. Kromann
e7ef5041d5
Make php_MD5* functions available from shared extensions
2001-12-03 05:14:28 +00:00
Frank M. Kromann
8e40864770
Make _php_math_number_format available from shared extensions
2001-12-03 05:12:48 +00:00
Frank M. Kromann
c07cf5c2a5
Make php_startpage and php_getlastmod available from shared extensions
2001-12-03 05:11:29 +00:00
Frank M. Kromann
b4d9b70c6e
Make php_setcookie available from shared extensions
2001-12-03 05:10:10 +00:00
Harald Radi
8d8f148d98
added mssql_fetch_assoc() to be more mysql conform
...
changed mssql_fetch_array() back to its default behaviour (MSSQL_BOTH)
2001-12-02 21:10:15 +00:00
Hartmut Holzgraefe
34feef0d6b
- switch to new paramter parser
...
- make sure To: and Subject: do not end with a newline character
2001-12-02 17:57:17 +00:00
Markus Fischer
3f9f54dcca
Please Egon.
2001-12-02 17:40:38 +00:00
Bernd Roemer
99639f5812
Allow unserializer_callback_func to be turned off.
2001-12-02 17:31:11 +00:00
Markus Fischer
949d0d7002
- Standardize function to accept either $obj->foo or domxml_foo($obj)
...
where they should.
- Use xml*Len functions where available.
- Workaround in set_content() to prevent crash.
- Cleaned up php_xpathptr_eval().
- Added NO_ARGS check where missing; moved check for $this always
before arg parsing.
2001-12-02 16:17:51 +00:00
Daniel Beulshausen
bfb066ee96
fix CFLAGS, how could this have worked before?
2001-12-02 14:01:22 +00:00
Markus Fischer
31a74b4aec
- Reverted macro moving stupidity (thx to Sterling).
2001-12-02 12:21:50 +00:00
Derick Rethans
896faf0b34
- Fix a bug in timezones +0100 and -0100
2001-12-02 11:35:28 +00:00
Sergey Kartashoff
77111db912
- Added synonym stuff support to mnogosearch module. Slightly changed
...
stored API. Example updated.
2001-12-02 10:24:39 +00:00
Egon Schmid
3c01151a08
I hope that this is a better explanation as unknown.
2001-12-02 10:00:15 +00:00
Egon Schmid
286d420740
Fixed some protos.
2001-12-02 09:41:27 +00:00
Egon Schmid
90e15c04c9
Fixed two protos.
2001-12-02 09:29:09 +00:00
Sergey Kartashoff
8b99a7385d
- Mnogosearch module stored API slightly changed. Example updated.
2001-12-02 07:25:26 +00:00
Rasmus Lerdorf
0c5e2d2439
Oops, FOO_VERSION doesn't exist
2001-12-02 00:59:44 +00:00
Rasmus Lerdorf
8dce85c2f2
Make ext_skel generate backward compatible module sources
...
(flight from London to Paris is too short for any real work)
2001-12-02 00:42:22 +00:00
Sergey Kartashoff
6687828100
- Added stored API to mnoGoSearch module. Now you can check
...
if URL is places at the stored database ot not. Example updated.
2001-12-01 20:09:15 +00:00
Markus Fischer
222fe23275
Last commit:
...
- Fix segfault in xmldoc().
- Proper free zval in php_xpathptr_eval().
This one:
- Fix segfault in php_xpathptr_eval().
- Fix win32 build (TSRMLS_FETCH issues).
- More sanity checking in php_xpath_get_object(), php_xpath_get_context()
and php_dom_get_object().
- Moved macros into header file.
- Register le_domxmldtd, le_domxmlcdatap (removes anoying warning message on shutdown).
- Fig segfault in node_children() with unsupported node types.
- Fix leak in php_domobject_new() with unsupported note types.
- Fix leak when freeing xpath context/objects.
- Reverted behaviour change to append_child() [old crashes].
- set_content() also sets the node->content property.
# Testers/patches/contribs welcome.
2001-12-01 19:42:34 +00:00
Derick Rethans
29cd309944
- Fix a crash when passing e.g. NULL to basename(). (Patch by Markus
...
Fischer <mfischer@guru.josefine.at>)
#- Simplyfied code using zend_parse_parameters().
2001-12-01 15:45:55 +00:00
Thies C. Arntzen
0fd809a770
improve last patch:
...
non existant object variables are now serialized as NULL, this saves us from
buffering the serialized data.
2001-12-01 15:17:50 +00:00
Thies C. Arntzen
7ff5198c53
serialized data would be incoorect if __sleep() returned a variable-name
...
which is non-existant in the object.
submitted by: Bernd Roemer <berndr@bonn.edu>
2001-12-01 15:06:37 +00:00
Sergey Kartashoff
16344800b2
- mnoGoSearch module usage example (searchlite) updated to support
...
StoreDoc stuff.
2001-12-01 14:12:27 +00:00
Sergey Kartashoff
f70e998794
- StoreDOC support has been added to mnogoSearch module.
2001-12-01 14:05:13 +00:00
Stig Venaas
80d8e554d3
ldap_first_attribute and ldap_next_attribute has been completely broken
...
for 6 months!! Fixed (I think), might be a memory leak there...
2001-11-30 23:37:43 +00:00
Brian Bruns
8a33c1cace
Detect FreeTDS to work around different library sets
2001-11-30 22:12:31 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
Derick Rethans
9190271cef
- Added ob_flush and ob_clean functions, which do not end the buffer like
...
ob_end_flush and ob_end_clean do.
@- Added ob_flush and ob_clean functions, which flush and clean an
@ output buffer without destroying the buffer. (Derick)
2001-11-30 10:48:38 +00:00
foobar
2b88417b8c
This is better way to configure. PDFlib 3/4 can be compiled with external libs too..
2001-11-30 04:46:36 +00:00
Stig Venaas
088c7a6044
Adding ldap_set_rebind_proc() for APIs with V3 3 arg variant, need more
...
testing.
2001-11-29 20:26:20 +00:00
Stig Venaas
ce4c65a60d
Making the link resource point to a structure that contains the LDAP
...
link, rather than point to it directly.
# This makes it much easier to store and retrieve per-connection PHP state.
2001-11-29 20:17:17 +00:00
Thies C. Arntzen
3ee263e348
i'm sure i had this compile before;-)
2001-11-29 08:18:50 +00:00
Thies C. Arntzen
5a67b295e6
fix a crash in socket_connect (if hostname was not resolvable)
...
initialize max_fd in various fdset function
fix error checking in _read and _write
2001-11-29 08:09:39 +00:00
Uwe Steinmann
9ed2694ce0
- introduced several macros to simply code (done by Markus Fischer)
2001-11-28 12:07:17 +00:00
Frank M. Kromann
1436374c40
Removing winutil.c from this project. the functions needed are found in php4ts.dll
2001-11-27 00:08:36 +00:00
foobar
cc196f5b54
Show the registered ini entry in phpinfo()
2001-11-26 22:56:36 +00:00
foobar
ef64e8336f
Updated file since .re changed.
2001-11-26 22:46:15 +00:00
Derick Rethans
534b0f7e06
- Also patch the file from which var_unserializer.c is generated
2001-11-26 22:33:44 +00:00
Derick Rethans
06cdf297a8
- Adding a callback mechanism to the unserializer. (patch by Bernd
...
Roemer <berndr@bonn.edu>)
#- An explainatory e-mail will be send to php-dev
2001-11-26 21:04:21 +00:00
Rui Hirokawa
ac39c13b1c
fixed a link error in configure script.
2001-11-25 22:20:27 +00:00
Egon Schmid
feee0f5a08
Fixed some protos. If pi means processing instruction, it should be written IMHO in uppercase characters.
2001-11-25 19:22:51 +00:00
Egon Schmid
15b5b127da
Fixed some protos.
2001-11-25 18:51:00 +00:00
Zeev Suraski
9950eaecd7
Honor error_reporting (in general and @ in particular) for IMAP notices
2001-11-24 15:32:00 +00:00
Zeev Suraski
a3ef7170b1
Save entries in $_SESSION even if register_globals is on
2001-11-24 02:41:58 +00:00
Zeev Suraski
8c1f1f15c5
Entries registered with session_register() and altered by changing
...
$_SESSION (or $HTTP_SESSION_VARS) were not properly saved. Fixed.
2001-11-24 02:14:45 +00:00
Zeev Suraski
66be507ac3
whitespace
2001-11-24 01:08:05 +00:00
Derick Rethans
983e41b7be
- Reverse slight mistake (patch by Markus Fischer)
2001-11-23 11:46:01 +00:00
Rui Hirokawa
506eec88b4
restriction is relaxed because output handler couldn't be used even if zlib.output_compression is set to off.
2001-11-23 02:53:16 +00:00
Derick Rethans
f1f5a325c1
- Beautifying
2001-11-22 22:46:31 +00:00
foobar
a4a8f6719b
WS fix.
2001-11-22 15:14:49 +00:00
Derick Rethans
e39fbeae16
- Fix crach bug if the parameter to shm_remove is not a valid identifier.
2001-11-22 14:33:35 +00:00
Derick Rethans
2d6842b103
- Added a parameter to mysql_connect to force a new database link to be
...
created. (patch by Markus Fischer <mfischer@guru.josefine.at>)
@- Added a parameter to mysql_connect to force a new database link to be
@ created. (Markus, Derick)
2001-11-22 07:58:37 +00:00
Derick Rethans
3eded520ef
- Fix for bug #14169
2001-11-22 07:48:59 +00:00
Stig Venaas
2ea46ef6cc
Added ldap_sort() function
...
@- Added ldap_sort() function. (Stig Venaas)
2001-11-21 20:14:17 +00:00
Uwe Steinmann
6affe84ee7
- add functions clone_node(), is_blank_node(), create_entity_reference()
...
- fixed bug in node_name()
- fixed behavior of append_child(), it now adds a child a not a sibling
2001-11-21 17:01:19 +00:00
Sterling Hughes
e7aa85c011
Fix a crash bug in CURLOPT_POSTFIELDS by using curl_formadd instead of
...
curl_formparse
Fix a crash bug when CURLOPT_INFILE is not properly specified.
2001-11-20 11:29:54 +00:00
foobar
4b8709ef5c
Test before commit..test before commit..
2001-11-18 23:08:47 +00:00
foobar
48697c5f5c
Now this might even work.
2001-11-18 22:54:18 +00:00
Doug MacEachern
8dd296dd7d
AIX compiler doesn't like having a comma at the end of the enum
...
(Ryan Bloom <rbb@apache.org>)
2001-11-18 20:08:43 +00:00
Derick Rethans
f17f3371be
- Added md5_file(), which calculaties the MD5 sum of a file.
...
(patch by: Alessandro Astarita <aleast@capri.it>) (Derick)
@- Added md5_file(), which calculaties the MD5 sum of a file.
@ (patch by: Alessandro Astarita <aleast@capri.it>) (Derick)
2001-11-18 18:48:17 +00:00
Sterling Hughes
631f476abe
Remove the sablotron extension
...
# HOOOOOOOOOOOORAY :)Remove the sablotron extension
# HOOOOOOOOOOOORAY :)Remove the sablotron extension
# HOOOOOOOOOOOORAY :)Remove the sablotron extension
# HOOOOOOOOOOOORAY :)Remove the sablotron extension
# HOOOOOOOOOOOORAY :)Remove the sablotron extension
# HOOOOOOOOOOOORAY :)Remove the sablotron extension
# HOOOOOOOOOOOORAY :)Remove the sablotron extension
# HOOOOOOOOOOOORAY :)Remove the sablotron extension
# HOOOOOOOOOOOORAY :)
2001-11-18 13:20:37 +00:00
Derick Rethans
a72dce7da9
- Fix build on FreeBSD (patch by Markus Fischer)
2001-11-18 12:01:54 +00:00
foobar
fc3906e93a
WS fix
2001-11-18 03:34:23 +00:00
Andrei Zmievski
a2f95abb6d
- Added support for parsing recordsets.
...
- Fixed a bug that sometimes would corrupt top-level element
if it was a scalar one.
2001-11-18 01:16:03 +00:00
Sascha Schumann
9f3362933a
Fix two incidents which have been reported about the new unserializer.
...
#1 : forgot to handle negative numbers
#2 : added zval_ptr_dtor which was not in the original code which
might lead to crash
PR: #14082
2001-11-16 16:34:14 +00:00
Andrei Zmievski
fcd83424cf
Add todo item.
2001-11-16 15:04:12 +00:00
Rasmus Lerdorf
e68a9c6bfa
Use the macro here and add an E_NOTICE
2001-11-16 11:59:04 +00:00
Stanislav Malyshev
39f3075500
Check in ftok() function by Andrew Sitnikov <sitnikov@infonet.ee>
2001-11-15 09:53:40 +00:00
Stig Venaas
3dd9845e98
Fixed some memory leaks and removed some unnecessary checks due to
...
ZEND_FETCH_RESOURCE returning on error
2001-11-14 22:05:33 +00:00
Frank M. Kromann
3c06e3c4bb
Prevent fbsql_num_rows from looping
2001-11-14 20:42:38 +00:00
Frank M. Kromann
95d99c9ba9
Fixing debug build
2001-11-14 17:56:26 +00:00
Sterling Hughes
42b9349d8b
Many other reasons that setvbuf can fail than "wrong arguments", returning
...
false should be enough
2001-11-14 12:57:06 +00:00
Derick Rethans
b278435074
- Fix crashbug on dtor
2001-11-14 09:48:14 +00:00
Frank M. Kromann
de46a16e43
Fixing compile error
2001-11-13 19:20:26 +00:00
Frank M. Kromann
dd714b617c
Fixing debug build
2001-11-13 19:19:09 +00:00
Stig Venaas
80ccb3f7f7
Minor changes in ldap_connect(): fixed crash with OpenLDAP 2 libs when
...
called without args and also use ldap_init() rather than ldap_open();
simplified code a little
2001-11-13 18:05:47 +00:00
Stig Venaas
ca476ecaa4
Removed some old cruft (some commented code and non-used globals), fixed
...
a proto typo, and make sure ldap_base_dn and ldap_filter are initialized
in php_ldap_do_search()
2001-11-13 17:10:08 +00:00
foobar
6f84c93e45
Fixed some problems in configuring e.g. shared module.
2001-11-13 13:59:13 +00:00
Rasmus Lerdorf
a9fe559f60
Be explicit here and cast it
2001-11-13 13:53:11 +00:00
Rasmus Lerdorf
55d9b2ad9c
Fix most of these tests - still think there is a bug in the long->float
...
conversion stuff somewhere
2001-11-13 13:12:46 +00:00
Rasmus Lerdorf
f78f4364a0
Different operating systems handle the group x bit differently, so
...
simplify this test to test the user x bit instead
2001-11-13 12:39:21 +00:00
Zeev Suraski
8b40f3c231
Improve OpenSSL compatibility
2001-11-13 11:47:52 +00:00
foobar
a6d9db7dc1
Fixed bug introduced by my last commit.
2001-11-13 11:38:22 +00:00
Sterling Hughes
5fc1552c04
"Fix" last commit, to compile cURL with SSL support you must also use the
...
OpenSSL extension -- sorry...
The last commit caused bad things to happen if you were compiling cURL and
PHP on Win32 or if you compiled PHP --with-openssl, ie, re-initializing things
that were already initialized
2001-11-13 10:59:15 +00:00
Derick Rethans
3ca8006a8d
- Fix scheme/sax handlers (patch by Lenar Lõhmus <lenar@vision.ee>)
2001-11-13 09:54:06 +00:00
Zeev Suraski
6d7be11454
Import patch from bug #14023
2001-11-13 01:01:47 +00:00
foobar
12cfb76b65
Fixed the wrong logic in ini_get_all() function.
...
Now it behaves same as how phpinfo() outputs the ini entries.
If there is a local value, then the global one is the 'original one' if
there is such. Otherwise global value is same as local. :)
2001-11-13 00:37:49 +00:00
Markus Fischer
abe67fdb83
Unified error/warning messages.
2001-11-12 01:54:55 +00:00
Markus Fischer
80a58cd23c
WS
2001-11-12 01:07:17 +00:00
Markus Fischer
6cc12e1450
Fix #14020 and some minor leaks.
2001-11-12 00:58:16 +00:00
Jeroen van Wolffelaar
5ccdb1d352
Fix all (at least, I tried to catch all) proto's in file.c
2001-11-11 20:33:27 +00:00
Jeroen van Wolffelaar
788b1552a7
Add warning when set_file_buffer() fails
2001-11-11 19:42:31 +00:00
Derick Rethans
78e4644fa1
- Renaming key_exists to array_key_exists
...
@- Renamed key_exists tp array_key_exists. (Derick)
#- Not sure if this belongs in NEWS, but it was already in a released
# version. And yes, I know I'm breaking BC here, but as it was not documented
# yet, that doesn't matter.
2001-11-11 18:28:43 +00:00
Stanislav Malyshev
88c66d4859
Fix crash bug on malformed .ini file
2001-11-11 12:41:14 +00:00
Thies C. Arntzen
66411756dd
compile fix
2001-11-11 11:08:31 +00:00
Rasmus Lerdorf
035c6c83e6
Fix for 14012
2001-11-11 02:58:11 +00:00
Andrei Zmievski
3942e2a8bd
Fixed bug #13635 .
2001-11-10 23:45:00 +00:00
Andrei Zmievski
98a7a1ba1f
Fixed bug #13901 .
2001-11-10 23:44:04 +00:00
Sascha Schumann
f341f630d3
Rewrite of unserializer which should be more maintainable and extensible.
...
Changes pass `make test´ and a couple of custom tests.
Enjoy.
2001-11-10 21:18:34 +00:00
Derick Rethans
88c6758d4e
- Fixing this bad idea
2001-11-10 18:06:28 +00:00
James Moore
4f78737000
Fix apache win32 dso build.
...
(This is untested on linux but shouldnt break anything)
2001-11-10 17:24:02 +00:00
Rasmus Lerdorf
e202deaec4
# More low-oxygen plane hacking
...
Fix ImageColorsForIndex() and ImageColorAt() to work for TrueColor images.
@- Fix ImageColorsForIndex() and ImageColorAt() to work for TrueColor
@ images. (Rasmus)
2001-11-10 15:06:09 +00:00
Derick Rethans
23db803b34
- Correcting Goba's name, and adding me to QA team
2001-11-10 14:22:36 +00:00
foobar
13ed1f43c1
Fixed bug: #13955.Checks now for png_write_image().
2001-11-10 09:51:47 +00:00
Frank M. Kromann
95ee25ace6
Make fbsql_list_fields work as documented
2001-11-10 07:43:23 +00:00
Jon Parise
8f26c3f326
@ Added support for bind_textdomain_codeset(). (rudib@email.si)
2001-11-09 16:27:09 +00:00
Alan Brown
8ee38d9d75
Not all components populate every field in the ExceptInfo structure. Thus we sometimes would try to convert NULL strings and see php_OLECHAR_to_char errors while displaying Exception information. This version is a little smarter about the member derefencing and the resulting error string.
2001-11-09 14:20:28 +00:00
Derick Rethans
43eb67855f
- oops :)
2001-11-08 23:38:38 +00:00
Derick Rethans
b1d60772d8
- Let it also work with pdflib 3 again
2001-11-08 23:37:34 +00:00
Rui Hirokawa
da8b28cf1c
fixed a bug in http input processing patched by Yasuo Ohgaki.
2001-11-08 22:23:04 +00:00
Egon Schmid
d3ea04bb66
Some protos fixed.
2001-11-08 22:11:41 +00:00
Egon Schmid
4396a984a8
More protos fixed.
2001-11-08 22:05:56 +00:00
Egon Schmid
6fbe1dbcae
Fixed some protos and many more will follow the next hour.
2001-11-08 21:48:34 +00:00
Adam Dickmeiss
43f34af575
Use PHP_ADD_LIBRARY_DEFER and PHP_ADD_LIBPATH instead of
...
PHP_EVAL_LIBLINE to prevent configure error.
2001-11-08 21:37:49 +00:00
Egon Schmid
65429fbaac
There are some rules.
2001-11-08 21:32:48 +00:00
Derick Rethans
ea83d64507
- prototypes
...
#- Thanks to Zak for pointing this out during his talk
2001-11-08 20:23:33 +00:00
Derick Rethans
a345d2ce86
- Prototypes
2001-11-08 20:21:01 +00:00
James Moore
70941fe41b
@ - Add generic Win 32 API extension (jmoore)
2001-11-07 14:31:03 +00:00
James Moore
f111b84e05
@ - Fix Bug 9878 (patch by bfoddy@mediaone.net) (jmoore)
2001-11-07 14:22:15 +00:00
Jon Parise
2c5764d46f
It doesn't look like we use a fourth pointer.
2001-11-06 18:02:04 +00:00
MySQL Team
e982012daf
(PHP mysql_connect) Removed warning message regarding NONEXISTENT character
...
set, when the server's default character set != latin1.
@- Removed a warning message about a NONEXISTENT character set from
@ mysql_connect(), when the server's default character set != latin1.
2001-11-06 16:59:07 +00:00
Jon Parise
f8fb5e5d98
Include <sys/socket.h> for 'struct sockaddr'.
...
# This fixes my FreeBSD build.
2001-11-06 14:35:26 +00:00
Sterling Hughes
ef537403e6
@ Add Direct I/O extension for lowlevel access to the POSIX layer. (sterling)
2001-11-06 12:24:09 +00:00
Sergey Kartashoff
962216c201
@- Added Udm_Check_Charset function (gluke)
...
- Added Udm_Check_Charset function (gluke)
2001-11-05 19:07:25 +00:00
Stig Venaas
92843788fa
Fixed seg fault when using ldap_add (or modify) with value array not
...
indexed as 0, 1, ... In some cases it didn't give seg fault, but used
previously added value. Now gives warning.
@- Made ldap_add (and modify) give warning with illegal value arrays.
@ Previously seg faulted or added wrong value (Stig Venaas)
2001-11-05 11:50:52 +00:00
Alex Waugh
f1e32a8c82
Undefine AF_UNIX when compiled for RISC OS
2001-11-04 12:40:45 +00:00
Alex Waugh
0bdd62c8ac
Make sure uint et al are undefined before typedefing them
2001-11-04 12:38:33 +00:00
Alex Waugh
bc26250413
Included header files needed by RISC OS
2001-11-04 12:35:49 +00:00
Sergey Kartashoff
c4b7501956
# more mnoGoSearch example fixes
2001-11-04 09:02:25 +00:00
Sergey Kartashoff
e475621f2c
- mnoGoSearch extension example updated to support words hilighting (gluke)
2001-11-04 08:46:55 +00:00
foobar
488b76b95d
ws fix
2001-11-04 02:09:55 +00:00
Sergey Kartashoff
411725b01c
@- mnoGoSearch module example updates for 3.2.x compatibility
...
- mnoGoSearch module example updates for 3.2.x compatibility
2001-11-03 22:37:50 +00:00
Sergey Kartashoff
eb4754441f
@- Some mnogosearch-3.2.x compilation bugs fixes.
...
@ Make crosswords and weight sections work with mnogosearch-3.2.x
@ UDM_PARAM_HLBEG, UDM_PARAM_HLEND mnoGoSearch Agent parameters
@ has been added (gluke)
- Some mnogosearch-3.2.x compilation bugs fixes.
Make crosswords and weight sections work with mnogosearch-3.2.x
UDM_PARAM_HLBEG, UDM_PARAM_HLEND mnoGoSearch Agent parameters
has been added (gluke)
2001-11-03 21:45:50 +00:00
Derick Rethans
0f20565919
- Fix for bug #13918
2001-11-03 20:27:09 +00:00
James Moore
a67459f581
@ - Fix bug 13885 (gmdate timezone handling on windows) (jmoore)
...
- relying on timezone and tzname isnt OK for gmdate etc, the only behaviour
that might not be right is the handling of T formatter under gmdate
should it return the machines timezone or GMT Standard Time??
2001-11-03 12:42:41 +00:00
Rui Hirokawa
702e243d98
added private_no_expire mode on session patched by Yasuo Ohgaki.
2001-11-02 22:27:07 +00:00
James Moore
2ace2ccd00
WS fix
2001-11-02 19:31:57 +00:00
James Moore
c8896a38ae
@- Fix behaviour of strtok. Bug 13866 (jmoore)
...
# I have brought the behaviour of strtok into line with how the
# libc strtok's behave. currently given
# <string1><token><string2><token><token>string>
# three recursive calls to strtok returns <string1>. <string2>, <token><string3>
# it now returns <string1>, <string2>, <string3>. (there was some
# debate in #php.bugs if it should return <string1>, <string2>, false, <string3>
# but php's strtok now behaves the same way as the libc version.
2001-11-02 19:19:24 +00:00
foobar
5a81882c03
This was conditionally included if HAVE_MYSQL_REAL_CONNECT was defined.
2001-11-02 07:08:48 +00:00
foobar
9ba2c90e16
Make the extension work with MySQL 4.0
2001-11-02 06:42:12 +00:00
foobar
ab94fecde3
This propably fixes couple of problems with compiling with external libs.
2001-11-02 01:32:33 +00:00
Markus Fischer
dceb1e7814
Remove prototype warnings under linux.
2001-11-01 22:40:43 +00:00
Harald Radi
93a58dbed2
no message
2001-11-01 20:53:41 +00:00
Daniel Beulshausen
54ca6f05b1
nuke remaining warnings
2001-11-01 20:10:17 +00:00
Daniel Beulshausen
d0433b6d1c
make this function static
2001-11-01 17:25:56 +00:00
Daniel Beulshausen
2fba036202
- convert to use new zend_parse_parameters API
...
- unify errormessages + add socket_last_error()
- fix linklibrary under windows
- some streamlining
2001-11-01 16:51:59 +00:00
foobar
91a6ed234d
Works now with phpize
2001-10-31 00:20:34 +00:00
Markus Fischer
963226543b
Fix possible leak.
2001-10-30 06:40:06 +00:00
Dan Libby
194e17cd11
patches to sync with sourceforge project, version 0.50. primary change: adds support for SOAP v 1.1
2001-10-30 02:33:13 +00:00
Frank M. Kromann
75b32c64ff
Reset the error (or message) from the server when calling fetch_row functions.
...
If the user conected and changed the database the message from the change was reported
when the user checked the error function after a failed fetch.
This cased problems in PEAR/DB.
If the fetch fails for other resons than a fetch after the last row, the message from the server will still be reported.
2001-10-29 23:41:15 +00:00
Frank M. Kromann
8b0ac98fe4
A more acurate fix to the fbsql_num_rows function returning
...
x7fffffff when the server is unable to tell the number of rows.
2001-10-29 21:40:48 +00:00
Frank M. Kromann
fc412af04a
Fixing spelling of persistent
2001-10-29 21:27:31 +00:00
Frank M. Kromann
4ccb92fcd0
Fixing wrong count on fbsql_num_rows.
...
@fbsql_num_rows now return the correct value on all select statements
2001-10-29 18:53:52 +00:00
Zeev Suraski
2f08cb119c
more ws
2001-10-29 09:45:47 +00:00
Frank M. Kromann
688cdc581d
Fixing parsing of list's returned by extract database, extract license and other extract commands
2001-10-29 01:51:08 +00:00
Zeev Suraski
c06c27af73
Whitespace fixes
...
Don't Adafy the code, Jani :)
2001-10-28 22:51:58 +00:00
Derick Rethans
10fe28c8ab
- fix crash bug
2001-10-27 18:22:56 +00:00
Derick Rethans
6a5bcfef8d
- Fix for bugs #9640 and #13789
2001-10-27 17:50:26 +00:00
Rasmus Lerdorf
374a351444
These were supposed to match
2001-10-27 12:22:22 +00:00
foobar
5ee719bae0
Modified the error message a bit. Happy now Andi? :)
2001-10-27 10:14:14 +00:00
foobar
4a99c5ee5c
Fixed bug: #13844
2001-10-27 06:26:02 +00:00
foobar
609271e651
- Prevent PHP from starting if output_handler is set and
...
zlib.output_compression is on
- Added notes to the bundled php.ini files about this.
2001-10-27 05:22:19 +00:00
Andrei Zmievski
2890b57e46
@- Added array_chunk() function that splits an array into chunks of specified
...
@ size. (Andrei)
2001-10-27 05:11:15 +00:00
Andrei Zmievski
5da651fcd2
Convert to use new parameter parsing API.
2001-10-26 21:07:59 +00:00
Frank M. Kromann
afd6890a78
Typo in constant naming.
2001-10-26 18:42:46 +00:00
Harald Radi
059cbc13d3
fix visual studio .net warning
2001-10-26 17:52:41 +00:00
Frank M. Kromann
2384eb7d62
Removed unused code
2001-10-26 17:50:33 +00:00
Andrei Zmievski
b3d49ab0e4
Convert to use new parameter parsing API.
2001-10-26 14:50:58 +00:00
Thies C. Arntzen
ca38506fb7
ZTS fixes
2001-10-26 12:54:55 +00:00
Thies C. Arntzen
2977edaacd
make it compile again and nuke most warnings
2001-10-25 06:51:13 +00:00
foobar
35ace375a9
Fixed logic bug introduced by me. Bug: #13796
2001-10-24 10:42:31 +00:00
foobar
201aeb2bb5
C++ comment pollution removed.
2001-10-24 09:06:33 +00:00
Uwe Steinmann
9290bf04e8
- switched src and dest in memcpy. This caused a segm fault in hw_new_document_from_file()
2001-10-24 08:33:09 +00:00
Uwe Steinmann
90544a10ee
- freeing memory wasn't always done right
2001-10-24 08:31:54 +00:00
Rasmus Lerdorf
72fc6bc4b1
As suggested on php-dev, array_fill() is probably a better name for this
...
function.
2001-10-23 18:46:35 +00:00
Frank M. Kromann
991e30668f
Patch for correct handling of DATETIME values.
...
The patch is implemented with a parameter in php.ini controling if
datetime values are converted with the new or the old method.
Thanks to Michael Bretterklieber <mbretter@jawa.at>
2001-10-23 16:34:52 +00:00
foobar
f73ee14bd9
Check that realpath is available. Bug: #9469
...
# TSRM still uses it without checking. I can't fix that.
2001-10-23 11:14:51 +00:00
foobar
0b2af004c1
Fixed bug: #13782
2001-10-23 10:31:56 +00:00
foobar
19cfee427f
Support also --with-gd (without path). Please test this!
2001-10-23 09:19:11 +00:00
foobar
cf65fad63a
This patch should reduce the amount of 'bogus' bug reports when people
...
have two or more different versions of GD library installed.
2001-10-23 08:52:14 +00:00
Zeev Suraski
c767809b2f
Prolong the death of dl() for a little while longer.
2001-10-23 01:18:54 +00:00
Rasmus Lerdorf
d98c96fc6c
Use references instead of making a copy each time in array_init(). About
...
twice as fast for a high number of elements. 2.80 seconds for the copy
of 1,000,000 elements and 1.39s for the reference version. Need to chunk
it every 62k or so because refcount is a short.
2001-10-22 20:49:27 +00:00
Andrei Zmievski
801cadc3b8
Remove redundant conversion.
2001-10-22 19:46:48 +00:00
Hartmut Holzgraefe
a575980813
new-style parameter parsing
2001-10-22 19:36:46 +00:00
Andrei Zmievski
adc9e9b587
Fix build.
2001-10-22 16:25:43 +00:00
Andrei Zmievski
4b5527ef2a
Fix ZTS build.
2001-10-22 16:07:34 +00:00
Andrei Zmievski
1beb9b21e5
@- Added session_cache_expire() function. (patch from anuradha@gnu.org)
2001-10-22 15:18:06 +00:00
Jeroen van Wolffelaar
43b3da1396
Make math tests pass, round & co don't work this way, and there was an error
...
in expected output
2001-10-22 09:44:27 +00:00
foobar
8d8903b8d3
Use of deprecated stuff and having error_reporting(E_ALL) made the tests fail.
2001-10-22 02:53:08 +00:00
foobar
db388374ed
Deprecated style used
2001-10-22 02:49:34 +00:00
foobar
701b1a548e
Fixed bug: #12617
2001-10-22 02:35:10 +00:00
foobar
4fdf886f5c
Fixed bug: #12443
2001-10-22 02:28:00 +00:00
Sterling Hughes
2b8e0d43e9
MFB
2001-10-21 17:23:39 +00:00
Rasmus Lerdorf
4d60dbb9ef
Oops, leftover crud
2001-10-21 07:45:32 +00:00
Rasmus Lerdorf
798ec79319
Motivated by bug #13607 I wrote up a simple array_init() function that
...
lets you quickly create an array and initialize each element to a certain
value.
@ Add array_init() function (Rasmus)
2001-10-21 07:42:35 +00:00
foobar
5db38caece
Fixed bugs: #13251 , #9827 , #11363
2001-10-21 03:01:17 +00:00
Rasmus Lerdorf
02e25f0a1e
# Butt-ugly looking code here, but I need regular expressions to do this.
...
Re-instated safe-mode realm mangling as it was in php 2 and 3 albeit
in a somewhat more robust way.
@ Re-instated safe-mode realm mangling (Rasmus)
2001-10-20 22:01:56 +00:00
Andrei Zmievski
5c90e7a78f
Fix warning,
2001-10-20 13:45:29 +00:00
Derick Rethans
6852a1e704
- Fix for bug #13413
2001-10-20 10:58:33 +00:00
Andrei Zmievski
030e873758
convert to use new parameter parsing API.
2001-10-19 19:48:35 +00:00
Andrei Zmievski
1ed249ddbc
Converting to use new parameter parsing API.
2001-10-19 19:21:58 +00:00
Egon Schmid
1f852425d1
Fixed other protos.
2001-10-19 19:21:28 +00:00
Egon Schmid
28575499df
Fixed another proto.
2001-10-19 18:42:25 +00:00
Andrei Zmievski
65da5375ea
Conver to use new parameter parsing API.
2001-10-19 18:26:30 +00:00
Edin Kadribasic
c0efc001af
Fixed last argument in strlcat() call.
2001-10-19 18:06:37 +00:00
Andrei Zmievski
8a54c2929f
Convert to use new parameter parsing API.
2001-10-19 17:16:12 +00:00
Edin Kadribasic
86959aaf62
Changed strncpy=>strlcpy; strncat=>strlcat
2001-10-19 15:54:05 +00:00
Frank M. Kromann
583b24b682
Reverting the last fix for ZTS and adding TSRMLS_FETCH() to make it work.
2001-10-18 19:24:51 +00:00
Frank M. Kromann
d682cf90cf
Adding include path for having curl header and libraries in php_build\curl
2001-10-18 17:47:35 +00:00
Frank M. Kromann
d3dfc03108
Fixing ZTS build on win32
2001-10-18 17:46:57 +00:00
Sterling Hughes
454d13652e
fix ws issue introduce in my use_trans_sid commit...
...
# still getting used to emacs
2001-10-18 09:12:39 +00:00
Sterling Hughes
009b5575fa
fix formatting, this line really was too long ;)
2001-10-18 09:10:05 +00:00
Sterling Hughes
4c9c90eea2
force use of the session.use_trans_sid setting
2001-10-18 09:05:16 +00:00
Harald Radi
73dbeb6f6f
fixed wrong constant definition
2001-10-18 08:25:39 +00:00
Harald Radi
b266763335
fix linkage error
2001-10-18 08:14:56 +00:00
Egon Schmid
8f4109e8cb
Fixed some protos.
2001-10-17 18:52:33 +00:00
Frank M. Kromann
29c090934b
Return a warning when fbsql_read_blob or fbsql_read_clob is called with an invalid handle
2001-10-17 18:36:32 +00:00
Andrei Zmievski
a90e5f5a6b
@- Fixed a bug in preg_replace() that would change the type of the replacement
...
@ array entries to string. (Andrei)
2001-10-17 18:20:19 +00:00
Harald Radi
d5f1b1b60f
rename module entry
2001-10-17 12:50:12 +00:00
Harald Radi
c232516005
fixed unicode bug
2001-10-17 12:48:26 +00:00
Harald Radi
db4021bc7c
win32 project file
2001-10-17 00:57:12 +00:00
Frank M. Kromann
2aefe30f18
Adding new functions to retreive LOB data.
...
fbsql_set_lob_mode() is used to switch from FBSQL_LOB_DIRECT to FBSQL_LOB_HANDLE
when LOBS are retreived as FBSQL_LOB_HANDLE the user must call fbsql_read_blob() or fbsql_read_clob() to get the data.
2001-10-16 23:08:38 +00:00
foobar
d9c26ab299
fixed proto
2001-10-16 17:08:11 +00:00
Edin Kadribasic
96a04d4ab7
Fixed bug #13083 in http_fopen_wrapper.c which is now able to handle
...
non absolute redirects.
2001-10-15 23:30:40 +00:00
Andrei Zmievski
88d4de1da9
Adding user-space object overloading extension.
2001-10-15 20:32:56 +00:00
Stig Bakken
0130405168
fix bug #13479
2001-10-15 18:36:43 +00:00
Frank M. Kromann
dbe9e0bfc2
Fixing problem with indirect blobs
2001-10-15 17:33:14 +00:00
Sascha Schumann
a92fa9b2bc
Either sizeof(struct stat) or sizeof f_stat, but not sizeof stat.
2001-10-13 23:43:49 +00:00
Adam Dickmeiss
7904bff7ad
Fixed thread-safe compile. Thanks to Jani Taskinen.
2001-10-13 22:35:11 +00:00
foobar
7e88a009d2
Fixed bug: #13652
2001-10-13 15:06:14 +00:00
foobar
67b53c04eb
This file is generated.
2001-10-13 14:55:51 +00:00
foobar
eea391830a
ws fix.
2001-10-13 13:12:30 +00:00
Adam Dickmeiss
6b934d9243
Fix backwards source compatibility.
2001-10-13 07:38:32 +00:00
Sterling Hughes
cdc5600880
revert removal of zend_parse_parameters and properly use
...
zend_parse_parameters (ie zval * instead of zval **).
2001-10-12 19:16:39 +00:00
Sterling Hughes
ce6dde342b
fix segv's, zend_parse_parameters seems not to be able to handle
...
resources.
# emacs is cool
2001-10-12 15:07:05 +00:00
foobar
de8ff3170e
Fixed bug: #13556
2001-10-12 00:21:09 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Stig Bakken
925ff7f2b2
* remove version_{lt,le,gt,ge,eq} functions, added a third optional
...
parameter to version_compare doing the same thing
2001-10-11 10:35:59 +00:00
Stig Bakken
3c98893a01
* make test pass
2001-10-11 00:41:15 +00:00
Mark L. Woodward
bb5398c687
Allow msession to build without ext/session
2001-10-11 00:36:24 +00:00
Frank M. Kromann
8d88fb8bf3
Changed return value for BLOB/CLOB values to a string. and returning false if no handle is created.
2001-10-10 22:24:57 +00:00
Sergey Kartashoff
aa9098cd46
@- Make UDM_PARAM_ISPELL_PREFIXES work under mnogosearch-3.2.x (gluke)
...
- Make UDM_PARAM_ISPELL_PREFIXES work under mnogosearch-3.2.x (gluke)
2001-10-10 17:39:04 +00:00
Stig Bakken
f0c30a0662
* added function entries for version_{lt,le,gt,ge,eq}
2001-10-10 10:32:16 +00:00
Stig Bakken
f3d2d4c630
@Added version_{lt,le,gt,ge,eq} functions (Stig)
2001-10-10 10:14:51 +00:00
Frank M. Kromann
ffd40bf495
Adding support for BLOB and CLOB
2001-10-10 00:42:00 +00:00
Stig Venaas
de894ef098
Added ldap_start_tls() function
...
@- Added ldap_start_tls() function (Stig Venaas, patch by kuenne@rentec.com )
2001-10-09 21:14:14 +00:00
Derick Rethans
27fb33e8b7
- More <br> to <br /> fixes
2001-10-09 19:19:21 +00:00
Rainer Schaaf
06111162cf
added new configure option --with-pdflib3
...
Therefore --with-pdflib will only work with PDFlib 4.x from now on, if one wants
to build PHP with PDFlib V3.x he has to use the new option --with-pdflib3.
This makes configuration of PDFlib much easier, as no additional libraries
are needed anymore. This is possible, because PDFlib has built in libraries
for tiff/jpg/zlib since V4.
2001-10-09 12:24:44 +00:00
Egon Schmid
251c275305
Fixed some protos.
2001-10-09 05:30:21 +00:00
Frank M. Kromann
42cce22f2d
use strdup to alloc memory refeed with free!
2001-10-08 22:24:59 +00:00
Frank M. Kromann
6e9e37be3a
Oops. Removed too much code.
2001-10-08 22:21:16 +00:00
jim winstead
a7bea2f140
handle dbase files with padded field headers. (patch from
...
Landon Bradshaw <landon@bradshaw.org>)
2001-10-08 21:52:26 +00:00
jim winstead
6fab353df1
handle 'I' field type, just another name for the 'N' field type (patch
...
from Landon Bradshaw <landon@bradshaw.org>)
2001-10-08 21:51:12 +00:00
Egon Schmid
116671a8fb
Fixed some protos.
2001-10-08 18:39:42 +00:00
Sergey Kartashoff
012840d145
@- Added support for word match mnogosearch-3.2 command and for stopfile
...
@ command. StopTable will not be supported by mnogosearch-3.2.x
- Added support for word match mnogosearch-3.2 command and for stopfile
command. StopTable will not be supported by mnogosearch-3.2.x
2001-10-08 16:50:13 +00:00
Frank M. Kromann
3629062ab6
Fixing prototypes and removing unused code
2001-10-08 16:42:19 +00:00
Rainer Schaaf
6a0dce93af
fixed PDF_get_value for parameters
...
- capheight
- ascender
- descender
had to ajust modifier by PDFLIB_FONT_OFFSET
2001-10-08 16:12:12 +00:00
Derick Rethans
009b8470eb
- Fix for bug #13592 (Patch by Markus Fischer <mfischer@guru.josefine.at>)
2001-10-08 06:28:16 +00:00
Derick Rethans
62fb3d63c5
@- Added mmapfile(), read a file into a variabele with mmap (Ilia A, Derick)
...
- Added mmapfile(), read a file into a variabele with mmap (Patch by:
Ilia A. <ilia@prohost.org>)
2001-10-07 18:34:44 +00:00
Jeroen van Wolffelaar
78b881f389
Fix naming inside php_search_array, comp_func is not a compare function.
2001-10-07 13:49:08 +00:00
Sterling Hughes
3a50a0322f
@ Have rand() and mt_rand() seed automatically if srand() or mt_srand() has
...
@ not been called. (Sterling)
2001-10-07 11:52:09 +00:00
Stig Bakken
89bd184ea0
@Added version_compare() function (Stig)
2001-10-06 23:22:37 +00:00
Derick Rethans
a0bbfb590c
- <br> -> <br />
2001-10-06 20:13:39 +00:00
Sterling Hughes
af1c7070f7
fix execution order
2001-10-06 18:59:39 +00:00
Sterling Hughes
16da751e3b
avoid TSRMLS_FETCH()
2001-10-06 18:55:09 +00:00
Sterling Hughes
1bceefb2da
@ Don't through a file does not exist warning for the is_dir(), is_writeable(),
...
@ is_readable(), is_executable(), is_link() and is_file() functions. (Sterling)
2001-10-06 18:52:37 +00:00
Edin Kadribasic
2ebefcf3b9
Made session test pass on systems with short open tags disabled.
2001-10-06 09:54:23 +00:00
Edin Kadribasic
26389258bb
Made assert test pass on systems with short open tags disabled.
...
Added .cvsignore
2001-10-06 09:38:29 +00:00
Rui Hirokawa
8b8d3d35c2
fixed name of global variables in ext/skelton.
2001-10-06 04:39:37 +00:00
Stig Bakken
9ce638248d
* prototype of version_compare, doesn't work yet
2001-10-05 23:56:19 +00:00
Jeroen van Wolffelaar
a1c2b86701
Fix the pow-test, it now succeeds on my machine
2001-10-05 23:37:08 +00:00
Jeroen van Wolffelaar
5541451085
Add test for array_search and in_array
...
(should be expanded though)
2001-10-05 22:01:04 +00:00
Jeroen van Wolffelaar
62feefddc7
Fix array_search and in_array. Now binary safe, and faster (returns when
...
found, and doesn't duplicate the key each time, but only when necessary)
Patch also by Edin Kadribasic
2001-10-05 21:58:41 +00:00
Jeroen van Wolffelaar
89ea50a588
Fix bug 13567 and don't depend on a boolean int-value to be either 1 or 0
2001-10-05 20:14:33 +00:00
Edin Kadribasic
e78b61542d
Added array_change_key_case() function that returns array with
...
with all string keys lowercased or uppercased
@- Added array_change_key_case() function that returns array with
@ with all string keys lowercased or uppercased (EdinK)
2001-10-05 18:38:53 +00:00
Daniel Beulshausen
1ac3aa7e08
nuke unnecessary force-by-ref declarations + name the needed in a proper way
2001-10-05 15:56:42 +00:00
Sascha Schumann
0c79e85ede
fix declaration
2001-10-05 12:22:12 +00:00
Sterling Hughes
1c7e920a9e
make this work under OSX
2001-10-05 07:12:27 +00:00
Daniel Beulshausen
a58e996039
fix gd2 preprocessor definitions
2001-10-04 20:21:19 +00:00
Daniel Beulshausen
1fa1b9a60c
undo last changes
2001-10-04 20:19:46 +00:00
Daniel Beulshausen
c4ee7a403e
fix macro
2001-10-04 20:14:17 +00:00
Daniel Beulshausen
377d88cec0
use maxpathlen instead of path_max
2001-10-04 20:10:58 +00:00
Harald Radi
27744e892a
no message
2001-10-04 18:24:44 +00:00
Derick Rethans
744d1fc1ea
- 'Fix' for bug #13543
2001-10-04 15:25:39 +00:00
Jason Greene
dc7d5df048
Add cleanup on an exec failure
...
Remove debug comments
2001-10-03 03:48:27 +00:00
Mark L. Woodward
758b775d34
Removed PHOENIX_INCLUDE, I don't need it to compile and it seems like
...
it causes a conflict with ext/mhash. (Phoenix has a file called mhash.h
and that is being found when mhash is being built.)
2001-10-01 11:04:56 +00:00
Jon Parise
362140868d
Allow the location of the Phoenix library to be specified on the configure
...
commandline.
2001-09-30 16:13:52 +00:00
Stig Venaas
b055912861
Didn't compile, replaced some TSRMLS_C with TSRMLS_CC
2001-09-30 13:30:18 +00:00
Jason Greene
8a705b8cd9
@Added new function pcntl_exec, which behaves similar to execve.
2001-09-30 06:59:12 +00:00
Rasmus Lerdorf
94d789e5d7
I could have sworn I test compiled this when I committed it a couple of
...
days ago. Must have been hallucinating.
2001-09-30 04:42:08 +00:00
Sergey Kartashoff
bf3de43044
Search frontend example has been updated.
2001-09-29 14:09:42 +00:00
Sergey Kartashoff
2d91428732
@- initial support of mnogosearch-3.2.x has been added. Not all features
...
@ are implemented currently.
- initial support of mnogosearch-3.2.x has been added. Not all features
are implemented currently.
2001-09-29 13:58:18 +00:00
Sergey Kartashoff
9edfe2e4d3
# fixed typo
2001-09-29 09:25:22 +00:00
Rui Hirokawa
69ae8f1903
ming-0.2a needs rint() in libm.
2001-09-29 08:15:39 +00:00
Mark L. Woodward
c4c4626551
Doh! Return nothing when there is nothing back from a plugin
2001-09-29 00:53:07 +00:00
Mark L. Woodward
38f3435f06
Added msession_set_array and msession_plugin
2001-09-28 12:41:06 +00:00
Jeroen van Wolffelaar
f512ec4331
Typo
2001-09-27 20:07:16 +00:00
Jeroen van Wolffelaar
eb38ca844b
Undo Z_ subst for sapi and ext/yaz
2001-09-27 20:01:23 +00:00
Jeroen van Wolffelaar
6d9c04e823
Undo Z_ subst
2001-09-27 19:43:06 +00:00
David Eriksson
6f7cf88a98
Patch from Sander Steffann <sander@steffann.nl> to prevent crash.
2001-09-27 12:28:10 +00:00
Rasmus Lerdorf
c8280238de
Fix segfault and check for truecolor image in ImageColorAt
...
@- Fix segfault and check for truecolor image in ImageColorAt (Rasmus)
2001-09-27 07:36:34 +00:00
Derick Rethans
be52d66f4b
- Fix crashbug in php_chunk_split()
2001-09-27 06:55:23 +00:00
Dan Libby
061cd20400
include php_compat.h, so that we use php_XML_* if necessary. Better to do it in expat.h, so that other libs, eg xmlrpc, inherit this behavior and we can link
2001-09-27 00:29:34 +00:00
Zeev Suraski
7e42c73a50
Another leak bites the dust?
2001-09-27 00:21:21 +00:00
Harald Radi
d1199bd2c7
fixed Z_* conversion errors
2001-09-26 22:52:17 +00:00
Jeroen van Wolffelaar
39e47f5a98
Revert macro-subst, because wasn't necessary here, and those who were
...
substitued weren't zvals
2001-09-26 22:24:44 +00:00
Zeev Suraski
dd01c11ee3
Fix pg_last_notice()
2001-09-26 21:44:48 +00:00
Derick Rethans
51e2a6b84e
- nl2br now handles different styles of line endings in one string. (Patch
...
by Boian Bonev <boian@bonev.com>)
@- nl2br now handles all styles of line-endings in one string. (Boian,
@ Derick)
2001-09-26 19:34:46 +00:00
Derick Rethans
5a34b26972
- This patch adds proper header file detection on system which
...
simultaneously isntallied libxml1 and libxml2 (eg. Debian) (patch by
Markus Fischer <mfischer@php.net>)
2001-09-26 19:02:33 +00:00
Sascha Schumann
bfef93878c
Force proper alignment of php_sockaddr_storage. Sparc will throw
...
a SIGBUS, when accessing the family part of a char-aligned structure.
2001-09-26 15:12:20 +00:00
Derick Rethans
9d4c81e925
- whitespace fix
2001-09-26 12:44:34 +00:00
Derick Rethans
6b0196b652
- Fixed error introduced by the macro substitution
2001-09-26 12:34:30 +00:00
David Eriksson
9a4500d056
Fixed Jeroen's macrofication
2001-09-26 11:09:10 +00:00
David Eriksson
e1c448e8be
leave on first directory
2001-09-26 10:45:22 +00:00
Jeroen van Wolffelaar
0916fd50c0
5th and probably/hopefully last run of conv_z_macros
2001-09-26 09:21:58 +00:00
Jeroen van Wolffelaar
23a942c795
Fix build
2001-09-26 09:09:40 +00:00
Jeroen van Wolffelaar
0729948990
Parse-fix
2001-09-26 09:00:30 +00:00
Jeroen van Wolffelaar
6a8a5767c2
4rd run... now also var.Z_*
2001-09-26 08:53:37 +00:00
Jeroen van Wolffelaar
6693d112d2
Fix the fix
2001-09-26 08:51:53 +00:00
Jeroen van Wolffelaar
8ec9e5bca0
Fix parse-error
2001-09-26 08:41:05 +00:00
Jeroen van Wolffelaar
21f2b9277f
3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now.
2001-09-26 08:35:48 +00:00
Frank M. Kromann
b77c39ea65
Fixing Win32 build...after the last macro convertions.
2001-09-26 03:43:34 +00:00
Frank M. Kromann
448e9d49cc
Fixing Win32 build...
2001-09-26 03:24:19 +00:00
Harald Radi
23c65b60a0
no message
2001-09-25 23:39:50 +00:00
Jeroen van Wolffelaar
6cfba2a3ea
2nd phase in back-substitution those macro's
...
I've got pretty much everything now...
2001-09-25 22:49:04 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Mark L. Woodward
ad2113e635
Added REQ_RANDSTR to support msession_randstr
2001-09-25 12:21:45 +00:00
Mark L. Woodward
622fe4d488
Changed config.m4 to a better default, updated README.
2001-09-25 12:12:48 +00:00
Mark L. Woodward
32b196e4f7
Added msession_randstr, creates a random string from a single
...
source.
2001-09-25 12:11:25 +00:00
Sterling Hughes
bb2d4e3126
add a 7.9 version check
2001-09-25 07:07:22 +00:00
Sterling Hughes
2e79759f50
fix constant
2001-09-24 18:45:08 +00:00
Harald Radi
a491db4e2d
removed VARIANT module and put the VARIANT class into
...
the COM module.
also fixed a few bugs.
2001-09-24 15:56:18 +00:00
Derick Rethans
f1ce7daccd
- Fix crash bug (patch by <chocolateboy@lunomail.com>)
2001-09-24 08:33:51 +00:00
Jeroen van Wolffelaar
f61dfce39c
Make chop the alias and rtrim the main function, in order to get automagically
...
generated alias-listings correct.
2001-09-23 18:32:46 +00:00
Derick Rethans
db1fe4b060
- Don't return from the function, so that mcrypt get properly initialized
...
(fix for bug #13399 )
2001-09-23 14:39:08 +00:00
Derick Rethans
9c610ae87f
- Added mcrypt_generic_deinit and added a warning about mcrypt_generic_end
...
being deprecated.
- Reordened constants, and added MCRYPT_3DES to the 2.4 set of constants
2001-09-23 14:14:27 +00:00
Rui Hirokawa
1b78716661
mbstring is no more in experimental status.
2001-09-23 13:42:00 +00:00
foobar
f78cf8ee67
Moved the check for mcrypt_generic_deinit to the right place.
2001-09-22 17:55:16 +00:00
foobar
6bcd0ae557
Check if mcrypt lib has mcrypt_generic_deinit
2001-09-22 17:51:07 +00:00
Sterling Hughes
958675c067
fix compile
2001-09-22 16:56:21 +00:00
foobar
b46354b7bc
removed autogenerated file from cvs
2001-09-22 01:59:24 +00:00
Jeroen van Wolffelaar
929ae94c64
Let settype also accept 'int', 'bool', 'float' and 'null'
...
@Let settype also accept 'int', 'bool', 'float' and 'null' (Jeroen)
2001-09-22 01:39:14 +00:00
Sterling Hughes
f8e78a00f2
update to curl 7.9 (when it comes out :)
...
make REGISTER_CURL_CONSTANT() only take one argument
couple of speed-up's
few style fixes
2001-09-22 00:38:59 +00:00
Hartmut Holzgraefe
03f7406711
proto fixes "double" -> "float"
2001-09-21 21:59:27 +00:00
Hartmut Holzgraefe
8f01638bf6
local resource fix
2001-09-21 21:57:41 +00:00
Hartmut Holzgraefe
2c275bf793
renamed doubleval to floatval and made doubleval an alias to floatval
...
made is_float the function entry and is_double the alias
2001-09-21 21:29:14 +00:00
Sascha Schumann
4582d38519
Fix warning on Win32 (thanks to Sebastian)
2001-09-21 17:21:50 +00:00
Sascha Schumann
0a8677167d
don't use boyer_str_to_str. It is experimental
2001-09-21 16:17:14 +00:00
Sascha Schumann
9002e37e4e
Always seed the LCG from the request-init hook, otherwise the seed
...
would be shared among the threads which is quite pointless. Also
use a function of the current time as one factor.
Use gettimeofday() instead of time(), because it is faster on some
operating systems.
2001-09-21 13:38:44 +00:00
Sascha Schumann
78fb121a61
indentation fix
2001-09-21 13:13:10 +00:00
Mark L. Woodward
d1a1ef3d9b
(Removed Makefile, added accidentally.)
...
Eliminated mod_msession in ext/session, and moved that code into msesion.c
2001-09-20 12:21:01 +00:00
Sascha Schumann
f45555e62f
Rework some string-to-number and vice-versa functions to work smarter
...
(e.g. without using functions that use slow locales, without allocating
extra memory and with fewer integer/float operations)
2001-09-20 08:22:44 +00:00
Stig Venaas
7d2a912335
Not using _free_ldap_result destructor for le_result_entry, leads to
...
crashes due to freeing same memory several times in some cases
2001-09-19 19:43:59 +00:00
Andy Sautins
810dd37b90
Collections core-dump fix. ocicollgetelem was using OCIInd instead
...
of OCIInd * in call to OCICollGetElem
2001-09-19 19:25:43 +00:00
Stig Venaas
926d1506e0
Added IPv6 support to gethostbyaddr()
...
@- Added IPv6 support to gethostbyaddr()
@ (Patch by Matthias Wimmer <matthias@charente.de> and venaas)
2001-09-19 18:08:15 +00:00
Frank M. Kromann
a46c6157de
Fixing debug build on Win32
2001-09-19 17:48:34 +00:00
Hartmut Holzgraefe
cc17f92947
argument count fix plus beginning local query support
2001-09-19 17:14:14 +00:00
Mark L. Woodward
49c66ea47e
The extension should not be GPL.
2001-09-19 15:46:20 +00:00
Wez Furlong
ad72c064bc
doh\!
2001-09-19 15:12:30 +00:00
Mark L. Woodward
ba2bc65d31
Added
2001-09-19 13:14:24 +00:00
Sascha Schumann
e261d310a0
quickly fix newly introdued off-by-one
2001-09-19 11:03:58 +00:00
Wez Furlong
c6a957e012
Fix silly bugs
2001-09-19 10:59:12 +00:00
Sascha Schumann
e4ace6cde6
Rewrite _php_match_basetozval to need only one multiplication
...
per iteration and avoid the U?LONG_MAX hassle.
2001-09-19 10:57:50 +00:00
Sascha Schumann
ed50e0e155
Fix indentation of ./configure --help
2001-09-19 09:17:56 +00:00
Joey Smith
0098833e86
Don't manually register the resource, let php_domobject_new do it for us.
...
This fixes and elusive SIGSEGV.
Bug id'd and fixed by Ivo Hulinsky <huld@fido.cz>.
This fixes #13322 .
2001-09-19 02:24:05 +00:00
Frank M. Kromann
975ebe3524
Fixing win32 debug build
2001-09-18 23:39:25 +00:00
Hartmut Holzgraefe
d330072db9
argument count fix
2001-09-18 20:42:37 +00:00
Sterling Hughes
563c0670e5
another attempt at fixing compile warnings...
2001-09-18 20:05:05 +00:00
Sterling Hughes
8092460830
hopefully fix win32 compile warnings
...
# I really wish i had a box to compile php with win32 on
2001-09-18 05:48:49 +00:00
Hartmut Holzgraefe
30df2b3073
yet another ncurses 4.x fix
2001-09-17 22:11:55 +00:00
Hartmut Holzgraefe
38ab8708f2
editor hints added
2001-09-17 22:00:38 +00:00
Hartmut Holzgraefe
2f59bb576d
whitespace
2001-09-17 21:59:15 +00:00
Hartmut Holzgraefe
bc631cce3e
some keyboard constants
2001-09-17 21:57:09 +00:00
Hartmut Holzgraefe
a965a1759f
some more function implementations
2001-09-17 21:54:25 +00:00
Sterling Hughes
bcb426a207
Merge in qsort changes
2001-09-17 21:02:53 +00:00
David Benson
d6cecfc213
Change duration of temporary lobs to avoid leakage of temporary lob
...
space (dbenson).
2001-09-17 20:52:31 +00:00
Hartmut Holzgraefe
0edb79a3d4
some proto fixes (not all done yet)
2001-09-17 19:55:22 +00:00
Hartmut Holzgraefe
75095ce66c
got rid of strtok and added some comments
2001-09-17 19:49:17 +00:00
Hartmut Holzgraefe
891443e15f
will now configure out functions not available in ncurses 4.2
2001-09-17 16:24:11 +00:00
Daniel Beulshausen
60812553d4
fix macros
2001-09-17 13:37:11 +00:00
Daniel Beulshausen
75aa3cfc51
fix fcntl
2001-09-17 13:21:10 +00:00
Hartmut Holzgraefe
311fe215aa
fixed a warning regarding incompatible function pointer types
2001-09-17 13:02:26 +00:00
Andy Sautins
16ef3439f4
Collection fix. getelem method now handles returning nulls
...
correctly and gives warning when accessing an index that does
not exist.
2001-09-16 21:53:58 +00:00
Sterling Hughes
97fea0931c
Make rand thread safe when ZTS is defined.
2001-09-16 20:49:57 +00:00
Sterling Hughes
96763e8372
Hopefully fix compile warnings on win32 systems
2001-09-16 17:37:19 +00:00
Andi Gutmans
11e733ce29
- Start giving the notes extension an indentation face lift but I got
...
- tried half way through :)
2001-09-16 16:23:58 +00:00
Hartmut Holzgraefe
639a36a3dd
compiles without warnings now
2001-09-16 15:18:03 +00:00
Sterling Hughes
47f3851a00
for the daft folks that think 0 is a good seed.
2001-09-16 03:50:04 +00:00
Sterling Hughes
373fc12bb1
@ Make the seed options to srand() and mt_srand() optional, if the seed is
...
@ not specified, the generate the most random seed possible. (Sterling)
Please, if anyone has any comments on the way I generate this seed, speak up!
This seems to be the most "random" seed I could come up with...
This commit is 100% backwards compatible :)
Add myself to the authors list cause of recent work on the file
2001-09-16 03:46:59 +00:00
Sterling Hughes
ca5fdbf537
fix this in a couple of other places and use estrndup() when we have the
...
string length.
2001-09-15 16:05:38 +00:00
Sterling Hughes
236bcdb514
properly grab field and value pairs, plus avoid a segfault when errmsg isn't
...
defined
2001-09-15 16:00:47 +00:00
Sergey Kartashoff
55d84825c1
A bug fixed when trying to return NULL strings.
...
Added a new example of building search frontend based on mnoGoSearch
extension.
@- A bug fixed when tryint to return NULL strings.
@ Added a new example of building search frontend based on mnoGoSearch
@ extension.
2001-09-15 12:20:37 +00:00
Rui Hirokawa
9c5580c7d4
Added support for japanese encoding to htmlentites() and htmlspecialchars(). @ Added support for japanese encoding to htmlentites() and htmlspecialchars(). (Rui)
2001-09-15 04:48:48 +00:00
Hartmut Holzgraefe
c403d6846b
more data types supported (and warn if unsupported encountered)
2001-09-13 19:52:57 +00:00
Thies C. Arntzen
e929389eeb
fix strtr() when called with two parameters. this has been broken for some time!
...
guys, when "optimizing" functions you _shoudl_ write a testcase for the
working function and make _sure_ that it works afterwards!
2001-09-13 10:48:41 +00:00
Hartmut Holzgraefe
d4bee942d6
be more flexible in finding a db++ installation
2001-09-12 19:54:46 +00:00
foobar
5275b60398
Enable chroot() only if SAPI is CGI.
2001-09-12 02:07:46 +00:00
Andy Sautins
6e4e8e94d9
oops. Used C++ style comments. Make C style
2001-09-11 23:16:32 +00:00
Andy Sautins
5abba5ee0e
Collection fix. Fix core dump when accessing an element that is
...
not in the collection.
2001-09-11 23:15:18 +00:00
Andy Sautins
23fea6461d
Handle assign/append of NULL values to collections correctly. Now
...
works consistently with how the rest of the library operates. If
the value passed in is a null string, the value is set to null
2001-09-11 21:03:58 +00:00
Sascha Schumann
919e7e9f69
revert last commit. Guys, discuss such things first, then commit. Mkay?
2001-09-11 10:16:01 +00:00
Sterling Hughes
e302d6a5e8
Add an API function for setting the session id from a session module...
...
# The SRM folks wanted/needed this
2001-09-11 10:13:44 +00:00
Sascha Schumann
fdd6f08aec
Always return something from non-void function
2001-09-11 08:55:44 +00:00
Sascha Schumann
4c69a970d3
Remove some unused variables
2001-09-11 07:52:55 +00:00
Egon Schmid
88713e4d8d
Fixed some protos. Haven't read the source code, so some protos could be wrong. bool notext=true looks very strange to me.
2001-09-11 01:03:59 +00:00
Wez Furlong
671b46a0db
Revise the xxx_export api so that exporting to files is comfortable.
2001-09-11 00:33:25 +00:00
Wez Furlong
0f835fdf28
Arrrgghh!
...
Fix munched file.
# Dunno how that happened.
2001-09-11 00:03:58 +00:00
Wez Furlong
3b8f3cc439
Added some preliminary x509 cert and csr creation/signing functions.
...
Also, some problems with CGI initialization should be eliminated.
Renamed some pkey functions to be more consistent.
# Added aliases for older names; not sure if we should keep those.
2001-09-10 23:57:10 +00:00
foobar
8f9813031e
fix build.
2001-09-10 23:34:42 +00:00
Daniel Beulshausen
1f9629d466
fix resource destruction
2001-09-10 19:28:50 +00:00
Derick Rethans
a4f9a16225
- Fix for bug #13230
2001-09-10 17:14:38 +00:00
Sascha Schumann
2ee197b4c6
Fix a problem when withval pointed to a symlink and automatic
...
detection for the java libraries failed
2001-09-10 16:59:31 +00:00
Daniel Beulshausen
87d7284e46
don't forget TSRMLS_CC when using zend_parse_parameters
2001-09-10 14:30:10 +00:00
Sascha Schumann
2bbbec107b
A round of "d'ohs" for me, please.
...
We must not stop scanning after finding a "?", because we
need the information regarding the "#".
2001-09-10 11:22:43 +00:00
Sascha Schumann
d5e22e2a29
Use proper macro to return string with unknown length
2001-09-10 11:06:15 +00:00
Harald Radi
21b9a2ca2a
removed ->is_ref check, doesn't make sense and causes bugs
2001-09-10 09:25:32 +00:00
Harald Radi
d1a2dbfd9d
IDispatchs got released if they were passed to another component
2001-09-10 09:22:40 +00:00
Stig Bakken
4d90ca0aea
* build fix
2001-09-10 07:56:23 +00:00
Sterling Hughes
2e890a36d4
Revert, this is max error size, not strlen(error)
2001-09-10 00:25:59 +00:00
Sterling Hughes
5830ffeb48
RETURN_STRING -> RETURN_STRINGL
2001-09-10 00:24:29 +00:00
Zeev Suraski
517bd3018c
Do some justice to the doc team
2001-09-09 23:37:55 +00:00
Sascha Schumann
de963ce9c6
Better fix for mark problem
2001-09-09 14:52:39 +00:00
Sascha Schumann
c86c9f52b4
Fix mark-handling
2001-09-09 14:38:12 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Derick Rethans
61d4f7fe65
- Really fix nl2br now... it's actaulyl faster now
2001-09-09 12:55:48 +00:00
Derick Rethans
176cd90bd7
- Fix for bug 11904
...
#- This is possibly not the best solution... feel free to improve
2001-09-09 11:42:36 +00:00
Sterling Hughes
ff2bc83c08
remove ARG_COUNT(ht)
...
# Is there any reason that the set_compare_func call is passed SORT_STRING
# instead of SORT_REGULAR??
2001-09-09 11:03:31 +00:00
Sterling Hughes
6963ac4050
export the mt rand functions...
2001-09-09 10:44:12 +00:00
Sterling Hughes
b5d77099fe
have this go through php's error warning system
2001-09-09 09:58:49 +00:00
Sterling Hughes
6ee9f04f87
ws fix, MFB
2001-09-09 09:51:02 +00:00
Sterling Hughes
645a98ef99
Change DOM-XML's error reporting to E_WARNING which is more appropriate
2001-09-09 09:41:40 +00:00
Harald Radi
9a6fe9631e
com_*() functions returned an oo-resource instead of an resource id,
...
thus subsequent com_*() calls to com-returnvalues failed.
2001-09-08 20:40:56 +00:00
André Langhorst
d4b86e1c5b
fix curl build for curl >= 7.8
2001-09-08 16:51:00 +00:00
Sterling Hughes
1c3b3ad8f3
tense, tense, tense
2001-09-08 00:42:25 +00:00
Wez Furlong
3ed4cc33ac
API update: use zend_parse_parameters
2001-09-07 17:09:56 +00:00
Daniel Beulshausen
2da75a405f
build fixes
2001-09-07 13:53:28 +00:00
Daniel Beulshausen
a0acfe4375
fix def.
2001-09-07 13:35:32 +00:00
Daniel Beulshausen
0a543a9014
don't use ifx_free_result here
2001-09-07 13:29:50 +00:00
Daniel Beulshausen
da0c69d7b9
fix result freeing
...
# some of the work in (zif_)ifx_free_result should
# probably be done in the list destructor as well
2001-09-07 13:20:33 +00:00
Wez Furlong
5569abe1ee
Fix for bug #13190
2001-09-07 12:12:19 +00:00
Sterling Hughes
92390db7e6
MFB
2001-09-07 11:39:00 +00:00
Sterling Hughes
b8cf53d8a5
get rid of global mess
2001-09-07 10:29:06 +00:00
Sterling Hughes
1bc80e6048
register a list destructor
2001-09-07 10:25:26 +00:00
Derick Rethans
2e153ddae1
- Fix for bug #13052
2001-09-07 07:31:39 +00:00
foobar
c8751fc8a5
Almost missed this one..
2001-09-07 00:25:11 +00:00
foobar
e4df7dc7bf
if test -f /usr/local/lib/libexample.s?; then <-- no workie
...
if test -f /usr/local/lib/libexample.so; then <-- workie
#
# You can all point at me and laugh now.. :(
#
2001-09-07 00:24:06 +00:00
foobar
3c64473b71
Fixed bug: #13172
2001-09-06 23:10:37 +00:00
foobar
14152e7ca6
Introduce the good practise of using [] around output messages.
2001-09-06 21:05:57 +00:00
foobar
acb7d69ff7
Always quote the messages.
2001-09-06 20:55:24 +00:00
foobar
95ff1ab10f
Hope this reduces the amount of bogus bug reports when people use wrong paths..
2001-09-06 18:13:49 +00:00
Frank M. Kromann
059f1cc922
Fixing spelling
2001-09-06 16:49:17 +00:00
Dan Libby
79e6063a5e
fix various build errors. default to no xmlrpc
2001-09-06 09:36:58 +00:00
Sterling Hughes
25d4500a86
I should really learn how to spell
2001-09-06 08:56:24 +00:00
Sterling Hughes
b7ba9e007d
avoid lowercasing the string
2001-09-06 08:54:54 +00:00
Sterling Hughes
33fc6e2d5f
add missing )
2001-09-06 07:33:45 +00:00
Sterling Hughes
8a156d9a39
fix ms compile warnings
2001-09-06 06:41:16 +00:00
Dan Libby
6883b92116
adding xmlrpc extension, per Stig's request
2001-09-06 04:13:30 +00:00
Sterling Hughes
903c831be5
spaces -> tabs work cont.
2001-09-06 00:40:02 +00:00
Sterling Hughes
a4c905ff16
ws fix
2001-09-06 00:18:13 +00:00
Sterling Hughes
a1b11f0755
Fix ts build
...
# I've gotta start compiling --enable-experimental-zts... anyway we can make
# this the default when compiling from cvs? It'll help a large portion of
# compile issues with patches
2001-09-05 21:46:44 +00:00
Sterling Hughes
e121eaaef5
Straight out da bronx, I be using zend_parse_parameters()
...
# Word out to my peeps on Connor st.
2001-09-05 21:38:49 +00:00
Sterling Hughes
5ec58914fe
stray tabs and spaces
2001-09-05 21:04:30 +00:00
Sterling Hughes
f0c5631778
change range macro semantics
...
# Kinda torn between the two, thoughts?
2001-09-05 20:59:24 +00:00
Sterling Hughes
d930a72cd7
remove inline
2001-09-05 20:56:15 +00:00
Sterling Hughes
1b0f00d67f
a bit of api cleanup... move range stuff into a macro (properly :)
2001-09-05 20:52:45 +00:00
foobar
42b5521af5
revert bad commit.
2001-09-05 19:47:55 +00:00
Dan Kalowsky
24b54b866f
Patch to stop the crashing behavior exhibited by PHP/ODBC in SOLID/DB2
...
submitted by Walter Franzini (walter@sys-net.it )
@Fix for LONG_VARCHAR type crashing submitted by Walter Franzini (walter@sys-net.it )
#Should this also be put into the 4.0.7 RC cycle?
2001-09-05 16:19:48 +00:00
Jason Greene
54905782b6
Prevent incorrect warning message from occuring on an EOF of socket_read.
2001-09-05 15:30:34 +00:00
foobar
032b263129
Fixes commit / link problems with certain compilers.
...
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
2001-09-05 13:18:09 +00:00
Sterling Hughes
b9edf7c17c
API Update
2001-09-05 06:55:37 +00:00
Jason Greene
9fe46a52d4
Much better fix for non forte compilers on Solaris.
...
Removed pragma hack.
Renamed socket struct to bsd_socket.
2001-09-04 22:27:30 +00:00
Frank M. Kromann
a219643b2b
Adding function to set transaction locking and isolation.
2001-09-04 21:51:11 +00:00
Rasmus Lerdorf
9a5fdae381
ok, hand-patched this one in
2001-09-04 21:50:27 +00:00
Rasmus Lerdorf
7101179c8d
Interbase extension fixes by Jeremy Bettis
...
(.dsp patch looked funky, but these ones look ok)
2001-09-04 21:47:05 +00:00
Egon Schmid
8820474d4a
Fixed some protos.
2001-09-04 21:46:27 +00:00
Egon Schmid
e7e88a25d1
Fixed some protos.
2001-09-04 21:07:17 +00:00
Egon Schmid
03fbbb098c
Fixed some protos.
2001-09-04 10:44:28 +00:00
Sterling Hughes
38cacba117
Thanks sebastian
...
# I really like this whole qa team thingy
2001-09-04 10:13:55 +00:00
Sterling Hughes
536c96969b
update php_trim as well...
2001-09-04 09:35:53 +00:00
Sterling Hughes
c661449ebf
fix crash bug
2001-09-04 09:33:30 +00:00
Andi Gutmans
17765221df
- Fix namespace collisions.
2001-09-04 07:41:20 +00:00
Sterling Hughes
0935217091
fix proto
2001-09-04 06:21:48 +00:00
Sterling Hughes
e55315a375
tabs -> spaces
2001-09-04 06:20:23 +00:00
Sterling Hughes
fe03f6f4c2
Begin cleanup, api wise...
2001-09-04 06:18:11 +00:00
Sterling Hughes
3151916113
pval -> zval
2001-09-04 06:08:42 +00:00
Daniel Beulshausen
9b8886410d
fix zts+win32 build
2001-09-04 02:19:30 +00:00
Sterling Hughes
dda004bcfb
- update to php4 api
...
- expand case statements, ie:
case 1: case 2: case 3:
to
case 1:
case 2:
case 3:
- Remove un-necessary brackets and parentheses (only when it takes away from
readability, I know this is quite arbitrary, but I did my best :)
2001-09-03 23:30:33 +00:00
Sterling Hughes
55b600d03c
fix compile on sun forte cc
2001-09-03 21:54:27 +00:00
Andi Gutmans
1ecd31b66c
- Fix thread safe mode.
...
- Please don't use Java style function braces.
2001-09-03 20:21:00 +00:00
Derick Rethans
383691eec2
- Fix broken build
...
#- Please test before commit!
2001-09-03 17:38:10 +00:00
Stanislav Malyshev
0a143cf655
Add _php_math_zvaltobase and _php_math_basetozval
...
This allows to use bindec, etc. functions to convert numbers longer
than fits in long, using floats instead.
Note: the functions like decbin still don't use the zval-ed functions,
so they work only on longs yet.
2001-09-03 16:26:31 +00:00
Jeroen van Wolffelaar
dc8386e30d
Removed outdated comment until I've got a better one
2001-09-03 12:01:50 +00:00
Jeroen van Wolffelaar
efb83df9f9
Kill some warnings/errors (reported by Sebastian, more to come, but
...
could take some time. Update of ZTS-builderrors is welcome)
2001-09-03 11:57:15 +00:00
Sterling Hughes
79c27f0cd2
should be this
2001-09-03 08:47:45 +00:00
Sterling Hughes
b417b96fb8
- Update to the PHP4 API (newer macros)
...
- Improve error reporting from split()
- Some minor speed improvements
2001-09-03 08:44:02 +00:00
Sterling Hughes
f6d73d73fb
stray tabs
2001-09-03 06:10:45 +00:00
Sterling Hughes
f14ada19ac
cleanup sscanf() just a tiny bit, just so it looks like the rest of the code
...
in the string.c file.
2001-09-03 04:49:36 +00:00
Jeroen van Wolffelaar
0cb6a31906
Fix array_rand and array_suffle to use php_rand correctly
2001-09-03 01:54:04 +00:00
Jeroen van Wolffelaar
b0300e26df
Fix prototype
2001-09-03 01:46:03 +00:00
Jeroen van Wolffelaar
72c7ae080b
Fix SIGSEGV because HAS_SRAND didn't check wether the entry existed at
...
all
2001-09-03 01:25:24 +00:00
Jeroen van Wolffelaar
1a68fe49cb
Add forgotten files to MAIN
2001-09-03 01:10:29 +00:00
Jeroen van Wolffelaar
92f1248a49
Update credits
2001-09-03 01:09:35 +00:00
Jeroen van Wolffelaar
f7306ce010
Merge RAND_REDESIGN into MAIN
2001-09-03 01:06:23 +00:00
Zeev Suraski
f7e7b42d4b
Restore session_adapt_url()
2001-08-31 20:03:09 +00:00
Zeev Suraski
b080ddb867
Cleanup and clarify
2001-08-31 19:26:12 +00:00
Zeev Suraski
642eab8b46
define_sid updates
2001-08-31 19:22:08 +00:00
Zeev Suraski
b2b50ab525
Fix trans_sid handler registration logic
2001-08-31 15:22:10 +00:00
Andrei Zmievski
392e1edee8
@- Made in_array() and search_array() allow the needle to be an array in
...
@ itself. (Andrei)
2001-08-31 04:52:10 +00:00
foobar
d340c5b2bf
@- Added ini_get_all() function which returns all registered ini entries
...
or the entries for the specified extension. (Jani)
2001-08-30 17:47:04 +00:00
foobar
67b9fb4912
KISS. And the search order must be reversed always. Last one counts.
2001-08-30 16:29:36 +00:00
foobar
5dd2b6e2fd
According to Zeev this code is just for showing how to create overloaded classes.
2001-08-29 23:53:22 +00:00
Joey Smith
a4a1543753
Fix bug #13025 .
2001-08-29 22:26:04 +00:00
foobar
08a521572f
WS fixes and indenting.
2001-08-29 16:00:30 +00:00
Wez Furlong
efdc50c175
fix build
2001-08-29 13:13:24 +00:00
Wez Furlong
e6c7f6f22c
fix bug# 13017 - patch from tsukada@fminn.nagano.nagano.jp
2001-08-29 11:29:52 +00:00
Wez Furlong
b9c4dc4a05
@- Added mailparse_uudecode_all() which extracts all uuencoded attachments
...
(Wez)
2001-08-28 21:52:11 +00:00
Rasmus Lerdorf
563ffb8984
Kill a warning
2001-08-28 21:50:37 +00:00
Wez Furlong
1164abcdab
fix uudecode
2001-08-28 21:50:29 +00:00
Wez Furlong
9a8c9439e8
fix cp1252 -> wchar conversion
2001-08-28 18:26:46 +00:00
foobar
6cc6e1e668
Coding style.
2001-08-27 22:26:49 +00:00
Chuck Hagenbuch
1c6bfcaa33
shorter protos
2001-08-27 20:05:11 +00:00
Chuck Hagenbuch
0aca825435
add ngettext() support from Walter Franzini <walter@sys-net.it>, and use Z_*
...
macros.
2001-08-27 18:43:07 +00:00
Zeev Suraski
d7149ba8fc
Cleanup
2001-08-27 02:06:32 +00:00
Zeev Suraski
b781720b36
More fixes and refinements
2001-08-27 00:23:55 +00:00
Hartmut Holzgraefe
05af99cd35
whitespace
2001-08-26 14:26:36 +00:00
Hartmut Holzgraefe
739716883b
removed dbplus_change function
...
moved db++ specific includes to .c files
2001-08-26 14:25:48 +00:00
Hartmut Holzgraefe
521084f661
implementation of missing functionality
...
implementation and build improvements
2001-08-26 14:24:34 +00:00
Hartmut Holzgraefe
b693782c36
removed as all functions from the perl interface have now been implemented
2001-08-26 14:20:51 +00:00
Hartmut Holzgraefe
c7b55925a1
added symbolic constatns for error codes
...
removed dbplus_change function
some build improvements
2001-08-26 14:19:47 +00:00
Hartmut Holzgraefe
b073c312b3
added -lm to LIBS, whitespae
2001-08-26 14:15:39 +00:00
Hartmut Holzgraefe
57d971d2ef
whitespace
2001-08-26 14:12:27 +00:00
Zeev Suraski
d697a558ac
Fix my session updates.
...
trans_sid handling will no longer slow down performance unless a session
is actually in use.
2001-08-26 11:49:43 +00:00
Joey Smith
5d451c9885
Fix 1st case of #9893 . 2nd case was already fixed in previous commit.
2001-08-26 11:36:27 +00:00
Zeev Suraski
dc9769ea96
Fix trans-sid.
...
Still need to figure out how to turn trans-sid only when sessions
are actually used.
2001-08-26 11:14:35 +00:00
Rasmus Lerdorf
70c581b820
Test your changes please Jani
2001-08-26 01:10:10 +00:00
Zeev Suraski
7b73aee40f
Make the session module more independent
2001-08-26 01:09:20 +00:00
Zeev Suraski
d5e5e376ab
This option is no longer needed
2001-08-25 16:19:57 +00:00
Zeev Suraski
b8763a6f8c
Get rid of TRANS_SID - it's always possible to use it now.
2001-08-25 16:09:23 +00:00
Zeev Suraski
13ff183225
Move the trans-sid mechanism to use the output buffering mechanism.
...
Advantages:
- Would work with the output buffering mechanism in general, and with
output compression in particular
- Should yield better performance (untested as of yet)
2001-08-25 15:57:42 +00:00
Zeev Suraski
bc596544a1
add struct name
2001-08-25 12:47:12 +00:00
Wez Furlong
2121989d4d
This test needed a newline after an echo.
...
# However, the test still fails on my system
2001-08-25 09:23:10 +00:00
Wez Furlong
cda7f49324
Windows-1252 encoding awareness
2001-08-25 09:21:43 +00:00
foobar
f03a871d93
Fixed bug: #12948 , #12945
2001-08-24 20:05:58 +00:00
Wez Furlong
9e7da02d3b
Fix htmlspecialchars problem.
2001-08-24 08:58:10 +00:00
Andrei Zmievski
cae9763d0a
@- Fixed a crash bug in array_map() if the input arrays had string or
...
@ non-sequential keys. Also modified it so that if a single array is passed,
@ its keys are preserved in the resulting array. (Andrei)
2001-08-24 02:58:23 +00:00
Sterling Hughes
36412eb5de
proto fix
2001-08-24 02:24:03 +00:00
John Donagher
faa5031f25
Don't try and search a 0-length string. This allows parse_url() to correctly
...
parse a non-pathed URI, i.e. 'scheme://'
2001-08-24 02:21:16 +00:00
Sterling Hughes
bd4eb1bf78
noet
2001-08-24 01:23:14 +00:00
Sterling Hughes
580d41b3af
Break the entire PHP build
...
# just kidding, noet work :)
2001-08-24 01:21:14 +00:00
Sterling Hughes
dd094d1866
noet
2001-08-24 01:12:37 +00:00
Sterling Hughes
ca5eb34608
New extensions should put this in by default
2001-08-24 01:09:10 +00:00
Sterling Hughes
398b65ed2f
noet
2001-08-23 21:56:29 +00:00
Sterling Hughes
0fabddb745
some cleanup
2001-08-23 21:22:38 +00:00
Zeev Suraski
55c5c68769
whitespace
2001-08-23 14:24:13 +00:00
Wez Furlong
f20e9fa298
- Add support for chinese encodings to htmlentities/htmlspecialchars
...
(patch from Alan Knowles <alan_k@hklc.com>)
2001-08-23 10:43:15 +00:00
Jeroen van Wolffelaar
3e62bd0867
Reverted the patch to main branch - should have branched whole
...
ext/standard...
2001-08-22 22:14:08 +00:00
Jeroen van Wolffelaar
43c2bc364f
Commit forgotten fix in crypt.c, oversight of a BC-problem
2001-08-22 22:11:57 +00:00
foobar
8ade27507a
killed a compile warning.
2001-08-22 17:39:16 +00:00
foobar
93311d9301
Fixed two problems:
...
- CGI_BINARY was defined always thus this extension
could be compiled with even when not building CGI binary.
- HAVE_READLINE => HAVE_LIBREADLINE (typo)
2001-08-22 10:25:24 +00:00
foobar
1f30f907b9
More compile warnings nuked.
2001-08-22 09:20:40 +00:00
foobar
b78f77575b
indent.
2001-08-22 08:43:52 +00:00
foobar
5296d29b59
Killed a compile warning.
2001-08-22 08:34:04 +00:00
Gavin Sherry
bd4150ed80
Fixed buffer overflow issue.
2001-08-22 05:47:11 +00:00
Gavin Sherry
ff7a694e0f
Changed php_strip_tags() to check if <? was XML code.
2001-08-22 02:03:14 +00:00
Stig Bakken
3b4f80a035
* added two missing end folds
2001-08-22 00:09:27 +00:00
Joey Smith
1c10503029
Hmmm...not sure what this was trying to do. stat() was acting like filesize().
2001-08-21 23:58:19 +00:00
Joey Smith
f0ea3478cb
Some changes to help out previous users of domxml...
...
node::tagname == node::name.
Add property "type" to textnode types.
2001-08-21 21:49:32 +00:00
Sterling Hughes
f9d913537b
Fix typo
2001-08-21 17:58:37 +00:00
Ulf Wendel
1ffed2e53f
Added two new functions:
...
int pdf_get_minorversion()
int pdf_get_majorversion()
Both functions are taken from the C-Library. You should be able to determine
the API version of the extension/library using pdf_get_value() or
pdf_get_parameter() but these functions need a pdf object to work on. This
means that you have to create an pdf object before you can find out the
API version. Using pdf_get_minorversion() and pdf_get_majorversion() there's
no need for this.
2001-08-21 13:33:16 +00:00
Zeev Suraski
e140b35b04
API update
2001-08-21 12:57:53 +00:00
Sascha Schumann
95347cd868
Further work on autoconf-2.5x support
2001-08-21 11:45:33 +00:00
Sascha Schumann
8ab1c2aa44
nuke some apparently harmful spaces
2001-08-21 11:02:42 +00:00
Sterling Hughes
ee1eaf9fbb
Update api and fix some compile warnings
2001-08-21 09:04:18 +00:00
Jeroen van Wolffelaar
d14b3a86cf
Proto fix
2001-08-20 20:50:54 +00:00
Sascha Schumann
01672af8f0
Improved fix
2001-08-20 15:27:45 +00:00
Stanislav Malyshev
902100a692
Fix long printing in smart_str_print_long
2001-08-20 15:26:10 +00:00
Stanislav Malyshev
8fd65b9f16
test big numbers too
2001-08-20 14:15:05 +00:00
foobar
abeb4bd2e5
Cleaning. And made the check for SSL support in SNMP to really work.
2001-08-20 14:04:48 +00:00
Harald Radi
acf13f82c1
catch date conversion errors
2001-08-20 08:53:18 +00:00
Harald Radi
3d0ab1236f
hum, wasn't $foo->bar 's property type OE_IS_METHOD ?
2001-08-20 08:52:49 +00:00
Sergey Kartashoff
c9aa94fc6f
# just an author's promary email change in headers
2001-08-20 08:31:30 +00:00
Dave Hayden
22aed399e7
Added flags for SWFDisplayItem_addAction
...
Added Ming RINIT function
Added error handler for reporting Ming errors in PHP environment
Added size arg to drawGlyph function
Added swfdisplayitem_addAction function
Added ming_useSWFVersion function for selecting SWF 4 compatibility
Added SWFBitmap object
Added hacky SWFInput object for loading data from file/network/process
2001-08-20 03:32:43 +00:00
Dave Hayden
91997ed31c
changed version check to look for function Ming_useSWFVersion, indicating
...
Ming 0.2a
2001-08-20 03:24:14 +00:00
Dave Hayden
e0f91d3c48
added function prototypes:
...
PHP_RINIT_FUNCTION(ming)
PHP_FUNCTION(swfdisplayitem_addAction)
PHP_FUNCTION(ming_useSWFVersion)
2001-08-20 03:23:26 +00:00
Shane Caraveo
b87aa1f67b
Fixes for non-TS compilation
2001-08-19 22:02:46 +00:00
foobar
fd4de85836
Added some missing information.
2001-08-19 06:39:13 +00:00
foobar
e5bd800aeb
Fixed bug: #11232 . Now we require Fribidi 0.9.0.
...
# Better use the latest version for this one too since
# it seems to have stabilized and they made an internal
# rewrite for that one.
2001-08-19 06:37:05 +00:00
foobar
7e34d46573
ws fix.
2001-08-19 01:47:19 +00:00
foobar
d7d89bcf68
ws
2001-08-19 00:05:06 +00:00
foobar
c902ad74f0
null terminate the returned string in here too.
2001-08-18 23:43:04 +00:00
foobar
1ffbcc5ecf
ws fix.
2001-08-18 23:07:10 +00:00
foobar
a000bdd93e
libxml 2.4.2 is required now.
2001-08-18 21:08:52 +00:00
Zeev Suraski
b8624e7e08
Fix bugs #7301 , #6827
2001-08-18 16:56:34 +00:00
foobar
d3aff0f6ee
make this test work.
2001-08-18 16:47:02 +00:00
Sterling Hughes
807b49aa2f
K&R format changes
2001-08-18 08:43:47 +00:00
Marc Boeren
48d6d5e531
whitespace, braces, coding style (Mc)
2001-08-17 13:56:29 +00:00
Andi Gutmans
e245e33f1f
- Use the same coding standards for pointers as the rest of PHP.
...
- For example, char ** foo should be char **foo
2001-08-17 13:00:46 +00:00
Marc Boeren
9a22911392
Added preliminary support framework for Oracle 8. (Mc)
...
Thies C. Arntzen will look into this to actually make it work,
as I don't have Oracle installed here. As I said, it is only a
framework for Oracle, and it will most likely crash if you
actually try to use the oracle functions before Thies (or
anyone else that wants to, of course) has had a chance to look
at it.
# The other databases will continue to work, of course :)
2001-08-17 12:54:24 +00:00
Sterling Hughes
03724a70e9
Z_*_P{0,2} macro work.
2001-08-17 09:10:49 +00:00
Sterling Hughes
c53f80fb23
1) update to the ZEND_NUM_ARGS() and Z_*_P{0,2} macros
...
2) minor ws improvements, removing unecessary error checking logic, and
making the error messages a bit nicer looking
2001-08-17 09:08:03 +00:00
foobar
8f6394365c
Look for iconv library also in $ICONV_DIR.
2001-08-17 08:33:49 +00:00
Harald Radi
feff3512f4
fixed a buggy cast
2001-08-17 08:17:13 +00:00
Sterling Hughes
06aa7a4d19
Cleanup of var_dump() with correct macro's, k&r indent, and removal of a
...
pair of unnecessary { }
2001-08-17 07:50:15 +00:00
Sterling Hughes
844788a4b8
pval -> zval
...
Z_*_P{0,2} macros
easier way of doing urldecode(), from rawurldecode() (a tad faster too).
2001-08-17 07:41:20 +00:00
Sterling Hughes
591aba3c89
ws fix.
2001-08-17 07:07:34 +00:00
foobar
85255d9ee5
HAVE_LIBICONV was never defined.
2001-08-17 06:54:55 +00:00
Sterling Hughes
6bc04c0858
Clean up the function for the Zend API (php3, early php4 relics removed).
...
Use PF_INET, instead of AF_INET, if present.
remove some code enclosed in #if 0 ... #endif that made no sense
2001-08-17 06:53:26 +00:00
Joey Smith
c8b294afa3
@- Fix a crash in dbase_replace_record (Patch by robin.marlow@dps-int.com).
...
This fixes Bug id #11928 .
2001-08-16 23:44:10 +00:00
Zeev Suraski
e9da242ed4
Send Content-Length if we're sending just one chunk
2001-08-16 23:34:25 +00:00
Rasmus Lerdorf
b732d8da35
Missing define
2001-08-16 23:31:54 +00:00
Zeev Suraski
ef18947e5a
sync with CODING_STANDARDS
2001-08-16 20:57:55 +00:00
Chuck Hagenbuch
c1a8854993
add tail pointer to speed up imap_search (submitted by Rob Siemborski
...
<rjs3@andrew.cmu.edu>).
2001-08-16 20:13:27 +00:00
Rasmus Lerdorf
2b4c2a2ff5
Commit a bit of random plane hacking.
...
- A slight exif fix from the latest version of jhead
- Make ext_skel's confirm_module_compiled function consistent
2001-08-16 00:16:00 +00:00
Zeev Suraski
2d8ca548e2
Fix build
2001-08-15 22:49:15 +00:00
foobar
3cc6655f3a
Add the build time too. Bug: #12774
2001-08-15 22:37:31 +00:00
Jeroen van Wolffelaar
2b6bafb269
Remove cbrt also, and mark logm1 and exp1p as expermintal
2001-08-15 19:08:59 +00:00
Jeroen van Wolffelaar
d62fbbd5a8
MF407
2001-08-15 19:01:32 +00:00
Daniel Beulshausen
0a6878cc02
accomodate SAPI_API changes
2001-08-15 18:11:40 +00:00
Thies C. Arntzen
04c3f8403f
mega patch to avoid recursive oci-calls as they might break oracle!
...
php will simply exit() (!!!) once it encounters an attemp to call oracle
while still in an oracle-call. this can only happen when the script gets
interrupted (timeout, apache-restart) and php tries to run the cleanups even
though we are in an unclean state. i will add an -ini flag soon (not before
4.0.7) which will (optional) make php not run the cleanups when in an unclean
state!
2001-08-15 16:00:56 +00:00
Harald Radi
c674638dd0
removed CoInitialize() and CoUninitialize()
2001-08-15 10:39:59 +00:00
Sterling Hughes
8300abe367
Removed select(), fd_set(), etc. (wasn't present in the first place, and
...
these are implemented in the sockwasn't present in the first place, and
these are implemented in the sockets extension))
2001-08-15 05:21:43 +00:00
Andrei Zmievski
e0c3120a11
Uh-oh, didn't mean to eliminate all folds.
2001-08-14 20:38:56 +00:00
Andrei Zmievski
90cc710351
Be more safe about freeing zvals.
2001-08-14 20:33:19 +00:00
John Donagher
02b431b6d5
Add compile-time versioning for default hostname
2001-08-14 20:28:07 +00:00
Daniel Beulshausen
48d75026ad
depreciated, but should build anyway...
2001-08-14 17:46:19 +00:00
Andi Gutmans
4580df1080
- This code looks OK so remove FIXME comment
2001-08-14 17:43:39 +00:00
Harald Radi
ed126f68d5
fixed com_invoke retval
2001-08-14 13:38:36 +00:00
Andrei Zmievski
4e89fa671e
I'm sure you meant 'l' here, Sterling.
2001-08-14 13:01:11 +00:00
Zeev Suraski
eb52f75407
- Avoid using malloc()
...
- Improve and fix leaks in the typelib constants registration mechanism
2001-08-14 12:47:09 +00:00
Harald Radi
0fbbadbd2f
fixed bug in com_load_typelib
2001-08-14 11:50:16 +00:00
foobar
80277be8e3
@- Fixed a bug in dbase_get_record() and dbase_get_record_with_names().
...
@ boolean fields are now returned correctly.
@ Patch by Lawrence E. Widman <widman@cardiothink.com> (Jani)
2001-08-14 11:07:18 +00:00
Zeev Suraski
b3e96d34f3
Whitespace
2001-08-14 10:53:42 +00:00
Zeev Suraski
17a36fb659
more whitespace
2001-08-14 10:15:43 +00:00
Zeev Suraski
cf5bf23b32
Whitespace & API updates
2001-08-14 10:13:35 +00:00
Zeev Suraski
4b3dea31e6
Whitespace and API updates (please keep code in the repository in K&R style
...
like the CODING_STANDARDS ask, guys...)
2001-08-14 10:04:59 +00:00
Zeev Suraski
f09302da07
Add missing break
2001-08-14 09:55:22 +00:00
foobar
601b4727b6
If the header file is not found, bail out.
2001-08-14 08:53:48 +00:00
Joey Smith
862472efdc
Obviously not complete, but somewhere to start.
2001-08-14 08:28:34 +00:00
Joey Smith
df7967729e
Kill some duplicate PHP_FALIAS()'s.
...
Many of these were commented out, but I killed them anyways just to be
consistent.
2001-08-14 08:23:22 +00:00
Joey Smith
14f05c17dd
Group PHP_FE and PHP_FALIAS with their own kind.
2001-08-14 07:49:28 +00:00
Joey Smith
a26110de2c
Fix my own ws errors.
2001-08-14 07:44:21 +00:00
Joey Smith
b79868c28c
Register le_domxmltextp.
2001-08-14 07:37:14 +00:00
Joey Smith
109f414557
Don't hammer the resource type right off the bat.
2001-08-14 07:36:18 +00:00
Joey Smith
e3d6fc72e5
Trim ws only lines.
2001-08-14 07:34:20 +00:00
foobar
a870fd2757
ws fix. Also added some missing protos and fold tags.
2001-08-14 07:14:23 +00:00
foobar
2983993b59
Fix ZTS build.
2001-08-14 07:09:20 +00:00
foobar
442669055b
Another TSRMLS_FETCH() nuke.
2001-08-14 05:44:33 +00:00
Alan Brown
292d27bf6a
Whenever typelibrary constants were loaded, there was a GP Fault at process exit as shutdown_memory_manager seemed to delete constants that were supposed to have been deleted earlier. It seems as though CONST_PERSISTENT is a bad thing to use. Resetting that bit on the constant creation still seems to work and the GP Fault at exit is gone.
2001-08-14 03:52:32 +00:00
Joey Smith
5e21a4afad
More Z_* macro changes.
2001-08-14 01:07:42 +00:00
Harald Radi
c4022601e2
hresult is returned if no return type is specified
2001-08-14 00:48:15 +00:00
Harald Radi
44ee05ae23
update todo
2001-08-14 00:29:51 +00:00
Harald Radi
d041982a9c
make next() return a single value instead of an array with one element
2001-08-14 00:28:54 +00:00
Joey Smith
022626a8f0
Remove unused variable and fix small mental error.
2001-08-14 00:10:39 +00:00
Harald Radi
9c6b9eb76b
merged from EXPERIMENTAL
...
lots of cleanup work
2001-08-13 23:39:11 +00:00
Harald Radi
bb0858db34
initial
2001-08-13 23:30:16 +00:00
Jeroen van Wolffelaar
d1881c8e26
Reverted - Didn't yet read Torben's mail - Sorry!
2001-08-13 22:34:02 +00:00
Jeroen van Wolffelaar
6be14623c5
Fixed proto's
2001-08-13 22:30:55 +00:00
Sterling Hughes
a24e3174a0
remove "i"
2001-08-13 22:01:39 +00:00
Joey Smith
2f485a1848
More WS.
2001-08-13 19:58:07 +00:00
Joey Smith
7094200c96
WS only
2001-08-13 19:45:26 +00:00
Rasmus Lerdorf
6a62f0bd4a
Add TSRMLS_CC
2001-08-13 19:36:43 +00:00
Zeev Suraski
0116a7b911
Fix crashes in parse_parameters calls
...
HEADS UP: Make sure you supply TSRMLS_CC for this function!
I'll try to think of a way that'd allow us to find this issue using
the compiler.
2001-08-13 19:31:18 +00:00
Andi Gutmans
ad18bd07f1
- More Engine 2 work.
2001-08-13 18:47:52 +00:00
Andi Gutmans
a5afd0e9d0
- ZE2 fixes
2001-08-13 16:40:12 +00:00
Andi Gutmans
9a3d4e736c
- More ZE2 fixes
2001-08-13 16:13:25 +00:00
Andi Gutmans
0c0999352f
- Attempt at fixing the Java extension for ZE2
2001-08-13 16:02:45 +00:00
Rasmus Lerdorf
d4a6487e8c
Faster wrong_param check for functions that take no parameters
2001-08-13 08:15:12 +00:00
Joey Smith
fc487f4603
Change to Z_* macros.
2001-08-13 08:08:18 +00:00
Rasmus Lerdorf
4d11d90880
Track down a few more functions that don't check for 0 args and use
...
faster mechanism
2001-08-13 07:55:39 +00:00
Rasmus Lerdorf
5b2227ea80
Oops, a little too much simplification there.. ;)
2001-08-13 07:28:57 +00:00
Rasmus Lerdorf
8c497f05c4
We don't consistently check for args passed to functions that don't
...
take any args. In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks. There are still lots of cases out there.
2001-08-13 06:43:47 +00:00
Sterling Hughes
3f505f8624
ws
2001-08-13 05:51:06 +00:00
Sterling Hughes
e9cdaccc51
Whitespace fixes and moving to zend_parse_parameters()
2001-08-13 05:44:37 +00:00
Zeev Suraski
49e45baf9b
- Fix API
...
- Update NEWS
2001-08-13 00:32:04 +00:00
Zeev Suraski
35de326b0e
Compile fix for oldie Linux systems (possibly others too)
2001-08-12 21:23:15 +00:00
Sebastian Bergmann
fd5eea8b96
Fix warning.
2001-08-12 18:57:35 +00:00
Thies C. Arntzen
d5b1a7f440
tags need to be UTF8-decoded as well.
...
guys, case_folding can only work when the parser target encoding equal (or
compatible) with the locale setting of the system as we use toupper to "do it"
2001-08-12 18:44:42 +00:00
David Eriksson
4fee32fac9
adjusted Satellite for Zend 2
2001-08-12 09:48:07 +00:00
David Eriksson
224600786c
changed IOR values
2001-08-12 09:47:37 +00:00
David Eriksson
4e998ed80a
wrote some tests for satellite
2001-08-12 09:23:19 +00:00
Andi Gutmans
ff39e51fdf
- Make com work with new object model
2001-08-12 04:31:14 +00:00
Andrei Zmievski
1388a3a396
Save spec_opt for each function.
2001-08-12 03:46:25 +00:00
Andrei Zmievski
75da34e8aa
Fix it up a bit.
2001-08-12 02:45:41 +00:00
Rasmus Lerdorf
ecc2fae542
Oops, missing () there
2001-08-12 00:14:48 +00:00
Joey Smith
2aca8c67ea
Let domxml compile with ZendEngine2.
2001-08-11 20:44:30 +00:00
Andi Gutmans
d80ee070f9
- Make odbc_fetch_object() work with Engine 2
2001-08-11 18:28:31 +00:00
Andi Gutmans
ed9c36c1b8
- Make mysql_fetch_object() work w/ Engine 2
2001-08-11 18:27:48 +00:00
Zeev Suraski
c0404f4631
Whitespace
2001-08-11 17:03:37 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
Thies C. Arntzen
8b480b8c09
make sybase compile with engine2
2001-08-11 12:02:20 +00:00
Thies C. Arntzen
384c86542a
beautify
2001-08-11 10:52:52 +00:00
foobar
3619c6eb6a
Added $_SESSION to the $_* family.
2001-08-11 10:49:03 +00:00
Thies C. Arntzen
6479bfe3b7
use macros for accessing properties in object.
2001-08-11 10:29:14 +00:00
Andrei Zmievski
4e857ef2d3
Changed ext_skel to use zend_parse_parameters() for argument parsing in
...
the generated functions. This cuts down on code a lot.
The point before this change was tagged BEFORE_PARAM_PARSING_CHANGE.
2001-08-11 03:24:23 +00:00
foobar
8a7d1d8e17
ZEND macro-rename.
2001-08-11 02:46:57 +00:00
Frank M. Kromann
300ac8c238
Adding SQL statement to the warning
2001-08-10 20:34:05 +00:00
foobar
5019d3d4b9
Made use of the resource macros here too. And some beutifying.
2001-08-10 20:32:33 +00:00
Chuck Hagenbuch
a2b297bdf0
Add imap_setacl() function (Brian Masney <masneyb@seul.org>).
2001-08-10 18:32:56 +00:00
Wez Furlong
831f05b0fb
Fix some build probs on *bsd
2001-08-10 18:02:59 +00:00
Zeev Suraski
486ad565d0
More build fixes
2001-08-10 13:04:58 +00:00
Adam Dickmeiss
e4f0e351b7
Added yaz_sort. Updates for ZTS.
2001-08-10 12:53:11 +00:00
Zeev Suraski
c28a26b119
There we go.
2001-08-10 12:45:58 +00:00
Zeev Suraski
38c101521b
build fix
2001-08-10 12:28:15 +00:00
Rasmus Lerdorf
05db76df86
Sablot extension cleanup - it compiles again now
2001-08-10 09:48:48 +00:00
Rasmus Lerdorf
eee9187ecb
The checks were in the wrong order here. sablot depends on expat, so
...
check for expat first and add -lexpat then check for sablot
2001-08-10 09:05:37 +00:00
foobar
9e0ad17dc4
compile fix (missing TSRMLS_CC)
2001-08-10 08:02:09 +00:00
foobar
52e3b4a44f
Cleanup. Also make gethostnamel() to return FALSE on error and not just empty array.
2001-08-10 02:19:05 +00:00
Rasmus Lerdorf
9e9e47faa4
Filter a bit of the "Bronx" out of this README
2001-08-10 01:41:14 +00:00
David Eriksson
77298408b3
Prevent potential crash
2001-08-09 22:00:05 +00:00
David Eriksson
81a7f27471
Convert parameter to long if needed.
2001-08-09 21:59:27 +00:00
David Eriksson
507d5699f0
Added zend_ prefix to wrong_param_count in enum.c, object.c and struct.c
2001-08-09 21:57:57 +00:00
David Eriksson
f5c48a1406
struct.c
2001-08-09 21:56:25 +00:00
David Eriksson
eeb26b89ec
Prevent potential crashes.
2001-08-09 21:56:03 +00:00
David Eriksson
ece087b842
(PHP satellite_object_to_string) Added function to get IOR of object.
2001-08-09 21:55:10 +00:00
David Eriksson
114d33ae07
rewrote configuration script
2001-08-09 21:53:50 +00:00
David Eriksson
e306d079ab
Added patch for ORBit that handles "Multiple Components Profile" in an IOR.
2001-08-09 21:42:54 +00:00
Joey Smith
ca33def60b
K&R-ify the switch statments.
2001-08-09 12:41:39 +00:00
Joey Smith
f8d7307270
Commit acutal code only, will do ws on another pass.
2001-08-09 12:35:09 +00:00
Joey Smith
00418457d3
Revert patch to seperate code from whitespace changes.
2001-08-09 12:22:41 +00:00
Joey Smith
e2a2aa75b0
Restore xpath_eval() and the underlying php_xpathptr_eval().
...
It still leaks like crazy, but does not appear to crash, and
seems to work correctly.
Anyone who can possibly test this, please do.
@- Restore xpath_eval() and php_xpathptr_eval() for 4.0.7. There
@ are still some known leaks.
2001-08-09 12:15:58 +00:00
Rasmus Lerdorf
c359e40a57
More ext_skel cleanup
2001-08-09 04:47:47 +00:00
Zeev Suraski
f47962c7c0
Implement import_request_variables()
2001-08-08 20:05:37 +00:00
Wez Furlong
b00809a322
Fix probs on OpenBSD-current and RedHat 6.1
2001-08-08 20:00:09 +00:00
Zeev Suraski
5eb9495b1b
- Implement $_FORM
...
- Update phpinfo()
- Update NEWS
2001-08-08 17:16:20 +00:00
Marc Boeren
c04b317a28
Fixed a too hasty copy/paste action in the DBX_FBSQL constant check
2001-08-08 10:08:25 +00:00
Marc Boeren
a4abfc1953
Added Frank to the CREDITS for FrontBase support
...
Added dbx_fbsql.c to the Makefile.in
# Could someone please compile/test this? My Linux-box is down :(
# Win compiles just fine, I don't expext any trouble on Linux...
2001-08-08 08:48:32 +00:00
Marc Boeren
fdc3b548f5
Added extra entries for FrontBase support (Mc)
2001-08-08 08:44:41 +00:00
foobar
92ea7171c8
Changed the old skool resource stuff to use the Zend macros.
2001-08-08 02:55:07 +00:00
foobar
529b4dca82
Cleanup. (some relics from php3 era?)
2001-08-08 02:02:02 +00:00
foobar
bef77f811a
Make this compile again.
2001-08-08 01:52:22 +00:00
Rasmus Lerdorf
b94cff2559
Fixed a bunch of problems here
2001-08-08 00:20:19 +00:00
foobar
4263571386
More TSRM work.
2001-08-07 23:27:01 +00:00
foobar
001df0d028
Yet another TSRM fix.
2001-08-07 20:13:54 +00:00
Frank M. Kromann
4c5a6cbb82
Fixing a TSRMLS_FETCH problem.
2001-08-07 19:56:33 +00:00
Andrei Zmievski
c4555f9f55
@- Added vprintf() and vsprintf() functions that allow passing all arguments
...
@ after format as an array. (Andrei)
2001-08-07 19:44:45 +00:00
foobar
d7e1fe914a
Killed compile warnings.
2001-08-07 19:24:21 +00:00
foobar
ac28ca9d85
killed a compile warning.
2001-08-07 19:21:19 +00:00
Frank M. Kromann
587e3600d8
Adding cvs ID to source files
2001-08-07 19:09:58 +00:00
Frank M. Kromann
21e2a8fc1b
Adding FrontBase support to the DBX extension
2001-08-07 19:08:06 +00:00
Harald Radi
5e867acb28
TSRM fix
2001-08-07 19:02:01 +00:00
foobar
6916db60e8
More TSRMLS_FETCH() nuking.
2001-08-07 18:36:55 +00:00
foobar
63b7e5e052
Another TSRM fix. Plus killed some compile warnings.
2001-08-07 17:57:55 +00:00
foobar
ecfcae02a6
Another TSRM fix.
2001-08-07 17:40:10 +00:00
Harald Radi
516e769d5b
TSRM fix
2001-08-07 17:26:37 +00:00
Harald Radi
b4bc16bbc8
TSRM fix
2001-08-07 17:18:20 +00:00
foobar
053cac2c3a
Missed these
2001-08-07 17:17:39 +00:00
Andrei Zmievski
32440e3051
Fix a couple of leaks.
2001-08-07 16:41:33 +00:00
foobar
e53100fc7a
php_sig_gd2 is only needed for GD extension.
2001-08-07 16:35:35 +00:00
foobar
ab1ad77e0f
oops. Copy-paste-magic. :)
2001-08-07 16:27:29 +00:00
foobar
f710812427
Yet another TSRM fix.
2001-08-07 16:24:11 +00:00
foobar
e17f384ee7
Beutifying. Also made a check for IMAP-2001.
2001-08-07 16:18:05 +00:00
foobar
27fcd0509a
@- Added support for GD2 image type for ImageCreateFromString() (Jani)
2001-08-07 16:15:45 +00:00
Daniel Beulshausen
289770bf61
let ext\shmop build under win32
2001-08-07 13:33:27 +00:00
Adam Dickmeiss
9cb9b84e92
ZTS updates.
2001-08-07 11:22:33 +00:00
Frank M. Kromann
57946eb3be
Adding missing TSRM macros.
...
Kill signed/unsigned compiler warning
2001-08-06 16:58:27 +00:00
foobar
755723bb3a
- This is not supposed to be used, from c-client docs (formats.txt):
...
#"The following file/message formats are supported by c-client as of
# the time of this writing:
#
#. mx This is an experimental format, and may be removed in a future
# release. An mx format mailbox has a .mxindex file which holds
# the message status and unique identifiers. Messages are
# stored in Internet standard CF LF form, so the file size of
# the message file equals the size of the message.
#
# mx is somewhat inefficient; the entire directory must be read
# and each file stat()'d. We found it intolerable for a
# moderate sized mailbox (2000 messages) and have more or less
# abandoned it."
2001-08-06 16:36:31 +00:00
foobar
654b4332c7
Some cleanup. Removed unnecessary duplicate #ifndef's.
2001-08-06 15:58:37 +00:00
foobar
f9c76ee19f
Fixed bug: #12597 .
2001-08-06 15:40:47 +00:00
foobar
b5e49a1ba8
removed unused function. (seems like a copy of imap_body)
2001-08-06 15:29:49 +00:00
Thies C. Arntzen
a35df189b8
we can no longer register internal-classes once the script is started.
...
therefore the "incomplete class" is now registered at MINIT time.
2001-08-06 13:36:08 +00:00
foobar
89a8b0144c
Fix TSRM problem.
2001-08-06 12:26:55 +00:00
foobar
84042cd9f1
Another TSRM fix.
2001-08-06 12:15:05 +00:00
Sascha Schumann
23b9300fd1
more tsrm cleanup
2001-08-06 03:50:52 +00:00
Jeroen van Wolffelaar
dce78d75d6
Removed some duplicate code out of addclashes
...
# Not TSRM-safe, I am afraid...
@- addcslashes now warns when charlist is invalid. The returned string
@ remained the same (Jeroen)
2001-08-05 23:08:19 +00:00
Jeroen van Wolffelaar
b3a7b945fa
Fix test
2001-08-05 20:27:24 +00:00
Jeroen van Wolffelaar
ec140f4f67
Bugfix in abs(), abs(LONG_MIN) was bogus
2001-08-05 20:27:03 +00:00
Sebastian Bergmann
b4f31ecef5
Fix ZTS build.
2001-08-05 20:25:40 +00:00
Jeroen van Wolffelaar
2e6850a91d
Added proto for php_charmask in the .h
2001-08-05 20:02:22 +00:00
Jeroen van Wolffelaar
4a01a15fd2
Error-handling for the second parameter of [l|r]trim
2001-08-05 19:38:49 +00:00
Jeroen van Wolffelaar
71a6c03bef
Didn't commit the correct trim.phpt, it now passes
2001-08-05 19:06:34 +00:00
Jeroen van Wolffelaar
860be31cae
More tests
2001-08-05 18:38:48 +00:00
Sterling Hughes
294e19cd5c
Add the Cyrus IMAP extension to PHP's CVS (Manual editing of the news file to occur).
2001-08-05 17:43:03 +00:00
Sascha Schumann
a19563c8dc
more tsrm cleanup
2001-08-05 16:52:29 +00:00
Sascha Schumann
480ffb3d75
more tsrm cleanup
2001-08-05 16:43:57 +00:00
Sascha Schumann
c095fa33d1
fix php_write
2001-08-05 16:22:50 +00:00
Sascha Schumann
b349df6364
some more eliminate-fetches-or-escalate-them-at-least
2001-08-05 16:21:33 +00:00
Sascha Schumann
373b3e101e
more tsrm cleanup -- output.c is not doing any fetches anymore
2001-08-05 15:55:43 +00:00
Sascha Schumann
8aef193056
more tsrm cleanup
2001-08-05 15:29:47 +00:00
Stanislav Malyshev
02fea7ed23
(gmp_init) Added extra (optional) argument to gmp_init():
...
a base argument which indicates the number base. E.g.:
gmp_init('1010101010',2); // feed gmp a binary value.
Patch by Troels.
@- Added optional extra argument to gmp_init(). The extra argument
@ indicates which number base gmp should use when converting a
@ string to the gmp-number. (Troels)
2001-08-05 14:48:17 +00:00
Stanislav Malyshev
c7d7834a43
Check that _php_math_basetolong result fits long (by request from Troels Arvin)
2001-08-05 14:40:14 +00:00
Sascha Schumann
aafdfe82cb
further tsrm cleanup
2001-08-05 14:36:51 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
foobar
d800a2e16a
- Fixed bug: #10822
...
- CRYPT_SALT_LENGTH is now set to the maximum length the system
supports, like it has been in the documentation for ages.
- The automatic salt is now also working like it should.
2001-08-04 23:58:56 +00:00
Rasmus Lerdorf
628c21275f
support for multiple exif comments
...
@ - Enhance read_exif_data() to support multiple comment tags (Rasmus)
2001-08-04 22:35:03 +00:00
Jeroen van Wolffelaar
c105f7142f
Better abs() testing
2001-08-04 21:40:34 +00:00
Jeroen van Wolffelaar
fcf57d371d
Layout: revert accidentel joining of lines
2001-08-04 21:37:43 +00:00
Jeroen van Wolffelaar
2b17cd1982
Named some constants in filestat to improve readability
2001-08-04 21:34:11 +00:00
Jeroen van Wolffelaar
68df8ea465
Another bugfix in pow. Special cases, with 10 times the same thing are
...
_so_ error_prone... :(
2001-08-04 20:58:47 +00:00
Rasmus Lerdorf
7d5999fb4d
Kill a warning
2001-08-04 20:52:35 +00:00
Jeroen van Wolffelaar
b245789bdb
Bugfix. All tests pass now on my system
2001-08-04 18:29:37 +00:00
Rasmus Lerdorf
cc40cdc7d7
Fix newly introduced crash on a file-not-found
2001-08-04 18:08:13 +00:00
Jeroen van Wolffelaar
58ee4e47a4
Fix bug in the tests :-(
...
There seems to be one real bug in pow(), I'm trying to fix it...
2001-08-04 18:03:29 +00:00
Thies C. Arntzen
dca5f8dce4
fix serialize:
...
- keys no longer have a trailing \0
- no leak on calling __wakeup (also saved 2* malloc & free)
- serializing objects that implement __sleep() works again
- make test works again:-)
2001-08-04 17:29:54 +00:00
Andrei Zmievski
bffbe675f9
@- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei)
2001-08-04 16:54:20 +00:00
Thies C. Arntzen
3884b15b95
fix possible crash - we should never keep the zval** as they might point
...
somewhere into the Engine. (there's still a new bug in strtok - hunting;-)
2001-08-04 16:53:57 +00:00
Sean Bright
d789d45a2e
WS Pollution
2001-08-04 13:47:44 +00:00
Jeroen van Wolffelaar
0cf60d749e
Added tests for pow()
...
#The tests near LONG_MAX/MIN fail, I know that
2001-08-04 13:20:31 +00:00
Jeroen van Wolffelaar
8803bbaa80
- A little bit cleaning of pow(), and 12 bytes less memory (wow)
2001-08-04 13:11:17 +00:00
Sean Bright
fff883689e
Don't allocated quoted strings unless we are in a META tag.
2001-08-04 12:36:51 +00:00
Thies C. Arntzen
402f91fa2d
calling mail_open() causes a SEGFAULT when using imap-2000c. mail_open(0,"",0);
...
seems to work.
2001-08-04 10:50:55 +00:00
Sebastian Bergmann
724b4d409c
Eliminate TSRMLS_FETCH() call.
2001-08-04 05:37:11 +00:00
Sebastian Bergmann
ea79632b29
Fix Win32 (and maybe other ZTS) builds.
2001-08-04 05:22:55 +00:00
Sascha Schumann
c947a0739e
Clean up the serializer by modularizing some of its code. That also
...
enables us to serialize hash indices without creating zvals for them.
Due to its nature, this patch also includes some whitespace changes.
2001-08-04 03:30:38 +00:00
foobar
a9f850f34e
fixed a memleak.
2001-08-04 03:06:12 +00:00
foobar
faaeee3705
Fixed bug: #11784 (combined with fixes Rasmus committed..)
2001-08-04 01:56:40 +00:00
Jeroen van Wolffelaar
dc4adaa231
#- HTML-safe error for pow()
2001-08-03 23:27:23 +00:00
Jeroen van Wolffelaar
b32f1ab299
#- Fix silly bug that caused segfault
2001-08-03 23:10:04 +00:00
Jeroen van Wolffelaar
f0bcaf3901
Un-revert patch
2001-08-03 23:09:05 +00:00
Jeroen van Wolffelaar
f6979a7d2b
Reverting last patch, segfaults.
2001-08-03 22:42:02 +00:00
Rasmus Lerdorf
9b0df45da7
Change from E_ERROR to E_WARNING in the exif extension
...
@ Change from E_ERROR to E_WARNING in the exif extension (Rasmus)
2001-08-03 22:33:10 +00:00
Jeroen van Wolffelaar
7733d95770
- New pow() function. It now gives warnings on wrong input, and
...
returns integer result when possible
@- New pow() implementation, which returns an integer when possible,
@ and warnings on wrong input (jeroen)
2001-08-03 22:19:11 +00:00