14169 Commits

Author SHA1 Message Date
mjudge%netscape.com
24b6c23cc2 23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
git-svn-id: svn://10.0.0.236/trunk@128516 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 01:32:11 +00:00
jkeiser%netscape.com
00f9a12d62 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128436 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 04:05:39 +00:00
pete.zha%sun.com
f1830c00be Reproducible crash when printing page [@nsFloaterCacheList::~nsFloaterCacheList()] (bug=149074)
r=karnaze@netscape.com sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@128412 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 01:44:15 +00:00
aaronl%netscape.com
5d85f15896 Bug 163897. Can't copy image location. r=rods,caillon, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@128406 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 01:01:31 +00:00
axel%pike.org
6f2a873b95 fix MOZ_TIMELINE bustage by bzbarzky, bug 119321. code by peterv, r=me
git-svn-id: svn://10.0.0.236/trunk@128334 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 12:18:26 +00:00
bbaetz%student.usyd.edu.au
4e8a1e0dc7 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....


git-svn-id: svn://10.0.0.236/trunk@128332 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com
958a25b600 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128330 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 08:19:43 +00:00
jkeiser%netscape.com
6c53305c36 Fix uninitialized variable crash (bug 160656). Patch by ramon_garcia_f@yahoo.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@128314 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 00:18:27 +00:00
smontagu%netscape.com
9eef7fc6ca Bug 82352: Can't select multiline right-to-left text. r=mjudge, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@128313 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-28 00:05:54 +00:00
bzbarsky%mit.edu
8b530edf64 Bug 119321 and bug 80106. Create a generic nsIUnicharStreamLoader that
makes two callbacks -- one to determine the charset and one to provide
an nsIUnicharInputStream.  Use this in the CSSLoader instead of
allocating a single big buffer for the sheet.  Clean up the way we look
for the @charset charset in the sheet data.

r=rpotts for netwerk/, r=peterv for content/, r=smontagu for intl/,
sr=darin for the whole thing.


git-svn-id: svn://10.0.0.236/trunk@128310 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 23:47:25 +00:00
alexsavulov%netscape.com
aef6811a4b Fix for bug 78820 - right aligned floater in nowrap blocks are not
positioned correctly. r= alexsavulov sr= kin


git-svn-id: svn://10.0.0.236/trunk@128299 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 22:31:24 +00:00
bzbarsky%mit.edu
d8f58536ba Bug 162546 and bug 141883. Better handling of unknown area shapes and
more graceful handling of bogus rect coords.  r=jkeiser, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@128287 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 20:49:54 +00:00
seawood%netscape.com
059352bad6 Not all c++ compilers support true. Use PR_TRUE instead.
Fixing OS/2 tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@128238 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 07:34:41 +00:00
alecf%netscape.com
e3b2da9c83 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128163 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:34 +00:00
seawood%netscape.com
6487e8df55 Rename conflicting global symbols to fix debug static build runtime bustage.
Bug #162918 r=serge sr=alecf


git-svn-id: svn://10.0.0.236/trunk@128162 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:31 +00:00
mjudge%netscape.com
2f5c006a1d 4302 r=jfrancis sr=kin. pageup/down bug with navigation.
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
shanjian%netscape.com
5d1c227024 #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.


git-svn-id: svn://10.0.0.236/trunk@128141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:13:31 +00:00
rods%netscape.com
a3c9b676cf checks visibility on IFrames so it knows whether it needs to print/dislpay them
Bug 158195 sr=jst r=dcone


git-svn-id: svn://10.0.0.236/trunk@128088 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 14:37:59 +00:00
alexsavulov%netscape.com
df9a96a787 regression test files update to match the gmake directory tree
not affecting the build


git-svn-id: svn://10.0.0.236/trunk@128060 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-25 06:44:45 +00:00
roc+%cs.cmu.edu
c6bb83f66a 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
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
shanjian%netscape.com
0e38ae2644 #161328 CJK string is not breakable before joined frames
This patch include 3 changes:
 1) check the breaking possibility  in between for 2 connection pieces.
 2) Make word breakable after the second word, priviously it only applies to western.
 3) always call RevertSpacesToNBSP before call line breaker. This is necessary because the
    change in 1.
