]> granicus.if.org Git - php/log
php
14 years agoreduced size of temp_variariable
Dmitry Stogov [Fri, 22 Oct 2010 14:51:07 +0000 (14:51 +0000)]
reduced size of temp_variariable

14 years agolast piece to enable trace logging on windows
Andrey Hristov [Fri, 22 Oct 2010 14:34:33 +0000 (14:34 +0000)]
last piece to enable trace logging on windows

14 years agoenable debug logging on windows, in debug builds, of course
Andrey Hristov [Fri, 22 Oct 2010 14:12:45 +0000 (14:12 +0000)]
enable debug logging on windows, in debug builds, of course

14 years agoSimplified foreach() handling, we don't have to inctrement/decrement refcount twice
Dmitry Stogov [Fri, 22 Oct 2010 13:59:23 +0000 (13:59 +0000)]
Simplified foreach() handling, we don't have to inctrement/decrement refcount twice

14 years agoFixed crash on attempt to insert reference to string offset into an array
Dmitry Stogov [Fri, 22 Oct 2010 11:05:22 +0000 (11:05 +0000)]
Fixed crash on attempt to insert reference to string offset into an array

14 years agoRemoved redundant check
Dmitry Stogov [Fri, 22 Oct 2010 09:56:39 +0000 (09:56 +0000)]
Removed redundant check

14 years agoUpgraded bundled sqlite to version 3.7.3
Ilia Alshanetsky [Wed, 20 Oct 2010 19:27:34 +0000 (19:27 +0000)]
Upgraded bundled sqlite to version 3.7.3

14 years ago- Strip out the typehint *checks* only. They are still parsed, and they are
Derick Rethans [Tue, 19 Oct 2010 10:42:38 +0000 (10:42 +0000)]
- Strip out the typehint *checks* only. They are still parsed, and they are
  still accessible through the reflection API.

