Commit Graph

71338 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
f54d51dfd4 Change the names of behavior and opacity DOM properties to MozBinding and MozOpacity, and make them work again with new CSS property names. r=jst, except for case change (Moz not moz) agreed on mozilla-style b=3935
git-svn-id: svn://10.0.0.236/trunk@79133 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 14:18:24 +00:00
kin%netscape.com
3083afab85 Mac build bustage fix for nsISelectionListener.idl typo.
git-svn-id: svn://10.0.0.236/trunk@79132 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 14:08:27 +00:00
dp%netscape.com
c78f8f34bd bug 46147 Ignoring record get failures to accomodate uncommited new
entries r=gagan,neeti


git-svn-id: svn://10.0.0.236/trunk@79131 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:51:18 +00:00
dp%netscape.com
37a7afe1b7 bug 46147 nsDiskCacheRecord::Delete() can ignore file delete errors as
for the file might not exist. r=gagan,neeti


git-svn-id: svn://10.0.0.236/trunk@79130 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:49:07 +00:00
bienvenu%netscape.com
afd9aa80c5 fix for 50350 fix copying multiple news messages r=putterman
git-svn-id: svn://10.0.0.236/trunk@79129 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:45:26 +00:00
bienvenu%netscape.com
5f22cbd2ae always load new headers for folders before telling rdf, improves folder load time in some cases, r=putterman
git-svn-id: svn://10.0.0.236/trunk@79128 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:44:02 +00:00
ccarlen%netscape.com
bf946dc3cd First check-in, not yet part of build. This lib is being used to solve bug #48981, but has other uses.
r=racham


git-svn-id: svn://10.0.0.236/trunk@79127 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:40:35 +00:00
mjudge%netscape.com
669b4dd594 fixing mac forgot this one
git-svn-id: svn://10.0.0.236/trunk@79126 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:38:29 +00:00
ccarlen%netscape.com
4f7eba1ffc First check-in, not yet part of build. This lib is being used to solve bug #48981, but has other uses.
r=racham


git-svn-id: svn://10.0.0.236/trunk@79125 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:35:28 +00:00
mjudge%netscape.com
19449f7998 fixing sun/sparc i guess it didnt like the inline if/else statement. separating out.
git-svn-id: svn://10.0.0.236/trunk@79124 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:23:31 +00:00
mjudge%netscape.com
2af3d92098 thanks dbaron. didnt know about this file
git-svn-id: svn://10.0.0.236/trunk@79123 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:14:20 +00:00
mkaply%us.ibm.com
3f27f1a438 #52467
r=jkobal, a=brendan
Default colors for info background and hilite foreground/background were wrong


git-svn-id: svn://10.0.0.236/trunk@79122 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 13:04:58 +00:00
mjudge%netscape.com
efb7431113 left out selectionprivate. sorry bout that
git-svn-id: svn://10.0.0.236/trunk@79121 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 12:27:59 +00:00
locka%iol.ie
8dae9939ee Added new x, y, width & height parameters to createBrowserWindow method. b=46851,r=valeski
git-svn-id: svn://10.0.0.236/trunk@79120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 12:04:04 +00:00
mjudge%netscape.com
872bffbe98 removing old domselection moving it to layout\base\public as xpidl
git-svn-id: svn://10.0.0.236/trunk@79119 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:51:06 +00:00
mjudge%netscape.com
2fc6190bef small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
mjudge%netscape.com
a3f38f63e7 removing selection.idl from here and moving it to layout\base\public as xpidl. r=sfraser r=anthonyd bug=48575
git-svn-id: svn://10.0.0.236/trunk@79117 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:40:44 +00:00
locka%iol.ie
0bec30a06f Added new x, y, width & height parameters to createBrowserWindow method. b=46851,r=valeski
git-svn-id: svn://10.0.0.236/trunk@79116 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:09:51 +00:00
hyatt%netscape.com
e252b59765 Fix dup entries. r=warren
git-svn-id: svn://10.0.0.236/trunk@79115 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:54:12 +00:00
jdunn%netscape.com
8a94c38ead adding newline at end of file (required by hp)
git-svn-id: svn://10.0.0.236/trunk@79114 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:50:50 +00:00
anthonyd%netscape.com
73b51e8ffd fix for bug #22163
making url bar behaviour the same as 4.x and IE
xul text fields, autocomplete fields now respond to onblur and onfocus events
r=hyatt,mjudge


