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

404 Коммитов

Автор SHA1 Сообщение Дата
rbs%maths.uq.edu.au 63e39c4997 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 712030493b 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 818581d1d9 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 c815579255 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 23b10864c8 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
caillon%returnzero.com 19753c3f94 181420, Use nsIPrefBranch instead of nsIPref.
r=rbs sr=bzbarsky
2002-11-22 11:29:31 +00:00
dbaron%fas.harvard.edu b2f992acb9 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 5f0c6d63b3 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 d1bef3cbe0 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 a272a96238 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 7871a3af0d 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 c55e29c5fe 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 c0c4d81870 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 d74f0cd0bc One-liner forgotten in the mass merge of bug 162412 2002-08-20 21:56:51 +00:00
rbs%maths.uq.edu.au 7ecbfe9076 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 232e591f4c 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 e5c68f5f9b 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 af29a70749 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 1c3b363812 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 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
rbs%maths.uq.edu.au f04959f202 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 d2d42b08cd 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 8b78342f34 Update the DOCTYPE in the examples - not part of build 2002-08-09 01:05:00 +00:00
seawood%netscape.com fdafe18afe 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 417bc4672a Cleanup CSS errors, b=157376, r=dbaron, sr=bzbarski 2002-08-07 02:15:28 +00:00
henry.jia%sun.com 5b64006da1 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 63d8ff34c2 Fixing MathML packaging bustage on Mac. 2002-07-17 07:17:05 +00:00
rbs%maths.uq.edu.au 79b7bf2ba5 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 78da3d8e62 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 386214ca54 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 2bf216c9e2 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 7794d38864 Treat the attributes of <mpadded> correctly, b=148326, r=roc+moz, sr=waterson 2002-06-14 23:20:03 +00:00
alecf%netscape.com f0263ddf07 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 dc7e454eb3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
shanjian%netscape.com 7f123711f0 #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 c510ff0346 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 3884e1fc62 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 e96df2ad1b 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 926ecba1d9 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 1452527607 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 ad147e2e22 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 ce9e9903a5 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 e40ab07c3a 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 f363204240 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 188d20f913 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 1848d6a81b 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 93f1c722f2 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 b44cbc52fe 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 271bb8c07c 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 8497062035 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 6c8cc0c137 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 dda0e40b19 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 03d50d688a backing out - got confused about the status of the tree... 2002-02-28 19:28:11 +00:00
rbs%maths.uq.edu.au bef7831627 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 6e0b2ef372 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 5ec5cd62b2 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 807800abf3 Add entry for the official Unicode minus sign 2002-02-19 07:24:19 +00:00
rbs%maths.uq.edu.au 2854d1ce14 bug 124619: initializations to silence the compiler 2002-02-18 23:16:33 +00:00
rbs%maths.uq.edu.au 4a760e5b12 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 cbff0857fe [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 14ab0c83c9 Extend the support of MathML styling attributes to the root <math> element itself 2002-02-15 02:44:53 +00:00
timeless%mac.com fac5a6bcea 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 e2c9876847 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 0191d85626 fix inverted order of resetting variables 2002-02-12 06:18:04 +00:00
rbs%maths.uq.edu.au ce0a396101 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 7131136d2c 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 f8a967295c 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 742694f814 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 ffbb28bad2 Updated comments 2002-02-08 00:58:15 +00:00
rbs%maths.uq.edu.au d428b5d5e6 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 ada94f70c0 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 d7e44515c5 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 a4c59af4ee [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 04925eee11 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 c81b9e40ac 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 6cfd2e999a 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 c2e407e442 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 ec4aa569aa slight simplification - the removal will recurse down to the wrapped child 2002-02-03 20:11:37 +00:00
rbs%maths.uq.edu.au 1f1fad008f Continuing to factor handlers to rebuild automatic data during dynamic changes 2002-02-02 05:43:03 +00:00
heikki%netscape.com b3c7820e85 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 625a7d05a7 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 ee1fc7adfd activate the rhelper to wrap foreign frames 2002-02-01 14:31:21 +00:00
rbs%maths.uq.edu.au 6aef15cf85 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 91ec16a165 Add PR_CALLBACK to get MathML building on OS/2 2002-01-28 23:24:17 +00:00
rbs%maths.uq.edu.au b1f7c9a6bb revert an unintended change that crept in 2002-01-27 22:23:07 +00:00
rbs%maths.uq.edu.au 4e7ee44ceb 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 89b848a682 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 61659dd1f4 typos 2002-01-25 21:57:47 +00:00
rbs%maths.uq.edu.au 67375c9777 Remove leftover from debugging 2002-01-25 07:34:49 +00:00
rbs%maths.uq.edu.au 009205aa0e Improvements to <mtable> 2002-01-25 07:03:43 +00:00
rbs%maths.uq.edu.au f3481ce901 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 6bfaa1cc8d 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 ba0400206f 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 e3823bd153 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 197ae4ce02 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 2f4978a96b 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 55a6115984 Continuation of tyding 2002-01-12 08:06:08 +00:00
rbs%maths.uq.edu.au f3e78e373e 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 8d75f67960 Some tweaks 2002-01-11 05:08:11 +00:00
rbs%maths.uq.edu.au 92fa2779f2 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