Commit Graph

10204 Commits

Author SHA1 Message Date
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
Jeroen van Wolffelaar
c2150f7038 - Added new parameter to [l|r]trim, to specify _what_ to trim
@- Added optional second parameter to trim, chop and ltrim. You can
@  now specify which characters to trim (jeroen)
2001-08-03 22:12:46 +00:00
Jon Parise
74b4b08b7b Don't blindly assume -lc-client when linking 'conftest'. 2001-08-03 19:36:58 +00:00
Jeroen van Wolffelaar
49c16290f3 - Fix array_sum to switch to float on overflow. Fixes bug#12505 2001-08-03 19:18:51 +00:00
Jon Parise
9db1d22659 Full include paths are preferrable. 2001-08-03 19:11:31 +00:00
Jon Parise
5b8c562b22 smart_str use requires php_smart_str.h. 2001-08-03 19:05:40 +00:00
Zeev Suraski
c06dbe23bb Fix buglet 2001-08-03 16:08:01 +00:00
Tomas V.V.Cox
fa0481609c * Added the new fetch row mode: DB_FETCHMODE_OBJECT that returns the columns
of a fetched row as object properties
* Added a new class DB_row (the default type of a fetched row object)
* Updated some phpdocs
2001-08-03 14:13:52 +00:00
Sascha Schumann
d6dc2ba6bc Treat trailing zeroes correctly 2001-08-03 11:09:13 +00:00
Sascha Schumann
723bbcbea0 Do the nul'ifiying of php_var_serialize's result at the right place 2001-08-03 11:00:16 +00:00
Sascha Schumann
4a1943c542 Pass on nul'ified data 2001-08-03 10:39:48 +00:00
Sascha Schumann
f6ed403fde Don't copy the strtok parameter 2001-08-03 09:50:38 +00:00
Sascha Schumann
84aed3b718 Fix a possible segfault (Thanks to Sebastian for catching it) 2001-08-03 09:36:14 +00:00
Sascha Schumann
3459f05a07 NUL-terminate string 2001-08-03 09:35:33 +00:00
Sascha Schumann
60024a469d Add some casts 2001-08-03 08:51:53 +00:00
Sascha Schumann
7471943c06 Replace our strtok implementation with a binary-safe one which code
does not cause headaches when reading it.  Also happens to be a bit quicker.
2001-08-03 08:49:19 +00:00
Zeev Suraski
e206bd3374 Fix macro 2001-08-03 08:15:16 +00:00
Sascha Schumann
4dfa91543c Convert serializer to smart_str.. avoids lots of sprintf's and
copying of data.
2001-08-03 07:25:27 +00:00
Zeev Suraski
2ec440078a Get rid of a couple of bogus persist_alloc()'s, and some cleanup 2001-08-03 07:15:14 +00:00
Zeev Suraski
11908f2db8 More TSRM stuff 2001-08-03 07:12:59 +00:00
Zeev Suraski
66d9314b60 Implement fast memory allocation and reduced fragmentation under Windows. 2001-08-03 07:06:05 +00:00
Zeev Suraski
ded764461b Some compat macros 2001-08-03 07:02:46 +00:00
foobar
f9e375f493 Changed the PHP_ADD_LIBRARY_DEFER() to work when building
standalone extensions. Also improved the checks for SSL and Kerberos in
IMAP extension configure.
2001-08-03 05:17:18 +00:00
foobar
85e15deabe These are redefined in the sqltypes.h that comes with unixODBC. PR: #12519 2001-08-03 05:07:22 +00:00
Sebastian Bergmann
25076098c0 Revert whitespace patch. 2001-08-03 05:05:47 +00:00
foobar
e069610c09 Add missing header. 2001-08-03 04:56:09 +00:00
Zeev Suraski
bb60fe439f Fix non-TS build 2001-08-03 04:49:43 +00:00
96b8b4dc24 ChangeLog update 2001-08-03 00:20:00 +00:00
Rasmus Lerdorf
6e41650e52 Revert this change - if you want to do this, do it in a 'make clean' 2001-08-02 21:20:20 +00:00
Sterling Hughes
70a0951eb9 Larger transfer buffer before realloc() this should speed things up a bit 2001-08-02 19:28:33 +00:00
Sterling Hughes
b71efb2f9c ws fix 2001-08-02 19:25:46 +00:00
foobar
17e6295fbb Delete config.cache always. This makes config.nice a bit more useful. 2001-08-02 18:22:57 +00:00
Zeev Suraski
7ecb33868c require_once()/include_once will return true in case a file was not included
because it was already included earlier.
Changed the default return value type of the include() family from long to
boolean
2001-08-02 17:27:19 +00:00
Thies C. Arntzen
84169a4bc2 this kills 90% of the warings in maintainer-mode 2001-08-02 16:03:17 +00:00
Sebastian Bergmann
fcfea1c55d Whitespace fixes. 2001-08-02 15:16:43 +00:00
Sebastian Bergmann
010c3b44ed Fix Apache2Filter build. 2001-08-02 15:14:30 +00:00
Thies C. Arntzen
36a0e6369d not too sure about this:
the uw-imap lib is usually called libc-client.a - kde comes with a libimap.a
which (when used instead of libc-client.a) will break the build. so
i have reversed the detection for the imap-libs - 1st look for the variations
of libc-client and (if 'em are not found) try -limap. i hope this breaks
nobodies setup!

we should really add a AC_TRY_COMPILE for all extensions that get added thru
configure!
2001-08-02 11:23:01 +00:00
Thies C. Arntzen
67775fcd2c adding -lsablot later makes it appear _before_ -lexpat in config_vars - and
that fixes a link problem (atleast) for me.
sterling?
2001-08-02 11:19:19 +00:00
Zeev Suraski
9424023968 Optimize the NEWS file :) 2001-08-02 07:29:39 +00:00
Zeev Suraski
49c874e7f5 Update NEWS 2001-08-02 07:17:01 +00:00
Zeev Suraski
c14baeece3 Avoid going over huge lists of functions, classes and constants.
Special thanks to the guys from the MS lab for the profiling tools :)
2001-08-02 07:00:43 +00:00
Zeev Suraski
7deb44e36d Some cleanup 2001-08-02 06:16:20 +00:00
Zeev Suraski
37a3490f33 Fix the .h file (untested) 2001-08-02 05:56:10 +00:00
Zeev Suraski
5dfe1deb96 We no longer need any FETCH's for internal functions 2001-08-02 05:49:24 +00:00
Rasmus Lerdorf
8cf4e4a725 TSRM fix for ext_skel - probably more needed 2001-08-02 05:36:50 +00:00
Zeev Suraski
3aa5674a84 TSRMLS fixes 2001-08-02 05:25:29 +00:00
ce16a6e920 ChangeLog update 2001-08-02 00:11:23 +00:00
Zeev Suraski
527689ca81 Beautify 2001-08-02 00:11:20 +00:00
e128e422e0 NEWS update 2001-08-02 00:11:17 +00:00
Zeev Suraski
12318a2068 Fix Apache/ZTS build 2001-08-01 22:53:26 +00:00