14 years ago- fix Fixed NULL pointer dereference in ZipArchive::getArchiveComment, (CVE-2010...
Pierre Joye [Tue, 19 Oct 2010 09:56:11 +0000 (09:56 +0000)]
- fix Fixed NULL pointer dereference in ZipArchive::getArchiveComment, (CVE-2010-3709), report&patch from Maksymilian Arciemowicz

14 years agoFix bug #53089 (php.ini should use portable example of find) by using POSIX
Adam Harvey [Mon, 18 Oct 2010 02:10:29 +0000 (02:10 +0000)]
Fix bug #53089 (php.ini should use portable example of find) by using POSIX
compliant syntax in the suggested find command for cleaning up session files in
the shipped php.ini files.

14 years ago- Fixed bug #53070 (Calling enchant_broker_get_dict_path before set_path crashes...
Felipe Pena [Sat, 16 Oct 2010 17:52:01 +0000 (17:52 +0000)]
- Fixed bug #53070 (Calling enchant_broker_get_dict_path before set_path crashes php)

14 years ago- Added the writing of .sh files so that we can run the tests (including all
Derick Rethans [Fri, 15 Oct 2010 12:56:45 +0000 (12:56 +0000)]
- Added the writing of .sh files so that we can run the tests (including all
  INI settings) in one go.

14 years agozend_collect_module_handlers() has to be called after zend_extensions startup, becaus...
Dmitry Stogov [Fri, 15 Oct 2010 07:30:24 +0000 (07:30 +0000)]
zend_collect_module_handlers() has to be called after zend_extensions startup, because they can register additional 'hidden' extensions

14 years agomarked char pointer arguments as const in lots of
Hartmut Holzgraefe [Thu, 14 Oct 2010 21:33:10 +0000 (21:33 +0000)]
marked char pointer arguments as const in lots of
places where strings pointed to are not modified
to prevent compiler warnings about discarded qualifiers ...

14 years ago- Three tests were "broken" by rev #304404, not two. Commit the change
Gustavo André dos Santos Lopes [Thu, 14 Oct 2010 19:33:12 +0000 (19:33 +0000)]
- Three tests were "broken" by rev #304404, not two. Commit the change
  to remaining one.

14 years ago- Fixed get_next_char(), used by htmlentities/htmlspecialchars, accepting
Gustavo André dos Santos Lopes [Thu, 14 Oct 2010 19:14:06 +0000 (19:14 +0000)]
- Fixed get_next_char(), used by htmlentities/htmlspecialchars, accepting
  certain ill-formed UTF-8 sequences.

14 years ago- [DOC] Reverted rev #304382 and rev #304380, as I figured out a way to
Gustavo André dos Santos Lopes [Thu, 14 Oct 2010 03:15:15 +0000 (03:15 +0000)]
- [DOC] Reverted rev #304382 and rev #304380, as I figured out a way to
  fix the erratic behavior without breaking backwards compatibility. Namely,
  $offset retains SEEK_SET behavior but actually SEEK_CUR is passed to
  _php_stream_seek, if possible, by moving the offset stream->position bytes.
- Addresses bug #53006.

14 years ago- Ooops. Fixed tests for rev #304380 (stream_get_contents() related) and a small...
Gustavo André dos Santos Lopes [Thu, 14 Oct 2010 02:39:21 +0000 (02:39 +0000)]
- Ooops. Fixed tests for rev #304380 (stream_get_contents() related) and a small error.

14 years ago- [DOC] Changed stream_get_contents() so that the offset is relative to the
Gustavo André dos Santos Lopes [Thu, 14 Oct 2010 02:03:18 +0000 (02:03 +0000)]
- [DOC] Changed stream_get_contents() so that the offset is relative to the
  current position (seek with SEEK_CUR, not SEEK_SET). Only positive values are
  allowed. This breaking change is necessary to fix the erratic behavior in
  streams without a seek handlder. Addresses bug #53006.
#Note that the example on the doc page for stream_get_contents() may fail
#without this change.
#This change is also in the spirit of stream_get_contents(), whose description
#is "Reads all remaining bytes (or up to maxlen bytes) from a stream...".
#Previous behavior allowed setting the file pointer to positions before the
#current one, so they wouldn't be "remaining bytes". The previous behavior was
#also inconsistent in that it allowed an moving to offset 1, 2, ..., but not 0.

14 years agoFix vim marker folds.
Adam Harvey [Wed, 13 Oct 2010 09:23:39 +0000 (09:23 +0000)]
Fix vim marker folds.

14 years agoFixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF)
Dmitry Stogov [Wed, 13 Oct 2010 08:51:39 +0000 (08:51 +0000)]
Fixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF)

14 years ago- Fixed forward stream seeking emulation in streams that don't support seeking
Gustavo André dos Santos Lopes [Wed, 13 Oct 2010 03:13:29 +0000 (03:13 +0000)]
- Fixed forward stream seeking emulation in streams that don't support seeking
  in situations where the read operation gives back less data than requested
  and when there was data in the buffer before the emulation started. Also made
  more consistent its behavior -- should return failure every time less data
  than was requested was skipped.
- Small performance improvement by correcting off-by-one error that generate an
  invalid call to the seek handler or read handler. in _php_stream_seek.

14 years ago* Added version info for Windows XP Starter/Tablet PC/Media Center editions
Kalle Sommer Nielsen [Tue, 12 Oct 2010 17:34:25 +0000 (17:34 +0000)]
* Added version info for Windows XP Starter/Tablet PC/Media Center editions
* Fixed typo: "Unknow" -> "Unknown"
* Removed useless Win9x version info

# I will merge this to 5.3 once I have analyzed a possible bug
# (and hopefully fixed) why Server 2008 is reported as unknown

14 years agoAdded test
Dmitry Stogov [Tue, 12 Oct 2010 07:38:36 +0000 (07:38 +0000)]
Added test

