Commit Graph

34071 Commits

Author SHA1 Message Date
foobar
591951dbfe - Fix NEWS. The empty lines were left on purpose.. 2006-04-10 10:16:42 +00:00
Dmitry Stogov
159008041c ZTS fix 2006-04-10 10:11:29 +00:00
foobar
0e8b5470be fix credits 2006-04-10 09:46:32 +00:00
88aa79d956 ChangeLog update 2006-04-10 05:31:46 +00:00
Andrei Zmievski
909a0f5cd0 MFB 2006-04-09 23:38:30 +00:00
Edin Kadribasic
141f969fe7 MFB: Fixed bug #36935 2006-04-09 23:15:57 +00:00
Ilia Alshanetsky
f58ef85af5 MFB51: Fixed bug #36875 (is_*() functions do not account for open_basedir). 2006-04-09 17:58:02 +00:00
Derick Rethans
74c0864346 - Fixed bug #37017 in a different way and added a test case. 2006-04-09 12:58:56 +00:00
Derick Rethans
0be2a7c956 - Fixed superfluous parameter. 2006-04-09 12:58:29 +00:00
489dd9ee76 ChangeLog update 2006-04-09 05:31:48 +00:00
Andrei Zmievski
3411f2bca1 Separate suffixes of shared libraries that we link against and the ones
we load with dlopen(). This matters on Mac OS X, for example.
2006-04-08 17:34:57 +00:00
Derick Rethans
7ca9d09689 - Added the date_parse() function that returns a parsed date/time string
including warnings and errors.
- Added the timezone_name_from_abbr() function that exposes the guessing
  mechanism that tries to find a timezone identifier from a timezone
  abbreviation and GMT offset.
- Fixed a bug where combined date formats 'c' and 'r' were cut off due to
  insufficient space in the buffer.
- Implemented better error and warning handling that is also used for the
  date_parse() function.
- Fixed the date::RFC3339 class constant.
- Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones
  identifiers)
- Fixed problems with "T" in front of a time string was seen as a time zone
  string.
- Fixed a problem were 5 and 6 character timezone abbreviations where not
  correctly parsed.
2006-04-08 14:57:42 +00:00
ca88b09b5e ChangeLog update 2006-04-08 05:31:55 +00:00
Antony Dovgal
7cf30db27e MF51: fix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators 2006-04-07 22:53:34 +00:00
Andrei Zmievski
589d830c32 Disallowed numeric named captures. 2006-04-07 21:20:10 +00:00
Pierre Joye
056c98d9f0 - MFB: revert leak fix, something else went wrong 2006-04-07 14:05:21 +00:00
Dmitry Stogov
7a6284cef0 Optimization 2006-04-07 13:57:39 +00:00
Dmitry Stogov
f3c00034b6 CGI anf FastCGI assume $_SERVER and $_ENV have the same values,
so we don't need construct the same arrays twich and may just copy it
2006-04-07 13:45:51 +00:00
Pierre Joye
a29f09dcc5 - MFB: fix leak when an error occured in socket_read, free tmpbuf 2006-04-07 13:34:53 +00:00
Dmitry Stogov
3ada78d408 Removed unnecessary copying 2006-04-07 12:39:28 +00:00
Dmitry Stogov
e5d4bfd637 We don't need setup the same time-out two times. 2006-04-07 11:43:43 +00:00
Dmitry Stogov
ee4fb4c41d - Fixed storing NULL pointers in HashTable
- Optimized zend_hash_reverse_apply()
2006-04-07 10:05:17 +00:00
14ba1088ad ChangeLog update 2006-04-07 05:31:53 +00:00
Andrei Zmievski
84a6481eff That is not the bug you're looking for. 2006-04-06 22:37:42 +00:00
Andrei Zmievski
a389cb5a8c Even more stuff from Friedl. 2006-04-06 22:02:02 +00:00
Andrei Zmievski
7272c63055 More stuff from Friedl.. 2006-04-06 21:23:56 +00:00
Andrei Zmievski
f37190dc57 MFB 2006-04-06 21:16:28 +00:00
Sara Golemon
5a9feaa6b1 Plug leak which occurs in unicode mode 2006-04-06 20:05:43 +00:00
Sara Golemon
b6f62cabff Silence false positives on test results 2006-04-06 20:03:27 +00:00
Sara Golemon
78d1f7ea40 Silence false positives in test failures 2006-04-06 19:51:36 +00:00
Sara Golemon
3b35b15961 Do runtime conversions (with an E_NOTICE) on writing unicode data to a binary stream. Take the WTF out of the equation 2006-04-06 19:39:11 +00:00
Antony Dovgal
48afd4ee03 MF51: fix #36981 (SplFileObject->fgets() ignores max_length) 2006-04-06 19:11:06 +00:00
Sara Golemon
5f5faedf18 Overload 'duplicate' arg as applied to:
add_((next_)?index|assoc)_(ascii|rt)_stringl?(_ex)?
and
(ZVAL|RETVAL|RETURN)_(ASCII|RT|U)_STRINGL?