r=boris zbarsky, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@127993 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 21:43:42 +00:00
rods%netscape.com
c89babb5a0 fixing a couple of printing tests
git-svn-id: svn://10.0.0.236/trunk@127946 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 14:00:40 +00:00
jkeiser%netscape.com
01aaff5895 Make frameborder=0 work again (bug 147883), patch by mats.palmgren@bredband.net, r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@127827 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 02:11:05 +00:00
sspitzer%netscape.com
037ab3c32d fix for #163404. when the height of a tree shrinks, we should ensure that the selected row is still visible. this really comes into play in the mailnews thread pane.
when I show the message pane (after it has been collapsed), the selected message can go out of view.

if the size of the thread pane shrinks because I move the splitter or make the whole window smaller, it can happen as well.

Note Outlook Express does the same thing.

r=varga, sr=bryner.  thanks to martinl for the bug report.


git-svn-id: svn://10.0.0.236/trunk@127817 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 00:21:20 +00:00
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
mkaply%us.ibm.com
b68ef95b90 Back we go since glazman backed out 117730
git-svn-id: svn://10.0.0.236/trunk@127773 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 13:12: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
pete.zha%sun.com
9202c4a93e Browser crash when close print preview in a page has fixed DIV
bug=163800 r=rods sr=jst


git-svn-id: svn://10.0.0.236/trunk@127758 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 08:56:58 +00:00
mjudge%netscape.com
1b7fd3dbf6 163631 fixing regression caused by last checkin. just undoing to what was there allready. no need to check height on frames. this messed up table row group frames.
git-svn-id: svn://10.0.0.236/trunk@127730 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 22:42:26 +00:00
mjudge%netscape.com
c19120f618 163483 backing out poor change that didnt take into account the translation of coordinates by the container frame. this is just a backout.
git-svn-id: svn://10.0.0.236/trunk@127722 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 22:08:44 +00:00
rbs%maths.uq.edu.au
51d900ccdc One-liner forgotten in the mass merge of bug 162412
git-svn-id: svn://10.0.0.236/trunk@127721 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 21:56:51 +00:00
dbaron%fas.harvard.edu
650a42831e Remove unused Equals and HashValue methods (methods that were once on nsIStyleRule). b=163058 r=hyatt sr=kin
git-svn-id: svn://10.0.0.236/trunk@127715 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 19:40:23 +00:00
dbaron%fas.harvard.edu
da446121bd Make marquee 'display: block' so that styling it works correctly. (The XBL binding already forces block-like display.) b=163031 r=doron sr=kin
git-svn-id: svn://10.0.0.236/trunk@127629 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:43:17 +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
henry.jia%sun.com
d4a65691fd Fix bug 159889: replace the hardcode of "@mozilla.org/preferences;1" with NS_PREF_CONTRACTID
Patch by leon.zhang@sun.com
r=Henry, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127594 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:29:58 +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
dbaron%fas.harvard.edu
0ef8b1f443 Convert mapped attribute table from nsHashtable to pldhash. b=148368 sr=bzbarsky r=sicking
git-svn-id: svn://10.0.0.236/trunk@127538 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 12:17:03 +00:00
bryner%netscape.com
fe9e747740 Speed up intrinsic sizing of trees by not creating a new rendering context for each cell width measurement (bug 163186). r=varga, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@127532 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 05:36:24 +00:00
varga%netscape.com
d1d587edb9 Fix for bug 114989. Expand / collapse thread ("+" and "-") icons are drawn
incorrectly. r=bryner, sr=bz


git-svn-id: svn://10.0.0.236/trunk@127526 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 03:58:18 +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
e8821b1085 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +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
bzbarsky%mit.edu
8df67b73a5 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@127417 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 23:00:23 +00:00
mkaply%us.ibm.com
da40f1c4d7 #162387
r=pedemont, no sr.

OK, I need this in. OS/2 menus are unusable without this.
Basically, when 117730 went in, it regressed this because
the fix for 101771 was no longer needed.

This is backing out the 101771 fix.

I have verified this doesn't break Windows.
The only other platform that could be an issue is Mac, but
it shouldn't be because Mac uses native menus. No other
platform handles clipSiblings.

If this does break something, you would see it as menus
appearing behind other menus.


git-svn-id: svn://10.0.0.236/trunk@127369 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 14:49:44 +00:00