Commit Graph

17584 Commits

Author SHA1 Message Date
Dmitry Stogov
b029407078 fixed test file 2006-02-22 12:24:02 +00:00
Dmitry Stogov
36002f16c3 Fixed test file 2006-02-22 12:22:07 +00:00
Antony Dovgal
9fbd7efa09 fix ext/wddx build 2006-02-22 07:25:09 +00:00
Marcus Boerger
54c4478a12 - 2006 now 2006-02-21 23:21:53 +00:00
Johannes Schlüter
f0331d8c12 - Print deprecation info on reflection export 2006-02-21 21:42:54 +00:00
Sebastian Bergmann
50ccc82261 Fix whitespace. 2006-02-21 21:38:28 +00:00
Marcus Boerger
de27da1c85 - More bodies 2006-02-21 21:22:39 +00:00
Marcus Boerger
0cf591a5f9 - Ensure non abstract methods have code
# This is very usefull once doxygen 1.4.7 comes out with my patch :-)
2006-02-21 21:19:34 +00:00
Sara Golemon
3b7d690912 Add md2 algo support 2006-02-21 20:37:12 +00:00
Sara Golemon
6ca81d1347 Keep history in package.xml file.. 2006-02-21 20:35:38 +00:00
Sebastian Bergmann
865eaa67b5 Add ReflectionMethod::isDeprecated(). Patch reviewed by Marcus Börger <helly@php.net>. 2006-02-21 20:23:10 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Ilia Alshanetsky
fca6eecbe9 MFB51: Fixed bug #36458 (sleep() accepts negative values). 2006-02-21 15:32:34 +00:00
Marcus Boerger
53f2048fd1 - Its 2006 already 2006-02-21 09:47:09 +00:00
Marcus Boerger
43e9def563 - Update 2006-02-21 09:45:38 +00:00
Marcus Boerger
416f3ef160 - Ansi compliance issue found by rob 2006-02-21 09:12:32 +00:00
Marcus Boerger
76df257b15 - Simplify by remove redundant checks 2006-02-21 00:55:38 +00:00
Marcus Boerger
86f70099d0 - Fix text expectations 2006-02-21 00:49:51 +00:00
Marcus Boerger
37f033e0f7 - Fix mem issue in unicode mode (seems to be a problem in different api behavior) 2006-02-21 00:43:33 +00:00
Marcus Boerger
3ac5297d8b - Add ReflectionProperty::getDefaultValue() 2006-02-21 00:37:39 +00:00
Johannes Schlüter
6e9026d6c8 - Rename reflection constants to fix parser conflicts 2006-02-20 23:31:29 +00:00
Marcus Boerger
fc21f78226 - Show dependencies in dump's too 2006-02-20 23:26:39 +00:00
Marcus Boerger
0184485812 - Add ReflectionExtension::getDependencies() to retrieve all dependencies
of an extension as associative array "ModuleNeme" > "Relation"
2006-02-20 23:01:27 +00:00
Marcus Boerger
b56190d25b - Add some arginfo 2006-02-20 22:23:27 +00:00
Marcus Boerger
45dd9a10b8 - WS 2006-02-20 22:21:24 +00:00
Marcus Boerger
f4fd040d73 - Include examples in documentation
- Provide a better place for the examples
2006-02-20 22:19:04 +00:00
Dmitry Stogov
6e6a84129c Incorrect usage of Z_TYPE() macro 2006-02-20 17:14:18 +00:00
Ilia Alshanetsky
3fa4bf210f MFB51: Fixed bug #36434 (Improper resolution of declaring class name of an
inherited property).
2006-02-20 15:28:15 +00:00
Dmitry Stogov
9528c37906 Fixed SIGSEGV in unicode mode 2006-02-20 11:15:02 +00:00
Dmitry Stogov
bb0f2051c4 Fixed wrong prototype and error message 2006-02-20 10:50:58 +00:00
Dmitry Stogov
332e557ac2 Fixed start inex in iterator 2006-02-20 10:29:35 +00:00
Dmitry Stogov
5e0b8cdb94 Fixed test files 2006-02-20 09:45:00 +00:00
Dmitry Stogov
5fb11bc86e Fixed memory corruption 2006-02-20 09:38:47 +00:00
Dmitry Stogov
56b0eb7248 Fixed test file 2006-02-20 08:39:38 +00:00
Michael Wallner
e15933f6ef - changelog 2006-02-19 23:53:06 +00:00
Michael Wallner
cc6ac87145 MF51: fix tiger on big endian platforms 2006-02-19 23:43:23 +00:00
Ilia Alshanetsky
a605fd39c4 More safe_mode nuking 2006-02-19 18:20:51 +00:00
Ilia Alshanetsky
c6ba5765be Nuke safe_mode 2006-02-19 18:19:33 +00:00
Andi Gutmans
c28cff57d1 - Couple of compile fixes. 2006-02-19 05:05:42 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
Andi Gutmans
ac1e7362b3 - More safe_mode nuking 2006-02-19 03:07:39 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Marcus Boerger
e936de9d1b - Fix naming inconsistency reported by sebastian 2006-02-18 18:05:46 +00:00
Marcus Boerger
bb924b320f - Add test 2006-02-18 17:13:39 +00:00
Marcus Boerger
b2565bded0 - Add new test 2006-02-18 16:58:50 +00:00
Marcus Boerger
c2e1da6ecc - Initiai fix to Bug #36436 DBA problem with Berkeley DB4 2006-02-18 16:52:30 +00:00
Michael Wallner
379f6cdc2a MF51: fix misleading proto (confused in and out charset) 2006-02-18 16:04:02 +00:00
Andrei Zmievski
31f74bc7a5 NULL byte should be escaped to \000 instead of \0 in case it is followed
by an octal digit. (found by Jeffrey Friedl)
2006-02-17 21:17:44 +00:00
Marcus Boerger
f81239a2b3 - Change to offsetof as suggested by Clayton 2006-02-17 08:24:56 +00:00
Antony Dovgal
29d3ee55d5 fix #36420 (segfault when access result->num_rows after calling result->close()) 2006-02-16 16:08:52 +00:00
Ilia Alshanetsky
2b24ddb6a3 MFB51: Fixed bug #36420 (segfault when access result->num_rows after calling
result->close())
2006-02-16 16:05:02 +00:00
Antony Dovgal
77b7b56ab0 improve usleep(): use new param parsing API, check for negative values
(related to #36410)
2006-02-16 10:13:23 +00:00
Marcus Boerger
d87927c388 - Fix iterator handling (how did the fix after api change get lost here?)
- In php 5 we do not want to return &new
2006-02-16 01:12:51 +00:00
Marcus Boerger
45820dd7ea - Little speedup + first test 2006-02-15 21:34:21 +00:00
Antony Dovgal
cc318c4f4f fix #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY) 2006-02-15 20:43:37 +00:00
Ilia Alshanetsky
d60eeb0ba8 MFB51: Fixed bug #36345 (PDO/MySQL problem loading BLOB over 1MB). 2006-02-14 14:26:27 +00:00
Antony Dovgal
2c24249ccc add test for bug #36337 2006-02-14 09:46:45 +00:00
Marcus Boerger
4e172c21a5 - Change unicode_enabled() to unicode_semantics() per Andrei's suggestion 2006-02-13 19:55:17 +00:00
Ilia Alshanetsky
eaacf0bb2f MFB51: Fixed bug #36337 (ReflectionProperty fails to return correct visibility). 2006-02-13 14:49:54 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Marcus Boerger
83f1271312 - Add unicode_enabled() to check whether unicode_semantics is on 2006-02-13 09:20:19 +00:00
Marcus Boerger
887d1202f4 - No more old parameter api usage 2006-02-12 16:43:30 +00:00
Ilia Alshanetsky
2fb6ce838b MFB51: Fixed bug #36351 (parse_url() does not parse numeric paths properly). 2006-02-12 16:40:34 +00:00
Rui Hirokawa
0453023c3e added additional info about mail encoding to mb_get_info(). (made by Jokagi) 2006-02-11 02:25:29 +00:00
Andrei Zmievski
5418ae7976 Implement character/word/line/sentence iterators and the reverse
counterparts.
2006-02-11 00:16:43 +00:00
Antony Dovgal
50bbedcec3 fix #36359 (splFileObject::fwrite() doesn't write when no data length specified) 2006-02-10 16:56:56 +00:00
Rasmus Lerdorf
a5883cc89c (Missing patch from the PHP 4 tree that got lost in the shuffle)
See: http://cvs.php.net/viewcvs.cgi/php-src/ext/session/session.c?r1=1.336.2.39&r2=1.336.2.40
- fix logic. if the client already sent us the cookie, we don't
  need to send it again.  if the id has been changed, we need to
  update the client side.
2006-02-10 07:41:59 +00:00
Andrei Zmievski
086dec2719 Make ReverseTextIterator a separate class. 2006-02-10 00:23:29 +00:00
Pierre Joye
a5d44ed100 - fix order 2006-02-09 22:27:11 +00:00
Ilia Alshanetsky
8af39b1461 MFB51: Added test for bug #36308 2006-02-09 18:18:42 +00:00
Pierre Joye
154bb7c6a7 - MFB:
- revert last fix
- ensure that we are in 32bit
- do not try to compare the decimal values but hex, php does not have
  unsigned integer
2006-02-09 15:48:18 +00:00
Ilia Alshanetsky
0e61422e6c MFB51: Fixed bug #36308 (ReflectionProperty::getDocComment() does not reflect
extended class commentary).
2006-02-08 00:37:31 +00:00
Andrei Zmievski
dfd6f3e3b8 Reverse iteration for combining sequences. 2006-02-08 00:16:50 +00:00
Andrei Zmievski
1a6b00fc01 Implement reverse iteration for codeunits and codepoints. Combining
sequences are next.

