Commit Graph

1171 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
1866641871 UTFInputStream does not do very good error-recovery, so always
use nsConverterInputStream instead.  Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron
2002-12-04 06:07:50 +00:00
caillon%returnzero.com
02dff0ba15 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
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu
229d7e68c8 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
2002-12-03 20:19:18 +00:00
bzbarsky%mit.edu
13b5c15201 ugh. Forgot this one line... 2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu
3e31b94167 Change nsICSSLoader to nsAString instead of nsString (build bustage). 2002-12-03 06:46:46 +00:00
bzbarsky%mit.edu
fe53f95e60 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.
2002-12-03 05:48:14 +00:00
peterv%netscape.com
2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
sicking%bigfoot.com
8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
darin%netscape.com
d9541f875d fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +00:00
caillon%returnzero.com
5a9f5e36a3 Fixing an NS_PRECONDITION to reference the correct variable. Followup to last night's checkin for bug 147189. r/sr=bzbarsky 2002-11-20 06:35:33 +00:00
bzbarsky%mit.edu
b2a01de54e Report the unknown namespace when we have an unknown namespace error.
Bug 180852, r=dbaron, rs=roc+moz
2002-11-19 15:12:02 +00:00
caillon%returnzero.com
5586aa4d4a Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189
2002-11-19 07:41:07 +00:00
dbaron%fas.harvard.edu
f6b1702067 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 2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu
86bf9601f7 Backing out alecf for now, since this change makes mailcompose crash
(and we don't want smoketest blockers, now do we?)
2002-11-16 12:07:13 +00:00
alecf%netscape.com
18bb1664d9 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
2002-11-16 05:37:24 +00:00
dbaron%fas.harvard.edu
dc83a84103 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 2002-11-12 15:17:07 +00:00
bzbarsky%mit.edu
74a9b1ed3e Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
177026, r=rpotts, sr=darin
2002-11-06 22:29:17 +00:00
seawood%netscape.com
f9959bc296 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
2002-11-06 21:07:23 +00:00
glazman%netscape.com
dd816389e5 CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv 2002-11-06 08:31:19 +00:00
bzbarsky%mit.edu
fd71e8e971 fix regression in setting important property values in inline style via
DOM.  Bug 173767, r=caillon, sr=dbaron
2002-11-06 02:07:17 +00:00
bzbarsky%mit.edu
f83e342a15 CheckLoadURI should use document uri, not base uri. Bug 177237,
r=mstoltz, sr=jst, a=blizzard
2002-11-05 03:45:28 +00:00
dbaron%fas.harvard.edu
ee1ac12967 Back out patch for bug 161109 that implemented a pref for disabling marquee. b=161109 r=hixie a=asa 2002-10-30 14:31:32 +00:00
seawood%netscape.com
57e08a3f3a 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
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu
cd39dd8995 Margin/padding computations need to flush the reflow queue. Bug 173354,
r=caillon, sr=heikki, a=asa.
2002-10-16 03:38:52 +00:00
dbaron%fas.harvard.edu
3ad435a24c OK, over from snprintf to PR_snprintf. b=173837 2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu
17ce8bf5d5 Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837 2002-10-15 00:20:45 +00:00
dbaron%fas.harvard.edu
fc4297892b Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup 2002-10-15 00:06:57 +00:00
dbaron%fas.harvard.edu
9c32fa806d Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup 2002-10-14 23:57:17 +00:00
dbaron%fas.harvard.edu
cac2947037 Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup 2002-10-14 23:49:48 +00:00
heikki%netscape.com
919aef29e4 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa. 2002-10-11 00:38:29 +00:00
bzbarsky%mit.edu
093137e9f2 Make GetImportantRule and GetISupportsValue return already_AddRefed.
Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:59:43 +00:00
bzbarsky%mit.edu
279ffda515 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
caillon%returnzero.com
5ba9439c07 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
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
50be3cbecb Attempt to fix mach-o bustage. b=172207 2002-10-08 03:58:32 +00:00
caillon%returnzero.com
3afede1887 Attempting to fix Windows bustage 2002-10-08 03:03:56 +00:00
caillon%returnzero.com
d8d932cd3f More footprint work; Axing the large switch statement in GetPropertyCSSValue()
bug 172207 r=bzbarsky sr=alecf
2002-10-08 01:53:31 +00:00
caillon%returnzero.com
8e992f87ae Bug 170895. Reducing footprint. Use XPCOM aggregation to get at CSS2Properties.
r=dbaron sr=alecf
2002-10-03 19:41:42 +00:00
dbaron%fas.harvard.edu
58e711b7d5 Use correct interface pointer to fix crash inserting rule into media rule. b=170699 r=glazman sr=roc+moz 2002-10-03 01:02:13 +00:00
dbaron%fas.harvard.edu
12c92754b3 Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227 2002-09-30 14:46:56 +00:00
darin%netscape.com
71bb3b05de fixes bug 170789 "HTTP Accept: header should be tailored to context of the
request" r=dougt sr=bzbarsky
2002-09-27 04:22:13 +00:00
caillon%returnzero.com
9061952afd Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
darin%netscape.com
2de4f81a70 fixes bug 170648 "eliminate referrer type from nsIHttpChannel in preparation
for freezing" r=dougt sr=rpotts
2002-09-25 21:28:53 +00:00
alecf%netscape.com
b15e45e72d re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
bzbarsky%mit.edu
ddf2a851ed Fix an edge case in color-parsing correctness. Bug 154755, r=glazman,
sr=dbaron
2002-09-14 05:28:26 +00:00
bzbarsky%mit.edu
49fd167d97 negative border widths are not legal in CSS. bug 167657, r=glazou,
sr=dbaron.
2002-09-11 01:47:25 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
jst%netscape.com
76ab201522 Whitespace cleanup, no code changes. r/sr/a=me! 2002-09-07 01:48:39 +00:00
caillon%returnzero.com
7f92e25158 Remove an unneeded check: unsigned ints are always >= 0.
Bug 166364; r=sicking; sr=jst
2002-09-04 02:15:35 +00:00
axel%pike.org
311e1be821 fix MOZ_TIMELINE bustage by bzbarzky, bug 119321. code by peterv, r=me 2002-08-28 12:18:26 +00:00
bzbarsky%mit.edu
d9ea7f8f8f 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.
2002-08-27 23:47:25 +00:00