2131 Commits

Author SHA1 Message Date
bnesse%netscape.com
2eca0df02b Fix for Mac plugins getting double mouse events. bug 58814 r=av sr=waterson rtm++
git-svn-id: svn://10.0.0.236/trunk@82286 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 23:57:24 +00:00
erik%netscape.com
3b3367c95a bug 57462; r=buster; sr=waterson; need to set "HasMultibyte" flag in
nsTextTransformer when we convert 0x5C to Yen Sign and Won Sign because
those chars are greater than 127; this fixes the problem where the Yen Sign
was not being displayed properly on Win95/98/ME because we have the 8-bit
rendering hint set on those platforms (see nsTextFrame's PaintAsciiText,
etc)


git-svn-id: svn://10.0.0.236/trunk@82109 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-31 22:06:59 +00:00
buster%netscape.com
952ca09fa5 My previous check-in had an important line accidentally commented out. This just re-enables that line. This fixes bug 58257
git-svn-id: svn://10.0.0.236/trunk@81996 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:48:53 +00:00
buster%netscape.com
abad145489 bug 54850 crash when plugin has an inline parent
r=av, r=peterl
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81994 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:11:59 +00:00
buster%netscape.com
d61dcff924 accidentally checked this in with a debug flag turned on that wrote a bunch of output to stdout. turned off.
git-svn-id: svn://10.0.0.236/trunk@81993 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-30 04:10:44 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
4920294cee more fixes for dbaron
git-svn-id: svn://10.0.0.236/trunk@81913 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 01:28:06 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
buster%netscape.com
b3039d3db0 bug 56704 (Crash selecting text)
r=erik
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81868 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 14:16:36 +00:00
buster%netscape.com
c696b64b4d bug 57596 (crash caused by reframing XBL reparented explicit children)
fix by rickg
r=buster
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81867 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 14:14:36 +00:00
buster%netscape.com
767024fce0 bug 57039 crash in [@ nsBlockBandData::GetBandData()]
r=karnaze
a=rickg, a=waterson
some simple bullet-proofing for possible null pointer dereferencing


git-svn-id: svn://10.0.0.236/trunk@81433 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 05:21:26 +00:00
beard%netscape.com
a50a3f22b2 Implement GetTagText(). r=jst, sr=waterson, bug #56390.
git-svn-id: svn://10.0.0.236/trunk@81424 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 01:37:53 +00:00
peterlubczynski%netscape.com
858d70e1c9 fix for context menus for plugins on the Mac, bug 55822 a=buster r=karnaze
git-svn-id: svn://10.0.0.236/trunk@81317 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:13:30 +00:00
peterlubczynski%netscape.com
afae9b0488 fix for plugin positioning and clipping, isolated to Mac. b=54962; r=dcone,kmcclusk; a=buster
git-svn-id: svn://10.0.0.236/trunk@81313 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 21:45:39 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00
mjudge%netscape.com
5446d27b85 r=kin a=buster. fix has to go to trunk first. bug 49772
git-svn-id: svn://10.0.0.236/trunk@81153 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:37:52 +00:00
waterson%netscape.com
6a911b0abb Bug 56115. Be sure to determine if CanContinueTextRun() while walking *down* as well as across. r=buster, a=sfraser
git-svn-id: svn://10.0.0.236/trunk@81083 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:44:53 +00:00
buster%netscape.com
09d59fd2f9 backed out my/waterson's potential fix for bug 43914
this fixes bug 56102
a=waterson


git-svn-id: svn://10.0.0.236/trunk@81037 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-12 20:30:43 +00:00
rickg%netscape.com
4299d43cc1 WIP for bug 55095; sr=buster, r=attinasi, sfraser
git-svn-id: svn://10.0.0.236/trunk@80976 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:40:42 +00:00
waterson%netscape.com
447bf672b1 Bug 54005. Test if frame CanContinueTextRun() before advancing to its sibling. r=karnaze, a=buster
git-svn-id: svn://10.0.0.236/trunk@80749 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 22:03:03 +00:00
buster%netscape.com
59b79617a9 bug 29276 (text inside <label> tags within a table cell breaks out of table cell)
bug 1164 (ALIGN=MIDDLE and ALIGN=ABSMIDDLE values are not being supported)
bug 54119 (percentage (%) image (img) heights do nothing)
r=karnaze, rods, attinasi
a=waterson


