15254 Commits

Author SHA1 Message Date
dbaron%dbaron.org
e9d2634474 Fixing DEBUG-only bustage.
git-svn-id: svn://10.0.0.236/trunk@143965 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 01:05:04 +00:00
dbaron%dbaron.org
4546eb434a Fixing DEBUG-only bustage.
git-svn-id: svn://10.0.0.236/trunk@143964 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-20 00:54:57 +00:00
dbaron%dbaron.org
80187c571f Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143961 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
peterlubczynski%netscape.com
10062c06df Fixing checkin for bug 209033.
git-svn-id: svn://10.0.0.236/trunk@143959 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:26:23 +00:00
dbaron%dbaron.org
aeee69e663 Begin deCOMtamination of central objects by adding inline getters to get from one object to another. b=208190 r=roc sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143940 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 18:16:53 +00:00
bryner%netscape.com
112e4e9f44 Remove unused nsIFrame::Scrolled() and nsIViewObserver::Scrolled(). Bug 209088, r=dbaron, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@143893 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 22:58:51 +00:00
dbaron%dbaron.org
e5b5aaaee2 Handle state and attribute changes on elements without frames more efficiently, and keep the undisplayed map up to date. b=209733 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143888 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 21:54:51 +00:00
mkaply%us.ibm.com
761436ea4a #188071
r=mkaply, sr=dbaron
Add a lookandfeel color for button default so it can be different than 3D shadow


git-svn-id: svn://10.0.0.236/trunk@143883 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 20:47:40 +00:00
peterlubczynski%netscape.com
4392c6f1de Fixing bug 209033, double keyDown events sent to plugins by KeyPress event, r=brade sr=bryner
git-svn-id: svn://10.0.0.236/trunk@143857 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 14:41:44 +00:00
dbaron%dbaron.org
2ec3b927fc OOM check. r+sr=bzbarsky b=188803
git-svn-id: svn://10.0.0.236/trunk@143838 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 03:02:01 +00:00
dbaron%dbaron.org
906d582953 Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143831 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 01:59:57 +00:00
kaie%netscape.com
27d6f745ef b=202046 Empty (inline) elements cause caret movement to fail
r=smontagu sr=kin/brendan


git-svn-id: svn://10.0.0.236/trunk@143825 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 23:41:21 +00:00
dbaron%dbaron.org
fdcaf9d022 Specify 'word-spacing: normal; letter-spacing: normal' for input and textarea so that 'word-spacing' and 'letter-spacing' on ancestors of text inputs don't mess up the spacing inside. b=209615 r=jkeiser sr=bz
git-svn-id: svn://10.0.0.236/trunk@143807 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 18:01:51 +00:00
alecf%flett.org
71e5d724e5 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org


git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
dbaron%dbaron.org
feecd6d1c1 Rename nsILink::GetHrefCString to GetHrefUTF8 to clarify prior change in semantics. Remove duplication of code to implement it. Fix some incorrect conversions that were still assuming it was ASCII. Remove vestigial |aOuter| parameter to nsGenericHTMLElement::HandleDOMEventForAnchors. b=209566 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@143796 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:22:51 +00:00
aaronl%netscape.com
290c0f8aa6 Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
git-svn-id: svn://10.0.0.236/trunk@143756 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 11:17:18 +00:00
dbaron%dbaron.org
b89215194d Slight correction to previous patch. b=209359
git-svn-id: svn://10.0.0.236/trunk@143721 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 01:24:03 +00:00
dbaron%dbaron.org
994b83f818 Fix wrong parent style context warnings (and incorrect reresolution) with HRs or other leaf frames with :before or :after generated content. Move some code back together that was separated. Also fix case of float whose placeholder is the child of a block within an inline. b=209359 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143720 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 00:55:00 +00:00
dbaron%dbaron.org
1b41fc35f5 Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143715 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 23:50:54 +00:00
bzbarsky%mit.edu
377bb83078 CSS3 Selectors is now in CR, so we can change -moz-hsl() to hsl(). Bug 208159,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@143713 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 20:44:26 +00:00
bzbarsky%mit.edu
bd3093aabb Use the cached IOService pointer when loading background images. Bug 123401,
r=dougt, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@143711 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 18:49:28 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
caillon%returnzero.com
fb75cd3bbb Bug 209133
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)

r=timeless sr=jst


git-svn-id: svn://10.0.0.236/trunk@143619 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 02:54:16 +00:00
dbaron%dbaron.org
b661a5ef4c Fix silly mistake. b=209091 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143612 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 00:03:32 +00:00
alecf%flett.org
1c89787dc0 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
leon.zhang%sun.com
fb5047f80e Bug 207936:[trunk] JA IME: cursor position is off before and after text is committed
r=sfraser sr=kin


