3393 Commits

Author SHA1 Message Date
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
fur
e9e7749b27 = Replicate the JS engine machinery that gives the appearance of converting
all element access expressions to strings, e.g. so that obj["3"] and
  obj[3] refer to the same property for a JavaArray object.

= Return false when using 'delete' operator on JavaArray objects.
1998-06-30 18:18:03 +00:00
joki
04c36259c9 Allow hex values in numbers 1998-06-30 18:12:40 +00:00
fur
bca1b5126d Return false when using the 'delete' operator on JavaClass or JavaObject objects. 1998-06-30 18:10:14 +00:00
terry
72b25879c7 Oops; left out one sentence. 1998-06-30 17:46:26 +00:00
terry
25c6393b5f Add some explaination of what "the hook" is. 1998-06-30 17:39:57 +00:00
terry
edeb68a743 Patch by Dawn Endico <dawn@cannibal.mi.org> -- cleaned up some
comments, added a README file.
1998-06-30 14:06:34 +00:00
fur
4feb603992 Eliminated the last uses of the JNIEnv global variable. Unfortunately, this
means that we had to switch from using NSPR hash tables to a private version.
The new jsj_hash.c file is derived from plhash.c, but it provides for an additional
argument to be passed to the hash key comparison function.  This capability
is used to pass in the JNIEnv pointer.

On shutdown, LiveConnect now removes all references to Java objects and classes,
so that the JVM might be able to GC them.
1998-06-30 10:04:32 +00:00
atotic
7d57b8390e Added nsMacFile to the project 1998-06-30 09:04:26 +00:00
atotic
eaf3d1507c Moved file implementation stuff into nsMacFile.cp 1998-06-30 09:03:51 +00:00
atotic
5edb250183 First Checked In. 1998-06-30 09:03:30 +00:00