Commit Graph

3427 Commits

Author SHA1 Message Date
beard
b0adf38f64 enter_js now static, since it had no external prototype. 1998-07-01 18:47:26 +00:00
beard
9e5e0d2d68 define_JavaPackage now static since it had no external prototype. 1998-07-01 18:46:23 +00:00
beard
4b456772a7 JavaObject_getObjectOps now static since it had no external prototype. 1998-07-01 18:45:32 +00:00
beard
fe61d4682c JavaClass_getObjectOps, jsj_new_JavaClass now static, since they had no external prototypes anyway. 1998-07-01 18:44:50 +00:00
gagan
8cd33def31 Fixes the cache bug that was causing PR_ASSERTs to fire. (Fixes animated gifs too). See bug #226203,
#241297 (main) for details.
1998-07-01 18:44:28 +00:00
beard
111e7ffc34 Made JavaArray_getObjectOps static to fix no prototype warning. 1998-07-01 18:43:16 +00:00
beard
1cc4de3558 Fixed unintended assignment warnings, made default_map_java_object_to_js_object static to fix no prototype warning. 1998-07-01 18:42:27 +00:00
atotic
d607283f45 Ooops, forgot to check in full implementation 1998-07-01 18:40:46 +00:00
beard
d0534b637a Removed some dead code. 1998-07-01 18:37:43 +00:00
vidur
4694128cce Deal with NULL object case for parameters to methods 1998-07-01 18:36:59 +00:00
vidur
ba6ad21987 Deal with NULL object case before asking if its an object 1998-07-01 18:32:35 +00:00
shaver
ae05f5bb1b adding XPCOM interface support (non-functional) -- not part of Gromit 1998-07-01 18:18:00 +00:00
kipp
920acd0a4f Fixed a js-stub generating problem with null's vs's objects (vidur told me what to type) 1998-07-01 17:00:18 +00:00
terry
a83ec38894 Patch by Dawn Endico <dawn@cannibal.mi.org> -- add comment at top. 1998-07-01 13:53:28 +00:00
rpotts
696bcf3e07 Changed PR_ASSERT to NS_ASSERTION... 1998-07-01 12:25:49 +00:00
rpotts
7838c94435 Changed nsIStreamListener to nsIStreamObserver... First pass of changes for the Document Loader... 1998-07-01 11:34:00 +00:00
rpotts
065f2ed232 Changed to use the Document Loader instead of LoadURL(...) 1998-07-01 11:31:24 +00:00
rpotts
faebd53c4d Fixed up Post data to avoid leaks... 1998-07-01 11:30:35 +00:00
rpotts
cb8f2e082c Added nsDocLoader.cpp... 1998-07-01 11:29:20 +00:00
rpotts
7129a830a6 Changed some interface methods to use NS_IMETHOD for consistancy... 1998-07-01 11:28:05 +00:00
rpotts
8da1cdbd6c Changed nsIStreamListener to nsIStreamOBserver. Added the BindToDocument(...) method which is used by the DocumentLoader. 1998-07-01 11:27:06 +00:00
rpotts
2284ed07f4 Added nsIDocumentLoader.h 1998-07-01 11:25:55 +00:00
rpotts
643c05a792 Fixed up IID for nsIStreamListener 1998-07-01 11:24:10 +00:00
rpotts
5530aff594 Split the nsIStreamListner interface into nsIStreamObserver and nsIStreamListener 1998-07-01 11:23:17 +00:00
rpotts
c2deafd2d2 Changed sprintf(...) to PR_snprintf(...) 1998-07-01 11:22:25 +00:00
rpotts
d32af17295 Changed LoadURL(...) to StartDocumentLoad(...) TestAttributes.cpp TestInlineFrame.cpp 1998-07-01 11:21:41 +00:00
rpotts
42b06709ba Reworked Post data to avoid memory leaks... 1998-07-01 11:18:39 +00:00
rpotts
c839df2239 Now uses nsIViewerContainer interface and the Document Loader... 1998-07-01 11:17:41 +00:00
rpotts
2d418707f3 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader... 1998-07-01 11:16:09 +00:00
rpotts
bb2454f77a Fix crash by checking whether a link handler was returned bu GetLinkHandler(...) 1998-07-01 11:15:20 +00:00
rpotts
71f8e4faff Changed nsIStreamListener to nsIStreamObserver... 1998-07-01 11:11:44 +00:00
rpotts
5d1068c297 Changed nsIStreamListener to nsIStreamObserver. Added BeginParse(...) method for the DocumentLoader... 1998-07-01 11:11:05 +00:00
rpotts
47a682258c Fixed up IID for nsIStreamListener interface 1998-07-01 11:09:49 +00:00
fur
1bb1ec2907 If the same JSObject is reflected into Java more than once then we should
return the same Java object, both for efficiency and so that the '=='
operator works as expected in Java when comparing two JSObjects.
However, it is not possible to hold a reference to a Java object without
inhibiting GC of that object, at least not in a way that is portable
to all vendor's JVMs, i.e. a weak reference. So, for now, JSObject identity
is broken.
1998-07-01 06:11:39 +00:00
fur
906b904d7a Added equals() method to override java.lang.Object.equals(). This is
necessary because the '==' operator won't work with LC2.
1998-07-01 06:00:10 +00:00
wtc
d77705d89e In _PR_MD_OPEN_DIR, we append \*.* to the directory name,
but if the directory name ends in a slash or backslash,
we do not append the backslash.
Files changed: ntio.c and w95io.c.
1998-07-01 05:13:10 +00:00
troy
59d4da2785 Some work-in-progress for incremental reflow 1998-07-01 04:55:15 +00:00
troy
aa312a24e8 Removed some vertical margin collapsing stuff that wasn't needed 1998-07-01 03:03:32 +00:00
brendan
733ea0c9f5 - Remove duplicate error fprintf from js.c:Load.
- Revise exception handling runtime info (now called trynotes a la srcnotes)
  for more efficient loop control under JSOP_THROW.  Avoid all uses of catch
  and throw while at it, to make C++ lusers happy.
