Граф коммитов

2117 Коммитов

Автор SHA1 Сообщение Дата
mstoltz%netscape.com f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
mjudge%netscape.com 1dd2be8f0d r=kin a=buster. fix has to go to trunk first. bug 49772 2000-10-13 22:37:52 +00:00
waterson%netscape.com 20edcce927 Bug 56115. Be sure to determine if CanContinueTextRun() while walking *down* as well as across. r=buster, a=sfraser 2000-10-13 00:44:53 +00:00
buster%netscape.com cd5b97553d backed out my/waterson's potential fix for bug 43914
this fixes bug 56102
a=waterson
2000-10-12 20:30:43 +00:00
rickg%netscape.com 2d7911145f WIP for bug 55095; sr=buster, r=attinasi, sfraser 2000-10-11 23:40:42 +00:00
waterson%netscape.com 072a02200b Bug 54005. Test if frame CanContinueTextRun() before advancing to its sibling. r=karnaze, a=buster 2000-10-09 22:03:03 +00:00
buster%netscape.com 13899dbffa 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
2000-10-09 21:19:36 +00:00
waterson%netscape.com c080ea9b7e 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 2000-10-09 21:10:05 +00:00
pierre%netscape.com 195136278b bug 1046: letter-spacing should apply on space characters too. r=erik+buster, a=michaell. 2000-10-09 08:39:29 +00:00
rpotts%netscape.com 5b6a19400c bug #55703 (sr=buster). Stop leaking images in nsBulletFrame... 2000-10-09 06:23:37 +00:00
waterson%netscape.com 883ea58a61 Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt 2000-10-09 03:08:41 +00:00
jst%netscape.com 6ea631e28c 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
2000-10-07 10:57:30 +00:00
pollmann%netscape.com 4808c70577 Bug 16346: Implement overflow:hidden support from frames and iframes. Fix by peterlubczynski, r=pollmann, sr=buster 2000-10-07 05:37:27 +00:00
vishy%netscape.com 53d03b49e8 sr=mscott, bugscape=2429, Shrimp crashes when closing some windows.
Solution is to release mPluginHost only if non-null.
2000-10-06 02:45:53 +00:00
karnaze%netscape.com c8ba15ed54 bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone. 2000-10-05 23:49:25 +00:00
danm%netscape.com a37c0efa92 fix horrible url loading regression introduced by previous revision. r=hyatt. bugs 44437,55275 2000-10-05 23:30:56 +00:00
kin%netscape.com 2127db55fe 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
2000-10-04 13:38:17 +00:00
buster%netscape.com 2c272b9573 bug 54980
bug 50480 (list-item marker of link list overlaps)
r=karnaze
a=waterson
2000-10-04 04:17:36 +00:00
hyatt%netscape.com 009a955c80 Fix for 44437. r,a=waterson 2000-10-02 23:23:55 +00:00
peterlubczynski%netscape.com 3c353a9435 Deactivate double buffering for plugins plus fix up position and clip. bug 32327, bug 51787, bug 19931 bug 37126 r=sfraser,pchen a=buster 2000-09-28 23:29:26 +00:00
peterlubczynski%netscape.com 641809a1df Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 r=buster a=karnaze 2000-09-22 22:45:31 +00:00
buster%netscape.com 8b236e6e67 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.
2000-09-21 06:03:39 +00:00
pollmann%netscape.com 54719150b3 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 2000-09-21 05:07:06 +00:00
mcafee%netscape.com 7fd3e47dd6 Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski 2000-09-21 00:21:24 +00:00
peterlubczynski%netscape.com c52dd84ce8 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 a=buster 2000-09-20 23:16:50 +00:00
erik%netscape.com 033206ebf0 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)
2000-09-20 23:00:32 +00:00
locka%iol.ie b78abdf560 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
heikki%netscape.com c3c301798c 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. 2000-09-19 21:47:04 +00:00
mjudge%netscape.com 56c4834a21 fixing 34356. hack to get clickng before table working beta3+ 2000-09-15 07:02:05 +00:00
buster%netscape.com bb994f0ca7 bug 18445
r=karnaze
This bug fixes the way we treat placement of replaced inline elements when
they have display:block.
2000-09-15 06:20:07 +00:00
mjudge%netscape.com 1ea0763f86 fixing sun/sparc i guess it didnt like the inline if/else statement. separating out. 2000-09-14 13:23:31 +00:00
mjudge%netscape.com e2be918716 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 2000-09-14 11:45:01 +00:00
mjudge%netscape.com 77fce2df49 hoarkage fix. need a.get on pointer compare on unix for comptrs 2000-09-14 09:42:18 +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
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
buster%netscape.com 829ab5c58e just cleaning up a warning, found during fix for bug 52307 2000-09-14 05:50:56 +00:00
pollmann%netscape.com 929928c472 Bug 3326: Implement IsIndex frame; r=kmcclusk 2000-09-14 04:43:31 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jdunn%netscape.com e6f144c78e Fix warning: return value is required from functions
r= brendan@mozilla.org scc@mozilla.org
#= 52254
2000-09-13 14:11:51 +00:00
anthonyd%netscape.com 408d1057ca bug fix for mjudges bug #45387
r=anthonyd
2000-09-13 00:05:29 +00:00
attinasi%netscape.com 1fd5ba1fd2 Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze 2000-09-12 22:47:09 +00:00
attinasi%netscape.com 33c7174943 Added a new method to allow a frame to specify the frame that provides its parent style context. b=45210 r=karnaze 2000-09-12 22:45:33 +00:00
heikki%netscape.com 5a54ae35f1 Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge. 2000-09-12 20:54:41 +00:00
evaughan%netscape.com c2a4af64f0 Fix for bug #51780
-r pinkerton
2000-09-12 20:19:11 +00:00
nisheeth%netscape.com 1a24a39b49 r=rpotts. Fix for nsbeta3+ bug 39368. 2000-09-12 00:35:11 +00:00
peterlubczynski%netscape.com 68cb6aabee fix for bug 50432. PRPackedBools compressed to one flag. mAutoBuffer size reduced to 128. r=buster 2000-09-12 00:00:58 +00:00
dougt%netscape.com 09a4bb02bb Fixing error codes. r=waterson. 2000-09-11 22:56:15 +00:00
buster%netscape.com 05f2509eec checking in fix for unix compiler, stupid nsCOMPtr x-platform incompatibility. 2000-09-11 21:43:46 +00:00
buster%netscape.com 11241fb485 bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it
2000-09-11 21:15:02 +00:00
buster%netscape.com 37e900a62c bug 28811
r=karnaze
The problem was we were over-eager in optimizing away a resize reflow for lines
that contain %-aware children.  We were only looking at the first-level children
of a line, not all the children.  Now, we compute a bit for each inline container
based on it's children, true if any of them are %-aware wrt any width measurement.
We propogate this bit upwards to a bit on the line itself, and check this bit during reflow.
2000-09-11 20:46:44 +00:00