foobar
20cc9e3939
some more things to do
2005-06-18 18:11:33 +00:00
Derick Rethans
b70466417e
- Add another test for bug #20382 .
2005-06-18 14:11:15 +00:00
foobar
eb4103503c
Add note how to build DBA as shared
2005-06-18 13:28:30 +00:00
foobar
4ca58ffa00
no trailing dots
2005-06-18 13:17:52 +00:00
Derick Rethans
3ad7c1ad4a
- If the ts is smaller than the first transition time, use the last one
...
in the list.
#- This seems consistent with how "zdump" works, although I'm not 100% sure if
# it's correct.
2005-06-18 11:58:18 +00:00
Derick Rethans
30efc9f68e
- Fixed a problem where the timestamp we are looking up a TZ info structure for
...
was in the last record in the tz database.
- Fixed problem in test case.
2005-06-18 11:15:29 +00:00
Derick Rethans
cbc98fb3c0
- Fixed test case
...
#- Still not sure why the first TS is incorrect...
2005-06-18 10:25:40 +00:00
foobar
a104447d46
Make sure $_ENV is populated
2005-06-18 02:24:37 +00:00
foobar
f2ddefcc56
- This is no bug.
2005-06-18 02:06:31 +00:00
foobar
185648217f
test for bug #33389
2005-06-18 01:01:48 +00:00
Ilia Alshanetsky
bcd33d5f18
Added offset parameter to the stream_copy_to_stream() function.
2005-06-17 23:29:20 +00:00
Derick Rethans
25168fffd5
- Fix test case.
...
#- Bug might actually be in date() rendering things wrong, but that code
# is not yet replaced.
2005-06-17 22:45:31 +00:00
foobar
19639aa9ab
Use the new dependency system
2005-06-17 16:42:54 +00:00
foobar
a491b82c4c
No short-tags!
2005-06-17 16:40:05 +00:00
Georg Richter
15563f8d91
fix for bug #33263 (mysqli_real_escape doesn't work in __construct)
2005-06-17 16:32:43 +00:00
foobar
c24bd1584c
fix test - short_tags not allowed here!
2005-06-17 16:22:55 +00:00
Derick Rethans
c41145799d
- The incoming TS is GMT... but the hole filler wants local time so we
...
have to convert it.
- Change e-mail address
2005-06-17 14:54:00 +00:00
Derick Rethans
2492892fde
- Add a couple of test files, which all still fail.
2005-06-17 14:21:53 +00:00
Derick Rethans
65530de209
- Simplify code a little.
2005-06-17 14:11:12 +00:00
foobar
a81ac8d04b
nuke unused variable
2005-06-17 13:12:31 +00:00
Derick Rethans
f4de039522
- Rename tl_config.h to timelib_config.h
2005-06-17 12:03:04 +00:00
foobar
7c6ba77780
Use new dependency system
2005-06-17 11:48:17 +00:00
foobar
371135fa2c
Use the new dependency system
2005-06-17 11:44:59 +00:00
foobar
78a5b7693c
Use the new dependency system
2005-06-17 11:35:22 +00:00
Antony Dovgal
8d2dd7901c
add news entry and test for bug #33382
2005-06-17 10:53:15 +00:00
Dmitry Stogov
f47c78487b
Improved PHP extension loading mechanism with support for module dependencies and conflicts
2005-06-17 09:39:23 +00:00
Frank M. Kromann
37d672d2a3
Attempt to fix win32 build by creating the missing hader file
2005-06-17 05:10:12 +00:00
foobar
a736f99e2f
- Improve portability.
...
# TODO: The standalone lib needs it's own build stuff, pretty much same as
# Zend has for standalone builds.
2005-06-16 23:12:10 +00:00
Marcus Boerger
7a7cda7a4c
- Internal functions/methods can now return by reference
2005-06-16 23:02:23 +00:00
Ilia Alshanetsky
353e07f57b
Fixed memory corruption.
2005-06-16 22:50:32 +00:00
Brian France
cd8adc0cf2
ifdef'ed the code but not the includes
2005-06-16 22:35:11 +00:00
foobar
a87d9876cf
nuke unused entries
2005-06-16 22:03:04 +00:00
Johannes Schlüter
f2fab902c4
fix typos
2005-06-16 21:27:51 +00:00
foobar
ab285a85fd
Fix VPATH build (again)
2005-06-16 21:23:16 +00:00
Derick Rethans
ca16776087
- Fixed headers for FreeBSD
...
- Moved from ntohl to own macro
- Export timelib_dump_tzinfo
2005-06-16 18:34:42 +00:00
Derick Rethans
c53cdf6dd8
- Added include dir.
2005-06-16 18:15:30 +00:00
Derick Rethans
fb2b1606ba
- Fix up tests, remove windows specific test.
2005-06-16 18:13:40 +00:00
Derick Rethans
b7ea5dc5f4
- Move strtotime() related testcases to ext/date/tests.
2005-06-16 17:35:08 +00:00
Derick Rethans
4ad939be1b
- Rename "datetime.c" and "datetime.h" to "timelib.c" and "timelib.h" to
...
prevent duplicate header names.
2005-06-16 17:12:41 +00:00
Wez Furlong
b680c5c5e1
Don't emit the E_STRICT dl-is-deprecated notice on SAPI's where dl() is widely (and safely) used.
...
This allows our test-suite to run in E_STRICT mode.
2005-06-16 15:36:39 +00:00
Wez Furlong
4de4565710
Fix compile on win32 at least.
2005-06-16 15:03:36 +00:00
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
2005-06-16 14:56:13 +00:00
Derick Rethans
7c264559b2
- Fixed a regression with "last saturday"
2005-06-16 13:30:26 +00:00
Derick Rethans
f847c6f948
- Update maintainers and credits.
2005-06-16 10:44:41 +00:00
Ilia Alshanetsky
73d503471c
Fixed memory leak.
2005-06-15 23:42:55 +00:00
Ilia Alshanetsky
694585e1a8
Avoid double-free.
2005-06-15 23:30:20 +00:00
Ilia Alshanetsky
c68b34c40f
Added test for bug #33056 .
2005-06-15 23:24:28 +00:00
Andrei Zmievski
be0458269e
WS fix
2005-06-15 21:20:26 +00:00
Andrei Zmievski
ec09711101
Fix FCI cache for array_walk and user array compare functions. Bug
...
#33286 . (Patch from m.bretz@metropolis-ag.de )
2005-06-15 20:51:33 +00:00
Derick Rethans
eb8b4fd4a1
- Make it compile cleanly with MS VC++ too, which is completely anal in some
...
cases.
2005-06-15 11:01:07 +00:00
Derick Rethans
e56a091bf3
- Commit re-generated parser.
2005-06-15 09:09:04 +00:00
Edin Kadribasic
d00b6bc170
Date will never be compiled as shared so this is not needed
2005-06-15 09:05:00 +00:00
Edin Kadribasic
cc33e8f536
Nuke PHP_ prefix from timelib
2005-06-15 09:02:28 +00:00
Edin Kadribasic
d1974bad1b
Made date obligatory and static
2005-06-15 08:44:23 +00:00
Derick Rethans
6d7667267b
- Hide the "Unexpected character..." message for now.
2005-06-15 07:58:21 +00:00
Derick Rethans
318c7aead7
- Commit fixed .c file with fixed re2c.
2005-06-15 07:43:05 +00:00
Derick Rethans
952a2c8234
- Whitespace and regenerate the .c file with my re2c.
2005-06-15 07:23:27 +00:00
Derick Rethans
f858c193b6
- Rename macro to TIMELIB_TIME_FREE
...
#- Please do not use PHP_ prefixes as this library will also be packaged
# outside of PHP.
2005-06-15 07:15:38 +00:00
Edin Kadribasic
61d132cddc
Export symbols
2005-06-15 00:23:14 +00:00
Edin Kadribasic
dd9698a6cb
Touch + manual fix for re2c bug where it forgets {} in static int scan()
2005-06-15 00:17:41 +00:00
Dan Scott
4187a6e3c7
Bring PDO_ODBC tests in sync with PDO base tests.
2005-06-15 00:17:18 +00:00
Edin Kadribasic
289997715a
Make it compile on windows
2005-06-15 00:11:29 +00:00
Ilia Alshanetsky
9392a1c9de
Fixed memory leaks.
2005-06-14 23:40:57 +00:00
foobar
32b3d10174
fix VPATH builds + nuked unnecessary lines
2005-06-14 22:50:55 +00:00
Edin Kadribasic
cde34a07b7
Added win32 build file
2005-06-14 22:25:48 +00:00
Derick Rethans
4fb4cac65c
- Add my new timelib and ext/date. For now only strtotime() makes use of this.
2005-06-14 21:32:29 +00:00
Rob Richards
f14292df21
Fixed bug #33340 (CLI Crash when calling php:function from XSLT)
2005-06-14 19:39:52 +00:00
foobar
23ffaecc7d
If the macro exists, use it, otherwise use the Makefile.frag
2005-06-14 13:09:23 +00:00
Ilia Alshanetsky
b36d4ae02c
Added bindto socket context option.
2005-06-14 02:39:42 +00:00
foobar
1cd9875465
Partial revert: AC_DEFINE / PHP_HAVE_DEF need to be called once only per macro
2005-06-14 02:18:18 +00:00
foobar
e5057f7c22
use PHP_CHECK_PDO_INCLUDES
2005-06-14 01:44:16 +00:00
foobar
8eeff6d2d4
- Fixed some places which might cause problems
...
- Changed the "general" flavour to have libname parameter (given without the
lib prefix of course)
# bug #33316 should be fixed now too
2005-06-14 01:42:31 +00:00
foobar
15cf2a60b0
- Added PHP_CHECK_PDO_INCLUDES macro (caches the result)
2005-06-14 00:00:53 +00:00
foobar
ee28f62dc0
ws
2005-06-13 23:37:20 +00:00
Edin Kadribasic
60b465fc5b
MFB: MSVC++ 6.0 doesn't support long long type
2005-06-13 19:33:39 +00:00
Antony Dovgal
2a128504a2
destroy session after destroying error handle
...
SQLT_CHR is allowed too
2005-06-13 09:30:49 +00:00
Dmitry Stogov
e6dcba6052
Fixed bug #33312 (ReflectionParameter methods do not work correctly)
2005-06-13 07:55:08 +00:00
Ilia Alshanetsky
ba93fc60af
Removed unused var.
2005-06-12 17:07:20 +00:00
Hartmut Holzgraefe
55b5376d19
Support for GLOB_ERR so that glob() reports permission problems (Bug #28355 )
2005-06-12 07:53:24 +00:00
Hartmut Holzgraefe
d5adc7ceff
thinko fix (E_COMMIT_AFTER_MIDNIGHT)
2005-06-12 01:13:24 +00:00
Hartmut Holzgraefe
4440d3897e
Removed bogus fix for bug #28355 (it was dead code anyway)
2005-06-12 00:59:04 +00:00
foobar
8030941485
revert
2005-06-11 23:53:21 +00:00
foobar
7a794caed0
Another netware fix
2005-06-11 23:32:46 +00:00
foobar
467db93099
regenerated with re2c 0.9.7
2005-06-11 18:00:37 +00:00
Wez Furlong
986800ce88
hunting for a bug. Looks like it might be yet-another-mysterious-shutdown problem.
2005-06-11 14:48:06 +00:00
Dan Scott
b21bf3d357
PDO_ODBC returns strings for all data types. Bring expected output in line.
2005-06-11 14:01:46 +00:00
Wez Furlong
ecce72aa83
become a better config.m4 citizen
2005-06-11 13:27:50 +00:00
Wez Furlong
183c8aa287
Fix for PECL #3714 : beginTransaction doesn't work if you're in auto-commit mode.
2005-06-11 12:38:12 +00:00
Wez Furlong
13ac7169af
and the lesson is, test everything before you commit at 2am
2005-06-11 12:36:12 +00:00
Wez Furlong
f124c2086e
couple of conceptual errors here
2005-06-11 02:50:20 +00:00
Dmitry Stogov
26c3944d9c
Fixed support for ZEND_ACC_SHADOW in ReflectionProperty constructor
2005-06-10 10:22:36 +00:00
Wez Furlong
a5135f4528
Patch from zhao ming sen.
2005-06-10 06:32:36 +00:00
Wez Furlong
fcff6a079a
"Fix" PECL #4411
...
SPL is not initialized before PDO, so inheriting from SPL's runtime exception class gives PDO a broken exception class.
We don't currently have a way to express this kind of "soft" dependency in the build system, so I'm disabling inheriting from the runtime exception for now.
2005-06-10 06:11:29 +00:00
Wez Furlong
711b4e0043
implement the 'request shutdown' hook; this allows us to register UDFs on
...
persistent handles safely. (it is dangerous to keep them registered between
requests, as there are 0 guarantees that functions with the same name are even
present on the next hit, let alone that the zvals we cache point to the right
place.
2005-06-10 05:49:48 +00:00
Wez Furlong
49e7b3da4c
Fix a dumb bug that would effecively ignore persistent connections and create a
...
new one each time.
Add a hook for persistent connections: it is called when the object goes out of
scope, and offers the driver an opportunity to release per-request scoped data
at the right time.
This hook is used by pdo_sqlite to unregister UDFs, which are dangerous to keep
registered between requests.
2005-06-10 05:47:55 +00:00
Wez Furlong
6cc74b0e39
add sqliteCreateAggregate()
2005-06-10 05:17:47 +00:00
Wez Furlong
41421c7d7a
finish implementation of sqliteCreateFunction().
2005-06-10 04:04:43 +00:00
Wez Furlong
5c16028eb5
initialize type of function
2005-06-10 04:03:43 +00:00
Wez Furlong
be76bd5278
work in progress on UDF.
...
Something is hokey in HEAD, checking it in to try it on another box.
2005-06-10 02:50:37 +00:00
Stanislav Malyshev
2cb52151ac
MF50: fix #29689 and more private property problems
2005-06-09 17:20:44 +00:00
Ilia Alshanetsky
3341b5dedd
Fixed compiler warning.
2005-06-09 16:13:14 +00:00
Dmitry Stogov
4c0970bec6
Fixed reference counting and probable crash on fclose() or shutdown
2005-06-09 08:19:30 +00:00
Dmitry Stogov
992a187eb1
Fixed array type autodetection (use namespace name, but not the namespace prefix
...
)
2005-06-09 08:17:37 +00:00
Ilia Alshanetsky
0c6368d44b
Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in length)
2005-06-08 23:49:38 +00:00
Dmitry Stogov
72c6d5cbaf
Fixed memory allocation bugs in array_reduce() with initial value ( #22463 & #24980 )
2005-06-08 19:54:24 +00:00
Dmitry Stogov
cf5a6f81e3
Fixed zval_ptr_dtor(&return_value) on uninicialized zval
2005-06-08 19:51:56 +00:00
Dmitry Stogov
9cf513dfea
Fixed ReflectionClass::setStaticPropertyValue()
2005-06-08 17:08:06 +00:00
Dmitry Stogov
415ec46927
Fixed incorrect usage of zend_mangle_property_name() (valgrind errors)
2005-06-08 15:48:12 +00:00
Dmitry Stogov
0a44789bf3
Fixed bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
2005-06-08 06:49:01 +00:00
foobar
7101cd821a
- It is nice to close the script with ?>..
2005-06-07 21:39:54 +00:00
foobar
8e2efc351b
- Show "none" when nothing is found
2005-06-07 16:47:33 +00:00
Dmitry Stogov
84392e5e7f
Fixed memory allocation bugs. Probably this patch should fix bug #31725 .
2005-06-07 15:39:35 +00:00
Derick Rethans
7a3dbcd1c4
- Added the --disable-zend-memory-manager switch to disable the Zend memory
...
manager.
#- I discussed this with Dmitry today - we found it useful.
2005-06-07 13:36:08 +00:00
foobar
bf94716838
- Allow doing --with-mysql --with-mysqli (no mysql libs are bundled atm)
...
- Make sure MYSQL_DIR is empty.
2005-06-07 12:39:02 +00:00
Dmitry Stogov
20d7e52a53
Enabled test for <any>
2005-06-07 05:37:38 +00:00
Wez Furlong
f9de2a3dbd
fix build on Solaris
2005-06-06 22:04:14 +00:00
Wez Furlong
f1569c199e
test commit
2005-06-06 17:47:49 +00:00
Brad House
fccdf78ee8
libmonetra-5.0 sync.
...
added m_validateidentifier, which is enabled by default to keep invalid pointer addresses from causing PHP to crash
kept compatability with older versions of libmonetra.
2005-06-06 16:43:26 +00:00
Ilia Alshanetsky
e3d8886bcd
Better storage size for output length.
...
# Thanks to Stefan for noticing the problem.
2005-06-06 16:30:46 +00:00
Derick Rethans
c6ae4a98be
- Fixed bug #33242 (Mangled error message when stream fails).
2005-06-06 12:39:57 +00:00
Wez Furlong
e9d474dc01
fixes for #33251
2005-06-05 19:25:01 +00:00
Ilia Alshanetsky
a13aaa8aef
Fixed bug #33070 (Improved performance of bzdecompress() by several orders
...
of magnitude).
2005-06-05 18:04:20 +00:00
foobar
83dff0b68b
nuke crap, end scripts always with ?>
2005-06-03 23:13:23 +00:00
Magnus M��tt�
1182dd48e9
Add skipif, test requires iconv.
2005-06-03 22:51:10 +00:00
foobar
fd07bc5e6b
nuke duplicate code
2005-06-03 22:09:22 +00:00
Georg Richter
d486da963e
added new function mysqli_get_charset
2005-06-03 08:49:01 +00:00
George Schlossnagle
d3a665248d
[Move from branch]
...
On architectures that support va_copy (specifically x86_64 linux distros),
if you use va_list args more than once, you can corrupt memory - you
need to use va_copy instead. man va_copy for details.
Also, derefrencing a void * to a long on 64 bit is totally uncool.
2005-06-03 07:34:49 +00:00
Antony Dovgal
56a68b5be1
fix bug #33222 (segfault when CURL handle is closed in a callback).
...
fix segfaults when CURL callback functions throw exception.
2005-06-02 21:04:12 +00:00
foobar
2018d2df32
We only need LEMON for bundled stuff
2005-06-02 20:06:37 +00:00
Antony Dovgal
7e450f528c
fix bug #33214 (odbc_next_result does not signal SQL errors with 2-statement SQL batches).
...
Path by rich at kastle dot com.
2005-06-02 15:40:45 +00:00
Derick Rethans
ad21bb1baa
- That should have been removed, not commented out.
2005-06-02 08:51:20 +00:00
Derick Rethans
90f4590d87
- Fixed memory corruption in stristr().
2005-06-02 08:29:37 +00:00
foobar
f887ae2e80
touch
2005-06-02 05:49:56 +00:00
Ilia Alshanetsky
fd396287d0
Fixed bug #33210 (relax jpeg recursive loop protection).
2005-06-01 22:28:03 +00:00
Antony Dovgal
29319a81b8
fix typo
...
(see details here: http://news.php.net/php.internals/16350 )
2005-06-01 18:27:50 +00:00
Dmitry Stogov
b41a7ad18a
Fixed bug #32941 (Sending structured SOAP fault kills a php)
2005-06-01 14:43:13 +00:00
Dmitry Stogov
9383e1b858
Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
2005-06-01 11:03:58 +00:00
Ilia Alshanetsky
f28249f779
kill unused var.
2005-06-01 03:01:29 +00:00
Dmitry Stogov
dac8f964f2
Fixed usage of uninicialized variable
2005-05-31 14:35:55 +00:00
foobar
156a908997
- Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' modifier misbehave)
2005-05-31 12:54:56 +00:00
foobar
8defc849cc
Touch
2005-05-31 09:41:46 +00:00
foobar
b185ee0315
- Fixed bug with unserialize() with "exotic" letters in class names
...
# Patch by: Christian Schneider <cschneid@cschneid.com>
2005-05-31 09:41:36 +00:00
Ilia Alshanetsky
b28b401c78
Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1).
2005-05-30 23:46:08 +00:00
Marcus Boerger
ae35d25940
- Update
2005-05-30 20:10:38 +00:00
Hartmut Holzgraefe
f41bf6123b
typo fix
2005-05-30 15:57:54 +00:00
foobar
9b57f5ff36
- Fixed bug #33185 (--enable-session=shared does not build)
2005-05-30 15:14:12 +00:00
Hartmut Holzgraefe
43ba3897c2
gracefully handle changes of the parse.y lemon file,
...
process it with lemon if available, else just keep the .c file from CVS
not doing so leads to make using its implicit .y->.c rule here and
bison doesn't really understand lemon syntax
2005-05-30 14:15:40 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
foobar
d12196e575
Fix VPATH build
2005-05-29 23:15:16 +00:00
Ilia Alshanetsky
c24900dfa4
Added an optional remove old session parameter to session_regenerate_id().
2005-05-29 16:51:25 +00:00
Sebastian Bergmann
ce1dfefd26
Sync with config.m4 (missing MATCH_LIMIT broke the Win32 build).
2005-05-28 06:30:46 +00:00
Andrei Zmievski
b7644c85e5
No need to include ucp.c and ucptypetable.c here.
2005-05-27 18:02:02 +00:00
Andrei Zmievski
4e72f8a298
Upgrade library to version 5.0.
2005-05-27 17:46:43 +00:00
Andrei Zmievski
3d2944863c
Do a cache flush if we detect possible cache corruption (same as for
...
PCRE).
2005-05-26 21:48:35 +00:00
Marcus Boerger
9b3929a7e9
- Need to make PDO::__construct() final to prevent SEGV it isn't called 1st
2005-05-26 18:36:18 +00:00
Dmitry Stogov
1a72341328
Added array type hinting. (This patch requires full re-make)
2005-05-26 13:46:17 +00:00
Marcus Boerger
3453cf642a
- Add new tests
2005-05-26 12:22:18 +00:00
Marcus Boerger
457d556f66
- Make SQLiteDatabase derivable by dropping final tag from class and
...
making the ctor final to ensure it is being called, which is the problem.
2005-05-26 11:53:16 +00:00
Ilia Alshanetsky
fddaa54410
Added scheme validation for parse_url().
2005-05-26 03:56:21 +00:00
Stanislav Malyshev
47294288fe
fix is_object() on non-php objects
2005-05-25 10:57:40 +00:00
Ilia Alshanetsky
266f2fbf13
Return error on an invalid input to mime_content_type() function.
2005-05-25 03:05:47 +00:00
Andrei Zmievski
79742f81a2
Flush regexp cache if we detect corruption.
2005-05-24 21:07:32 +00:00
Marcus Boerger
309025e8c1
- Small fix (found by joerg)
2005-05-24 17:59:42 +00:00
foobar
396affc81e
nuked unused header file
2005-05-24 15:24:33 +00:00
Marcus Boerger
2ac0540323
- Add test for deriving PDO
2005-05-24 14:26:22 +00:00
Marcus Boerger
88157ad284
- Add new tests for PDO_FETCH_INTO
2005-05-24 12:39:09 +00:00
foobar
e4c6d7708e
- Moved ingres_ii to PECL
2005-05-24 08:40:59 +00:00
Grant Croker
b841969760
- Allows the Ingres extenstion to be built on Linux/UNIX as well as Windows.
2005-05-23 15:33:00 +00:00
Grant Croker
2f044696a6
- Fixed bug #30593 (--with-ingres option generates broken Makefile).
2005-05-23 12:34:34 +00:00
foobar
26d7b7fbc0
CS fix
2005-05-23 06:46:25 +00:00
Dmitry Stogov
1417cbaf30
Handling responses with Content-Lenght: 0
2005-05-23 06:25:16 +00:00
Antony Dovgal
a186549ec0
fix compile warning
2005-05-22 12:57:26 +00:00
Rasmus Lerdorf
c1ef105535
Fixed bug 33072 - safemode/open_basedir check for runtime save_path change
2005-05-21 17:37:56 +00:00
Marcus Boerger
0eb7282f98
- fetchSingle() was renamed to fetchColumn()
2005-05-21 14:47:33 +00:00
Georg Richter
230681b0b3
enabled set_charset for MySQL Versions >= 5.0.6
...
added testcase for bug #33090
2005-05-21 08:46:46 +00:00
Georg Richter
3e416f738c
fix for bug #33090 (mysql_prepare doesn't return error)
2005-05-21 08:38:53 +00:00
Rob Richards
022461d976
- correct fix for bug #33059
...
- fix issue in other methods
2005-05-20 15:01:38 +00:00
Antony Dovgal
4ce95ef1ea
fix bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
...
add test
2005-05-20 14:23:42 +00:00
Antony Dovgal
8f5ecf6da8
fix bug #32944 (Disabling session.use_cookies doesn't prevent reading session cookies)
2005-05-20 10:27:49 +00:00
Rasmus Lerdorf
e56660a1ad
Correct handling of the UNSAFE_RAW filter
2005-05-19 21:08:04 +00:00
Marcus Boerger
b45fb630d9
- Add ability to reference the object itself
...
- Add ability to exchange the refrenced object
- Add ArrayObject::getFlags/setFlags and 2nd param to __construct to
control operation modes
2005-05-19 15:52:02 +00:00
Marcus Boerger
cccdec3577
- Update tests after correcting internal order of actions
2005-05-19 15:49:44 +00:00
Ilia Alshanetsky
e117b6bad2
Fixed bug #33059 (crash when moving xml attribute set in dtd).
2005-05-19 13:47:21 +00:00
Ilia Alshanetsky
fa0e534f83
Various compiler warning fixes.
2005-05-18 22:40:56 +00:00
Ilia Alshanetsky
53ee348165
Make unix domain sockets work.
2005-05-17 23:23:52 +00:00
Ilia Alshanetsky
57aa3b984b
Removed define checks that break the build.
2005-05-17 20:08:53 +00:00
Ilia Alshanetsky
746b89df16
Fixed type mixup.
2005-05-17 19:33:03 +00:00
Antony Dovgal
5cd3bd2ea7
gdImageGifCtx() is always available in bundled lib
2005-05-17 12:22:51 +00:00
Ilia Alshanetsky
def27b9959
As per PDO meeting on PHP|Tropics fetchSingle is being renamed to
...
fetchColumn and now supports specification of the column to retrieve.
2005-05-17 01:41:51 +00:00
Edin Kadribasic
9af73f68ef
Sync with config.m4
2005-05-16 17:34:44 +00:00
Antony Dovgal
d5bb03b11a
fix bugs #32742 (segmentation fault when the stream with a wrapper is not closed),
...
#32171 (Userspace stream wrapper crashes PHP)
2005-05-16 08:37:14 +00:00
Wez Furlong
e8cd91adee
Allow it build with PHP 5.0.x and up again.
2005-05-14 20:06:54 +00:00
Marcus Boerger
626d781afd
- Execute both RecursiveIteratorIterator::beginChildren() and endChildren()
...
on the same level (while the actual child is available).
2005-05-14 16:40:58 +00:00
Magnus M��tt�
1c7d86ad2a
Added new function: posix_mknod().
2005-05-13 21:38:17 +00:00
Wez Furlong
4f778ca31d
patch by Christopher Kings-Lynne, slightly modified
2005-05-13 18:09:03 +00:00
Georg Richter
d72cd1d130
charsets_dir is no longer needed
2005-05-13 13:56:04 +00:00
Georg Richter
d8f91dc44c
mysql_set_charset now works version undependent for MySQL 4.1.13 and above
2005-05-13 13:30:22 +00:00
Georg Richter
49e1484da8
- fixed compile error under windows. Functionality for changing the
...
character set was moved to libmysql (4.1 bk tree - will be merged into
5.0 within the next days).
- renamed mysql_set_character_set to mysqli_set_charset
2005-05-13 13:11:41 +00:00
Andrey Hristov
0e459321bf
move math_standard_deviation and math_variance to the stats PECL extension
2005-05-13 10:11:19 +00:00
Marcus Boerger
c1e480d46e
- Make ReflectionObject::hasProperty() recognize dynamically added props
2005-05-12 21:25:42 +00:00
Marcus Boerger
a5c37f37b6
- Add ability to fail silently
2005-05-12 21:23:56 +00:00
Antony Dovgal
cee979d5a9
fix #33019 (socket errors cause memory leaks in php_strerror())
...
patch by jwozniak23 at poczta dot onet dot pl
2005-05-12 16:26:26 +00:00
Antony Dovgal
8056035197
fix both win and gcc compile errors
2005-05-11 21:16:29 +00:00
Antony Dovgal
6568dea9ef
fix gcc-2.95 problems (reported by Adam Maccabee Trachtenberg)
2005-05-11 20:04:18 +00:00
Joe Orton
5815b03511
Mark pointers in entity tables as const.
2005-05-11 12:54:29 +00:00
Joe Orton
bd2e99ee50
- Fixed bug #29119 (html_decode_entities handling of U+0152-U+0192 range)
...
(merge error from 4.3)
2005-05-11 12:43:07 +00:00
Andrey Hristov
be3a9ccdf3
add function array_product()
2005-05-11 11:43:11 +00:00
Wez Furlong
867e619154
add test for bug 27508
2005-05-11 02:01:44 +00:00
Antony Dovgal
fcf14f1795
use & and check for the right value of result_type
2005-05-10 23:12:31 +00:00
Antony Dovgal
38a7ef5fe6
fix #32904 (pg_get_notify() ignores result_type parameter)
2005-05-10 20:13:24 +00:00
Andrey Hristov
0c268fa0f7
fix the test too
2005-05-10 15:27:49 +00:00
Dmitry Stogov
e0b3a79e1e
Fixed transparent SoapFault passing
2005-05-10 13:58:11 +00:00
foobar
84bdf9b0a0
MFB: - Fixed bugs #32800 , #32830 (ext/odbc: Problems with 64bit systems)
2005-05-10 13:22:22 +00:00
Andrey Hristov
f12b14078e
rename math_std_dev to math_standard_deviation (the API wasn't published
...
yet)
2005-05-10 12:50:53 +00:00
foobar
924b4c016d
ws
2005-05-10 12:19:33 +00:00
foobar
760b955dd1
MFB: - Fixed bug #32613 (ext/snmp: use of snmp_shutdown() causes snmpapp.conf
...
access errors). (Jani, ric at arizona dot edu)
2005-05-10 12:17:01 +00:00
Dmitry Stogov
bd996f23f2
Fixed SIGSEGV
2005-05-10 10:20:58 +00:00
Dmitry Stogov
61ba13bf72
"<?xml ..." header is not required by SOAP specification
2005-05-10 08:16:14 +00:00
Andrey Hristov
8e97019a69
after throwing an warning bail out
2005-05-09 22:29:54 +00:00
Andrey Hristov
b4464a2d6a
mysqli won't compile with Zend2 API before 2001 - in these days there was
...
no Zend2
2005-05-09 22:29:21 +00:00
Andrey Hristov
d5e0b8a628
MFB
2005-05-09 21:48:03 +00:00
foobar
8d00609794
- We skip tests when the extension is not loaded..in the php.ini
2005-05-09 21:16:49 +00:00
foobar
db1a5ab243
revert pointless patch
2005-05-09 21:16:06 +00:00
Andrey Hristov
02d0f72596
also test shared builds
2005-05-09 16:23:22 +00:00
foobar
4b87d8360e
- getlogin() / getgroups() are not necessarily available everywhere
2005-05-09 12:15:53 +00:00
Rasmus Lerdorf
310dd4a214
Fix request_uri XSS on phpinfo() page
2005-05-08 17:24:38 +00:00
foobar
fef305724b
this check was not needed
2005-05-08 15:58:50 +00:00
foobar
f2dd8f028b
- Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer)
2005-05-08 15:43:22 +00:00
foobar
0060548378
no tabs
2005-05-08 14:02:19 +00:00
Georg Richter
b654b20ef6
Added new function mysqli_set_character_set_name
2005-05-08 08:39:56 +00:00
foobar
b3f5a2dca4
ws + cs + proto fixes
2005-05-07 16:08:03 +00:00
Ilia Alshanetsky
f8fd0898b7
MFB: Fixed memory leak on error in FTP wrapper.
2005-05-07 16:07:59 +00:00
Wez Furlong
660afcaef4
MFB: Fix for #32974
2005-05-07 14:58:12 +00:00
Andrey Hristov
daae299653
revert this one till we have a better way to inform the user where the
...
truncation has occured
2005-05-07 12:46:29 +00:00
Andrey Hristov
8cd3409b30
update protos
2005-05-07 12:41:56 +00:00
Andrey Hristov
91b3b49f14
return MYSQLI_DATA_TRUNCATED if data happens to be truncated
...
#the manual has to be updated
2005-05-07 08:23:39 +00:00
Andrey Hristov
70da059cc0
return directly
2005-05-07 08:03:35 +00:00
Andrey Hristov
b7df40a75a
bail out when detecting incorrect number of parameters to be bound.
2005-05-07 07:44:41 +00:00
foobar
1ee0293680
- Install GD header files
2005-05-07 03:19:42 +00:00
foobar
626253940e
- Added PHP_INSTALL_HEADERS() macro
...
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
foobar
9070204b93
Only test stuff if PDO is enabled
2005-05-06 22:58:42 +00:00
foobar
379394b82c
cleanup
2005-05-06 22:51:05 +00:00
Ilia Alshanetsky
37f46251fb
Check ftp user name for control characters.
2005-05-06 18:42:52 +00:00
Antony Dovgal
0a830b33fc
fix off-by-one in _php_image_output()
...
and prevent such errors in php_do_open_temporary_file()
2005-05-06 16:48:30 +00:00
Andrey Hristov
60c0c8e95c
initialize values because the call to zend_parse_parameters may not do it
2005-05-06 10:09:42 +00:00
Ilia Alshanetsky
3ae10919c4
Added max_redirects context option that specifies how many HTTP redirects
...
to follow.
2005-05-06 02:31:07 +00:00
Ilia Alshanetsky
b874c94d81
Missing bit from previous patch.
2005-05-06 02:20:00 +00:00
Ilia Alshanetsky
a63f5d1c3f
Fixed bug #32936 (http redirects URLs are not checked for control chars).
2005-05-06 02:13:46 +00:00
foobar
31a8c58911
fix proto
2005-05-05 23:42:03 +00:00
Georg Richter
929e3851f2
fixed memleak in mysqli_close
...
fixed bug #32956 (mysqli_bind_result doesn't support MYSQL_TYPE_NULL)
2005-05-05 13:02:32 +00:00
Marcus Boerger
99c72d0b94
- Update docu
2005-05-04 19:14:08 +00:00
Anantha Kesari H Y
abf7b57160
NetWare LibC dlsym works perfectly only thing that each of the extension need to export a symbol with FULL capital prefix.
2005-05-04 13:26:28 +00:00
Rob Richards
6d2fd215e9
Fix bug #32930 (class extending DOMDocument doesn't clone properly)
2005-05-03 22:55:03 +00:00
Ilia Alshanetsky
bdbce01588
Prevent double free.
2005-05-03 22:50:00 +00:00
Marcus Boerger
d6d9b15ef7
- Add another note
2005-05-03 22:28:44 +00:00
Marcus Boerger
177ea26dc1
- Make line counting work with FileObject::fgetc()
...
- Add a test for FileObject::fgetc()
- Update docs
2005-05-03 22:18:19 +00:00
Marcus Boerger
287864a611
- Change FileObject's line counting to be zero based
...
- Make FileObject implement SeekableIterator
- Add tests
2005-05-03 21:11:26 +00:00
Marcus Boerger
51d100a27a
- Fix speling
...
- Add links
2005-05-03 12:09:26 +00:00
Rob Richards
1a0579affa
- now stable thanks to Pierre
...
- prep for release
2005-05-02 19:50:58 +00:00
Rob Richards
fa65031982
- remove Experimental
...
- add Pierre to Credits
- update TODO
2005-05-02 19:39:53 +00:00
Andrey Hristov
7a0b3edbe0
fixed div by zero
...
#div by zero is bad...div by zero is bad...bad
2005-05-02 12:32:21 +00:00
Andrey Hristov
2c0959689b
add possibility to calculate the standard deviation and the variance
...
on a sample - the formulae are slightly different.
2005-05-02 12:29:38 +00:00
Andrey Hristov
7a4eb25870
add also math_variance() which uses the same calculation as math_std_dev()
2005-05-02 12:12:04 +00:00
Andrey Hristov
6141c5690d
fix division by zero. throw an warning if the array is empty.
2005-05-02 11:01:14 +00:00
Andrey Hristov
fb0c19da1c
add math_std_dev()
2005-05-02 09:17:49 +00:00
Ilia Alshanetsky
8209835e5a
Fixed bug #32608 (html_entity_decode() converts single quotes even if
...
ENT_NOQUOTES is given).
2005-05-01 19:48:55 +00:00
Pierre Joye
90ee88e090
- MFB: #32891 , init old y positions to non possible values. -1 being used
...
if the center start a (x,0)
2005-05-01 06:01:56 +00:00
Rob Richards
eaf09df585
prep for release
2005-04-30 10:36:02 +00:00
Andrey Hristov
e640960186
multi_query is no more global
...
#thanks Sebastian!
2005-04-29 10:23:55 +00:00
Dmitry Stogov
72b5173ac3
Fixed WSDL cache bug
2005-04-29 05:38:54 +00:00
foobar
5ae4d8e701
typofix
2005-04-29 01:55:52 +00:00
Ilia Alshanetsky
8abc1d3b9c
e* allocation cannot fail.
2005-04-28 23:49:04 +00:00
Antony Dovgal
5ca4b8383e
handle unsupported datatype (OCIBindByName segfaults somewhere in OCI lib when
...
unknown type is provided)
2005-04-28 14:10:42 +00:00
Rob Richards
1ed5c14fe2
- Fix bug #32245 (xml_parser_free() in function assigned to the xml parser
...
gives a segfault)
2005-04-28 12:16:32 +00:00
Ilia Alshanetsky
3be50385ab
Allocation checks around persistent allocs that can fail.
2005-04-28 00:25:25 +00:00
foobar
56b3cac365
Better use zval_ptr_dtor() instead (thanks Andi)
2005-04-27 23:27:37 +00:00
Andrey Hristov
3b3ce2b610
fix bug #32013(MySQLi bind_result causes fatal error: memory limit reached)
...
#this is a partial fix but it cannot be better. the user has to call
#$stmt->store_result() and for a BLOB/MEDIUTEXT (and larger) space will be
#allocated as big as the biggest column value.
2005-04-27 17:53:15 +00:00
Dmitry Stogov
c81db6bc56
Fixed bug #29210 (Function: is_callable - no support for private and protected classes)
2005-04-27 15:45:36 +00:00
foobar
39bcbfc306
- Made the libxml related stuff to error out if someone does --disable-all
...
or --disable-libxml. Better than silently just leave the ext out..
2005-04-27 13:12:55 +00:00
Andrey Hristov
f6b12b351e
MFB (fixing bug 31668)
2005-04-27 12:12:58 +00:00
foobar
71adb81e96
nuking that file was not very good idea :)
2005-04-27 08:10:41 +00:00
Ilia Alshanetsky
d30a9ee96d
removed debug code.
2005-04-27 03:12:18 +00:00
Ilia Alshanetsky
8281f41f3e
Fixed bug #32813 (parse_url() does not handle scheme-only urls properly).
2005-04-25 23:47:37 +00:00
John Coggeshall
335742c2ef
Adding new function tidy_get_opt_doc() to return option documentation at runtime. Thanks to nlopess for the patch
2005-04-25 20:46:16 +00:00
foobar
d0f85d3e27
- Added test: For some reason this fails with ZTS mode and "outside-src-tree-build"
2005-04-25 14:04:00 +00:00
Stanislav Malyshev
b86bab9735
@- Fix #32773 and make right fix for GMP FPEs (Stas)
...
Fix #32773 and make right fix for GMP FPEs
2005-04-25 12:18:50 +00:00
Pierre Joye
f150ee9ab5
- do not use md5, png signature can change between libpng version
...
some floating points issue can end to different colors (+/- 1/255)
tests should work again now.
2005-04-25 11:36:24 +00:00
Edin Kadribasic
cbe6261882
Added T1LIB support on Windows ( #32809 )
2005-04-25 09:08:48 +00:00
Dmitry Stogov
c78ec1615a
Fixed call to estrndup() with invalid length
2005-04-25 06:13:57 +00:00
Sebastian Bergmann
11a91f04b2
Correct grammar.
2005-04-25 05:13:36 +00:00
foobar
0eb271add6
- Fix memleak
2005-04-23 21:15:24 +00:00
Marcus Boerger
3080d49ed4
- Add new tests
2005-04-23 15:21:07 +00:00
Joe Orton
7c5f5697ce
Fixed bug #32797 (invalid C code in xmlrpc extension).
2005-04-22 11:06:53 +00:00
Antony Dovgal
755b027e8c
fix C++ comments
2005-04-22 08:59:21 +00:00
Masaki Fujimoto
ca7a649300
- Fix mbfl_encoding_detector_feed() and mbfl_mbfl_identify_encoding() behaviour
2005-04-22 05:03:10 +00:00
Wez Furlong
7dd430ff28
fix bug #32795
2005-04-22 02:40:48 +00:00
foobar
f2d086127c
- Fix birdstep support (no SQLDataSources() support in it)
2005-04-21 23:01:53 +00:00
Ilia Alshanetsky
8b8940ba84
php_error() -> php_error_docref().
2005-04-21 21:11:23 +00:00
foobar
4c3fdcaa4e
- Fixed bug #32647 (Using register_shutdown_function() with invalid callback can crash PHP)
2005-04-21 14:44:29 +00:00
foobar
e6a70fd0d3
Added test for bug #32647
2005-04-21 14:17:52 +00:00
foobar
714080f10f
bug => Bug
2005-04-21 14:04:12 +00:00
foobar
e0c4f9b9be
- Possible fix for bug #32778
2005-04-21 11:19:29 +00:00
Dmitry Stogov
bd06b244a7
Fixed wrong SoapFault codes. The codes MUST be namespace qualified.
2005-04-21 11:16:48 +00:00
Ilia Alshanetsky
4eccd5df70
Fixed ZTS build of fdf extension.
2005-04-20 22:51:45 +00:00
Georg Richter
2bcae57b31
another fix for last commit (committed from wrong tree) :(
2005-04-20 13:24:08 +00:00
Georg Richter
9c1960c398
fixed typo in last commit :(
2005-04-20 13:03:01 +00:00
Georg Richter
649a8b18ef
added support for data truncation (bind_result) for MySQL 5.0.5
2005-04-20 12:50:13 +00:00
Dmitry Stogov
9d2de24ab5
Fixed bug #32776 (SOAP doesn't support one-way operations)
2005-04-20 10:59:02 +00:00
Dmitry Stogov
d8b50c8175
space -> tab
2005-04-20 08:44:05 +00:00
Dmitry Stogov
7288226dba
Support for element's form and schema's elementFormDefault attributes (qualified/unqualified)
2005-04-20 08:30:43 +00:00
Dmitry Stogov
c4a7ee45ad
Some tests were fixed
2005-04-20 06:36:10 +00:00
Marcus Boerger
67a226d910
- Add ReflectionProperty::getDocComment()
2005-04-19 22:04:59 +00:00
foobar
b8ac8eeca6
- Never use Z_TYPE* macros on non-zvals.
2005-04-19 22:04:28 +00:00
Ilia Alshanetsky
acbeba2a50
Removed unused var.
2005-04-19 20:55:02 +00:00
Ilia Alshanetsky
569138e0c0
removed unused var.
2005-04-19 20:53:54 +00:00
Andrey Hristov
2652762dcd
MFB
2005-04-19 15:45:07 +00:00
Andrey Hristov
eef94ff4bb
add a test case for Bug #32405 (the previous commit incorporated a fix
...
for it).
2005-04-19 13:29:37 +00:00
Andrey Hristov
2a3c71b833
- nail down another 64bit problem. this will fix about 14 failing tests
...
on amd64 (probably other 64 bit arch).
- use ulong for this boolean variable, as it was before
- throw an warning if offset passed to mysqli_stmt_data_seek is negative
2005-04-19 13:28:41 +00:00
Andrey Hristov
155b90db20
- fixing all "long" into "int" fetching problems (cause memory corruption
...
on 64 bit)
- nail down a problem because of the new MYSQL_TYPE_NEWDECIMAL introduced
in MySQL 5.0+
- Add more info to the autocommit test
2005-04-19 12:59:16 +00:00
foobar
0e57528666
No c++ comments in C code
2005-04-19 11:41:04 +00:00
foobar
cb0c9ac022
- This is not C++ code
2005-04-19 11:28:02 +00:00
Wez Furlong
7013788711
merge from branch: fixes for #32758 and #32759
2005-04-19 06:14:56 +00:00
Ilia Alshanetsky
e211d4e3ae
Fixed bug #32753 (Undefined constant SQLITE_NOTADB).
2005-04-19 02:58:19 +00:00
Rob Richards
334d756ffa
Fix bug #32755 Segfault in replaceChild() when DocumentFragment has no children
...
update test
2005-04-18 23:07:50 +00:00
Andrey Hristov
4033ad1dd2
don't null it - let the engine do its magic ;)
2005-04-18 21:01:05 +00:00
Wez Furlong
195f69f0c7
merge bug fixes from branch
2005-04-18 16:38:31 +00:00
Dmitry Stogov
ba22efa25c
Missing files were added
2005-04-18 07:54:46 +00:00
Georg Richter
21cae3966c
cursor support for 5.0.4 (STMT_ATTR_CURSOR_TYPE changed to enum)
2005-04-18 06:03:29 +00:00
Ilia Alshanetsky
0810696e50
removed unused vars.
2005-04-18 03:04:15 +00:00
Ilia Alshanetsky
c17b18689c
Checks not needed, done by ext/libxml already.
2005-04-18 02:43:42 +00:00
Marcus Boerger
43a5cee728
- Add more tests
2005-04-17 20:33:20 +00:00
Ilia Alshanetsky
6de75a77c6
Added missing safe_mode & open_basedir checks.
2005-04-17 18:05:03 +00:00
foobar
87c931695f
- Fixed bug #30819 (Better support for LDAP SASL bind)
2005-04-17 16:25:59 +00:00
Derick Rethans
bb8988109d
- Fixed bug #32735 (Compile error in GD extension).
2005-04-17 10:17:03 +00:00
Pierre Joye
3963ba649d
- export imageconvolution to userland, making people happy to do not
...
use the predefined ones :)
2005-04-16 12:12:24 +00:00
Rasmus Lerdorf
4162bd8b21
I think this is a cleaner emboss filter. Less fringing.
2005-04-16 09:20:59 +00:00
Rasmus Lerdorf
d0f4028194
The emboss and edge detection matrices are swapped
2005-04-16 00:04:52 +00:00
Rasmus Lerdorf
802c8e83c9
Don't do PDO here if PDO is disabled
2005-04-16 00:04:27 +00:00
foobar
b154e82d24
- Fixed bug #32719 (strval() fails to zero terminate strings)
2005-04-15 22:46:37 +00:00
foobar
e5697cc0ad
Add some more cases
2005-04-15 22:25:03 +00:00
foobar
5efe7cf99a
Added test for strval() function
2005-04-15 22:19:53 +00:00
foobar
82819f3061
- Use correct type (bug #32720 )
2005-04-15 22:06:03 +00:00
Marcus Boerger
5b21e48557
- Fix even though we already know that the function will be renamed
2005-04-15 18:53:42 +00:00
Uwe Schindler
91b587f884
Remove include_path support from md5_file/sha1_file again
2005-04-15 17:13:54 +00:00
Uwe Schindler
9cde55f8ed
use streams api for md5_file and sha1_file. Added parameter use_include_path similar to other PHP file functions. Documentation update outstanding
2005-04-15 14:29:32 +00:00
Uwe Schindler
c4e788b03c
fix various solaris problems by replacing stdio with posix io where possible
2005-04-15 09:14:38 +00:00
foobar
519f381fca
- Regenerated with re2c 0.9.6 (fixes severe bugs)
2005-04-14 22:38:29 +00:00
foobar
172f3af8ed
- Add support for latest Birdstep
2005-04-14 21:17:20 +00:00
Marcus Boerger
4f3b12b3fd
- Rename class File to FileObject
...
# by popular demand
2005-04-14 21:02:09 +00:00
Andrey Hristov
e23f62fc4f
- don't use short tag
...
- detect CLI binary and don't print < ;br < in this case
2005-04-14 16:05:05 +00:00
Ilia Alshanetsky
378776dc33
missing header (re2c 0.9.4 built .c file)
2005-04-14 14:01:11 +00:00
Ilia Alshanetsky
e546162f2c
Added missing header.
2005-04-14 14:00:39 +00:00
Ilia Alshanetsky
e87127af69
MFB43: Fixed bug #31583 (php_std_date() uses short day names in
...
non-y2k_compliance mode).
Fixed bug #31689 (PHPAPI missing for php_std_date() and php_parse_date()).
2005-04-14 13:34:05 +00:00
Ilia Alshanetsky
fc51ec9e12
Removed unused vars.
2005-04-13 23:05:23 +00:00
Antony Dovgal
2c511712f7
disable pg_cmdtuples() too, if there is no pg_affected_rows()
2005-04-13 22:11:35 +00:00
Derick Rethans
cba30657d9
- MFH43: Fixed bug #32699 (pg_affected_rows() was defined when it was not
...
available).
2005-04-13 21:48:33 +00:00
Antony Dovgal
36d13eb7c9
add testcase for bug #30833
2005-04-13 08:23:39 +00:00
Frank M. Kromann
7bf2fe5296
Fix for #32682 . Error on module shutdown when called from activescript
2005-04-12 17:45:30 +00:00
Ilia Alshanetsky
d5847b9cf7
Fixed compiler warning.
2005-04-12 16:41:42 +00:00
Antony Dovgal
a13b29add7
fix #30833 (array_count_values modifying input array)
2005-04-12 14:00:54 +00:00
Ilia Alshanetsky
ce73b66466
Fixed compiler warning.
2005-04-12 01:00:48 +00:00
Frank M. Kromann
81837f718b
Don't truncate the .options file when a database is started without the optional options parameter.
2005-04-11 19:22:01 +00:00
Harrie Hazewinkel
e9224d0bd1
Converting the usage of the integer based internal commands into
...
MACROS to ease future extensions.
2005-04-11 14:59:42 +00:00
Harrie Hazewinkel
452b4cdba1
Adding support for a getbulk oriented walk.
...
The getbulk can only be used for SNMPv2c and SNMPv3.
2005-04-11 14:56:44 +00:00
Dmitry Stogov
37887f1bd0
Fixed SIGSEGV on serializing data with circular references
2005-04-11 11:58:19 +00:00
Dmitry Stogov
37eee73274
Support for encoding/decoding of private and protected members
2005-04-11 09:27:47 +00:00
Andrey Hristov
d9f5f1ee08
fix memory corruption on 64bit in imagefttext(),
...
domdocument::load() and domdocument::loadxml()
2005-04-10 21:37:17 +00:00
Andrey Hristov
628b8cae7d
fix proto. return true instead of null
2005-04-10 21:23:27 +00:00
Andrey Hristov
ce36c5f3b1
simplify code (no need of local variable - return directly)
2005-04-10 20:57:31 +00:00
foobar
8509f06056
- This was supposed to be escaped with \
2005-04-10 19:23:59 +00:00
foobar
338bdf1587
Add more detailed failure msg. (bug #32649 )
2005-04-10 19:18:37 +00:00
foobar
28ffae8ad0
- Make VC6 happy
2005-04-10 19:07:38 +00:00
Ilia Alshanetsky
6f539ae99e
Added time_sleep_until() function, which is a high precision mechanism of
...
making a script sleep until specified timestamp.
2005-04-10 16:25:11 +00:00
Rob Richards
5313e98b72
- Fixed bug #32615 (Segfault in replaceChild() using fragment when
...
previousSibling is NULL)
- add test
2005-04-08 15:58:24 +00:00
Ilia Alshanetsky
2fae7f1e71
Missing part of the patch for bug #32589
2005-04-08 15:04:34 +00:00
Marcus Boerger
53e5eb8032
- Add new test
2005-04-08 13:34:30 +00:00
Rob Richards
9c3919c3a3
fix test
2005-04-08 12:18:57 +00:00
Ilia Alshanetsky
5355bdc788
Fixed bug #32533 (proc_get_status() returns the incorrect process status).
2005-04-07 23:07:45 +00:00
foobar
d57f08147d
- Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX)
2005-04-07 22:23:15 +00:00
Dmitry Stogov
d976e3d165
Fixed indentation
2005-04-07 16:17:08 +00:00
Dmitry Stogov
b14271dbfa
Fixed wrong result of cal_days_in_month() with bad dates
2005-04-07 16:12:27 +00:00
foobar
1b3b55a858
Regenerated with re2c 0.9.4
2005-04-06 19:42:36 +00:00
Marcus Boerger
733aa2e949
- Make class_parentS() and class_implements() accepts class names as well
2005-04-06 15:16:45 +00:00
Ilia Alshanetsky
1d60050312
Removed php_check_syntax() function, it never worked properly. For now
...
use shell_exec("php -l script_name") or similar.
2005-04-06 14:19:14 +00:00
Ilia Alshanetsky
a7ae41bf89
Fixed bug #31363 (broken non-blocking flock()).
...
# Patch by ian at snork dot net
2005-04-06 13:57:30 +00:00
Christian Stocker
997690b132
- Added optional first parameter to XsltProcessor::registerPHPFunctions to only
...
allow certain functions to be called from XSLT.
2005-04-06 12:26:29 +00:00
Georg Richter
f6ecb58448
fix for bug #32282 (segfault in mysqli_fetch_array on 64-bit)
2005-04-06 06:47:12 +00:00
Antony Dovgal
33677ddb95
remove proto, it's internal func
2005-04-05 20:31:10 +00:00
Ilia Alshanetsky
6f13b138a7
Added another search patch for magic file (fixes bug #3232 ).
2005-04-05 15:12:52 +00:00
Ilia Alshanetsky
cb8d20760c
Fixed bug #32589 (Possible crash inside imap_mail_compose, with charsets).
2005-04-05 14:47:47 +00:00
Marcus Boerger
7e7775a328
- Register class File
...
- Remove superflous ;
- Stop spl_autoloading on pending exception
2005-04-05 09:24:53 +00:00
Marcus Boerger
2f8d672bfc
- Use correct var name
2005-04-05 09:23:50 +00:00
Marcus Boerger
58d45bfe2e
- Add new test
2005-04-05 09:23:14 +00:00
foobar
760439567a
Update credits
2005-04-04 18:50:54 +00:00
foobar
2887f89075
remove empty lines
2005-04-04 18:14:27 +00:00
foobar
28b13f50e6
Added testcase for bug #30362
2005-04-04 18:06:16 +00:00
Antony Dovgal
f2a3b12445
fix #32560 (configure looks for incorrect library - libdb2.so instead of libdb2.a,
...
which is used actually)
2005-04-04 10:50:32 +00:00
Ilia Alshanetsky
ca10457a58
Fixed bug #32530 (chunk_split() does not append endstr if chunklen is
...
longer then the original string).
2005-04-03 18:08:40 +00:00
George Schlossnagle
1d25fc5c7b
actually commit the SOAP interop tests this time.
2005-04-03 15:51:22 +00:00
George Schlossnagle
55c25c7275
Fix qualified names for attributes according to attributeFormDefault.
...
Add SOAP Interop tests from Dmitry.
2005-04-03 15:39:56 +00:00
Antony Dovgal
1c4eb9b684
fix typo
2005-04-03 13:06:08 +00:00
Antony Dovgal
b2858fb449
fix output_reset_rewrite_vars() returning false everytime
2005-04-03 12:19:23 +00:00
foobar
c67da24e31
Fix another title
2005-04-03 11:17:54 +00:00
foobar
0ee465d2a0
fix description
2005-04-03 11:15:39 +00:00
foobar
fc883fd477
Partial fix test: It is still possible to use expat libs with ext/xml..
2005-04-03 00:12:26 +00:00
foobar
b543778fed
fix tests
2005-04-02 22:57:42 +00:00
Joe Orton
d17ccbdeee
Use PHP_LIBDIR.
2005-04-01 11:12:45 +00:00
Marcus Boerger
7adb2b0c0b
- Add RecursiveDirectoryIterator::getSubPathname()
2005-03-31 23:02:20 +00:00
Marcus Boerger
d383735978
- Add RecursiveDirectoryIterator::getSubPath()
2005-03-31 21:51:46 +00:00
Marcus Boerger
530917b463
- Make iterator_to_array() accept Traversable
2005-03-31 21:49:47 +00:00
foobar
a119050ebb
These tests require register_long_arrays=1
2005-03-31 19:47:19 +00:00
Marcus Boerger
3eb4162122
- Bugfix #32521 (apache2handler accidental crashes caused by SPL)
2005-03-31 17:17:38 +00:00
Joe Orton
6974b5ecce
Mark more private functions as static.
2005-03-30 13:43:36 +00:00
Joe Orton
5aa95520cd
Mark private functions as static.
2005-03-30 12:56:58 +00:00
Antony Dovgal
e499a1c296
fix segfault & buffer overrun when there is no PDO drivers plugged in
...
(patch by su1d@phpclub.net )
2005-03-29 17:23:36 +00:00
Sara Golemon
29ede46872
BugFix #31137 stream_filter_remove() segfaults when stream already closed
2005-03-29 04:02:03 +00:00
Dmitry Stogov
caeeebebc1
Fixed handling of attributes' namespaces
2005-03-28 18:06:29 +00:00
Dmitry Stogov
a3f2a3aab5
Fixed handling of attributes' namespaces
2005-03-28 16:28:04 +00:00
Dmitry Stogov
8dff99116d
Fixed wrong SOAP headers encoding/decoding.
2005-03-28 15:21:50 +00:00
Pierre Joye
d8824f2d5c
- remove "debug" code
2005-03-28 08:17:17 +00:00
Pierre Joye
6d46acfc70
- MFB, imagerectangle draws 2x each corners (alpha channel uglyness)
2005-03-28 08:14:30 +00:00
Edin Kadribasic
e923407cc5
Reshufle includes to make it compile on windows
2005-03-28 00:07:24 +00:00
Pierre Joye
c8ce18c155
- allow to keep or ignore the transparent color in imagerotate (thx
...
Ken Coar to report this "bug")
- be sure to restore alphablending in imagefill
- use zend_parse_parameter in imagerotate
2005-03-27 23:43:52 +00:00
Ilia Alshanetsky
f95651e338
revert copy patch.
2005-03-27 15:52:49 +00:00
foobar
a8b29a2e8f
- Made it possible to build ext/xmlrpc with libxml2
2005-03-26 03:13:58 +00:00
foobar
d203f88665
- Fix windows build (using config.w32 and keeping sync with config.m4)
2005-03-26 02:19:56 +00:00
Christopher Kings-Lynne
030ebaaa45
(PHP pg_unescape_bytea) Use libpq version of PQunescapeBytea if it exists.
...
# The version in libpq is newer and faster than the one in PHP, but it is
# necessary for me to add a string copy for freeing purposes. This copy
# is only needed in Windows AFAIK, how can I detect that?
2005-03-25 06:26:31 +00:00
Ilia Alshanetsky
e8bd3b9b4f
Slightly safer code.
2005-03-25 00:30:43 +00:00
Marcus Boerger
d27be11233
- Fix null handling found by thies
2005-03-24 12:32:06 +00:00
Marcus Boerger
2906d6570c
- Add new test
2005-03-24 12:31:37 +00:00
Antony Dovgal
76e07faf87
fix leak when register_long_arrays is off
2005-03-24 00:17:16 +00:00
Moriyoshi Koizumi
2cba0ab304
- Fix bug #32311 (mb_encode_mimeheader() does not properly escape characters.)
2005-03-23 23:22:16 +00:00
Moriyoshi Koizumi
3b39b2237f
- Add test case for iconv_mime_encode().
2005-03-23 23:07:42 +00:00
Moriyoshi Koizumi
8f14211e13
- Add sanity check in iconv_mime_encode(). Leaving the third parameter
...
unspecified would yield bus error.
2005-03-23 23:06:38 +00:00
Dmitry Stogov
2283e471f8
windows compatibility fix
2005-03-23 15:12:54 +00:00
Christopher Kings-Lynne
3e6fce84bb
- Use a replacement for PQunescapeBytea so that linking against a pre-7.3
...
libpq is possible. This is exactly what ext/pgsql currently does.
# I hope this is an acceptable improvement.
2005-03-23 08:52:40 +00:00
Dmitry Stogov
e31bc5a643
Allow define connection timeout throught "connection_timeout" option in SoapClient constructor.
2005-03-23 08:08:54 +00:00
Dmitry Stogov
4ecbf1792b
Fixed bug #31695 (Cannot redefine endpoint when using WSDL)
2005-03-23 07:11:55 +00:00
Christopher Kings-Lynne
63ed4a1996
- Ensure that ext/pgsql tests work when linked against 7.2 or lower libpq
2005-03-23 03:24:41 +00:00
Moriyoshi Koizumi
542901d705
- Add Armenian encoding / NLS (patch by Hayk Chamyan)
2005-03-22 22:22:11 +00:00
foobar
a075b651be
Added SKIPIF
2005-03-22 16:03:10 +00:00
foobar
77910ec63f
Addded test for locale aware sort
2005-03-22 15:38:25 +00:00
Ilia Alshanetsky
7af2c5e44b
Fixed compiler warning.
2005-03-22 14:44:23 +00:00
Marcus Boerger
dce82da87d
- Add function pdo_drivers()
2005-03-22 10:36:25 +00:00
Marcus Boerger
73a6a31053
- the driver's key name is not zero terminated, hence we need to either
...
estrNcpy() it or use the driver struct.
- table headers do not support single column mode so change to two cols
- there should be only one table header
2005-03-22 10:26:51 +00:00
Dmitry Stogov
fedbd2145a
Fixed bug #30106 (SOAP cannot not parse 'ref' element. Causes Uncaught SoapFault exception)
2005-03-22 10:19:08 +00:00
Christopher Kings-Lynne
e2b87e6230
Tweak some #if's to be more orthogonal.
...
(PHP pg_set_error_verbosity) New function to set PostgreSQL error verbosity
(PHP pg_copy_from) Use non-deprecated API if it is available
(PHP pg_copy_to) Use non-deprecated API if it is available
2005-03-22 08:51:23 +00:00
Ilia Alshanetsky
b30d8beebf
Simplify argument checking code for array_combine().
2005-03-22 01:45:17 +00:00
Marcus Boerger
041524feee
- Fix Bug #32394 offsetUnset() segfaults in a foreach
2005-03-21 20:07:33 +00:00
Dmitry Stogov
756c5784c1
Support for <soap:body> "parts" attribute
2005-03-21 15:52:53 +00:00
John Coggeshall
c590531c07
Added three new properties to the node: line, column and if it is propreitary or not
2005-03-21 03:54:29 +00:00
Wez Furlong
6895ef99c0
fix my silly typo
2005-03-21 01:24:36 +00:00
Marcus Boerger
06a96fdfe5
- Fix test (warnings are expected since there is no support for this)
2005-03-21 00:32:48 +00:00
Marcus Boerger
a66e14645c
- Add new tests
2005-03-21 00:29:25 +00:00
Marcus Boerger
c9108bba25
- Simplify code (only implement handlers that are necessary)
...
- Fix handling of read only property 'queryString'
- Fix overloading
- Move class init code to their defining .c files for simplification
- Mark class PDORow as final until there's a need to inherit this and
someone implements the handlers correct then.
2005-03-21 00:29:06 +00:00
Marcus Boerger
9c3164e487
- Update
2005-03-20 19:45:36 +00:00
Dmitry Stogov
713622d363
Fixed SoapFault::details passing
2005-03-20 09:55:47 +00:00
foobar
4d46234912
- Fixed a warning (might also be an error with some exotic compiler)
2005-03-20 02:57:10 +00:00
Christopher Kings-Lynne
721d34bebc
Two of the diagnostic definitions were added in 8.0. Add appropriate #ifdefs.
2005-03-20 02:46:02 +00:00
Marcus Boerger
6735e8c2a7
- Update test
2005-03-19 15:15:32 +00:00
Marcus Boerger
fec4937052
- Add new test
2005-03-19 15:09:11 +00:00
Marcus Boerger
e38141478a
- Check another incarnation of bug #30266
2005-03-19 14:24:17 +00:00
Antony Dovgal
f27fb2d715
fix #32373 (segfault in bzopen('/wrong/path'))
2005-03-19 13:56:00 +00:00
Marcus Boerger
d23781e08d
- Add missing skipif part
2005-03-19 10:58:44 +00:00
Frank M. Kromann
17264461f9
fix build when the pecl module is part of the php source tree
2005-03-19 10:55:47 +00:00
Marcus Boerger
360fbc09b7
- Interface name was changed
2005-03-19 10:55:35 +00:00
Marcus Boerger
7b2bee1d5b
- Fix warnings by doing it the Zend way
2005-03-19 10:51:42 +00:00
Christopher Kings-Lynne
3dd44c3018
Another oversight - make sure constants related to pg_result_error_field are #if'd as well as the function itself
2005-03-19 09:21:51 +00:00
Christopher Kings-Lynne
e4570cdbd2
Add regression tests for pg_transaction_status and pg_result_error_field
2005-03-19 09:20:52 +00:00
Christopher Kings-Lynne
28ec3abf87
Minor oversight in #if for an internal function
2005-03-19 09:07:20 +00:00
Rui Hirokawa
c30f4ab6ec
oniguruma updated to 3.7.1 and changed UChar to OnigUChar.
2005-03-19 08:52:23 +00:00
Christopher Kings-Lynne
1168c30635
Added several new functions to support the PostgreSQL v3 protocol
...
introduced in PostgreSQL 7.4.
(PHP pg_transaction_status) New function to get in-transaction status of
a database connection.
(PHP pg_query_params) New function to allow execution of parameterized
queries.
(PHP pg_prepare) New function to allow preparing named queries.
(PHP pg_execute) New function to allow execution of named prepared
queries.
(PHP pg_send_query_params) New function that is the async equivalent of
pg_query_params.
(PHP pg_send_prepare) New function that is the async equivalent of
pg_prepare.
(PHP pg_send_execute) New function that is the async equivalent of
pg_execute.
(PHP pg_result_error_field) New function that allows highly detailed
error information, most importantly the
SQLSTATE error code
# Regression tests are included for all but 2 functions, the rest will
# follow shortly. Docs will also follow shortly.
2005-03-19 08:46:56 +00:00
foobar
fd03f4f056
Added config.w32 (modified version, original by: Grant.Croker at ca dot com)
2005-03-18 23:24:15 +00:00
George Schlossnagle
d2731eb575
doc should not be freed here, as it is used later in the code path.
2005-03-18 15:40:04 +00:00
Antony Dovgal
646bb71503
fix typo in error message
2005-03-17 18:12:06 +00:00
Ilia Alshanetsky
1f06bb94c6
MFB: Fixed build of exif extension on win32.
2005-03-17 17:20:52 +00:00
Ilia Alshanetsky
fed3058fba
Fixed compiler warning on win32.
2005-03-17 17:16:43 +00:00
Rob Richards
04d44c8a5c
export php_dl to fix windows cli build
2005-03-17 12:37:18 +00:00
foobar
2d521a73c8
Revert bad fix
2005-03-17 08:15:23 +00:00
Rasmus Lerdorf
eb253ab571
Build fixes
2005-03-17 01:14:10 +00:00
Rasmus Lerdorf
effa111c5e
Fix Jani breakage
2005-03-16 22:00:07 +00:00
Ilia Alshanetsky
d247e074a7
Fixed bug #32326 (Check values of Connection/Transfer-Encoding
...
case-incentively).
2005-03-16 20:30:17 +00:00
Harrie Hazewinkel
e6ae6fc62d
Adding SNMPv2 community based (i.e. protocol version) functions.
2005-03-16 14:29:40 +00:00
Wez Furlong
5ab7264189
remove debuging code
2005-03-15 15:58:04 +00:00
Wez Furlong
6090964157
I'm a PECL citizen; even though I am HEAD of pecl/sqlite, don't assume that I
...
am being built against HEAD of php-src.
2005-03-15 15:57:49 +00:00
Ilia Alshanetsky
8c38ac19bf
Fixed possible usage of str without being initialized.
2005-03-15 00:27:52 +00:00
foobar
005b2d77bf
- Fixed bug #18613 (Multiple OUs in x509 certificate not handled properly)
2005-03-14 21:00:03 +00:00
foobar
5a4c0afe31
- Back to stone-age
2005-03-14 09:47:31 +00:00
foobar
5718cb15a3
- Fixed bug #30609 (cURL functions bypass open_basedir)
2005-03-14 09:02:23 +00:00
Moriyoshi Koizumi
6437bc056d
- Turn off incorrect case folding to let test over.
2005-03-14 01:11:54 +00:00
foobar
bde0661ef6
- Move stuff that belongs in Makefile into Makefile.frag
2005-03-14 01:09:49 +00:00
Marcus Boerger
7c4cd04229
- Update tests
2005-03-13 22:35:34 +00:00
Ilia Alshanetsky
5bd7be94a4
Fixed compiler warning.
2005-03-13 17:03:55 +00:00
Marcus Boerger
dd54f36d49
- Fix signature definition
2005-03-13 16:35:01 +00:00
Marcus Boerger
5880260c78
- Update docu
2005-03-12 23:21:41 +00:00
Marcus Boerger
6f668d4978
- Fix extension to be .inc
2005-03-12 23:05:03 +00:00
Marcus Boerger
f9de3fd02b
- Allow to hook into RecursiveIteratorIterator's child handling
...
- Better=faster function caching for RecursiveIteratorIterator
- Check for exceptions and fix check for illegal return values
- Add UnexpectedValueException
- Add docu
2005-03-12 23:03:33 +00:00
Ilia Alshanetsky
f56e5c045c
A more performance friendly version of Andrey's patch.
2005-03-12 17:51:19 +00:00
Andrey Hristov
f15c24d44c
added an optional third parameter to str_word_count(), which is used as
...
a list of characters which are considerd "is_alpha()". Thus V14GR4 can
be extracted as one word if the user supplies "14" as charlist.
FR #31560
# Nuno, are you wishing to document this one too? :)
2005-03-12 14:41:20 +00:00
Andrey Hristov
1236cfa38a
- type is either 1 or 2 if second parameter is set. if not set then type
...
is 0.
- use the lvalue for the second rvalue
2005-03-12 13:08:19 +00:00