3839 Commits

Author SHA1 Message Date
rods%netscape.com
1b7abf58ea Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@130082 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 21:45:07 +00:00
jkeiser%netscape.com
0321a23661 Make nsIFontMetrics::GetAveCharWidth() on all platforms (Rick.Ju@sun.com's patch, bug 50998), r=cbiesinger@web.de, sr=rbs@maths.uq.edu.au
git-svn-id: svn://10.0.0.236/trunk@129999 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 01:47:14 +00:00
pinkerton%netscape.com
5cd9f54b08 make sure |increment| attribute change notification is sent. fixes bug where native scrollbars wouldn't know the increment so up/down arrows didn't work (bug 161365, r=bryner/sr=sfraser).
git-svn-id: svn://10.0.0.236/trunk@129971 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 22:38:23 +00:00
shanjian%netscape.com
983c3cb962 #130091 should we get rid of "NEW_FONT_HEIGHT_APIS"
r=Roland.Mainz@informatik.med.uni-giessen.de, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@129934 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 19:37:31 +00:00
rpotts%netscape.com
5d90e7c567 bug #145579 (r=darin, sr=jst) send the correct referrer for images...
git-svn-id: svn://10.0.0.236/trunk@129799 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 18:59:41 +00:00
pete.zha%sun.com
ad380ffdf5 Sun Forte 7FCS builds crash in layout/ when compiled with -xO3 or higher
bug=164368 r=roc+moz@cs.cmu.edu sr=sfraser@netscape.com
patch by Roland.Mainz@informatik.med.uni-giessen.de


git-svn-id: svn://10.0.0.236/trunk@129772 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 02:49:30 +00:00
peterlubczynski%netscape.com
3d27773a96 Fixing Use of uninitialized variable in nsPluginInstanceOwner::GetPluginPort(), bug 162350 r=bnesse, sr=beard
git-svn-id: svn://10.0.0.236/trunk@129482 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 03:24:27 +00:00
peterlubczynski%netscape.com
0dfe80e668 Fix for can't show plugins if they start out hidden, bug 137231 r=serge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@129477 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 03:11:02 +00:00
bzbarsky%mit.edu
2539b61b98 Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@129411 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 20:33:11 +00:00
mjudge%netscape.com
79716034a2 small fix 14835 sr=jag r=pav very small chance of a memory leak in nsFrame
git-svn-id: svn://10.0.0.236/trunk@129330 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 10:35:46 +00:00
mjudge%netscape.com
2d40b81f4a 14835 r=pavlov saari, fixing bustage of image selection on mac/unix regression
git-svn-id: svn://10.0.0.236/trunk@129319 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 06:16:51 +00:00
alecf%netscape.com
35855739dd 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


git-svn-id: svn://10.0.0.236/trunk@129305 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 04:43:31 +00:00
bzbarsky%mit.edu
ce60597567 Fix debug-only build bustage on GCC 3.2. Don't pass objects through "...".
git-svn-id: svn://10.0.0.236/trunk@129296 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 03:44:37 +00:00
mjudge%netscape.com
d190cc810e missed a ';' on a ifdef mac section. fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@129226 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:41:46 +00:00
mjudge%netscape.com
d412f97810 14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
git-svn-id: svn://10.0.0.236/trunk@129222 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:03:49 +00:00
bzbarsky%mit.edu
ff450543d2 Include url in error message. Bug 167662, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@129221 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:55:14 +00:00
katakai%japan.sun.com
6ed3afd341 bug 52416
Editor does not accept NS_TEXT_EVENT while losing input focus
r=akkana,sr=bzbarsky
(patch within #ifdef MOZ_X11)


git-svn-id: svn://10.0.0.236/trunk@129198 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 02:02:29 +00:00
katakai%japan.sun.com
c3757bbb4f bug 167040
CTL: caret does not move to next/prev line on text area
r=Roland.Mainz@informatik.med.uni-giessen.de,sr=scc
(CTL is not part of default build)


git-svn-id: svn://10.0.0.236/trunk@129191 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 01:52:34 +00:00
kin%netscape.com
cfcea30e08 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


git-svn-id: svn://10.0.0.236/trunk@129142 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 04:36:00 +00:00
mjudge%netscape.com
6ee845dd99 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.
git-svn-id: svn://10.0.0.236/trunk@129122 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-10 00:10:09 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
jkeiser%netscape.com
d73bc69f1a 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
git-svn-id: svn://10.0.0.236/trunk@128944 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 05:44:31 +00:00
rbs%maths.uq.edu.au
a1be59664a Overshooting when measuring the text caused things to go out-of-sync and to hang, b=142206, r=shanjian, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@128860 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 01:58:55 +00:00
karnaze%netscape.com
309cb4340b bug 149275 - Allocate reflow state and let ReflowBlock initialize it so the correct reflow state can be passed to DidReflow. Combined DoReflowBlock with ReflowBlock. sr=bzbarsky, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@128817 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 06:55:40 +00:00
karnaze%netscape.com
17f5d7a861 bug 137388 - Jery Tan's patch to restrict applying CalcQuirkContainingBlockHeight to a frame inside a table cell. sr=bzbarsky, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@128803 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 04:00:41 +00:00
karnaze%netscape.com
f7e67af4b3 bug 154780 - Revised bernd's patch. treat null unit margins as auto. leave the cell avail width at 0 if a strategy init will occur. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@128780 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:10:43 +00:00
karnaze%netscape.com
cb28c9b4aa bug 131065 - revised Jerry Tan's patch to handle top/bottom margins and absolutely positioned cases. sr=kin, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@128774 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:42:52 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
cbiesinger%web.de
281964d562 bug 151983 patch by bernd.mielke@snafu.de r=paper sr=tor
ASSERTION: imgLoader::LoadImage -- NULL URI pointer: 'aURI'


git-svn-id: svn://10.0.0.236/trunk@128754 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:49:51 +00:00
roc+%cs.cmu.edu
4f2eb464ee Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128736 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:53:22 +00:00
timeless%mac.com
9ea8d4c86b Bug 161945 clean up simple mac build warnings
r=dbradley sr=bz


git-svn-id: svn://10.0.0.236/trunk@128679 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 21:26:11 +00:00
roc+%cs.cmu.edu
45a8f7c62d Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128522 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 03:32:05 +00:00
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
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
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
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
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
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
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
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
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
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
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
shanjian%netscape.com
abf2bedad3 Back out my previous change because it cause regression 162670.
git-svn-id: svn://10.0.0.236/trunk@127269 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 19:18:27 +00:00