14 years ago- Added a 3rd parameter to get_html_translation_table. It now takes a charset
Gustavo André dos Santos Lopes [Tue, 12 Oct 2010 02:51:11 +0000 (02:51 +0000)]
- Added a 3rd parameter to get_html_translation_table. It now takes a charset
  hint, like htmlentities et al.
- Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8).
- Fixed bug #25927 (get_html_translation_table calls the ' ' instead of
  ').
- Fixed tests for get_html_translation_table and unified the Windows and
  non-Windows versions of the tests.

14 years ago- PHP uses a big endian representation when it converts the
Gustavo André dos Santos Lopes [Mon, 11 Oct 2010 22:26:10 +0000 (22:26 +0000)]
- PHP uses a big endian representation when it converts the
  code unit sequences to integers so as to store the entity
  maps. Code in traverse_for_entities assumed little
  endian. Fixed.
  (in practice, due to the absence of unicode and entity
  mappings for multi-byte encodings -- except UTF-8 --, this
  doesn't matter, so the relevant code was commented out for
  performance reasons).

14 years ago- Removed redundant local variable in dns_get_record.
Gustavo André dos Santos Lopes [Mon, 11 Oct 2010 03:07:03 +0000 (03:07 +0000)]
- Removed redundant local variable in dns_get_record.
- (5.3) Fixed bug in the Windows implementation of
  dns_get_record, where the two last parameters wouldn't be
  filled unless the type were DNS_ANY (Gustavo).

14 years ago- [DOC] Added a 5th parameter to dns_get_record, a boolean that tells whether to...
Gustavo André dos Santos Lopes [Mon, 11 Oct 2010 02:48:23 +0000 (02:48 +0000)]
- [DOC] Added a 5th parameter to dns_get_record, a boolean that tells whether to activate
  "raw mode". In this mide, $type (2nd parameter) is the numeric type of the record, and
  the responses are not parsed -- the "type" element will be numeric and there will be
  a "data" element with the raw data of the response buffer, which the programmer will
  have to parse.
- Fixed bug in the Win32 implementation of dns_get_record, where the 3rd and 4th arguments
  would only be filled if the 2nd ($type) was DNS_ANY.
- [DOC] The 3rd and 4th parameters can now be NULL (changed their arginfo).

14 years ago- Revamp of the decoding portion of html.c.
Gustavo André dos Santos Lopes [Sun, 10 Oct 2010 19:04:59 +0000 (19:04 +0000)]
- Revamp of the decoding portion of html.c.
- Dramatic improvements on the performance of html_entity_decode and htmlspecialchars_decode, as the
  string is now traversed only once. Speedups of 20 to 25 times with Windows release builds and a
  ~250 characters string (for 2nd and subsequent calls).
- Consistent behavior on html_entity_decode. For instance, the entity in "&<" would be decoded,
  but not "&é". Not anymore. The code path for "basic" and non-basic entities is now mostly
  shared.
- Code of html_entity_decode and htmlspecialchars_decode is now shared.
- [DOC] More consistent behavior of htmlspecialchars_decode. Instead of translating only <, >,
  &, ", ' and ', now e.g. ", ', ', ', etc. are also decoded.
- [DOC] Previous translation of unicode code points in numerical entities was seriously broken. When
  the code points for some character were not the same in unicode and the target encoding, the
  behavior could be an erroneous translation (e.g. 0x80-0xA0 in win-1252) or no translation at all.
  Added unicode translation tables for all single-byte encodings. Entities are not translated for
  multi-byte entities, except for ASCII characters whose code points are shared. We could add
  the huge translation tables (several thousand elements) for those encodings in the future.
- Fixed numerical entities that after # had text accepted by strcol being accepted.
- Much more commented and well-structured code...
- Tests for get_html_translation_table()) are broken. I stared fixing the tests, but then I realized
  it was completely helpless because get_html_translation_table() is broken by not handling
  multi-byte characters correctly.

