]> granicus.if.org Git - php/log
php
23 years agomore tsrm cleanup
Sascha Schumann [Sun, 5 Aug 2001 15:29:47 +0000 (15:29 +0000)]
more tsrm cleanup

23 years ago(gmp_init) Added extra (optional) argument to gmp_init():
Stanislav Malyshev [Sun, 5 Aug 2001 14:48:17 +0000 (14:48 +0000)]
(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)

23 years agoCheck that _php_math_basetolong result fits long (by request from Troels Arvin)
Stanislav Malyshev [Sun, 5 Aug 2001 14:40:14 +0000 (14:40 +0000)]
Check that _php_math_basetolong result fits long (by request from Troels Arvin)

23 years agofurther tsrm cleanup
Sascha Schumann [Sun, 5 Aug 2001 14:36:51 +0000 (14:36 +0000)]
further tsrm cleanup

23 years agofurther tsrm cleanup
Sascha Schumann [Sun, 5 Aug 2001 14:27:39 +0000 (14:27 +0000)]
further tsrm cleanup

23 years agofurther tsrm cleanup
Sascha Schumann [Sun, 5 Aug 2001 14:17:55 +0000 (14:17 +0000)]
further tsrm cleanup

23 years agodelay module_shutdown even further. zend_try and _catch need the current
Thies C. Arntzen [Sun, 5 Aug 2001 14:07:33 +0000 (14:07 +0000)]
delay module_shutdown even further. zend_try and _catch need the current
globals as well.
zeev, is this a chicken & egg problem?

23 years agomodule_shutdown() calls ts_free_thread in ZTS mode. so SG() cannot be accessed
Thies C. Arntzen [Sun, 5 Aug 2001 14:04:23 +0000 (14:04 +0000)]
module_shutdown() calls ts_free_thread in ZTS mode. so SG() cannot be accessed
afterwards.

23 years agoEven more TSRM cleanup.
Sebastian Bergmann [Sun, 5 Aug 2001 13:26:54 +0000 (13:26 +0000)]
Even more TSRM cleanup.

23 years agoMore tsrm-related cleanup.
Sebastian Bergmann [Sun, 5 Aug 2001 12:36:13 +0000 (12:36 +0000)]
More tsrm-related cleanup.

23 years agotsrm-related cleanup
Sascha Schumann [Sun, 5 Aug 2001 10:32:48 +0000 (10:32 +0000)]
tsrm-related cleanup

23 years agoFixed some TSRMLS_CC instances (at least it looked odd to me the way it was before).
Sebastian Bergmann [Sun, 5 Aug 2001 05:40:43 +0000 (05:40 +0000)]
Fixed some TSRMLS_CC instances (at least it looked odd to me the way it was before).

23 years agoRemove more duplicate TSRMLS_FETCH() calls.
Sebastian Bergmann [Sun, 5 Aug 2001 05:35:06 +0000 (05:35 +0000)]
Remove more duplicate TSRMLS_FETCH() calls.

23 years ago- TSRMLS_FETCH work
Zeev Suraski [Sun, 5 Aug 2001 01:43:02 +0000 (01:43 +0000)]
- TSRMLS_FETCH work
- whitespace fixes

23 years agoTSRMLS_FETCH work
Zeev Suraski [Sun, 5 Aug 2001 01:37:10 +0000 (01:37 +0000)]
TSRMLS_FETCH work

23 years agoNukre most TSRMLS_FETCH()'s in TSRM
Zeev Suraski [Sun, 5 Aug 2001 01:34:40 +0000 (01:34 +0000)]
Nukre most TSRMLS_FETCH()'s in TSRM