git-svn-id: svn://10.0.0.236/trunk@79113 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:46:12 +00:00
nbhatla%netscape.com
fe9e87d5a0 #46423 -. new modern tabs continued. r=ben
git-svn-id: svn://10.0.0.236/trunk@79112 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:36:17 +00:00
nbhatla%netscape.com
46c4712e4d #46423 -> new modern tabs and other minor updates. also checking in new image files for mac classic tabs in editor. r=ben.
git-svn-id: svn://10.0.0.236/trunk@79111 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:35:21 +00:00
nbhatla%netscape.com
cf8189ff13 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@79110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:30:29 +00:00
ben%netscape.com
841c60917f fix Account Wizard bustage for alec. Unclosed brace was causing wizard to show up blank and have non-functional buttons. r=hyatt,nbhatla.
git-svn-id: svn://10.0.0.236/trunk@79109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 10:28:17 +00:00
locka%iol.ie
d6704f0876 Added test for postdata before invoking the anchor scrolling code to prevent obscure form problem where the submit url is the same as the current url with an anchor appended. b=52290
git-svn-id: svn://10.0.0.236/trunk@79108 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 09:45:14 +00:00
mjudge%netscape.com
688ab7f97f hoarkage fix. need a.get on pointer compare on unix for comptrs
git-svn-id: svn://10.0.0.236/trunk@79107 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 09:42:18 +00:00
warren%netscape.com
7209c00f72 Fixed to not delete installed-chrome.txt -- checks mod dates instead.
git-svn-id: svn://10.0.0.236/trunk@79106 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:50:14 +00:00
jband%netscape.com
c620f7cc96 fix memory corruption bug 52382. r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@79105 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:48:53 +00:00
pinkerton%netscape.com
ff01c4fd2d before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541.
git-svn-id: svn://10.0.0.236/trunk@79104 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:47:46 +00:00
warren%netscape.com
94d7c653e5 Made make system use add-chrome.pl to avoid duplicate entries in installed-chrome.txt
git-svn-id: svn://10.0.0.236/trunk@79103 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:43:31 +00:00
warren%netscape.com
9e20f00664 Added comments.
git-svn-id: svn://10.0.0.236/trunk@79102 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:32:50 +00:00
warren%netscape.com
ab9fe33646 Added add-chrome.pl which updates installed-chrome.txt to contain a jar file if it doesn't already exist.
git-svn-id: svn://10.0.0.236/trunk@79101 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:31:59 +00:00
sfraser%netscape.com
81a856a746 Fix directory separators.
git-svn-id: svn://10.0.0.236/trunk@79100 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:29:33 +00:00
edburns%acm.org
fc704a0841 a=brendan, ekrock
r=av, sean@beatnik.com
bug=50547

This change allows the plugin to have a greater degree of control over
the plugin lifecycle.  This change makes it possible for the plugin to
tell mozilla:

1. Whether or not they want to allow the browser to cache their
instance.  Default is yes, do allow the browser to cache their instance.

2. If they answer no to 1, that is, no the plugin does not want the
browser to cache their instance, do you want the shutdown calls to be:

a.

          inst->SetWindow(nsnull);
          inst->Stop();
          inst->Destroy();


b.

          inst->Stop();
          inst->Destroy();
          inst->SetWindow(nsnull);

a. is the default.

Please visit the bug to see the patches:

http://bugzilla.mozilla.org/show_bug.cgi?id=50547

Detail:

This fix was requested by Stanley Ho of the Sun Java Plugin Team.  A
conference call between Eric Krock, Andrei Volkov, Sun, Adobe and other
plugin vendors was used to agree on the above solution.

M modules/plugin/public/nsplugindefs.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp


git-svn-id: svn://10.0.0.236/trunk@79099 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:22:31 +00:00
rginda%netscape.com
109229d2fa -- CHATZILLA ONLY --
fis "multiple hello" messages bug 52131


