rjesup%wgate.com
15d98882e8
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
glazman%netscape.com
d430c2f52d
oops, forgot to remove variable in previous check-in; b=95062, r=peterv, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110888 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:21:01 +00:00
glazman%netscape.com
76e810cc78
computed style for text-decoration was always answering ""; b=95062, r=peterv, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110887 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:15:32 +00:00
seawood%netscape.com
0bd62df729
Landing the rest of the win32 gmake changes:
...
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup
Bug #58981 r=mcafee
git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com
576ec93128
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
436d43f211
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
...
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
bzbarsky%mit.edu
ea7174b216
Implement (turn on, really) SetCssText for style declarations. Bug
...
91370, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110526 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 04:33:11 +00:00
sfraser%netscape.com
ff5c1dcc81
Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:10:42 +00:00
bbaetz%cs.mcgill.ca
478af40f6f
Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
...
alex.fritze@crocodile-clips.com , james.turner@crocodile-clips.com , and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes
r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.
NOT ON BY DEFAULT
git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
hewitt%netscape.com
0b50d686f1
114184 - DrawCompositeSide can't deal with sides of differing widths, r=ben, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@110252 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:53 +00:00
hewitt%netscape.com
5078bd3bd8
114535 - crash setting !important on a -moz-image-region property, 114132 - rounded multi-level borders use wrong radii, r=ben, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@110250 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:11:09 +00:00
shanjian%netscape.com
db6a4146a5
#105199 glyph search order is NOT lang dependent
...
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@110219 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 04:12:34 +00:00
hewitt%netscape.com
c5ba8bd720
113562 - nsIContent needs HasAttr method, r=jag, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110204 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:57:52 +00:00
bzbarsky%mit.edu
d8dc8592bc
Add an assertion to the CSS loader for cases when sheet decoding fails.
...
stopgap measure for bug 106843, r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@110201 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:48:49 +00:00
dp%netscape.com
e1a23ad8a5
bug 110555 Ignoring error when user css files not found. r=dveditz,
...
sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110132 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 16:14:02 +00:00
jaggernaut%netscape.com
357c78f88e
BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110075 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 07:08:38 +00:00
bzbarsky%mit.edu
49ffcb2809
Re-enable inspector showing positioning values. Bug 113863, r=timeless,
...
sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@109878 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:29:53 +00:00
bzbarsky%mit.edu
bcc3a4a7b2
Fix computed positioning style for static elements and computed
...
z-index. Bug 109523, r=glazou, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@109861 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 21:15:54 +00:00
seawood%netscape.com
b744e4e636
Move inlined function nsCSSMargin::EnsureBorderColors() before the functions that use it in order to appease Sun's Workshop/Forte 6 compiler.
...
Fixing tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@109826 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 10:10:15 +00:00
hyatt%netscape.com
6c6f01e32e
Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988
...
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
leaf%mozilla.org
516776e606
remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@109714 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 03:43:29 +00:00
alecf%netscape.com
728ab648ca
fix for bug 110531, r=dougt, jag, sr=darin - moving ConverterInputStream into uconv, and changing the one in XPCOM into an UTF8-only converter
...
git-svn-id: svn://10.0.0.236/trunk@109591 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 01:10:43 +00:00
alecf%netscape.com
104971899d
part of fix for bug 110531 - move CSS loader over to using nsIConverterStream instead of nsIUnicharInputStream
...
sr=darin, r=dougt
git-svn-id: svn://10.0.0.236/trunk@109558 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-03 23:03:18 +00:00
bzbarsky%mit.edu
d414acca70
Fix typo in value returned by getComputedStyle. Bug 112866, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@109474 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-02 00:28:48 +00:00
jst%netscape.com
304a701c9b
Whitespace changes.
...
git-svn-id: svn://10.0.0.236/trunk@109199 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 09:59:31 +00:00
jst%netscape.com
be2baf922d
Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@109187 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 08:48:53 +00:00
alecf%netscape.com
bf4d9b0e6e
first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake
...
git-svn-id: svn://10.0.0.236/trunk@109022 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:13:53 +00:00
seawood%netscape.com
889469fd27
Rename 'install' build phase to 'libs'.
...
Bug #56601 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
dbaron%fas.harvard.edu
b42386ef84
Bug 109431: Speed up ID selector matching, mainly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. Bug 110815: Avoid an unneeded QI from nsICSSStyleRule to nsIStyleRule, which it inherits. r=jag sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@108664 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 03:30:44 +00:00
dbaron%fas.harvard.edu
eb89cf17f8
Speed up HTMLAttributesImpl::HasClass, mostly by using nsDependentString instead of nsAutoString. Patch by rjesup and me. r=jag sr=jst b=109416
...
git-svn-id: svn://10.0.0.236/trunk@108663 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 03:27:14 +00:00
bzbarsky%mit.edu
945c775af1
Check the mimetype on the stylesheet channel and only
...
load the sheet if the type is text/css (strict mode change
only). bug 46225, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@108487 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 20:30:29 +00:00
rbs%maths.uq.edu.au
5553e08c9e
bug 110417 - no need to special-case the viewsource protocol anymore since security now knows about it. r=bzbasrky sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@108341 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 02:36:05 +00:00
jaggernaut%netscape.com
d928e4ddac
Clean up REQUIRES lines. r/sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
alecf%netscape.com
0c847ee212
win32 REQUIRES cleanup
...
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
dbaron%fas.harvard.edu
e619d6fc7c
Pull computation of loop invariants for rule matching out of outer loop (over rule processors) as well, from SelectorMatchesData in nsCSSStyleSheet to RuleProcessorData in nsStyleSet. Use the RuleProcessorData structure in nsHTMLStyleSheet as well. Simplify matching of :-moz-bound-element pseudo-class. b=83836 r=waterson, pierre sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@107856 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:51:45 +00:00
bzbarsky%mit.edu
7d6358f8fc
Fix getComputedStyle() position/size calculations. Bug 84599 and bug
...
94855, r=glazou, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107832 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 17:29:04 +00:00
dbaron%fas.harvard.edu
b941398e09
Add omitted NS_INIT_ISUPPORTS. b=108750 a=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@107639 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 02:17:43 +00:00
dbaron%fas.harvard.edu
77c9718bde
Move nsDOMCSSAttributeDeclaration into its own file to progress towards moving all of the style system code back into the layout library. r=jst sr=hyatt b=108750
...
git-svn-id: svn://10.0.0.236/trunk@107591 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 07:06:31 +00:00
rods%netscape.com
843ec68778
Initial check in for print preview work it is complied in for Windows and linix only
...
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107448 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 12:18:51 +00:00
bzbarsky%mit.edu
8e5d7cf707
Fix the strings returned by .newValue/.prevValue for mutation events
...
(get rid of extra quotes, always set .prevValue if it exists). Bug
107526, r=fabian, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@107329 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 13:19:10 +00:00
jst%netscape.com
425fc3a0b6
Fixing bug 108321. Don't waste time using the component manager when creating an nsHTMLAttributes when setting attributes on an element, call NS_NewHTMLAttributes() directly in stead. Also doing some cleaning up in nsHTMLStyleSheet.cpp. r=dbaron@fas.harvard.edu, sr=hyatt@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@107237 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 08:13:48 +00:00
kin%netscape.com
9673ca95ec
Backout glazman's fix for bug 107567, pending investigation
...
on why it causes the tinderbox Leak count to go up.
a=beard@netscape.com ,jj@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106834 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 19:03:46 +00:00
glazman%netscape.com
8c9c7abf8d
Remove useless mSheetMap table from nsCSSLoader; b=107567, r=peterv,rjesup@wgate.com; sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@106832 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 15:53:25 +00:00
dbaron%fas.harvard.edu
9b135c4afe
Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
jaggernaut%netscape.com
9e8f600926
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@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
alecf%netscape.com
820a14b2cb
other changes for bug 100214, r=jag, sr=scc
...
include nsUnicharUtils.h for useful stuf
git-svn-id: svn://10.0.0.236/trunk@106313 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 02:38:29 +00:00
dbaron%fas.harvard.edu
9ef49bf676
Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
...
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +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
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