323 Commits

Author SHA1 Message Date
rbs%maths.uq.edu.au
65cf3c1192 Treat the attributes of <mpadded> correctly, b=148326, r=roc+moz, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123366 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 23:20:03 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
a9c700ad59 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
rbs%maths.uq.edu.au
ed6af20424 sync the CSS mapping of MathML attributes that affect the style (e.g. color) when these attributes are changed dynamically, b=142592, r=roc, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121587 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 01:11:09 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
waterson%netscape.com
5bae3657e6 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
rbs%maths.uq.edu.au
d21c5c6672 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120592 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:24:59 +00:00
rbs%maths.uq.edu.au
ce94e89c25 bug 121748 - stretch fences at a size that fully covers non-fences. Also improve the height of token elements such as <mi> when they involve symbol fonts with weird metrics, r=roc+moz, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120421 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 05:47:15 +00:00
seawood%netscape.com
7e4c3987ab Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components


git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +00:00
rbs%maths.uq.edu.au
0b3c5b285b Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@118125 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 15:42:45 +00:00
rbs%maths.uq.edu.au
f3ed4a16d5 Bug 129560 - Selection doesn't display on stretchy MathML characters, r=dbaron, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@117900 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 05:05:04 +00:00
rbs%maths.uq.edu.au
e022b0b4e7 Bug 129560 - Selection doesn't display on stretchy MathML characters; Bug 133429 - dynamically created MathML content sometimes doesn't layout as expected; Bug 133814 - Improper spacing of embellished operators; Patch for each bug attached to the bug. All have: r=dbaron, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@117898 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 04:15:22 +00:00
rbs%maths.uq.edu.au
981693a06a Generous null checks to protect against crashes, and removal on a debug-only only function, b=132492, r=dbaron, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@117896 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 03:57:56 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
rbs%maths.uq.edu.au
f1c5af4f85 bug 130886 - caret doesn't respect character position within certain <mo> elements, r=roc+moz, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@117154 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 04:49:33 +00:00
rbs%maths.uq.edu.au
84d6bd5d71 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116637 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 09:45:31 +00:00
rbs%maths.uq.edu.au
26193b566f Localize the alert message for missing MathML fonts, b=128139, r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@116225 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 23:34:27 +00:00
rbs%maths.uq.edu.au
2c670cd977 bug 128454 - lquote/rquote attributes are not honored in <ms>, r=roc, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@115984 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:24:35 +00:00
rbs%maths.uq.edu.au
2ebf6ced5f re-fix bug 125541 - Need sample MathML page for what's new in m0.9.9. Fixed weird stretchy integral sign due to platform differences in FillRect(). Improved wording of the message that alerts the user about missing MathML fonts and made the dialog non-modal, r=roc+moz, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115512 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:39:43 +00:00
rbs%maths.uq.edu.au
d99d81c2f3 backing out - got confused about the status of the tree...
git-svn-id: svn://10.0.0.236/trunk@115501 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 19:28:11 +00:00
rbs%maths.uq.edu.au
fde0bdcdaa bug 125541 - Need sample MathML page for what's new in m0.9.9. Fixed weird stretchy integral sign due to platform differences in FillRect(). Improved wording of the message that alerts the user about missing MathML fonts and made the dialog non-modal, r=roc+moz, sr=attinasi, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115500 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 19:11:02 +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
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
rbs%maths.uq.edu.au
2cf5c952c3 Add entry for the official Unicode minus sign
git-svn-id: svn://10.0.0.236/trunk@114902 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:24:19 +00:00
rbs%maths.uq.edu.au
612caf8375 bug 124619: initializations to silence the compiler
git-svn-id: svn://10.0.0.236/trunk@114829 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 23:16:33 +00:00
rbs%maths.uq.edu.au
9c3fae6fd7 Fixup to make sure that recursive child chars are initialized with mOperator from their parent. Also added bogus initializations requested in bug 124619 to silence the compiler
git-svn-id: svn://10.0.0.236/trunk@114817 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:52:15 +00:00
rbs%maths.uq.edu.au
a490d83518 [MathML only] fix weirdness in the edge case of an empty <mfenced></mfenced>
git-svn-id: svn://10.0.0.236/trunk@114595 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 14:39:50 +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
timeless%mac.com
18aaee49b0 Bug 125601 ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@114554 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 01:01:06 +00:00
rbs%maths.uq.edu.au
27e6f13d75 Add support for MathML styling attributes (e.g., color, fontsize, etc) by creating an internal attribute stylesheet on the fly, and populating it by mapping attributes to CSS rules as frames get created. This is a work-around to bug 69409 which is is not scheduled to be addressed by the Gecko team anytime soon. Also Cleaned-up the debug rules in mathml.css and removed the (in)famous red color of <mi>
git-svn-id: svn://10.0.0.236/trunk@114503 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 12:26:43 +00:00
rbs%maths.uq.edu.au
65b18dd380 fix inverted order of resetting variables
git-svn-id: svn://10.0.0.236/trunk@114258 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:18:04 +00:00
rbs%maths.uq.edu.au
09abea3ccc Backing out to at least leave the tree usable for those who might pull - bug 124570' mathml-css.pl
git-svn-id: svn://10.0.0.236/trunk@114186 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 09:23:41 +00:00
rbs%maths.uq.edu.au
a38960c8b4 Disable mathml.css to see if Ts goes down - attempt to unlook the smoketest blocker bug 124570 - 1.5% increase in Ts time
git-svn-id: svn://10.0.0.236/trunk@114177 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 23:02:24 +00:00
rbs%maths.uq.edu.au
4568af87c6 Replace the XXX comments dating back from bug 45010 with a long lasting fix
git-svn-id: svn://10.0.0.236/trunk@114075 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:48:38 +00:00
rbs%maths.uq.edu.au
c5be0f4f32 since bad end of lines cause troubles on some platforms, extend the little perl magic for dos2unix to dos2{unix or mac} so that the conditional addition of mathml.css to the ua.css works reliably everywhere
git-svn-id: svn://10.0.0.236/trunk@113997 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:34:57 +00:00
rbs%maths.uq.edu.au
bd68ffc1b2 Updated comments
git-svn-id: svn://10.0.0.236/trunk@113957 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:58:15 +00:00
rbs%maths.uq.edu.au
d1ca5d58ef Opted to move a functionality to the specialized class where it belongs
git-svn-id: svn://10.0.0.236/trunk@113956 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:57:39 +00:00
rbs%maths.uq.edu.au
2ee0b2741d By definition <mi> renders in italic type when its textual content consists of a single char, and in normal type when it consists of mutiple chars. This is a fix to re-resolve the style data properly when the text content (and its length) get changed back and forth dynamically
git-svn-id: svn://10.0.0.236/trunk@113954 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:53:19 +00:00
rbs%maths.uq.edu.au
41512e7db8 s/gInvariantChar/gInvariantCharArray/g and avoid an unnecessary string copy in LookupInvariantChar()
git-svn-id: svn://10.0.0.236/trunk@113952 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:42:32 +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
f3685307f8 Add a flag to distinguish a real infix operator from its 'isolated' form, e.g., as in x^{+}
git-svn-id: svn://10.0.0.236/trunk@113861 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 02:12:46 +00:00
rbs%maths.uq.edu.au
7e5f90f9e9 Add a helper function to lookup all the forms under which an operator is listed in the Operator Dictionary
git-svn-id: svn://10.0.0.236/trunk@113820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:48:35 +00:00
rbs%maths.uq.edu.au
fe7bb4aef5 Using the recently added APIs to respond to dynamic changes: a _much_ simpler (re)fix of bug 114909 - dynamically changing displaystyle attribute in <mstyle> tag doesn't change display
git-svn-id: svn://10.0.0.236/trunk@113582 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 21:15:29 +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
de6635197e slight simplification - the removal will recurse down to the wrapped child
git-svn-id: svn://10.0.0.236/trunk@113580 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 20:11:37 +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
heikki%netscape.com
51cf66c5f5 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@113450 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 22:28:55 +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