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

2583 Коммитов

Автор SHA1 Сообщение Дата
av%netscape.com 2e25246c6d Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi 2001-09-25 22:04:24 +00:00
rods%netscape.com 4d11ab38a1 Removed setting page height to 5 pages when printing a document "AsIs"
Also, added special case code for sizing of "AsIs" documents when they
are positioned 0,0
Bug 100797 r=kmcclusk sr=attinasi
2001-09-25 13:00:04 +00:00
attinasi%netscape.com c4b5ba5576 Don't allow consecutive images to wrap in table cells with percentage width. r=kmcclusk sr=waterson b=100568 2001-09-25 06:31:46 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
karnaze%netscape.com 66046cb3f7 bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi. 2001-09-24 14:48:38 +00:00
pchen%netscape.com e711f7fa3e Fix for smoketest blocker 100702, remove extra lines caused by misapplied
patch for bug 98107
2001-09-21 20:19:39 +00:00
kin%netscape.com df98e67e74 Fix for bug #92215: [Table Printing] Mozilla crashes when printing the front page of slashdot
Modified nsBlockFrame::ReflowDirtyLines() so that it
removes any floaters on it's continuing frames list,
if they are on lines that are being pulled up.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com
2001-09-21 13:41:52 +00:00
waterson%netscape.com 7241191f29 Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi 2001-09-21 00:53:29 +00:00
karnaze%netscape.com e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
edburns%acm.org 0032f800c7 bug=98107
r=peterl
sr=rpotts

/* According to the HTML 4.01 spec, at
                       * http://www.w3.org/TR/html4/types.html#type-cdata
                       * ''User agents may ignore leading and trailing
                       * white space in CDATA attribute values (e.g., "
                       * myval " may be interpreted as "myval"). Authors
                       * should not declare attribute values with
                       * leading or trailing white space.''
                       */
2001-09-19 03:34:17 +00:00
hyatt%netscape.com 18ad83890a Fix for 49874 and 98109, make iframes build their docshells and kick off their content load from frame construction, also enabling the primary content area to be dynamically shiftable. r=jag, sr=waterson 2001-09-19 01:53:00 +00:00
peterlubczynski%netscape.com 8727eab1d0 Implement plugin printing bug 27478 r=av,beard sr=attinasi 2001-09-18 02:11:09 +00:00
dbaron%fas.harvard.edu 3c55d5d6f3 Make fixed positioning code check for NS_AUTOOFFSET to fix positioning of auto-sized fixed positioned elements relative to bottom or right. b=98579 r=waterson sr=attinasi 2001-09-17 23:55:58 +00:00
attinasi%netscape.com 6787cc3c9b Fixing erroneous addition to previously reviewed and approved patch: b=97619 r=bernd sr=waterson 2001-09-17 23:13:57 +00:00
mkaply%us.ibm.com 051c211df1 #83698
r=beard, sr=jband
This code was previously r/sr for XP_UNIX. Because the OS/2 Java plugin is based on the Unix Java plugin, we need this fix too.
2001-09-14 21:16:19 +00:00
harishd%netscape.com c5efdc8321 98261 - reconcile the difference between the ContentSink's notion of depth and Layout's notion of depth. r=heikki, sr=attinasi. 2001-09-14 20:44:41 +00:00
peterlubczynski%netscape.com 3943a56f95 Fix for crash when checking for a sub document bug 96579 r=av sr=attinasi 2001-09-12 20:43:40 +00:00
waterson%netscape.com d76d3fdf0d Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt 2001-09-12 20:19:41 +00:00
peterlubczynski%netscape.com f94929cc86 Correct ussages of data= for object tags embedding documents bug 97799 r=dcone sr=attinasi 2001-09-12 04:00:52 +00:00
waterson%netscape.com e73674359b Bug 97383. Include the float's max-element-width in computation of the line's max-element-width so that we're guaranteed to place content next to a left floater. Revert some of the NOWRAP changes that should no longer be necessary. r=dbaron, sr=attinasi 2001-09-11 22:17:21 +00:00
jst%netscape.com 31c9d83acb Fixing bug 98828. Cache a few nsSpaceManager objects to avoid spending 43%cvs ci -m ! of the time spent in PresShell::ProcessReflowCommand() in new and delete. r=dbaron@fas.harvard.edu, sr=waterson@netscape.com 2001-09-11 00:55:05 +00:00
attinasi%netscape.com 2ddbc70494 Fixed performance issue by restricting the cases in which we traverse up the frame tree looking for a containing block with a real computed height. b=85016 r=karnaze sr=waterson 2001-09-11 00:12:28 +00:00
dbaron%fas.harvard.edu 9904d904df Change NS_SUCCEEDED check to null-check since GetDocument may return a null document. r=jag sr=waterson b=99056 2001-09-10 19:39:25 +00:00
attinasi%netscape.com f69167707b Tweaked the existing CalcQuirkContainingBlockHeight method to allows for percentage based elements in deeply nested blocks, instead of just elements that are directly in the BODY. b=85016 r=karnaze sr=waterson 2001-09-08 20:09:08 +00:00
attinasi%netscape.com 6507d5d128 Fix for image wrapping problems in table cells. b=97619 r=bernd sr=waterson 2001-09-08 19:26:34 +00:00
rjesup%wgate.com 3098b524ca bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi 2001-09-06 21:11:44 +00:00
waterson%netscape.com 48483431d2 Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi 2001-09-05 20:27:19 +00:00
karnaze%netscape.com a62ed45d11 bug 95688 - null check on base url which might fix the talkback reports. sr=kin, r=alexsavulov. 2001-09-05 14:05:01 +00:00
edburns%acm.org c87e337f09 r=peterl
sr=waterson
a=asa