git-svn-id: svn://10.0.0.236/trunk@80746 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:19:36 +00:00
waterson%netscape.com
b2130a8875 Bug 55100. Re-order vtable so that nsFrame::Destroy will find the size in the right spot. This is a band-aid fix. r=buster, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@80744 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 21:10:05 +00:00
pierre%netscape.com
02ddc14d64 bug 1046: letter-spacing should apply on space characters too. r=erik+buster, a=michaell.
git-svn-id: svn://10.0.0.236/trunk@80722 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 08:39:29 +00:00
rpotts%netscape.com
d4188aa054 bug #55703 (sr=buster). Stop leaking images in nsBulletFrame...
git-svn-id: svn://10.0.0.236/trunk@80720 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 06:23:37 +00:00
waterson%netscape.com
1e7a248bab Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
pollmann%netscape.com
b7892bccb1 Bug 16346: Implement overflow:hidden support from frames and iframes. Fix by peterlubczynski, r=pollmann, sr=buster
git-svn-id: svn://10.0.0.236/trunk@80657 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 05:37:27 +00:00
vishy%netscape.com
16d8d879d8 sr=mscott, bugscape=2429, Shrimp crashes when closing some windows.
Solution is to release mPluginHost only if non-null.


git-svn-id: svn://10.0.0.236/trunk@80549 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 02:45:53 +00:00
karnaze%netscape.com
6d620a422b bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone.
git-svn-id: svn://10.0.0.236/trunk@80527 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:49:25 +00:00
danm%netscape.com
da8244bfdb fix horrible url loading regression introduced by previous revision. r=hyatt. bugs 44437,55275
git-svn-id: svn://10.0.0.236/trunk@80521 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 23:30:56 +00:00
kin%netscape.com
3c3f4d4d38 Fix for bug #53326 (can't select paragraph headers)
Modified HandlePress() to check for presence of
href value for anchors before bailing early.
This fix is already checked into the Netscape_20000922_BRANCH.
r=pinkerton@netscape.com sr,a=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@80347 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:38:17 +00:00
buster%netscape.com
68cc97ceff bug 54980
bug 50480 (list-item marker of link list overlaps)
r=karnaze
a=waterson


git-svn-id: svn://10.0.0.236/trunk@80310 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 04:17:36 +00:00
hyatt%netscape.com
027949517d Fix for 44437. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@80223 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-02 23:23:55 +00:00
peterlubczynski%netscape.com
9654c3e56d Deactivate double buffering for plugins plus fix up position and clip. bug 32327, bug 51787, bug 19931 bug 37126 r=sfraser,pchen a=buster
git-svn-id: svn://10.0.0.236/trunk@80104 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 23:29:26 +00:00
peterlubczynski%netscape.com
41bcbed581 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 r=buster a=karnaze
git-svn-id: svn://10.0.0.236/trunk@79915 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 22:45:31 +00:00
buster%netscape.com
2e806dc969 bug 50758 (text-align:right for text control doesn't render as you type)
r=sfraser
a=waterson
We now invalidate the line explicitly if text-align:right is set, because
our incremental painting is biased towards frames that grow to L2R.  This
is a heavy-handed workaround, but it ends up doing very little extra invalidation,
and uses an already existing mechanism by just setting an existing flag.


git-svn-id: svn://10.0.0.236/trunk@79722 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 06:03:39 +00:00
pollmann%netscape.com
b64b4cd23b Bug 51576: Fix a crash when resizing browser to zero height or width for frameset pages; Fix thanks to tobias.weibel@gmx.net; r=self, jst, vidur
git-svn-id: svn://10.0.0.236/trunk@79714 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 05:07:06 +00:00
mcafee%netscape.com
763ecf020b Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski
git-svn-id: svn://10.0.0.236/trunk@79679 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 00:21:24 +00:00
peterlubczynski%netscape.com
a45f923fc4 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 a=buster
git-svn-id: svn://10.0.0.236/trunk@79667 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:16:50 +00:00
erik%netscape.com
791ffe17b5 bug 4238; r/a=ftang,buster,waterson; added language specific transforms so
that we can do things like U+005C -> U+00A5 (backslash -> yen sign for ja)


git-svn-id: svn://10.0.0.236/trunk@79661 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:00:32 +00:00
locka%iol.ie
b3b9b2c9a7 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha
git-svn-id: svn://10.0.0.236/trunk@79623 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:23:53 +00:00
heikki%netscape.com
82a70c8b59 Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods.
git-svn-id: svn://10.0.0.236/trunk@79545 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 21:47:04 +00:00
mjudge%netscape.com
81021b1142 fixing 34356. hack to get clickng before table working beta3+
git-svn-id: svn://10.0.0.236/trunk@79312 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:02:05 +00:00
buster%netscape.com
871bd8d7c0 bug 18445
r=karnaze
This bug fixes the way we treat placement of replaced inline elements when
they have display:block.


git-svn-id: svn://10.0.0.236/trunk@79281 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:20:07 +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
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
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
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
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
buster%netscape.com
cba0baa8a4 just cleaning up a warning, found during fix for bug 52307
git-svn-id: svn://10.0.0.236/trunk@79082 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:50:56 +00:00