Felipe Pena [Tue, 2 Nov 2010 18:34:56 +0000 (18:34 +0000)]
- Fixed bug #53141 (autoload misbehaves if called from closing session)
patch by: ladislav at marek dot su
Felipe Pena [Tue, 2 Nov 2010 18:06:39 +0000 (18:06 +0000)]
- Fixed no bailout address error and posix tests
Ilia Alshanetsky [Tue, 2 Nov 2010 17:50:39 +0000 (17:50 +0000)]
Fixed a possible double free in imap extension (Identified by Mateusz Kocielski).
Jani Taskinen [Tue, 2 Nov 2010 09:58:08 +0000 (09:58 +0000)]
- Fixed -g adding for gcc and g++ (former got it twice, latter not at all)
Gustavo André dos Santos Lopes [Tue, 2 Nov 2010 03:49:49 +0000 (03:49 +0000)]
- Fixed bug #53153 (memory leak with phpinfo() + output buffering + zlib compression).
Arnaud Le Blanc [Mon, 1 Nov 2010 22:40:29 +0000 (22:40 +0000)]
fix the fix
Arnaud Le Blanc [Mon, 1 Nov 2010 22:29:25 +0000 (22:29 +0000)]
fixed bug #52784 (Race condition when handling many
concurrent signals)
Arnaud Le Blanc [Mon, 1 Nov 2010 20:10:17 +0000 (20:10 +0000)]
Fix bug #52173 (ext/pcntl doesn't store/report errors) (patch
by nick dot telford at gmail dot com)
Derick Rethans [Mon, 1 Nov 2010 17:55:42 +0000 (17:55 +0000)]
- Updated to version 2010.15 (2010o)
Felipe Pena [Mon, 1 Nov 2010 17:16:47 +0000 (17:16 +0000)]
- Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4)
Gustavo André dos Santos Lopes [Fri, 29 Oct 2010 15:29:15 +0000 (15:29 +0000)]
- Fixed bug #53198 (changing INI setting "from" with ini_set did not have any
effect)
#Made "from" a proper INI setting and bound it to a global variable.
#Previously, it was simply read from the hash table with the parsed ini file
#by using cfg_get_string (I wonder why this mechanism still exists...)
Andrey Hristov [Fri, 29 Oct 2010 15:02:39 +0000 (15:02 +0000)]
- More features for the profiling, create aggregates and dump them
on file close.
- Also add a trace modifier to switch on and off the profiling.
- With additional compiler switch the profiling can be completely omitted,
of course it makes sense only when --enable-debug. Because otherwise
there is no tracing, thus no profiling.
- Added a fix for Windows for handling trace files on different devices
(special handing of ':' )
Andrey Hristov [Thu, 28 Oct 2010 14:14:06 +0000 (14:14 +0000)]
gettimeofday for windows
Andrey Hristov [Thu, 28 Oct 2010 14:07:36 +0000 (14:07 +0000)]
show tracing
Andrey Hristov [Thu, 28 Oct 2010 13:46:54 +0000 (13:46 +0000)]
fix windows debug build
better zlib detection
Gustavo André dos Santos Lopes [Wed, 27 Oct 2010 18:13:25 +0000 (18:13 +0000)]
- Fixed bug #49687 (utf8_decode vulnerabilities and deficiencies in the number
of reported malformed sequences). (Gustavo)
#Made a public interface for get_next_char/utf-8 in trunk to use in utf8_decode.
#In PHP 5.3, trunk's get_next_char was copied to xml.c because 5.3's
#get_next_char is different and is not prepared to recover appropriately from
#errors.
Gustavo André dos Santos Lopes [Wed, 27 Oct 2010 14:56:51 +0000 (14:56 +0000)]
- Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
Gustavo André dos Santos Lopes [Tue, 26 Oct 2010 18:47:10 +0000 (18:47 +0000)]
- Fixed ReflectionProperty::isDefault() giving a wrong result for properties
obtained with ReflectionClass::getProperties().
Gustavo André dos Santos Lopes [Tue, 26 Oct 2010 15:01:36 +0000 (15:01 +0000)]
- Added ReflectionParameter::canBePassedByValue().
Gustavo André dos Santos Lopes [Tue, 26 Oct 2010 02:16:21 +0000 (02:16 +0000)]
- Implemented request #44164, zlib.output_compression is now implicitly
disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
Ilia Alshanetsky [Mon, 25 Oct 2010 16:46:55 +0000 (16:46 +0000)]
Code cleanup & CS
Ilia Alshanetsky [Mon, 25 Oct 2010 16:38:19 +0000 (16:38 +0000)]
Removed unused variable
Andrey Hristov [Mon, 25 Oct 2010 13:44:11 +0000 (13:44 +0000)]
rename and remove usage of inttypes.h, not needed
Gustavo André dos Santos Lopes [Mon, 25 Oct 2010 02:03:20 +0000 (02:03 +0000)]
- Small optimization of the fix of bug #53071. It's not necessary to destroy
the debug info as it's not holding references anymore (the fix removed
the refcount increments).
Gustavo André dos Santos Lopes [Mon, 25 Oct 2010 01:41:54 +0000 (01:41 +0000)]
- Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles).
Gustavo André dos Santos Lopes [Sun, 24 Oct 2010 23:51:40 +0000 (23:51 +0000)]
- A BOM had slipped in a commit and broke the build under GCC. Fixed.
Pierre Joye [Sun, 24 Oct 2010 21:51:54 +0000 (21:51 +0000)]
- fix Isotopp
Gustavo André dos Santos Lopes [Sun, 24 Oct 2010 21:19:04 +0000 (21:19 +0000)]
- Fixed uninitialized and 1 character short local variable.
Gustavo André dos Santos Lopes [Sun, 24 Oct 2010 19:05:21 +0000 (19:05 +0000)]
- Removed out-of-date comments and one enum constant from html_tables.h and its generator.
- Other minor aesthetic improvements in the generator.
Gustavo André dos Santos Lopes [Sun, 24 Oct 2010 16:21:15 +0000 (16:21 +0000)]
- Added to UPGRADING(.INTERNALS) information about the changes on html.c.
- Added to UPGRADING information about the new class Transliteral, the new
parameter in dns_get_record and the fact that call_user_func_array no longer
allows call-time pass-by-reference.
Gustavo André dos Santos Lopes [Sun, 24 Oct 2010 15:01:02 +0000 (15:01 +0000)]
- Completed rewrite of html.c. Except for determine_charset, almost nothing
remains.
- Fixed bug on determine_charset that was preventing correct detection in
combination with internal mbstring encoding "none", "pass" or "auto".
- Added profiles for entity encode/decode for HTMl 4.01, XHTML 1.0, XML 1.0
and HTML 5. Added the constants ENT_HTML401, ENT_XML1, ENT_XHTML and
ENT_HTML5.
- htmlentities()/htmlspecialchars(), when told not to double encode, verify
the correctness of the existenting entities more thoroughly.
It is checked whether the numerical entity represents a valid unicode code
point (number is between 0 and 0x10FFFF). If using the flag ENT_DISALLOWED,
it is also checked whether that numerical entity is valid in selected
document. In HTML 4.01, all the numerical entities that represent a Unicode
code point (< U+
10FFFFFF) are valid, but that's not the case with other
document types. If the entity is not valid, & is encoded to &.
For named entities, the check is also more thorough. While before the only
check would be to determine if the entity was constituted by alphanumeric
characters, now it is checked whether that entity is necessarily defined for
the target document type. Otherwise, & is encoded to &.
- For html_entity_decode(), only valid numerical and named entities (as defined
above for htmlentities()/htmlspecialchars() + !double_encode) are decoded.
But there is in this case one additional check. Entities that represent
non-SGML or otherwise invalid characters are not decoded. Note that, in
HTML5, U+000D is a valid literal character, but the entity 
 is not
