dbaron%fas.harvard.edu
c17fab6782
Clean up if-else cascade by condensing into one big logical expression. Based on patch by Ulrich Drepper <drepper@cygnus.com>. r=jag sr=waterson b=89791
...
git-svn-id: svn://10.0.0.236/trunk@100080 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 03:09:59 +00:00
dbaron%fas.harvard.edu
d7836d6ff1
Split nsHTMLReflowMetrics into a separate file (nsHTMLReflowMetrics.h rather than nsIFrame.h). b=64023 r,sr in {waterson, attinasi}
...
git-svn-id: svn://10.0.0.236/trunk@100064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 01:27:50 +00:00
dbaron%fas.harvard.edu
899cd312b2
Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443.
...
git-svn-id: svn://10.0.0.236/trunk@99950 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com
2b3b3b2586
Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
hyatt%netscape.com
6206b55be6
Fix for 90081, r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@99897 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 06:33:06 +00:00
dbaron%fas.harvard.edu
598b649480
Use nsAutoVoidArray for stack-based nsLineLayout to reduce allocations. r=jag sr=waterson b=90727
...
git-svn-id: svn://10.0.0.236/trunk@99889 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 05:20:09 +00:00
dbaron%fas.harvard.edu
9e6806f2b9
Fix imagemap COORDS parsing function to handle whitespace correctly, which coincidentally fixes a crash that I don't understand. b=91432 r=jag sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@99887 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 05:14:18 +00:00
dbaron%fas.harvard.edu
502a5c94aa
Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@99882 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 04:30:59 +00:00
shanjian%netscape.com
b4453b8d4c
#41461
...
This checkin correct a minor leftout in previous checkin.
r=rbs@math.uq.edu.au sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99828 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 22:48:54 +00:00
av%netscape.com
709f1dd63c
Fix for bug 90152 -- corrected logic for displaying an alt content of the object tag, r=peterl, sr=watercon
...
git-svn-id: svn://10.0.0.236/trunk@99825 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 22:45:14 +00:00
shanjian%netscape.com
fac90e31c9
#41461 Japanese is not wrapped in correct position compared with ascii.
...
r/sr = attinasi
We should use document langGroup to load font and check width. Locale langGroup will not work well.
git-svn-id: svn://10.0.0.236/trunk@99819 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 21:45:45 +00:00
dcone%netscape.com
8e4776ca35
b=91321 r=peterl sr=attinasi. Moved margins in by .25 inches.
...
git-svn-id: svn://10.0.0.236/trunk@99800 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 13:53:52 +00:00
jaggernaut%netscape.com
56ae52c17a
Bug 73353: clean up the REQUIRES lines in Makefiles.
...
git-svn-id: svn://10.0.0.236/trunk@99764 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-23 22:36:12 +00:00
attinasi%netscape.com
3d92ed6a67
Fix for a problem where the dummyLayoutRequest was being removed during incremental layout and thus causing some terrible crashes. See the bug for the gory details. b=90733 sr=waterson r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@99621 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 00:44:15 +00:00
mjudge%netscape.com
522605c07f
82993, 87662 fixes for caret going into generated content. adjusting the content snapping to the best X value not Y value for up/down clicking. This will not cause a problem with the different size text but it MAY cause a problem with inline positioned elements.
...
git-svn-id: svn://10.0.0.236/trunk@99609 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 23:32:07 +00:00
dbaron%fas.harvard.edu
890ce3eef5
Make the width of floats with |width: auto| depend only on the width of the containing block and the contents of the float and not on the available space. Remove the loop calling ReflowFloater at different positions that is no longer needed, and remove the caching of the max element size for that loop that was not being invalidated correctly between reflows. Fix handling of margin, border, and padding for computation of available width for |width: auto| floaters. r=attinasi sr=waterson b= 85876, 82314, 82315, 85216, 85874, 86746
...
git-svn-id: svn://10.0.0.236/trunk@99561 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 02:33:43 +00:00
dcone%netscape.com
d272ca7605
bug = 82573, make sure the mMargin is initialized. r=attinasi sr=peterl
...
git-svn-id: svn://10.0.0.236/trunk@99514 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 20:57:10 +00:00
bernd.mielke%snafu.de
11b470d945
reflow count manager messages confuse layout regress. tests bug 90696
...
r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@99468 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 04:29:14 +00:00
attinasi%netscape.com
7198e755f7
Misplaced #endif - fixed for opt builds
...
git-svn-id: svn://10.0.0.236/trunk@99444 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 22:02:11 +00:00
attinasi%netscape.com
476d3cb3e8
Checkin for alexsavulov@netscape.com: b=80396 r=rbs sr=attinasi new debug method added to dump frames
...
git-svn-id: svn://10.0.0.236/trunk@99440 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 21:30:17 +00:00
attinasi%netscape.com
edc62aaa6f
Fixed regression (bug 90503) by restricting the full-view invalidate to the case where the height has decreased (instead of just changed). r=karnaze, sr=waterson b=86852
...
git-svn-id: svn://10.0.0.236/trunk@99426 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 19:35:23 +00:00
pavlov%netscape.com
cec3a7eb41
part of bug 78690. r=bryner sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@99366 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 01:14:40 +00:00
dbaron%fas.harvard.edu
9359000a40
Header include dependency cleanup. b=64023 r=jag rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
peterlubczynski%netscape.com
0b31564c4f
Fix for Shockwave games not working bug 90173 r=av sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@99259 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-14 01:36:45 +00:00
jst%netscape.com
419062c72d
Fixing bug 66022, recurse to death if image attributes are touched from an images onload handler when the image is loaded from the cache. r=pavlov@netscape.com, sr=attinasi@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@99059 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 05:44:12 +00:00
bnesse%netscape.com
540aba4f36
Fix for bug 85231. Free nsTimer in PluginInstance to eliminate MLK and crash caused by it. r=av, peterl. sr=scc.
...
git-svn-id: svn://10.0.0.236/trunk@99035 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 02:29:45 +00:00
peterlubczynski%netscape.com
f867e4cdf5
Slightly change pluign timer interval to fix url bar on Mac bug 88936 r=bnesse sr=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@98962 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 03:59:39 +00:00
peterlubczynski%netscape.com
ef0387da42
Fix for crash with garbage in nsGUIEvent bug 87112 sr=sfraser r=ccarlen
...
git-svn-id: svn://10.0.0.236/trunk@98956 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 02:52:50 +00:00
waterson%netscape.com
531100df76
Bug 89533. Remove unused reflow command types. r=rbs, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@98916 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-09 22:44:07 +00:00
shanjian%netscape.com
74278979f9
#77394 incorrect handling of empty text nodes
...
r=waterson, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@98901 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-09 20:47:58 +00:00
attinasi%netscape.com
bd717c34ab
Fix for bad invalidation/painting when deleting lines of text at the end of a document or mail message. b=86852 r=alexsavulov sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@98694 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 19:26:30 +00:00
mjudge%netscape.com
47b55cced9
PDT+ 88164 backing out of bad bug for keyboard navigation.
...
git-svn-id: svn://10.0.0.236/trunk@98690 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 19:11:32 +00:00
dcone%netscape.com
52b3f7a675
bug=86875 took out some dead code. r=dcone sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@98671 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 14:25:55 +00:00
waterson%netscape.com
c1784537a1
Bug 87543. Don't try to do arithmetic when psd->mRightEdge == NS_UNCONSTRAINEDSIZE. r=rbs, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@98632 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 06:07:14 +00:00
waterson%netscape.com
78314c2326
Bug 85422. Since nsIContent::GetDocument() may now sometimes return a null document back-pointer due to paint suppression, be extra paraniod with a sprinkle of null-check fairy dust. r=brendan, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@98629 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 05:54:09 +00:00
dbaron%fas.harvard.edu
40560def53
Add two Korean list styles (-moz-hangul and -moz-hangul-consonant) and rename existing list-style-type values that are our extensions to use -moz- prefix. Patch from Jungshik Shin <jshin@pantheon.yale.edu>. r=dbaron sr=attinasi b=63574
...
git-svn-id: svn://10.0.0.236/trunk@98604 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 02:05:59 +00:00
dbaron%fas.harvard.edu
d0e7b1d970
Add some comments to code about issues that we should look at, remove some unused code, rename some unnecessarily-overloaded functions, fix some typos, and make a few minor style changes. b=88735 r=waterson sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@98602 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-04 02:00:05 +00:00
jaggernaut%netscape.com
51b17b5bf0
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
waterson%netscape.com
8ca8d5c6b5
Bug 87381. Remove extra dirty reflow when BRS_ISINLINEINCRREFLOW. r=rbs, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@98328 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 23:30:05 +00:00
dcone%netscape.com
4438bd92fb
bug=24406. Fix printing of blank text fields.. selection criteria was wrong. r=r=kmcclusk@netscape.com sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@98253 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 05:32:56 +00:00
peterlubczynski%netscape.com
24b740bb66
Fix for Shockwave registration bug 85334 r=av sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@98217 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 00:29:44 +00:00
waterson%netscape.com
65804204b4
Bug 87744. Make pres shell print debug information when GECKO_VERIFY_REFLOW_FLAGS is set. r=dbaron, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@98042 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-27 04:04:04 +00:00
anthonyd%netscape.com
116c1063b2
fix for 82151 -- Right arrow key at end of a TEXTAREA goes to the beginning
...
checking in for mjudge
r=cmanske, anthonyd
sr=kin
a=asa
git-svn-id: svn://10.0.0.236/trunk@97962 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 20:47:46 +00:00
anthonyd%netscape.com
119b3a1df3
backing out changes
...
a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97958 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 19:35:21 +00:00
anthonyd%netscape.com
3d7ce4044e
fix for 82151 - checking in mjudges patch for right arrow key fix for textarea
...
r=cmanske@netscape.com , anthonyd@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97953 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 18:01:10 +00:00
attinasi%netscape.com
acadd08545
Fixed allocation alignment problem: checking in for jim_nance@yahoo.com
...
b=85890 r=attinasi sr=alecf
git-svn-id: svn://10.0.0.236/trunk@97912 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 01:19:05 +00:00
tor%cs.brown.edu
b1ac4cdc54
Bug 87540 - nsImageFrame was offsetting invalidate rect by one pixel
...
for historical reasons (jpeg decoder used to one-index update rect).
r=kmcclusk, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@97889 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 22:14:37 +00:00
tor%cs.brown.edu
bed028e26b
Bug 87550 - nsImageFrame wasn't adjusting for bordering padding when
...
invalidating itself. r=kmcclusk, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@97888 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 22:12:15 +00:00
kin%netscape.com
ff9833b2eb
Fix for bug #87133 Can't select last few lines of text in an Editor
...
Modified GetClosestLine() to include first (0) and last (n-1) line
in search if neccessary. Returned index should now be guaranteed to be
within 0 to n-1 when exiting main loop. Removed unused var and define,
added comments, and renamed countLines to numLines.
r=waterson@netscape.com ,mjudge@netscape.com
sr=blizzard@mozilla.org
a=chofmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@97861 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 14:06:19 +00:00
mjudge%netscape.com
d66b949240
86749 fix for "home key" scenario. we now search for 1st valid frame on a line. not just try the very first and fail. we now behave like "end key" does;. r=anthonyd sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@97779 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 14:52:48 +00:00