Граф коммитов

528 Коммитов

Автор SHA1 Сообщение Дата
rbs%maths.uq.edu.au 350502ab16 Reset some CSS properties not relevant to MathML <mtable>, b=206704, r+sr=bz, a=asa 2003-05-22 19:39:38 +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
rbs%maths.uq.edu.au 6e66b5ebb8 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 2003-05-10 03:40:36 +00:00
rbs%maths.uq.edu.au ca039d0ff3 Still wrestling with bug 118600, turn static class into pointer and s/./->/g accordingly 2003-04-23 01:08:40 +00:00
rbs%maths.uq.edu.au 21c618c8ea Extra consolidation for bug 118600, r+sr=roc+moz 2003-04-22 16:40:56 +00:00
rbs%maths.uq.edu.au 1bbb3daf7f 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 2003-04-22 03:32:06 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
seawood%netscape.com 4957953e70 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
2003-04-01 19:38:12 +00:00
alecf%netscape.com 8c50d0242a 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
2003-03-25 18:55:59 +00:00
alecf%netscape.com b6584a77fb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com ecf24a2b78 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.
2003-03-21 06:26:32 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
sfraser%netscape.com 36bb639d8d Remove dependency on nsInlineFrame::kInlineFrameCID. r/sr=alecf. Bug 74803 2003-02-26 01:17:37 +00:00
roc+%cs.cmu.edu 67a197918a 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 2003-02-23 02:49:22 +00:00
dbaron%dbaron.org ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
bryner%netscape.com e43f5a49fd 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. 2003-02-22 00:32:13 +00:00
rbs%maths.uq.edu.au be2365be95 Make MathML handle the <semantics> tag implicitly (take 2), b=154931, r=dbaron, sr=roc, a=asa 2003-02-11 23:15:01 +00:00
rbs%maths.uq.edu.au 5cb2aaf353 fix bad string usage, b=191529, r+sr+a=dbaron 2003-02-04 01:08:36 +00:00
rbs%maths.uq.edu.au eba1c08907 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 2003-01-22 07:42:20 +00:00
rbs%maths.uq.edu.au 29b26717cc Make the caret appear properly on invisible MathML operators, b=188146, r+sr=roc+moz 2003-01-16 05:10:03 +00:00
rbs%maths.uq.edu.au 386a0a2809 fix incorrect position of certain accents, b=188467, r+sr=bzbarsky 2003-01-11 03:04:30 +00:00
dbaron%dbaron.org 57124d8115 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 2003-01-09 14:26:32 +00:00
bryner%netscape.com 7f0488eb18 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. 2003-01-09 06:49:07 +00:00
dbaron%dbaron.org 14c5b6b776 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
rbs%maths.uq.edu.au de2b601b8f fix assertions when manipulating the MathML attribute style sheet, b=188103, r+sr=bzbarsky 2003-01-07 23:19:56 +00:00
bzbarsky%mit.edu 8c8465ff11 ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).
2003-01-05 05:05:17 +00:00
dbaron%fas.harvard.edu 28018a8db9 Reduce code size by using PaintSelf member function to paint background, border, and outline. b=184702 r+sr=roc 2002-12-23 22:05:47 +00:00
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
caillon%returnzero.com c23cadbaf8 181420, Use nsIPrefBranch instead of nsIPref.
r=rbs sr=bzbarsky
2002-11-22 11:29:31 +00:00
dbaron%fas.harvard.edu f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
bzbarsky%mit.edu 92d1146ffc Fix ReplaceChild() on positioned inlines to delegate to
nsAbsoluteContainingBlock.h.  Bug 176915, r=dbaron, sr=rbs
2002-11-12 03:30:13 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu 279ffda515 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
caillon%returnzero.com 5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
alecf%netscape.com 2dded12ab7 fix for bug 164575 - clean nsIPersistentProperties interface to reduce UTF8/UCS2 conversions
r=dougt, sr=darin
2002-08-30 17:13:34 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
rbs%maths.uq.edu.au c12c2a8399 One-liner forgotten in the mass merge of bug 162412 2002-08-20 21:56:51 +00:00
rbs%maths.uq.edu.au a7e1410a39 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 2002-08-16 21:36:31 +00:00
dbaron%fas.harvard.edu a7f0385127 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only) 2002-08-16 11:52:20 +00:00
antonio.xu%sun.com d9f555d2f5 replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
Bug 158608 r=Henry sr=alecf
2002-08-14 12:39:03 +00:00
rbs%maths.uq.edu.au 71f98e20b6 bug 133761 - substitute leading _ with trailing _ for pure C/C++ compliance (uber-nit of brendan) 2002-08-13 00:52:38 +00:00
rbs%maths.uq.edu.au 12db0ac0aa Improve the handling of the inter-space around invisible MathML characters, b=133761, r=roc+moz, sr=bzbarsky 2002-08-12 23:30:35 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
rbs%maths.uq.edu.au bd53bdea35 Perl scripts to process the MathFont Properties Files - not part of build 2002-08-09 06:13:29 +00:00
rbs%maths.uq.edu.au 3de094d822 remove perl scripts that are not used anymore - not part of build 2002-08-09 06:11:15 +00:00
rbs%maths.uq.edu.au cdecf1d409 Update the DOCTYPE in the examples - not part of build 2002-08-09 01:05:00 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
rbs%maths.uq.edu.au 05077396a4 Cleanup CSS errors, b=157376, r=dbaron, sr=bzbarski 2002-08-07 02:15:28 +00:00
henry.jia%sun.com 8954de8e78 4th patch for bug 158080
Description: replace the hardcode of "@mozilla.org/embedcomp/window-watcher;1" with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 05:56:22 +00:00
peterv%netscape.com be908653fb Fixing MathML packaging bustage on Mac. 2002-07-17 07:17:05 +00:00
rbs%maths.uq.edu.au 964b8b6a4a Align the bar of the radical on pixel boundaries to get a nicer & uniform spacing on stacked radicals, b=130282, r=roc+moz, sr=waterson, a=asa 2002-07-12 21:14:32 +00:00
rbs%maths.uq.edu.au a6dc0bdbde support <msqrt> and <mroot> with Mathematica fonts in addition to TeX fonts, b=121493, r=roc+moz, sr=waterson 2002-07-09 01:41:52 +00:00
ian%hixie.ch 049b606a00 Hide embedded semantic MathML content (as opposed to presentational content, which we render). b=154931, p=rbs, moa=dbaron, r=hixie, sr=roc+moz 2002-07-01 09:51:32 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
rbs%maths.uq.edu.au daac801293 Treat the attributes of <mpadded> correctly, b=148326, r=roc+moz, sr=waterson 2002-06-14 23:20:03 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
shanjian%netscape.com 7f5900aa67 #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
2002-05-24 20:11:14 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
rbs%maths.uq.edu.au 6adacda50a 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 2002-05-16 01:11:09 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
waterson%netscape.com e3554c37cc 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 2002-05-10 18:22:41 +00:00
rbs%maths.uq.edu.au ca47d8b903 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 2002-05-02 22:24:59 +00:00
rbs%maths.uq.edu.au cbe15dcd88 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 2002-05-01 05:47:15 +00:00
seawood%netscape.com c0ec608df6 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
2002-04-25 02:52:44 +00:00
rbs%maths.uq.edu.au 420e613bd4 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 2002-04-04 15:42:45 +00:00
rbs%maths.uq.edu.au 46195cda2c Bug 129560 - Selection doesn't display on stretchy MathML characters, r=dbaron, sr=attinasi, a=asa 2002-04-02 05:05:04 +00:00
rbs%maths.uq.edu.au bf0d684cd2 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 2002-04-02 04:15:22 +00:00
rbs%maths.uq.edu.au 81fcd4c706 Generous null checks to protect against crashes, and removal on a debug-only only function, b=132492, r=dbaron, sr=attinasi, a=asa 2002-04-02 03:57:56 +00:00
dbaron%fas.harvard.edu b350a0fd0f 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 2002-03-31 16:59:00 +00:00
rbs%maths.uq.edu.au 2dac49c58b bug 130886 - caret doesn't respect character position within certain <mo> elements, r=roc+moz, sr=attinasi, a=asa 2002-03-22 04:49:33 +00:00
rbs%maths.uq.edu.au 8f6916c2d9 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 2002-03-15 09:45:31 +00:00
rbs%maths.uq.edu.au a015dc148a Localize the alert message for missing MathML fonts, b=128139, r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi, a=asa 2002-03-08 23:34:27 +00:00
rbs%maths.uq.edu.au 645c7a9b56 bug 128454 - lquote/rquote attributes are not honored in <ms>, r=roc, sr=attinasi, a=asa 2002-03-06 22:24:35 +00:00
rbs%maths.uq.edu.au 85a903188c 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 2002-02-28 22:39:43 +00:00
rbs%maths.uq.edu.au 8f0239638f backing out - got confused about the status of the tree... 2002-02-28 19:28:11 +00:00
rbs%maths.uq.edu.au 427d1bee24 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 2002-02-28 19:11:02 +00:00
rbs%maths.uq.edu.au da41db0cc4 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 2002-02-27 01:35:27 +00:00
alecf%netscape.com 66e767c7b8 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
2002-02-19 22:49:12 +00:00
rbs%maths.uq.edu.au 42e6cdab5e Add entry for the official Unicode minus sign 2002-02-19 07:24:19 +00:00
rbs%maths.uq.edu.au 6e6c77f980 bug 124619: initializations to silence the compiler 2002-02-18 23:16:33 +00:00
rbs%maths.uq.edu.au 0725df41ce 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 2002-02-18 22:52:15 +00:00
rbs%maths.uq.edu.au b010ac3189 [MathML only] fix weirdness in the edge case of an empty <mfenced></mfenced> 2002-02-15 14:39:50 +00:00
rbs%maths.uq.edu.au cf6388634c Extend the support of MathML styling attributes to the root <math> element itself 2002-02-15 02:44:53 +00:00
timeless%mac.com 74bcab176b Bug 125601�ABS()-->PR_ABS() && PR_ABS()-cleanup
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser
2002-02-15 01:01:06 +00:00
rbs%maths.uq.edu.au 78b44916a0 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> 2002-02-14 12:26:43 +00:00
rbs%maths.uq.edu.au 34e8a931ac fix inverted order of resetting variables 2002-02-12 06:18:04 +00:00
rbs%maths.uq.edu.au 1393e3cce2 Backing out to at least leave the tree usable for those who might pull - bug 124570' mathml-css.pl 2002-02-11 09:23:41 +00:00
rbs%maths.uq.edu.au a9ae7fee2a Disable mathml.css to see if Ts goes down - attempt to unlook the smoketest blocker bug 124570 - 1.5% increase in Ts time 2002-02-10 23:02:24 +00:00
rbs%maths.uq.edu.au a25da51a9c Replace the XXX comments dating back from bug 45010 with a long lasting fix 2002-02-08 22:48:38 +00:00
rbs%maths.uq.edu.au 74698af0b2 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 2002-02-08 03:34:57 +00:00
rbs%maths.uq.edu.au bdad95f005 Updated comments 2002-02-08 00:58:15 +00:00
rbs%maths.uq.edu.au 8ad7c6897f Opted to move a functionality to the specialized class where it belongs 2002-02-08 00:57:39 +00:00
rbs%maths.uq.edu.au 9cd3cfff6d 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 2002-02-08 00:53:19 +00:00
rbs%maths.uq.edu.au ba931a911b s/gInvariantChar/gInvariantCharArray/g and avoid an unnecessary string copy in LookupInvariantChar() 2002-02-08 00:42:32 +00:00
rbs%maths.uq.edu.au 6c7c1056cf [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). 2002-02-07 04:38:08 +00:00
rbs%maths.uq.edu.au 9063863332 Add a flag to distinguish a real infix operator from its 'isolated' form, e.g., as in x^{+} 2002-02-07 02:12:46 +00:00
rbs%maths.uq.edu.au 19be27a26f Add a helper function to lookup all the forms under which an operator is listed in the Operator Dictionary 2002-02-06 20:48:35 +00:00
rbs%maths.uq.edu.au bc20957975 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 2002-02-03 21:15:29 +00:00
rbs%maths.uq.edu.au ee9e501c96 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 2002-02-03 21:06:51 +00:00
rbs%maths.uq.edu.au f5893aef35 slight simplification - the removal will recurse down to the wrapped child 2002-02-03 20:11:37 +00:00
rbs%maths.uq.edu.au 0a35caab09 Continuing to factor handlers to rebuild automatic data during dynamic changes 2002-02-02 05:43:03 +00:00
heikki%netscape.com 3a6fb922c1 Bug 122710, dtd folder in dist/bin should be moved into res. r=rbs@maths.uq.edu.au&harishd, sr=sfraser. 2002-02-01 22:28:55 +00:00
rbs%maths.uq.edu.au c33e0f4dbe 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 2002-02-01 15:10:50 +00:00
rbs%maths.uq.edu.au 580f85ab56 activate the rhelper to wrap foreign frames 2002-02-01 14:31:21 +00:00
rbs%maths.uq.edu.au f91be4f749 Helper class use for wrapping non-MathML elements (e.g., html:img) so that they can mix better with other surrounding MathML markups. Factored previous code here and added hooks that were needed for child list operations 2002-02-01 14:23:07 +00:00
mkaply%us.ibm.com 4cd0454803 Add PR_CALLBACK to get MathML building on OS/2 2002-01-28 23:24:17 +00:00
rbs%maths.uq.edu.au 8a12dec1b6 revert an unintended change that crept in 2002-01-27 22:23:07 +00:00
rbs%maths.uq.edu.au e803323d31 Another renaming for ease of readability: s/core/coreFrame/g and s/next/nextFrame/g 2002-01-27 22:10:45 +00:00
rbs%maths.uq.edu.au 7499dddea5 When looking up the real sibling of a cell, use colspan/rowspan (instead of just 1) as the increment to cater for cases of spanning cells in the cellmap 2002-01-27 19:26:42 +00:00
rbs%maths.uq.edu.au 8c3fe11744 typos 2002-01-25 21:57:47 +00:00
rbs%maths.uq.edu.au 16fb7a5ab0 Remove leftover from debugging 2002-01-25 07:34:49 +00:00
rbs%maths.uq.edu.au a1a725e6af Improvements to <mtable> 2002-01-25 07:03:43 +00:00
rbs%maths.uq.edu.au c0c66c4dbc 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 2002-01-25 06:48:30 +00:00
rbs%maths.uq.edu.au 808a02672c Fix MathML bug 121037. Background-color is not showing up in stretchy chars that use additional leaf style contexts. More reliable recovery from the background revamps in bug 116161 2002-01-25 06:08:03 +00:00
rbs%maths.uq.edu.au 2d36f0f82f Updated comments to add a reference to bug 69325 which details the 8 possible cases that may arise depending on whether displaystyle, largeop, stretchy are true or false 2002-01-25 06:02:52 +00:00
rbs%maths.uq.edu.au 7f70f2cd28 Fix regression from the fix for bug 116161. The picky treatment of stretchy MathML characters involves additional style contexts whereas the default search of the background stops at the primary style context 2002-01-15 07:48:10 +00:00
rbs%maths.uq.edu.au cef48900e6 Add two default declarations to support display=block|inline introduced in MathML 2.0 2002-01-14 08:59:01 +00:00
rbs%maths.uq.edu.au 98190fd75f Additional reduction of code size by using a helper to propagate the update of presentation data in a range of child frames 2002-01-14 00:55:53 +00:00
rbs%maths.uq.edu.au cf9d24490b Continuation of tyding 2002-01-12 08:06:08 +00:00
rbs%maths.uq.edu.au a83e90c318 Compact code - use a helper function for a re-usable chunk of code 2002-01-12 03:04:14 +00:00
rbs%maths.uq.edu.au 05c1973f14 Some tweaks 2002-01-11 05:08:11 +00:00
rbs%maths.uq.edu.au 14edaf7b93 Alert! MissingMathML fonts. Here goes the prompt that the user will see when it is detected that crucial stretchy MathML fonts are not installed. The list of those fonts that are missing is shown so that the user can install them. The message is hardcoded and would need to be localized 2002-01-11 02:57:03 +00:00
rbs%maths.uq.edu.au 0185ec37f1 [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 2002-01-10 23:40:40 +00:00
rbs%maths.uq.edu.au 9e0fa92a99 Finishing touch to MathML bug 114909 2002-01-10 21:30:41 +00:00
rbs%maths.uq.edu.au 07dff3093b Fix MathML bug 114909 - dynamically changing the displaystyle attribute in <mstyle> tag doesn't change display 2002-01-10 04:42:55 +00:00
rbs%maths.uq.edu.au 06c0b341cd [MathML only] shuffle shared functions between files to balance the weights of the files 2002-01-09 18:51:30 +00:00
rbs%maths.uq.edu.au 74dabf2bd2 MathML bug 118475 - Allow stretchy MathML fonts to be customized via the pref system 2002-01-08 02:15:23 +00:00
dbaron%fas.harvard.edu c9c0a97163 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
rbs%maths.uq.edu.au 8552445f56 Move a getter to the safer place where the font was just set in the rendering context (its state could change, who knows) 2002-01-06 19:50:51 +00:00
rbs%maths.uq.edu.au 9b899cf2fb Add an additional clause when picking the desired stretchy size in the self-stretch situation, and give more descriptive comments 2002-01-06 19:47:24 +00:00
rbs%maths.uq.edu.au aceedc85d5 Simple cleanup 2002-01-06 19:42:08 +00:00
rbs%maths.uq.edu.au c2330df4a5 Fix leaky style context 2002-01-06 19:40:04 +00:00
rbs%maths.uq.edu.au 5475678622 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> 2002-01-05 01:15:04 +00:00
rbs%maths.uq.edu.au 7d8032905d MathML only - remove outdated APIs 2002-01-05 01:08:09 +00:00
rbs%maths.uq.edu.au fe33b4e8ce MathML only - Reset the stretchy flags also when presentation data get changed 2002-01-05 01:06:05 +00:00
rbs%maths.uq.edu.au 0f015abd9f Reset the stretchy flags of underscript/overscript frames when their geometry is expected to be like subscript/superscirpt frames 2002-01-03 23:18:01 +00:00
rbs%maths.uq.edu.au a81d5f1b96 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 2002-01-02 22:42:52 +00:00
rbs%maths.uq.edu.au a938c08678 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 2002-01-02 05:32:33 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
rbs%maths.uq.edu.au 46beb716e9 Fix MathML bug 112874 - dynamic change of background color MathML element change layout 2001-12-18 10:11:42 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
seawood%netscape.com a866382d30 Can't call getter_AddRefs on a non-nsCOMPtr object. This should fix it. No, really! 2001-12-18 06:48:32 +00:00
seawood%netscape.com 5ffdc88a01 Fixing more 115113 mathml bustage. 2001-12-18 06:36:17 +00:00
seawood%netscape.com f96bc2f9e8 Fixing mathml bustage caused by checkin for bug 115113.
Bug 115738 r=shrike,cement,monkeypox,nebiros,otaku
2001-12-18 04:56:50 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
karnaze%netscape.com 748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
leaf%mozilla.org 8310ba80d7 remove cppsrcs defines from makefile.win files, bug 102459, sr=cls r=dbaron 2001-12-05 03:43:29 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com 55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
jaggernaut%netscape.com 0ecf7cce91 Bug 98213: Make data members of nsStr protected and clean up code. r=dbaron, sr=alecf 2001-11-14 12:35:52 +00:00
dbaron%fas.harvard.edu 5ee9c768ba Really fix HPUX bustage. b=108597 2001-11-07 04:52:19 +00:00
alecf%netscape.com 88256853c3 fix HPUX bustage 2001-11-07 00:02:07 +00:00
rbs%maths.uq.edu.au 32cf016db5 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi 2001-10-30 22:58:00 +00:00
dbaron%fas.harvard.edu 6e86902faa Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson 2001-10-26 05:06:07 +00:00
mkaply%us.ibm.com 76c903e13b This should be the other AIX bustage 2001-10-24 21:40:27 +00:00
dougt%netscape.com b5ba390898 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
dougt%netscape.com 0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dbaron%fas.harvard.edu 2fe76cd2ac Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan 2001-10-20 23:19:07 +00:00
dougt%netscape.com 267e6553c4 missed a few changes in my nsIObserver landing 2001-10-19 22:30:02 +00:00
dougt%netscape.com d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
dbaron%fas.harvard.edu ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
rjesup%wgate.com 74a56c0ca5 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.
2001-09-24 15:26:39 +00:00
rjesup%wgate.com a230194a5b Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi 2001-09-24 07:35:04 +00:00
cls%seawood.org 18739e6a1d Update REQUIRES for MOZ_MATHML & MOZ_SVG builds.
Thanks to jonsmirl@mediaone.net for the patch.
Bug #98371 r=cls
2001-09-22 13:34:38 +00:00
karnaze%netscape.com e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
jaggernaut%netscape.com 25856c9451 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com 30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
jaggernaut%netscape.com b26394e3be Bug 73353: clean up REQUIRES. r=cls 2001-09-09 13:36:07 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
hyatt%netscape.com 62d3de24fd Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
bryner%netscape.com dd46629d2f Fixing mathml bustage. 2001-08-17 09:54:04 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com 5a6317b8a5 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 :-)
2001-06-30 11:02:25 +00:00
cls%seawood.org bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
rbs%maths.uq.edu.au 6a43f38dea Slight iteration at enforcing style invariance for certains MathML characters - b=65951 2001-05-22 07:41:58 +00:00
rbs%maths.uq.edu.au aa5b96600b To display a status message, change STATUS_SCRIPT to STATUS_LINK since the latter is the one that works at the moment (bug 81917) 2001-05-22 07:37:53 +00:00
rbs%maths.uq.edu.au 075d5ed2c8 Initial approach at bug 65951 - style sensitive MathML characters should not be restylable 2001-05-21 14:59:53 +00:00
rbs%maths.uq.edu.au f5a5afa559 Initial approach at bug 65951 - style sensitive MathML characters should not be restylable 2001-05-21 14:28:24 +00:00
rbs%maths.uq.edu.au c555c5832c Turn on different values for the multiple levels of superscript shifts and subscript shifts 2001-05-19 12:18:37 +00:00
rbs%maths.uq.edu.au 6b2af5da6d Keep <maction> passive if possible. Make the restyle actiontype issue a StyleChange reflow command targeted at the selected frame 2001-05-19 12:09:41 +00:00
rbs%maths.uq.edu.au 933358fa1c Declare additional style rules needed to fix bug 78389 and bug 31641 2001-05-19 10:10:30 +00:00
rbs%maths.uq.edu.au 4f33b59004 Declare additional atoms needed to fix bug 78389 2001-05-19 10:03:21 +00:00
rbs%maths.uq.edu.au 49f75d792f Rename a class and ecover from the recent rework in the table code - fix bug 78389 r=waterson 2001-05-19 10:00:01 +00:00
jst%netscape.com 4cc24ec4a2 Fixing MathML build bustage caused by the XPCDOM landing, patch from daa@distributed.net (David Avery), sr=me. 2001-05-12 23:35:42 +00:00
rbs%maths.uq.edu.au 8887badac5 Approximate the leading with 0.2em since uisng nsIFontMetrics::GetLeading() gives unreliable results on suspicious fonts 2001-05-09 04:50:34 +00:00
rbs%maths.uq.edu.au 5f2388d3f9 Typographical changes 2001-05-08 08:36:02 +00:00
rbs%maths.uq.edu.au 3a003c2b87 Correct stretchy metadata 2001-05-08 08:34:13 +00:00
rbs%maths.uq.edu.au 40c93afc37 A bit of tidy (NS_LITERAL_STRING and some indentations) 2001-04-29 22:20:35 +00:00
rbs%maths.uq.edu.au 4ca6a08d6c Do not cache a volatile presentation context in objects that can outlive the presentation context. Fix crasher bug 77146 r=dbaron sr=waterson 2001-04-28 07:39:20 +00:00
rbs%maths.uq.edu.au 3f942bfdf6 Removed early mis-prefixing of 'a' on local variables. Switched to NS_LITERAL_STRING. Combined two 'if's and added an explanatory comment while I was there. 2001-04-08 22:32:29 +00:00
rbs%maths.uq.edu.au 6c64749f08 nice-to-have optimizations - low hanging fruits 2001-04-06 00:49:50 +00:00
rbs%maths.uq.edu.au 56278ad49a Fix incomplete definitions 2001-04-06 00:04:35 +00:00
disttsc%bart.nl dacbb4faa9 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
rbs%maths.uq.edu.au 108d09b906 Enable an ordered list of preferred fonts (rather than just one font) for particular chars. Fix the problem that the stretchy direction wasn't specified in certain cases so that resolving the annotations could wrongly failed. Use NS_LITERAL_STRING like everybody else. Apply suggestions from drivers (roc+moz, dbaron) 2001-03-30 02:39:38 +00:00