91904 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
8b3489a026 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
dbaron%fas.harvard.edu
0b3593b0fc Add nsIntervalSet.cpp to the build. b=86947
git-svn-id: svn://10.0.0.236/trunk@106223 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:35 +00:00
timeless%mac.com
a140bc5473 Bug 104540 LXR updates for .idl collaboration diagrams
by mozilla@elemental.com (Brian Bramlett)
r=endico


git-svn-id: svn://10.0.0.236/trunk@106222 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:05:07 +00:00
despotdaemon%netscape.com
048c5eb918 Pseudo-automatic update of changes made by samuel@sieb.net.
git-svn-id: svn://10.0.0.236/trunk@106219 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:40:23 +00:00
bzbarsky%mit.edu
c180e28886 Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106217 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:34:20 +00:00
bzbarsky%mit.edu
1057cb4190 Make pasting from remote apps on X time out independently of processor
speed.  Bug 87207, patch by Rickard Westman <riw@swipnet.se>, r=pavlov,
sr=blizzard CVS:
----------------------------------------------------------------------
nsClipboard.cpp CVS:
----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@106216 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:30:30 +00:00
bzbarsky%mit.edu
1dbc9647e5 Make SetDocument() get a new nodeinfo if the old one does not match the
new document.  Bug 106393, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@106215 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:28:08 +00:00
morse%netscape.com
0232749fd5 bug 106304, bad wording in dialog, r=bryner, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106214 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:26:50 +00:00
brendan%mozilla.org
2163e55b8e Add mutable (growable or dependent, two subtypes) strings to solve O(n^2) and O(n^3) growth rates (56940, r=rogerl, sr=jband&shaver).
git-svn-id: svn://10.0.0.236/trunk@106213 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:26:38 +00:00
karnaze%netscape.com
fad3ac250f new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@106212 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:26:16 +00:00
karnaze%netscape.com
54f2a7e5c0 bug 106336 - treat % cellspacing, cellpadding as pixel. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106211 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:24:08 +00:00
ducarroz%netscape.com
de141f84d8 Fix for bug 106560. Crash in StyleSetImp::ShutDown when mRuleTree is null. Need to check mRuleTree before using it. R=bienvenu, SR=hyatt
git-svn-id: svn://10.0.0.236/trunk@106210 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 00:19:21 +00:00
nhotta%netscape.com
09b1885365 Changes for JA conversion tables, bug 54135, rs=ftang, rs=blizzard.
git-svn-id: svn://10.0.0.236/trunk@106209 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:57:50 +00:00
nhotta%netscape.com
6a84cf5086 For mail body charset conversion, if charset is "us-ascii" then use "ISO-8859-1", bug 82591, r=ducarroz, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@106208 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:54:07 +00:00
timeless%mac.com
1ecaa7f3b1 Bugzilla Bug 104244 [RFE] add reload this/all tab(s) to context menu
patch by simm0@ii.net r=hyatt sr=blake


git-svn-id: svn://10.0.0.236/trunk@106207 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:49:54 +00:00
jaggernaut%netscape.com
5e2a1a7476 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106206 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:47:43 +00:00
jst%netscape.com
d2bf33af2a Fixing blocker bug 106527 (as part of bug 69468), allow creation of atoms for empty strings but don't crash when creating atoms for strings that have no internal buffer. r=dbaron@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106203 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:36:58 +00:00
nelsonb%netscape.com
d8d2f0e62b Explanation of the files in this directory.
git-svn-id: svn://10.0.0.236/trunk@106200 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 22:17:30 +00:00
karnaze%netscape.com
d0cead0255 new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@106199 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 21:55:52 +00:00
mkaply%us.ibm.com
bf92a698d1 This should be the other AIX bustage
git-svn-id: svn://10.0.0.236/trunk@106198 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 21:40:27 +00:00
bbaetz%cs.mcgill.ca
59af65fd2f Fixed "used only once" warning coming from my patch for bug 97469. The
warning was hidden from the tests by bug 106424.

r=Jake, no 2nd review needed.


