Commit Graph

140 Commits

Author SHA1 Message Date
pedemont%us.ibm.com
d37968b675 Bug 285591 - Do not cache JNIEnv structure. Instead, query from JavaVM. Not part of default build. a=mkaply 2005-05-03 20:15:35 +00:00
pedemont%us.ibm.com
d75b5fa3eb Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa 2005-05-02 16:30:03 +00:00
pedemont%us.ibm.com
a55c5e341d Properly handle unsigned values. Not part of default build. a=mkaply. 2005-04-26 23:00:18 +00:00
pedemont%us.ibm.com
dac34cffa2 Missing some #defines. Not part of default build. a=mkaply 2005-04-26 22:58:26 +00:00
pedemont%us.ibm.com
25792dda71 Fix memory leaks. Not part of build. a=mkaply. 2005-04-14 22:30:16 +00:00
pedemont%us.ibm.com
2b51b19d3b Merge SetRetval into FinalizeParams. Check invokeResult when doing cleanup in FinalizeParams. Not part of build. a=mkaply. 2005-04-14 21:46:11 +00:00
pedemont%us.ibm.com
656d99e8fc When recursing on SetupParams, don't overwrite param type. Fixes crash on Mac and Win32. Not part of build. a=mkaply. 2005-04-13 19:55:25 +00:00
pedemont%us.ibm.com
b7d88362f8 'array' param support. Not part of build. a=mkaply1 2005-04-13 19:20:57 +00:00
pedemont%us.ibm.com
8955da97f2 Generate Java interface from nsError.h. Not part of build. a=mkaply 2005-04-13 19:04:57 +00:00
pedemont%us.ibm.com
e879274019 Fix Javaconnect build bustage 2005-04-07 18:58:52 +00:00
bsmedberg%covad.net
be30b2f533 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-04 18:38:19 +00:00
pedemont%us.ibm.com
a5c7019ff4 Should be using variant.val.p rather than variant.ptr for some instances 2005-03-16 18:32:18 +00:00
pedemont%us.ibm.com
727e6e4ffc Make thread locking less stupid. 2005-03-14 21:18:53 +00:00
pedemont%us.ibm.com
4001eb57bc Make sure files aren't created in srcdir during objdir build 2005-02-25 23:22:00 +00:00
pedemont%us.ibm.com
16c1912523 Add files for creating an XPI. 2005-02-24 23:28:41 +00:00
pedemont%us.ibm.com
d58ea1c0d9 Fix several memory leaks. Also, use monitors around sensetive structures. 2005-02-24 23:17:36 +00:00
pedemont%us.ibm.com
5b73ebfd1f Bug 281102 - Allow many Java proxies per XPCOM object. r=darin 2005-02-24 21:53:46 +00:00
pedemont%us.ibm.com
96198b173a Bug 279649 - Dynamically create Java proxies. r=darin. 2005-02-23 20:19:55 +00:00
pedemont%us.ibm.com
b73f91d038 Make sure everything is still init'd in FinalizeStub 2005-01-21 22:21:47 +00:00
pedemont%us.ibm.com
7275a86670 In JNI, we should always call Release...(), no matter what isCopy says. 2005-01-20 23:59:10 +00:00
pedemont%us.ibm.com
eeb4844959 Use GetNameShared 2005-01-20 23:44:58 +00:00
pedemont%us.ibm.com
af01e764d3 Merge duplicate code. 2005-01-20 22:07:26 +00:00
pedemont%us.ibm.com
5c5490bfe4 Use NS_EXPORT on Linux to ensure gcc visibility gets set on JNI functions. 2005-01-18 22:53:50 +00:00
pedemont%us.ibm.com
a8b2a69aed Set proper extension on JNI lib for MacOSX. 2005-01-17 21:18:11 +00:00
pedemont%us.ibm.com
2b5e618ee2 Reorganize bindings methods. Also, properly check error conditions in those methods. 2005-01-14 00:09:49 +00:00
pedemont%us.ibm.com
75abd1bb55 Bug 273357 - XPCOM.queryInterface doesn't properly walk up the inheritance chain. Patch by Michal Ceresna. r=jhpedemonte 2005-01-13 17:29:47 +00:00
pedemont%us.ibm.com
a2534fb54f Add testcase for XPCOM.queryInterface method. 2005-01-13 17:26:52 +00:00
pedemont%us.ibm.com
5573ed19fb Fix typo. 2005-01-13 17:26:26 +00:00
pedemont%us.ibm.com
8c897ebd7d Bug 278113 - Fix parameter handling. r=darin. 2005-01-13 16:30:19 +00:00
pedemont%us.ibm.com
54f09d868f New testcase 2005-01-12 18:57:04 +00:00
pedemont%us.ibm.com
577b6112e0 Bug 270889 - nsIDirectoryServiceProvider2 impl. r=darin 2005-01-12 18:23:59 +00:00
pedemont%us.ibm.com
3a6cf43e0e Bug 270889 - Better error handling. r=darin 2005-01-12 17:59:01 +00:00
pedemont%us.ibm.com
12734e5f0d Bug 270889 - Use correct versions of Append. r=darin. 2005-01-12 17:36:11 +00:00
gerv%gerv.net
709d4de4d5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-01-01 16:48:30 +00:00
pedemont%us.ibm.com
30e2872749 Better assert msg 2004-12-23 20:56:30 +00:00
pedemont%us.ibm.com
3a6a328637 Use ExceptionCheck, since we don't need the actual exception 2004-12-23 20:51:36 +00:00
pedemont%us.ibm.com
bc72fda414 Bug 270889 - Various minor code and comment fixes. 2004-12-23 17:31:59 +00:00
pedemont%us.ibm.com
d162f6d604 Bug 270889 - Various minor code and comment fixes. 2004-12-23 17:09:54 +00:00
pedemont%us.ibm.com
006beedb7c Convert to Unix line endings 2004-12-23 00:05:37 +00:00
pedemont%us.ibm.com
c57d5be188 Better comments. 2004-12-22 22:36:57 +00:00
pedemont%us.ibm.com
08de0b256b Rework XPCOMException 2004-12-22 22:03:50 +00:00
pedemont%us.ibm.com
378181cd26 Throw exception before freeing globals. 2004-12-21 23:35:02 +00:00
pedemont%us.ibm.com
819d6c6d4e Bug 275106 - Add JavaDoc comments to non-generated Java files. r=darin 2004-12-21 17:36:55 +00:00
pedemont%us.ibm.com
737c6636b1 Move methods used by Java stubs to their own private class. 2004-12-17 23:52:42 +00:00
pedemont%us.ibm.com
51b8fd67f6 Bug 270889 - Change params for initEmbedding() to use java.io.File and custom class. Backout lazy discovery of interface info (no longer needed). Better distribute methods in XPCOM and GeckoEmbed classes. r=darin. 2004-12-17 22:25:12 +00:00
pedemont%us.ibm.com
28907a38a6 Bug 270889 - Change params for initEmbedding() to use java.io.File and custom class. Backout lazy discovery of interface info (no longer needed). Better distribute methods in XPCOM and GeckoEmbed classes. r=darin. 2004-12-17 22:20:56 +00:00
pedemont%us.ibm.com
0d552c8101 Bug 270889 - optimize InitializeJavaGlobals and implement FreeJavaGlobals 2004-12-17 18:01:19 +00:00
pedemont%us.ibm.com
15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
pedemont%us.ibm.com
fd060f4ede Fix logging to not use variable arguments (not supported by win32 compiler). 2004-11-23 17:02:21 +00:00
pedemont%us.ibm.com
24f3a13d99 Java 1.3 compatibility 2004-11-23 16:59:12 +00:00
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