Commit Graph

4725 Commits

Author SHA1 Message Date
foobar
3186994df1 Fix bug: #11397 2001-06-12 05:28:41 +00:00
foobar
9ddd6300de Fix the compile problem on some systems that do not have hstrerror() 2001-06-12 04:42:01 +00:00
Frank M. Kromann
44bc630d9b Fixing return value for fbsql_query on updates and fixing crash on fbsql_connect. 2001-06-12 00:39:05 +00:00
Harald Radi
20bb78f397 added experimental enum support
changed everthing to use the Z_* makros
2001-06-11 23:05:32 +00:00
Daniel Beulshausen
a82f4f76e8 add mbstring & xslt 2001-06-11 15:43:50 +00:00
Daniel Beulshausen
669a6d6cf2 should build under windows as well 2001-06-11 15:31:58 +00:00
foobar
73bfcd8a8a this should be here..styles must be array 2001-06-11 15:21:47 +00:00
Daniel Beulshausen
491fcd2ef8 used in extension(s) as well 2001-06-11 15:18:44 +00:00
Daniel Beulshausen
c6b4e55838 PHPAPIize url function to make them available to the outside (i.e. mbstring) 2001-06-11 15:14:04 +00:00
Daniel Beulshausen
218f570864 let this stuff build under windows 2001-06-11 14:53:31 +00:00
Daniel Beulshausen
cae817a520 move some constants to a more appropriate place 2001-06-11 14:46:44 +00:00
foobar
8b15d97a31 fixed proto 2001-06-11 14:39:13 +00:00
foobar
ffd1c31b53 Partial fix bug: #11333 2001-06-11 13:57:47 +00:00
Marc Boeren
113b128290 Fixed bug that caused dbx_query to segfault on Linux (not Windows, though) 2001-06-11 13:03:10 +00:00
Dan Kalowsky
a7e9b56112 # just correcting the evil vim removal of {{{'s and }}}'s ... bad vim! no folding for you! 2001-06-11 01:00:43 +00:00
Harald Radi
22790c9602 removed warnings 2001-06-10 23:26:35 +00:00
Dan Kalowsky
eea60318d7 corrected a compile error (named variable missing). thanks to sebastian for pointing it out
# but why is he getting php-cvs commit messages and i'm not?!?
# i hope to hear that the mailing lists will be back online soon...
2001-06-10 22:40:32 +00:00
Sascha Schumann
5ebe991cfe Signal that no entry was found 2001-06-10 14:12:28 +00:00
Rui Hirokawa
fd46c91466 modified code freeing resouce which causes segmentation fault. 2001-06-10 09:41:43 +00:00
Sascha Schumann
22e506727c The Gettext module is not limited to the GNU implementation. 2001-06-09 16:55:27 +00:00
Daniel Beulshausen
bdcff9817b fix compilation 2001-06-09 09:30:42 +00:00
Daniel Beulshausen
6ebd6f956c fix module initialization 2001-06-09 09:23:49 +00:00
Dan Kalowsky
c3a3d5c853 added in a bit more checking on the persistent connection checks... 2001-06-08 15:31:29 +00:00
Sascha Schumann
b31801b249 Check for http_session_vars != NULL. 2001-06-08 11:45:53 +00:00
Rui Hirokawa
2be3c40b31 added charset parameter to output of mb_output_handler(). 2001-06-07 15:11:11 +00:00
Adam Dickmeiss
04bf3ebd55 Remove .libs in path to libyaz.la to make libtool 1.4 happy. 2001-06-07 13:40:31 +00:00
foobar
c2f4987ebd Removed some ws and couple of useless comments. 2001-06-07 13:17:02 +00:00
Rasmus Lerdorf
81af7edbd0 Blowfish detection patch from Alexander Bokovoy <ab@avilink.net> 2001-06-07 12:18:02 +00:00
Sterling Hughes
bf1738e86d remove unneccessary cast 2001-06-06 20:30:58 +00:00
Stanislav Malyshev
02b369e3a6 Make gmp compile again 2001-06-06 17:52:03 +00:00
Frank M. Kromann
127f827f76 Update fbsql_fetch_array() to match documentation 2001-06-06 16:57:16 +00:00
Uwe Steinmann
85d3d3e199 - fixed some compiler warnings 2001-06-06 14:48:01 +00:00
Rasmus Lerdorf
9c55882133 Fold a bit more code 2001-06-06 14:32:27 +00:00
Rasmus Lerdorf
81e2cf03ac Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
Wez Furlong
94ea334dce Prevent problems with PDFlib 3.00 when setting the imagewarning parameter.
# I don't know if this is in later minors of PDF 3.x; someone please check!
2001-06-06 09:58:22 +00:00
Andy Sautins
c3106f4c3e Change OCIFreeColl to OCIFreeCollection for consistency
with OCINewCursor/OCIFreeCursor
2001-06-06 00:08:21 +00:00
Rui Hirokawa
3acd77576e defined HAVE_CONFIG_H to enable DSO extension support. 2001-06-05 23:11:29 +00:00
Harald Radi
de780b345c bugfix: collections didn't work correctly 2001-06-05 22:09:58 +00:00
Frank M. Kromann
f8a697e2e8 Fixing memory leak.
Fixing mssql_pconnect to work with ISAPI
Adding MSSQL_NUM, MSSQL_ASSOC and MSSQL_BOTH so the extension will be more compatible with MySQL
2001-06-05 21:09:50 +00:00
Harald Radi
f6dc573f32 put VT_ARRAY outside of the switch 2001-06-05 16:24:53 +00:00
Jason Greene
14afcf724d Fix Non-terminated comment 2001-06-05 16:06:31 +00:00
Rui Hirokawa
491d00e46d two bug fixed: return value of mb_strimwidth() was invalid and separator parameter of mb_parse_str wasn't worked. 2001-06-05 14:25:23 +00:00
Marc Boeren
7567bf1862 Created a testset and a script to create a (mysql) database. This script
is easily modified to create other databases as well. The testset needs the
database, but it doesn't need to be a mysql database. Scripts to generate
other databases (with the same structure and data) would be appreciated.
2001-06-05 13:51:01 +00:00
Marc Boeren
98eed02fd7 Replaced dbx_cmp_asc and dbx_cmp_desc with dbx_compare function and
DBX_CMP_ASC, DBX_CMP_DESC flags.
Default comparison changed from DBX_CMP_TEXT to new DBX_CMP_NATIVE.
Solved bug in associative fields when using mssql
Cleaned up comments (/*/ ... /*/ to /* ... */)
dbx_connect now always return false if the database is not found.
Optimized dbx_query field-info retrieval loop
2001-06-05 13:39:09 +00:00
Rasmus Lerdorf
25c3a3a39d vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Harald Radi
4efe6f7e6b typelib is loaded automatically (depends on ini setting)
added com_load_typelib()
# i must get rid of duplicate defines()
@ fixed a bug when com.allow_dcom is set to false
@ added a further parameter to the constructor to load typelibs
@ from file when instantiating components (e.g. DCOM Components
@ without local registration). (phanto)
2001-06-05 12:53:44 +00:00
Harald Radi
088280c364 -used makros for zval modifications where possible
-small fixes in safearray to phparray code
2001-06-05 12:47:13 +00:00
foobar
d1a382a1e8 Fixed bug: #11265 2001-06-04 08:06:07 +00:00
foobar
fadd1472ea Fix bug: #9713 2001-06-04 02:04:46 +00:00
foobar
08ef1eac4a Always use -n... 2001-06-04 01:36:14 +00:00
Sterling Hughes
d892b34a36 fix this (mea culpa, stray commit) 2001-06-03 21:38:23 +00:00
foobar
75720b018e Fixed little buggie with T1lib support. 2001-06-03 21:32:53 +00:00
Sascha Schumann
72b9547d26 Fix XML build.
# sniper, did you ever test one of your patches?
2001-06-03 17:11:05 +00:00
Harald Radi
c073b5ce04 added safearray to pval conversion for 1d arrays 2001-06-03 15:35:41 +00:00
Harald Radi
b8627e62d4 @ added the possibility to specify typelibs by full name
@ in the typelib file (Alan Brown)
2001-06-03 15:33:41 +00:00
Sascha Schumann
36cfb10d79 fix logic 2001-06-03 13:59:21 +00:00
Harald Radi
c9159797d8 removed unneeded function 2001-06-03 01:38:56 +00:00
Harald Radi
ea6d39ca1c fixed typelib support 2001-06-03 01:20:08 +00:00
Rui Hirokawa
73aee8095f a bug fixed about memory reallocation and added extra parameter support to mb_send_mail(). 2001-06-03 01:14:45 +00:00
Sterling Hughes
c0779b6db9 Leftovers from master Beckham's patch. 2001-06-02 05:25:36 +00:00
Sterling Hughes
aa281a0771 Patch from Daniel Beckham, fetch the entry resource id, not the directory
resource id and fix prototype.
2001-06-02 05:12:44 +00:00
Frank M. Kromann
ea90497f67 Changed efree to free for perststant data. 2001-06-01 23:51:48 +00:00
Harald Radi
94769b8f72 removed hardcoded typelib version.
forgot to call release on typinfo and dispatch
when obtaining typelib from classname.
2001-06-01 23:39:44 +00:00
Frank M. Kromann
354c57a931 Gerring rid of C++ comments,
Adding extra cleanup.
2001-06-01 22:27:00 +00:00
MySQL Team
e8cbbc0637 Upgrade ext/mysql/libmysql to version 3.23.39. No major changes -
portability fixes.