#define ZSTR_DUPLICATE (1<<0)
#define ZSTR_AUTOFREE (1<<1)

Duplicate keeps traditional value of '1', additional bit '2' tells
unicode mode conversion to automatically free the original string
in order to avoid leaks due to conversion on a value otherwise being
"given" to the engine.

/* Uses s as-is for non-unicode, or frees s after converting to unicode */
{
  char *s = estrdup("Hello");
  ZVAL_RT_STRING(pzv, s, ZSTR_AUTOFREE);
}

/* Duplicates for non-unicode, or converts (but doesn't free original) */
{
  char *s = "Hello";
  ZVAL_RT_STRING(pzv, s, ZSTR_DUPLICATE);
}

/* Uses as-is for non-unicode, or converts (but doesn't free original) */
{
  char *s = "Hello";
  zval zv;
  ZVAL_RT_STRING(&zv, s, 0);

  /* use zv for some temporary purpose */

  /* It's now necessary to manually free this generated value */
  if (UG(unicode)) {
    zval_dtor(&zv);
  }
}
2006-04-06 18:02:39 +00:00
282807267d ChangeLog update 2006-04-06 05:31:50 +00:00
Antony Dovgal
96682ede22 workaround for problem on Solaris: shell tries to parse "for i in ;" and fails 2006-04-05 20:21:59 +00:00
Antony Dovgal
e931d970ab add new tests 2006-04-05 14:09:31 +00:00
Antony Dovgal
cd4730e6c7 add missing defines to .w32 2006-04-05 14:07:57 +00:00
Antony Dovgal
be7135bc8e fix #36934 (OCILob->read() doesn't move internal pointer when reading 0's)
no support for Unicode CLOBs in Oracle < 10, sorry.
2006-04-05 14:07:16 +00:00
Antony Dovgal
4e85f445f0 add test 2006-04-05 12:29:35 +00:00
Antony Dovgal
3305bba32b MF51: fix #36944 (strncmp & strncasecmp do not return false on negative string length) 2006-04-05 11:36:28 +00:00
d81161af49 ChangeLog update 2006-04-05 05:31:46 +00:00
Ilia Alshanetsky
1df7d39695 Fixed bug #36957 (serialize() does not handle recursion). 2006-04-05 02:28:39 +00:00
Frank M. Kromann
476f0a2ae1 MFP51: Fix #33694 invalid sql or timeouts makes it impossible to reuse persistent connections 2006-04-04 18:49:44 +00:00
Seiji Masugata
e241504917 fixed commnet typo, and duplicate logic. 2006-04-04 15:14:28 +00:00
Derick Rethans
1bad8fea12 - No need to have this one twice here... (Thanks Steph) 2006-04-04 06:04:49 +00:00
203607da74 ChangeLog update 2006-04-04 05:31:44 +00:00
Marcus Boerger
f2004b6f28 - WS 2006-04-03 19:58:03 +00:00
Marcus Boerger
091360caa1 - Fix issue related to #36941 (when referencing itself) 2006-04-03 19:52:02 +00:00
Antony Dovgal
50b05cf884 add test for gmp_nextprime() 2006-04-03 18:11:56 +00:00
Antony Dovgal
c53b85fae5 add gmp_nextprime() function
patch by ants dot aasma at gmail dot com
2006-04-03 17:46:12 +00:00