modules/plugin/base/src/nsIPluginInstanceOwner.h
modules/plugin/base/src/nsPluginHostImpl.cpp
modules/plugin/base/src/nsPluginHostImpl.h
modules/plugin/base/src/nsPluginViewer.cpp
modules/oji/src/nsJVMManager.cpp
modules/oji/src/nsJVMManager.h
layout/html/base/src/nsObjectFrame.cpp
xpfe/global/resources/locale/en-US/region.properties


Here's what I did to fix this bug.

I pestered Rick Potts about the problem of
nsIWebBrowserChrome->SetStatus() not being synchronous.  He fixed that
under bug 97227.

Taking advantage of Rick's fix to 97227, I modified
nsIPluginInstanceOwner to have new method, ShowStatus(const PRUnichar
*aStatusMsg).  This is necessary to allow for localized messages to be
posted from the plugin, such as "Starting plugin for type
application/x-java-vm" or "Beginnen steckbar f�r Art
application/x-java-vm".

I modified all the implementations of nsIPluginInstanceOwner:

  layout/html/base/src/nsObjectFrame.cpp
  modules/plugin/base/src/nsPluginViewer.cpp

I inserted a call to nsIPluginInstanceOwner->ShowStatus() at the part
just before the big "whole damn app freezes when starting java" thing
happens.