git-svn-id: svn://10.0.0.236/trunk@106195 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 20:33:49 +00:00
jpierre%netscape.com
fc33ccb04d Fix debug symbols in OS/2 build of NSPR by using absolute paths. Bug 105271
git-svn-id: svn://10.0.0.236/trunk@106194 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 20:19:05 +00:00
jst%netscape.com
cd19286dfb Fixing blocker bug 106474. Make nsAFlatString::GetReadableFragment() deal with a null buffer handles correctly. r=kin@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@106189 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:29:42 +00:00
mkaply%us.ibm.com
0b0e2dd7c9 Fix for OS/2 and AIX bustage
git-svn-id: svn://10.0.0.236/trunk@106188 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:12:02 +00:00
beard%netscape.com
0a9bd3f85d [Not part of build] Bumped versions to 1.0d3.
git-svn-id: svn://10.0.0.236/trunk@106187 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:02:51 +00:00
beard%netscape.com
99ea75333f [not part of build] Renamed JavaConsole.log to "Java Console.log". Implemented UnwrapJavaWrapper().
git-svn-id: svn://10.0.0.236/trunk@106186 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:02:32 +00:00
dsirnapalli%netscape.com
44bf7478bc modified the title.
git-svn-id: svn://10.0.0.236/trunk@106185 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:59:15 +00:00
beard%netscape.com
61dfa132a1 [not part of build] Fixed hang when starting JNIThread triggers a security exception. Removed obsolete NSAGG stuff.
git-svn-id: svn://10.0.0.236/trunk@106184 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:58:20 +00:00
dsirnapalli%netscape.com
d2e133d7ec modified title.
git-svn-id: svn://10.0.0.236/trunk@106183 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:55:47 +00:00
jake%acutex.net
f6426c6f03 Don't rely on the TEST_VERBOSE environment variable (no longer exported from runtests.sh) and instead print to the TESTOUT file handle pulled in from Test::More. This will allow the testing backend to check for verbosity rather than having to handle it in the .t files.
git-svn-id: svn://10.0.0.236/trunk@106182 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:41:53 +00:00
dsirnapalli%netscape.com
97a2ef3389 modified the title.
git-svn-id: svn://10.0.0.236/trunk@106181 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:40:57 +00:00
dougt%netscape.com
9e7d4bff37 Fixes bug 106313 (smoketest blocker). Allowing notification of weak references, regression caused by my nsIObserverService landing. sr=alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@106179 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:02:46 +00:00
jpierre%netscape.com
0db6c405c6 Better way of calling assembler on OS/2
git-svn-id: svn://10.0.0.236/trunk@106177 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 17:35:18 +00:00
mkaply%us.ibm.com
2b0ee4554e #106000
r=pedemont, a=blizzard
Wrong coordinates for stretching 24bit images


git-svn-id: svn://10.0.0.236/trunk@106169 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:46:26 +00:00
bernd.mielke%snafu.de
ac43e7d583 bug 104898 the borderpadding should not influence the inner table margin relative to the
outertable frame r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106168 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:36:33 +00:00
wtc%netscape.com
5b76abc737 Bugzilla bug 103892: include <stdlib.h> rather than <malloc.h> for the
malloc functions.  r=cls.


git-svn-id: svn://10.0.0.236/trunk@106167 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:33:28 +00:00
jake%acutex.net
5f73a3f4db Bug 106424 - We weren't going orange on warnings such as "used only once". This script now properly outputs the --WARNING and fails on such a condition.
git-svn-id: svn://10.0.0.236/trunk@106166 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 13:29:49 +00:00
simon%softel.co.il
ec64a2b0c8 Fix for bug 75034: Selection highlight on some Bidi pages was displayed in the opposite position to the actual selection. r=kin@netscape.com, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106165 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 11:12:31 +00:00
jaggernaut%netscape.com
bc36e83f58 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106162 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:43:59 +00:00
jaggernaut%netscape.com
56e20f9b60 Replace goto with if.
git-svn-id: svn://10.0.0.236/trunk@106159 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:29:54 +00:00
jaggernaut%netscape.com
94c710fdc4 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106158 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:22:08 +00:00
jaggernaut%netscape.com
238eb280fb Bug 53057: [API] turn off implicit |CharT*| conversion operators for nsCString, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106157 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:06:49 +00:00
dbaron%fas.harvard.edu
2f1eb6d907 My guess at AIX and OS/2 bustage was wrong -- backing it out. Someone with access to a machine with one of those compilers will have to try various things here.
git-svn-id: svn://10.0.0.236/trunk@106156 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:03:46 +00:00
jaggernaut%netscape.com
be692fb779 Attempt at fixing bustage for Mac OS X
git-svn-id: svn://10.0.0.236/trunk@106155 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:03:09 +00:00
axel%pike.org
257248e5d0 bug 104042, more leaked exprResults. r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@106154 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 09:00:32 +00:00
jst%netscape.com
22a7f4c158 Fixing bug 106421. Now that we support null strings in the DOM node.localName can be null so we must check for that before calling methods on localName. r=jaggernaut@netscape.com, peterv@netscape.com, sr=me (trivial changes).
git-svn-id: svn://10.0.0.236/trunk@106153 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:57:17 +00:00
axel%pike.org
4196f98412 bug 104042, fix leak in standalone namespacemanager, r=sicking,peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@106152 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:45:32 +00:00
jaggernaut%netscape.com
5e8d984878 BUg 103222: Spiff up nsICollation::CompareStrings string-fu, r=dbaron, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@106151 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:15:57 +00:00
glazman%netscape.com
ddcf3462dc STYLE attribute should not expand CSS shorthand property assignment to equivalent longhand assignments; b=18894, r=peterv, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106150 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:08:30 +00:00
dbaron%fas.harvard.edu
14bbe2fc1a Moving nsRuleNode.cpp back to content/base/src from content/shared/src and inlining GetRule to fix linker errors on BeOS and probably also AIX, and since it doesn't need to be in content/shared and cvs won't like re-adding to content/html/style/src. b=104336
git-svn-id: svn://10.0.0.236/trunk@106149 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 07:48:01 +00:00