14 years ago- Added numeric record type and raw data for unknown DNS
Gustavo André dos Santos Lopes [Fri, 8 Oct 2010 23:02:37 +0000 (23:02 +0000)]
- Added numeric record type and raw data for unknown DNS
  record types.

14 years ago- Fixed a typo in rev #304208 (24 instead of 34/'"').
Gustavo André dos Santos Lopes [Fri, 8 Oct 2010 17:27:19 +0000 (17:27 +0000)]
- Fixed a typo in rev #304208 (24 instead of 34/'"').
- Improved the test bug53021.phpt to reflect other fixes in rev #304208.
- Updated NEWS to reflect other fixes in rev #304208.

14 years ago- Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities with...
Gustavo André dos Santos Lopes [Fri, 8 Oct 2010 16:19:58 +0000 (16:19 +0000)]
- Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities with ENT_NOQUOTES and ISO-8859-1).

14 years agonew collations
Andrey Hristov [Fri, 8 Oct 2010 09:15:31 +0000 (09:15 +0000)]
new collations

14 years ago- Added bison 2.4.3 version to the bison version list
Felipe Pena [Thu, 7 Oct 2010 21:44:41 +0000 (21:44 +0000)]
- Added bison 2.4.3 version to the bison version list

14 years agofix some uninitialized variables. also fix shadowing of global symbols
Andrey Hristov [Thu, 7 Oct 2010 13:49:00 +0000 (13:49 +0000)]
fix some uninitialized variables. also fix shadowing of global symbols

14 years agoFixed extrenous warning inside openssl_encrypt() for cases where iv not provided...
Ilia Alshanetsky [Thu, 7 Oct 2010 12:32:00 +0000 (12:32 +0000)]
Fixed extrenous warning inside openssl_encrypt() for cases where iv not provided, but algo does not require an iv

14 years ago- Added support for ICU Transformations (Transliterator).
Gustavo André dos Santos Lopes [Wed, 6 Oct 2010 18:53:27 +0000 (18:53 +0000)]
- Added support for ICU Transformations (Transliterator).
- Changes request #52986 to "to be documented".

14 years ago- Fixed test for bug #50590 on systems with 64-bit longs.
Gustavo André dos Santos Lopes [Wed, 6 Oct 2010 17:05:05 +0000 (17:05 +0000)]
- Fixed test for bug #50590 on systems with 64-bit longs.

14 years agoFix for Bug #52686 mysql_stmt_attr_[gs]et arg. points to incorrect type
Andrey Hristov [Wed, 6 Oct 2010 11:11:02 +0000 (11:11 +0000)]
Fix for Bug #52686   mysql_stmt_attr_[gs]et arg. points to incorrect type

14 years agofix broken merge, led to double define
Andrey Hristov [Wed, 6 Oct 2010 10:35:02 +0000 (10:35 +0000)]
fix broken merge, led to double define

14 years ago- don't build if no libvpx available
Pierre Joye [Wed, 6 Oct 2010 09:02:08 +0000 (09:02 +0000)]
- don't build  if no libvpx available

14 years agomore variable hiding fixes
Andrey Hristov [Wed, 6 Oct 2010 07:09:37 +0000 (07:09 +0000)]
more variable hiding fixes

14 years agofix shadowing of parameters
Andrey Hristov [Wed, 6 Oct 2010 06:08:55 +0000 (06:08 +0000)]
fix shadowing of parameters

14 years agoUpdate copyright year for the license
Kalle Sommer Nielsen [Tue, 5 Oct 2010 22:58:19 +0000 (22:58 +0000)]
Update copyright year for the license

14 years agorename parameter name - should not shadow the global symbol alloca
Andrey Hristov [Tue, 5 Oct 2010 17:20:00 +0000 (17:20 +0000)]
rename parameter name - should not shadow the global symbol alloca

14 years agotwo more compiler warnings fixed - size does matter
Andrey Hristov [Tue, 5 Oct 2010 17:10:47 +0000 (17:10 +0000)]
two more compiler warnings fixed - size does matter

