981 Commits

Author SHA1 Message Date
cathleen%netscape.com
184587ade7 eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +00:00
timeless%mac.com
092ea531fa Bug 33601ÿfixing warnings about switch(enumVar){case onlyOne: {}}
adds a default case. also removing an else after return.

r=roc+moz@cs.cmu.edu sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113941 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:05:16 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
roc+%cs.cmu.edu
9e52ce4c8a Bug 33601. Force REFRAME style hints if views might need to be created in response to opacity or background-attachment style changes. r=dbaron,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@112990 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:53:27 +00:00
cathleen%netscape.com
3fcee4d2a1 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp


git-svn-id: svn://10.0.0.236/trunk@112913 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:04:45 +00:00
bzbarsky%mit.edu
ed5639cb0b Make computed border-style and float be "none" by default. Bugs 120982
and 120965, patch by Christopher Aillon <caillon@returnzero.com>,
r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112730 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 21:19:21 +00:00
blythe%netscape.com
bc94a17a37 Fix bug 120422
r=dbaron,rs=hyatt
Do not delete ref counted object.


git-svn-id: svn://10.0.0.236/trunk@112706 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 18:28:25 +00:00
bzbarsky%mit.edu
5c0d8738e5 computed list-style-image should be "none" if there is no image. Bug
120719, r=hixie, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@112651 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 04:22:59 +00:00
bzbarsky%mit.edu
ad1fb22926 Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
cmanske%netscape.com
17076aa673 Fixed hasAttribute for non-mapped attributes, b=120607, r=bzbarsky@mit.edu, sr=jst, a=blizzard/drivers
git-svn-id: svn://10.0.0.236/trunk@112447 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 20:08:02 +00:00
dbaron%fas.harvard.edu
bb05524539 Fix windows bustage.
git-svn-id: svn://10.0.0.236/trunk@112264 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 02:04:20 +00:00
dbaron%fas.harvard.edu
764654ae65 Fix inspector link errors by adding a method on nsICSSStyleRule that forwards GetValue to nsCSSDeclaration.
git-svn-id: svn://10.0.0.236/trunk@112260 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 01:34:47 +00:00
sfraser%netscape.com
5c83adb01f Fixing build bustage for blythe; fix header name in MANIFEST.
git-svn-id: svn://10.0.0.236/trunk@112220 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 23:15:02 +00:00
blythe%netscape.com
8f002dba27 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112202 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:43:37 +00:00
bzbarsky%mit.edu
df8173369a Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@112041 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-13 04:03:52 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
bzbarsky%mit.edu
b7de1b681f Implement computed position and clip, make computed style not round
values, fix font-style to say "normal" instead of "", and some random
cleanup.  Bugs 116032, 116033, 94080, 98052


git-svn-id: svn://10.0.0.236/trunk@111897 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:15:55 +00:00
bzbarsky%mit.edu
5bba6cc807 Build system changes to build nsDOMCSSRect. Bug 116032, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111895 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:12:10 +00:00
bzbarsky%mit.edu
bed5a07b00 Adding nsIDOMRect implementation to support computed clip. Not part of
build yet.  Bug 116032, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@111894 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:09:01 +00:00
brade%netscape.com
39059cb173 remove unused statics kCSSBreaksSID and kCSSPageSID for gain of 32 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111815 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:08:36 +00:00
brade%netscape.com
c1caa500c8 remove unused static kISupportsIID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111814 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:07:59 +00:00
bzbarsky%mit.edu
71baca7741 Fix assertions when getting computed -moz-outline-width and
-moz-marker-offset and enable these in Inspector.  Bug 114086, r=fabian,
sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111780 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 02:20:17 +00:00
rbs%maths.uq.edu.au
13b4696963 Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111752 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 00:04:35 +00:00
jst%netscape.com
901f0df3ef Fixing bug 118202. Make <link href='http://...'> send a HTTP referrer to the server. r=bzbarsky@mit.edu, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111649 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 05:56:43 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
hyatt%netscape.com
2e88971c9c Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@111336 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 00:28:01 +00:00
hwaara%chello.se
1779335a43 #117050, fix bustage for embeddors who turn XUL off.
r=dbaron, sr=blake


git-svn-id: svn://10.0.0.236/trunk@111161 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 22:07:54 +00:00
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