Commit Graph

3403 Commits

Author SHA1 Message Date
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
beard
e1acf242ee Added jsj_hash.c, turned on debugging by default. 1998-06-30 22:15:38 +00:00
briano
fd39935332 Support for NetBSD. 1998-06-30 22:14:55 +00:00
briano
2dfb9928d1 Welcome to the club, NetBSD. 1998-06-30 22:13:11 +00:00
jevering
9a366c402f Added the nsVoidArray support to the COtherDTD class. 1998-06-30 22:11:24 +00:00
ricardob
d437caf12e Dont build ns_mime with no sec 1998-06-30 22:06:09 +00:00
troy
a841c05205 Changed a XXX comment that was now out of date 1998-06-30 21:37:30 +00:00
jevering
27687d3099 Changed the context stack and style stacks to be nsVoidArray to avoid
stack overflow.
1998-06-30 21:36:10 +00:00
troy
87a620acb0 Changed anchor frames to forward content notifications to the real frame 1998-06-30 21:35:07 +00:00
kipp
541fe9b490 Use new PropagateContentOffsets API 1998-06-30 20:22:44 +00:00
kipp
3f7d5435a3 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
kipp
90d3d36058 update to new nsIInlineReflow API 1998-06-30 20:22:04 +00:00
kipp
7dd41cfa7a Implement new PropagateContentOffsets to avoid looking at floaters 1998-06-30 20:21:57 +00:00
kipp
0022cca732 Pretend to map STYLE attributes back to strings to avoid crashing 1998-06-30 20:20:51 +00:00
kipp
f6483b60bd disabled calls to PropagateContentOffsets for now 1998-06-30 20:20:29 +00:00
kipp
483aff9cd6 Pass attribute-to-string calls to superclass when it's an unkown attribute/type 1998-06-30 20:15:37 +00:00
kipp
ea122ca87d Improved listing output 1998-06-30 20:14:33 +00:00
kipp
d51c620f1b Updated APIs 1998-06-30 20:14:16 +00:00
kipp
a4bf798d9b Various pagination related bug fixes; pass in reflow command to FindTextRuns 1998-06-30 20:14:04 +00:00
kipp
f6fcd6698d Added aReflowCommand argument so that inline frames can properly determine what is triggering the TextRun discovery and properly avoid (or not avoid) creating new frames 1998-06-30 20:13:07 +00:00
buster
70c232ebd4 fixed-width cells no longer improperly impact the available size
of subsequent cells in reflow pass 1

we correctly distribute extra space in a table proportionately.
We try to give the extra space to auto-width columns first,
and if there are none we distribute it to all columns.
The percentage is based on the cell content's desired size.
1998-06-30 20:12:45 +00:00
kipp
93a84a0358 Reworked PropagateContentOffsets so that the update to the offsets is done by the frame itself instead of the child whacking the parent directly; this allows subclasses to override the whackage. 1998-06-30 20:12:23 +00:00
kipp
ef6865e7f9 Documented a bug 1998-06-30 20:11:34 +00:00
troy
04f55afb1b Added ContentDeleted() member function 1998-06-30 20:11:10 +00:00
jevering
d9ddcc5651 Temporarily crank up the context stack size.. we are overrunning it.
I will put a growable stack in later.
This could be a security hole.
1998-06-30 18:23:21 +00:00