Commit Graph

91 Commits

Author SHA1 Message Date
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +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
1e2a3e8b7c MFB51: Fixed bug #34272 (empty array onto COM object blows up)
fix mem leaks
WS fixes
add test
2006-02-04 10:59:18 +00:00
Rob Richards
078ca4ffb2 MFB51: Fix bug #35954 (Fatal com_exception casting object) 2006-01-26 11:18:09 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Rob Richards
93ee6cd533 Fixed bug #35316 (Application exception trying to create COM object)
Fix some handler signatures causing memory corruption
Various unicode fixes
2005-11-27 12:21:12 +00:00
Wez Furlong
77b183386c unicode enable COM parameters (but not method/property names yet) 2005-08-13 19:03:58 +00:00
Wez Furlong
c2909b377b vs.net 2005 introduces 64-bit time_t.
I can't say that I think this is a great idea, but it does highlight a couple
of dodgy areas where we assume that ints and longs are the same thing as
time_t's.  Let's try to ensure that we declare structure fields and function
parameters with the correct type when we're talkingabout time_t's, to avoid
possibly nasty problems with passing the wrong sized thing around.
2005-08-13 02:23:29 +00:00
Sebastian Bergmann
52b001cc05 ZTS fixes. 2005-08-12 14:08:28 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Antony Dovgal
755b027e8c fix C++ comments 2005-04-22 08:59:21 +00:00
Wez Furlong
7013788711 merge from branch: fixes for #32758 and #32759 2005-04-19 06:14:56 +00:00
Wez Furlong
195f69f0c7 merge bug fixes from branch 2005-04-18 16:38:31 +00:00
Ilia Alshanetsky
0810696e50 removed unused vars. 2005-04-18 03:04:15 +00:00
Ilia Alshanetsky
496031df78 emalloc -> safe_emalloc. 2004-11-21 20:43:10 +00:00
Rob Richards
8f32b61acb fix crash when calling com methods
- due to change in Zend
2004-11-20 11:40:49 +00:00
Wez Furlong
9bffcfb407 Fix crash bug.
# how the f*** did this work in the first place!?
2004-10-09 13:08:16 +00:00
Wez Furlong
b3d9c5bea6 Improve .Net support; this should reduce "failed to init .net" errors.
Improve error reporting while we're at it too.
2004-10-09 04:39:58 +00:00
Wez Furlong
9ce9605723 Use the correct free() here... 2004-09-19 22:20:55 +00:00
Wez Furlong
8c4b687769 Fix for Bug #29490 from Michael Sisolak.
Another fine patch; thanks Michael.
2004-08-07 21:00:59 +00:00
Wez Furlong
4d39a171ee Even more verbosity... 2004-08-03 12:41:26 +00:00
Wez Furlong
f765acea59 Even more verbosity in case of error 2004-08-03 09:44:04 +00:00
Wez Furlong
d38f944d1c Better error reporting 2004-08-02 18:02:48 +00:00
Wez Furlong
d4ad4ac370 Allow COM to build under non-zts.
Thanks Frank.
2004-07-31 17:27:03 +00:00
Wez Furlong
7b1d95adba Fix my favourite call user func mistake 2004-07-29 14:06:24 +00:00
Wez Furlong
4da80ed1de Use the correct lengths when building the name -> dispid mapping 2004-07-29 06:19:27 +00:00
Wez Furlong
a783891e76 that's not my copy of the exception ctor, do don't fiddle its flags. 2004-07-27 22:17:40 +00:00
Wez Furlong
aa74430ee0 "better" "fix" for #29392.
This fixes the crash; the sample script:

	$c = new COM('ADODB.Connection');
	echo $c;

still does not work because the engine tries to call $c->__toString() and the
ADODB object *might* implement that method, but doesn't know until you open the
connection.
2004-07-27 22:17:00 +00:00
Wez Furlong
3e327b6e21 protect caller from a potential bailout 2004-07-27 03:44:40 +00:00
Wez Furlong
530d41732d Revert last fix, because it breaks dynamic methods 2004-07-27 02:37:54 +00:00
Wez Furlong
20534bc445 Fix #29392 COM behaved badly for non-existant methods 2004-07-27 01:59:44 +00:00
Wez Furlong
8a8b20877c Possible fix for #29258 (unverified)
win32 people, please test (I have no working win32 build env right now)
2004-07-19 13:39:57 +00:00
Ilia Alshanetsky
f28b063c28 Last dangerous alloca() bits. 2004-07-08 01:18:43 +00:00
Ard Biesheuvel
5232a5afea 64-bit bugsquash party 2004-06-16 23:57:25 +00:00
Wez Furlong
f8518cc83a Implement com_get_active_object() and a helper object for working with
persistent COM objects.
(That's the last of the stuff I want to sneak in before 5.0 is released).
2004-05-09 15:21:29 +00:00
Wez Furlong
6f8233897e Urgh!
Use the correct function to free messages from php_win_err(), otherwise
we say hello to Mr. S. Fault.
2004-05-09 14:28:19 +00:00
Wez Furlong
263723ec9b Update for count_elements handler for overloaded objects. 2004-05-04 15:03:48 +00:00
Wez Furlong
173cf83629 Enable writing to SafeArray dimensions. 2004-05-03 20:10:58 +00:00
Wez Furlong
92d87a6a8d Fix problem when assigning to a variable that holds an instance of
a COM/VARIANT/DOTNET object.
2004-05-03 18:19:07 +00:00
Wez Furlong
8ca144bba5 Fixup some constants and error handling.
Remove unfinished and un-needed function.
2004-05-03 15:51:41 +00:00
Wez Furlong
1ee2b46d2f Should have tested this change before committing. 2004-04-28 23:24:33 +00:00
Wez Furlong
027d450166 Fix for Bug #28161 (and probably others that I can't find in the bug db;
the search interface sucks).

Expand the proxy object so it can handle psuedo array style properties.

ASP/VB code like this:

	headObj.Attribute("RID") = rid

can be expressed like this in PHP:

	$headObj->Attribute['RID'] = $rid;

In theory, this feature can be used for "multi dimensional" properties:

	headObj.Attribute("RID", "Foo") = rid;

like this:

	$headObj->Attribute['RID']['Foo'] = $rid;
2004-04-28 08:23:22 +00:00
Wez Furlong
696663bc3d Add test 2004-04-22 14:29:33 +00:00
Wez Furlong
91dc1a516a A working fix for the safearray mapping bug. 2004-04-22 14:27:11 +00:00
Wez Furlong
c50726fa4b (probable) fix for Bug #27974: PHP Arrays are not mapped to VARIANTs. 2004-04-22 00:50:49 +00:00
Wez Furlong
d16ad34368 This wasn't updated for new parameters for object handlers yet... 2004-04-13 17:51:36 +00:00
Hartmut Holzgraefe
eeb172b29f "The Visa to Sibiria" (work in progress)
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
2004-03-23 19:46:10 +00:00
Wez Furlong
27d7cd8594 update for read handler api change 2004-03-22 22:47:05 +00:00