8345 Commits

Author SHA1 Message Date
pavlov%netscape.com
699a6c2a09 fix for table 64bit lameness. bug 98686. r=gisburnd sr=jst
git-svn-id: svn://10.0.0.236/trunk@102522 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 09:58:16 +00:00
cls%seawood.org
27a923b30f The AIX compiler cannot handle string literals inside of a triconditional statement so use named literals instead.
Thanks to David Baron <dbaron@fas.harvard.edu> for the patch.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@102518 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 07:33:15 +00:00
rjesup%wgate.com
8b0885ab65 bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102448 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:11:44 +00:00
attinasi%netscape.com
3742456a40 New testcase added. Not part of build
git-svn-id: svn://10.0.0.236/trunk@102417 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:18:48 +00:00
attinasi%netscape.com
30c0aaac9d New table layout regression test. Not part of build
git-svn-id: svn://10.0.0.236/trunk@102416 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:18:10 +00:00
attinasi%netscape.com
cf6ab32fb9 Added table layout regression test for bug 97619. Not part of build
git-svn-id: svn://10.0.0.236/trunk@102414 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 17:49:46 +00:00
attinasi%netscape.com
52e9a07c29 New table layuout regression test: not part of build.
git-svn-id: svn://10.0.0.236/trunk@102413 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 17:40:55 +00:00
blizzard%redhat.com
43506cd4ce Fix bug #97851. Make sure that file permissions are set properly on the temporary file used for file uploads. r=pete, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@102407 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:25:15 +00:00
bzbarsky%mit.edu
bafa24e23a Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar.  So ParseRule() has to return an array of
rules, not just a rule.  r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@102406 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:14:35 +00:00
hyatt%netscape.com
36a8713c53 Missed another file from 93180.
git-svn-id: svn://10.0.0.236/trunk@102372 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 02:21:55 +00:00
av%netscape.com
c2b06c9bd5 Fixing bug 96804 -- isReplaced is not set for object frames created with <embed> tag, patch by timkoogleblowsgoats@yahoo.com, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102365 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:26:14 +00:00
attinasi%netscape.com
e0458cee7d Two QuirkMode only fixes: 1) prevent bullets from getting resized with LI and 2) collapse margins for empty elements in BODY and table cells. b=97351 r=pierre sr=waterson b=97361 r=pierre sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@102363 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 01:22:55 +00:00
waterson%netscape.com
43c613727c 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
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
karnaze%netscape.com
10f9310e62 bug 95688 - null check on base url which might fix the talkback reports. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@102295 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 14:05:01 +00:00
jaggernaut%netscape.com
234588f481 Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc
git-svn-id: svn://10.0.0.236/trunk@102292 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 10:46:45 +00:00
edburns%acm.org
753ec174c7 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.