Also add configure test for HAVE_INT_8_16_32 which should solve
compilation problems on AIX.
2001-06-01 20:07:26 +00:00
Sterling Hughes
304ac03be4 ops..
#coffee good
2001-06-01 18:54:14 +00:00
Sterling Hughes
c6402b2a2f # see
.
2001-06-01 18:47:03 +00:00
Sterling Hughes
015e1d3d68 # testing changes is a good idea.
We were passing the php socket resource identifier to select instead of
the socket fd...
2001-06-01 18:41:06 +00:00
foobar
cbe4d10a68 Cleaning up and fixed some compile problems on systems that only support static libs. 2001-06-01 12:49:50 +00:00
foobar
69e6f7ae52 Use different define name for this. 2001-06-01 06:42:14 +00:00
foobar
c44198ff3a Cleanup. ws fixes (no tabs in config.m4 files please) 2001-06-01 06:41:45 +00:00
foobar
4c2340897a Cleanup a little bit. 2001-06-01 06:40:15 +00:00
foobar
16216e3eed Make use of the --with-expat-dir configure option 2001-06-01 06:32:02 +00:00
foobar
3a1b61c07d Fix bug: #9009. 2001-06-01 06:26:22 +00:00
foobar
58d35ea778 Missing entries in phpinfo() output 2001-06-01 05:02:13 +00:00
foobar
328258ac08 Output something if password is not set. 2001-06-01 05:01:50 +00:00
Sterling Hughes
ad0fb091a3 fix crash. 2001-05-31 23:48:05 +00:00
foobar
334ac7fc94 - Cleaned up some whitespace (sorry, I should have committed that before
any other changes)
- Made use of the Zend resource macros
2001-05-31 21:09:30 +00:00
Frank M. Kromann
8d3ef75182 Fixing crash in shutdown after executing a SQL statement with errors 2001-05-31 19:40:24 +00:00
Frank M. Kromann
75daa01362 Adding missing resource 2001-05-31 18:57:58 +00:00
Frank M. Kromann
7fd7f0517a Changed code to return resources for links and results 2001-05-31 18:43:29 +00:00
Sterling Hughes
db305fc6f7 small ws fix. 2001-05-30 20:16:23 +00:00
Sterling Hughes
28160f73d0 Revert as per Herr Schumann's request. 2001-05-30 19:56:11 +00:00
Sterling Hughes
506ceb28fc Try #2
# aka, flying blind in a shitstorm, but it shouldn't hurt anything
2001-05-30 19:43:27 +00:00
Sterling Hughes
948edd322b should fix warnings under winblows. 2001-05-30 18:33:46 +00:00
Sterling Hughes
439038759b should fix compile warnings on win32 2001-05-30 17:49:33 +00:00
Sterling Hughes
c9ce7fcfc3 fix compile 2001-05-30 17:43:32 +00:00
Chuck Hagenbuch
093a807c11 Include the To: address in the overview information (already in the
envelope; it doesn't cost us anything).
2001-05-30 16:52:17 +00:00
Rasmus Lerdorf
1d115dbe8c ldap_result_entry needs to be initialized - tested
Should probably MFH this once someone else tests.
2001-05-30 15:09:20 +00:00
Adam Dickmeiss
c62baa9dc6 Added array options for yaz_connect: user, group, password, cookie,
proxy, and persistent.
2001-05-30 13:23:20 +00:00
Rasmus Lerdorf
7ee4c793c3 Note to self - stop coding on planes 2001-05-30 12:30:14 +00:00
Adam Dickmeiss
9667d6b381 Fixed bug where yaz_connect could fail in cases where it shouldn't. 2001-05-30 11:58:25 +00:00
Andrei Zmievski
daefeb59d5 Kill warning. 2001-05-29 20:32:57 +00:00
Frank M. Kromann
50bc884f78 Adding fbsql_status_db(). New function to get the status of a given database. 2001-05-29 16:01:54 +00:00
Chuck Hagenbuch
8f27945621 imap_thread(), from Rob Siemborski <rjs3@andrew.cmu.edu>. 2001-05-29 15:34:18 +00:00
Stanislav Malyshev
ca8c8264db Fix the reference serializer
# Hope now it is right...
2001-05-29 13:19:24 +00:00
foobar
56c24c3309 This should finally get rid of those zlib problems. And this is safe too. 2001-05-29 11:59:33 +00:00
Wez Furlong
8b5edf1a9e Fix compile warning 2001-05-29 10:14:46 +00:00
foobar
0c5d5a513b Added missing GD/GD2 image handling functions. 2001-05-29 07:46:07 +00:00
Sterling Hughes
4fbb606f60 compile warning fixes....... 2001-05-29 07:08:47 +00:00
foobar
3e7754c51e Make this compile. Killed one compile warning.
# I still get a lot warnings when compiling sablot.c
2001-05-28 21:06:50 +00:00
Boian Bonev
0404618712 use AC_CHECK_LIB to see if the new API is supported 2001-05-28 19:58:36 +00:00
Boian Bonev
e685cad988 changed checking if vpopmail has the new API
added checks if certain functions are supported
added vpopmail_alias_get_all
2001-05-28 19:56:10 +00:00
Boian Bonev
71553e5560 add checking if vpopmail has the new API 2001-05-28 19:53:45 +00:00
Andi Gutmans
91f4eec7e9 - tmpbuf is emalloc()'ed so this patch would be faster. 2001-05-28 19:38:30 +00:00
Wez Furlong
f808add1c0 Prepare for php_streams.
# Someone with interbase please test!
2001-05-28 18:30:57 +00:00
Wez Furlong
65b0e70e58 Fix leak 2001-05-28 18:29:07 +00:00
Wez Furlong
952a62207a Add extra parameter to php_escape_html_entities.
# I meant to commit this with the html.[ch] changes
2001-05-28 11:05:14 +00:00
Wez Furlong
d38cba8697 Added charset awareness to htmlentities() and htmlspecialchars(); use an
optional third parameter to specify the charset; otherwise tries to determine
it from the LC_CTYPE locale setting.
2001-05-28 11:00:06 +00:00
Wez Furlong
2bdef9c83f Improved performance of message part extraction when using a PHP-space
callback.
2001-05-28 10:57:23 +00:00
Sterling Hughes
3af89678ec compile goood, compile error baaad. 2001-05-28 04:40:08 +00:00
Sterling Hughes
5bff2399dd remove un-necessary inline bloat... 2001-05-28 03:37:17 +00:00
Sterling Hughes
687a1c1abe ws fix 2001-05-28 03:30:11 +00:00
foobar
6686f83799 Oops. 2001-05-28 03:18:44 +00:00
foobar
2798dd52af Killed some compile warnings. 2001-05-28 00:16:28 +00:00
foobar
d98f65085b Adding libnsl here causes problems on some systems. 2001-05-28 00:12:29 +00:00
foobar
d3aa2b0d17 Killed compile warnings. 2001-05-28 00:09:38 +00:00
foobar
ccf5f7ad04 Fixed some bugs. Now it compiles and works. 2001-05-27 23:57:27 +00:00
foobar
87eab1aa31 Removed duplicate line. 2001-05-27 23:56:16 +00:00
foobar
c2772e9c85 Just cleanup. 2001-05-27 23:55:44 +00:00
foobar
48fb0a62ec Make this compile even if the INFORMIXDIR is not in path. 2001-05-27 23:51:39 +00:00
foobar
2dca041ec3 killed some compile warnings. the informix header files redefine these. 2001-05-27 23:49:22 +00:00
foobar
49d18d9f25 Fix by Sterling Hughes. Fixes bugs: #10939, #10756, #10324 2001-05-27 23:26:58 +00:00
foobar
02400e339b remove ws, kill one compile warning. 2001-05-27 22:54:54 +00:00
foobar
67f2331d17 Per Sterling's request I'm committing this.
This works fine for me now. (I'm using external iconv libs)
2001-05-27 19:43:16 +00:00
foobar
1ecc932895 Fixed bug: #9707 2001-05-27 19:12:21 +00:00
Sterling Hughes
5ede574d49 Speed up data being sent to stdout 2001-05-27 19:11:09 +00:00
foobar
43e41ddb93 curl-config tells us which libraries it has compiled with. So we should use it. 2001-05-27 18:52:33 +00:00
foobar
d1735d5ed5 This is not needed. ssl_onceonlyinit() is enough. 2001-05-27 18:38:59 +00:00
Sterling Hughes
ee60cf057f Change the names around a bit zip_opendir() -> zip_open() and
zip_open() -> zip_entry_open()
2001-05-27 02:52:45 +00:00
Sterling Hughes
ea0f4078b5 @ Renamed the ZZiplib extension to the Zip extension, function
@ names have also changed accordingly, functionality, has stayed
@ constant. (Sterling)
2001-05-27 02:49:46 +00:00
Egon Schmid
3ceeb1ff40 Fix some protos. 2001-05-27 01:21:30 +00:00
Sterling Hughes
b2bd3b315f move to php_strtok_r() 2001-05-27 01:18:12 +00:00
Sterling Hughes
43865fb3c2 . 2001-05-27 01:16:45 +00:00
Sterling Hughes
1b20eacd21 so says sniper, and so it shall be. 2001-05-27 01:15:27 +00:00
Sterling Hughes
04908b1415 @ Made the length argument (argument 2) to pg_loread() optional,
@ if not specified data will be read in 1kb chunks. (Sterling)

@ Added a third argument to pg_lowrite() which is the length of
@ the data to write. (Sterling)
2001-05-27 01:10:36 +00:00
Sterling Hughes
d4b3b6d536 more leftovers 2001-05-27 01:05:31 +00:00
Sterling Hughes
129f37093a leftovers 2001-05-27 00:58:08 +00:00
Sterling Hughes
a2962a1312 # The mailing lists are a productivity hole, long live
cvsusers@php.net ;)

1) remove outdate struct xslt_function * construct in favor of
just using
the zval's themselves.