23 years agoChangeLog update
<changelog@php.net> [Sun, 5 Aug 2001 00:11:10 +0000 (00:11 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sun, 5 Aug 2001 00:10:49 +0000 (00:10 +0000)]
NEWS update

23 years ago- Fixed bug: #10822
foobar [Sat, 4 Aug 2001 23:58:56 +0000 (23:58 +0000)]
- 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.

23 years agosupport for multiple exif comments
Rasmus Lerdorf [Sat, 4 Aug 2001 22:35:03 +0000 (22:35 +0000)]
support for multiple exif comments
@ - Enhance read_exif_data() to support multiple comment tags (Rasmus)

23 years agoBetter abs() testing
Jeroen van Wolffelaar [Sat, 4 Aug 2001 21:40:34 +0000 (21:40 +0000)]
Better abs() testing

23 years agoLayout: revert accidentel joining of lines
Jeroen van Wolffelaar [Sat, 4 Aug 2001 21:37:43 +0000 (21:37 +0000)]
Layout: revert accidentel joining of lines

23 years agoNamed some constants in filestat to improve readability
Jeroen van Wolffelaar [Sat, 4 Aug 2001 21:34:11 +0000 (21:34 +0000)]
Named some constants in filestat to improve readability

23 years agoadded some more stuff to .cvsignore
Stig S. Bakken [Sat, 4 Aug 2001 21:09:30 +0000 (21:09 +0000)]
added some more stuff to .cvsignore

23 years agoAnother bugfix in pow. Special cases, with 10 times the same thing are
Jeroen van Wolffelaar [Sat, 4 Aug 2001 20:58:47 +0000 (20:58 +0000)]
Another bugfix in pow. Special cases, with 10 times the same thing are
_so_ error_prone... :(

23 years agoKill a warning
Rasmus Lerdorf [Sat, 4 Aug 2001 20:52:35 +0000 (20:52 +0000)]
Kill a warning

23 years agoBugfix. All tests pass now on my system
Jeroen van Wolffelaar [Sat, 4 Aug 2001 18:29:37 +0000 (18:29 +0000)]
Bugfix. All tests pass now on my system

23 years agoFix newly introduced crash on a file-not-found
Rasmus Lerdorf [Sat, 4 Aug 2001 18:08:13 +0000 (18:08 +0000)]
Fix newly introduced crash on a file-not-found

23 years agoFix bug in the tests :-(
Jeroen van Wolffelaar [Sat, 4 Aug 2001 18:03:29 +0000 (18:03 +0000)]
Fix bug in the tests :-(
There seems to be one real bug in pow(), I'm trying to fix it...

23 years agofix serialize:
Thies C. Arntzen [Sat, 4 Aug 2001 17:29:54 +0000 (17:29 +0000)]
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:-)

23 years agoAnother one bites the dust.
Sebastian Bergmann [Sat, 4 Aug 2001 17:07:16 +0000 (17:07 +0000)]
Another one bites the dust.

23 years agoRemove duplicate TSRMLS_FETCH() call.
Sebastian Bergmann [Sat, 4 Aug 2001 17:02:43 +0000 (17:02 +0000)]
Remove duplicate TSRMLS_FETCH() call.

23 years ago@- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei)
Andrei Zmievski [Sat, 4 Aug 2001 16:54:20 +0000 (16:54 +0000)]
@- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei)

23 years agofix possible crash - we should never keep the zval** as they might point
Thies C. Arntzen [Sat, 4 Aug 2001 16:53:57 +0000 (16:53 +0000)]
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;-)

23 years agoWS Pollution
Sean Bright [Sat, 4 Aug 2001 13:47:44 +0000 (13:47 +0000)]
WS Pollution

23 years agoAdded tests for pow()
Jeroen van Wolffelaar [Sat, 4 Aug 2001 13:20:31 +0000 (13:20 +0000)]
Added tests for pow()
#The tests near LONG_MAX/MIN fail, I know that

23 years ago- A little bit cleaning of pow(), and 12 bytes less memory (wow)
Jeroen van Wolffelaar [Sat, 4 Aug 2001 13:11:17 +0000 (13:11 +0000)]
- A little bit cleaning of pow(), and 12 bytes less memory (wow)

23 years agoDon't allocated quoted strings unless we are in a META tag.
Sean Bright [Sat, 4 Aug 2001 12:36:51 +0000 (12:36 +0000)]
Don't allocated quoted strings unless we are in a META tag.

23 years agocalling mail_open() causes a SEGFAULT when using imap-2000c. mail_open(0,"",0);
Thies C. Arntzen [Sat, 4 Aug 2001 10:50:55 +0000 (10:50 +0000)]
calling mail_open() causes a SEGFAULT when using imap-2000c. mail_open(0,"",0);
seems to work.

