167 Commits

Author SHA1 Message Date
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
2ff8bf1765 Continuing to factor handlers to rebuild automatic data during dynamic changes
git-svn-id: svn://10.0.0.236/trunk@113515 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:43:03 +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
20005cee47 Another renaming for ease of readability: s/core/coreFrame/g and s/next/nextFrame/g
git-svn-id: svn://10.0.0.236/trunk@113008 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 22:10:45 +00:00
rbs%maths.uq.edu.au
eb3171a2b2 Remove leftover from debugging
git-svn-id: svn://10.0.0.236/trunk@112848 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 07:34:49 +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
c264cfec89 Some tweaks
git-svn-id: svn://10.0.0.236/trunk@111934 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 05:08:11 +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
88ddfc7837 Add an additional clause when picking the desired stretchy size in the self-stretch situation, and give more descriptive comments
git-svn-id: svn://10.0.0.236/trunk@111454 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 19:47:24 +00:00
rbs%maths.uq.edu.au
e3c0cb6448 MathML only - Further tweaks to getting the preferred stretchy size. Decide that the core <mo> is the provider of the 'em' unit for the lspace & rspace of embellished containers. Add support of the 'bevelled' attribute in <mfrac> by leveraging on the code of <mfenced>
git-svn-id: svn://10.0.0.236/trunk@111385 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 01:15:04 +00:00
rbs%maths.uq.edu.au
2e60cd080a Follow-up to MathML bug 117652 - additional tweak to the preferred stretchy size for the case where the direction of stretching varies during the descend
git-svn-id: svn://10.0.0.236/trunk@111257 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 22:42:52 +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
rbs%maths.uq.edu.au
d2d79b97e3 Fix MathML bug 112874 - dynamic change of background color MathML element change layout
git-svn-id: svn://10.0.0.236/trunk@110706 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 10:11:42 +00:00
seawood%netscape.com
a87da48ec7 Can't call getter_AddRefs on a non-nsCOMPtr object. This should fix it. No, really!
git-svn-id: svn://10.0.0.236/trunk@110697 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 06:48:32 +00:00
seawood%netscape.com
047a5fe867 Fixing more 115113 mathml bustage.
git-svn-id: svn://10.0.0.236/trunk@110696 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 06:36:17 +00:00
waterson%netscape.com
b6978c3e09 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@110644 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:39:59 +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
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
rbs%maths.uq.edu.au
410c9e51f2 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +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
bryner%netscape.com
7b3ce3a03b Fixing mathml bustage.
git-svn-id: svn://10.0.0.236/trunk@101290 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 09:54:04 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
hyatt%netscape.com
b7b1cb3691 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +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
f0255f60c7 [not part of default build] Removed debug flag that shouldn't have been left, and corrected some invariants
git-svn-id: svn://10.0.0.236/trunk@86093 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:27:38 +00:00
rbs%maths.uq.edu.au
6c09b08bdb [not part of default build] Removed debug flag that shouldn't have been left, and corrected some invariants
git-svn-id: svn://10.0.0.236/trunk@86092 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:27:16 +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
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
dbaron%fas.harvard.edu
3d0898d9e0 Fixing code in MathML that relied on implicit string conversion. r=scc (verbally)
git-svn-id: svn://10.0.0.236/trunk@78042 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 23:56:19 +00:00
rbs%maths.uq.edu.au
ab59c260ce [not part of default build] Fix bug 43443, and some updates in the stretchy chars land. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@73648 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-03 05:40:13 +00:00
rbs%maths.uq.edu.au
eed09dcad3 [not part of default build] Fix bug 30589, and Fix array index that could wander out of bound and was detected by Peter Van der Beken's Mac Compiler when he was working on bug 39959. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70907 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:56:23 +00:00
rbs%maths.uq.edu.au
ef6cbd27a0 [not part of default build] * Added recursion to search an attribute all the way up into the <mstyle> hierarchy. * Added support for MathML 2.0 'namedspace' values like: thickmathspace, thinmathspace, verythinmathspace, verythinmathspace, veryverythinmathspace, ... * Added some placeholders for incremental reflows
git-svn-id: svn://10.0.0.236/trunk@70041 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:15:15 +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
7b52303db9 [not part of default build] refine the flexibility of those stretchy chars which can be rendered with less partial glyphs nsMathMLChar.cpp
git-svn-id: svn://10.0.0.236/trunk@68208 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 04:44:36 +00:00
cls%seawood.org
e07c399878 nsString fixes for mathml.
git-svn-id: svn://10.0.0.236/trunk@67506 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:55:55 +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
3d6d5f033b [NOT PART OF THE DEFAULT BUILD] Fix compilation problems on Linux. The code now compiles there as well.
git-svn-id: svn://10.0.0.236/trunk@64471 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 08:39:50 +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
rickg%netscape.com
f6963679fd removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62720 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:18:18 +00:00
cls%seawood.org
dc04f91ca9 Bring mathml up to speed on the API change made to nsStyleUtil on 2/24/00.
git-svn-id: svn://10.0.0.236/trunk@61755 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-27 07:24:17 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +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