4044 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
3c91110102 Fix XUL style attribute change regression by making |#ifdef MOZ_SVG| code the default, but moved elsewhere. b=163481 r=bbaetz sr=bryner
git-svn-id: svn://10.0.0.236/trunk@127813 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 00:01:30 +00:00
rods%netscape.com
c19d8288b7 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


git-svn-id: svn://10.0.0.236/trunk@127763 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 12:01:05 +00:00
dbaron%fas.harvard.edu
5ae251ef21 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
git-svn-id: svn://10.0.0.236/trunk@127628 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:35:09 +00:00
dbaron%fas.harvard.edu
12c9b29b2b 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
git-svn-id: svn://10.0.0.236/trunk@127627 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:31:59 +00:00
dbaron%fas.harvard.edu
8ec55d91d3 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
git-svn-id: svn://10.0.0.236/trunk@127625 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:29:29 +00:00
kin%netscape.com
a850d5d255 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


git-svn-id: svn://10.0.0.236/trunk@127595 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:41:57 +00:00
bryner%netscape.com
79c62ac5b7 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.
git-svn-id: svn://10.0.0.236/trunk@127585 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 03:50:27 +00:00
dcone%netscape.com
99d5eac239 b=148598 r=mcclusky,sr=kin Speed up scrolling
git-svn-id: svn://10.0.0.236/trunk@127550 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-18 00:46:00 +00:00
aaronl%netscape.com
01e753225e Complete fix for last night's bustage when checking in bug 132158 - forgot to check in MANIFEST.
git-svn-id: svn://10.0.0.236/trunk@127544 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 18:49:30 +00:00
aaronl%netscape.com
6ec7265fbf Bug 132158. Active Accessibility: expose correct bounds information and accessible value for HTML areas. r=saari, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@127523 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 01:46:58 +00:00
rbs%maths.uq.edu.au
a0fbf5f0ca 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
git-svn-id: svn://10.0.0.236/trunk@127492 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 21:36:31 +00:00
dbaron%fas.harvard.edu
de6516960e Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127460 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:29:20 +00:00
seawood%netscape.com
829192b1b5 Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls


git-svn-id: svn://10.0.0.236/trunk@127350 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 05:39:40 +00:00
bzbarsky%mit.edu
dd8a124fb9 Fix crash; we may have a #text node. Bug 159359, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@127339 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 02:28:54 +00:00
dbaron%fas.harvard.edu
47bcd9d189 Mark freed memory in stack arena with 0xdd. b=161283 sr=bzbarsky r=kin
git-svn-id: svn://10.0.0.236/trunk@127256 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:49:24 +00:00
bzbarsky%mit.edu
d47090aca6 Fix crash bug 159359, patch by leon.zhang@sun.com, r=jkeiser, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127209 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 23:33:58 +00:00
jkeiser%netscape.com
b1a1838c37 Rearrange how layout history keys are created (bug 162409), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@127177 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 17:14:18 +00:00
seawood%netscape.com
823af36499 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.


git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +00:00
dbaron%fas.harvard.edu
1be537f3c0 Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127035 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 17:56:15 +00:00
aaronl%netscape.com
89d5e8b0f9 Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126980 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:15:30 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
caillon%returnzero.com
d16eaa61f6 Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
r=bzbarsky sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@126644 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 07:39:34 +00:00
mkaply%us.ibm.com
7c3c72e2c2 Better fix for OS/2 bustage earlier
git-svn-id: svn://10.0.0.236/trunk@126601 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 04:06:57 +00:00
mkaply%us.ibm.com
60edb199c5 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@126523 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 15:22:34 +00:00
glazman%netscape.com
fa21906e76 Introduce 2 CSS values for color property and 1 for text-decoration retrieving the pref for anchors' color, visited anchors' color, and underline or not the anchors; b=57757, r=brade, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126518 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 14:39:55 +00:00
dbaron%fas.harvard.edu
a0a7a5816a Mark freed memory with 0xdd in DEBUG builds so that we don't free things to the pres shell's arena and then continue using them. b=114219 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126517 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:57:16 +00:00
dbaron%fas.harvard.edu
07544907b6 Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@126515 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:51:07 +00:00
dbaron%fas.harvard.edu
008bc23d0e Stop using |nsCOMPtr|s on nsIBox and nsIMenuParent, which are always implemented on frames, to prevent calling of |Release| after frame destruction and freeing to the pres shell arena. b=114235 r=bryner sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@126498 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 12:48:28 +00:00
henry.jia%sun.com
148ed167a2 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@126456 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 06:20:45 +00:00
jkeiser%netscape.com
80534a3082 Output a JS warning when a web developer does the wrong form sub attributes (bug 158927), r=rods, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@126430 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:26:35 +00:00
seawood%netscape.com
3a25446af2 Fix win32 gmake static builds.
Bug #160104 r=bryner