2) switch to call_user_function_ex() in the call_xslt_function()
function (gotta respect the alliteration ;) .

3) modify README.XSLT-BACKENDS to reflect some of the changes to
the api
2001-05-27 00:57:21 +00:00
Rasmus Lerdorf
8ca880265e Make c2-4 optional since they aren't needed in all cases 2001-05-27 00:01:55 +00:00
Andi Gutmans
fe1dbf644f - Add prototype. 2001-05-24 12:54:05 +00:00
Boian Bonev
9caffb4fb7 fixed prototypes 2001-05-24 10:38:17 +00:00
Boian Bonev
312290a2c4 added vpopmail_alias_get covering valias_select/valias_select_next 2001-05-24 10:33:32 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Boian Bonev
9270ae31ee cosmetic fixes; added 3 of the 7 valias functions 2001-05-24 03:31:09 +00:00
Boian Bonev
fe110e40e9 added prototypes 2001-05-24 03:20:35 +00:00
Boian Bonev
78380f1135 added check if vauth.h exists in vpopmail install 2001-05-24 03:19:44 +00:00
Boian Bonev
e38171a0b2 added 3 of 7 alias functions 2001-05-24 03:19:07 +00:00
Chuck Hagenbuch
9434da33b5 make it possible to set the CHARSET parameter with imap_mail_compose()
(Johan Ekenberg <johan@ekenberg.se>)
2001-05-24 03:06:10 +00:00
Sascha Schumann
3ffaa634a2 fix buggy debug statements 2001-05-24 01:12:11 +00:00
Sascha Schumann
5e112d4384 Due to dynamic registration of storage handlers, OnUpdateSaveHandler
might be called before that registration takes place and hence the
INI update is dismissed.  In that case, we defer the lookup to the
first request init.
2001-05-23 23:18:51 +00:00
Sterling Hughes
b4ce3a696f Fix credits 2001-05-23 21:09:20 +00:00
Andi Gutmans
14ac3d74b9 - Nuke GINIT 2001-05-23 17:10:40 +00:00
Andi Gutmans
4ddb24366f - Fix problem of output initialization 2001-05-23 16:52:45 +00:00
Andi Gutmans
d6656c2fa3 - Commit fix by Steve Meyers 2001-05-23 04:17:54 +00:00
Sterling Hughes
17e5edbf18 @ Added the CONNECTION_ABORTED, CONNECTION_TIMEOUT and CONNECTION_NORMAL
@ constants. (Zak)
2001-05-23 03:37:53 +00:00
John Donagher
639b957f74 Add missing end-folding delimiter 2001-05-23 01:50:11 +00:00
Andy Sautins
915875a667 - Add correct OCIObjectFree to free collections immediately ( OCI_FREECOLLECTION_FORCE )
- Added schema optional parameter to OCINewCollection to allow accessing types in
     other schemas.
   - Added OCI_TYPECODE_TABLE to OCINewCollection to allow creation of collection of TYPES
     as well as VARRAYS
