Kalle Sommer Nielsen
7ef4cdf471
Remove a couple TSRMLS_FETCH() calls around ext/main/sapi
2010-04-13 11:02:15 +00:00
Ilia Alshanetsky
1b8b6d931a
MFB: Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default)
2010-04-12 14:05:00 +00:00
Antony Dovgal
06b9943842
add FPM sapi to trunk
2010-04-12 11:22:24 +00:00
Pierre Joye
4290928fb3
- fix inline doc
2010-04-12 08:40:59 +00:00
Pierre Joye
95fcd75af2
- [doc] add stream_set_read_buffer, equivalent of stream_set_write_buffer for read operations. Fixing possible bad effects while reading devices. full context support is under work.
2010-04-12 08:25:50 +00:00
Kalle Sommer Nielsen
4e7b11ccce
Removed y2k_compliance ini option, making it "always" enabled internally
...
- The only reference to y2k_compliance was in php_std_date(). Browsers thats not compatable have a marketshare of 0.01% if they even are in use today
2010-04-12 07:34:30 +00:00
Kalle Sommer Nielsen
ecd006350a
NEWS entry for the define_syslog_variables commit
2010-04-12 07:01:46 +00:00
Kalle Sommer Nielsen
8087be61d0
* Changed the way removed ini directives are shown so its easier to add new ones
...
* Removed define_syslog_variables and its associated functions
2010-04-12 01:52:55 +00:00
Derick Rethans
4da75af2f8
- Expose date-extension object creation externally.
...
- Expose DateTime object initialisation externally.
2010-04-10 20:33:41 +00:00
Rob Richards
6f95046109
fix bug #50828 (DOMNotation is not subclass of DOMNode)
2010-04-09 11:34:34 +00:00
Antony Dovgal
14d1095a5c
make sure the actual length of the argument passed matches the
...
length of the argument declared
this fixes things like `php --zend-exten=1` or `php-fpm --fpm-con=conf`
2010-04-08 15:27:21 +00:00
Andrey Hristov
c0531d8db0
Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
...
because on 32bit SIZEOF_LONG is 4 and INT64 from MySQL is 8 everything
was converted to string, even if it was able to put it in a long.
This closes Request #50651 Native type cast returns wrong result
2010-04-08 13:20:37 +00:00
Andrey Hristov
4b2111d178
Fixing the second test
2010-04-08 13:18:52 +00:00
Andrey Hristov
4e441ef30b
one more fix and both work with libmysql and mysqlnd
2010-04-08 10:53:38 +00:00
Andrey Hristov
8467978d7a
Fix for bug #51026 ssl not working
2010-04-08 09:01:21 +00:00
Pierre Joye
c264445a37
- WS
2010-04-08 07:55:35 +00:00
Pierre Joye
2137c3a036
- WS
2010-04-08 07:50:05 +00:00
Andrey Hristov
840d2dc8a7
Another fix for the 16 chars user limitation of MySQL
2010-04-07 18:28:46 +00:00
Andrey Hristov
dfbe6cb392
Fix test. The usernames in the server are 16 chars long
2010-04-07 18:05:42 +00:00
Andrey Hristov
92698a331f
Fix the Windows build (void* arithmetic) as well as --disable-zlib
...
build.
2010-04-06 18:14:23 +00:00
Andrey Hristov
3cb852fe6b
Stricly C
2010-04-06 14:33:55 +00:00
Antony Dovgal
adaf07849d
fix typo
2010-04-06 13:42:21 +00:00
Andrey Hristov
b8484a2e89
Recommit with an Windows build fix:
...
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)
2010-04-06 13:28:23 +00:00
Stanislav Malyshev
5f6a39d531
change namespaced ctors - only __construct would work
2010-04-04 23:28:20 +00:00
Felipe Pena
f3d312ce87
- Fix tests
2010-04-04 17:21:27 +00:00
Felipe Pena
7561171eca
- Fix test
2010-04-04 16:59:20 +00:00
Felipe Pena
a90c801c2f
- Fixed tests
2010-04-03 15:42:42 +00:00
Felipe Pena
fa76263481
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection)
2010-04-02 21:44:09 +00:00
Rob Richards
01d9389c2c
fix bug #48983 (DomDocument : saveHTMLFile wrong charset)
2010-04-02 20:08:15 +00:00
Rasmus Lerdorf
42bc0de99a
Fix tests
2010-04-02 18:27:48 +00:00
Rasmus Lerdorf
fcbb8e96f4
Update the FILTER_VALIDATE_EMAIL filter to fix bug #49576
2010-04-02 17:56:37 +00:00
Rob Richards
6feb1edcb6
re-apply bug fix #35673 (formatOutput does not work with saveHTML) from old trunk
...
add test
BFN
2010-04-02 16:15:06 +00:00
Stanislav Malyshev
de363cf818
fix #49192 - crash in GC when get_properties handler returns null
2010-04-01 22:54:03 +00:00
Stanislav Malyshev
cf4ea31bff
fix #51394 - try harder to find script lineno when exception happens
2010-04-01 19:36:56 +00:00
Rasmus Lerdorf
49b8860ace
Add new full_special_chars filter to tests
2010-04-01 18:04:57 +00:00
Andrey Hristov
d339672e45
Fix inconsistencies
...
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
by it.
- add a mode to track memory usage (malloc/free)
2010-04-01 13:26:41 +00:00
Andrey Hristov
ffb8df30ab
Better fix for bug #51347 mysqli_close / connection memory leak
2010-04-01 12:46:21 +00:00
Ilia Alshanetsky
e670a3f9fd
On beginTransaction() reset error state
2010-04-01 12:08:55 +00:00
Andrey Hristov
4735c71283
Fixed bug #51347 mysqli_close / connection memory leak
...
Streams API registers every stream as resource, which lands then
in EG(regular_list), however doesn't clean that when the stream is
closed. At the end this is a para-leak. At the end of the script
all memory is cleaned, however this is a problem for long runnig
scripts that open connections. For every opened and closed connection
about 150 Bytes on 32bit and 250 Bytes on 64bit will be "lost",
according to memory_get_usage().
2010-04-01 11:50:24 +00:00
Pierre Joye
94ef6d481f
- fix build
2010-04-01 10:34:05 +00:00
Rasmus Lerdorf
1c26f48b8a
Fix FILTER_VALIDATE_URL - Host names can't start with '.' or '-'
2010-03-31 23:56:30 +00:00
Rasmus Lerdorf
fac463ed4a
Moved to 5.3
2010-03-31 23:01:38 +00:00
Rasmus Lerdorf
4d75c64415
Added the full htmlspecialchars() functionality which includes utf-8
...
validation as a default filter.
2010-03-31 21:50:36 +00:00
Rasmus Lerdorf
9692a3619c
Set session.entropy_file to /dev/urandom or /dev/arandom by
...
default if present at compile-time. Addresses part of bug #51436
2010-03-31 18:03:17 +00:00
Johannes Schlüter
e0f91992c0
Add some const declarations, makes C++ extension writers happy
2010-03-30 23:14:19 +00:00
Johannes Schlüter
26b08f9857
Remove main/php3_compat.h, for that a few references to function_entry
have
...
to be replaced by `zend_function_entry`.
2010-03-30 23:03:02 +00:00
Johannes Schlüter
d5b2d647c0
Fix protos
2010-03-30 22:36:17 +00:00
Johannes Schlüter
26af575926
Add ReflectionZendExtension class and --rz option to CLI
2010-03-30 22:35:23 +00:00
Johannes Schlüter
b904559776
It's 2010 already
2010-03-30 21:09:07 +00:00
Johannes Schlüter
6ba38a6e09
Fix folding
2010-03-30 21:04:28 +00:00