Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
pedemont%us.ibm.com 8c003df0cd Make sure everything is still init'd in FinalizeStub 2005-01-21 22:21:47 +00:00
pedemont%us.ibm.com 6390cf798c In JNI, we should always call Release...(), no matter what isCopy says. 2005-01-20 23:59:10 +00:00
pedemont%us.ibm.com 163bd48ebb Use GetNameShared 2005-01-20 23:44:58 +00:00
pedemont%us.ibm.com 9a830f73df Merge duplicate code. 2005-01-20 22:07:26 +00:00
pedemont%us.ibm.com 667fa82ca2 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 16473d71de Set proper extension on JNI lib for MacOSX. 2005-01-17 21:18:11 +00:00
pedemont%us.ibm.com f082648ef7 Reorganize bindings methods. Also, properly check error conditions in those methods. 2005-01-14 00:09:49 +00:00
pedemont%us.ibm.com 70f6dcd523 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 9639440433 Add testcase for XPCOM.queryInterface method. 2005-01-13 17:26:52 +00:00
pedemont%us.ibm.com fdb6c94dc4 Fix typo. 2005-01-13 17:26:26 +00:00
pedemont%us.ibm.com 2826761c64 Bug 278113 - Fix parameter handling. r=darin. 2005-01-13 16:30:19 +00:00
pedemont%us.ibm.com 50ae79dc39 New testcase 2005-01-12 18:57:04 +00:00
pedemont%us.ibm.com 209a881ba2 Bug 270889 - nsIDirectoryServiceProvider2 impl. r=darin 2005-01-12 18:23:59 +00:00
pedemont%us.ibm.com bdfac8f8e7 Bug 270889 - Better error handling. r=darin 2005-01-12 17:59:01 +00:00
pedemont%us.ibm.com bb201d3271 Bug 270889 - Use correct versions of Append. r=darin. 2005-01-12 17:36:11 +00:00
gerv%gerv.net 213fc7b2cb Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-01-01 16:48:30 +00:00
pedemont%us.ibm.com 31064c0f44 Better assert msg 2004-12-23 20:56:30 +00:00
pedemont%us.ibm.com 0c060ce342 Use ExceptionCheck, since we don't need the actual exception 2004-12-23 20:51:36 +00:00
pedemont%us.ibm.com 123b5eb142 Bug 270889 - Various minor code and comment fixes. 2004-12-23 17:31:59 +00:00
pedemont%us.ibm.com 5bb823b0df Bug 270889 - Various minor code and comment fixes. 2004-12-23 17:09:54 +00:00
pedemont%us.ibm.com 1974f5576e Convert to Unix line endings 2004-12-23 00:05:37 +00:00
pedemont%us.ibm.com 1213febb5b Better comments. 2004-12-22 22:36:57 +00:00
pedemont%us.ibm.com 8a070a3df8 Rework XPCOMException 2004-12-22 22:03:50 +00:00
pedemont%us.ibm.com 683b50df5a Throw exception before freeing globals. 2004-12-21 23:35:02 +00:00
pedemont%us.ibm.com c7324f83f6 Bug 275106 - Add JavaDoc comments to non-generated Java files. r=darin 2004-12-21 17:36:55 +00:00
pedemont%us.ibm.com 35313c7c22 Move methods used by Java stubs to their own private class. 2004-12-17 23:52:42 +00:00
pedemont%us.ibm.com 5dabaec895 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 d264ec621d 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 f28c3f87a5 Bug 270889 - optimize InitializeJavaGlobals and implement FreeJavaGlobals 2004-12-17 18:01:19 +00:00
pedemont%us.ibm.com c6f2de7c1e Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
pedemont%us.ibm.com 3056dbf124 Fix logging to not use variable arguments (not supported by win32 compiler). 2004-11-23 17:02:21 +00:00
pedemont%us.ibm.com 7204185311 Java 1.3 compatibility 2004-11-23 16:59:12 +00:00
pedemont%us.ibm.com c8d654806c Remove nsWriteSegmentFun - no longer needed. 2004-10-27 22:03:45 +00:00
pedemont%us.ibm.com d6875c8d46 Fix memory leaks. Make JavaXPCOMInstance hold ref to XPCOM object. 2004-10-27 17:10:03 +00:00
pedemont%us.ibm.com c9cd3b04b8 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 cc58fec3f0 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 9170833944 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 07f57141f2 Move assert to the correct place 2004-10-19 23:15:51 +00:00
pedemont%us.ibm.com 06423f11cc Implement IID for nsJavaXPTCStub. Return associated Java object if returning nsJavaXPTCStub. 2004-10-18 17:04:29 +00:00
pedemont%us.ibm.com 01b07e6d7e Use the actual XPCOM obj (not wrapper) as hash key. 2004-10-15 22:20:07 +00:00
pedemont%us.ibm.com f59b0d3465 Revert to having each nsJavaXPTCStub hold a ref to its Java object. 2004-10-15 22:07:36 +00:00
pedemont%us.ibm.com 1ab5b7e9c3 Update to new method names and QI impl. Add deleting array test. 2004-10-15 21:55:14 +00:00
pedemont%us.ibm.com 4ea3388e04 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 d044f218ba Check if entry is valid when removing. Not part of default build. 2004-10-07 18:35:43 +00:00
pedemont%us.ibm.com 5528356ba2 Implement testcase interface as IDL. Not part of default build. 2004-10-07 15:48:38 +00:00
pedemont%us.ibm.com 2f3410b9f8 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 facb8ff0cd 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 50a58b9ba6 mIInfo check was wrong and unnecessary. Not part of default build. 2004-10-06 22:31:13 +00:00
pedemont%us.ibm.com dc5512a896 Cleanup. Not part of default build. 2004-10-06 22:28:50 +00:00
pedemont%us.ibm.com 7e21833fa9 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 b03fb8d37b 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 f44779fe60 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 7d23ad18e5 Added NS_NewArray function. Used by testcase. Not part of default build. 2004-10-01 22:59:12 +00:00
pedemont%us.ibm.com 51cdd7004f First testcase. Not part of default build. 2004-10-01 22:54:51 +00:00
pedemont%us.ibm.com 080810f105 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 7c456eaf70 Better logging. Not part of default build. 2004-10-01 16:24:57 +00:00
pedemont%us.ibm.com 89056e2e29 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 1a78a807cd 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 effca9ec24 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 de8694b8b5 Remove extra semicolon. Not part of default build 2004-09-21 15:46:59 +00:00
pedemont%us.ibm.com 559b5ca2f4 Properly mplement T_VOID. Not part of default build. 2004-09-15 22:59:42 +00:00
pedemont%us.ibm.com e4d7337ca4 Better implementation of FinalizeJavaParams. Not part of default build. 2004-09-15 22:19:18 +00:00
pedemont%us.ibm.com ea42c74d22 A weak reference implementation. Not part of default build. 2004-09-15 21:50:41 +00:00
pedemont%us.ibm.com 910ce7becd Make it build properly. Not part of default build. 2004-09-15 21:18:09 +00:00
pedemont%us.ibm.com 1a9d524c2c 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 0df3031dd8 QI, don't case! Not part of default build. 2004-09-15 19:47:19 +00:00
pedemont%us.ibm.com d7c22781c1 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 b1116cdaef 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 a1c6844f30 Properly implement setter and getter functions. Not part of default build. 2004-09-15 17:31:14 +00:00
pedemont%us.ibm.com 0efeb2315e 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 af2e72d3ac Properly implement T_VOID in SetRetval. Not part of default build. 2004-09-15 16:57:08 +00:00
pedemont%us.ibm.com e4ddc026d1 Initial drop. Not part of default build. 2004-09-02 16:34:11 +00:00