Commit Graph

140 Commits

Author SHA1 Message Date
pedemont%us.ibm.com
7a9c95414e Remove nsWriteSegmentFun - no longer needed. 2004-10-27 22:03:45 +00:00
pedemont%us.ibm.com
0a7e2da254 Fix memory leaks. Make JavaXPCOMInstance hold ref to XPCOM object. 2004-10-27 17:10:03 +00:00
pedemont%us.ibm.com
09a89dd42d Properly handle [inout] string params when calling a Java method from XPCOM. Allocate enough space for PRUnichar string when returning to XPCOM. 2004-10-26 20:30:01 +00:00
pedemont%us.ibm.com
2554d099dd Call dumpArray() after deleting array, to see if all objects are properly deleted. 2004-10-26 20:16:04 +00:00
pedemont%us.ibm.com
a8b0f50343 Make sure to delete create XPTC stubs. If method invocation fails, clean up params before throwing exception and returning. 2004-10-26 20:14:53 +00:00
pedemont%us.ibm.com
0c5ecb1502 Move assert to the correct place 2004-10-19 23:15:51 +00:00
pedemont%us.ibm.com
61e3d51e6d Implement IID for nsJavaXPTCStub. Return associated Java object if returning nsJavaXPTCStub. 2004-10-18 17:04:29 +00:00
pedemont%us.ibm.com
6e81ed52e5 Use the actual XPCOM obj (not wrapper) as hash key. 2004-10-15 22:20:07 +00:00
pedemont%us.ibm.com
0ed121bb8c Revert to having each nsJavaXPTCStub hold a ref to its Java object. 2004-10-15 22:07:36 +00:00
pedemont%us.ibm.com
02f05393b5 Update to new method names and QI impl. Add deleting array test. 2004-10-15 21:55:14 +00:00
pedemont%us.ibm.com
051fceec64 Make GeckoEmbed functions more Java-like. Don't reflect NS_NewArray. Provide generic impl of QI. 2004-10-15 21:50:15 +00:00
pedemont%us.ibm.com
80d3ab5ea9 Check if entry is valid when removing. Not part of default build. 2004-10-07 18:35:43 +00:00
pedemont%us.ibm.com
b5a2f2368c Implement testcase interface as IDL. Not part of default build. 2004-10-07 15:48:38 +00:00
pedemont%us.ibm.com
42052a7514 Pass package name to xpidl when creating Java interfaces. Not part of default build 2004-10-07 15:27:27 +00:00
pedemont%us.ibm.com
fba0b494d1 Only master XPTCStub should hold strong ref to Java object. Not part of default build. 2004-10-07 15:11:34 +00:00
pedemont%us.ibm.com
0f73cee979 mIInfo check was wrong and unnecessary. Not part of default build. 2004-10-06 22:31:13 +00:00
pedemont%us.ibm.com
4e4f0d22fb Cleanup. Not part of default build. 2004-10-06 22:28:50 +00:00
pedemont%us.ibm.com
9a08143a89 Use NS_ProxyRelease to make sure XPCOM objects are released on the correct thread. Not part of default build. 2004-10-06 22:13:00 +00:00
pedemont%us.ibm.com
f64bca4b64 Fix crash when nsJavaXPTCStub represents a non-Mozilla class object. Not part of default build. 2004-10-01 23:08:34 +00:00
pedemont%us.ibm.com
b4785fb9ab Create special xpcom exception class. Also, throw exception when we DON'T already have an exception. Not part of default build. 2004-10-01 23:05:41 +00:00
pedemont%us.ibm.com
032c5f79ed Added NS_NewArray function. Used by testcase. Not part of default build. 2004-10-01 22:59:12 +00:00
pedemont%us.ibm.com
006bb3fd05 First testcase. Not part of default build. 2004-10-01 22:54:51 +00:00
pedemont%us.ibm.com
26d64eb1c5 Add helper function for getting an interfaces IID. Used by Java impl of QI. Not part of default build. 2004-10-01 16:29:53 +00:00
pedemont%us.ibm.com
88af8e5209 Better logging. Not part of default build. 2004-10-01 16:24:57 +00:00
pedemont%us.ibm.com
9ebe7a881f Split GeckoEmbed.java into two files, so GeckoEmbed just contains embedding functions. Better name for library. Use JAVA_HOME for location of Java includes. Not part of default build. 2004-10-01 16:19:03 +00:00
pedemont%us.ibm.com
f0b068d822 Store a global weak ref to the Java object rather than the 'address' returned by the JVM 2004-09-30 23:34:47 +00:00
pedemont%us.ibm.com
a741abdef7 Store the key in the hash entry struct so that it works better with stub hash functions. Not part of default build. 2004-09-30 23:20:34 +00:00
pedemont%us.ibm.com
5203c18e3a Remove extra semicolon. Not part of default build 2004-09-21 15:46:59 +00:00
pedemont%us.ibm.com
c420938501 Properly mplement T_VOID. Not part of default build. 2004-09-15 22:59:42 +00:00
pedemont%us.ibm.com
6ab1ce036f Better implementation of FinalizeJavaParams. Not part of default build. 2004-09-15 22:19:18 +00:00
pedemont%us.ibm.com
2b04bf7740 A weak reference implementation. Not part of default build. 2004-09-15 21:50:41 +00:00
pedemont%us.ibm.com
ca947b7b10 Make it build properly. Not part of default build. 2004-09-15 21:18:09 +00:00
pedemont%us.ibm.com
3a689f5e26 Make object returned from NS_NewLocalFile lazily resolve its interface info, so we can call NS_NewLocalFile before NS_InitEmbedding. Not part of default build. 2004-09-15 21:06:30 +00:00
pedemont%us.ibm.com
d48227c7a9 QI, don't case! Not part of default build. 2004-09-15 19:47:19 +00:00
pedemont%us.ibm.com
e68794491e Remove nsJavaXPTCStub from hash table on destruction. Fix ref counting. Clean up logging. Not part of default build. 2004-09-15 19:21:08 +00:00
pedemont%us.ibm.com
cbd9f598d9 Need to pass FALSE to GetIIDForMethodParam() since we are using mini variants. Not part of default build. 2004-09-15 17:35:36 +00:00
pedemont%us.ibm.com
fb2dfd11fd Properly implement setter and getter functions. Not part of default build. 2004-09-15 17:31:14 +00:00
pedemont%us.ibm.com
eb10cb9d64 Bug 256911 - workaround for broken XPCOM usage - bind lifetime of child stubs to master stub. Not part of default build. 2004-09-15 17:26:55 +00:00
pedemont%us.ibm.com
0573e1c19f Properly implement T_VOID in SetRetval. Not part of default build. 2004-09-15 16:57:08 +00:00
pedemont%us.ibm.com
d23fc1338b Initial drop. Not part of default build. 2004-09-02 16:34:11 +00:00