2001-05-22 23:16:03 +00:00
foobar
3461a40063 Fixed bug: #10914 2001-05-22 21:33:17 +00:00
Andi Gutmans
177934732b - Start nuking not needed GINIT 2001-05-22 19:19:04 +00:00
Frank M. Kromann
251996bb79 Fixing prototypes to match function names 2001-05-22 18:26:36 +00:00
Andrei Zmievski
699489d456 @- Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value
@  when register_globals is on. (Andrei)
2001-05-22 17:55:07 +00:00
Frank M. Kromann
6b2df64cf0 Changing how persistant links are added to zend_lists 2001-05-22 17:32:17 +00:00
Jon Parise
311278f273 @ - Fix disk_free_space() and disk_total_space() under FreeBSD. (jon)
FreeBSD defines statfs(2) in <sys/mount.h>.  Teach PHP to look for it there.
2001-05-22 02:45:04 +00:00
foobar
920da9ef68 this fixes a few apache can not start bugs. 2001-05-22 00:39:17 +00:00
Derick Rethans
5512466878 - Nuke warning 2001-05-21 22:37:47 +00:00
Derick Rethans
31404981d3 - No need to include "zend" in include line
#- This broke compile because Unices want Zend instead of zend
2001-05-21 22:35:56 +00:00
James Moore
b68965f62f Fix for #8539 2001-05-21 21:06:08 +00:00
foobar
ffae2081d5 Fixed bug: #10777 2001-05-21 19:47:15 +00:00
Sterling Hughes
d3b4074ed7 Fix compile warning. 2001-05-21 19:36:22 +00:00
foobar
af5c5ecee1 fixed bug: #10593 2001-05-21 19:28:22 +00:00
James Moore
1dbab5bb33 Remove unused variable from imagesetstyle 2001-05-21 18:50:05 +00:00
Sterling Hughes
fc741eb754 one of these days I'll get this commit correct, just you watch!
# must not commit  before coffee
# must not commit  before coffee
# *ploink*
2001-05-21 18:35:47 +00:00
Sterling Hughes
b376e5b03e typo 2001-05-21 18:07:17 +00:00
Sterling Hughes
77cf892176 Fix socket_read to work under Linux again. 2001-05-21 17:48:19 +00:00
Sterling Hughes
7d15e8cce3 WS fix (php_read) and correct checking of the return value from inet_aton,
which returns *non-zero* on success (fix by Till Gerken).
2001-05-21 17:34:18 +00:00
Sterling Hughes
dc38b40eb8 Fixed bug where socket_connect() return the wrong value (report and fix by
Till Gerken)
2001-05-21 16:55:27 +00:00
foobar
d299236d7b Fixed bug: #10742 2001-05-21 16:18:51 +00:00
Andrei Zmievski
4d78270b4e Moving some functions into Zend. 2001-05-21 15:47:52 +00:00
Andi Gutmans
d160031c7d - EG's are passed automatically to internal functions. 2001-05-21 15:27:11 +00:00
Sean Bright
0b716d18b1 Added get_defined_constants() function. Returns an associative array of
constants mapped to their values.
@- Added get_defined_constants() function to return an associative array of
@  constants mapped to their values. (Sean)
# If anyone sees a problem let me know.
2001-05-21 13:36:42 +00:00
Sascha Schumann
82c4ac7423 Remove extraneous tab 2001-05-21 00:05:51 +00:00
Sascha Schumann
e2eaf6342e Add support for systems where p{read|write} take a off64_t without
being properly prototyped.
2001-05-20 23:39:09 +00:00
foobar
4e545c1d73 A few modifications to make the ZLIB checks work better. 2001-05-20 23:00:44 +00:00
Sascha Schumann
ae503d3a14 Whoops, the expat directory needs the XML_BYTE_ORDER macro 2001-05-20 22:18:03 +00:00
Sascha Schumann
244ea9f6c8 Don't add -DXML_BYTE_ORDER to global CPPFLAGS 2001-05-20 22:15:25 +00:00
Wez Furlong
8d6d3006e1 fixed a bug in mailparse_stream_encode which would default to a random encoding (usually base64)
# oops
2001-05-20 11:43:55 +00:00
Wez Furlong
6468f8b492 Imported mailparse extension
@- New mailparse extension for parsing and manipulating MIME mail (Wez)
2001-05-20 11:11:28 +00:00
foobar
fcfbb0cce6 This looks better. 2001-05-20 01:31:53 +00:00
Andrei Zmievski
e1f671fb5c Properly free callback_name only when necessary. 2001-05-20 01:21:44 +00:00
Derick Rethans
dc43b9f574 - Reversed 'fix' for #9698
- Fix for bug #9698/#10681 (patch by kettler@gmx.net)
@- Added the 'u' modifier to printf/sprintf which prints unsigned longs.
@  (Derick)
2001-05-20 00:23:49 +00:00
Rasmus Lerdorf
ae3dda8285 Fix bug #9526 2001-05-19 22:50:44 +00:00
foobar
16b94858b6 Fixed bug #10964 2001-05-19 22:21:40 +00:00
Sterling Hughes
02d4567bb7 nuke last remnants of the old globals stuff
# oops
2001-05-19 17:45:36 +00:00
Sascha Schumann
060983b184 Use zend_hash_add_empty_element 2001-05-19 14:51:39 +00:00
Sascha Schumann
3b822e5752 Looks like this was a bogus gcc warning.
Submitted by: Sebastian Bergmann
2001-05-19 10:10:49 +00:00
Sascha Schumann
6c3b8d5619 Improve reading from external data source for session id creation.
Improve generating the string representation of the md5 session id.
2001-05-19 09:58:31 +00:00
Sascha Schumann
991e05d062 Nuke some warnings. 2001-05-19 09:56:42 +00:00
Sascha Schumann
d5cfb03ac9 munmap() file in RSHUTDOWN, if PHPWRITE fails. 2001-05-18 23:38:46 +00:00
Derick Rethans
d1697ad012 - Fix for bug #10890
@- Fixed bugs in the mcrypt extension that caused crashes (Derick)
2001-05-18 20:54:15 +00:00
Sterling Hughes
3c8140d97b @ Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
@ specified that the drawn curve should be rounded. (Sterling)
2001-05-18 20:52:40 +00:00
Sterling Hughes
8f97b4d62f remove more php3 ts stuff 2001-05-18 20:37:21 +00:00
Sterling Hughes
fd3eb2544a should be using the function here. 2001-05-18 20:32:47 +00:00
Sterling Hughes
4812388278 Remove the remnants of old global macro's 2001-05-18 20:29:47 +00:00
Sascha Schumann
0255bb01e4 Files should be shared among processes. 2001-05-18 17:48:43 +00:00
Hartmut Holzgraefe
002d241a03 a small proto clarification 2001-05-18 16:42:54 +00:00
Andrei Zmievski
0ee9518396 Move -DSUPPORT_UTF8 flag into the appropriate Makefile so as not to pollute
the global namespace.
2001-05-18 15:34:58 +00:00
Uwe Steinmann
8562b074a3 - completed list of error messages (thanks to Torben Wilson) 2001-05-18 08:07:09 +00:00
Derick Rethans
73f04651fa - Fix for bug #9801 (and maybe others) 2001-05-17 21:27:48 +00:00
Sterling Hughes
f7c8bb6a29 Some fixes. Actually assign a value scheme_handlers before processing it.
Add some checks for key type.  Remove some debugging data.
2001-05-17 18:15:15 +00:00
Daniel Beulshausen
741fbe5fc6 winsock is already initialized in an higher version by php 2001-05-17 17:13:47 +00:00
Daniel Beulshausen
9820c2a5af update sockets to work with winsock as well 2001-05-17 17:02:37 +00:00
Martin Kraemer
c34896aba8 Allow for DB3 to reside in /usr/local/include/db3/ and -ldb3 2001-05-17 15:27:12 +00:00
Vlad Krupin
5cd87e870e ...and this fixes the typo I made long ago. It prevented people that have
certain weird installations of pspell from compiling properly (couldn't
find pspell header files). No-one noticed...
2001-05-17 00:32:45 +00:00
Vlad Krupin
3a56ec8ce2 Fix for bug 10912.
Also, if you explicily specify path in --with-pspell, the directories
/usr, /usr/local will no longer be searched even if the library is not
found at the specified location (this seems to make more sense)
2001-05-17 00:26:12 +00:00
Sterling Hughes
ffc997f149 Add a compile check for the cURL version and fix the compile in general. 2001-05-16 23:43:30 +00:00
James Moore
da22505333 - Sync prototype and definition of phpi_get_le_gd 2001-05-16 23:11:33 +00:00
Sascha Schumann
28a441fe02 Fix for #10900.
Submitted by: cech@debian.org
2001-05-16 12:01:25 +00:00
foobar
ad366598a6 Fixed bugs: #10297, #10615, #10783, #10880 2001-05-16 04:50:49 +00:00
Jon Parise
82b31fb7a3 @ - Added disk_total_space() to return the total size of a filesystem.
@   (Patch from Steven Bower)
2001-05-15 23:43:18 +00:00
Jon Parise
6c5db8d2d7 @ - Renamed diskfreespace() to disk_free_space() to conform to established
@   naming conventions. (jon)
2001-05-15 23:28:17 +00:00
Andrei Zmievski
58f7df0ae4 Revert previous commit - callback_name does need to be checked because
it is set conditional on is_callable_replace.
2001-05-15 18:00:35 +00:00
Gavin Sherry
3a677d3e20 fixed shm_remove to expect the correct argument. 2001-05-15 07:32:34 +00:00
Gavin Sherry
16a13a6210 Added function sem_remove 2001-05-15 07:29:55 +00:00
Gavin Sherry
00f013189e Added sem_remove to remove semaphores from memory 2001-05-15 07:29:31 +00:00
foobar
613aacf0b0 MFB 2001-05-15 02:05:33 +00:00
foobar
f3a67a2e40 Fix bug: #5418 2001-05-15 01:50:46 +00:00
Sterling Hughes
00421e7c83 leftovers..... 2001-05-14 21:04:23 +00:00
Frank M. Kromann
11d14590d1 Adding a small readme file for win32 users 2001-05-14 21:04:19 +00:00
Frank M. Kromann
dcdd6d2b05 updating the win32 readme 2001-05-14 21:03:38 +00:00
Sterling Hughes
db58472b56 Register the binary transfer option 2001-05-14 21:02:31 +00:00
Andrei Zmievski
1f9808b4ee Clean up call_user_func_*(). 2001-05-14 20:56:05 +00:00
Sterling Hughes
803bebb303 Use zend_is_callable to test whether or not the given callback is valid
before calling the function.
2001-05-14 20:06:06 +00:00
Sterling Hughes
47ee387d79 Use zend_is_callable() and fix sp of deprecated. 2001-05-14 19:19:03 +00:00
Sterling Hughes
c58fdadc1f Couple of changes (and a little whitespace correction, sorry to mix :(
1) Depreciate the call_user_method*() variety of functions, their
    functionality can be easily duplicated by using the call_user_func*()
    functions (using the array(&$obj, "method") syntax).

    2) Change some pval's to zval's.

    3) Improve the error handling mechanism of call_user_func*() to report
    an the class name and the function name if an object or class name is
    given.