I also modifed nsJVMManager.cpp ShowJavaConsole() to do the same.  These
are the two places I know of now that can start java.
2001-09-05 03:58:34 +00:00
peterlubczynski%netscape.com f9570a0602 Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi 2001-09-05 02:45:48 +00:00
waterson%netscape.com 07f0145166 Bug 55086. Be sure to position child views, too! r=dbaron, sr=attinasi, a=blizzard. 2001-08-31 20:14:31 +00:00
attinasi%netscape.com 0cbc8f3b4f Inline images no longer break text runs. b=32191 r=bernd,dbaron sr=waterson a=asa(obod) 2001-08-29 22:59:09 +00:00
attinasi%netscape.com 0df62e2ac6 [Checkin for alexsavulov] Improvement on patch for bug 93363. Fix for layout problem where shrinkwrapping of floats ignores padding. b=95511 r=dbaron sr=attinasi a=roc+moz 2001-08-28 00:35:08 +00:00
dbaron%fas.harvard.edu b6e47f6467 Make middle-click pasting put things in the right place by uncommenting code that ensures Y coordinate is more important than X coordinate and by making sure the code does the right thing in case of overlap. b=57913 r=bryner sr=kin a=chofmann 2001-08-26 18:33:57 +00:00
hyatt%netscape.com 62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
brendan%mozilla.org 6d895baf1d Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-21 20:51:34 +00:00
bernd.mielke%snafu.de 6c51b86add handle captions and innertable frames identical if the containing block is to small,
bug 76726 r=karnaze sr=waterson
2001-08-21 19:31:53 +00:00
rjesup%wgate.com f48461942b Bug 96132. ~nsTypedSelection misuses arrays. r=dbaron,
sr=jst@netscape.com sr=kin@netscape.com
2001-08-21 18:38:20 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
bryner%netscape.com c1b48b4601 Bug 66617 - if tabbing scrolls page, focus outline doesn't leave first link (second try). r=saari, sr=hyatt. 2001-08-18 07:25:52 +00:00
peterlubczynski%netscape.com fbeb63c657 Fix for crash on Mac when we don't have an mWidget, bug 83155 Browser crashes when trying to load html parameter test on mac, r=bnesse sr=waterson 2001-08-17 22:52:12 +00:00
blizzard%redhat.com b0f8b91746 Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org b00819c93c - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-17 09:52:55 +00:00
bryner%netscape.com 422834eff1 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
jgaunt%netscape.com 9f2f88aa48 fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
av%netscape.com 5893e07753 Fix for 89672 -- topembed, crash on exit with xpcom plugin, r=peterl, sr=waterson 2001-08-17 00:45:25 +00:00
peterlubczynski%netscape.com 73453e9057 Plugging leaking contentType from previous check-in. 2001-08-16 04:54:07 +00:00
peterlubczynski%netscape.com 196d33ffdc Fix for text/html and text/plain OBJECTs don't work bug 678 r=av sr=attinasi 2001-08-16 03:02:05 +00:00
av%netscape.com fe7e6cc3e7 Fix for 82980 -- check for SRC attribute in addition to DATA added, r=peterl, sr=attinasi 2001-08-16 00:14:14 +00:00
cls%seawood.org a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
attinasi%netscape.com 1e1e22c2a3 Checkin for AlexSavulov@netscape.com: fixes problem of block inside of a NOWRAP block causing incorrect sizing. b=93363, r=peterl sr=attinasi 2001-08-14 00:08:08 +00:00
bryner%netscape.com f108fef5b4 Bug 66617 - When tabbing between links on a page, the focus outline on the
previously focused link would not be redrawn if the tab caused the page to
scroll.  r=valeski, saari, sr=hyatt.
2001-08-10 23:50:05 +00:00
pavlov%netscape.com 1e20984ef0 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
bernd.mielke%snafu.de 46ebaf77da don't substract caption margins twice, bug 91057, r=karnaze sr=waterson 2001-08-09 05:24:14 +00:00
peterlubczynski%netscape.com 9fd40ef3a3 Fix for windowless plugins don't draw in the correct place when scrolled bug 93056 patch by dbrittain@superscape.com r=peterl sr=waterson 2001-08-07 01:50:32 +00:00
peterlubczynski%netscape.com 964ba1e659 Adding nsIDOMMouseMotionListener to fix Windowless plugins do not receive mouse/keyboard events bug 90574 r=av sr=waterson 2001-08-07 01:48:14 +00:00
karnaze%netscape.com 820c32c824 bug 80817 (checked in for alexsavulov) - removed table cell nowrap hack, repaired block nowrap. sr=waterson, r=karnaze. 2001-08-06 22:05:31 +00:00
hewitt%netscape.com 3203d18be2 93193 - cleaning up after align/pack xul box model changes, r=blake, sr=hyatt, 90741 - replacing box with hbox/vbox (from andersma@luther.edu), r=hewitt, sr=hyatt 2001-08-04 06:21:59 +00:00
harishd%netscape.com a51389e84f 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
pavlov%netscape.com 6c8b46593e adding a GetImageRequest method to allow access to the image stuff. r=valeski sr=waterson 2001-08-03 21:11:03 +00:00
waterson%netscape.com ecbcce00ce Bug 92190. Add anonymous children to nsIContent::List() output, add gdb-callable routines for listing frame and content trees. r=hyatt, sr=jst 2001-08-03 07:34:28 +00:00
waterson%netscape.com e13d9d68f5 Bug 92977. Remove redundant |MoveViewTo()| call. sr=attinasi. 2001-08-03 07:18:35 +00:00
bnesse%netscape.com 7a05d18145 Fix for bug 93305. Remove unnecessary prefs code. r=dbaron, sr=attinasi. 2001-08-02 20:48:04 +00:00
bratell%lysator.liu.se d391c71616 Bug 91669 - use AppendInt instead of sprintf to convert from number to nsString. r=dbaron, sr=attinasi 2001-08-02 12:12:53 +00:00
peterlubczynski%netscape.com bd1f73175a Move code for showing content viewer out of object frame, part of bug 93105 r=av sr=waterson 2001-08-02 00:03:29 +00:00
waterson%netscape.com 4cc8c3da8d Bug 79486. Make sure that |MoveChildrenTo()| correctly updates the NS_FRAME_HAS_CHILD_WITH_VIEW flag when moving child frames into the new {ib} split frames. r=dbaron, sr=attinasi. 2001-08-01 04:37:17 +00:00
dbaron%fas.harvard.edu 5c0b6349e6 Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into new Destroy method so it happens at the end of paint suppression. Also clean up nsDocumentViewer.cpp a bit. b=80203,89626 r=hyatt sr=waterson 2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu fb0cc1ea35 Clean up if-else cascade by condensing into one big logical expression. Based on patch by Ulrich Drepper <drepper@cygnus.com>. r=jag sr=waterson b=89791 2001-08-01 03:09:59 +00:00
dbaron%fas.harvard.edu 3d51f4ce1a Split nsHTMLReflowMetrics into a separate file (nsHTMLReflowMetrics.h rather than nsIFrame.h). b=64023 r,sr in {waterson, attinasi} 2001-08-01 01:27:50 +00:00
dbaron%fas.harvard.edu 0ab924e19b Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443. 2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu ff52e9e58d Use nsAutoVoidArray for stack-based nsLineLayout to reduce allocations. r=jag sr=waterson b=90727 2001-07-25 05:20:09 +00:00
dbaron%fas.harvard.edu b4ea38686f Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson 2001-07-25 05:16:32 +00:00
dbaron%fas.harvard.edu e80523e577 Fix imagemap COORDS parsing function to handle whitespace correctly, which coincidentally fixes a crash that I don't understand. b=91432 r=jag sr=waterson 2001-07-25 05:14:18 +00:00
dbaron%fas.harvard.edu 5948e0ab2d Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson 2001-07-25 04:30:59 +00:00
shanjian%netscape.com f44e81b6c1 #41461
This checkin correct a minor leftout in previous checkin.
r=rbs@math.uq.edu.au  sr=attinasi
2001-07-24 22:48:54 +00:00
av%netscape.com 2687f126fc Fix for bug 90152 -- corrected logic for displaying an alt content of the object tag, r=peterl, sr=watercon 2001-07-24 22:45:14 +00:00
shanjian%netscape.com 0f3690298d #41461 Japanese is not wrapped in correct position compared with ascii.
r/sr = attinasi
We should use document langGroup to load font and check width. Locale langGroup will not work well.
2001-07-24 21:45:45 +00:00
dcone%netscape.com 51d15da933 b=91321 r=peterl sr=attinasi. Moved margins in by .25 inches. 2001-07-24 13:53:52 +00:00
mjudge%netscape.com 9d539a0e0f 82993, 87662 fixes for caret going into generated content. adjusting the content snapping to the best X value not Y value for up/down clicking. This will not cause a problem with the different size text but it MAY cause a problem with inline positioned elements. 2001-07-19 23:32:07 +00:00
dbaron%fas.harvard.edu fc01a17366 Make the width of floats with |width: auto| depend only on the width of the containing block and the contents of the float and not on the available space. Remove the loop calling ReflowFloater at different positions that is no longer needed, and remove the caching of the max element size for that loop that was not being invalidated correctly between reflows. Fix handling of margin, border, and padding for computation of available width for |width: auto| floaters. r=attinasi sr=waterson b= 85876, 82314, 82315, 85216, 85874, 86746 2001-07-19 02:33:43 +00:00
dcone%netscape.com 8996f25951 bug = 82573, make sure the mMargin is initialized. r=attinasi sr=peterl 2001-07-18 20:57:10 +00:00
pollmann%netscape.com e14232c54a Bug 43410: Correct z-index ordering of iframes. Passing in initdata that tells the widget it needs to clip sibling and child widgets prevents overlapping iframes from painting on top of one another. Fix includes work by beard@netscape.com. r=beard@netscape.com,self sr=jst@netscape.com 2001-07-18 08:23:57 +00:00
jst%netscape.com 88d48dc0c5 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
attinasi%netscape.com 2f718a0c5f Misplaced #endif - fixed for opt builds 2001-07-17 22:02:11 +00:00
attinasi%netscape.com 91593a2f9f Checkin for alexsavulov@netscape.com: b=80396 r=rbs sr=attinasi new debug method added to dump frames 2001-07-17 21:30:17 +00:00
attinasi%netscape.com fddb052315 Checking in for alexsavulov@netscape.com: added debug method to allow dumping of all frames from anyplace in the code. r=rbs@maths.uq.edu.au sr=attinasi@netscape.com b=80396 2001-07-17 21:29:08 +00:00
attinasi%netscape.com 33c1722127 Fixed regression (bug 90503) by restricting the full-view invalidate to the case where the height has decreased (instead of just changed). r=karnaze, sr=waterson b=86852 2001-07-17 19:35:23 +00:00
pavlov%netscape.com 8aaaf796a4 part of bug 78690. r=bryner sr=jst 2001-07-17 01:14:40 +00:00
dbaron%fas.harvard.edu aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
peterlubczynski%netscape.com 5c0a9158c3 Fix for Shockwave games not working bug 90173 r=av sr=attinasi 2001-07-14 01:36:45 +00:00
jst%netscape.com 53fe4bfab6 Fixing bug 66022, recurse to death if image attributes are touched from an images onload handler when the image is loaded from the cache. r=pavlov@netscape.com, sr=attinasi@netscape.com 2001-07-11 05:44:12 +00:00
bnesse%netscape.com 345a818aba Fix for bug 85231. Free nsTimer in PluginInstance to eliminate MLK and crash caused by it. r=av, peterl. sr=scc. 2001-07-11 02:29:45 +00:00
peterlubczynski%netscape.com a3703928fc Slightly change pluign timer interval to fix url bar on Mac bug 88936 r=bnesse sr=sfraser 2001-07-10 03:59:39 +00:00
peterlubczynski%netscape.com 7d9fc3deba Fix for crash with garbage in nsGUIEvent bug 87112 sr=sfraser r=ccarlen 2001-07-10 02:52:50 +00:00
waterson%netscape.com 26d31464b4 Bug 90054. Remove unnecessary methods from nsIImageFrame. r=dbaron, sr=attinasi. 2001-07-10 01:30:08 +00:00
waterson%netscape.com cdfddbfa3a Bug 89076. Remove unneccessary methods. r=dbaron, sr=attinasi. 2001-07-09 23:33:28 +00:00
waterson%netscape.com c68f8fe6bc Bug 89533. Remove unused reflow command types. r=rbs, sr=attinasi 2001-07-09 22:44:07 +00:00
shanjian%netscape.com 49936baba8 #77394 incorrect handling of empty text nodes
r=waterson, sr=attinasi
2001-07-09 20:47:58 +00:00
attinasi%netscape.com 0929067509 Fix for bad invalidation/painting when deleting lines of text at the end of a document or mail message. b=86852 r=alexsavulov sr=waterson 2001-07-05 19:26:30 +00:00
mjudge%netscape.com 0eb68dfeb6 PDT+ 88164 backing out of bad bug for keyboard navigation. 2001-07-05 19:11:32 +00:00
dcone%netscape.com fcb8514b6f bug=86875 took out some dead code. r=dcone sr=attinasi 2001-07-05 14:25:55 +00:00
waterson%netscape.com 123a705ccd Bug 87543. Don't try to do arithmetic when psd->mRightEdge == NS_UNCONSTRAINEDSIZE. r=rbs, sr=attinasi 2001-07-04 06:07:14 +00:00
waterson%netscape.com 5709f7405c Bug 85422. Since nsIContent::GetDocument() may now sometimes return a null document back-pointer due to paint suppression, be extra paraniod with a sprinkle of null-check fairy dust. r=brendan, sr=attinasi 2001-07-04 05:54:09 +00:00
dbaron%fas.harvard.edu 5c00ae3d05 Add two Korean list styles (-moz-hangul and -moz-hangul-consonant) and rename existing list-style-type values that are our extensions to use -moz- prefix. Patch from Jungshik Shin <jshin@pantheon.yale.edu>. r=dbaron sr=attinasi b=63574 2001-07-04 02:05:59 +00:00
dbaron%fas.harvard.edu 077fc4d427 Add some comments to code about issues that we should look at, remove some unused code, rename some unnecessarily-overloaded functions, fix some typos, and make a few minor style changes. b=88735 r=waterson sr=attinasi 2001-07-04 02:00:05 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
waterson%netscape.com e9ee70562c Bug 87381. Remove extra dirty reflow when BRS_ISINLINEINCRREFLOW. r=rbs, sr=attinasi. 2001-06-29 23:30:05 +00:00
dcone%netscape.com d3ef97497b bug=24406. Fix printing of blank text fields.. selection criteria was wrong. r=r=kmcclusk@netscape.com sr=attinasi 2001-06-29 05:32:56 +00:00
peterlubczynski%netscape.com d768cc430c Fix for Shockwave registration bug 85334 r=av sr=attinasi 2001-06-29 00:29:44 +00:00
simon%softel.co.il 71f6955270 Corrects the arguments in calls to GetBidiProperty. Bug 87610, r=mkaply, sr=kin. 2001-06-27 08:08:08 +00:00
anthonyd%netscape.com 673904e412 fix for 82151 -- Right arrow key at end of a TEXTAREA goes to the beginning
checking in for mjudge
r=cmanske, anthonyd
sr=kin
a=asa
2001-06-26 20:47:46 +00:00
anthonyd%netscape.com 46c896a943 backing out changes
a=asa@mozilla.org
2001-06-26 19:35:21 +00:00
anthonyd%netscape.com 27f8fd72a2 fix for 82151 - checking in mjudges patch for right arrow key fix for textarea
r=cmanske@netscape.com, anthonyd@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
2001-06-26 18:01:10 +00:00
tor%cs.brown.edu 25c43a19d0 Bug 87540 - nsImageFrame was offsetting invalidate rect by one pixel
for historical reasons (jpeg decoder used to one-index update rect).
r=kmcclusk, sr=blizzard
2001-06-25 22:14:37 +00:00
tor%cs.brown.edu bdec5a3e6c Bug 87550 - nsImageFrame wasn't adjusting for bordering padding when
invalidating itself.  r=kmcclusk, sr=blizzard
2001-06-25 22:12:15 +00:00
kin%netscape.com c1ab3021f5 Fix for bug #87133 Can't select last few lines of text in an Editor
Modified GetClosestLine() to include first (0) and last (n-1) line
in search if neccessary. Returned index should now be guaranteed to be
within 0 to n-1 when exiting main loop. Removed unused var and define,
added comments, and renamed countLines to numLines.

