Commit Graph

449 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
520b30a7f7 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
rbs%maths.uq.edu.au
ac038dddd0 Oops, typo, should have replicated the local definition of ∥ in each file 2005-11-01 04:27:01 +00:00
rbs%maths.uq.edu.au
639e48b912 Configure ‖ (a.k.a. ‖ \u2016) to stretch like ∥ (\u2225), b=314459, r+sr=roc 2005-11-01 03:26:37 +00:00
cvshook%sicking.cc
64a0fbd45f Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
rbs%maths.uq.edu.au
b8cfd776c2 crash evil mathml testcase with display:block, r+sr=bz, b=286122 2005-10-26 23:21:09 +00:00
rbs%maths.uq.edu.au
10d9b28fce Fix holes in stretchy MathML characters when their glue is tiny, b=311046, r+sr=roc 2005-10-20 00:28:47 +00:00
rbs%maths.uq.edu.au
b1ce792280 Bug 191847,297464, allow negative widths in <mspace> for uses like overstriking, r+sr=roc 2005-10-19 00:57:17 +00:00
roc+%cs.cmu.edu
fed343c43a Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
rbs%maths.uq.edu.au
2f303ef684 Fix the inter-space for the fraction line and other special cases, b=308045, r+sr=roc 2005-09-16 00:39:27 +00:00
rbs%maths.uq.edu.au
298b3d2b9d Fully update the state even on invalid markups to avoid crashing, b=307839, r+sr=bz 2005-09-12 05:51:18 +00:00
bzbarsky%mit.edu
cf64715ae5 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky
2005-09-07 16:49:21 +00:00
rbs%maths.uq.edu.au
b495f2aa64 Inter-spacing improvements between MathML frames, b=306543, r+sr=roc 2005-09-06 23:47:01 +00:00
rbs%maths.uq.edu.au
818e201900 Prevent gaps in stretchy characters, b=307157, r+sr=roc 2005-09-06 23:18:27 +00:00
rbs%maths.uq.edu.au
efddd4e6f8 Don't allow a vertical stretchy character to shrink, r+sr=roc, b=306004 2005-09-06 23:14:12 +00:00
rbs%maths.uq.edu.au
3554a3756a Paint the numerator and denominator early so that their background doesn't overwrite the fraction line, b=303486, r+sr=roc, a=asa 2005-08-08 03:20:59 +00:00
rbs%maths.uq.edu.au
cd36853037 Map some attributes to style, b=302722, r+sr=roc, a=bsmedberg 2005-08-02 23:25:22 +00:00
bzbarsky%mit.edu
129cf8db37 Fix mathml attribute sheet creation to correctly insert the @namespace rule.
Bug 289677, r+sr=rbs, a=shaver
2005-05-16 17:01:21 +00:00
bmlk%gmx.de
c54e33ae04 fix PreFast warnings in layout/mathml bug 288023 r=rbs sr=roc 2005-03-30 07:34:20 +00:00
rbs%maths.uq.edu.au
8e648b7b21 Fix crash on dead pointers by rebuilding the embellished hierarchy when an embellished child is changed, b=284001, r+sr=bz 2005-03-14 05:30:49 +00:00
bzbarsky%mit.edu
916d258d10 Fix delete calls to match the new calls (use delete[]). Bug 282700, patch by
David Gardiner <david.gardiner@unisa.edu.au>, r+sr=rbs
2005-02-25 03:26:06 +00:00
bzbarsky%mit.edu
e042c2f571 Move reflow command construction into nsPresShell::AppendReflowCommand, remove
some members, switch some callers to the non-COM-ish apis.  Bug 267085, r+sr=rbs
2005-02-08 00:59:52 +00:00
bzbarsky%mit.edu
5fa60511fe Remove prescontext args for a bunch of MathML methods. Also includes the
MathML part of the patch for bug 244581.  Patch by Vidar Braut Haarr
<bugmail@q1n.org>, r=rbs, sr=bzbarsky
2005-02-07 01:57:50 +00:00
bzbarsky%mit.edu
2e62979ba1 Getting the selector text should properly escape and quote attribute value
strings.  Bug 142648, patch by Daniel Kraft <domob@daniel-kraft.net>, r=dbaron,
sr=bzbarsky.
2005-01-30 18:01:57 +00:00
kjh-5727%comcast.net
c9e0e90d54 Make nsIFontMetrics::GetFont() non-virtual. Bug 230605, r=bryner, sr=bzbarsky. 2005-01-22 16:00:07 +00:00
bzbarsky%mit.edu
1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
neil%parkwaycc.co.uk
74e2aa375a Bug 276100 GetOriginToView has unused PresContext argument p=bugmail@q1n.org r+sr=dbaron 2005-01-01 17:26:29 +00:00
cbiesinger%web.de
c654114bb6 fixing mathml bustage from bug 270708 2004-12-31 03:00:21 +00:00
bugzilla%arlen.demon.co.uk
3d7261604c Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky
2004-12-31 01:13:27 +00:00
rbs%maths.uq.edu.au
fe00b25319 Check the visibilty before painting the fraction line and the radical bar, b=275823, r+sr=roc 2004-12-30 22:49:23 +00:00
bsmedberg%covad.net
60567bb185 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2004-12-15 04:07:01 +00:00
dbaron%dbaron.org
9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
gerv%gerv.net
670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
bryner%brianryner.com
f67d250152 Unify box and frame trees by moving nsIBox methods onto nsIFrame. XUL-box frames can call the superclass nsBox implementation, all other frames get the nsFrame implementation of the box methods, which acts like nsBoxToBlockAdaptor used to. Bug 258513, r+sr=roc. 2004-09-28 18:37:50 +00:00
dbaron%dbaron.org
96c0e36f4e Separate concept of stylesheet URI into base URI (for resolving relative links) and sheet URI (for everything else), since they can differ for style elements (and inline style and style set from script, but that's for the next patch). Some other things (relating to external stylesheets, where it doesn't make a difference) that probably should use the sheet URL are left as the base URL for now because I didn't want to change too much at once. b=255538 r+sr=bzbarsky 2004-09-10 06:45:59 +00:00
bryner%brianryner.com
d082d2bf5e More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.
2004-08-29 03:08:44 +00:00
gerv%gerv.net
ba2432c07e Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
bryner%brianryner.com
b88692c5a1 Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-24 18:50:29 +00:00
bryner%brianryner.com
0c08074b27 Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction) 2004-08-22 07:10:50 +00:00
bryner%brianryner.com
d86c91ac3a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron. 2004-08-22 04:58:44 +00:00
bryner%brianryner.com
8c24cc7e63 Backing out bug 253888 until I can figure out how to fix the crash 2004-08-21 06:27:54 +00:00
bryner%brianryner.com
11d98b36e5 Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron. 2004-08-21 05:09:50 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
cbiesinger%web.de
54e0371529 Bug 252948 remove *WithConversion in layout
r+sr=bz
2004-07-25 12:18:04 +00:00
aaronleventhal%moonset.net
910e44a7d5 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-16 16:56:21 +00:00
aaronleventhal%moonset.net
692a414811 Backing out bug 151375 for now, because of scrolling regressions in HTML and XUL listboxes and comboboxes 2004-07-15 18:57:47 +00:00
aaronleventhal%moonset.net
be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com
99e02e5aa3 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2004-05-07 20:55:17 +00:00
roc+%cs.cmu.edu
d1170ac0a9 Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron 2004-04-30 13:23:43 +00:00
tor%cs.brown.edu
868dd94ecb Bug 240274 - remove unused argument of SetClip{Rect,Region}.
r=blizzard, sr=bryner
2004-04-23 15:21:24 +00:00
gerv%gerv.net
708b56cff4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
tor%cs.brown.edu
83eb215db9 Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner 2004-04-18 13:13:35 +00:00
rbs%maths.uq.edu.au
11d094c977 paint the background of MathML frames like inline frames do, b=235835, r+sr=roc 2004-03-08 04:14:07 +00:00
rbs%maths.uq.edu.au
e5c2cd1a83 fix a non initialized variable that was causing some MathML pages to hang, b=236326,122554, r+sr=roc 2004-03-04 23:07:45 +00:00
darin%meer.net
c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com
225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bryner%brianryner.com
5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
bryner%brianryner.com
4f69ec2c2e Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
bryner%brianryner.com
42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
bryner%brianryner.com
08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
bryner%brianryner.com
bc74f0b352 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
bzbarsky%mit.edu
88734d1060 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
bryner%brianryner.com
ef5c330583 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
peterv%propagandism.org
379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bmlk%gmx.de
a217311c27 remove unneccesary prescontext arguments bug 230923 r/sr=roc 2004-01-18 10:28:40 +00:00
roc+%cs.cmu.edu
e7f165c614 Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz 2004-01-09 14:20:53 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
bsmedberg%covad.net
d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
bryner%brianryner.com
dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
jst%mozilla.jstenback.com
4183787fa9 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
peter%propagandism.org
f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
uid502
d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
rbs%maths.uq.edu.au
621378faa2 Re-sync some weak style pointers when the primary one is changed, patch by steve.swanson@mackichan.com, r+sr=rbs 2003-10-07 08:27:40 +00:00
rbs%maths.uq.edu.au
f9e0e5e142 Some explanatory comments 2003-10-07 08:22:21 +00:00
bzbarsky%mit.edu
641223fdd9 Make sure that sheets in a document always know their URL. Bug 218031, r+sr=dbaron 2003-10-06 13:24:55 +00:00
jst%mozilla.jstenback.com
1e7af0b25f Fixing issue raised in bug 215981. 2003-09-27 06:24:54 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 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. 2003-09-27 04:18:26 +00:00
rbs%maths.uq.edu.au
2403f46a2d Ongoing sync:ing of some default metadata based on the feedback of users on various platforms (b=21392,120198) 2003-09-16 01:16:49 +00:00
bsmedberg%covad.net
0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bryner%brianryner.com
9d11b3c424 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:37:27 +00:00
rbs%maths.uq.edu.au
408bf58f3f Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron 2003-08-05 02:07:14 +00:00
bzbarsky%mit.edu
e2e733b5de DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:25:13 +00:00
caillon%returnzero.com
7495519180 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
jshin%mailaps.org
59d134d2f9 bug 212125 : factor out loading |nsIPersistentProperties|' from a URI/URIspec and add helper
functions to nsNetUtil.h  (r=rbs, sr=darin)
2003-07-11 21:31:54 +00:00
dbaron%dbaron.org
d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
roc+%cs.cmu.edu
87d53ca294 Ongoing deCOMtamination. r+sr=dbaron 2003-07-08 11:00:00 +00:00
dbaron%dbaron.org
06bb24f863 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 2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
e1e798d3f8 Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky 2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
39d390d27f 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 2003-06-14 23:50:54 +00:00
caillon%returnzero.com
2df173e9c8 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
2003-06-13 20:10:01 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
rbs%maths.uq.edu.au
e3e5519e4f Enlist more invariant characters, patch by steve.swanson@mackichan.com, b=206696, r+sr=rbs 2003-05-27 07:17:03 +00:00
bzbarsky%mit.edu
8b80364217 Make some static data const in layout. Bug 204073, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:52:33 +00:00
timeless%mozdev.org
4b8c1bbb54 Bug 206163 unused variable `nsresult rv' in nsMathMLmactionFrame::GetSelectedFrame()
r=rbs sr=rbs
2003-05-23 22:21:31 +00:00
dwitte%stanford.edu
270d3909ca 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.
2003-05-23 21:34:47 +00:00
dbaron%dbaron.org
75ff60c62f 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 2003-05-15 03:42:21 +00:00