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
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
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
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
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
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
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
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Zeev Suraski
9103cae5e5
Fix bug #6447
2000-10-09 11:48:16 +00:00
Sam Ruby
a0b745a053
Add ***EXPERIMENTAL*** Zend OO Extension support for Microsoft.Net
2000-08-26 12:53:14 +00:00
Sascha Schumann
16017f6d78
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:46:51 +00:00
Hartmut Holzgraefe
87a491d7b6
C++ // comments are evil ...
2000-06-16 18:24:02 +00:00
Andi Gutmans
6ce07a85e4
- Change register_internal_class to zend_register_internal_class for
...
- consistency.
- Andrei: I'm still thinking about the _ex you want me to implement
2000-06-09 08:41:59 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Hartmut Holzgraefe
9a8a9d774e
even more protos were missing
2000-05-23 22:26:29 +00:00
Hartmut Holzgraefe
3d3d385d37
some protos where missing, took them from php3
2000-05-23 22:24:05 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Andi Gutmans
198537b70f
- Make Windows compile again.
2000-05-05 07:18:50 +00:00
Andi Gutmans
1665cba750
- Change PHP_ to V_ (directory & file functions)
2000-04-15 14:20:01 +00:00
Zeev Suraski
09ac924559
- Added support for reading properties that require arguments in the COM
...
module - writing to them will only be supported in PHP 4.1 (Zeev)
2000-04-10 21:54:15 +00:00
Zeev Suraski
578726ca2f
indent
2000-04-10 21:32:19 +00:00
Zeev Suraski
38e458b86d
*** empty log message ***
2000-04-10 21:25:09 +00:00
Zeev Suraski
64f91d80fa
Object overloading API changed slightly (llist is now a pointer)
2000-04-10 20:21:02 +00:00
Andi Gutmans
9c3d6304dd
- Hopefully got most of them. We also need a chdir_file function like
...
for Apache.
2000-03-30 22:56:34 +00:00
Stig Bakken
d02fe90b00
Change extension names in all extensions' zend_module_entry to their
...
directory name.
2000-03-06 18:44:01 +00:00
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
2000-02-19 23:21:46 +00:00
Andi Gutmans
60841f1231
- Separate the overloaded objects' types from Zend's data types.
...
There is no reason for them to be the same, and IS_METHOD just cluttered
the data types.
- Overloaded elements should now use OE_IS_OBJECT, OE_IS_ARRAY, and
OE_IS_METHOD
2000-01-04 13:56:13 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Andi Gutmans
3bf1b04cb4
- Move more stuff to ALLOC_ZVAL(). We need to add those FREE_ZVAL()'s now.
1999-12-24 17:39:27 +00:00
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Zeev Suraski
a3c6514332
More php3_ annihilation
1999-12-17 19:51:39 +00:00
Sam Ruby
1e13f0fd20
Support DATE_to_pval and DISPATCH_to_pval
1999-12-03 02:25:22 +00:00
Sascha Schumann
2f6ded9ac9
Convert more source files to use thread-safe functions
1999-11-26 16:51:57 +00:00
Zeev Suraski
0700ad3417
- Win32 fixes
...
- COM module improvements from Boris Wedl
1999-11-06 10:01:55 +00:00
Andi Gutmans
8a3e0ced12
- Make COM compile again
1999-10-20 19:16:17 +00:00
Andi Gutmans
5212b2fe5b
- Make CVS compile on Win32.
...
- Rename php3_COM.h -> php_COM.h
1999-10-20 18:09:44 +00:00
Zeev Suraski
7e250d06f5
Add output_buffering directive
1999-08-24 23:12:50 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andrey Hristov
1b2c932cc2
More symbol work.
...
I've defined a few macros to help with module/request init/startup function definitions.
Basically:
PHP_MINIT_FUNCTION(module)
PHP_MSHUTDOWN_FUNCTION(module)
PHP_RINIT_FUNCTION(module)
PHP_RSHUTDOWN_FUNCTION(module)
PHP_MINFO_FUNCTION(module)
These will expand to proper function prototypes.
Now to specify these in the module entry, use:
PHP_MINIT(module)
PHP_MSHUTDOWN(module)
PHP_RINIT(module)
PHP_RSHUTDOWN(module)
PHP_MINFO(module)
I've updated all modules in ext/standard and everything from ext/apache to ext/db.
If you can, please update your module to use these macros.
1999-07-26 20:09:08 +00:00
Andi Gutmans
8f51f72dc6
- Fix the new operator incompatibility.
...
- I commented PHP_FUNCTION(strtotime) in datetime.c because it stopped
win32 from compiling. This needs to be fixed!!!
- Check out libzend to compile the tree now.
1999-07-26 16:57:06 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Zeev Suraski
c43c235427
Don't touch refcount and EA directly
1999-07-09 20:45:55 +00:00
Zeev Suraski
5f62c347c7
Step 2:
...
Rename is_ref to EA
1999-07-09 17:44:41 +00:00
Zeev Suraski
7a167cd0c1
* Use new Zend macros for standardized definition of classes.
...
* Reverse bogus shutdown order.
* Use the new object/class support of Zend to make the dir functions work again.
1999-05-28 11:09:39 +00:00
Sascha Schumann
b57dc27595
- run ext sources through conv_proto
...
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Zeev Suraski
bc415d5a88
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
...
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
1999-05-09 08:48:05 +00:00
Zeev Suraski
66476011dd
A step towards generalizing the INI mechanism even more
1999-04-28 20:26:33 +00:00
Stig Bakken
a297b95c9d
moved apache, com and hyperwave into ext/
1999-04-21 23:11:20 +00:00