70434 Commits

Author SHA1 Message Date
jband%netscape.com
267dc6688d fix memory corruption bug 52382. r=mstoltz 2000-09-14 08:48:53 +00:00
pinkerton%netscape.com
3a03377767 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. 2000-09-14 08:47:46 +00:00
warren%netscape.com
522dfc5ddf Made make system use add-chrome.pl to avoid duplicate entries in installed-chrome.txt 2000-09-14 08:43:31 +00:00
warren%netscape.com
1c08df9151 Added comments. 2000-09-14 08:32:50 +00:00
warren%netscape.com
3bf44b398c Added add-chrome.pl which updates installed-chrome.txt to contain a jar file if it doesn't already exist. 2000-09-14 08:31:59 +00:00
sfraser%netscape.com
c258ed33a6 Fix directory separators. 2000-09-14 08:29:33 +00:00
edburns%acm.org
eee39a1304 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
2000-09-14 08:22:31 +00:00
rginda%netscape.com
5be106ad71 -- CHATZILLA ONLY --
fis "multiple hello" messages bug 52131
2000-09-14 08:21:14 +00:00
gayatrib%netscape.com
1122ab4c59 Fix for bug 32055. If there are many emails in a header, display the toggle button at the beginning of the list. r=putterman 2000-09-14 07:51:09 +00:00
hyatt%netscape.com
2ddcc7a495 Fixing textfields. r=saari 2000-09-14 07:46:38 +00:00
ssu%netscape.com
75889d85d9 fixing bug #52513 - Disk space error during install. Affects windows platforms only. r=sgehani 2000-09-14 07:35:08 +00:00
rickg%netscape.com
d46d2d3c38 fixed nsbeta3+ crash (bug# unavailable 'cause bugzilla is down) and removed FMM. r=attinasi 2000-09-14 07:28:44 +00:00
av%netscape.com
af172bc1f9 Fixing Mac bustage 2000-09-14 07:16:07 +00:00
alecf%netscape.com
65a15d7a85 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
2000-09-14 06:54:01 +00:00
karnaze%netscape.com
b5a6f2a36c bug 30418, 47252 - order row groups before performing most operations. r=attinasi. 2000-09-14 06:49:47 +00:00
nisheeth%netscape.com
4d64cceee9 r=jst. Fix for nsbeta3+ bug 49579: Leak of a char * fixed in StartDocumentLoad(). 2000-09-14 06:43:08 +00:00
rjc%netscape.com
a7a32e6fd8 New search files for Netcenter. a=johng 2000-09-14 06:37:40 +00:00
jst%netscape.com
6fc361e1b1 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 2000-09-14 06:18:09 +00:00
brendan%mozilla.org
76a1bda8a7 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
2000-09-14 06:14:45 +00:00
av%netscape.com
93ee2b0c9a Part of 33105 fix, replaced direct calls to plugins by safe macro, r=serge 2000-09-14 06:13:56 +00:00
av%netscape.com
111969d988 Part of 33105 fix, added a method to hsIPluginHost to handle bad plugins, r=serge 2000-09-14 06:03:37 +00:00
jfrancis%netscape.com
86f482d466 fixes for 45608, 51398, 51591; r=cmanske 2000-09-14 05:59:19 +00:00
av%netscape.com
000be3bb8e Part of 33105 fix, first time in, macro for safe plugin calls implemented, r=serge 2000-09-14 05:56:28 +00:00
buster%netscape.com
829ab5c58e just cleaning up a warning, found during fix for bug 52307 2000-09-14 05:50:56 +00:00
sfraser%netscape.com
89925f50aa New files for Mac build enhancements. Not in build yet. 2000-09-14 05:47:21 +00:00
buster%netscape.com
ea39a92693 bug 52307
r=karnaze and r=kin
under the hood, we've opened up leaf elements to generated content.  GeneratedContentIterators assumed the real element was a container, not a leaf.  The fix was just to add a null check on a request for the element's child.
2000-09-14 05:40:48 +00:00
jst%netscape.com
aa961f07d3 Fixing nsbeta3+ bug 48161. Fixing getAttribute() on a XUL element to conform to the DOM Level 2 spec. This requires some changes in XUL files where various attributes incorrectly have a 'rdf:' prefix. r=waterson@netscape.com & scottip@netscape.com 2000-09-14 05:36:52 +00:00
mscott%netscape.com
6af3fb9d3a Fix a JS strict warning.
r=sspitzer
2000-09-14 05:35:06 +00:00
cmanske%netscape.com
9858a049ed Composer dialog cleanup. b=47691, 47701. r=hyatt 2000-09-14 05:30:06 +00:00
cmanske%netscape.com
1a30d7d38c CSS changes for Composer dialogs. b=47704, 47701. r=hyatt 2000-09-14 05:30:00 +00:00
mjudge%netscape.com
d74f430c75 private interface for selection 2000-09-14 05:24:18 +00:00
mjudge%netscape.com
62b3714065 not in build yet. adding for beta3 bug on api change 2000-09-14 05:22:37 +00:00
jst%netscape.com
347b9460b5 Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com 2000-09-14 05:19:00 +00:00
ben%netscape.com
d76e16c055 Account Manager/Wizard polish fixes + text change from vera. r=alecf. 2000-09-14 05:17:56 +00:00
jglick%netscape.com
d0a1bb7c49 Bug 45535, mail news pref panel updates. r=hangas 2000-09-14 05:17:18 +00:00
sgehani%netscape.com
029610f199 Make linux installer localizable. [nsbeta3+ b=2288; r=dbragg;dveditz] 2000-09-14 05:15:46 +00:00
matt%netscape.com
f326039fe4 Fixing bugs 52213 52214
all sorts of UI changes see in bugs
r=ben
2000-09-14 05:15:45 +00:00
sgehani%netscape.com
82e42903ab Make linux installer localizable. [nsbeta3+ b=2288; r=dbragg,dveditz] 2000-09-14 05:15:40 +00:00
morse%netscape.com
486de2ed10 bug 51671, wallet doesn't work with frames, r=jst 2000-09-14 05:14:56 +00:00
blakeross%telocity.com
db9e733c75 Fix bug 46592, wording change. r=matt a=brendan 2000-09-14 05:05:49 +00:00
blakeross%telocity.com
26c397c1f6 Fix nsbeta3+ bug 52208, just a wording change to a bookmarks button. r=matt a=brendan 2000-09-14 05:03:24 +00:00
blakeross%telocity.com
388f504eb0 Fix nsbeta3+ bug 43908, need to check where drag initiates in bookmarks tree. Patch by jrgm. r=me, a=brendan 2000-09-14 04:59:03 +00:00
ducarroz%netscape.com
c963e76578 Fix several Javascript strict warnings. R=alecf 2000-09-14 04:55:12 +00:00
ducarroz%netscape.com
b44bc158d7 Fix for bug 51547. Add several prefs to customize the behavior of the askSendFormatDialog. R=benb, alecf 2000-09-14 04:55:07 +00:00
jst%netscape.com
96951c3f90 Fixing nsbeta3+ bug 51034. element.getElementsByTagName() was throwing a NS_NOINTERFACE exception to the wrong IID passed to QI. r=kandrot&pollmann 2000-09-14 04:53:03 +00:00
matt%netscape.com
d60a0695d0 fix for bug 44036
r=pav
2000-09-14 04:52:50 +00:00
matt%netscape.com
e52c1090c4 fix for bug 44036
r=pav
added check for search engine
2000-09-14 04:51:25 +00:00
pollmann%netscape.com
0b9eda0dd2 Bug 3326: Implement IsIndex Frame; r=kmcclusk 2000-09-14 04:46:58 +00:00
blakeross%telocity.com
ce3c50d185 Lots of clean up for the Search Bookmarks/History and Manage Bookmarks windows. Fixes things like column resizing, layout of widgets, tree sorting (was very messed up in these windows), proper enabling/disabling of menuitems and buttons, widget text, makes toolbars properly collapsible, fix javascript errors, adds "Preference..." menu item, fixes accelerator and access keys, make column-hider tree thumb work, online/offline switching capability, focus, implements functional statusbar and view menu to the search window, and some treePopup menu issues. fixes bugs 48340, 44693, 44696, 51960, 48339, 40912, 45443, 44537, 52032, and 52418. Patches by me and jag -- r=jag on what I wrote, and r=me on what he wrote. hyatt and slamm also looked them over. a=brendan 2000-09-14 04:46:23 +00:00
vishy%netscape.com
6fbb9dbc07 Jar packaging fixup - changes by warren. Looked at by dveditz and ssu.
r=vishy. verified this solution works for mozilla, commercial and shrimp.
dont have bug number handy but this should be world++. basically from
now on, jar.mn rules will both create the jar and publish the flat files
to dist. the flat files are needed so that installers can compose the
files into a new naming system or delete some or whatever.
2000-09-14 04:45:15 +00:00