git-svn-id: svn://10.0.0.236/trunk@102266 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:58:34 +00:00
peterlubczynski%netscape.com
4ff5889753 Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@102257 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 02:45:48 +00:00
rbs%maths.uq.edu.au
8cedb518ee Back-end to allow viewsource to toggle wrapping of long lines. b=22022 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@102241 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:02:58 +00:00
waterson%netscape.com
388df343a1 Bug 55086. Be sure to position child views, too! r=dbaron, sr=attinasi, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@102090 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 20:14:31 +00:00
rpotts%netscape.com
991a9fc8f4 removed default value from FlushPendingEvents(...) boolean argument. This was introduced by the patch for bug #97227
git-svn-id: svn://10.0.0.236/trunk@102080 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 08:13:16 +00:00
dbaron%fas.harvard.edu
9a632e0396 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
git-svn-id: svn://10.0.0.236/trunk@102072 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5f0d92745b Backing out unapproved checkin for bug 97227. a=brendan,blizzard
git-svn-id: svn://10.0.0.236/trunk@102064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
fc16d6b127 fix build bustage from bug #97227
git-svn-id: svn://10.0.0.236/trunk@102042 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 23:35:50 +00:00
rpotts%netscape.com
3d787fbce9 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
git-svn-id: svn://10.0.0.236/trunk@102039 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 21:47:45 +00:00
attinasi%netscape.com
69aebe1a55 Inline images no longer break text runs. b=32191 r=bernd,dbaron sr=waterson a=asa(obod)
git-svn-id: svn://10.0.0.236/trunk@101986 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 22:59:09 +00:00
dp%netscape.com
61882a59bc bug #14889 Lazy loading wallet dll r=morse,gagan sr=jband a=asa
git-svn-id: svn://10.0.0.236/trunk@101918 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 22:32:03 +00:00
rods%netscape.com
e5b30caae0 the dropdown will have a top border now.
Bug 88399 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101904 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 19:40:02 +00:00
attinasi%netscape.com
dc345bf724 [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
git-svn-id: svn://10.0.0.236/trunk@101861 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 00:35:08 +00:00
rods%netscape.com
9b5ed6bff4 Having it always size in Quirks mode, changing the sizing from clamping down to Nav 4.x size
to now obey border and padding.
Bug 96630, Bug 97139 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101853 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 23:28:24 +00:00
dbaron%fas.harvard.edu
107dbc9e85 Correct fix for 96414: the 'font' shorthand requires both size and face. r=rods sr=attinasi a=chofmann
Forgotten half of fix for 47149: make LABEL a normal inline element.  r=rods  sr=attinasi  a=asa


git-svn-id: svn://10.0.0.236/trunk@101841 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 20:56:12 +00:00
rods%netscape.com
ef8425d65f Oops, I didn't check in the right fix. I checked in some code I was using for debugging
Here is the fix/patch that was in Bug 96367 r=timeless sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101835 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 14:12:52 +00:00
rods%netscape.com
845510c32c Refixing style for buttons for fix Bug 96630
git-svn-id: svn://10.0.0.236/trunk@101834 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 13:59:37 +00:00
rods%netscape.com
3c1670a022 Using -moz-fixed for textareas, the size is not "hooked" to the browser's default fixed size now
but will be when fixed to -moz-fixed get put in for 0.9.5
Bug 96414 r=rbs sr=hyatt a=asa


git-svn-id: svn://10.0.0.236/trunk@101833 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 12:22:48 +00:00
rods%netscape.com
e9dffa5ce4 Uses Quirks sizing all the time and now obeys border and padding instead of clamping down to Nav 4.x sizing
Bug 96630 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101832 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 12:19:11 +00:00
rods%netscape.com
4511e22fcf Having it always size in Quirks mode, changing the sizing from clamping down to Nav 4.x size
to now obey border and padding.
Bug 96630 r=dcone sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101831 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 11:44:28 +00:00
rjesup%wgate.com
288182f644 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.


git-svn-id: svn://10.0.0.236/trunk@101822 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu
e5125b7d8c 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
git-svn-id: svn://10.0.0.236/trunk@101810 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-26 18:33:57 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
dbaron%fas.harvard.edu
15963ce5ed Fix FMR with a band-aid on top of a band-aid, at least until we figure this one out for real. b=93105 r=jag sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@101750 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 14:00:49 +00:00
dbaron%fas.harvard.edu
96bf1bc30f Make LABEL act like an inline element rather than inline-block by removing lots of special (and not-well-tested) logic from nsLabelFrame and making it inherit from nsInlineFrame. This means LABEL will essentially always have 'display: inline', but it's hard to avoid that as long as form controls are implemented in frames rather than content. b=47149 r=rods sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@101749 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 13:58:53 +00:00
dp%netscape.com
793d0d0caf bug# 96469 caching xbl service r=jag, sr=waterson, a=asa
git-svn-id: svn://10.0.0.236/trunk@101711 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 20:07:10 +00:00
rods%netscape.com
ebbd7dca87 Disabling the auto radio seleciton and fixing a bug if it ever gets turned on
The bug is that when printing you don't want to do the auto default selection stuff because
it ends up calling into the DOM and changing the radios on the page.
Bug 96367 r=timeless sr=attinasi a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101700 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 11:09:16 +00:00
karnaze%netscape.com
4072b4f8d3 bug 48827 - round column width to even pixel when calculating percent column. sr=attinasi,r=bernd
git-svn-id: svn://10.0.0.236/trunk@101622 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:24:10 +00:00
karnaze%netscape.com
fd3fccbde9 bug 89315 - made CalculateRowHeights incremental by starting at a row other than the 1st. Row group dirty reflow passes in first reflowed row. sr=waterson,r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@101620 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 04:18:48 +00:00
dcone%netscape.com
19670eec75 b=73884 r=peterl sr=attinasi invert mode support added
git-svn-id: svn://10.0.0.236/trunk@101560 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 22:37:17 +00:00
brendan%mozilla.org
6abf5e7f73 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.


git-svn-id: svn://10.0.0.236/trunk@101544 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 20:51:34 +00:00
bernd.mielke%snafu.de
f5274636fb handle captions and innertable frames identical if the containing block is to small,
bug 76726 r=karnaze sr=waterson


git-svn-id: svn://10.0.0.236/trunk@101530 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 19:31:53 +00:00
rjesup%wgate.com
02427b265c bug 93830. patch by gisburn. r=dcone@netscape.com, r=timeless,
sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@101521 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 18:43:55 +00:00
rods%netscape.com
bd6fc5b878 Oops, left in a rule I used for testing.
It's removed.


git-svn-id: svn://10.0.0.236/trunk@101510 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 15:12:45 +00:00
rods%netscape.com
48fbd4f113 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@101502 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 14:01:55 +00:00