# This is ugly, though.
# foreach (new TextIterator($a, # TextIterator::CODE_POINT|TextIterator::REVERSE) as $k => $c) {
#    var_dump("$k: $c");
# }
# Any suggestions?
2006-02-07 20:01:28 +00:00
Andrei Zmievski
f0a9b2d51b MFB. 2006-02-07 17:54:52 +00:00
Antony Dovgal
087ee7d567 don't use deprecated call-time by reference 2006-02-07 14:11:01 +00:00
Dmitry Stogov
018fc87344 Compression level shouldn't be greatr then 9. 2006-02-07 12:57:43 +00:00
Dmitry Stogov
a13e2c5784 Fixed bug #36083 (SoapClient waits for responses on one-way operations) 2006-02-07 12:49:30 +00:00
Rob Richards
8e4671ba01 modify get_iterator calls for engine change
fix mem leak with iterators
fix object casting for edge case
2006-02-07 11:52:45 +00:00
Rob Richards
e1e5c3f3b2 modify get_iterator call for engine change 2006-02-07 11:48:37 +00:00
Pierre Joye
6a158cf60d - MFB: #36306, crc32() result differs on 32-bit and 64-bit platforms 2006-02-07 00:24:56 +00:00
Andrei Zmievski
f71a7cb1f4 Implement combining sequences support in TextIterator. 2006-02-07 00:13:54 +00:00
Andrei Zmievski
071835ea59 - Fix up a bunch of stuff.
- Register TextIterator type constants.

