Commit Graph
43 Commits
Author SHA1 Message Date
[email protected] 96a6fc7eea Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
[email protected] 9e9c777c8f Fix logging to not use variable arguments (not supported by win32 compiler). 2004-11-23 17:02:21 +00:00
[email protected] ad539d710a Java 1.3 compatibility 2004-11-23 16:59:12 +00:00
[email protected] 9685b6e331 Remove nsWriteSegmentFun - no longer needed. 2004-10-27 22:03:45 +00:00
[email protected] 9056a66f77 Fix memory leaks. Make JavaXPCOMInstance hold ref to XPCOM object. 2004-10-27 17:10:03 +00:00
[email protected] 8a7cef81b2 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
[email protected] 7be48b80e0 Call dumpArray() after deleting array, to see if all objects are properly deleted. 2004-10-26 20:16:04 +00:00
[email protected] 7ae2083b1f 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
[email protected] 0ceb97d77a Move assert to the correct place 2004-10-19 23:15:51 +00:00
[email protected] b1a302873e Implement IID for nsJavaXPTCStub. Return associated Java object if returning nsJavaXPTCStub. 2004-10-18 17:04:29 +00:00
[email protected] e9de600454 Use the actual XPCOM obj (not wrapper) as hash key. 2004-10-15 22:20:07 +00:00
[email protected] 0311f33795 Revert to having each nsJavaXPTCStub hold a ref to its Java object. 2004-10-15 22:07:36 +00:00
[email protected] c8bbca3c41 Update to new method names and QI impl. Add deleting array test. 2004-10-15 21:55:14 +00:00
[email protected] b4e20286ad Make GeckoEmbed functions more Java-like. Don't reflect NS_NewArray. Provide generic impl of QI. 2004-10-15 21:50:15 +00:00
[email protected] bea8302f5a Check if entry is valid when removing. Not part of default build. 2004-10-07 18:35:43 +00:00
[email protected] ee4f7fae12 Implement testcase interface as IDL. Not part of default build. 2004-10-07 15:48:38 +00:00
[email protected] a09513ac01 Pass package name to xpidl when creating Java interfaces. Not part of default build 2004-10-07 15:27:27 +00:00
[email protected] d7fa81d7cd Only master XPTCStub should hold strong ref to Java object. Not part of default build. 2004-10-07 15:11:34 +00:00
[email protected] 2492d97894 mIInfo check was wrong and unnecessary. Not part of default build. 2004-10-06 22:31:13 +00:00
[email protected] f4e3cc121f Cleanup. Not part of default build. 2004-10-06 22:28:50 +00:00
[email protected] 23b7b13856 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
[email protected] e520a4ec84 Fix crash when nsJavaXPTCStub represents a non-Mozilla class object. Not part of default build. 2004-10-01 23:08:34 +00:00
[email protected] f96d62629e 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
[email protected] 79bd35acb0 Added NS_NewArray function. Used by testcase. Not part of default build. 2004-10-01 22:59:12 +00:00
[email protected] 5e254a42ad First testcase. Not part of default build. 2004-10-01 22:54:51 +00:00
[email protected] 4d9722c340 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
[email protected] aefd04ee40 Better logging. Not part of default build. 2004-10-01 16:24:57 +00:00
[email protected] 35c9ecbe24 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
[email protected] 2557dfbc3b 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
[email protected] 4639ccfd86 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
[email protected] d3b735339b Remove extra semicolon. Not part of default build 2004-09-21 15:46:59 +00:00
[email protected] 836e7d687a Properly mplement T_VOID. Not part of default build. 2004-09-15 22:59:42 +00:00
[email protected] cfbd2475b6 Better implementation of FinalizeJavaParams. Not part of default build. 2004-09-15 22:19:18 +00:00
[email protected] e5ce0882c5 A weak reference implementation. Not part of default build. 2004-09-15 21:50:41 +00:00
[email protected] f8195d0e99 Make it build properly. Not part of default build. 2004-09-15 21:18:09 +00:00
[email protected] 2d3c3adc71 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
[email protected] f88b58fa73 QI, don't case! Not part of default build. 2004-09-15 19:47:19 +00:00
[email protected] 34ca027b0e 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
[email protected] c2a2ca21f6 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
[email protected] c853f85dcf Properly implement setter and getter functions. Not part of default build. 2004-09-15 17:31:14 +00:00
[email protected] 38d53b024b 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
[email protected] e2f5401007 Properly implement T_VOID in SetRetval. Not part of default build. 2004-09-15 16:57:08 +00:00
[email protected] 1430b69bbd Initial drop. Not part of default build. 2004-09-02 16:34:11 +00:00