2001-05-14 19:02:23 +00:00
Derick Rethans
6123e2abe0 - Bumbed up the warning level to be in sync with fopen (which is E_WARNING
too) (See bug #10856)
2001-05-14 18:30:07 +00:00
Vlad Krupin
2331bbe445 @- Fix for bug 2181. Now zero is returned instead of an unset value for
@  7-bit encoding and plain text body type.
Also, bogus types and encodings will not be returned any longer.
Function imap_bodystruct() is also fixed in the same manner.
2001-05-14 18:24:27 +00:00
Andrei Zmievski
8a86d17882 Need to use ELS_FETCH() here. 2001-05-14 14:16:44 +00:00
Andrei Zmievski
553e04be2f @- Fixed a bug in call_user_*() functions that would not allow calling
functions/methods that accepted parameters by reference. (Andrei)

* Allow separation of arguments in call_user_* functions - this allows calling
  functions that force parameters by reference.
* Use executor function table instead of compiler one.
2001-05-14 13:24:03 +00:00
Andrei Zmievski
eba50153ef No need for check since callback_name is always filled in. 2001-05-14 12:58:48 +00:00
Thies C. Arntzen
56cebea057 added expat version to phpinfo(); 2001-05-14 11:35:25 +00:00
Harald Radi
ee17c6440d renamed 2001-05-13 16:50:48 +00:00
Harald Radi
49be36d70d modified because of the changes in com.c 2001-05-13 14:22:19 +00:00
Harald Radi
3c60aabe22 @added com_release($obj) and com_addref($obj) functions
@and the related class members $obj->Release() and $obj->AddRef()
@to gain more control over the used COM components. (phanto)
also changed the return values of the internal functions from VARIANT
to pval, so there's no need to convert the returned value after each function
call and the real hashtable entry is returned and not only a copy of it.
#now everything is prepared to implement the array support
2001-05-13 14:21:20 +00:00
Harald Radi
04a5d124aa @added an additional parameter to dotnet_load to specify the codepage (phanto) 2001-05-13 14:15:26 +00:00
Wez Furlong
74ce7ee6c5 Removed redundant (and incorrect) '0' from "begin" string for uudecode. 2001-05-13 12:04:37 +00:00
Sascha Schumann
90c2979144 Nuke some warnings. 2001-05-13 07:37:28 +00:00
Wez Furlong
2633261cc3 Took out a line that might cause problems if you try and uuencode; there is no
uuencode support yet.
# Looks hard to do too; we need to buffer 45 chars
2001-05-12 23:49:29 +00:00
Wez Furlong
b2703047ab Added uudecode support (MIME name "x-uuencode") 2001-05-12 23:42:09 +00:00
Wez Furlong
615086c2c9 prototype for php_file_le_stream() 2001-05-12 21:49:13 +00:00
Wez Furlong
7a88deb402 expose streams to other extensions. 2001-05-12 21:48:39 +00:00
Daniel Beulshausen
e91089edb9 hopefully fix win32 build, untested 2001-05-12 20:01:59 +00:00
Sascha Schumann
e5176fe60a First step towards full libtool 1.4 portability 2001-05-12 12:22:34 +00:00
Sascha Schumann
afdaee9e47 Nuke more quotes 2001-05-12 11:09:05 +00:00
Sascha Schumann
9982ff568a Nuke some unneccessary quotes 2001-05-12 10:33:52 +00:00
Sascha Schumann
b18077179d Default to including expat.h 2001-05-12 10:22:16 +00:00
Sascha Schumann
cd30f5a6eb Rename some custom macros from AC_* to PHP_* 2001-05-12 09:26:47 +00:00
Sascha Schumann
718b588b14 Fix indentation of ./configure --help messages. 2001-05-12 09:13:42 +00:00
Sascha Schumann
8a3eb51a26 Replace ssize_t with long, as Win32 lacks proper support for that type. 2001-05-12 08:39:33 +00:00
Thies C. Arntzen
679f794eb4 add missing file 2001-05-12 08:21:20 +00:00
Wez Furlong
340c56e5c7 Fixed leak. 2001-05-12 00:45:55 +00:00
foobar
be3b514637 Fixed bug: #10823 2001-05-12 00:15:08 +00:00
Andrei Zmievski
ae90bcf16d Open season on memory leaks, shoot all you can. 2001-05-11 21:29:47 +00:00
Sascha Schumann
7566cf7f27 Fix special treatment of zlib by introducing the Apache concept
of config.m4 hierarchies.
2001-05-11 20:09:31 +00:00
Jason Greene
c115a75544 Rewrote stat() and fstat() to be memory efficient, due to a recent
thread on php-dev.

Note: I added a macro that might have use in other instances, but for now
is included in php_filestat.h
2001-05-11 19:55:44 +00:00
Thies C. Arntzen
cd2f057f1a bump bundled expat to 1.95.1
win32 project _needs_ updating and i don't have windows
2001-05-11 17:57:37 +00:00
Sascha Schumann
814fa2c71c Save a couple of syscalls per session
Fix apparent new-session-files-were-not-locked bug

Replace %m with portable "%s", strerror(errno)
2001-05-11 17:43:40 +00:00
Andrei Zmievski
1db2516277 Start cleaning up domxml memory leaks. Still much stuff to do. 2001-05-11 16:14:19 +00:00
Derick Rethans
04bd8d9174 Tabs please... 2001-05-11 13:34:49 +00:00
Sebastian Bergmann
e69f4dc51c Fix for bug #10815. 2001-05-11 13:32:10 +00:00
foobar
cf75b18a8d Fixed problems which were caused by the previous patches.
#And the usage of PHP_ADD_LIBRARY_DEFER is clear to me now..:)
2001-05-11 10:04:06 +00:00
Jason Greene
7f3291ae8c Fix is_executable test. 2001-05-11 02:45:49 +00:00
Jason Greene
0ed93d71b2 @fstat() and stat() now return identical output by returning a numerical and
@string indexed array (Jason)

(Andrei's suggestion to still allow backwords compatibility.)
2001-05-11 01:47:46 +00:00
foobar
5bc7cf90cd default to /usr/local 2001-05-10 23:55:56 +00:00
Frank M. Kromann
c1b7b83d45 Fixing some proto types 2001-05-10 16:35:05 +00:00
Andrei Zmievski
f071e8c566 Always free the callback_name when using zend_is_callable(). 2001-05-10 16:30:12 +00:00
Zeev Suraski
4c10e198e2 Fix buggy line split 2001-05-10 14:25:48 +00:00
Rui Hirokawa
45a2e761e7 fixed bug of mb_substitute_character() and mb_substr() in mbstring. 2001-05-10 13:12:03 +00:00
foobar
9fa37f60dc Fixed bug: #10779 2001-05-10 09:25:32 +00:00
foobar
9cce67f16d Cleaning this a bit too. Now I'm also able to configure and compile
with the test for imap-ssl.
2001-05-10 06:58:25 +00:00
Sterling Hughes
b01ba3f820 Fix naming issue
# UNTESTED, but it should do the trick
# everyone on a winblows box please try out the change
2001-05-10 05:42:54 +00:00
foobar
a972b6aa5b Cleaning up here too. 2001-05-10 00:59:41 +00:00
foobar
5f20be7315 Moved the zlib configure before other extensions. 2001-05-10 00:57:36 +00:00
foobar
14e883c3a0 Cleaned up this a bit.. 2001-05-10 00:55:48 +00:00
Wez Furlong
63b3fa262c Reverse my earlier patch for mysql_db_query() & emit an E_NOTICE of it's
deprecated status.
# Should it be a warning or a notice?
2001-05-09 22:28:16 +00:00
Frank M. Kromann
4d1c545a9c Switching to zend_register_list_destructors_ex() 2001-05-09 21:44:44 +00:00
Andrei Zmievski
8112d1beba @- Added is_callable() function that can be used to find out whether
@  its argument is a valid callable construct. (Andrei)
2001-05-09 20:06:39 +00:00
Frank M. Kromann
5258141db8 Minor change to the way string lengths are calculated and space alocated. 2001-05-09 19:18:04 +00:00
Frank M. Kromann
90243d2cf0 Getting rid of memset. 2001-05-09 16:20:34 +00:00
foobar
3d430e4141 The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s 2001-05-09 15:38:29 +00:00
Wenhui Zhang
b6b5039f25 Change for Empress PHP support 2001-05-09 15:35:31 +00:00
Rui Hirokawa
223eca31fb remaked mb_gpc_handler as mb_parse_str() in mbstring. 2001-05-09 11:18:11 +00:00
Sterling Hughes
59d4dfc4c6 fix crash bug (unlikely, but this is the only place where the reported bug
would make sense, and it can't hurt)...
2001-05-09 04:54:46 +00:00
foobar
1a032963ea Fixed a typo. 2001-05-09 01:41:53 +00:00
Harald Radi
ffefed1972 E_ERROR instead of E_WARNING on nullpointer exceptions 2001-05-09 00:00:01 +00:00
Frank M. Kromann
383c757a43 Use RETURN_ macros to define function returns.
Fix fetch functions to return values from array data structure
2001-05-08 22:58:32 +00:00
foobar
3d856be7f6 No need to show these if they are not used. 2001-05-08 22:18:00 +00:00
Dan Kalowsky
b3a509ac9e this is a fix for bug 10250. it basically provides the unixODBC driver with
access to the SQLDriver functions.  patch originally submitted by
dzoll@nyscul.org, and is going to be tested by some of the unixODBC people.
2001-05-08 19:47:20 +00:00
Frank M. Kromann
8a030b9809 Fixing the use of compatibility mode. When the flag is off the system should return correct PHP types (default) when the flag is on strings will be returned for all data types. 2001-05-08 19:24:14 +00:00
Frank M. Kromann
aaebbecdcf Fixing the use of compatibility_mode setting in php.ini.
Nuking trailing spaces when returning a string.
2001-05-08 18:10:25 +00:00