# Not sure if I like them as class constants. Cleaner, but also longer
# to type.
2006-02-06 22:58:10 +00:00
Michael Wallner
43550c7f4e - fix ReflectionClass::getInterfaces() 2006-02-06 20:11:56 +00:00
Andrei Zmievski
9e07b59f9c Some TODO items. 2006-02-06 18:18:41 +00:00
Andrei Zmievski
1e9fa8c10a Make TextIterator fast again, now that we don't have to worry about
references.
2006-02-06 17:42:28 +00:00
Ilia Alshanetsky
8e7b44c7f3 MFB51: Fixed test to work when TCP/IP access to MySQL is disabled or test
server is on a remote machine.
2006-02-06 14:25:28 +00:00
Dmitry Stogov
ba96a4032c typo 2006-02-06 13:17:20 +00:00
Antony Dovgal
96543b01ad initialize variables and reduce the number of warnings 2006-02-06 11:28:20 +00:00
Antony Dovgal
01937aa77f initialize variable and make gcc happy 2006-02-06 11:00:51 +00:00
Antony Dovgal
d163171c17 MF51: initialize variables 2006-02-06 10:54:49 +00:00
Antony Dovgal
eadb1127fb MF51: initialize to_r
remove needless semicolon
2006-02-06 10:41:42 +00:00
Dmitry Stogov
529a315637 Fixed bug #36283 (SOAPClient Compression Broken). 2006-02-06 10:16:15 +00:00
Marcus Boerger
8d0a71a30e - Finally enable optimization 2006-02-06 02:07:08 +00:00
Marcus Boerger
ee37c70736 - WS
- current() doesn't return anything
2006-02-06 01:49:13 +00:00
Marcus Boerger
0d1594692d - Simplify 2006-02-06 01:42:37 +00:00
Marcus Boerger
42cc8c1ba3 - Simplify 2006-02-06 01:30:26 +00:00
Marcus Boerger
9b8b9632cd - Add new test 2006-02-06 01:28:08 +00:00
Marcus Boerger
1ea1975817 - Synch c-level iterator and iterator methods
- Fix iterator checks
# A nice discussion with Andrei made me remember this issue
2006-02-06 00:58:11 +00:00
Marcus Boerger
c67d8b2152 - Iterator API was changed 2006-02-05 23:31:47 +00:00