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

2089 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com 41f6039492 fixing 34356. hack to get clickng before table working beta3+ 2000-09-15 07:02:05 +00:00
buster%netscape.com f87c8ffd34 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 fa7f4ce180 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 a2fa9edcb5 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 e8714aaa82 hoarkage fix. need a.get on pointer compare on unix for comptrs 2000-09-14 09:42:18 +00:00
pinkerton%netscape.com a20b67ad5f 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 b344cd087c 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 d76d189da3 just cleaning up a warning, found during fix for bug 52307 2000-09-14 05:50:56 +00:00
pollmann%netscape.com 5d485e3f9c Bug 3326: Implement IsIndex frame; r=kmcclusk 2000-09-14 04:43:31 +00:00
rayw%netscape.com 6cc70ebd6c 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 192125c9de 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 b7f01bd9f9 bug fix for mjudges bug #45387
r=anthonyd
2000-09-13 00:05:29 +00:00
attinasi%netscape.com 7d4c6525ad 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 c822140f89 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 3f6567dd27 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 a7e985a6f9 Fix for bug #51780
-r pinkerton
2000-09-12 20:19:11 +00:00
nisheeth%netscape.com 8593ccdc95 r=rpotts. Fix for nsbeta3+ bug 39368. 2000-09-12 00:35:11 +00:00
peterlubczynski%netscape.com 9f74d9db3a 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 1a114c0aa0 Fixing error codes. r=waterson. 2000-09-11 22:56:15 +00:00
buster%netscape.com e727b2ee2d checking in fix for unix compiler, stupid nsCOMPtr x-platform incompatibility. 2000-09-11 21:43:46 +00:00
buster%netscape.com 4972e8aa20 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 ec30cf04f8 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
dougt%netscape.com 0af5fcab2b Fixes 51759. If we ship without a plugin manager as we can do for embedding, we crash loading most pages with plugins. This change basically returns an error from Reflow if we cant get the plugin manager component. r=valeski 2000-09-11 20:27:25 +00:00
jst%netscape.com 585c9cdc89 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
pnunn%netscape.com c6b9835eb3 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
jst%netscape.com e1cc209d62 Fixing nsbeta3+ bug 48763. <frame src=' '> caused an infinite loop if the base URL for the frame happens to be the URL for the containing frameset. r=pollmann@netscape.com&nisheeth@netscape.com 2000-09-08 06:56:15 +00:00
heikki%netscape.com 8b84d1fb06 Got delayed with changed files, here is the second patch... Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki. 2000-09-07 21:03:26 +00:00
sean%beatnik.com 090158fb37 fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan 2000-09-05 23:40:07 +00:00
ftang%netscape.com 7c5bbad557 fix bug 50849. thanks kin@netscape.com for the patch. r=ftang 2000-09-05 21:19:23 +00:00
edburns%acm.org 7b7a548b33 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
dbaron%fas.harvard.edu d415d67ba1 Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com 2000-09-04 21:45:47 +00:00
dbaron%fas.harvard.edu 37748e21f8 Don't apply top margin to a block containing only floaters. Let it collapse through instead. b=44419
Only do the quirky fix for bug 37657 for tables, not all blocks.  b=43086
r=buster@netscape.com
2000-09-04 21:44:48 +00:00
av%netscape.com 328cd066e8 Fixing #44993, added style visibility check to the object frame, r=buster 2000-09-03 20:54:26 +00:00
jst%netscape.com 0eb491f041 Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com 2000-09-01 07:05:08 +00:00
mstoltz%netscape.com 584d022386 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
kin%netscape.com 9b629257f0 Fix for bug #35899 (Page scrolls on selecting text in position:relative div)
- Rewrote the auto-scrolling code to handle the fact that events are now passed
    directly to frames, even though the mouse is outside the window, and the frame
    is not in the clip view. The old code assumed that the viewport frame always
    caught and handled the event, which was the way it used to be.
  - AutoScroll methods now give the option of scrolling parent scrollable views.

r=jfrancis@netscape.com

Fix for bug #49467 (Spell checking not working in composer or NS 6 IM )

  - We no longer throw an error if we are trying to scroll the selection
    into view, when the selection is in a view that has no parent scrollable
    view ... we just return NS_OK and do nothing.

r=syd@netscape.com
2000-08-30 19:42:47 +00:00
jfrancis%netscape.com db88aae69b disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al 2000-08-29 19:55:16 +00:00
jfrancis%netscape.com 2a03e0cb61 restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine. 2000-08-29 06:37:12 +00:00
jfrancis%netscape.com 2c58517b0e i'm an idiot 2000-08-29 05:43:03 +00:00
jfrancis%netscape.com 8cd1b753ec turns out that selection code is used even when outputing an entire document (beats me why); disabling my changes so that text field output will work again. 2000-08-29 03:09:54 +00:00
heikki%netscape.com 910b79d3f5 Fixed bug 46085. We were not firing the select event. This is the second half of the checkin... had some problems with CVS. jst is watching this checkin. r=mjudge. 2000-08-29 01:47:05 +00:00
jfrancis%netscape.com 42bf012ec4 fixing a warning 2000-08-29 00:31:53 +00:00
jfrancis%netscape.com adbfc57608 third time is the charm... 2000-08-29 00:07:32 +00:00
jfrancis%netscape.com 60b1f301d8 the end of ubercopy 2000-08-28 23:54:45 +00:00
jfrancis%netscape.com ac7350dccf fix for 46554: copy should grab parent nodes if all children selected; r=sfraser 2000-08-28 23:35:57 +00:00
anthonyd%netscape.com 3c9fec49a7 fix for bug# 43364
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge
2000-08-26 21:23:25 +00:00
jst%netscape.com cfbdba7868 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00
locka%iol.ie c52f68cce4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
waterson%netscape.com 97793a3c2c Fix build bustage. 2000-08-25 06:22:13 +00:00
waterson%netscape.com a6ad0e1bcd Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst 2000-08-25 06:03:49 +00:00