404 Commits

Author SHA1 Message Date
rbs%maths.uq.edu.au
e42401a4bf Re-sync some weak style pointers when the primary one is changed, patch by steve.swanson@mackichan.com, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@147678 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 08:27:40 +00:00
rbs%maths.uq.edu.au
6e0c6b72d0 Some explanatory comments
git-svn-id: svn://10.0.0.236/trunk@147677 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 08:22:21 +00:00
bzbarsky%mit.edu
4651d2cebb Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@147623 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 13:24:55 +00:00
jst%mozilla.jstenback.com
5b77a28726 Fixing issue raised in bug 215981.
git-svn-id: svn://10.0.0.236/trunk@147359 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 06:24:54 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
rbs%maths.uq.edu.au
1b1889bbb1 Left-over from bug 219928, add unicode-bidi:embed as well, per smontagu
git-svn-id: svn://10.0.0.236/trunk@147117 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 21:01:03 +00:00
rbs%maths.uq.edu.au
00776a0bdc Add direction:ltr to mathml.css so that bidi processing has no side-effects, b=219928, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@147116 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 20:52:26 +00:00
rbs%maths.uq.edu.au
63b624f9be Ongoing sync:ing of some default metadata based on the feedback of users on various platforms (b=21392,120198)
git-svn-id: svn://10.0.0.236/trunk@146939 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 01:16:49 +00:00
bsmedberg%covad.net
1b71e7ac3e Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt
git-svn-id: svn://10.0.0.236/trunk@146844 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-13 17:55:56 +00:00
bryner%brianryner.com
dbbc84bf94 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146620 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:37:27 +00:00
rbs%maths.uq.edu.au
e320553e23 Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145578 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 02:07:14 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
caillon%returnzero.com
e69f301e32 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@144937 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-18 01:26:47 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
jshin%mailaps.org
86055d0fc4 bug 212125 : factor out loading |nsIPersistentProperties|' from a URI/URIspec and add helper
functions to nsNetUtil.h  (r=rbs, sr=darin)


git-svn-id: svn://10.0.0.236/trunk@144739 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:31:54 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
b2d0c1acfb Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144556 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 11:00:00 +00:00
dbaron%dbaron.org
3bdd5c558b Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144087 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
80187c571f Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143961 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
1b41fc35f5 Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143715 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 23:50:54 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
rbs%maths.uq.edu.au
7dccf4e4f9 Enlist more invariant characters, patch by steve.swanson@mackichan.com, b=206696, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@142939 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 07:17:03 +00:00
bzbarsky%mit.edu
a8d5fd5b51 Make some static data const in layout. Bug 204073, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@142937 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 03:52:33 +00:00
timeless%mozdev.org
b950691d69 Bug 206163 unused variable `nsresult rv' in nsMathMLmactionFrame::GetSelectedFrame()
r=rbs sr=rbs


git-svn-id: svn://10.0.0.236/trunk@142862 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 22:21:31 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
rbs%maths.uq.edu.au
4013809c80 Reset some CSS properties not relevant to MathML <mtable>, b=206704, r+sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@142757 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 19:39:38 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
rbs%maths.uq.edu.au
b1c9bac2b0 mismatch in the mathfont association of the solidus symbol '/', spotted by Geoff Leach <gl@cs.rmit.edu.au> in bug 128153, r+sr=rbs, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142298 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-10 03:40:36 +00:00
rbs%maths.uq.edu.au
8063b3b8f6 Still wrestling with bug 118600, turn static class into pointer and s/./->/g accordingly
git-svn-id: svn://10.0.0.236/trunk@141649 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 01:08:40 +00:00
rbs%maths.uq.edu.au
555bb24d74 Extra consolidation for bug 118600, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@141600 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 16:40:56 +00:00
rbs%maths.uq.edu.au
9c15c8d486 Parameterize the handling of base fonts (i.e., fonts used for certain characters at their base/non-stretchy size). Use that to set base fonts for sqrt (which used to be hard-coded), and fix the &le; problem by setting the safer Symbol font as its base font. Also while here, emulate \mathstrut in sqrt for extra beautification. b=118600, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@141571 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-22 03:32:06 +00:00
alecf%netscape.com
bc74aa5083 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140556 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:51:07 +00:00
seawood%netscape.com
8480117132 Obsoleting xp_str.h:
* Move XP_IS_ macros into nsCRT.h & rename them to NS_IS_
* Make local XP_IS_ macros use the nsCRT ones
* Remove NOT_NULL defines
Bug #199920 r=alecf sr=bryner


git-svn-id: svn://10.0.0.236/trunk@140498 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:38:12 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
59c2bfe187 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
sfraser%netscape.com
9f8ce2b396 Remove dependency on nsInlineFrame::kInlineFrameCID. r/sr=alecf. Bug 74803
git-svn-id: svn://10.0.0.236/trunk@138494 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:17:37 +00:00
roc+%cs.cmu.edu
ad79d0e7da Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@138258 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 02:49:22 +00:00
dbaron%dbaron.org
18e9b2801c Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@138195 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:58:07 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
rbs%maths.uq.edu.au
9ac83650e1 Make MathML handle the <semantics> tag implicitly (take 2), b=154931, r=dbaron, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@137694 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 23:15:01 +00:00
rbs%maths.uq.edu.au
82722bc526 fix bad string usage, b=191529, r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@137342 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 01:08:36 +00:00
rbs%maths.uq.edu.au
593d0fea8e Rework the positioning functions of <mover>, <munder>, <munderover> to improve their behavior w.r.t italic and non-italics fonts. Also use some fuzzy arithmetic to mitigate roundoff errors that could cause accents to collide with their base, b=135940, r=bzbarsky, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136830 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 07:42:20 +00:00
rbs%maths.uq.edu.au
7b59480583 Make the caret appear properly on invisible MathML operators, b=188146, r+sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@136406 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 05:10:03 +00:00
rbs%maths.uq.edu.au
17d1f5f622 fix incorrect position of certain accents, b=188467, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136190 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-11 03:04:30 +00:00
dbaron%dbaron.org
a569c670f5 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
c278517282 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00