git-svn-id: svn://10.0.0.236/trunk@79098 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 08:21:14 +00:00
gayatrib%netscape.com
38091c84ad Fix for bug 32055. If there are many emails in a header, display the toggle button at the beginning of the list. r=putterman
git-svn-id: svn://10.0.0.236/trunk@79097 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:51:09 +00:00
hyatt%netscape.com
0362f0d1f1 Fixing textfields. r=saari
git-svn-id: svn://10.0.0.236/trunk@79096 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:46:38 +00:00
ssu%netscape.com
b7079faf1e fixing bug #52513 - Disk space error during install. Affects windows platforms only. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@79095 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:35:08 +00:00
rickg%netscape.com
c433e250f9 fixed nsbeta3+ crash (bug# unavailable 'cause bugzilla is down) and removed FMM. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@79094 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:28:44 +00:00
av%netscape.com
c415ffe1a1 Fixing Mac bustage
git-svn-id: svn://10.0.0.236/trunk@79093 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 07:16:07 +00:00
alecf%netscape.com
0518954aae fix for #52337 and #52535 and #45512 r=putterman
fix up the first page of the account wizard to persist all the radio buttons, and
use that information later to know that we're creating a news account


git-svn-id: svn://10.0.0.236/trunk@79092 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:54:01 +00:00
karnaze%netscape.com
192b42b445 bug 30418, 47252 - order row groups before performing most operations. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@79091 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:49:47 +00:00
nisheeth%netscape.com
d029c3bb44 r=jst. Fix for nsbeta3+ bug 49579: Leak of a char * fixed in StartDocumentLoad().
git-svn-id: svn://10.0.0.236/trunk@79090 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:43:08 +00:00
rjc%netscape.com
3a45b49526 New search files for Netcenter. a=johng
git-svn-id: svn://10.0.0.236/trunk@79089 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:37:40 +00:00
jst%netscape.com
7adb227f26 Checkin in part of the fix for nsbeta3+ bug 42321. Avoid running JS_GC() many times per window open/close, once should be enough. Patch mostly done by alex@cendio.se, r=jst@netscape.com & vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79088 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:18:09 +00:00
brendan%mozilla.org
55b0ba4585 Fixes to make JS GC truly exact:
- All jsvals for which JSVAL_IS_GCTHING evaluates to true must contain tagged
pointers into the GC heap -- therefore jsapi.c's JS_DefineConstDoubles cannot
"cheat" by tagging addresses of static jsdoubles to avoid js_NewNumberValue.

- Finalization is now interleaved with the Sweep phase, to avoid allocating
memory for finalization records while sweeping.  Instead, the JSRuntime holds a
preallocated JSGCThing vector (gcFinalVec) that the Sweep phase fills and
flushes via gc_finalize_phase, repeatedly.

This means that finalizers cannot allocate a new GC thing, an incompatible but
plausible change.  js_AllocGCThing asserts and then checks whether it is called
while rt->gcLevel is non-zero, and fails the allocation attempt if so.  But this
fixes bug 38942, where the old sweep-then-finalize with a sweep => malloc
dependency could lead to memory exhaustion.

- Instead of scanning whole stackPool arenas, which led to UMRs (bug 27924) and
sometimes to gross over-scanning that depended on the GC bounds-checking all
thing pointers against its heap, we scan exactly those stack slots in use:
  - arguments reachable from fp->argv;
  - variables reachable from fp->vars;
  - operands now reachable from fp->spbase, bounded above by the lesser of
    fp->sp or fp->spbase + fp->script->depth for an interpreted frame; if the
    latter, fp->sp has advanced logically above the operand budget, in order to
    call a native method, and all unused slots from fp->sp up to depth slots
    above fp->spbase must be set to JSVAL_VOID;
  - stack segments pushed when calling native methods, prefixed by JSStackHeader
    structs and linked from cx->stackSegments through each header.
The stack segment headers help the GC avoid scanning unused portions of the
stack: the generating pc slots running depth slots below fp->spbase, and slots
at the end of an arena that aren't sufficient to satisfy a contiguous allocation
for more args, vars, or operands.

- Exact GC means the stack pointer must remain above live operands until the
interpreter is done with them, so jsinterp.c got heavily whacked.  Instead of
POPs of various kinds followed by a PUSH for binary operators (e.g.), we use
FETCH and STORE macros that index by -1 and -2 from sp, and minimize adjustments
to sp.  When sp is homed to fp->sp, this allows js_DecompileValueGenerator to
find the value reliably, and if possible its generating pc.

- Finally, the O(n**2) growth rate of gc_find_flags has been fixed, using the
scheme sketched in bug 49816 and documented in a new major comment in jsgc.c.
Briefly, by allocating flags and things from one arena, we can align things on
1024-byte "thing page" boundaries, and use JSGCPageInfo headers in each page to
find a given thing's flags in O(1) time.

/be


git-svn-id: svn://10.0.0.236/trunk@79087 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:14:45 +00:00
av%netscape.com
6cd48645de Part of 33105 fix, replaced direct calls to plugins by safe macro, r=serge
git-svn-id: svn://10.0.0.236/trunk@79086 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:13:56 +00:00
av%netscape.com
85da22b6b9 Part of 33105 fix, added a method to hsIPluginHost to handle bad plugins, r=serge
git-svn-id: svn://10.0.0.236/trunk@79085 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:03:37 +00:00
jfrancis%netscape.com
6340d3a57b fixes for 45608, 51398, 51591; r=cmanske
git-svn-id: svn://10.0.0.236/trunk@79084 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:59:19 +00:00