Commit Graph

273 Commits

Author SHA1 Message Date
Harald Radi
0fbbadbd2f fixed bug in com_load_typelib 2001-08-14 11:50:16 +00:00
Zeev Suraski
b3e96d34f3 Whitespace 2001-08-14 10:53:42 +00:00
Zeev Suraski
17a36fb659 more whitespace 2001-08-14 10:15:43 +00:00
Zeev Suraski
cf5bf23b32 Whitespace & API updates 2001-08-14 10:13:35 +00:00
Zeev Suraski
4b3dea31e6 Whitespace and API updates (please keep code in the repository in K&R style
like the CODING_STANDARDS ask, guys...)
2001-08-14 10:04:59 +00:00
Zeev Suraski
f09302da07 Add missing break 2001-08-14 09:55:22 +00:00
foobar
2983993b59 Fix ZTS build. 2001-08-14 07:09:20 +00:00
Alan Brown
292d27bf6a Whenever typelibrary constants were loaded, there was a GP Fault at process exit as shutdown_memory_manager seemed to delete constants that were supposed to have been deleted earlier. It seems as though CONST_PERSISTENT is a bad thing to use. Resetting that bit on the constant creation still seems to work and the GP Fault at exit is gone. 2001-08-14 03:52:32 +00:00
Harald Radi
c4022601e2 hresult is returned if no return type is specified 2001-08-14 00:48:15 +00:00
Harald Radi
44ee05ae23 update todo 2001-08-14 00:29:51 +00:00
Harald Radi
d041982a9c make next() return a single value instead of an array with one element 2001-08-14 00:28:54 +00:00
Harald Radi
9c6b9eb76b merged from EXPERIMENTAL
lots of cleanup work
2001-08-13 23:39:11 +00:00
Harald Radi
bb0858db34 initial 2001-08-13 23:30:16 +00:00
Andi Gutmans
a5afd0e9d0 - ZE2 fixes 2001-08-13 16:40:12 +00:00
Andi Gutmans
0c0999352f - Attempt at fixing the Java extension for ZE2 2001-08-13 16:02:45 +00:00
Andi Gutmans
ff39e51fdf - Make com work with new object model 2001-08-12 04:31:14 +00:00
Zeev Suraski
f6f6c4d7e6 Whitespace 2001-08-11 16:39:07 +00:00
foobar
bef77f811a Make this compile again. 2001-08-08 01:52:22 +00:00
Harald Radi
5e867acb28 TSRM fix 2001-08-07 19:02:01 +00:00
Harald Radi
b4bc16bbc8 TSRM fix 2001-08-07 17:18:20 +00:00
Zeev Suraski
11908f2db8 More TSRM stuff 2001-08-03 07:12:59 +00:00
foobar
474da88b4c more ZTS fixes. 2001-07-31 23:47:35 +00:00
Zeev Suraski
9be8c97967 Some more TSRMLS_FETCH work 2001-07-31 05:56:26 +00:00
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Zeev Suraski
d76cf1da18 More TSRMLS_FETCH work 2001-07-31 04:53:54 +00:00
Zeev Suraski
c43806f415 Zend compatibility patch 2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95 More TSRMLS_FETCH work, and a bit of cleanup 2001-07-30 06:18:13 +00:00
Zeev Suraski
7b1c400631 More TSRMLS_FETCH annihilation (Zend compatibility patch) 2001-07-30 04:58:07 +00:00
Zeev Suraski
1c25b8dd53 Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way 2001-07-30 01:56:43 +00:00
Andi Gutmans
e3632d5ecd - Yet another one... 2001-07-29 08:35:41 +00:00
Andi Gutmans
5c5178b2f4 - More object macros 2001-07-28 19:23:21 +00:00
Andi Gutmans
c8eccca0b1 - More Object macro work. I couldn't test this one so let me know if it
breaks the Windows build.
2001-07-28 18:55:49 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4 - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Harald Radi
050d346cd2 removed duplicate code and changed
code slightly to be compatible with broken
com implementations
2001-07-24 10:42:29 +00:00
Harald Radi
3110a58795 fixed a bug in 'case VT_DATE' 2001-07-18 19:56:18 +00:00
Zeev Suraski
94f5950438 Get rid of var_uninit() 2001-07-15 19:03:04 +00:00
Zeev Suraski
85b4df53c0 Improved interactive mode - it is now available in all builds, without any significant slowdown 2001-07-15 14:08:58 +00:00
Thies C. Arntzen
0ef0f8e32b ZVAL_BOOL(v,0) -> ZVAL_FALSE(v) 2001-07-11 12:42:25 +00:00
Zeev Suraski
66d94bc655 Nuke zval_reset 2001-07-11 11:39:10 +00:00
Zeev Suraski
d70ce7be27 var_reset -> ZVAL_RESET 2001-07-11 09:39:09 +00:00
Harald Radi
851d401e23 changed CLSIDfromProgId to CLSIDfromString 2001-06-28 21:26:20 +00:00
Harald Radi
4a29944dac added verbose ini entry 2001-06-24 22:20:28 +00:00
Harald Radi
7c95f0436f adapted to changes from com module 2001-06-24 21:20:23 +00:00
Harald Radi
22d42820b7 cast error 2001-06-24 21:19:49 +00:00
Harald Radi
69abb74075 fixed bug that resource was freed twice 2001-06-24 21:10:08 +00:00
Harald Radi
750fee8fa0 cleanup 2001-06-24 21:09:32 +00:00
Harald Radi
3949658942 cleanup
added some macros
2001-06-24 21:09:17 +00:00
Andi Gutmans
c977f29862 - Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable)) 2001-06-19 16:03:35 +00:00
Harald Radi
85bb9e77e4 fixed malloc() / emalloc() bug 2001-06-15 21:48:05 +00:00
Harald Radi
c7a934e763 added coauthors 2001-06-12 21:19:35 +00:00
Harald Radi
96686930ab added Alan Brown to credits 2001-06-12 20:33:50 +00:00
Harald Radi
0f3ab761b6 added experimetal php->safearray support 2001-06-12 16:31:54 +00:00
Harald Radi
20bb78f397 added experimental enum support
changed everthing to use the Z_* makros
2001-06-11 23:05:32 +00:00
Harald Radi
de780b345c bugfix: collections didn't work correctly 2001-06-05 22:09:58 +00:00
Harald Radi
f6dc573f32 put VT_ARRAY outside of the switch 2001-06-05 16:24:53 +00:00
Harald Radi
4efe6f7e6b typelib is loaded automatically (depends on ini setting)
added com_load_typelib()
# i must get rid of duplicate defines()
@ fixed a bug when com.allow_dcom is set to false
@ added a further parameter to the constructor to load typelibs
@ from file when instantiating components (e.g. DCOM Components
@ without local registration). (phanto)
2001-06-05 12:53:44 +00:00
Harald Radi
088280c364 -used makros for zval modifications where possible
-small fixes in safearray to phparray code
2001-06-05 12:47:13 +00:00
Harald Radi
c073b5ce04 added safearray to pval conversion for 1d arrays 2001-06-03 15:35:41 +00:00
Harald Radi
b8627e62d4 @ added the possibility to specify typelibs by full name
@ in the typelib file (Alan Brown)
2001-06-03 15:33:41 +00:00
Harald Radi
c9159797d8 removed unneeded function 2001-06-03 01:38:56 +00:00
Harald Radi
ea6d39ca1c fixed typelib support 2001-06-03 01:20:08 +00:00
Harald Radi
94769b8f72 removed hardcoded typelib version.
forgot to call release on typinfo and dispatch
when obtaining typelib from classname.
2001-06-01 23:39:44 +00:00
Sterling Hughes
b4ce3a696f Fix credits 2001-05-23 21:09:20 +00:00
Harald Radi
ee17c6440d renamed 2001-05-13 16:50:48 +00:00
Harald Radi
49be36d70d modified because of the changes in com.c 2001-05-13 14:22:19 +00:00
Harald Radi
3c60aabe22 @added com_release($obj) and com_addref($obj) functions
@and the related class members $obj->Release() and $obj->AddRef()
@to gain more control over the used COM components. (phanto)
also changed the return values of the internal functions from VARIANT
to pval, so there's no need to convert the returned value after each function
call and the real hashtable entry is returned and not only a copy of it.
#now everything is prepared to implement the array support
2001-05-13 14:21:20 +00:00
Harald Radi
04a5d124aa @added an additional parameter to dotnet_load to specify the codepage (phanto) 2001-05-13 14:15:26 +00:00
Sascha Schumann
afdaee9e47 Nuke more quotes 2001-05-12 11:09:05 +00:00
Sterling Hughes
b01ba3f820 Fix naming issue
# UNTESTED, but it should do the trick
# everyone on a winblows box please try out the change
2001-05-10 05:42:54 +00:00
Harald Radi
ffefed1972 E_ERROR instead of E_WARNING on nullpointer exceptions 2001-05-09 00:00:01 +00:00
Harald Radi
172a9c9303 fixed leaky code
#cleaned up dirty hack from yesterday
2001-05-03 11:20:29 +00:00
Harald Radi
7361fa13fc adapted because of the changes in the com module 2001-05-02 21:52:12 +00:00
Harald Radi
8dc2dbaf9b removed itypeinfo calls because they didn't work on every machine
#i'm investigating this ...
2001-05-02 21:51:19 +00:00
Andi Gutmans
4c823e8a89 - Change macros from V_ to VCWD_ because of AIX name clash 2001-04-30 12:45:02 +00:00
Daniel Beulshausen
9eaffbfcb0 make dotnet module build again & fix dsp ouput dir 2001-04-30 10:57:31 +00:00
Wilfredo Sanchez
0df6e8dd88 Add INSTALL_ROOT variable to specify install location. 2001-04-03 20:59:50 +00:00
foobar
8a26918ed1 Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Harald Radi
256d799809 @Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
@and even COM calls much faster.
@All ini settings are now prefixed by 'com.'.
@Now you need not provide a path to the file containing the typelib, you can
@also provide the GUID of the TypeLib - entry or an IID for preloading
@type - information. (phanto)
memory leak was reportet, i'm not sure that it is fixed by now, but it should be.
2001-03-20 22:35:30 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Zeev Suraski
a3775357ec Fix Win32 build 2001-02-20 22:32:29 +00:00
Harald Radi
176f24c9a5 export global constants for codepage and variant type
VT_* and CP_*
2001-02-18 16:51:27 +00:00
Harald Radi
c315e137c3 added a few more variant types for zval <-> variant conversion 2001-02-18 16:49:59 +00:00
Harald Radi
a15e465a34 @- Added new object VARIANT() to encapsulate values for use with
@  the COM and DOTNET module. Therefore it is now possible to pass
@  values by reference, convert php values to extended variant types (currency,
@  date, idispatch, iunknown, ...) and define the codepage that should
@  be used for unicode - conversion.
2001-02-18 16:49:06 +00:00
Harald Radi
8d6f13dc2b added myself to CREDITS 2001-02-18 16:40:28 +00:00
Harald Radi
55f25fb942 multiple codepage support
export global constants
2001-02-17 02:16:29 +00:00
Zeev Suraski
bf84618244 Fix Windows build 2001-02-05 21:59:17 +00:00
Harald Radi
3926cc2278 fixes the problem that php.exe compiled on win2k platform won't run on any other 2001-02-05 18:36:54 +00:00
Harald Radi
2ee1ed2138 correct phpinfo() output 2001-02-02 18:11:39 +00:00
Harald Radi
58dc4ad8db correct phpinfo() output 2001-02-02 15:02:05 +00:00
Harald Radi
2242647e64 added currency, date, IUnknown and NULL datatypes 2001-01-31 09:30:13 +00:00
Harald Radi
79a39e3d39 pass another com object as parameter 2001-01-30 02:09:39 +00:00
Harald Radi
dee2fd1ec4 use *_EXTERN_C() and PHP_WIN32 2001-01-29 21:54:46 +00:00
Harald Radi
7478783b20 fixed unicodeconversion and parameter passing bugs in com and dotnet modules 2001-01-28 03:41:43 +00:00
Harald Radi
dac7ab13da fixed unicodeconversion and parameter passing bugs in com and dotnet modules 2001-01-28 03:24:51 +00:00
foobar
809bf95a90 Added some missing EXPERIMENTAL files plus some missing extensions
into EXTENSIONS file.
2001-01-19 13:43:41 +00:00
Alex Akilov
ddf488970c Support AIX/HP shared lib extensions and j2sdk1.3.0 (hotspot) 2001-01-18 18:36:23 +00:00
Zeev Suraski
efab051391 Import COM patch from Harald Radi <h.radi@nme.at>
The new code should allow for better international support.
2001-01-02 23:08:20 +00:00
Zeev Suraski
aa6d2ac5d0 Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
foobar
402d60491b wb fix. 2000-12-19 00:14:58 +00:00