46 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
51a3e5e4a4 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


git-svn-id: svn://10.0.0.236/trunk@168893 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 01:57:50 +00:00
bugzilla%arlen.demon.co.uk
e4daffa10a Bug 270708 remove nsPresContext variable from AttributeChanged and cleaned up comment in nsIFrame.h
p=bugmail@q1n.org r=pkwarren sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@167124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-31 01:13:27 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +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
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
a0fbf5f0ca Merge mi/ms/mtext in a single token class and make mo inherit from the token class. The merge allows centralizing the special treatment needed for their child text frames that are non-MathML, b=162412, r=roc+moz, sr=kin
git-svn-id: svn://10.0.0.236/trunk@127492 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 21:36:31 +00:00
rbs%maths.uq.edu.au
07186d47ad bug 126619 - fixups for the final metrics of certain MathML characters, and add transliteration for U+2212 the official Unicode minus sign (ongoing bug 119664), r=roc+moz, rs=attinasi/blizzard, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115399 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:35:27 +00:00
rbs%maths.uq.edu.au
7476da1396 Extend the support of MathML styling attributes to the root <math> element itself
git-svn-id: svn://10.0.0.236/trunk@114565 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 02:44:53 +00:00
rbs%maths.uq.edu.au
976682cd75 [MathML only - candidate version for 0.9x] * Hooked robust support for advanced dynamic updates via JavaScript and the DOM across the entire MathML module (with particular attention to the numerous presentational attributes that MathML has). * Eliminated some functions (or folded their functionality into recently added APIs). * Reviewed the module as a whole and simplified several chunks of code owing to the benefit of hindsight now. * Added/reviewed the documentation in anticipation of the freezing of Mozilla 1.0, to improve the understanding of people that may read the archived code and learn from it under the appropriate context of this time. * Reviewed the XXX comments and addressed those that could be addressable in this timeframe. * Some renamings (e.g., ReLayout -> ReLayoutChildren to avoid ambiguities as to who does what in terms of the terminology used when referring to the frame hierarchy).
git-svn-id: svn://10.0.0.236/trunk@113879 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:38:08 +00:00
rbs%maths.uq.edu.au
bc9ff10418 Add ReLayout() - a driver that hides the details needed to re-sync a frame subtree in case of dynamic changes: rebuild of automatic data, re-resolve script styles, fire a reflow
git-svn-id: svn://10.0.0.236/trunk@113581 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 21:06:51 +00:00
rbs%maths.uq.edu.au
ef52d88af3 Added two APIs, InheritAutomaticData() & TransmitAutomaticData(), to respond to dynamic changes that affect automatic data (i.e., data inferred from the actual definition of each MathML tag). The computation of the data was so far mostly locked in Init() and SetInitialChildList() which are meant to be called only once in the life-time of a frame. Factored this computation into the two APIs to be used to rebuild the data, and which can be called repeatedly as appropriate, when dynamic changes arise in the content model. Shuffled code to stay in sync and consolidated the hooks used dynamic changes with the APIs
git-svn-id: svn://10.0.0.236/trunk@113421 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 15:10:50 +00:00
rbs%maths.uq.edu.au
d2bc946058 In case of markup errors, provide a more discoverable feedback to users. Drop in the other functions from the nsIFrame APIs that steve.swanson@mackichan.com needs to consolidate his Dynamic JavaScripted MathML editor
git-svn-id: svn://10.0.0.236/trunk@112845 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 06:48:30 +00:00
rbs%maths.uq.edu.au
029a8691e9 Additional reduction of code size by using a helper to propagate the update of presentation data in a range of child frames
git-svn-id: svn://10.0.0.236/trunk@112047 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 00:55:53 +00:00
rbs%maths.uq.edu.au
9389ef38e6 Continuation of tyding
git-svn-id: svn://10.0.0.236/trunk@112020 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 08:06:08 +00:00
rbs%maths.uq.edu.au
486cb07a88 Compact code - use a helper function for a re-usable chunk of code
git-svn-id: svn://10.0.0.236/trunk@112011 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:04:14 +00:00
rbs%maths.uq.edu.au
526b3dfa82 [MathML only] Rename the pointer on the embellished operator from |firstChild| to |next| because it is more clearer with the latter that it is an hierarchy. Also made the inheritance of the displaystyle more reliable by walking up to the root <math> tag if necessary, e.g., if a MathML frame happens to be surrounded by non-MathML helper frames needed for its support
git-svn-id: svn://10.0.0.236/trunk@111885 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 23:40:40 +00:00
rbs%maths.uq.edu.au
8dbb385e2b Fix MathML bug 114909 - dynamically changing the displaystyle attribute in <mstyle> tag doesn't change display
git-svn-id: svn://10.0.0.236/trunk@111791 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 04:42:55 +00:00
rbs%maths.uq.edu.au
ba5c4f48d6 [MathML only] shuffle shared functions between files to balance the weights of the files
git-svn-id: svn://10.0.0.236/trunk@111711 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 18:51:30 +00:00
rbs%maths.uq.edu.au
d1382b9071 MathML only - remove outdated APIs
git-svn-id: svn://10.0.0.236/trunk@111383 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 01:08:09 +00:00
rbs%maths.uq.edu.au
c90fae15f1 MathML bug 117652 - Tune the preferred stretchy size of stretchy containers by controlling the inclusion/exclusion of embellishments in the calculations, and defer the stretching of siblings until after finishing treating the embellished child
git-svn-id: svn://10.0.0.236/trunk@111229 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 05:32:33 +00:00
karnaze%netscape.com
d8577654db bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@110006 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 14:51:12 +00:00
karnaze%netscape.com
1540a4c12e bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
4f51638ef4 Fix for 95475. r=jag, sr=ben, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +00:00
rbs%maths.uq.edu.au
fd0fc93229 Turn on different values for the multiple levels of superscript shifts and subscript shifts
git-svn-id: svn://10.0.0.236/trunk@95537 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 12:18:37 +00:00
rbs%maths.uq.edu.au
589ac66d85 Ignorable whitespace frames are gone - Additions to the inter-frame spacing - Typos - Rework the style of scripting elements - fix for bugs 67451,15402 - this check-in was contingent on the check-in for bug 68411 - sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87817 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 16:10:51 +00:00
rbs%maths.uq.edu.au
6e0b6f967b [not part of default build] Merged my tree with Shyjan changes, enabling the italic correction, the inter-frame spacing, and the support for moveablimits. Updated the returned bounding metrics to keep the bounding boxes aligned in the visual debug mode
git-svn-id: svn://10.0.0.236/trunk@86067 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:37:14 +00:00
rbs%maths.uq.edu.au
7221d01a37 [not part of default build] Header that should have gone with the other files
git-svn-id: svn://10.0.0.236/trunk@70047 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:29:37 +00:00
rbs%maths.uq.edu.au
becc38bab0 [not part of default build] Use atoms from nsMathMLAtoms for pseudo style contexts
git-svn-id: svn://10.0.0.236/trunk@68648 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:30:15 +00:00
rbs%maths.uq.edu.au
00a24552f9 [NOT PART OF THE DEFAULT BUILD] Compute the actual bounding metrics of the minus sign ('-') to get a more acurate math axis
git-svn-id: svn://10.0.0.236/trunk@66168 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:23:03 +00:00
rbs%maths.uq.edu.au
808cd0c5e8 Remove nsMathMLmnFrame
git-svn-id: svn://10.0.0.236/trunk@64351 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:38:24 +00:00
rbs%maths.uq.edu.au
f0872e0643 Catch up with recent changes in layout
git-svn-id: svn://10.0.0.236/trunk@59046 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 09:00:03 +00:00
rbs%maths.uq.edu.au
2aa8ed388f Cleanup and flags for debug mode
git-svn-id: svn://10.0.0.236/trunk@58937 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 12:38:03 +00:00
rbs%maths.uq.edu.au
402321e18b [MathML] Added support for CSS units on numeric attributes and updated code to make use of the support
git-svn-id: svn://10.0.0.236/trunk@58745 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 06:49:38 +00:00
rbs%maths.uq.edu.au
4eb2ebeca7 [MATHML] Finally, here goes Shyjan Mahamud's TeX alignment rules. Part I: for superscript/subscript schematta
git-svn-id: svn://10.0.0.236/trunk@58076 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 04:35:37 +00:00
rbs%maths.uq.edu.au
fc2686eba5 [MATHML] *Restructuration to put member data into a mPresentationData struct. *Added support for accent and accentunder, with provision for embellished operators. *Changed usage of GetBoundingMetrics() to the X Windows character coordinate system
git-svn-id: svn://10.0.0.236/trunk@57807 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 08:38:25 +00:00
rbs%maths.uq.edu.au
fa9816443f [MATHML]. Laying some groundwork to pave the way for the future landing of Shyjan Mahamud's TeX alignment code.
git-svn-id: svn://10.0.0.236/trunk@57109 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:49:46 +00:00
rbs%maths.uq.edu.au
63749e1875 [NOT PART OF THE DEFAULT BUILD]. *Changes to bring the MathML code in sync with layout (this will clear bugs 19398 and 20858). *Postfixed atoms with underscore. *Major revamps to launch the support of embellished operators.
git-svn-id: svn://10.0.0.236/trunk@55848 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 13:02:23 +00:00
tbogard%aol.net
ae5a81e394 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
rbs%maths.uq.edu.au
96fead56f4 Catch up with recent changes in layout.
git-svn-id: svn://10.0.0.236/trunk@54123 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 03:29:14 +00:00
rbs%maths.uq.edu.au
4f4d69e894 Code to support stretchy MathML symbols!
git-svn-id: svn://10.0.0.236/trunk@53715 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 00:49:37 +00:00
rbs%maths.uq.edu.au
cdfb86c649 Catching up with recent changes of the nsIFrame API
git-svn-id: svn://10.0.0.236/trunk@52136 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 22:30:28 +00:00
rbs%maths.uq.edu.au
84470b2c93 [MathML] Portability: adding explicit get() on pointers coming from nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@50420 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 04:38:21 +00:00
rbs%maths.uq.edu.au
e1737fe531 Update to match recent changes in the nsIFrame API.
git-svn-id: svn://10.0.0.236/trunk@49657 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 06:20:30 +00:00
shaver%netscape.com
4ffbe71b5d initial and long-awaited import of MathML for Roger Sidje and his crew
git-svn-id: svn://10.0.0.236/trunk@48481 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 02:12:01 +00:00