23 years agodon't show the call_user_method deprecated use warning (disturbs tests)
Tomas V.V.Cox [Sat, 4 Aug 2001 10:47:10 +0000 (10:47 +0000)]
don't show the call_user_method deprecated use warning (disturbs tests)

23 years agoEliminate TSRMLS_FETCH() call.
Sebastian Bergmann [Sat, 4 Aug 2001 05:37:11 +0000 (05:37 +0000)]
Eliminate TSRMLS_FETCH() call.

23 years agoFix Win32 (and maybe other ZTS) builds.
Sebastian Bergmann [Sat, 4 Aug 2001 05:22:55 +0000 (05:22 +0000)]
Fix Win32 (and maybe other ZTS) builds.

23 years agoFix bug: #9177
foobar [Sat, 4 Aug 2001 04:47:24 +0000 (04:47 +0000)]
Fix bug: #9177

23 years agoClean up the serializer by modularizing some of its code. That also
Sascha Schumann [Sat, 4 Aug 2001 03:30:38 +0000 (03:30 +0000)]
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.

23 years agofixed a memleak.
foobar [Sat, 4 Aug 2001 03:06:12 +0000 (03:06 +0000)]
fixed a memleak.

23 years agoFixed bug: #11784 (combined with fixes Rasmus committed..)
foobar [Sat, 4 Aug 2001 01:56:40 +0000 (01:56 +0000)]
Fixed bug: #11784 (combined with fixes Rasmus committed..)

23 years agoChangeLog update
<changelog@php.net> [Sat, 4 Aug 2001 00:11:58 +0000 (00:11 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sat, 4 Aug 2001 00:11:55 +0000 (00:11 +0000)]
NEWS update

23 years ago#- HTML-safe error for pow()
Jeroen van Wolffelaar [Fri, 3 Aug 2001 23:27:23 +0000 (23:27 +0000)]
#- HTML-safe error for pow()

23 years ago#- Fix silly bug that caused segfault
Jeroen van Wolffelaar [Fri, 3 Aug 2001 23:10:04 +0000 (23:10 +0000)]
#- Fix silly bug that caused segfault

23 years agoUn-revert patch
Jeroen van Wolffelaar [Fri, 3 Aug 2001 23:09:05 +0000 (23:09 +0000)]
Un-revert patch

23 years agoReverting last patch, segfaults.
Jeroen van Wolffelaar [Fri, 3 Aug 2001 22:42:02 +0000 (22:42 +0000)]
Reverting last patch, segfaults.

23 years agoChange from E_ERROR to E_WARNING in the exif extension
Rasmus Lerdorf [Fri, 3 Aug 2001 22:33:10 +0000 (22:33 +0000)]
Change from E_ERROR to E_WARNING in the exif extension
@ Change from E_ERROR to E_WARNING in the exif extension (Rasmus)

23 years ago- New pow() function. It now gives warnings on wrong input, and
Jeroen van Wolffelaar [Fri, 3 Aug 2001 22:19:11 +0000 (22:19 +0000)]
- 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)

23 years ago- Added new parameter to [l|r]trim, to specify _what_ to trim
Jeroen van Wolffelaar [Fri, 3 Aug 2001 22:12:46 +0000 (22:12 +0000)]
- 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)

23 years agoDon't blindly assume -lc-client when linking 'conftest'.
Jon Parise [Fri, 3 Aug 2001 19:36:58 +0000 (19:36 +0000)]
Don't blindly assume -lc-client when linking 'conftest'.

23 years ago- Fix array_sum to switch to float on overflow. Fixes bug#12505
Jeroen van Wolffelaar [Fri, 3 Aug 2001 19:18:51 +0000 (19:18 +0000)]
- Fix array_sum to switch to float on overflow. Fixes bug#12505

23 years agoFull include paths are preferrable.
Jon Parise [Fri, 3 Aug 2001 19:11:31 +0000 (19:11 +0000)]
Full include paths are preferrable.

23 years agosmart_str use requires php_smart_str.h.
Jon Parise [Fri, 3 Aug 2001 19:05:40 +0000 (19:05 +0000)]
smart_str use requires php_smart_str.h.