git-svn-id: svn://10.0.0.236/trunk@126428 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:17:50 +00:00
alecf%netscape.com
573e11653f bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
dcone%netscape.com
8919c7ccdd Backing out changes for the background speedup.. it broke some hoovering code.. on a web page.
I want to investigate this before I leave the patch in.


git-svn-id: svn://10.0.0.236/trunk@126240 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-02 18:21:33 +00:00
aaronl%netscape.com
c15c36a673 Bug 160153. Accessibility: Report fully expanded URL's. r=jgaunt, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126181 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 21:36:02 +00:00
dcone%netscape.com
769ea6c8fa b=148598 r=peterl sr=kin a=asa. This speeds up scrolling with very large backgrounds.
git-svn-id: svn://10.0.0.236/trunk@126115 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-31 17:13:25 +00:00
dcone%netscape.com
463438b1e1 Backing out changes. Something is interacting wrong with scroll bars.. so I will investigate.
git-svn-id: svn://10.0.0.236/trunk@125996 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 17:48:22 +00:00
dcone%netscape.com
c3907f8985 b=148598 Very Slow scrolling. r=rods sr=kin a=asa. Fixed the update area for the background images. Improves scrolling 100%
git-svn-id: svn://10.0.0.236/trunk@125987 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 13:28:32 +00:00
jkeiser%netscape.com
325bff7164 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa


git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
peterlubczynski%netscape.com
725cbaf73e Fixing bug 152927: can't script any plugin in nested EMBED tag inside an OBJECT tag from onLoad handler -- CNET radio does not play with Real because SetSource is called from onLoad r=kmcclusk sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@125845 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:48:24 +00:00
rginda%netscape.com
cd7bad237a bug 155328, "nsViewManager and nsPresShell are unaware of stacked event queues"
sr=rpotts, r=jst, a=asa

make sure we always post new reflow events to the topmost queue, and don't skip creating new reflow events just because we happen to have one an elder queue.


git-svn-id: svn://10.0.0.236/trunk@125842 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 03:29:07 +00:00
smontagu%netscape.com
f0c487bee0 Fix crasher bug 158796, r=jkeiser, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@125804 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 20:40:51 +00:00
cbiesinger%web.de
98a1043bbe bug 158937 r=timeless sr=bz a=asa
comment wrong


git-svn-id: svn://10.0.0.236/trunk@125732 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 20:53:50 +00:00
bzbarsky%mit.edu
ff3b5f1bd2 Bug 158230. Clear out all the relevant style data when inline style
causes reframes.  r=dbaron, sr=hyatt, a=asa


git-svn-id: svn://10.0.0.236/trunk@125648 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:18:26 +00:00
bzbarsky%mit.edu
a844108e85 Fix tab switching in embedding apps. Bug 139294,
r=philipl@mail.utexas.edu, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@125602 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 03:45:06 +00:00
rods%netscape.com
4d051a96ff When a FrameSet Frame's contains a FrameSet the mFrameType for the PrintObject
is always set to an eFrame. Which is fine when printing "AsIs"
but is incorrect when when printing "Each Frame Separately".
When printing "Each Frame Separately" the Frame really acts like a frameset.
So we need to set it to an eFrame
Bug 157918 r=dcone sr=kin a=scc


git-svn-id: svn://10.0.0.236/trunk@125564 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-22 10:55:07 +00:00
leaf%mozilla.org
d71824c07d backout dataloss-causing fixes for 143862 and 156719, a=asa
git-svn-id: svn://10.0.0.236/trunk@125515 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 21:58:09 +00:00
rods%netscape.com
7d81f1b38d need to check BUSY_FLAGS_PAGE_LOADING before printing
Bug 157632 r=dcone sr=jst a=scc


git-svn-id: svn://10.0.0.236/trunk@125458 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 09:09:54 +00:00
bzbarsky%mit.edu
1365591a1e Make sure that painting is properly unsuppressed in XML docs. Bugs
156985, 81546, 157487, r=dbaron, sr=rbs, a=scc


git-svn-id: svn://10.0.0.236/trunk@125425 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 01:49:47 +00:00
jkeiser%netscape.com
701be434fb Make save/restore work for all forms, not just the first (bug 138892), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@125331 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:38:51 +00:00
dbaron%fas.harvard.edu
f9da4499fa Work around crashes at ChildIterator::get using bounds check on ChildIterator::seek. sr=waterson r=kin a=asa b=133219
git-svn-id: svn://10.0.0.236/trunk@125295 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 14:53:43 +00:00