14 years agoRename a method so it doesn't clash with a global symbol - a function
Andrey Hristov [Tue, 5 Oct 2010 17:03:50 +0000 (17:03 +0000)]
Rename a method so it doesn't clash with a global symbol - a function
Fix compiler waring by extening the type of a variable

14 years agoFix compiler warnings - on 32bit size_t is smaller than uint64_t, although
Andrey Hristov [Tue, 5 Oct 2010 16:54:14 +0000 (16:54 +0000)]
Fix compiler warnings - on 32bit size_t is smaller than uint64_t, although
we will never hit this the compiler should be happy.

14 years agorename parameter, should not conflict with global symbol -
Andrey Hristov [Tue, 5 Oct 2010 16:27:49 +0000 (16:27 +0000)]
rename parameter, should not conflict with global symbol -
the socket function

14 years agoremove trailing commas in enums
Andrey Hristov [Tue, 5 Oct 2010 14:56:49 +0000 (14:56 +0000)]
remove trailing commas in enums

14 years agoFix test: third parameter can be false.
Ulf Wendel [Tue, 5 Oct 2010 14:41:08 +0000 (14:41 +0000)]
Fix test: third parameter can be false.

14 years agofix bug #50345 (nanosleep not detected properly on some solaris versions)
Antony Dovgal [Tue, 5 Oct 2010 13:43:35 +0000 (13:43 +0000)]
fix bug #50345 (nanosleep not detected properly on some solaris versions)

14 years agoGreetings from SunCC.
Ulf Wendel [Tue, 5 Oct 2010 12:42:53 +0000 (12:42 +0000)]
Greetings from SunCC.

ext/mysqli/mysqli_driver.c", line 127|128|129: warning: syntax error:  empty declaration

14 years agoRemoved debug code
Ilia Alshanetsky [Tue, 5 Oct 2010 12:27:00 +0000 (12:27 +0000)]
Removed debug code

14 years agoFixed bug #44248 (RFC2616 transgression while HTTPS request through proxy with SoapCl...
Dmitry Stogov [Tue, 5 Oct 2010 11:43:59 +0000 (11:43 +0000)]
Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy with SoapClient object).

14 years agoFixed bug #51008 (Zend/tests/bug45877.phpt fails)
Dmitry Stogov [Tue, 5 Oct 2010 11:28:56 +0000 (11:28 +0000)]
Fixed bug #51008 (Zend/tests/bug45877.phpt fails)

14 years agoadd some safe casts
Andrey Hristov [Tue, 5 Oct 2010 11:08:21 +0000 (11:08 +0000)]
add some safe casts

14 years agoFixed typo in tests (thx Eyal)
Patrick Allaert [Tue, 5 Oct 2010 10:42:13 +0000 (10:42 +0000)]
Fixed typo in tests (thx Eyal)

14 years agofixing more types
Andrey Hristov [Tue, 5 Oct 2010 10:30:00 +0000 (10:30 +0000)]
fixing more types

14 years agoFixed constness compiler warning in pdo_mysql
Kalle Sommer Nielsen [Tue, 5 Oct 2010 09:58:15 +0000 (09:58 +0000)]
Fixed constness compiler warning in pdo_mysql

14 years agoFixed compiler warnings in mysqli
Kalle Sommer Nielsen [Tue, 5 Oct 2010 09:40:36 +0000 (09:40 +0000)]
Fixed compiler warnings in mysqli

 - mysqli.c: Fix unused variables, they are only used in non-mysqlnd mode
 - mysqli_api.c (PHP_5_3 only): Fix constness, add_property_string expects a char *, not a const char *
 - mysqli_prop.c: Cast to long, as its below the LONG_MAX and therefore safe
 - mysqli_result_iterator.c: Cast to ulong as the iterator member expects that rather than a my_longlong