23 years agoFix buglet
Zeev Suraski [Fri, 3 Aug 2001 16:08:01 +0000 (16:08 +0000)]
Fix buglet

23 years ago* Added the new fetch row mode: DB_FETCHMODE_OBJECT that returns the columns
Tomas V.V.Cox [Fri, 3 Aug 2001 14:13:52 +0000 (14:13 +0000)]
* 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

23 years agoTreat trailing zeroes correctly
Sascha Schumann [Fri, 3 Aug 2001 11:09:13 +0000 (11:09 +0000)]
Treat trailing zeroes correctly

23 years agoDo the nul'ifiying of php_var_serialize's result at the right place
Sascha Schumann [Fri, 3 Aug 2001 11:00:16 +0000 (11:00 +0000)]
Do the nul'ifiying of php_var_serialize's result at the right place

23 years agoPass on nul'ified data
Sascha Schumann [Fri, 3 Aug 2001 10:39:48 +0000 (10:39 +0000)]
Pass on nul'ified data

23 years agoDon't copy the strtok parameter
Sascha Schumann [Fri, 3 Aug 2001 09:50:38 +0000 (09:50 +0000)]
Don't copy the strtok parameter

23 years agoFix a possible segfault (Thanks to Sebastian for catching it)
Sascha Schumann [Fri, 3 Aug 2001 09:36:14 +0000 (09:36 +0000)]
Fix a possible segfault (Thanks to Sebastian for catching it)

23 years agoNUL-terminate string
Sascha Schumann [Fri, 3 Aug 2001 09:35:33 +0000 (09:35 +0000)]
NUL-terminate string

23 years agoAdd some casts
Sascha Schumann [Fri, 3 Aug 2001 08:51:53 +0000 (08:51 +0000)]
Add some casts

23 years agoReplace our strtok implementation with a binary-safe one which code
Sascha Schumann [Fri, 3 Aug 2001 08:49:19 +0000 (08:49 +0000)]
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.

23 years agoFix macro
Zeev Suraski [Fri, 3 Aug 2001 08:15:16 +0000 (08:15 +0000)]
Fix macro

23 years agoConvert serializer to smart_str.. avoids lots of sprintf's and
Sascha Schumann [Fri, 3 Aug 2001 07:25:27 +0000 (07:25 +0000)]
Convert serializer to smart_str.. avoids lots of sprintf's and
copying of data.

23 years agoGet rid of a couple of bogus persist_alloc()'s, and some cleanup
Zeev Suraski [Fri, 3 Aug 2001 07:15:14 +0000 (07:15 +0000)]
Get rid of a couple of bogus persist_alloc()'s, and some cleanup

23 years agoMore TSRM stuff
Zeev Suraski [Fri, 3 Aug 2001 07:12:59 +0000 (07:12 +0000)]
More TSRM stuff

23 years agoImplement fast memory allocation and reduced fragmentation under Windows.
Zeev Suraski [Fri, 3 Aug 2001 07:06:05 +0000 (07:06 +0000)]
Implement fast memory allocation and reduced fragmentation under Windows.

23 years agoSome compat macros
Zeev Suraski [Fri, 3 Aug 2001 07:02:46 +0000 (07:02 +0000)]
Some compat macros

23 years agoChanged the PHP_ADD_LIBRARY_DEFER() to work when building
foobar [Fri, 3 Aug 2001 05:17:18 +0000 (05:17 +0000)]
Changed the PHP_ADD_LIBRARY_DEFER() to work when building
standalone extensions. Also improved the checks for SSL and Kerberos in
IMAP extension configure.

23 years agoThese are redefined in the sqltypes.h that comes with unixODBC. PR: #12519
foobar [Fri, 3 Aug 2001 05:07:22 +0000 (05:07 +0000)]
These are redefined in the sqltypes.h that comes with unixODBC. PR: #12519

23 years agoRevert whitespace patch.
Sebastian Bergmann [Fri, 3 Aug 2001 05:05:47 +0000 (05:05 +0000)]
Revert whitespace patch.

23 years agoAdd missing header.
foobar [Fri, 3 Aug 2001 04:56:09 +0000 (04:56 +0000)]
Add missing header.