- Combine JSStackFrame.exception with rval, and rename
  JSStackFrame.exceptPending to be ...throwing.
- Optimize JS_TypeOfValue a bit.
- Name, control flow, whitespace, etc. cleanup.
1998-07-01 02:12:45 +00:00
kipp
6259c3326f Keep view around so that it moves properly 1998-07-01 00:54:54 +00:00
beard
5cae9cf967 Changed jsj_HashJavaObject to conform to JSJHashFunction. 1998-07-01 00:21:18 +00:00
kipp
3ad9573382 Revised logging code to work with nspr properly; updated to support incremental content appended reflow 1998-06-30 23:51:53 +00:00
kipp
6280b71fdf Added state recovery logic for FrameAppendedReflow (though it still reflows too much) 1998-06-30 23:51:26 +00:00
gagan
c9e9ee1e80 Fixes the great netlib initialization problem. NET_FinishInitNetLib was
never being called. Moved some stuff from NET_InitNetlib to this function.
See bug #231596 for details. Rev. by stever/valeski.
1998-06-30 23:48:14 +00:00
gagan
3dab44ab56 Fixes the great netlib initialization problem. NET_FinishInitNetLib was
never being called. See bug #231596.
1998-06-30 23:42:17 +00:00
kipp
8feb13ed67 Fixed memory overwrite bug 1998-06-30 23:37:35 +00:00
troy
38fcfa98f3 Changed reflow processing for floaters 1998-06-30 23:19:10 +00:00
beard
3237061bc8 #defined PR_IMPLEMENT for XP_MAC/XP_UNIX cases. 1998-06-30 22:18:23 +00:00
beard
ed37469a20 Fixed JSVAL_TO_JLONG_JVALUE macro for XP_MAC -- can't assign 0 directly to a jlong. 1998-06-30 22:17:19 +00:00
briano
f0866298e8 Support for SINIX-Z (x86) as well as SINIX-N (mips). 1998-06-30 22:15:47 +00:00