# In trunk only warnings regarding the zend_property_info
# structure is present and PHP_5_3 is warning free now

14 years agofix types
Andrey Hristov [Tue, 5 Oct 2010 08:56:21 +0000 (08:56 +0000)]
fix types

14 years agoFix warnings
Ulf Wendel [Tue, 5 Oct 2010 08:29:54 +0000 (08:29 +0000)]
Fix warnings

ext\mysqlnd\mysqlnd_result_meta.c(57) : warning C4090: 'initializing' : different 'const' qualifiers
ext\mysqlnd\mysqlnd_result_meta.c(64) : warning C4090: 'initializing' : different 'const' qualifiers
ext\mysqli\mysqli_report.c(50) : warning C4013: 'php_mysqli_throw_sql_exception' undefined; assuming extern returning int

14 years agofix recent TSRM build break, with --enable-debug
Andrey Hristov [Tue, 5 Oct 2010 08:17:33 +0000 (08:17 +0000)]
fix recent TSRM build break, with --enable-debug

14 years ago- Moved ucgendat.c to a separate directory and included the
Gustavo André dos Santos Lopes [Tue, 5 Oct 2010 02:34:35 +0000 (02:34 +0000)]
- Moved ucgendat.c to a separate directory and included the
  OpenLDAP license there, as required by the license itself.

14 years ago- Fixed bug #52981 (Unicode casing table was out-of-date).
Gustavo André dos Santos Lopes [Tue, 5 Oct 2010 01:54:17 +0000 (01:54 +0000)]
- Fixed bug #52981 (Unicode casing table was out-of-date).
  Updated with UnicodeData-6.0.0d7.txt and included the
  source of the generator program with the distribution.
#The replaced tables, generated circa 2002, seem to reflect
#Unicode 3.2. I was unable to generate the same property
#offsets with Unicode 3.2 data, but all the tests I made
#indicate php_unicode_is_prop() is returning the correct
#values. The replaced file merely says it used a "modified
#version" of ucgendat, which is not very helpful. The results
#I got were not significantly different, only slightly higher
#offsets at two properties, which were carried over to the
#subsequent properties.
#I was, however, able to replicate precisely the casing table.
#The extent of the "modifications" besides omitting most of
#the tables, a slightly different layout and the casing table
#offsets having been multiplied by 3 is unclear.
#The test suite showed no regressions; however, it's very poor
#in testing the modified portion of the extension.

14 years ago- Fix build
Felipe Pena [Mon, 4 Oct 2010 23:05:32 +0000 (23:05 +0000)]
- Fix build

14 years ago- missing file for webp
Pierre Joye [Mon, 4 Oct 2010 22:34:02 +0000 (22:34 +0000)]
- missing file for webp

14 years ago- initial webp support, rely on libpx, final version will be either w/o dep or using...
Pierre Joye [Mon, 4 Oct 2010 22:33:07 +0000 (22:33 +0000)]
- initial webp support, rely on libpx, final version will be either w/o dep or using libwebp (to be released by g)

14 years ago- initial webp support, rely on libpx, final version will be either w/o dep or using...
Pierre Joye [Mon, 4 Oct 2010 22:30:35 +0000 (22:30 +0000)]
- initial webp support, rely on libpx, final version will be either w/o dep or using libwebp (to be released by g)

14 years agoWe do not need this TSRMLS_FETCH() call as we do not use any TSRM stuff in here,...
Kalle Sommer Nielsen [Mon, 4 Oct 2010 21:04:25 +0000 (21:04 +0000)]
We do not need this TSRMLS_FETCH() call as we do not use any TSRM stuff in here, so we can get
a minor boost here in ZTS mode.

14 years agoSkipped this one
Kalle Sommer Nielsen [Mon, 4 Oct 2010 20:33:58 +0000 (20:33 +0000)]
Skipped this one

14 years agoRevert for now
Kalle Sommer Nielsen [Mon, 4 Oct 2010 20:26:50 +0000 (20:26 +0000)]
Revert for now