r=waterson@netscape.com,mjudge@netscape.com
sr=blizzard@mozilla.org
a=chofmann@netscape.com
2001-06-25 14:06:19 +00:00
mjudge%netscape.com fffedf28a1 86749 fix for "home key" scenario. we now search for 1st valid frame on a line. not just try the very first and fail. we now behave like "end key" does;. r=anthonyd sr=kin a=asa 2001-06-22 14:52:48 +00:00
peterlubczynski%netscape.com 85e16867b9 Oops...last log entry was for bug 86075 2001-06-22 07:06:24 +00:00
peterlubczynski%netscape.com f4b2a93398 Fix for <object> causing table width to be enormous patch by piskozub@iopan.gda.pl (Jacek Piskozub) r=peterl sr=jst/hyatt a=blizzard 2001-06-22 07:04:24 +00:00
ftang%netscape.com 3e782eb254 fix bug 84031. r=simon@softel.co.il sr=kin a=blizzard
fix GetBidiProperty
2001-06-21 12:35:48 +00:00
kin%netscape.com a9a12e6690 Fix for bug #86492 Double click does not bring up object props dialog.
- Fixed 'if' statement in nsFrame::GetContentAndOffsetsFromPoint()
    so that it checks contentOffset instead of the uninitialized aContentOffset.