git-svn-id: svn://10.0.0.236/trunk@143568 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 03:29:59 +00:00
bryner%netscape.com
f21bfd208f Comment-only fix.
git-svn-id: svn://10.0.0.236/trunk@143540 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:17:58 +00:00
dbaron%dbaron.org
67302a0e07 Remove code that is not needed anymore (due to bug 141054) since the primary frame always contains the :before and :after frames. b=208870 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143537 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:11:16 +00:00
dbaron%dbaron.org
cec7d5f7e9 Fix minor inconsistency between functions. b=208548 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143535 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:09:58 +00:00
dbaron%dbaron.org
cdf2a0078e Make nsCSSDataBlock::Clone work correctly. Fix uninitialized variable warning. b=208872 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143534 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:08:40 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
bmlk%gmx.de
941c8a1041 the mew of colspan cell needs to be redistributed this can only be done during the strategy init. bug 207208 r=jkeiser sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143461 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-09 17:51:25 +00:00
dbaron%dbaron.org
14308cc6fc Fix bugs with colors in tables in cases where some content comes before the start tag of BODY by rechecking the computed color of BODY more often. b=94688 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143432 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-08 19:52:22 +00:00
dbaron%dbaron.org
800f53879d Fix bustage on compilers with broken for loop scoping. b=125246
git-svn-id: svn://10.0.0.236/trunk@143424 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-08 00:36:08 +00:00
dbaron%dbaron.org
e9f68a8b9d VC++ doesn't seem to like empty arguments to macros. Fixing bustage. b=125246
git-svn-id: svn://10.0.0.236/trunk@143422 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 23:29:05 +00:00
dbaron%dbaron.org
bf4ec31727 Put more information on the CSS properties in nsCSSPropList.h.
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification.  Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246  r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@143421 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 22:14:42 +00:00
bmlk%gmx.de
2765854b63 Initialize only table related frames, that should be more safe, bug 207145 r=jkeiser sr=kin
git-svn-id: svn://10.0.0.236/trunk@143417 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 08:48:24 +00:00
jkeiser%netscape.com
e8d440a119 Fix crash on split colspan frames (Bug 194330), r=karnaze@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143380 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-06 03:22:01 +00:00
jkeiser%netscape.com
6353249b1a Remove unused variables, r+sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143376 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-06 01:11:57 +00:00
kin%netscape.com
327eaaa511 Fix for bug 193257 (AIM Today page renders incorrectly)
Modified AppendFrames() and InsertFrames() to call SetNeedStrategyBalance(PR_TRUE) when the table isn't auto height. This forces any previously reflowed rows, who were adjusted to take up all of the table's height, to recalculate their height during the dirty reflow that gets generated, so all rows get resized properly.

r=bernd_mozilla@gmx.de  sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@143339 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-05 17:44:28 +00:00
kin%netscape.com
20a95c95e4 Fix for bug 205165 (a href link fails to work until window is resized)
Modified PlaceFrameView() to pass in the cached overflow area rect for the frame, if it has one, when calling

SyncFrameViewAfterReflow().

r=jkeiser@netscape.com  sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@143337 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-05 17:42:29 +00:00
kairo%kairo.at
a3d1679464 bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@143284 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-04 11:11:19 +00:00
scott%scott-macgregor.org
73a63a10b5 Bug #201891 --> lazily instantiate CSSFrameConstructor::gXBLService in order to break a weird cycle
with the component manager that can cause two instances of the xbl service to be created.
r/sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@143225 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-03 04:23:56 +00:00
jkeiser%netscape.com
e6d72c0cbb Remove the no-forward-declared-nsCOMPtr hack (bug 107291), r=bugmail@sicking.cc, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@143222 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-03 03:56:14 +00:00
bienvenu%netscape.com
987688027b fix hang drag drop from tree outliner 207908 r=varga, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@143193 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 19:21:37 +00:00
roc+%cs.cmu.edu
39cdc612bb Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143164 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 04:38:53 +00:00
roc+%cs.cmu.edu
360ffeb90a Bug 193686. nsContainerFrame needs to report the overflowList as one of its child frame lists. Also, overflow frames should be destroyed when their parent is destroyed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143163 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 04:03:07 +00:00
dbaron%dbaron.org
d2207213cf Replace nsSliderFrame::GetContentOf with static GetContentOfBox to fix hiding warning and avoid unnecessary |this| argument. b=42634 Patch from Marc Loiselle <mloiselle@yahoo.com>. r=dbaron sr=bryner
git-svn-id: svn://10.0.0.236/trunk@143162 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-02 02:39:26 +00:00