14 years agoUn-deprecate mt_rand and deprecate mt_getrandmax
Michael Maclean [Mon, 4 Oct 2010 20:20:30 +0000 (20:20 +0000)]
Un-deprecate mt_rand and deprecate mt_getrandmax

14 years agoBug #51155 (Unreasonable non-emalloc allocations of memory)
Dmitry Stogov [Mon, 4 Oct 2010 15:50:47 +0000 (15:50 +0000)]
Bug #51155 (Unreasonable non-emalloc allocations of memory)

14 years agofix two more warnings
Andrey Hristov [Mon, 4 Oct 2010 14:52:14 +0000 (14:52 +0000)]
fix two more warnings

14 years agoadd some safe casts - lower the number of warnings by 2
Andrey Hristov [Mon, 4 Oct 2010 14:12:31 +0000 (14:12 +0000)]
add some safe casts - lower the number of warnings by 2

14 years agoFix const-ness
Andrey Hristov [Mon, 4 Oct 2010 13:54:30 +0000 (13:54 +0000)]
Fix const-ness

14 years agoTrying to fix compiler warnings (on Windows).
Ulf Wendel [Mon, 4 Oct 2010 13:36:23 +0000 (13:36 +0000)]
Trying to fix compiler warnings (on Windows).

14 years agoEven better patch
Andrey Hristov [Mon, 4 Oct 2010 12:59:29 +0000 (12:59 +0000)]
Even better patch

14 years agodon't define twice the macro on some platforms
Andrey Hristov [Mon, 4 Oct 2010 12:41:12 +0000 (12:41 +0000)]
don't define twice the macro on some platforms

14 years agoFixing compiler warning.
Ulf Wendel [Mon, 4 Oct 2010 10:58:05 +0000 (10:58 +0000)]
Fixing compiler warning.

14 years agoFixing "ext/mysqlnd/mysqlnd.h", line 287: warning: syntax error: empty declaration"
Ulf Wendel [Mon, 4 Oct 2010 10:51:44 +0000 (10:51 +0000)]
Fixing "ext/mysqlnd/mysqlnd.h", line 287: warning: syntax error:  empty declaration"

14 years agoNext one... ext/mysqli/mysqli_fe.c", line [many]: warning: syntax error: empty decla...
Ulf Wendel [Mon, 4 Oct 2010 10:43:21 +0000 (10:43 +0000)]
Next one... ext/mysqli/mysqli_fe.c", line [many]: warning: syntax error:  empty declaration

14 years agoFixing compiler warning "ext/mysqli/mysqli_prop.c", line [...]: warning: syntax error...
Ulf Wendel [Mon, 4 Oct 2010 10:40:16 +0000 (10:40 +0000)]
Fixing compiler warning "ext/mysqli/mysqli_prop.c", line [...]: warning: syntax error:  empty declaration"

14 years ago- Fix #52908, fix declaration
Pierre Joye [Mon, 4 Oct 2010 10:35:32 +0000 (10:35 +0000)]
- Fix #52908, fix declaration

14 years agoSorry again, nothing but removal of white space from the end of the lines.
Ulf Wendel [Mon, 4 Oct 2010 10:08:10 +0000 (10:08 +0000)]
Sorry again, nothing but removal of white space from the end of the lines.

- fix compile warning "ext/mysql/php_mysql.c:640:11: warning: extra tokens at end of #ifdef directive"

14 years agoSorry for the commit but compiler warnings are annoying and so are white spaces at...
Ulf Wendel [Mon, 4 Oct 2010 10:02:58 +0000 (10:02 +0000)]
Sorry for the commit but compiler warnings are annoying and so are white spaces at the end of a line, if one uses an editor which removes them on save and diff's get blown
up by white space changes...

