22 Commits

Author SHA1 Message Date
pedemont%us.ibm.com
325ff720b9 Make sure everything is still init'd in FinalizeStub
git-svn-id: svn://10.0.0.236/trunk@168160 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-21 22:21:47 +00:00
pedemont%us.ibm.com
7517748139 In JNI, we should always call Release...(), no matter what isCopy says.
git-svn-id: svn://10.0.0.236/trunk@168099 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 23:59:10 +00:00
pedemont%us.ibm.com
7eda29fd91 Merge duplicate code.
git-svn-id: svn://10.0.0.236/trunk@168087 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 22:07:26 +00:00
pedemont%us.ibm.com
0a76e21100 Use NS_EXPORT on Linux to ensure gcc visibility gets set on JNI functions.
git-svn-id: svn://10.0.0.236/trunk@167952 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-18 22:53:50 +00:00
pedemont%us.ibm.com
6dc662e1e6 Reorganize bindings methods. Also, properly check error conditions in those methods.
git-svn-id: svn://10.0.0.236/trunk@167699 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 00:09:49 +00:00
pedemont%us.ibm.com
b5d494f904 Bug 270889 - Better error handling. r=darin
git-svn-id: svn://10.0.0.236/trunk@167603 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 17:59:01 +00:00
pedemont%us.ibm.com
9cbc06758a Bug 270889 - Various minor code and comment fixes.
git-svn-id: svn://10.0.0.236/trunk@166985 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-23 17:09:54 +00:00
pedemont%us.ibm.com
6f07d51df2 Rework XPCOMException
git-svn-id: svn://10.0.0.236/trunk@166965 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-22 22:03:50 +00:00
pedemont%us.ibm.com
6fae50b95a Throw exception before freeing globals.
git-svn-id: svn://10.0.0.236/trunk@166934 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-21 23:35:02 +00:00
pedemont%us.ibm.com
7aa642db5f Move methods used by Java stubs to their own private class.
git-svn-id: svn://10.0.0.236/trunk@166842 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 23:52:42 +00:00
pedemont%us.ibm.com
4b2e003838 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.
git-svn-id: svn://10.0.0.236/trunk@166838 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 22:25:12 +00:00
pedemont%us.ibm.com
c114c7276c Fix logging to not use variable arguments (not supported by win32 compiler).
git-svn-id: svn://10.0.0.236/trunk@165639 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 17:02:21 +00:00
pedemont%us.ibm.com
c675625dac Remove nsWriteSegmentFun - no longer needed.
git-svn-id: svn://10.0.0.236/trunk@164525 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 22:03:45 +00:00
pedemont%us.ibm.com
23bd99e9d9 Fix memory leaks. Make JavaXPCOMInstance hold ref to XPCOM object.
git-svn-id: svn://10.0.0.236/trunk@164510 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-27 17:10:03 +00:00
pedemont%us.ibm.com
9c67210ecd Make GeckoEmbed functions more Java-like. Don't reflect NS_NewArray. Provide generic impl of QI.
git-svn-id: svn://10.0.0.236/trunk@163854 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 21:50:15 +00:00
pedemont%us.ibm.com
231ae169ea Use NS_ProxyRelease to make sure XPCOM objects are released on the correct thread. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@163322 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 22:13:00 +00:00
pedemont%us.ibm.com
b183f0786f Added NS_NewArray function. Used by testcase. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@163124 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 22:59:12 +00:00
pedemont%us.ibm.com
0824d4c802 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.
git-svn-id: svn://10.0.0.236/trunk@163084 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-01 16:19:03 +00:00
pedemont%us.ibm.com
c7539bf8c2 Store a global weak ref to the Java object rather than the 'address' returned by the JVM
git-svn-id: svn://10.0.0.236/trunk@163056 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 23:34:47 +00:00
pedemont%us.ibm.com
d04eabd707 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.
git-svn-id: svn://10.0.0.236/trunk@162412 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 21:06:30 +00:00
pedemont%us.ibm.com
ace01ae230 QI, don't case! Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@162399 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-15 19:47:19 +00:00
pedemont%us.ibm.com
4217e943f5 Initial drop. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@161663 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-02 16:34:11 +00:00