valid and is therefore not decoded.
- The hash tables lazily created for decoding in html_entity_decode() that were
added recently were substituted by static hash tables. Instead of 1 hash
table per encoding, there's only one hash table per document type defined in
terms of unicode code points. This means that for charsets other than UTF-8
and ISO-8859-1, a conversion to unicode code points is necessary before
decoding.
- On the encoding side, the ad hoc ranges of entities of the translation
tables, which mapped (in general) non-unicode code points to HTML entities
were replaced by three-stage tables for HTML 4 and HTML 5. This mapping
tables are defined only in terms of unicode code points, so a conversion
is necessary for charsets other than UTF-8 and ISO-8859-1. Even so, the
multi-stage table is much faster than the previous method, by a factor
of 5; the conversion to unicode is a small penalty because it's just a
simple table lookup.
XML 1.0/htmlspecialchars() uses a simple table instead of a three-stage
table.
- Added the flag ENT_SUBSTITUTE, which makes htmlentities()/htmlspecialchars()
replace the invalid multibyte sequences with U+FFFD (UTF-8) or &#FFFD;
(other encodings).
- Added the flag ENT_DISALLOWED. Implements FR #52860. Characters that cannot
appear literally are replaced by U+FFFD (UTF-8) or &#FFFD; (otherwise).
An alternative implementation would be to encode those characters into
numerical entities, but that would only work in HTML 4.01 due to limitations
on the values of numerical entities in other document types. See also the
effects on htmlentities()/htmlspecialchars() with !double_encode above.
Felipe Pena [Sun, 24 Oct 2010 14:03:07 +0000 (14:03 +0000)]
- Fixed bug #53144 (SplObjectStorage::removeAll())
Andrey Hristov [Fri, 22 Oct 2010 15:46:26 +0000 (15:46 +0000)]
profiling in trace mode
Dmitry Stogov [Fri, 22 Oct 2010 14:51:07 +0000 (14:51 +0000)]
reduced size of temp_variariable
Andrey Hristov [Fri, 22 Oct 2010 14:34:33 +0000 (14:34 +0000)]
last piece to enable trace logging on windows
Andrey Hristov [Fri, 22 Oct 2010 14:12:45 +0000 (14:12 +0000)]
enable debug logging on windows, in debug builds, of course
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
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
Dmitry Stogov [Fri, 22 Oct 2010 09:56:39 +0000 (09:56 +0000)]
Removed redundant check
Ilia Alshanetsky [Wed, 20 Oct 2010 19:27:34 +0000 (19:27 +0000)]
Upgraded bundled sqlite to version 3.7.3
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.
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
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.
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)
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.
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
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 ...
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.
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.
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.
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.
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.
Adam Harvey [Wed, 13 Oct 2010 09:23:39 +0000 (09:23 +0000)]
Fix vim marker folds.
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)
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.
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
Dmitry Stogov [Tue, 12 Oct 2010 07:38:36 +0000 (07:38 +0000)]
Added test
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.
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).
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).
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).
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.
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.
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.
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).
Andrey Hristov [Fri, 8 Oct 2010 09:15:31 +0000 (09:15 +0000)]
new collations
Felipe Pena [Thu, 7 Oct 2010 21:44:41 +0000 (21:44 +0000)]
- Added bison 2.4.3 version to the bison version list
Andrey Hristov [Thu, 7 Oct 2010 13:49:00 +0000 (13:49 +0000)]
fix some uninitialized variables. also fix shadowing of global symbols
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
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".
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.
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
Andrey Hristov [Wed, 6 Oct 2010 10:35:02 +0000 (10:35 +0000)]
fix broken merge, led to double define
Pierre Joye [Wed, 6 Oct 2010 09:02:08 +0000 (09:02 +0000)]
- don't build if no libvpx available
Andrey Hristov [Wed, 6 Oct 2010 07:09:37 +0000 (07:09 +0000)]
more variable hiding fixes
Andrey Hristov [Wed, 6 Oct 2010 06:08:55 +0000 (06:08 +0000)]
fix shadowing of parameters
Kalle Sommer Nielsen [Tue, 5 Oct 2010 22:58:19 +0000 (22:58 +0000)]
Update copyright year for the license
Andrey Hristov [Tue, 5 Oct 2010 17:20:00 +0000 (17:20 +0000)]
rename parameter name - should not shadow the global symbol alloca
Andrey Hristov [Tue, 5 Oct 2010 17:10:47 +0000 (17:10 +0000)]
two more compiler warnings fixed - size does matter
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
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.
Andrey Hristov [Tue, 5 Oct 2010 16:27:49 +0000 (16:27 +0000)]
rename parameter, should not conflict with global symbol -
the socket function
Andrey Hristov [Tue, 5 Oct 2010 14:56:49 +0000 (14:56 +0000)]
remove trailing commas in enums
Ulf Wendel [Tue, 5 Oct 2010 14:41:08 +0000 (14:41 +0000)]
Fix test: third parameter can be false.
Antony Dovgal [Tue, 5 Oct 2010 13:43:35 +0000 (13:43 +0000)]
fix bug #50345 (nanosleep not detected properly on some solaris versions)
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
Ilia Alshanetsky [Tue, 5 Oct 2010 12:27:00 +0000 (12:27 +0000)]
Removed debug code
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).
Dmitry Stogov [Tue, 5 Oct 2010 11:28:56 +0000 (11:28 +0000)]
Fixed bug #51008 (Zend/tests/bug45877.phpt fails)
Andrey Hristov [Tue, 5 Oct 2010 11:08:21 +0000 (11:08 +0000)]
add some safe casts
Patrick Allaert [Tue, 5 Oct 2010 10:42:13 +0000 (10:42 +0000)]
Fixed typo in tests (thx Eyal)
Andrey Hristov [Tue, 5 Oct 2010 10:30:00 +0000 (10:30 +0000)]
fixing more types
Kalle Sommer Nielsen [Tue, 5 Oct 2010 09:58:15 +0000 (09:58 +0000)]
Fixed constness compiler warning in pdo_mysql
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
Andrey Hristov [Tue, 5 Oct 2010 08:56:21 +0000 (08:56 +0000)]
fix types
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
Andrey Hristov [Tue, 5 Oct 2010 08:17:33 +0000 (08:17 +0000)]
fix recent TSRM build break, with --enable-debug
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.
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.
Felipe Pena [Mon, 4 Oct 2010 23:05:32 +0000 (23:05 +0000)]
- Fix build