Changes:
- remove end of line white space
- fix compiler warning "ext/mysqli/mysqli_priv.h:156:27: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli_fe.h:135:25: warning: no newline at end of file"
- fix compiler warning "ext/mysqli/mysqli.c:896:11: warning: extra tokens at end of #ifdef directive"

14 years ago- Fixed bug #52773 (Proxy objects have an inadequate destroy_object store callback)
Dmitry Stogov [Mon, 4 Oct 2010 07:15:30 +0000 (07:15 +0000)]
- Fixed bug #52773 (Proxy objects have an inadequate destroy_object store callback)
- Fixed bug #52774 (Proxy object's store free callback calls zval_ptor_dtor on already freed data)

14 years ago- Implemented FR #50692, not uploaded files don't count towards
Gustavo André dos Santos Lopes [Mon, 4 Oct 2010 01:27:33 +0000 (01:27 +0000)]
- Implemented FR #50692, not uploaded files don't count towards
  max_file_uploads limit.
- As a side improvement, temporary files are not opened for
  empty uploads and, in debug mode, 0-length uploads.

14 years ago- Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8)
Felipe Pena [Sun, 3 Oct 2010 16:01:38 +0000 (16:01 +0000)]
- Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8)
#   In  PCRE,  by  default, \d, \D, \s, \S, \w, and \W recognize only ASCII
#       characters, even in UTF-8 mode. However, this can be changed by setting
#       the PCRE_UCP option.

14 years ago- Fixed a small mistake in the fix for bug #50953 that made connection timeouts not...
Gustavo André dos Santos Lopes [Sat, 2 Oct 2010 18:32:20 +0000 (18:32 +0000)]
- Fixed a small mistake in the fix for bug #50953 that made connection timeouts not be detected as such.

14 years agoFixed bug #52940 (call_user_func_array still allows call-time pass-by-reference)...
Dmitry Stogov [Fri, 1 Oct 2010 11:53:04 +0000 (11:53 +0000)]
Fixed bug #52940 (call_user_func_array still allows call-time pass-by-reference). (cataphract@php.net)

14 years agoFixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be...
Dmitry Stogov [Fri, 1 Oct 2010 09:49:20 +0000 (09:49 +0000)]
Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)

14 years ago* Added PHP_RAND_MAX and PHP_MT_RAND_MAX constants
Kalle Sommer Nielsen [Fri, 1 Oct 2010 09:18:44 +0000 (09:18 +0000)]
* Added PHP_RAND_MAX and PHP_MT_RAND_MAX constants
* Deprecated getrandmax() and mt_getrandmax() in favour of the new constants

# We should promote constants for static data like such instead of function calls
# maybe this was just an old left-over

14 years agoFix leak with persistent connections when using mysqli.default_host is used
Ulf Wendel [Fri, 1 Oct 2010 08:54:16 +0000 (08:54 +0000)]
Fix leak with persistent connections when using mysqli.default_host is used

14 years agoFix bug #52906 gmp_mod returns negative result when non-negative is expected
Stanislav Malyshev [Fri, 1 Oct 2010 00:12:23 +0000 (00:12 +0000)]
Fix bug #52906 gmp_mod returns negative result when non-negative is expected

14 years agoPlug a leak in mysqli when in the same script
Andrey Hristov [Thu, 30 Sep 2010 18:10:03 +0000 (18:10 +0000)]
Plug a leak in mysqli when in the same script
a pconn is reused.
Call end_psession earlier - so will mysqlnd and
the plugins free data earlier.

14 years agoPrevented crash in GC because of incorrect reference counting
Dmitry Stogov [Thu, 30 Sep 2010 14:11:51 +0000 (14:11 +0000)]
Prevented crash in GC because of incorrect reference counting

14 years agoLoosen the valgrind version check slightly in run-tests.php so that it works
Adam Harvey [Thu, 30 Sep 2010 11:16:45 +0000 (11:16 +0000)]
Loosen the valgrind version check slightly in run-tests.php so that it works
with the packaged valgrind in Ubuntu 10.04.