1186 Commits

Author SHA1 Message Date
dbaron%dbaron.org
30879d2c9e Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
bzbarsky%mit.edu
6f77aecc51 fix a crash that could happen if a child import met with an error (eg failed to
open a channel).  Bug 186606, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135919 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 01:13:07 +00:00
bzbarsky%mit.edu
4f71cabdd3 asserting that a PRUint32 is >= 0 is silly. Bug 187002, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@135915 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 00:37:19 +00:00
sicking%bigfoot.com
34e90f95bb Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@135885 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 14:55:13 +00:00
bzbarsky%mit.edu
e8d6ddcbea Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
perf impact. r=rjc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@135861 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 19:00:18 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
9f1c84eb30 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?


git-svn-id: svn://10.0.0.236/trunk@135121 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
9bee87fcca relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...


git-svn-id: svn://10.0.0.236/trunk@135112 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu
e69b0ba88c Backing out bug 182124 because I think it caused Ts to go up...
git-svn-id: svn://10.0.0.236/trunk@135109 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
d1a0c8d1d1 Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@135096 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu
499000aebc Resolve possible problem in the unlikely event that we kick off an async load
for a sheet and then kick off a sync load for the same sheet before the async
load completes...  Bug 183299, r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135083 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 00:28:47 +00:00
caillon%returnzero.com
8eb8abf86c 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv


git-svn-id: svn://10.0.0.236/trunk@135071 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:44:03 +00:00
bzbarsky%mit.edu
7b2de6a1f3 Fix crash in some icky document.write() cases.. We gotta stop blocking the
parser.  Bug 183784, r=sicking, sr=peterv, a=asa


git-svn-id: svn://10.0.0.236/trunk@134869 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-06 01:27:37 +00:00
bzbarsky%mit.edu
669a5e13af I meant 8192 and typed 8092. r/sr/a=brendan
git-svn-id: svn://10.0.0.236/trunk@134831 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu
c54400e68f UTFInputStream does not do very good error-recovery, so always
use nsConverterInputStream instead.  Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron


git-svn-id: svn://10.0.0.236/trunk@134779 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 06:07:50 +00:00
caillon%returnzero.com
3519a9924e Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst


git-svn-id: svn://10.0.0.236/trunk@134777 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu
efa23d95ee Take out the hack added in bug 47846 to deal with the fact that Equals() did
not work on mailnews urls.  It works fine now (see bug 98626).

Bug 182248, r=bienvenu. sr=darin


git-svn-id: svn://10.0.0.236/trunk@134712 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 20:19:18 +00:00
bzbarsky%mit.edu
e47b242a89 ugh. Forgot this one line...
git-svn-id: svn://10.0.0.236/trunk@134675 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu
fbeccbf189 Change nsICSSLoader to nsAString instead of nsString (build bustage).
git-svn-id: svn://10.0.0.236/trunk@134673 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 06:46:46 +00:00
bzbarsky%mit.edu
c3731640d3 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.


git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
sicking%bigfoot.com
6f8753e832 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz


git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
darin%netscape.com
b59017f198 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134319 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 07:40:16 +00:00
caillon%returnzero.com
8030ffe804 Fixing an NS_PRECONDITION to reference the correct variable. Followup to last night's checkin for bug 147189. r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134173 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 06:35:33 +00:00
bzbarsky%mit.edu
0c8594d486 Report the unknown namespace when we have an unknown namespace error.
Bug 180852, r=dbaron, rs=roc+moz


git-svn-id: svn://10.0.0.236/trunk@134098 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:12:02 +00:00
caillon%returnzero.com
8a84ae4c09 Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189


git-svn-id: svn://10.0.0.236/trunk@134093 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 07:41:07 +00:00
dbaron%fas.harvard.edu
307f43b5a1 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
2dfbc5fd7d Backing out alecf for now, since this change makes mailcompose crash
(and we don't want smoketest blockers, now do we?)


git-svn-id: svn://10.0.0.236/trunk@133971 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 12:07:13 +00:00
alecf%netscape.com
7ecfcf2dd0 prep work for fixing bug 180379 - stop creating extra nsCSSSelectors - instead of creating them on the stack then copying them to the heap, start with them newly on the heap.
r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@133956 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 05:37:24 +00:00
dbaron%fas.harvard.edu
e8f31961d7 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
git-svn-id: svn://10.0.0.236/trunk@133655 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:17:07 +00:00
bzbarsky%mit.edu
8fd8d79350 Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
177026, r=rpotts, sr=darin


git-svn-id: svn://10.0.0.236/trunk@133205 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 22:29:17 +00:00
seawood%netscape.com
bc91143746 Fix pointer casting for AIX 64-bit builds.
Thanks to Philip K. Warren <pkw@us.ibm.com> for the patch.
Bug #177906 r=cls sr=scc


git-svn-id: svn://10.0.0.236/trunk@133191 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 21:07:23 +00:00
glazman%netscape.com
ba5cb51bf5 CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@133139 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 08:31:19 +00:00
bzbarsky%mit.edu
036dcaa1ec fix regression in setting important property values in inline style via
DOM.  Bug 173767, r=caillon, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@133073 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:07:17 +00:00
bzbarsky%mit.edu
47c119bdef CheckLoadURI should use document uri, not base uri. Bug 177237,
r=mstoltz, sr=jst, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@132995 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 03:45:28 +00:00
dbaron%fas.harvard.edu
eb403a9137 Back out patch for bug 161109 that implemented a pref for disabling marquee. b=161109 r=hixie a=asa
git-svn-id: svn://10.0.0.236/trunk@132707 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 14:31:32 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu
b936f80095 Margin/padding computations need to flush the reflow queue. Bug 173354,
r=caillon, sr=heikki, a=asa.


git-svn-id: svn://10.0.0.236/trunk@132066 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 03:38:52 +00:00
dbaron%fas.harvard.edu
b3d24bd19b OK, over from snprintf to PR_snprintf. b=173837
git-svn-id: svn://10.0.0.236/trunk@132005 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu
37dfe04a81 Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837
git-svn-id: svn://10.0.0.236/trunk@132004 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:20:45 +00:00
dbaron%fas.harvard.edu
7f403370a5 Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/trunk@132001 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:06:57 +00:00
dbaron%fas.harvard.edu
521000f98f Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131998 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:57:17 +00:00
dbaron%fas.harvard.edu
795925d5f4 Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup
git-svn-id: svn://10.0.0.236/trunk@131997 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:49:48 +00:00
heikki%netscape.com
5bee27e8e8 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa.
git-svn-id: svn://10.0.0.236/trunk@131749 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 00:38:29 +00:00
bzbarsky%mit.edu
8e9f040f59 Make GetImportantRule and GetISupportsValue return already_AddRefed.
Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131534 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:59:43 +00:00
bzbarsky%mit.edu
a70a392a2c Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
caillon%returnzero.com
0f7366d6d0 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
a8ebb4c9a5 Attempt to fix mach-o bustage. b=172207
git-svn-id: svn://10.0.0.236/trunk@131382 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:58:32 +00:00
caillon%returnzero.com
1c8e700439 Attempting to fix Windows bustage
git-svn-id: svn://10.0.0.236/trunk@131369 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:03:56 +00:00