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

4035 Коммитов

Автор SHA1 Сообщение Дата
karnaze%netscape.com 93ca9c73ad bug 127286 (part I due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov 2002-12-04 00:25:43 +00:00
smontagu%netscape.com 47d763deeb Print and print preview must not animate images. Never. Not under any circumstances. Bug 182259, r=rods, sr=roc+moz 2002-12-03 21:24:05 +00:00
karnaze%netscape.com c7726efa2b bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser. 2002-12-03 16:02:42 +00:00
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
dbaron%fas.harvard.edu 77108322f1 Back out previous checkin. b=180711 2002-11-28 19:15:27 +00:00
dbaron%fas.harvard.edu 4e0d918fb7 Don't use default parameters for NS_NewAreaFrame. Make relatively positioned frames not use NS_BLOCK_WRAP_SIZE and NS_BLOCK_SPACE_MGR. b=180711 r=bzbarsky 2002-11-28 19:12:16 +00:00
sicking%bigfoot.com 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com b615fa9010 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
katakai%japan.sun.com 63ba04d8f5 bug 167866
code clean up
clean up comment line codes for nsPresShell.cpp
r=akkana,sr=roc+moz
2002-11-25 04:58:40 +00:00
smontagu%netscape.com b6780e6b5a Make Bidi symmetric swapping handle characters outside BMP. Bug 122800, r=mkaply, sr=darin 2002-11-22 23:49:29 +00:00
kin%netscape.com 5d19412ecc Fix for bug #176251 (Problems with nsContentIterator PRE traversal)
content/base/public/nsIContentIterator.h
  content/base/src/nsContentIterator.cpp
  content/base/src/nsGeneratedIterator.cpp
  content/build/nsContentCID.h
  content/build/nsContentModule.cpp
  embedding/components/find/src/nsFind.cpp
  layout/html/style/src/nsFrameContentIterator.cpp

  - Removed MakePre() and MakePost() from the nsIContentIterator interface.
  - Traversal must now be specified at time of creation.
  - Fixed nsContentIterator Init() methods so that they correctly calculate
    mFirst and mLast.
  - Modified PositionAt() to check if the node is in the traversal range.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2002-11-21 15:07:49 +00:00
karnaze%netscape.com b45c62b0be bug 178855 - don't support fixed, absolute, floating tables that are the root content. sr=bzbarsky, r=dbaron. 2002-11-18 16:02:43 +00:00
dbaron%fas.harvard.edu ca201674b5 Fix typos in my previous checkin noticed by bzbarsky. b=147887 2002-11-18 15:21:14 +00:00
rods%netscape.com ff4a3fb80d Make it so SetDocument doesn't get set when returning from PP
Bug 176201 r=dcone sr=jst
2002-11-18 14:34:09 +00:00
dbaron%fas.harvard.edu f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bryner%netscape.com e0e945ef10 Fixing topcrash bug 179548 (crash when closing tab via mouse gesture) by null checking the event target frame before dispatching the event the second time, since the first dispatch can nuke the frame. r=dbaron, sr=bzbarsky. 2002-11-15 00:59:28 +00:00
karnaze%netscape.com f2e25ec04e bug 119786 - don't consider a caption and row group frame to be siblings (caption and row group content are siblings). sr=kin, r=bernd. 2002-11-12 15:55:39 +00:00
dbaron%fas.harvard.edu 2a7ed19e4e Move the body background repainting hack from the reflow case to the framechange case, since roc's style hint processing changes make it no longer needed in the reflow case, but it's always been needed for the framechange case. b=175131 r=roc sr=kin 2002-11-12 11:17:55 +00:00
bzbarsky%mit.edu db47d25a00 Fix ScrollFrameIntoView if we have nested views with the child bigger
than the parent.  Bug 143815, r=roc+moz, sr=jst
2002-11-12 04:38:28 +00:00
bzbarsky%mit.edu 6b91dfe5ce ApplyRenderingChangeToTree should walk {ib} "special siblings". Bug
146409, r=dbaron, sr=roc+moz
2002-11-12 04:21:33 +00:00
bzbarsky%mit.edu 92d1146ffc Fix ReplaceChild() on positioned inlines to delegate to
nsAbsoluteContainingBlock.h.  Bug 176915, r=dbaron, sr=rbs
2002-11-12 03:30:13 +00:00
bryner%netscape.com 8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
alecf%netscape.com 348a43af99 prep for fixing bug 176559 - use getService rather than createInstance so we stop creating element factories
sr=peterv/jst, r=bzbarsky
2002-11-07 21:23:09 +00:00
bzbarsky%mit.edu c6d37749ae Fix crash closing prefs. Bug 150769, r=alexsavulov, sr=dbaron 2002-11-07 00:59:25 +00:00
dbaron%fas.harvard.edu 3d2853cfbf Miscellaneous performance improvements, mostly related to image loads. Cache a copy of the IO service on the Pres Context for use in starting image loads. b=170116 r=darin sr=bzbarsky 2002-11-06 12:58:05 +00:00
bzbarsky%mit.edu b840b8f912 ReframeContainingBlock needs to work on <body> and such too. Bug 74951,
r=caillon, sr=dbaron
2002-11-06 02:26:52 +00:00
timeless%mac.com 15e2521a6d Bug 77716 Scrollbar is loading asynchronously! - Trunk [@ nsCSSFrameConstructor::ConstructDocElementFrame] [@ .__ptr_glue - nsCSSFrameConstructor::ContentInserted]
patch by hyatt r=jag,dbaron sr=bz, a=dbaron
2002-10-24 03:11:53 +00:00
sicking%bigfoot.com 886cde781d Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa
2002-10-22 06:07:52 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu 837149d4f4 Make sure tr/td/tbody/etc elements with display:none end up in the
undisplayed content map.  Bug 151883, r=karnaze, sr=dbaron, a=asa
2002-10-16 03:06:03 +00:00
colin%theblakes.com 5ffe7b6c2b Fix misplaced #include. b=174527, r=caillon, sr=bzbarsky, a=shaver 2002-10-15 23:40:38 +00:00
bzbarsky%mit.edu 09fe043cd1 Fix build bustage. OS/2 and Sun Workshop won't do implicit type
conversions (like .get() on an nsCOMPtr) while trying to match a
template, apparently...  r=cls
2002-10-09 04:51:59 +00:00
bzbarsky%mit.edu 279ffda515 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
rods%netscape.com 855fd85355 This patch is a bit different, instead of having the DocShell figure out whether it or one of its children are printing or PP, it gets told whether it is, and it caches that value.
This was done so navigation is as fast as possible, meaning it doesn't have to figure it out each time.
The patch:
1) Adds a method to the nsIContentViewerContainer to tell it whether we are printing or in PP.
2) Fix up the DV and PrintEngine, the DV SetIsXXXX didn't need to set any
values in the PrintEngine, but now instead makes calls and sets the values in DocShells
3) Cleaned up and add a macro to nsIDocumentViewerPrint
Bug 171161 r=dcone sr=rpotts
2002-10-08 13:17:56 +00:00
caillon%returnzero.com 5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu 9c1884ca02 Don't resolve the positive and negative parts of collapsing margins too early when collapsing through empty blocks. A few bits of other cleanup. b=172892 sr=bzbarsky r=kin 2002-10-08 01:52:34 +00:00
bryner%netscape.com 1bb489617c Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls. 2002-10-05 02:49:02 +00:00
rods%netscape.com 51646a434c Impl print preview for mail and addrbook
Bug 158110 r=bienvenu sr=sspitzer
2002-10-03 10:48:59 +00:00
rods%netscape.com d8b1751919 Have the DV ref coun itself if the the DV is being Clsoed while printing or a pending print.
Bug 165445 r=dcone sr=rpotts
2002-10-01 21:57:15 +00:00
roc+%cs.cmu.edu 9702292275 Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin 2002-10-01 21:45:33 +00:00
dbaron%fas.harvard.edu 12c92754b3 Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227 2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu 88a7759322 Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
jkeiser%netscape.com 6506a49550 Fix crash on fixed position selects (Rick.Ju@sun.com's patch, bug 166750), r=dbaron@fas.harvard.edu, sr=kin@netscape.com 2002-09-26 23:51:23 +00:00
jkeiser%netscape.com f88cebcd5f Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-09-26 07:41:53 +00:00
aaronl%netscape.com 076b6d3c59 Bug 166791. Invisible insertion point after tabbing to text field when typeaheadfind is active. r=mjudge, sr=alecf 2002-09-26 00:07:53 +00:00
karnaze%netscape.com 395cdb5e1e bug 167915 - remove 2nd patch of bug 138725 and install the 1st. sr=kin, r=jkeiser. 2002-09-25 13:56:40 +00:00
bryner%netscape.com 2bd00f21bb Fix regression where select dropdowns would not draw on Linux if native theme support was enabled (bug 170672). Only call WidgetStateChanged() if the theme claims to support the widget in question; fix an incorrect frame being passed to WidgetStateChanged. r=hewitt, sr=hyatt. 2002-09-25 10:07:40 +00:00
karnaze%netscape.com 182417eb0a bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron 2002-09-24 21:02:20 +00:00
roc+%cs.cmu.edu 1b93fe2b31 Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin 2002-09-24 11:43:48 +00:00
hyatt%netscape.com e8710c1495 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
dougt%netscape.com 12080d3654 Fixes non idle timers. This is fixes a regression caused by the last timer changes. r=rpotts@netscape.com, sr-darin@netscape.com, b=167841. 2002-09-20 22:32:32 +00:00
rods%netscape.com 16849ef0da Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin
2002-09-19 21:45:07 +00:00
rpotts%netscape.com a87e45789b bug #93015 (r=darin/sr=jst) First patch that cleans up imglib use of LoadFlags and channel attributes... 2002-09-18 22:08:12 +00:00
roc+%cs.cmu.edu aa2fc24f2e Bug 153907. Give IFRAMEs their correct content-parent even though they construct their views in the wrong order. r=jkeiser,sr=kin 2002-09-18 01:17:02 +00:00
smontagu%netscape.com ca360a4c38 Extend Bidi processing to elements with position: relative. Bug 168455, r=dbaron, sr=kin 2002-09-17 22:08:51 +00:00
rpotts%netscape.com b5533b4cc8 bug #145579 (r=darin, sr=jst) send the correct referrer for images... 2002-09-17 18:59:41 +00:00
jkeiser%netscape.com ac086155e9 Backing out fix to bug 162572 to see if it fixes btek pageload numbers 2002-09-16 19:45:59 +00:00
jkeiser%netscape.com 287e8c1516 Allow nsHTMLValue to store embedded nulls (bug 162572), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu 2002-09-16 06:19:27 +00:00
karnaze%netscape.com f54367c783 bug 139524 - handle style of col's with spans. sr=kin, r=bernd 2002-09-15 03:45:10 +00:00
bzbarsky%mit.edu 150664b8b7 Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron 2002-09-12 20:33:11 +00:00
alecf%netscape.com 214146625e fix for bug 163736 - consolidate gfx2 into gfx, and remove the gfx2 DLL from the build.
r=pavlov, sr=rbs
includes creating a new "Shared" library which shares gfx code between all platforms
2002-09-12 04:43:31 +00:00
darin%netscape.com f55be67162 attempting to fix MANIFEST_IDL bustage from mjudge's checkin 2002-09-11 06:54:05 +00:00
mjudge%netscape.com 425dbd86db 14835 r=pavlov sr=sfraser alpha blending on images to denote selection. 2002-09-11 03:03:49 +00:00
katakai%japan.sun.com 742dcbb253 bug 52416
Editor does not accept NS_TEXT_EVENT while losing input focus
r=akkana,sr=bzbarsky
(patch within #ifdef MOZ_X11)
2002-09-11 02:02:29 +00:00
kin%netscape.com d38f0b028d Fix for bug 167355 (non-inline document.write does not work in builds after 090522)
Clear the mDidInitialReflow flag in ContentRemoved() to allow the content sink
to call InitialReflow() when the <html> node is re-inserted.

r=jkeiser@netscape.com  sr=jst@netscape.com  a=asa@mozilla.org
2002-09-10 04:36:00 +00:00
rods%netscape.com 493c71a327 Make sure the Print Data is cleaned up when exiting PP
Bug 164384 r=pete sr=kin a=asa
2002-09-10 01:57:09 +00:00
mjudge%netscape.com efcadd8b2a fix for 165169. sr=bryner r=kin solves the problem of not finding the area frame to traverse the page when composing in mail or composer. cntrl-home/end should work now. 2002-09-10 00:10:09 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
rjesup%wgate.com e74f7b07e5 Bustage fix for 126346 - checked in the wrong version of this file. 2002-09-06 19:16:11 +00:00
rjesup%wgate.com a6da2110b6 Bug 126346: make iframes inherit text zoom values. Re-commiting after mods
to deal with 1.5% Tp regression in last commit.  r=dbaron, sr=jst, a=roc+moz
2002-09-06 18:46:19 +00:00
jkeiser%netscape.com 0717b547f2 Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com 2002-09-06 05:44:31 +00:00
alecf%netscape.com 6d9653d8f6 oops, extra methods
part of bug 163736, again not part of build
2002-09-05 21:16:04 +00:00
alecf%netscape.com f83d79bf19 move these over from gfx in preparation for gfx2 destruction (bug 163736)
not part of build just yet
2002-09-05 18:18:40 +00:00
sicking%bigfoot.com 443bb6d0bc Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst
2002-09-04 06:57:25 +00:00
dougt%netscape.com f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
rods%netscape.com 24609f73f8 Bug 164250 Instrument the PrintEngine for print testing
r=dcone sr=kin
2002-09-03 23:21:15 +00:00
caillon%returnzero.com add1e76599 Bug 45557 - Rounded transparent borders are not transparent.
r=bzbarsky sr=jag
2002-08-30 06:39:34 +00:00
mjudge%netscape.com 6a091661e4 23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse 2002-08-30 01:32:11 +00:00
jkeiser%netscape.com 32844f7719 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
aaronl%netscape.com 223216a863 Bug 163897. Can't copy image location. r=rods,caillon, sr=bzbarsky 2002-08-29 01:01:31 +00:00
bbaetz%student.usyd.edu.au e1742b6500 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com 8aa6968431 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
jkeiser%netscape.com 17c327e8b9 Fix uninitialized variable crash (bug 160656). Patch by ramon_garcia_f@yahoo.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-08-28 00:18:27 +00:00
alecf%netscape.com dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
mjudge%netscape.com a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
shanjian%netscape.com fd1c7b2e6c #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
2002-08-26 20:13:31 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu 8580076d1f Fix XUL style attribute change regression by making |#ifdef MOZ_SVG| code the default, but moved elsewhere. b=163481 r=bbaetz sr=bryner 2002-08-22 00:01:30 +00:00
rods%netscape.com fa04fb294e Move printing code out of the DocumentViewer
add in #defines to turn on and off printing and print preview
Bug 139905 r=dcone sr=jst
2002-08-21 12:01:05 +00:00
dbaron%fas.harvard.edu 878be4835f Correctly process a framechange hint on the root element to prevent crashes. Prevent selects from triggering style reresolution before they're added to the document, and prevent a little bit more reresolution that's a performance hit. b=143862 r=bzbarsky, jkeiser sr=jst, waterson 2002-08-19 18:35:09 +00:00
dbaron%fas.harvard.edu 8c3542b0dd Ensure that the event state manager doesn't send content state changed notifications for content that's been removed from the document. b=157322 r=bryner sr=kin 2002-08-19 18:31:59 +00:00
dbaron%fas.harvard.edu d765859c85 Make PopupSet registration on the root box frame done by the popupset and add unregistration when the popupset goes away to fix crashes from dangling pointers. b=156719 (and 136513) r=bryner sr=kin 2002-08-19 18:29:29 +00:00
kin%netscape.com 50e1a69237 Fix for bug #96736: [FLOATER]The "Top 1000 Reviewer" is overwritten by text
mozilla/layout/base/src/nsSpaceManager.cpp
  mozilla/layout/base/src/nsSpaceManager.h

    - Implemented nsSpaceManager methods PushState()
      and PopState().

  mozilla/layout/html/base/src/nsBlockReflowContext.cpp

    - Modified nsBlockReflowContext::DoReflowBlock() to
      call PushState() and PopState() to remove any
      floaters that may have been added to the SpaceManager
      during the intermediate "unconstrained" Reflow()
      call, used to calculate the max block width. This
      allows the Reflow() call that immediately follows
      it to properly place the floaters.


r=waterson@netscape.com  sr=dbaron@fas.harvard.edu
2002-08-19 04:41:57 +00:00
bryner%netscape.com 025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
dcone%netscape.com 53276bf5e0 b=148598 r=mcclusky,sr=kin Speed up scrolling 2002-08-18 00:46:00 +00:00
aaronl%netscape.com 4bb787ada2 Complete fix for last night's bustage when checking in bug 132158 - forgot to check in MANIFEST. 2002-08-17 18:49:30 +00:00
aaronl%netscape.com 5229183e82 Bug 132158. Active Accessibility: expose correct bounds information and accessible value for HTML areas. r=saari, sr=alecf. 2002-08-17 01:46:58 +00:00
rbs%maths.uq.edu.au a7e1410a39 Merge mi/ms/mtext in a single token class and make mo inherit from the token class. The merge allows centralizing the special treatment needed for their child text frames that are non-MathML, b=162412, r=roc+moz, sr=kin 2002-08-16 21:36:31 +00:00