23 years agoFix non-TS build
Zeev Suraski [Fri, 3 Aug 2001 04:49:43 +0000 (04:49 +0000)]
Fix non-TS build

23 years agoChangeLog update
<changelog@php.net> [Fri, 3 Aug 2001 00:20:00 +0000 (00:20 +0000)]
ChangeLog update

23 years agoRevert this change - if you want to do this, do it in a 'make clean'
Rasmus Lerdorf [Thu, 2 Aug 2001 21:20:20 +0000 (21:20 +0000)]
Revert this change - if you want to do this, do it in a 'make clean'

23 years agoLarger transfer buffer before realloc() this should speed things up a bit
Sterling Hughes [Thu, 2 Aug 2001 19:28:33 +0000 (19:28 +0000)]
Larger transfer buffer before realloc() this should speed things up a bit

23 years agows fix
Sterling Hughes [Thu, 2 Aug 2001 19:25:46 +0000 (19:25 +0000)]
ws fix

23 years agoDelete config.cache always. This makes config.nice a bit more useful.
foobar [Thu, 2 Aug 2001 18:22:57 +0000 (18:22 +0000)]
Delete config.cache always. This makes config.nice a bit more useful.

23 years agorequire_once()/include_once will return true in case a file was not included
Zeev Suraski [Thu, 2 Aug 2001 17:27:19 +0000 (17:27 +0000)]
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

23 years agothis kills 90% of the warings in maintainer-mode
Thies C. Arntzen [Thu, 2 Aug 2001 16:03:17 +0000 (16:03 +0000)]
this kills 90% of the warings in maintainer-mode

23 years agoWhitespace fixes.
Sebastian Bergmann [Thu, 2 Aug 2001 15:16:43 +0000 (15:16 +0000)]
Whitespace fixes.

23 years agoFix Apache2Filter build.
Sebastian Bergmann [Thu, 2 Aug 2001 15:14:30 +0000 (15:14 +0000)]
Fix Apache2Filter build.

23 years agonot too sure about this:
Thies C. Arntzen [Thu, 2 Aug 2001 11:23:01 +0000 (11:23 +0000)]
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!

23 years agoadding -lsablot later makes it appear _before_ -lexpat in config_vars - and
Thies C. Arntzen [Thu, 2 Aug 2001 11:19:19 +0000 (11:19 +0000)]
adding -lsablot later makes it appear _before_ -lexpat in config_vars - and
that fixes a link problem (atleast) for me.
sterling?

23 years agoOptimize the NEWS file :)
Zeev Suraski [Thu, 2 Aug 2001 07:29:39 +0000 (07:29 +0000)]
Optimize the NEWS file :)

23 years agoUpdate NEWS
Zeev Suraski [Thu, 2 Aug 2001 07:17:01 +0000 (07:17 +0000)]
Update NEWS

23 years agoAvoid going over huge lists of functions, classes and constants.
Zeev Suraski [Thu, 2 Aug 2001 07:00:43 +0000 (07:00 +0000)]
Avoid going over huge lists of functions, classes and constants.
Special thanks to the guys from the MS lab for the profiling tools :)

23 years agoSome cleanup
Zeev Suraski [Thu, 2 Aug 2001 06:16:20 +0000 (06:16 +0000)]
Some cleanup

23 years agoFix the .h file (untested)
Zeev Suraski [Thu, 2 Aug 2001 05:56:10 +0000 (05:56 +0000)]
Fix the .h file (untested)

23 years agoWe no longer need any FETCH's for internal functions
Zeev Suraski [Thu, 2 Aug 2001 05:49:24 +0000 (05:49 +0000)]
We no longer need any FETCH's for internal functions

23 years agoTSRM fix for ext_skel - probably more needed
Rasmus Lerdorf [Thu, 2 Aug 2001 05:36:50 +0000 (05:36 +0000)]
TSRM fix for ext_skel - probably more needed

23 years agoTSRMLS fixes
Zeev Suraski [Thu, 2 Aug 2001 05:25:29 +0000 (05:25 +0000)]
TSRMLS fixes

23 years agoChangeLog update
<changelog@php.net> [Thu, 2 Aug 2001 00:11:23 +0000 (00:11 +0000)]
ChangeLog update