r=jfrancis@netscape.com  sr=attinasi@netscape.com  a=blizzard@mozilla.org
2001-06-21 06:35:37 +00:00
mjudge%netscape.com 49536b7650 used false instead of PR_FALSE. 2001-06-20 06:40:48 +00:00
joki%netscape.com 2c8ad9eb1b Fix 83810, have frame unregister its window from the presShell when the window is destroyed. sr:jst, r:pollmann, a:dbaron 2001-06-20 06:20:26 +00:00
mjudge%netscape.com 18f1ea4a52 82993,52868,79511,82101 a=asa sr=kin. bugs that cross files. stopped generated content entrys into frames with caret and mouse navigation. and table cell navigation. 2001-06-20 04:48:10 +00:00
mjudge%netscape.com 3dadb0fce8 have to check for bidi on frame before executing bidi code. bug=39198 sr= kin, r=sfrasier a= asa 2001-06-20 04:40:17 +00:00
dbaron%fas.harvard.edu 9d35ed31a4 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
loadrunner%betak.net 91c70ee453 bug 85487, M091 crash at line breaker [@ nsJISx4501LineBreaker::Next],
r=ftang, sr=waterson, a=asa
2001-06-19 22:57:50 +00:00
av%netscape.com 1bd75f3811 Fixing 80105 -- adding check for null before release, r=peterl, sr=attinasi, a=roc+moz@cs.cmu.edu 2001-06-19 22:39:39 +00:00
pollmann%netscape.com cfa0ec9b73 Bug 68012: Allow frames in a frameset to be manually resized by dragging the border. This is accomplished by changing the reflow from a ResizeReflow, which was blocked by block to box adapter optimizations as the window had not changed size, to a ReflowDirtyChild. r=jst@netscape.com, sr=attinasi@netscape.com, a=drivers@mozilla.org (blizzard) 2001-06-19 08:29:13 +00:00
av%netscape.com ff513c7423 Fix for 44322 -- implementation of windowless pluign API, patch by dbrittain@superscape.com and av, r=(av, peterl), sr=attinase, a=dbaron 2001-06-18 21:41:57 +00:00
scc%mozilla.org a8fb409c6e bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
joe.chou%eng.sun.com 18436aed08 Bug 83698 - make sure browser creates proxy JNI before Java plugin doing it
which broke LiveConnect. a=dbaron, sr=jband, r=beard.
2001-06-15 03:23:11 +00:00
yokoyama%netscape.com fff83cbeae bug 72415:
allocate more word buffer in case of failure of ComputeWordFragmentWidth()
check in for shanjian@netscape.com
r=waterson, sr=attinasi a=blizzard
2001-06-13 21:48:43 +00:00
dcone%netscape.com ad1f9de8a8 Fixed the time in footer for printing. b=83655. r=rods sr=attinasi a=asa 2001-06-13 20:20:43 +00:00
dcone%netscape.com f8742c0380 Make the PageFrame not transparent for printing. b=82624 r=rods sr=attinasi a=asa 2001-06-13 20:14:38 +00:00
karnaze%netscape.com c6129b18b0 bug 76085 - remove the effects of the patch of bug 64645 against the current tree. a=asa, sr=attinasi, r=peterl 2001-06-13 02:42:47 +00:00
mjudge%netscape.com 9537d8b59b 82151 a=asa r=cmanske fix for hint setting only when successful move was made by caret 2001-06-13 00:00:55 +00:00
waterson%netscape.com 05dced413e Bug 42138. Remove ancient, unused {ib} code that causes the browser to hang. We don't need to descend into inlines looking for list-item frames anymore, because inlines cannot contain them: frame construction makes sure of that. r=rbs, sr=attinasi, a=dbaron. 2001-06-07 02:09:38 +00:00
pavlov%netscape.com 11c8370603 fixing bug 82520 r=jag sr=hyatt a=tor 2001-06-05 20:22:52 +00:00
peterlubczynski%netscape.com bf605eb2f2 Fix for BASE HREF not affecting applet bug 59430 patch by alexsavulov r=peterl sr=attinasi a=blizzard 2001-06-05 17:58:31 +00:00
shanjian%netscape.com e34e0f10e9 #19265 [TEXT] Word-wrap improperly breaks before space following last word [INLINE]
r = waterson
r/sr=attinasi a=asa
2001-06-05 02:40:27 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
rods%netscape.com bf413d89a7 makes sure the views for the pages that are not being printed are completely hidden
Bug 83138 r=kmclusk sr=attinasi a=dbaron
2001-05-30 21:19:46 +00:00
pollmann%netscape.com 1ac7a3715e Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org) 2001-05-30 11:26:21 +00:00
attinasi%netscape.com 470a41f127 Fixed crash when mouse move event is handled by image frame and the baseURI is null (after traversing to the link'd document). b=81728 r=pavlov@netscape.com sr=hyatt2netscape.com a=asa@mozilla.org 2001-05-26 05:46:33 +00:00
mjudge%netscape.com af97e71209 80937, null check for out of bounds on arrowing. r=cmanske sr=kin a=asa 2001-05-25 20:27:41 +00:00
roc+%cs.cmu.edu 8865fc53de Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard 2001-05-25 15:00:51 +00:00
kin%netscape.com 91badd7c66 Fix for bug #82566 (hang in nsTextFrame::GetPosition in BIDI code)
Fix for bug #81078 (UMR: nsTextFrame::GetPosition() when selecting text.)
Subtract mContentOffset from the index returned by the ip[] array, and
make sure this index is <= textLength.
r=mjudge  sr=sfraser  a=blizzard@mozilla.org
2001-05-25 13:20:38 +00:00
waterson%netscape.com ab25003da8 Bug 73291. Handle case where paint arrives before reflow for modified content. r=karnaze, sr=attinasi, a=asa 2001-05-24 18:40:45 +00:00