Commit Graph

418 Commits

Author SHA1 Message Date
Sascha Schumann
2909e5c9c9 centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
2002-10-24 13:15:49 +00:00
foobar
3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
foobar
4e34d6ce27 Fix bug: #19124, xmlrpc extension builds ok now as shared extension. 2002-08-30 02:57:13 +00:00
foobar
faff3a6e8a kill some compile warnings 2002-08-22 01:25:52 +00:00
Dan Kalowsky
4809e8ebbc This final change enables the ext/java to compile on OSX.
# now to do testing and ensure that it works as stated... weeee...
2002-08-21 04:42:58 +00:00
Dan Kalowsky
a832091a2c One more patch up towards OSX compatibility...
# it compiles now with the ObjC files (Finlay Doobie rocks the casbah)
2002-08-21 01:41:22 +00:00
foobar
7ea1e2d511 Fix the build when using --with-java without any path 2002-08-19 21:49:37 +00:00
Dan Kalowsky
1462813bfd A fix suggested by chregu (who doesn't have karma) to re-enable older java
JDKs to work.
2002-08-15 14:18:09 +00:00
Dan Kalowsky
f3fc7fe2fd Updating the error message to state a difference between libraries and
include.  Also restoring old for search to keep BC on configure
2002-08-14 17:49:41 +00:00
Dan Kalowsky
4b691d154a Adding a check for the binaries rather than just the directories. 2002-08-14 17:04:05 +00:00
Dan Kalowsky
d10bf42029 JavaC doesn't take flags like this, Java jar does, pay attention kalowsky 2002-08-14 16:53:49 +00:00
Dan Kalowsky
00b467bd6a cleaning up the displayed path (removing the ./ in the middle) 2002-08-14 16:49:22 +00:00
Dan Kalowsky
73557f5b52 Adding in MSG_RESULT check and \n for configure output viewing 2002-08-14 16:22:20 +00:00
Dan Kalowsky
9f597d2dd1 Correcting mis-versioned comment 2002-08-14 16:11:49 +00:00
Dan Kalowsky
8d9487c00e JAVA_INCLUDE, not JAVE_INCLUDE 2002-08-14 16:01:13 +00:00
Dan Kalowsky
49dd85c460 A little more clean up on the error messages, with a sample JDK 1.3 path to libjava.so 2002-08-14 15:29:48 +00:00
Dan Kalowsky
8b1e7744c1 correcting the AC_MSG_RESULT line 2002-08-14 14:37:04 +00:00
Dan Kalowsky
ba07aa06d8 adding in PATH check for JavaJar as well... 2002-08-14 14:36:08 +00:00
Dan Kalowsky
6be8fb6a2e Fix a bug for a user provided path as eru. 2002-08-14 13:48:44 +00:00
Rasmus Lerdorf
3ffe4cb1ff bool not boolean 2002-08-13 04:37:28 +00:00
Dan Kalowsky
299494ea5e The start of adding in MacOSX compatibility. No objections on the
php-dev list from the sent patch for a week.  Test and fix.
2002-08-11 15:33:25 +00:00
Dan Kalowsky
e47f69532f A folding we will go, a folding we will go,
adding the fold and vim lines to make this easier to follow
2002-08-06 22:08:23 +00:00
Yasuo Ohgaki
073c21e5c0 Allow xmlrpc-epi header files stored under include/xmlrpc-epi 2002-07-28 21:03:26 +00:00
Harald Radi
cbe4f69663 - added a skeleton for new layers
- a bit cleanup
2002-07-19 16:19:00 +00:00
Harald Radi
c83f78dc96 ext/rpc/com should work now, but there's still lots of work left. 2002-07-18 18:31:37 +00:00
Harald Radi
77f1d265be merging parts of the old com extension to the new rpc extension 2002-07-10 20:27:17 +00:00
Harald Radi
d90ca98223 add file again that andrei deleted by
accident (i don't want to blame anyone here)
2002-07-09 20:32:05 +00:00
Derick Rethans
7cdd6a6bb5 - Consistent error messages 2002-07-06 11:18:47 +00:00
foobar
466208eafb Fix typo. 2002-07-05 18:16:31 +00:00
Dan Libby
2154e7b55b merged in updates from SF project. bring php repository up to date with xmlrpc-epi version 0.51 2002-07-05 04:43:55 +00:00
foobar
bb0d7d6e31 - Let's be tad more verbose what's happening during 'make install' 2002-07-03 22:12:13 +00:00
Edin Kadribasic
9dcfbf41fa Fixed win32 build. 2002-07-03 10:54:42 +00:00
foobar
3c873776b8 Fix bug: #16252 2002-06-30 05:10:40 +00:00
foobar
4a4abfa65d Fix some build error on win32 (snapshot build) 2002-06-29 02:12:42 +00:00
foobar
d8a361b8d5 Fixed bug: #17732.
xmlrpc_decode_request() and xmlrpc_set_type() expect some parameters to be
passed by reference.
2002-06-16 02:24:18 +00:00
Harald Radi
fd8082ef67 pooling and singleton finally work 2002-06-10 21:16:25 +00:00
Harald Radi
f1f6818c20 new testcases 2002-06-10 21:15:38 +00:00
Harald Radi
30e1541595 reflect the new abstraction changes in the demo layer 2002-06-09 14:52:50 +00:00
Harald Radi
c55e855fdd - using stas' abstraction now
- layer can add individual ini settings now
- classentries for the loaded rpc object are created dynamically now
  class hirarchy looks like: rpc<-[layer]<-[object]  (e.g. rpc<-com<-adodb),
  thus the whole class tree is reflected into php
- added user-functions to mark an object as a singleton and as poolable

#rest of the linuxtag work
2002-06-09 14:51:41 +00:00
Harald Radi
d1b01b92ab added wez and ordered names alphabetically 2002-05-31 09:43:22 +00:00
Harald Radi
acc1021f0d #forgot something 2002-05-30 23:17:48 +00:00
Harald Radi
d3ca5abab7 @ Added missing AddRef() calls in the COM extension. This should
@ fix weird behaviour (in particular with ADODB). (Harald)

# waah, this suxx
2002-05-30 23:07:23 +00:00
Wez Furlong
762effcf60 Add documentation comment for properties in com_print_typeinfo 2002-05-21 22:44:10 +00:00
Wez Furlong
fbf920d9a3 Enhance com_print_typeinfo.
The main expected use is like this, for figuring out what methods
are allowed for a COM object:

$ie = new COM("InternetExplorer.Application");
// Prints class definition for IE object
com_print_typeinfo($ie, "InternetExplorer.Application", false);
// Prints class definition for default IE event handler
com_print_typeinfo($ie, "InternetExplorer.Application", true);
2002-05-21 22:41:45 +00:00
Wez Furlong
8a53a89a94 Correct usage of convert_to_string_ex which is not allowed to zval* 2002-05-21 20:57:04 +00:00
Wez Furlong
c05834fbce Reformat some comments. 2002-05-21 20:51:31 +00:00
Wez Furlong
e2b9f0d964 Fix a flag, remove an old comment. 2002-05-21 20:46:08 +00:00
Wez Furlong
e04d6ca9f7 - Make sure that COM and VARIANT resources are returned as resources
rather than longs.
- Make the IDispatch implementation a bit more generic (and
  fix my mess of pointers).
- Add new com_message_pump() function that acts like an interruptible
  usleep() that processes COM calls/events.
- Add new com_print_typeinfo() function for "decompiling" the typeinfo
  for an interface into PHP script.  This is useful for generating a
  skeleton for use as an event sink.
- Add new com_event_sink() function for sinking events from COM
  objects.  Usage is like this:

<?php

class IEEventSinker {
	var $terminated = false;

	function ProgressChange($progress, $progressmax) {
		echo "Download progress: $progress / $progressmax\n";
	}
	function DocumentComplete(&$dom, $url) {
		echo "Document $url complete\n";
	}
	function OnQuit() {
		echo "Quit!\n";
		$this->terminated = true;
	}
}

$ie = new COM("InternetExplorer.Application");

$sink =& new IEEventSinker();
com_event_sink($ie, $sink, "DWebBrowserEvents2");

$ie->Visible = true;
$ie->Navigate("http://www.php.net");

while(!$sink->terminated) {
	com_message_pump(4000);
}
$ie = null;
?>
2002-05-21 18:58:11 +00:00
Harald Radi
e47a667cc9 integrating wez's patch 2002-05-20 15:35:57 +00:00
Wez Furlong
fc964e88d3 Added generic COM wrapper for PHP objects. 2002-05-20 01:31:48 +00:00
Harald Radi
37b9089bfa this should finally fix bug #14353 2002-05-15 17:59:48 +00:00
Markus Fischer
c7a15e6388 - Fail gracefully and not just bail out with an error message from dirname
because no argument was given.
2002-05-11 03:11:46 +00:00
Harald Radi
fe84a29b3f remove temporary resources immediately
return value fix

#thanks to alan for 'remote debugging'
2002-05-02 13:37:31 +00:00
Harald Radi
e72caee650 RETURN_NULL() is defined with braces while RETURN_TRUE
and RETURN_FALSE are defined without.
seems not very consistent ?
2002-04-29 17:20:15 +00:00
Harald Radi
667a0841f3 functions returned FALSE in case of error and the oo api returned NULL.
make them both behave equal (return NULL, as FALSE can be a valid value).
2002-04-29 15:50:30 +00:00
Harald Radi
da9dd9acc9 updated TODO list 2002-04-27 15:47:18 +00:00
Harald Radi
a380af2247 don't set CLSCTX_REMOTE_SERVER if NULL is passed as servername 2002-04-27 10:17:46 +00:00
Harald Radi
51241dba94 this patch should fix a bug where intermediate comvals were not
released before they were freed. this caused outproc com server
to belive that they still referenced even when the php process
already terminated.
2002-04-26 18:20:45 +00:00
Derick Rethans
4ec1a03653 - Fix for bug #14353 2002-04-25 06:37:22 +00:00
foobar
c3a6cbbc42 Fixed the extension name. 2002-04-23 23:30:20 +00:00
Harald Radi
894aac6e19 set up a proxy object when requesting a reference to a variable 2002-04-22 19:40:01 +00:00
Harald Radi
94ba23998f changes related to the latest commit of the zend engine 2002-04-22 14:25:46 +00:00
foobar
65078f3b50 Tiny typo.. 2002-04-21 02:50:38 +00:00
Harald Radi
f246e23799 whitespace fixes 2002-04-18 10:05:47 +00:00
Alan Brown
ad9f90a223 Missing break; causes fallthrough which actually causes heap corruption in the debugging version despite being just plain wrong. Also placed a default "Unavailable" message when the object does not populate the EXCEPINFO structure. Also removed a minor memory leak. 2002-04-18 01:56:29 +00:00
Alan Brown
bbb133f292 When V_BSTR() is NULL, we pass a NULL pointer into php_OLECHAR_to_char() which reports an exception. Better to map a NULL string pointer to ZVAL_NULL. 2002-04-18 01:52:07 +00:00
Uwe Steinmann
4a2c9980b8 - fixed memory leak 2002-04-17 07:33:39 +00:00
foobar
72c40cdf42 - Use the correct javac/jar binaries. 2002-04-14 00:40:36 +00:00
Andrei Zmievski
0141256493 - Fixed a leak in xml_decode().
- Fixed it so it's possible to compile as a shared extension.
2002-04-06 03:50:28 +00:00
foobar
6214164d28 Fixed the build issues reported by Stas. 2002-03-31 15:41:24 +00:00
foobar
edb03cdbb4 - Use correct header file. 2002-03-26 00:14:27 +00:00
foobar
f4736c72ea Why was this here?? 2002-03-25 23:46:22 +00:00
foobar
cf267402b5 fix the fix 2002-03-22 13:55:11 +00:00
foobar
35e7255055 - Fixed minor inconvenience with iconv detection when iconv is found in libc 2002-03-22 13:49:05 +00:00
foobar
4110878a24 This file is generated and not supposed to be in CVS 2002-03-21 20:25:01 +00:00
Harald Radi
2adf5bea7c pass function signature in zend_parse_parameters style
lookup cache works now per signature (not only method name)
reviewed resource management
# have to learn now ..
2002-03-19 23:28:52 +00:00
Harald Radi
cb2368c905 fixed memleaks
added method lookup caching
pass function signature to hash function callback
2002-03-19 18:46:28 +00:00
Harald Radi
a85ea38eac added lookup caching and now make use of the new thread
safe hashtables (not in cvs right now)
2002-03-19 03:36:16 +00:00
Stanislav Malyshev
858291e6b5 Fix build 2002-03-18 09:42:20 +00:00
foobar
19e82a49f9 - Made one test/setup macro for iconv and fixed it to check
for libc first.
2002-03-17 21:09:21 +00:00
Harald Radi
11a67831d1 blah 2002-03-16 16:15:34 +00:00
Harald Radi
01e5d78b80 TSRM fix 2002-03-16 12:22:25 +00:00
Harald Radi
c1fe9cd279 ongoing development ... 2002-03-15 23:28:10 +00:00
Harald Radi
3a1ebd4f51 @ fixed a bug that caused php to crash in php_COM_get_ids_of_names() (Harald, Paul) 2002-03-15 20:48:26 +00:00
Stig Bakken
fb624cb77a * "new and improved" iconv test 2002-03-15 13:56:32 +00:00
Harald Radi
720c40dd4e fixed HashTable allocation 2002-03-15 13:10:35 +00:00
Harald Radi
ff62e746d2 rpc apstraction module
does only work with ZendEngine2
2002-03-15 00:00:34 +00:00
Derick Rethans
bfa2653b61 - Whitespace part 1 2002-03-14 12:20:53 +00:00
Stig Bakken
5274f1a708 * another libconv->libiconv typo 2002-03-13 09:59:43 +00:00
Sascha Schumann
06473e08a5 old makefiles 2002-03-12 16:52:17 +00:00
Sascha Schumann
9d9d39a0de Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net
directly.

An introduction can be found on

http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Derick Rethans
edb0118d96 - Fix for bug #15227: Compiling the CGI binary with xmlrpc fails to
build/link expat
2002-01-25 19:56:48 +00:00
Hartmut Holzgraefe
25534467c7 more unquoted messages with kommas fixed 2002-01-04 14:15:25 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Stig Bakken
9b17045bdd * configure help indent fix 2001-12-07 09:08:02 +00:00
Hartmut Holzgraefe
2c93a6ac2d proto fixes 2001-12-05 23:01:21 +00:00
Hartmut Holzgraefe
41d93ca3fd proto fixes 2001-12-05 22:38:49 +00:00
Sebastian Bergmann
46c3d99a9c Mark ext/java as what it is: experimental. 2001-12-04 13:19:42 +00:00
Shane Caraveo
7b03b7571b Make xmlrpc module compilable on windows. compiles, but untested. 2001-12-03 22:33:32 +00:00